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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
84254551ab665e7bb72d4174482947b6cc59f0b7
| 974
|
py
|
Python
|
api/db.py
|
cesarmayta/flaskmongoapi
|
5983fe5b64ef2251de28b8cc1c4106438f230fdf
|
[
"MIT"
] | null | null | null |
api/db.py
|
cesarmayta/flaskmongoapi
|
5983fe5b64ef2251de28b8cc1c4106438f230fdf
|
[
"MIT"
] | null | null | null |
api/db.py
|
cesarmayta/flaskmongoapi
|
5983fe5b64ef2251de28b8cc1c4106438f230fdf
|
[
"MIT"
] | null | null | null |
from bson.json_util import dumps, ObjectId
from flask import current_app
from pymongo import MongoClient, DESCENDING
from werkzeug.local import LocalProxy
# Este método se encarga de configurar la conexión con la base de datos
def get_db():
mongo_db = current_app.config['DB_URI']
client = MongoClient(mongo__db)
return client.plantilla
# Use LocalProxy to read the global db instance with just `db`
db = LocalProxy(get_db)
def test_connection():
return dumps(db.collection_names())
def collection_stats(collection_nombre):
return dumps(db.command('collstats', collection_nombre))
# -----------------Carreras-------------------------
def crear_plantilla(json):
return str('TODO')
def consultar_plantilla_por_id(plantilla_id):
return str('TODO')
def actualizar_plantilla(carrera):
return str('TODO')
def borrar_plantilla_por_id(plantilla_id):
return str('TODO')
def consultar_plantillas(skip, limit):
return str('TODO')
| 23.190476
| 71
| 0.726899
| 130
| 974
| 5.253846
| 0.5
| 0.065886
| 0.095168
| 0.093704
| 0.169839
| 0.120059
| 0.120059
| 0.120059
| 0.120059
| 0
| 0
| 0
| 0.147844
| 974
| 41
| 72
| 23.756098
| 0.822892
| 0.185832
| 0
| 0.217391
| 0
| 0
| 0.04436
| 0
| 0
| 0
| 0
| 0.02439
| 0
| 1
| 0.347826
| false
| 0
| 0.173913
| 0.304348
| 0.869565
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
ffbf7c9598cc941857641edd24307d2221b085ab
| 286
|
py
|
Python
|
src/core/settings/components/env.py
|
SlonSky/django-grasped
|
97ea2f6d2e10232fc084a6407fa089df2cdf086e
|
[
"MIT"
] | null | null | null |
src/core/settings/components/env.py
|
SlonSky/django-grasped
|
97ea2f6d2e10232fc084a6407fa089df2cdf086e
|
[
"MIT"
] | null | null | null |
src/core/settings/components/env.py
|
SlonSky/django-grasped
|
97ea2f6d2e10232fc084a6407fa089df2cdf086e
|
[
"MIT"
] | null | null | null |
import os
SECRET_KEY = os.getenv('SECRET_KEY')
DB_HOST = os.getenv('DB_HOST')
DB_NAME = os.getenv('DB_NAME')
DB_USER = os.getenv('DB_USER')
DB_PASSWORD = os.getenv('DB_PASSWORD')
SUPER_USER_LOGIN = os.getenv('SUPER_USER_LOGIN')
SUPER_USER_PASSWORD = os.getenv('SUPER_USER_PASSWORD')
| 23.833333
| 54
| 0.762238
| 48
| 286
| 4.166667
| 0.25
| 0.28
| 0.2
| 0.17
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.090909
| 286
| 12
| 54
| 23.833333
| 0.769231
| 0
| 0
| 0
| 0
| 0
| 0.268293
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.25
| 0.125
| 0
| 0.125
| 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
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
ffe63e14487baa14f7e1dfd210f8a9f522085b2a
| 1,119
|
py
|
Python
|
untitled/precaritorazor/serializers.py
|
NDI-ICE-2019/NDI-main-subject-backend
|
5628e36b414599e75eace6acea6536131c4126fa
|
[
"MIT"
] | null | null | null |
untitled/precaritorazor/serializers.py
|
NDI-ICE-2019/NDI-main-subject-backend
|
5628e36b414599e75eace6acea6536131c4126fa
|
[
"MIT"
] | null | null | null |
untitled/precaritorazor/serializers.py
|
NDI-ICE-2019/NDI-main-subject-backend
|
5628e36b414599e75eace6acea6536131c4126fa
|
[
"MIT"
] | null | null | null |
from rest_framework import serializers
from .models import Aid, Organization, Criteria, Category, Type
from django.contrib.auth.models import User, Group
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ['url', 'username', 'email', 'groups']
class GroupSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Group
fields = ['url', 'name']
class AidSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Aid
fields = "__all__"
class OrganizationSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Organization
fields = "__all__"
class TypeSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Type
fields = "__all__"
class CategorySerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Category
fields = "__all__"
class CriteriaSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Criteria
fields = "__all__"
| 23.3125
| 69
| 0.700626
| 95
| 1,119
| 8.031579
| 0.357895
| 0.33945
| 0.385321
| 0.422018
| 0.46789
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.220733
| 1,119
| 47
| 70
| 23.808511
| 0.875
| 0
| 0
| 0.387097
| 0
| 0
| 0.057245
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.096774
| 0
| 0.548387
| 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
|
084f5793790f12fe202be3e9caf840bf19957016
| 1,056
|
py
|
Python
|
app/models.py
|
patrickbrooks/outpost-calc
|
39535e8a6a3f87c0223ad5001df7700b374ee731
|
[
"Apache-2.0"
] | null | null | null |
app/models.py
|
patrickbrooks/outpost-calc
|
39535e8a6a3f87c0223ad5001df7700b374ee731
|
[
"Apache-2.0"
] | null | null | null |
app/models.py
|
patrickbrooks/outpost-calc
|
39535e8a6a3f87c0223ad5001df7700b374ee731
|
[
"Apache-2.0"
] | null | null | null |
""" models.py defines ORM model for database interaction """
from werkzeug.security import generate_password_hash, check_password_hash
from flask_login import UserMixin
from app import db
from app import login
@login.user_loader
def load_user(id):
""" Look for user in the database """
return User.query.get(int(id))
class User(UserMixin, db.Model):
""" User for site authentication """
id = db.Column(db.Integer, primary_key=True)
username = db.Column(db.String(64), index=True, unique=True)
email = db.Column(db.String(120), index=True, unique=True)
password_hash = db.Column(db.String(128))
def __repr__(self):
""" show the user of the given object """
return '<User {}>'.format(self.username)
def set_password(self, password):
""" store password in hashed form """
self.password_hash = generate_password_hash(password)
def check_password(self, password):
""" validate password against hashed form """
return check_password_hash(self.password_hash, password)
| 34.064516
| 73
| 0.697917
| 144
| 1,056
| 4.972222
| 0.430556
| 0.117318
| 0.055866
| 0.067039
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009335
| 0.188447
| 1,056
| 30
| 74
| 35.2
| 0.826138
| 0.206439
| 0
| 0
| 1
| 0
| 0.01125
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.222222
| false
| 0.333333
| 0.222222
| 0
| 0.888889
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
f22d55c62d9f2c92e306b3f0a443bde55424b178
| 122
|
py
|
Python
|
src/14000/14729.pypy3.py
|
upple/BOJ
|
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
|
[
"MIT"
] | 8
|
2018-04-12T15:54:09.000Z
|
2020-06-05T07:41:15.000Z
|
src/14000/14729.pypy3.py
|
upple/BOJ
|
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
|
[
"MIT"
] | null | null | null |
src/14000/14729.pypy3.py
|
upple/BOJ
|
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
|
[
"MIT"
] | null | null | null |
import sys as S
[S.stdout.write('%.3f\n'%i) for i in sorted([float(S.stdin.readline()) for _ in range(int(input()))])[:7]]
| 61
| 106
| 0.647541
| 24
| 122
| 3.25
| 0.791667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.018182
| 0.098361
| 122
| 2
| 106
| 61
| 0.690909
| 0
| 0
| 0
| 0
| 0
| 0.04878
| 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
|
f23bc05df4495b20d9d6c78d7f37c0c0d6d700eb
| 39
|
py
|
Python
|
example.py
|
Carreau/darken
|
1532791919b1cd7b362bae8602c692c60684832f
|
[
"MIT"
] | 7
|
2019-05-28T20:50:39.000Z
|
2020-06-09T14:04:38.000Z
|
example.py
|
Carreau/darken
|
1532791919b1cd7b362bae8602c692c60684832f
|
[
"MIT"
] | 1
|
2019-05-31T15:46:07.000Z
|
2019-05-31T15:46:07.000Z
|
example.py
|
Carreau/darken
|
1532791919b1cd7b362bae8602c692c60684832f
|
[
"MIT"
] | 2
|
2019-06-13T11:09:28.000Z
|
2019-10-09T07:59:43.000Z
|
for i in ranga(1, 10, 30):
print(i)
| 19.5
| 26
| 0.564103
| 9
| 39
| 2.444444
| 0.888889
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.172414
| 0.25641
| 39
| 2
| 27
| 19.5
| 0.586207
| 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
|
f2461a99755e184ed94397d3c7bbf92a407dddf5
| 148
|
py
|
Python
|
soda/metrics/__init__.py
|
Lambda-AI-Dev/soda
|
31fd802f814288212bbc5f0186188a9ca345805e
|
[
"MIT"
] | null | null | null |
soda/metrics/__init__.py
|
Lambda-AI-Dev/soda
|
31fd802f814288212bbc5f0186188a9ca345805e
|
[
"MIT"
] | null | null | null |
soda/metrics/__init__.py
|
Lambda-AI-Dev/soda
|
31fd802f814288212bbc5f0186188a9ca345805e
|
[
"MIT"
] | null | null | null |
from .accuracyScore import accuracy_score
from .confusionMatrix import confusion_matrix
__all__ = [
"accuracy_score",
"confusion_matrix"
]
| 18.5
| 45
| 0.777027
| 15
| 148
| 7.133333
| 0.6
| 0.242991
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.155405
| 148
| 7
| 46
| 21.142857
| 0.856
| 0
| 0
| 0
| 0
| 0
| 0.202703
| 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
|
f258d42f6f06a97dea06d18eadf70a209bbde873
| 103
|
py
|
Python
|
postgresqleu/confreg/dbimage.py
|
bradfordboyle/pgeu-system
|
bbe70e7a94092c10f11a0f74fda23079532bb018
|
[
"MIT"
] | 11
|
2020-08-20T11:16:02.000Z
|
2022-03-12T23:25:04.000Z
|
postgresqleu/confreg/dbimage.py
|
bradfordboyle/pgeu-system
|
bbe70e7a94092c10f11a0f74fda23079532bb018
|
[
"MIT"
] | 71
|
2019-11-18T10:11:22.000Z
|
2022-03-27T16:12:57.000Z
|
postgresqleu/confreg/dbimage.py
|
bradfordboyle/pgeu-system
|
bbe70e7a94092c10f11a0f74fda23079532bb018
|
[
"MIT"
] | 18
|
2019-11-18T09:56:31.000Z
|
2022-01-08T03:16:43.000Z
|
# Legacy class only kept around for old migrations to work
class SpeakerImageStorage(object):
pass
| 25.75
| 58
| 0.786408
| 14
| 103
| 5.785714
| 0.928571
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.174757
| 103
| 3
| 59
| 34.333333
| 0.952941
| 0.543689
| 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
|
f26020be3ea3c9ccbdcf917f5a859559beba2961
| 1,132
|
py
|
Python
|
src/mixcli/command/cmd_group_config.py
|
zhuoyanli/nuance_mix_pycli
|
72fe76eb715d4e0be60616d282230fa90ad7250f
|
[
"MIT"
] | null | null | null |
src/mixcli/command/cmd_group_config.py
|
zhuoyanli/nuance_mix_pycli
|
72fe76eb715d4e0be60616d282230fa90ad7250f
|
[
"MIT"
] | null | null | null |
src/mixcli/command/cmd_group_config.py
|
zhuoyanli/nuance_mix_pycli
|
72fe76eb715d4e0be60616d282230fa90ad7250f
|
[
"MIT"
] | null | null | null |
CMD_GROUP_CONFIG = {
"auth": "Command group for generating authorization tokens",
"sys": "Command group for Mix API system scope",
"ns": "Command group for Mix namespace",
'project': "Command group for Mix API project scope",
'channel': "Command group for Mix API (project) channel scope",
'job': "Command group for Mix API job scope",
"asr": "Command group for Mix API ASR scope",
'nlu': "Command group for Mix API NLU scope",
'intent': 'Command group for Mix API (NLU) intent scope',
"concept": "Command group for Mix NLU concept scope",
"sample": "Command group for Mix NLU sample scope",
'dlg': "Command group for Mix API Dialog scope",
# "model": "Command group for Mix API actions on deployed models",
'config': 'Command group for Mix API actions on applications and deployment',
# "example": "Command group example for development and contribution",
"run": "Command group for running MixCli in various ways",
'grpc': 'Command group for gRPC tooling API usage',
"util": "Command group for various utility uses"
}
"""
Config for MixCli command groups
"""
| 47.166667
| 81
| 0.686396
| 156
| 1,132
| 4.967949
| 0.320513
| 0.27871
| 0.329032
| 0.301935
| 0.374194
| 0.211613
| 0.077419
| 0
| 0
| 0
| 0
| 0
| 0.20583
| 1,132
| 23
| 82
| 49.217391
| 0.862069
| 0.117491
| 0
| 0
| 0
| 0
| 0.764644
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 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
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
f271e8d3ce541597d9b7e1f8d84baf3771fd07a4
| 83
|
py
|
Python
|
BOJ16723.py
|
INYEONGKIM/BOJ
|
5e83d77a92d18b0d20d26645c7cfe4ba3e2d25bc
|
[
"MIT"
] | 2
|
2019-03-05T15:42:46.000Z
|
2019-07-24T15:52:36.000Z
|
BOJ16723.py
|
INYEONGKIM/BOJ
|
5e83d77a92d18b0d20d26645c7cfe4ba3e2d25bc
|
[
"MIT"
] | null | null | null |
BOJ16723.py
|
INYEONGKIM/BOJ
|
5e83d77a92d18b0d20d26645c7cfe4ba3e2d25bc
|
[
"MIT"
] | null | null | null |
n=int(input());r=0;k=2
n*=2
while n>=k:
r+=k*(n//k-n//(2*k))
k*=2
print(r)
| 11.857143
| 24
| 0.445783
| 23
| 83
| 1.608696
| 0.391304
| 0.108108
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.073529
| 0.180723
| 83
| 6
| 25
| 13.833333
| 0.470588
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.166667
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
f2833ee24553ac814574d68d2c0e5cb2b1e4b5a9
| 109
|
py
|
Python
|
enthought/permissions/adapters/qt4_widget.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | 3
|
2016-12-09T06:05:18.000Z
|
2018-03-01T13:00:29.000Z
|
enthought/permissions/adapters/qt4_widget.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | 1
|
2020-12-02T00:51:32.000Z
|
2020-12-02T08:48:55.000Z
|
enthought/permissions/adapters/qt4_widget.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | null | null | null |
# proxy module
from __future__ import absolute_import
from apptools.permissions.adapters.qt4_widget import *
| 27.25
| 54
| 0.853211
| 14
| 109
| 6.214286
| 0.785714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.010204
| 0.100917
| 109
| 3
| 55
| 36.333333
| 0.877551
| 0.110092
| 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
|
f283a75c00e84b28aa7390ee00c30185755bbbad
| 1,403
|
py
|
Python
|
tests/games/common/test_word_manager.py
|
Tyler-Yates/game-box
|
dc838270c3777372c3eeaf1e09fb1962c36fc2a8
|
[
"MIT"
] | 1
|
2020-12-13T02:41:19.000Z
|
2020-12-13T02:41:19.000Z
|
tests/games/common/test_word_manager.py
|
Tyler-Yates/game-box
|
dc838270c3777372c3eeaf1e09fb1962c36fc2a8
|
[
"MIT"
] | null | null | null |
tests/games/common/test_word_manager.py
|
Tyler-Yates/game-box
|
dc838270c3777372c3eeaf1e09fb1962c36fc2a8
|
[
"MIT"
] | null | null | null |
from application.games.common.word_manager import WordManager
TEST_WORD_SET = {"test", "DOG", "Cat"}
class TestWordManager:
def setup_method(self):
self.word_manager = WordManager(words=TEST_WORD_SET)
def test_valid_words(self):
assert self.word_manager.is_word("test") is True
assert self.word_manager.is_word("TEST") is True
assert self.word_manager.is_word("dog") is True
assert self.word_manager.is_word("DOG") is True
assert self.word_manager.is_word("cat") is True
assert self.word_manager.is_word("CAT") is True
def test_invalid_words(self):
assert self.word_manager.is_word("123") is False
assert self.word_manager.is_word("abc") is False
assert self.word_manager.is_word("cats") is False
def test_num_words(self):
assert self.word_manager.num_words() == len(TEST_WORD_SET)
def test_get_random_words(self):
num_words = 1
random_words = self.word_manager.get_random_words(num_words)
assert len(random_words) == num_words
for random_word in random_words:
assert self.word_manager.is_word(random_word)
num_words = 3
random_words = self.word_manager.get_random_words(num_words)
assert len(random_words) == num_words
for random_word in random_words:
assert self.word_manager.is_word(random_word)
| 36.921053
| 68
| 0.695652
| 206
| 1,403
| 4.427184
| 0.174757
| 0.192982
| 0.246711
| 0.276316
| 0.740132
| 0.700658
| 0.667763
| 0.667763
| 0.54386
| 0.54386
| 0
| 0.004533
| 0.213828
| 1,403
| 37
| 69
| 37.918919
| 0.822303
| 0
| 0
| 0.275862
| 0
| 0
| 0.02851
| 0
| 0
| 0
| 0
| 0
| 0.482759
| 1
| 0.172414
| false
| 0
| 0.034483
| 0
| 0.241379
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
4b39988cea9abd416dea71e3f42b7fc00858f703
| 165
|
py
|
Python
|
problem0488.py
|
kmarcini/Project-Euler-Python
|
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
|
[
"BSD-3-Clause"
] | null | null | null |
problem0488.py
|
kmarcini/Project-Euler-Python
|
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
|
[
"BSD-3-Clause"
] | null | null | null |
problem0488.py
|
kmarcini/Project-Euler-Python
|
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
|
[
"BSD-3-Clause"
] | null | null | null |
###########################
#
# #488 Unbalanced Nim - Project Euler
# https://projecteuler.net/problem=488
#
# Code by Kevin Marciniak
#
###########################
| 18.333333
| 38
| 0.472727
| 14
| 165
| 5.571429
| 0.928571
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.041096
| 0.115152
| 165
| 8
| 39
| 20.625
| 0.493151
| 0.575758
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
4b5a191751e52c88431d56b3a9282a3bcfa859b0
| 95
|
py
|
Python
|
__main__.py
|
rhasspy/rhasspy-asr-pocketsphinx-hermes
|
89c33a05327ff67e24b87e2ce16412de7c6e66ab
|
[
"MIT"
] | null | null | null |
__main__.py
|
rhasspy/rhasspy-asr-pocketsphinx-hermes
|
89c33a05327ff67e24b87e2ce16412de7c6e66ab
|
[
"MIT"
] | 1
|
2019-12-21T15:45:05.000Z
|
2019-12-21T15:45:05.000Z
|
__main__.py
|
rhasspy/rhasspy-asr-pocketsphinx-hermes
|
89c33a05327ff67e24b87e2ce16412de7c6e66ab
|
[
"MIT"
] | 3
|
2020-01-24T22:34:17.000Z
|
2020-11-10T12:51:59.000Z
|
"""PyInstaller entry point"""
from rhasspyasr_pocketsphinx_hermes.__main__ import main
main()
| 19
| 56
| 0.810526
| 11
| 95
| 6.454545
| 0.818182
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.094737
| 95
| 4
| 57
| 23.75
| 0.825581
| 0.242105
| 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
|
4b5e1a67766e02bf79d4956e46ad727086348d80
| 1,923
|
py
|
Python
|
opinet/profiling.py
|
ryanwallace96/opinet
|
72495ceef2382cb76f2318f970147cc7c6c8a45a
|
[
"MIT"
] | null | null | null |
opinet/profiling.py
|
ryanwallace96/opinet
|
72495ceef2382cb76f2318f970147cc7c6c8a45a
|
[
"MIT"
] | null | null | null |
opinet/profiling.py
|
ryanwallace96/opinet
|
72495ceef2382cb76f2318f970147cc7c6c8a45a
|
[
"MIT"
] | null | null | null |
"""
For investigation and performance testing.
"""
import cProfile
import numpy as np
import pstats
from following import FollowingAgent, FollowingGame
from sharing import SharingAgent, SharingGame
# n, T = 4, 10
# alphas, betas, gammas = [-1.0] * n, [0.5] * n, [lambda R: 0.5 * R] * n
# init_E_mat = np.array(np.random.binomial(n=1, p=0.3, size=(n, n)), dtype=float)
# init_stances = np.random.uniform(low=-1, high=1, size=n)
# n, T = 1000, 3
# alphas, betas, gammas = np.array([-1] * n, dtype=float), np.array([0] * n, dtype=float), [lambda R: 0.3 * R] * n
# # init_E_mat = np.array([[0,1,1,1],[1,0,1,1],[1,1,0,1],[1,1,1,0]])
# init_E_mat = np.zeros((n, n))
# init_stances = np.array([0.5] * (n / 2) + [-0.5] * (n / 2))
# agents = FollowingAgent(init_stances, alphas, betas, gammas, 'approx_opt', T)
# game = FollowingGame(agents, init_E_mat, T, calc_utilities=True, keep_G=False)
# cProfile.run("game.run()", "stats")
# p = pstats.Stats("stats")
# p.strip_dirs().sort_stats("cumulative").print_stats()
# p.print_stats()
# agents_c = following_c.FollowingAgent(init_stances, alphas, betas, gammas, T)
# game_c = following_c.FollowingGame(agents_c, init_E_mat, T, calc_utilities_in=True)
# cProfile.run("game_c.run()", "stats")
# p = pstats.Stats("stats")
# p.strip_dirs().sort_stats("cumulative").print_stats()
# p.print_stats()
####### SHARING ########
# n, T = 4, 5
# alphas, betas, gammas = [-0.8] * n, [0.5] * n, [lambda R: 0.0 * R] * n
# E_mat = np.random.binomial(n=1, p=0.7, size=(n, n)).astype(float)
# init_stances = np.random.uniform(low=-1, high=1, size=n)
# print "init_stance\n", init_stances
# agents = SharingAgent(init_stances, alphas, betas, gammas, 'truthful', T)
# game = SharingGame(agents, E_mat, T, calc_utilities=True, keep_actions=True)
# cProfile.run("game.run()", "stats")
# p = pstats.Stats("stats")
# p.strip_dirs().sort_stats("cumulative").print_stats()
# p.print_stats()
| 31.52459
| 114
| 0.657826
| 319
| 1,923
| 3.824451
| 0.22884
| 0.014754
| 0.083607
| 0.02459
| 0.531967
| 0.509016
| 0.418852
| 0.295902
| 0.295902
| 0.295902
| 0
| 0.034856
| 0.134685
| 1,923
| 60
| 115
| 32.05
| 0.698317
| 0.867395
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
4b6291cf873c0f46f295d4911c2ffad4501150cf
| 10,167
|
py
|
Python
|
main.py
|
gerry-app/elections-scraper
|
b57df00bc7edad330c83b875f6a9746484bccceb
|
[
"MIT"
] | 1
|
2018-01-21T15:02:05.000Z
|
2018-01-21T15:02:05.000Z
|
main.py
|
gerry-manders/elections-scraper
|
b57df00bc7edad330c83b875f6a9746484bccceb
|
[
"MIT"
] | null | null | null |
main.py
|
gerry-manders/elections-scraper
|
b57df00bc7edad330c83b875f6a9746484bccceb
|
[
"MIT"
] | null | null | null |
import re
import json
from bs4 import BeautifulSoup
populations = {"CA-44": 713249, "CA-45": 721016, "CA-46": 710948, "CA-47": 719805, "CA-40": 708460, "CA-41": 722665, "CA-42": 717412, "CA-43": 702983, "CA-48": 711992, "CA-49": 702141, "FL-1": 703033, "FL-3": 700008, "FL-2": 701463, "FL-5": 701732, "FL-4": 700499, "FL-7": 702203, "FL-6": 709868, "FL-9": 688665, "FL-8": 699857, "NY-12": 708096, "NY-13": 738943, "NY-10": 716172, "NY-11": 724434, "NY-16": 721008, "NY-17": 724191, "NY-14": 712053, "NY-15": 731101, "NY-18": 726712, "NY-19": 710597, "RI-1": 524097, "PA-8": 704485, "PA-9": 707435, "PA-6": 727295, "PA-7": 692866, "PA-4": 710196, "PA-5": 706147, "PA-2": 726364, "PA-3": 705049, "PA-1": 678723, "ND-0": 683932, "MI-14": 707582, "NJ-12": 732031, "NJ-11": 724761, "NJ-10": 726382, "TX-35": 724271, "TX-34": 702624, "TX-36": 712433, "TX-31": 721698, "TX-30": 694383, "TX-33": 710945, "TX-32": 711796, "HI-2": 684133, "HI-1": 690677, "WV-1": 614309, "WV-2": 626469, "WV-3": 614586, "VA-8": 742531, "VA-9": 725764, "VA-1": 743824, "VA-2": 710769, "VA-3": 744369, "VA-4": 736977, "VA-5": 726376, "VA-6": 734204, "VA-7": 733911, "WI-8": 718245, "WI-7": 713509, "WI-6": 709417, "WI-5": 713261, "WI-4": 715895, "WI-3": 710796, "WI-2": 720334, "WI-1": 710310, "KY-6": 733205, "WA-7": 683158, "WA-6": 674679, "WA-5": 676030, "WA-4": 690421, "WA-3": 680915, "WA-2": 678014, "WA-1": 686848, "WA-9": 693596, "WA-8": 681117, "TX-7": 726696, "TX-6": 722452, "TX-5": 719368, "TX-4": 704984, "TX-3": 728269, "TX-2": 721185, "TX-1": 703177, "TX-9": 691497, "TX-8": 720727, "TX-12": 710406, "IN-2": 717237, "IN-3": 722205, "IN-1": 722224, "IL-8": 724644, "IL-9": 715584, "IN-4": 729244, "IN-5": 731702, "IL-4": 737025, "IL-5": 712292, "IL-6": 712712, "IL-7": 703012, "IL-1": 711982, "IL-2": 718507, "IL-3": 713092, "OH-10": 725479, "OH-11": 705659, "OH-12": 727728, "OH-13": 723713, "OH-14": 716967, "OH-15": 719537, "OH-16": 724108, "ID-1": 791876, "ID-2": 793109, "IL-16": 713840, "IL-17": 711719, "IL-14": 718232, "IL-15": 715066, "IL-12": 713289, "IL-13": 712716, "IL-10": 705564, "IL-11": 722745, "WY-0": 568158, "PA-18": 711540, "CA-31": 727523, "CA-30": 726471, "CA-33": 707854, "CA-32": 693701, "CA-35": 710704, "CA-34": 698741, "CA-37": 719034, "CA-36": 713166, "CA-39": 711645, "CA-38": 714100, "NY-27": 713175, "NY-26": 719909, "NY-25": 717475, "NY-24": 713010, "NY-23": 717909, "NY-22": 720201, "NY-21": 717663, "NY-20": 720133, "PA-14": 703257, "PA-15": 723086, "PA-16": 702245, "PA-17": 694123, "PA-10": 712217, "PA-11": 705197, "PA-12": 703764, "PA-13": 728897, "IA-4": 761467, "IA-1": 763903, "IA-3": 770819, "IA-2": 766120, "AL-4": 682029, "AL-5": 691438, "GA-11": 689738, "GA-13": 718096, "GA-12": 704537, "AL-6": 687709, "AL-7": 690499, "AL-1": 689110, "AL-2": 678860, "GA-14": 694398, "SC-5": 662829, "SC-4": 671222, "SC-7": 667752, "SC-6": 667523, "SC-1": 667388, "SC-3": 666024, "SC-2": 676492, "AL-3": 683095, "TX-26": 722749, "TX-27": 701765, "TX-24": 719185, "TX-25": 714682, "TX-22": 720879, "TX-23": 725874, "TX-20": 716759, "TX-21": 723750, "TX-28": 710260, "TX-29": 718379, "VT-0": 626431, "SD-0": 824082, "AK-0": 722718, "NC-11": 730469, "TN-5": 713990, "TN-4": 708356, "TN-7": 714187, "TN-6": 713928, "TN-1": 707424, "TN-3": 715757, "TN-2": 712089, "TN-9": 710874, "TN-8": 706748, "NC-13": 732434, "IN-6": 720186, "IN-7": 726771, "UT-1": 699943, "UT-2": 705688, "UT-3": 708809, "UT-4": 702782, "KY-3": 726812, "KY-2": 733610, "KY-1": 720774, "IN-8": 720783, "KY-5": 723855, "KY-4": 731100, "IN-9": 726570, "AR-4": 736183, "AR-2": 739092, "AR-3": 733194, "AR-1": 729510, "NH-2": 657433, "RI-2": 527205, "LA-2": 767984, "LA-3": 760696, "LA-1": 759507, "LA-6": 763016, "LA-4": 758453, "LA-5": 765180, "MO-8": 747756, "MO-3": 762347, "MO-2": 752403, "MO-1": 739977, "MO-7": 751514, "MO-6": 753729, "MO-5": 747573, "MO-4": 755389, "CA-22": 711709, "CA-23": 707345, "CA-20": 712087, "CA-21": 714164, "CA-26": 708300, "CA-27": 709231, "CA-24": 708744, "CA-25": 714313, "MD-1": 722628, "CA-28": 706585, "CA-29": 687063, "MD-4": 736929, "MD-5": 726753, "MD-6": 731965, "MD-7": 713872, "AZ-6": 743752, "AZ-7": 725197, "AZ-4": 707750, "AZ-5": 711895, "AZ-2": 722918, "AZ-3": 707336, "AZ-1": 724868, "NC-10": 740773, "AZ-8": 715893, "AZ-9": 722896, "NJ-3": 732131, "NJ-2": 736397, "NJ-1": 727496, "NJ-7": 747216, "MA-7": 733814, "NJ-5": 731055, "NJ-4": 736007, "NJ-9": 742508, "NJ-8": 746415, "CA-9": 707132, "CA-8": 699443, "CA-3": 698044, "CA-2": 707530, "CA-1": 699301, "CA-7": 710607, "CA-6": 713579, "CA-5": 709544, "CA-4": 711815, "VA-10": 750886, "VA-11": 746993, "MN-8": 661995, "MI-11": 706645, "MI-10": 701831, "MI-13": 699214, "MI-12": 703389, "NM-1": 698441, "NM-2": 702936, "NM-3": 680847, "KS-4": 715456, "KS-1": 718350, "KS-3": 722973, "KS-2": 714459, "GA-10": 694613, "TX-13": 698612, "MD-8": 747185, "TX-11": 700744, "TX-10": 709456, "TX-17": 710793, "TX-16": 707375, "TX-15": 722529, "TX-14": 708198, "TX-19": 708642, "TX-18": 707139, "FL-20": 713165, "FL-21": 720995, "FL-22": 703505, "FL-23": 703594, "FL-24": 693086, "FL-25": 723113, "FL-26": 728285, "FL-27": 712083, "CA-53": 723699, "CA-52": 699398, "CA-51": 717894, "CA-50": 724472, "ME-1": 668146, "ME-2": 660042, "MD-2": 727061, "MD-3": 721896, "CO-1": 739671, "CO-3": 719526, "CO-2": 727317, "CO-5": 733850, "CO-4": 722690, "CO-7": 729216, "CO-6": 744526, "WA-10": 685260, "NH-1": 660761, "NE-1": 616728, "NE-2": 617475, "NE-3": 608438, "MA-9": 727771, "MA-8": 732884, "MS-4": 749289, "MS-3": 745254, "MS-2": 743249, "MS-1": 740720, "MA-1": 728921, "MA-3": 732090, "MA-2": 726061, "MA-5": 737545, "MA-4": 736769, "NC-12": 737200, "MA-6": 731681, "MN-6": 675415, "MN-7": 661532, "MN-4": 669310, "MN-5": 677196, "MN-2": 668891, "MN-3": 664419, "MN-1": 666103, "NV-4": 680935, "NV-3": 703278, "NV-2": 679147, "NV-1": 659962, "DE-0": 907135, "NY-8": 715905, "NY-9": 739328, "IL-18": 707238, "NY-1": 720071, "NY-2": 724053, "NY-3": 724164, "NY-4": 716038, "NY-5": 740327, "NY-6": 707630, "NY-7": 724899, "NC-6": 749909, "NC-7": 745559, "NC-4": 758619, "NC-5": 726638, "NC-2": 744671, "NC-3": 749823, "NC-1": 739665, "NC-8": 750059, "NC-9": 750582, "FL-19": 696776, "FL-18": 687695, "FL-11": 700956, "FL-10": 741792, "FL-13": 694899, "FL-12": 701580, "FL-15": 714155, "FL-14": 717231, "FL-17": 694509, "FL-16": 702795, "MI-1": 708797, "MI-3": 709467, "MI-2": 709073, "MI-5": 698753, "MI-4": 703259, "MI-7": 701436, "MI-6": 707375, "MI-9": 712540, "MI-8": 706826, "CT-2": 711006, "CT-3": 718549, "CT-1": 715378, "CT-4": 726619, "CT-5": 709157, "NJ-6": 738756, "OR-4": 770184, "OR-5": 772980, "OR-1": 775806, "OR-2": 770403, "OR-3": 782486, "MT-0": 998199, "CA-19": 695402, "CA-18": 717397, "CA-17": 724244, "CA-16": 714214, "CA-15": 708580, "CA-14": 726958, "CA-13": 712144, "CA-12": 700605, "CA-11": 722847, "CA-10": 713912, "OH-2": 716833, "OH-3": 732258, "OH-1": 729005, "OH-6": 717143, "OH-7": 726076, "OH-4": 721717, "OH-5": 714435, "OH-8": 726266, "OH-9": 718027, "GA-7": 687296, "GA-6": 699103, "GA-5": 708928, "GA-4": 720228, "GA-3": 687745, "GA-2": 699490, "GA-1": 703020, "GA-9": 714378, "GA-8": 693640, "OK-1": 764815, "OK-3": 745941, "OK-2": 753014, "OK-5": 762555, "OK-4": 765183}
lookup = [('Alabama', 'AL'),
('Alaska', 'AK'),
('Arizona', 'AZ'),
('Arkansas', 'AR'),
('California', 'CA'),
('Colorado', 'CO'),
('Connecticut', 'CT'),
('Delaware', 'DE'),
('District of Columbia', 'DC'),
('Florida', 'FL'),
('Georgia', 'GA'),
('Hawaii', 'HI'),
('Idaho', 'ID'),
('Illinois', 'IL'),
('Indiana', 'IN'),
('Iowa', 'IA'),
('Kansas', 'KS'),
('Kentucky', 'KY'),
('Louisiana', 'LA'),
('Maine', 'ME'),
('Maryland', 'MD'),
('Massachusetts', 'MA'),
('Michigan', 'MI'),
('Minnesota', 'MN'),
('Mississippi', 'MS'),
('Missouri', 'MO'),
('Montana', 'MT'),
('Nebraska', 'NE'),
('Nevada', 'NV'),
('New Hampshire', 'NH'),
('New Jersey', 'NJ'),
('New Mexico', 'NM'),
('New York', 'NY'),
('North Carolina', 'NC'),
('North Dakota', 'ND'),
('Ohio', 'OH'),
('Oklahoma', 'OK'),
('Oregon', 'OR'),
('Pennsylvania', 'PA'),
('Rhode Island', 'RI'),
('South Carolina', 'SC'),
('South Dakota', 'SD'),
('Tennessee', 'TN'),
('Texas', 'TX'),
('Utah', 'UT'),
('Vermont', 'VT'),
('Virginia', 'VA'),
('Washington', 'WA'),
('West Virginia', 'WV'),
('Wisconsin', 'WI'),
('Wyoming', 'WY')]
lookup = dict(lookup)
def parse_tables(content):
soup = BeautifulSoup(content, 'lxml')
print('bs parsed')
table_classes = {"class": ["sortable", "wikitable"]}
wikitables = soup.findAll("table", table_classes)
M = {}
for table in wikitables[:-1]:
for tr in table.findAll('tr')[2:]:
name = tr.find('th').find('a').string.encode('utf-8').replace('at-large', '').replace("\xc2\xa0", '')
number = re.search('\d{1,3}',name)
if number is None:
number = 0
else:
number = number.group(0)
code = lookup[re.search('[^\d]+', name).group(0)] + '-' + str(number)
print code
results = str(tr.findAll('td')[-1])
rep = results[results.find('(Republican)') + 13:results.find('(Republican)') + 17]
try:
rep = float(rep)
except ValueError:
rep = 0.0
dem = results[results.find('(Democratic)') + 13:results.find('(Democratic)') + 17]
try:
dem = float(dem)
except ValueError:
dem = 0.0
ind = 100 - rep - dem;
pop = populations[code]
M[code] = {
'D': int(dem / 100 * pop),
'R': int(rep / 100 * pop),
'I': int(ind / 100 * pop),
'dis': code,
}
return M
if __name__ == '__main__':
with open('wiki.html') as f, open('districts.json', 'w') as d:
json.dump(parse_tables(f.read()), d)
| 98.708738
| 7,126
| 0.531524
| 1,607
| 10,167
| 3.35532
| 0.418793
| 0.00816
| 0.003338
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.391547
| 0.187863
| 10,167
| 102
| 7,127
| 99.676471
| 0.261475
| 0
| 0
| 0.042105
| 0
| 0
| 0.256123
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.031579
| null | null | 0.021053
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
4b66baa3ec85d95735d4c8fbe24170e22c972b85
| 47
|
py
|
Python
|
tensorqtl/__init__.py
|
JosephLalli/tensorqtl
|
ec4851f8a479ec284921a59a1b0b644d3cab4fa1
|
[
"BSD-3-Clause"
] | 84
|
2018-11-15T11:52:22.000Z
|
2022-03-13T05:54:00.000Z
|
tensorqtl/__init__.py
|
JosephLalli/tensorqtl
|
ec4851f8a479ec284921a59a1b0b644d3cab4fa1
|
[
"BSD-3-Clause"
] | 52
|
2019-04-10T12:31:51.000Z
|
2022-03-22T14:13:36.000Z
|
tensorqtl/__init__.py
|
JosephLalli/tensorqtl
|
ec4851f8a479ec284921a59a1b0b644d3cab4fa1
|
[
"BSD-3-Clause"
] | 33
|
2018-11-30T14:38:08.000Z
|
2022-03-23T17:41:36.000Z
|
__version__ = "1.0.6"
from .tensorqtl import *
| 15.666667
| 24
| 0.702128
| 7
| 47
| 4.142857
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.075
| 0.148936
| 47
| 2
| 25
| 23.5
| 0.65
| 0
| 0
| 0
| 0
| 0
| 0.106383
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
4b938f1cb49026ac2ea910ec177d97c41d014b38
| 114
|
py
|
Python
|
passenger_census_api/apps.py
|
hackoregon/provisional-transportation-api
|
15a74f82f751e9bc60c00eacbe6f16bb2d8905e0
|
[
"MIT"
] | 2
|
2018-05-30T18:07:16.000Z
|
2019-05-06T10:01:54.000Z
|
passenger_census_api/apps.py
|
hackoregon/provisional-transportation-api
|
15a74f82f751e9bc60c00eacbe6f16bb2d8905e0
|
[
"MIT"
] | 33
|
2018-05-24T05:00:58.000Z
|
2020-06-05T18:16:32.000Z
|
passenger_census_api/apps.py
|
hackoregon/provisional-transportation-api
|
15a74f82f751e9bc60c00eacbe6f16bb2d8905e0
|
[
"MIT"
] | 3
|
2018-05-24T03:38:59.000Z
|
2019-07-10T18:35:31.000Z
|
from django.apps import AppConfig
class PassgengerCensusAPIConfig(AppConfig):
name = 'passenger_census_api'
| 19
| 43
| 0.807018
| 12
| 114
| 7.5
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.131579
| 114
| 5
| 44
| 22.8
| 0.909091
| 0
| 0
| 0
| 0
| 0
| 0.175439
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.666667
| 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
| 1
| 1
| 0
| 0
| 0
|
0
| 4
|
298de3248b42b95a74226aa4d4890c0194caf3aa
| 208
|
py
|
Python
|
nnet/learning_rate_func/_base.py
|
zhaoyan1117/NeuralNet
|
a0343dd469e981bf9b4f18db0209ca9bfaf58c4f
|
[
"BSD-2-Clause"
] | null | null | null |
nnet/learning_rate_func/_base.py
|
zhaoyan1117/NeuralNet
|
a0343dd469e981bf9b4f18db0209ca9bfaf58c4f
|
[
"BSD-2-Clause"
] | null | null | null |
nnet/learning_rate_func/_base.py
|
zhaoyan1117/NeuralNet
|
a0343dd469e981bf9b4f18db0209ca9bfaf58c4f
|
[
"BSD-2-Clause"
] | null | null | null |
from __future__ import absolute_import
from abc import ABCMeta, abstractmethod
class LearningRateFuncBase(object):
__metaclass__ = ABCMeta
@abstractmethod
def apply(self, t, net):
pass
| 18.909091
| 39
| 0.740385
| 22
| 208
| 6.590909
| 0.772727
| 0.289655
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.206731
| 208
| 10
| 40
| 20.8
| 0.878788
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.142857
| false
| 0.142857
| 0.285714
| 0
| 0.714286
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
29a9a5435b09b1e6f7b45da5da84be8cf0d803f8
| 549
|
py
|
Python
|
services/correlator/models/clearreq.py
|
sbworth/getnoc
|
a9a5647df31822062db3db7afe7ae1c005d166f7
|
[
"BSD-3-Clause"
] | null | null | null |
services/correlator/models/clearreq.py
|
sbworth/getnoc
|
a9a5647df31822062db3db7afe7ae1c005d166f7
|
[
"BSD-3-Clause"
] | null | null | null |
services/correlator/models/clearreq.py
|
sbworth/getnoc
|
a9a5647df31822062db3db7afe7ae1c005d166f7
|
[
"BSD-3-Clause"
] | null | null | null |
# ---------------------------------------------------------------------
# Clear Request
# ---------------------------------------------------------------------
# Copyright (C) 2007-2021 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------
# Python modules
from typing import Optional, Literal
# Third-party modules
from pydantic import BaseModel, Field
class ClearRequest(BaseModel):
op: Literal["clear"] = Field(None, alias="$op")
reference: str
timestamp: Optional[str]
| 28.894737
| 71
| 0.444444
| 43
| 549
| 5.674419
| 0.767442
| 0.090164
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.016495
| 0.116576
| 549
| 18
| 72
| 30.5
| 0.486598
| 0.586521
| 0
| 0
| 0
| 0
| 0.036697
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
29d605e7cdd5a6900325b489dc6e8187447d9f45
| 428
|
py
|
Python
|
tools/scitools/conf/understand/python/python3/cmath.py
|
brucegua/moocos
|
575c161cfa35e220f10d042e2e5ca18773691695
|
[
"Apache-2.0"
] | 1
|
2020-01-20T21:26:46.000Z
|
2020-01-20T21:26:46.000Z
|
tools/scitools/conf/understand/python/python3/cmath.py
|
brucegua/moocos
|
575c161cfa35e220f10d042e2e5ca18773691695
|
[
"Apache-2.0"
] | null | null | null |
tools/scitools/conf/understand/python/python3/cmath.py
|
brucegua/moocos
|
575c161cfa35e220f10d042e2e5ca18773691695
|
[
"Apache-2.0"
] | null | null | null |
def acos(): pass
def acosh(): pass
def asin(): pass
def asinh(): pass
def atan(): pass
def atanh(): pass
def cos(): pass
def cosh(): pass
def exp(): pass
def isinf(): pass
def isnan(): pass
def log(): pass
def log10(): pass
def phase(): pass
def polar(): pass
def rect(): pass
def sin(): pass
def sinh(): pass
def sqrt(): pass
def tan(): pass
def tanh(): pass
e = 2.718281828459045
pi = 3.141592653589793
| 17.833333
| 23
| 0.628505
| 69
| 428
| 3.898551
| 0.42029
| 0.520446
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.10119
| 0.214953
| 428
| 23
| 24
| 18.608696
| 0.699405
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.913043
| false
| 0.913043
| 0
| 0
| 0.913043
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
29ed44deae1dcda2fbea93cba70d01e38686219b
| 3,869
|
py
|
Python
|
scenario/blackjack/state/tests/test_blackjackstate_transition.py
|
tomasruizt/Reinforcement-Learning-Scenarios
|
660175318bbecc7de51596740ddc5aa7ab993595
|
[
"Apache-2.0"
] | null | null | null |
scenario/blackjack/state/tests/test_blackjackstate_transition.py
|
tomasruizt/Reinforcement-Learning-Scenarios
|
660175318bbecc7de51596740ddc5aa7ab993595
|
[
"Apache-2.0"
] | null | null | null |
scenario/blackjack/state/tests/test_blackjackstate_transition.py
|
tomasruizt/Reinforcement-Learning-Scenarios
|
660175318bbecc7de51596740ddc5aa7ab993595
|
[
"Apache-2.0"
] | null | null | null |
import unittest
from scenario.blackjack.cards_deck import Hand, Card
from scenario.blackjack.state import BlackjackState
from scenario.blackjack.state import Transition
class TransitionTest(unittest.TestCase):
def test_target_draws_card_old_state_unchanged(self):
initial_state = self._setup_initial_state()
unchanged_initial_state = self._setup_initial_state()
Transition(initial_state).dealer().draw(Card("10"))
self.assertEqual(initial_state, unchanged_initial_state)
def test_target_draws_card_player_gets_new_card(self):
initial_state = self._setup_initial_state()
new_card_name = "A"
new_state = Transition(initial_state).player().draw(Card(new_card_name))
self.assertFalse(new_card_name in initial_state.player_hand.card_names)
self.assertTrue(new_card_name in new_state.player_hand.card_names)
self.assertFalse(new_card_name in new_state.dealer_hand.card_names)
self.assertTrue(self._states_are_equal_except_for_hands(
initial_state, new_state))
def test_target_draws_card_dealer_gets_new_card(self):
initial_state = self._setup_initial_state()
new_card_name = "A"
new_state = Transition(initial_state).dealer().draw(Card(new_card_name))
self.assertFalse(new_card_name in initial_state.dealer_hand.card_names)
self.assertTrue(new_card_name in new_state.dealer_hand.card_names)
self.assertFalse(new_card_name in new_state.player_hand.card_names)
self.assertTrue(self._states_are_equal_except_for_hands(
initial_state, new_state))
def test_target_passes_old_state_unchanged(self):
initial_state = self._setup_initial_state()
unchanged_initial_state = self._setup_initial_state()
Transition(initial_state).dealer().pass_turn()
self.assertEqual(initial_state, unchanged_initial_state)
def test_target_passes_player_passed(self):
initial_state = self._setup_initial_state()
new_state = Transition(initial_state).player().pass_turn()
self.assertFalse(initial_state.player_has_passed)
self.assertTrue(new_state.player_has_passed)
self.assertFalse(new_state.dealer_has_passed)
self.assertTrue(self._states_are_equal_except_for_has_passed_variables(
initial_state, new_state))
def test_target_passes_dealer_passed(self):
initial_state = self._setup_initial_state()
new_state = Transition(initial_state).dealer().pass_turn()
self.assertFalse(initial_state.dealer_has_passed)
self.assertTrue(new_state.dealer_has_passed)
self.assertFalse(new_state.player_has_passed)
self.assertTrue(self._states_are_equal_except_for_has_passed_variables(
initial_state, new_state))
@staticmethod
def _setup_initial_state() -> BlackjackState:
player_hand = Hand([Card("10"), Card("10")])
dealer_hand = Hand([Card("10")])
return BlackjackState.new_initial_state(player_hand, dealer_hand)
@staticmethod
def _states_are_equal_except_for_hands(
state1: BlackjackState, state2: BlackjackState) -> bool:
return (
state1.dealer_has_passed == state2.dealer_has_passed
and state1.player_has_passed == state2. player_has_passed
and state1.current_bet == state2.current_bet
and state1.action_space == state2.action_space
)
@staticmethod
def _states_are_equal_except_for_has_passed_variables(
state1: BlackjackState, state2: BlackjackState) -> bool:
return (
state1.player_hand == state2.player_hand
and state1.dealer_hand == state2.dealer_hand
and state1.current_bet == state2.current_bet
and state1.action_space == state2.action_space
)
| 42.516484
| 80
| 0.728871
| 485
| 3,869
| 5.356701
| 0.121649
| 0.166282
| 0.04234
| 0.064665
| 0.833718
| 0.798306
| 0.700154
| 0.626636
| 0.591224
| 0.591224
| 0
| 0.008963
| 0.192556
| 3,869
| 90
| 81
| 42.988889
| 0.822663
| 0
| 0
| 0.430556
| 0
| 0
| 0.002585
| 0
| 0
| 0
| 0
| 0
| 0.25
| 1
| 0.125
| false
| 0.236111
| 0.055556
| 0.027778
| 0.236111
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
4b15846f0de08218433ea4c1584758932e820a7e
| 315
|
py
|
Python
|
apps/recruit/serializers.py
|
sseits-skku/its-backend
|
faf020568b930aaff4958d47602c511aad8a6c8e
|
[
"MIT"
] | null | null | null |
apps/recruit/serializers.py
|
sseits-skku/its-backend
|
faf020568b930aaff4958d47602c511aad8a6c8e
|
[
"MIT"
] | 8
|
2020-06-05T23:00:49.000Z
|
2022-03-11T23:59:32.000Z
|
apps/recruit/serializers.py
|
sseits-skku/its-backend
|
faf020568b930aaff4958d47602c511aad8a6c8e
|
[
"MIT"
] | 1
|
2019-10-01T13:07:22.000Z
|
2019-10-01T13:07:22.000Z
|
from rest_framework.serializers import ModelSerializer
from .models import ApplyTerm, Apply
class ApplyTermSerializer(ModelSerializer):
class Meta:
model = ApplyTerm
fields = '__all__'
class ApplySerializer(ModelSerializer):
class Meta:
model = Apply
fields = '__all__'
| 19.6875
| 54
| 0.704762
| 29
| 315
| 7.344828
| 0.551724
| 0.187793
| 0.225352
| 0.2723
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.234921
| 315
| 15
| 55
| 21
| 0.883817
| 0
| 0
| 0.4
| 0
| 0
| 0.044444
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.2
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
4b28ad1fcc578aa0b8b22acbea08e27d59de5e9f
| 658
|
py
|
Python
|
src/sellix/resources/coupons.py
|
Sellix/python-sdk
|
dbfd203c73d9aa7e91eb4ce25a9ab0eb8ea7dc69
|
[
"MIT"
] | null | null | null |
src/sellix/resources/coupons.py
|
Sellix/python-sdk
|
dbfd203c73d9aa7e91eb4ce25a9ab0eb8ea7dc69
|
[
"MIT"
] | null | null | null |
src/sellix/resources/coupons.py
|
Sellix/python-sdk
|
dbfd203c73d9aa7e91eb4ce25a9ab0eb8ea7dc69
|
[
"MIT"
] | null | null | null |
def get_coupons(self):
return self.handle_response(
self.request("/coupons"),
"coupons"
)
def create_coupon(self, **kwargs):
return self.handle_response(
self.request("/coupons", "POST", kwargs),
"uniqid"
)
def get_coupon(self, uniqid):
return self.handle_response(
self.request(f"/coupons/{uniqid}"),
"coupon"
)
def update_coupon(self, uniqid, **kwargs):
return self.handle_response(
self.request(f"/coupons/{uniqid}", "PUT", kwargs)
)
def delete_coupon(self, uniqid):
return self.handle_response(
self.request(f"/coupons/{uniqid}", "DELETE")
)
| 20.5625
| 57
| 0.615502
| 74
| 658
| 5.337838
| 0.22973
| 0.126582
| 0.202532
| 0.303797
| 0.696203
| 0.696203
| 0.696203
| 0.453165
| 0.453165
| 0.329114
| 0
| 0
| 0.235562
| 658
| 31
| 58
| 21.225806
| 0.785288
| 0
| 0
| 0.217391
| 0
| 0
| 0.150456
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.217391
| false
| 0
| 0
| 0.217391
| 0.434783
| 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
| 1
| 0
| 0
|
0
| 4
|
d99c9f8a3d1402e27c0dd23a8a3b9c0bd896aa62
| 177
|
py
|
Python
|
yatube/posts/templatetags/post_form.py
|
Ecmek/yatube_project
|
24206ad81c73c184e0f24ca7242c3f8233278592
|
[
"BSD-3-Clause"
] | 1
|
2021-08-17T07:30:35.000Z
|
2021-08-17T07:30:35.000Z
|
yatube/posts/templatetags/post_form.py
|
Ecmek/yatube_project
|
24206ad81c73c184e0f24ca7242c3f8233278592
|
[
"BSD-3-Clause"
] | null | null | null |
yatube/posts/templatetags/post_form.py
|
Ecmek/yatube_project
|
24206ad81c73c184e0f24ca7242c3f8233278592
|
[
"BSD-3-Clause"
] | null | null | null |
from django import template
from posts.forms import PostForm
register = template.Library()
@register.simple_tag
def post_form(post=None):
return PostForm(instance=post)
| 16.090909
| 34
| 0.785311
| 24
| 177
| 5.708333
| 0.708333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.135593
| 177
| 10
| 35
| 17.7
| 0.895425
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0
| 0.333333
| 0.166667
| 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
| 0
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 4
|
d99efb90580b6903d4a223c102d910a6b69705b9
| 468
|
py
|
Python
|
python-ds-practice/24_remove_every_other/remove_every_other.py
|
MostFunGuy/SpringboardProjectsPublic
|
bbda3ba26ecf8a09e62df81583122cae83acc1e6
|
[
"MIT"
] | null | null | null |
python-ds-practice/24_remove_every_other/remove_every_other.py
|
MostFunGuy/SpringboardProjectsPublic
|
bbda3ba26ecf8a09e62df81583122cae83acc1e6
|
[
"MIT"
] | null | null | null |
python-ds-practice/24_remove_every_other/remove_every_other.py
|
MostFunGuy/SpringboardProjectsPublic
|
bbda3ba26ecf8a09e62df81583122cae83acc1e6
|
[
"MIT"
] | null | null | null |
def remove_every_other(lst):
"""Return a new list of other item.
>>> lst = [1, 2, 3, 4, 5]
>>> remove_every_other(lst)
[1, 3, 5]
This should return a list, not mutate the original:
>>> lst
[1, 2, 3, 4, 5]
"""
return lst[::2]
lst = [1, 2, 3, 4, 5]
print(F"remove_every_other.py: remove_every_other(lst) = [1, 3, 5] = {remove_every_other(lst)}")
print(F"remove_every_other.py: lst = [1, 2, 3, 4, 5] = {lst}")
| 24.631579
| 96
| 0.547009
| 79
| 468
| 3.088608
| 0.316456
| 0.270492
| 0.393443
| 0.311475
| 0.586066
| 0.508197
| 0.180328
| 0
| 0
| 0
| 0
| 0.079179
| 0.271368
| 468
| 18
| 97
| 26
| 0.636364
| 0.418803
| 0
| 0
| 0
| 0.4
| 0.582278
| 0.388186
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0
| 0
| 0.4
| 0.4
| 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
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
d9b5ad4bc0631874eac65e6f59f4df8e287f51b9
| 384
|
py
|
Python
|
trive/apps/claim/admin.py
|
trivenews/central
|
932d20dc21b133d93c65e7fb8e857e908e98f2fb
|
[
"BSD-3-Clause"
] | null | null | null |
trive/apps/claim/admin.py
|
trivenews/central
|
932d20dc21b133d93c65e7fb8e857e908e98f2fb
|
[
"BSD-3-Clause"
] | null | null | null |
trive/apps/claim/admin.py
|
trivenews/central
|
932d20dc21b133d93c65e7fb8e857e908e98f2fb
|
[
"BSD-3-Clause"
] | null | null | null |
from django.contrib import admin
from .models import Article, Author, Publisher, Bounty
@admin.register(Author)
class AuthorAdmin(admin.ModelAdmin):
pass
@admin.register(Publisher)
class PublisherAdmin(admin.ModelAdmin):
pass
@admin.register(Article)
class ArticleAdmin(admin.ModelAdmin):
pass
@admin.register(Bounty)
class BountyAdmin(admin.ModelAdmin):
pass
| 16.695652
| 54
| 0.770833
| 44
| 384
| 6.727273
| 0.409091
| 0.175676
| 0.256757
| 0.243243
| 0.324324
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.132813
| 384
| 22
| 55
| 17.454545
| 0.888889
| 0
| 0
| 0.285714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.285714
| 0.142857
| 0
| 0.428571
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
d9c99a8ece738f2fbd532cf5b160898b41a98d47
| 12,378
|
py
|
Python
|
masp/shoebox_room_sim/compute_echograms.py
|
andresperezlopez/masp
|
c6385b6635b5e86233152ccfea2df15caee6acc7
|
[
"BSD-3-Clause"
] | 19
|
2020-06-07T10:58:11.000Z
|
2022-02-10T08:48:15.000Z
|
masp/shoebox_room_sim/compute_echograms.py
|
andresperezlopez/masp
|
c6385b6635b5e86233152ccfea2df15caee6acc7
|
[
"BSD-3-Clause"
] | null | null | null |
masp/shoebox_room_sim/compute_echograms.py
|
andresperezlopez/masp
|
c6385b6635b5e86233152ccfea2df15caee6acc7
|
[
"BSD-3-Clause"
] | 5
|
2020-06-29T07:12:03.000Z
|
2021-11-06T12:25:47.000Z
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# Copyright (c) 2019, Eurecat / UPF
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of the <organization> nor the
# names of its contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# @file compute_echograms.py
# @author Andrés Pérez-López
# @date 30/07/2019
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
import numpy as np
from masp.utils import C
from masp.validate_data_types import _validate_ndarray_2D, _validate_ndarray_1D, _validate_int
from .echogram import Echogram
from .image_source_method import ims_coreMtx
from .rec_module import rec_module_mic, rec_module_sh
from .absorption_module import apply_absorption
def compute_echograms_array(room, src, rec, abs_wall, limits):
"""
Compute the echogram response of a microphone array for a given acoustic scenario.
Parameters
----------
room : ndarray
Room dimensions in cartesian coordinates. Dimension = (3) [x, y, z].
src : ndarray
Source position in cartesian coordinates. Dimension = (nSrc, 3) [[x, y, z]].
rec : ndarray
Receiver position in cartesian coordinates. Dimension = (nRec, 3) [[x, y, z]].
abs_wall : ndarray
Wall absorption coefficients per band. Dimension = (nBands, 6)
limits : ndarray
Maximum echogram computation time per band. Dimension = (nBands)
Returns
-------
abs_echograms : ndarray, dtype = Echogram
Array with rendered echograms. Dimension = (nSrc, nRec, nBands)
Raises
-----
TypeError, ValueError: if method arguments mismatch in type, dimension or value.
Notes
-----
`src` and `rec` positions are specified from the left ground corner
of the room, using a left-handed coordinate system.
`room` refers to the wall dimensions.
Therefore, their values should be positive and smaller than room dimensions.
_____ _
| | |
| | |
x ^ | | l = r[0]
| | |
| | |
o----> -
y
|-----|
w = r[1]
`abs_wall` must have all values in the range [0,1].
`nBands` will be determined by the length of `abs_wall` first dimension.
TODO: expose type as parameter?, validate return
"""
nRec = rec.shape[0]
nSrc = src.shape[0]
nBands = abs_wall.shape[0]
_validate_ndarray_1D('room', room, size=C, positive=True)
_validate_ndarray_2D('src', src, shape1=C, positive=True)
_validate_ndarray_2D('rec', rec, shape1=C, positive=True)
_validate_ndarray_2D('abs_wall', abs_wall, shape1=2*C, positive=True)
_validate_ndarray_1D('limits', limits, positive=True, size=nBands)
# Limit the RIR by reflection order or by time-limit
type = 'maxTime'
echograms = np.empty((nSrc, nRec), dtype=Echogram)
# Compute echogram due to pure propagation (frequency-independent)
for ns in range(nSrc):
for nr in range(nRec):
print('Compute echogram: Source ' + str(ns) + ' - Receiver ' + str(nr))
# Compute echogram
echograms[ns, nr] = ims_coreMtx(room, src[ns,:], rec[nr,:], type, np.max(limits))
abs_echograms = np.empty((nSrc, nRec, nBands), dtype=Echogram)
# Apply boundary absorption
for ns in range(nSrc):
for nr in range(nRec):
print('Apply absorption: Source ' + str(ns) + ' - Receiver ' + str(nr))
# Compute echogram
abs_echograms[ns, nr] = apply_absorption(echograms[ns, nr], abs_wall, limits)
# return abs_echograms, echograms
return abs_echograms
def compute_echograms_mic(room, src, rec, abs_wall, limits, mic_specs):
"""
Compute the echogram response of individual microphones for a given acoustic scenario.
Parameters
----------
room : ndarray
Room dimensions in cartesian coordinates. Dimension = (3) [x, y, z].
src : ndarray
Source position in cartesian coordinates. Dimension = (nSrc, 3) [[x, y, z]].
rec : ndarray
Receiver position in cartesian coordinates. Dimension = (nRec, 3) [[x, y, z]].
abs_wall : ndarray
Wall absorption coefficients per band. Dimension = (nBands, 6)
limits : ndarray
Maximum echogram computation time per band. Dimension = (nBands)
mic_specs : ndarray
Microphone directions and directivity factor. Dimension = (nRec, 4)
Returns
-------
abs_echograms : ndarray, dtype = Echogram
Array with rendered echograms. Dimension = (nSrc, nRec, nBands)
Raises
-----
TypeError, ValueError: if method arguments mismatch in type, dimension or value.
Notes
-----
`src` and `rec` positions are specified from the left ground corner
of the room, using a left-handed coordinate system.
`room` refers to the wall dimensions.
Therefore, their values should be positive and smaller than room dimensions.
_____ _
| | |
| | |
x ^ | | l = r[0]
| | |
| | |
o----> -
y
|-----|
w = r[1]
`abs_wall` must have all values in the range [0,1].
`nBands` will be determined by the length of `abs_wall` first dimension.
Each row of `mic_specs` is expected to be described as [x, y, z, alpha],
with (x, y, z) begin the unit vector of the mic orientation.
`alpha` must be contained in the range [0(dipole), 1(omni)],
so that directivity is expressed as: d(theta) = a + (1-a)*cos(theta).
TODO: expose type as parameter?, validate return
"""
nRec = rec.shape[0]
nSrc = src.shape[0]
nBands = abs_wall.shape[0]
_validate_ndarray_1D('room', room, size=C, positive=True)
_validate_ndarray_2D('src', src, shape1=C, positive=True)
_validate_ndarray_2D('rec', rec, shape1=C, positive=True)
_validate_ndarray_2D('abs_wall', abs_wall, shape1=2*C, positive=True)
_validate_ndarray_1D('limits', limits, positive=True, size=nBands)
_validate_ndarray_2D('mic_specs', mic_specs, shape0=nRec, shape1=C+1)
# Limit the RIR by reflection order or by time-limit
type = 'maxTime'
# Compute echogram due to pure propagation (frequency-independent)
echograms = np.empty((nSrc, nRec), dtype=Echogram)
for ns in range(nSrc):
for nr in range(nRec):
print('Compute echogram: Source ' + str(ns) + ' - Receiver ' + str(nr))
# Compute echogram
echograms[ns, nr] = ims_coreMtx(room, src[ns,:], rec[nr,:], type, np.max(limits))
print('Apply receiver direcitivites')
rec_echograms = rec_module_mic(echograms, mic_specs)
abs_echograms = np.empty((nSrc, nRec, nBands), dtype=Echogram)
# Apply boundary absorption
for ns in range(nSrc):
for nr in range(nRec):
print('Apply absorption: Source ' + str(ns) + ' - Receiver ' + str(nr))
# Compute echogram
abs_echograms[ns, nr] = apply_absorption(rec_echograms[ns, nr], abs_wall, limits)
# return abs_echograms, rec_echograms, echograms
return abs_echograms
def compute_echograms_sh(room, src, rec, abs_wall, limits, sh_orders):
"""
Compute the echogram response of individual microphones for a given acoustic scenario,
in the spherical harmonic domain.
Parameters
----------
room : ndarray
Room dimensions in cartesian coordinates. Dimension = (3) [x, y, z].
src : ndarray
Source position in cartesian coordinates. Dimension = (nSrc, 3) [[x, y, z]].
rec : ndarray
Receiver position in cartesian coordinates. Dimension = (nRec, 3) [[x, y, z]].
abs_wall : ndarray
Wall absorption coefficients per band. Dimension = (nBands, 6)
limits : ndarray
Maximum echogram computation time per band. Dimension = (nBands)
sh_orders : int or ndarray, dtype = int
Spherical harmonic expansion order. Dimension = 1 or (nRec)
Returns
-------
abs_echograms : ndarray, dtype = Echogram
Array with rendered echograms. Dimension = (nSrc, nRec, nBands)
Raises
-----
TypeError, ValueError: if method arguments mismatch in type, dimension or value.
Notes
-----
`src` and `rec` positions are specified from the left ground corner
of the room, using a left-handed coordinate system.
`room` refers to the wall dimensions.
Therefore, their values should be positive and smaller than room dimensions.
_____ _
| | |
| | |
x ^ | | l = r[0]
| | |
| | |
o----> -
y
|-----|
w = r[1]
`abs_wall` must have all values in the range [0,1].
`nBands` will be determined by the length of `abs_wall` first dimension.
If `sh_orders` is an integer, the given order will be applied to all receivers.
'nRec' will be determined by the length of `rec` first dimension.
TODO: expose type as parameter?, validate return
"""
nRec = rec.shape[0]
nSrc = src.shape[0]
nBands = abs_wall.shape[0]
_validate_ndarray_1D('room', room, size=C, positive=True)
_validate_ndarray_2D('src', src, shape1=C, positive=True)
_validate_ndarray_2D('rec', rec, shape1=C, positive=True)
_validate_ndarray_2D('abs_wall', abs_wall, shape1=2*C, positive=True)
_validate_ndarray_1D('limits', limits, positive=True, size=nBands)
if isinstance(sh_orders, int):
_validate_int('sh_orders', sh_orders, positive=True)
sh_orders = sh_orders * np.ones(nRec, dtype=int)
else:
_validate_ndarray_1D('sh_orders', sh_orders, size=nRec, positive=True, dtype=int)
# Limit the RIR by reflection order or by time-limit
type = 'maxTime'
# Compute echogram due to pure propagation (frequency-independent)
echograms = np.empty((nSrc, nRec), dtype=Echogram)
for ns in range(nSrc):
for nr in range(nRec):
print('Compute echogram: Source ' + str(ns) + ' - Receiver ' + str(nr))
# Compute echogram
echograms[ns, nr] = ims_coreMtx(room, src[ns,:], rec[nr,:], type, np.max(limits))
print('Apply SH directivites')
rec_echograms = rec_module_sh(echograms, sh_orders)
abs_echograms = np.empty((nSrc, nRec, nBands), dtype=Echogram)
# Apply boundary absorption
for ns in range(nSrc):
for nr in range(nRec):
print ('Apply absorption: Source ' + str(ns) + ' - Receiver ' + str(nr))
# Compute echogram
abs_echograms[ns, nr] = apply_absorption(rec_echograms[ns, nr], abs_wall, limits)
# return abs_echograms, rec_echograms, echograms
return abs_echograms
| 38.802508
| 94
| 0.630473
| 1,551
| 12,378
| 4.921986
| 0.1902
| 0.022007
| 0.020435
| 0.03301
| 0.721116
| 0.711161
| 0.702122
| 0.693477
| 0.677757
| 0.671994
| 0
| 0.009211
| 0.263209
| 12,378
| 318
| 95
| 38.924528
| 0.827851
| 0.586201
| 0
| 0.7375
| 0
| 0
| 0.088843
| 0
| 0
| 0
| 0
| 0.009434
| 0
| 1
| 0.0375
| false
| 0
| 0.0875
| 0
| 0.1625
| 0.1
| 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
|
d9cbb1c5d33b4388be1d045889e79e1cc26a60a2
| 3,309
|
py
|
Python
|
cupy/array_api/_statistical_functions.py
|
prkhrsrvstv1/cupy
|
ea86c8225b575af9d2855fb77a306cf86fd098ea
|
[
"MIT"
] | null | null | null |
cupy/array_api/_statistical_functions.py
|
prkhrsrvstv1/cupy
|
ea86c8225b575af9d2855fb77a306cf86fd098ea
|
[
"MIT"
] | 54
|
2018-04-26T04:55:40.000Z
|
2022-03-15T05:26:47.000Z
|
cupy/array_api/_statistical_functions.py
|
prkhrsrvstv1/cupy
|
ea86c8225b575af9d2855fb77a306cf86fd098ea
|
[
"MIT"
] | null | null | null |
from __future__ import annotations
from ._dtypes import (
_floating_dtypes,
_numeric_dtypes,
)
from ._array_object import Array
from ._creation_functions import asarray
from ._dtypes import float32, float64
from typing import TYPE_CHECKING, Optional, Tuple, Union
if TYPE_CHECKING:
from ._typing import Dtype
import cupy as np
def max(
x: Array,
/,
*,
axis: Optional[Union[int, Tuple[int, ...]]] = None,
keepdims: bool = False,
) -> Array:
if x.dtype not in _numeric_dtypes:
raise TypeError("Only numeric dtypes are allowed in max")
return Array._new(np.max(x._array, axis=axis, keepdims=keepdims))
def mean(
x: Array,
/,
*,
axis: Optional[Union[int, Tuple[int, ...]]] = None,
keepdims: bool = False,
) -> Array:
if x.dtype not in _floating_dtypes:
raise TypeError("Only floating-point dtypes are allowed in mean")
return Array._new(np.mean(x._array, axis=axis, keepdims=keepdims))
def min(
x: Array,
/,
*,
axis: Optional[Union[int, Tuple[int, ...]]] = None,
keepdims: bool = False,
) -> Array:
if x.dtype not in _numeric_dtypes:
raise TypeError("Only numeric dtypes are allowed in min")
return Array._new(np.min(x._array, axis=axis, keepdims=keepdims))
def prod(
x: Array,
/,
*,
axis: Optional[Union[int, Tuple[int, ...]]] = None,
dtype: Optional[Dtype] = None,
keepdims: bool = False,
) -> Array:
if x.dtype not in _numeric_dtypes:
raise TypeError("Only numeric dtypes are allowed in prod")
# Note: sum() and prod() always upcast float32 to float64 for dtype=None
# We need to do so here before computing the product to avoid overflow
if dtype is None and x.dtype == float32:
x = asarray(x, dtype=float64)
return Array._new(np.prod(x._array, axis=axis, keepdims=keepdims))
def std(
x: Array,
/,
*,
axis: Optional[Union[int, Tuple[int, ...]]] = None,
correction: Union[int, float] = 0.0,
keepdims: bool = False,
) -> Array:
# Note: the keyword argument correction is different here
if x.dtype not in _floating_dtypes:
raise TypeError("Only floating-point dtypes are allowed in std")
return Array._new(np.std(x._array, axis=axis, ddof=correction, keepdims=keepdims))
def sum(
x: Array,
/,
*,
axis: Optional[Union[int, Tuple[int, ...]]] = None,
dtype: Optional[Dtype] = None,
keepdims: bool = False,
) -> Array:
if x.dtype not in _numeric_dtypes:
raise TypeError("Only numeric dtypes are allowed in sum")
# Note: sum() and prod() always upcast float32 to float64 for dtype=None
# We need to do so here before summing to avoid overflow
if dtype is None and x.dtype == float32:
x = asarray(x, dtype=float64)
return Array._new(np.sum(x._array, axis=axis, keepdims=keepdims))
def var(
x: Array,
/,
*,
axis: Optional[Union[int, Tuple[int, ...]]] = None,
correction: Union[int, float] = 0.0,
keepdims: bool = False,
) -> Array:
# Note: the keyword argument correction is different here
if x.dtype not in _floating_dtypes:
raise TypeError("Only floating-point dtypes are allowed in var")
return Array._new(np.var(x._array, axis=axis, ddof=correction, keepdims=keepdims))
| 28.773913
| 86
| 0.652765
| 456
| 3,309
| 4.638158
| 0.166667
| 0.039716
| 0.066194
| 0.059574
| 0.793853
| 0.793853
| 0.793853
| 0.715839
| 0.674232
| 0.674232
| 0
| 0.009382
| 0.226957
| 3,309
| 114
| 87
| 29.026316
| 0.817436
| 0.113932
| 0
| 0.633333
| 0
| 0
| 0.098803
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.077778
| false
| 0
| 0.088889
| 0
| 0.244444
| 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
|
d9ddf6a792504d22f5f24b078b35c33a5df74a90
| 34
|
py
|
Python
|
covid/data/countries/brazil.py
|
caiosba/covid-19
|
2a0f43f5004e7e39bd982eaa36185859cd9db88f
|
[
"MIT"
] | null | null | null |
covid/data/countries/brazil.py
|
caiosba/covid-19
|
2a0f43f5004e7e39bd982eaa36185859cd9db88f
|
[
"MIT"
] | null | null | null |
covid/data/countries/brazil.py
|
caiosba/covid-19
|
2a0f43f5004e7e39bd982eaa36185859cd9db88f
|
[
"MIT"
] | null | null | null |
"""
Gathers data from Brazil.
"""
| 8.5
| 25
| 0.617647
| 4
| 34
| 5.25
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.176471
| 34
| 3
| 26
| 11.333333
| 0.75
| 0.735294
| 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
|
d9e1eb2af27b171aab6f8c8200c9eba7dddd5cd8
| 218
|
py
|
Python
|
django_google_maps/tests/test_app/models.py
|
ernestom/django-google-maps
|
d415971901fd114019d0483f98a22aa7c897e8bf
|
[
"BSD-2-Clause"
] | 205
|
2015-01-18T21:03:08.000Z
|
2022-03-26T17:02:05.000Z
|
django_google_maps/tests/test_app/models.py
|
ernestom/django-google-maps
|
d415971901fd114019d0483f98a22aa7c897e8bf
|
[
"BSD-2-Clause"
] | 55
|
2015-05-06T18:36:41.000Z
|
2022-03-22T11:48:11.000Z
|
django_google_maps/tests/test_app/models.py
|
ernestom/django-google-maps
|
d415971901fd114019d0483f98a22aa7c897e8bf
|
[
"BSD-2-Clause"
] | 92
|
2015-02-16T20:01:31.000Z
|
2022-03-02T14:15:36.000Z
|
from django.db import models
from django_google_maps.fields import AddressField, GeoLocationField
class Person(models.Model):
address = AddressField(max_length=100)
geolocation = GeoLocationField(blank=True)
| 27.25
| 68
| 0.807339
| 26
| 218
| 6.653846
| 0.769231
| 0.115607
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.015707
| 0.123853
| 218
| 7
| 69
| 31.142857
| 0.890052
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 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
|
d9fd3bd02dd838086d80155149a05834e8d30863
| 1,184
|
py
|
Python
|
test/test_tags_api.py
|
p-fruck/python-contabo
|
c3abd362a0b90783118f36bec0e557bdbe5a8f2c
|
[
"Apache-2.0"
] | 2
|
2022-01-27T10:36:33.000Z
|
2022-03-09T14:21:12.000Z
|
test/test_tags_api.py
|
p-fruck/python-contabo
|
c3abd362a0b90783118f36bec0e557bdbe5a8f2c
|
[
"Apache-2.0"
] | 7
|
2022-01-13T10:44:19.000Z
|
2022-02-15T23:44:44.000Z
|
test/test_tags_api.py
|
p-fruck/python-contabo
|
c3abd362a0b90783118f36bec0e557bdbe5a8f2c
|
[
"Apache-2.0"
] | null | null | null |
"""
Contabo API
The version of the OpenAPI document: 1.0.0
Contact: support@contabo.com
Generated by: https://openapi-generator.tech
"""
import unittest
import pfruck_contabo
from pfruck_contabo.api.tags_api import TagsApi # noqa: E501
class TestTagsApi(unittest.TestCase):
"""TagsApi unit test stubs"""
def setUp(self):
self.api = TagsApi() # noqa: E501
def tearDown(self):
pass
def test_create_tag(self):
"""Test case for create_tag
Create a new tag # noqa: E501
"""
pass
def test_delete_tag(self):
"""Test case for delete_tag
Delete existing tag by id # noqa: E501
"""
pass
def test_retrieve_tag(self):
"""Test case for retrieve_tag
Get specific tag by id # noqa: E501
"""
pass
def test_retrieve_tag_list(self):
"""Test case for retrieve_tag_list
List tags # noqa: E501
"""
pass
def test_update_tag(self):
"""Test case for update_tag
Update specific tag by id # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()
| 18.5
| 61
| 0.587838
| 149
| 1,184
| 4.483221
| 0.355705
| 0.083832
| 0.082335
| 0.112275
| 0.378743
| 0.241018
| 0.163174
| 0.110778
| 0.110778
| 0.110778
| 0
| 0.029888
| 0.321791
| 1,184
| 63
| 62
| 18.793651
| 0.801993
| 0.412162
| 0
| 0.3
| 1
| 0
| 0.014388
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.35
| false
| 0.3
| 0.15
| 0
| 0.55
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
8a166b03fb67afae42e9b2c51136b585a0d44112
| 22
|
py
|
Python
|
pymtl3/version.py
|
jbrzozo24/pymtl3
|
50f1193453da6034be97dbc74041b83e76030a5f
|
[
"BSD-3-Clause"
] | null | null | null |
pymtl3/version.py
|
jbrzozo24/pymtl3
|
50f1193453da6034be97dbc74041b83e76030a5f
|
[
"BSD-3-Clause"
] | null | null | null |
pymtl3/version.py
|
jbrzozo24/pymtl3
|
50f1193453da6034be97dbc74041b83e76030a5f
|
[
"BSD-3-Clause"
] | null | null | null |
__version__ = "3.1.9"
| 11
| 21
| 0.636364
| 4
| 22
| 2.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.157895
| 0.136364
| 22
| 1
| 22
| 22
| 0.368421
| 0
| 0
| 0
| 0
| 0
| 0.227273
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
8a18a584a292332623744245dff1fc177fa78195
| 6,322
|
py
|
Python
|
lib/sqlalchemy/util/__init__.py
|
drecover/sqlalchemy
|
6206f0ff74e95c9339dc0f0e26caab55e9bcda45
|
[
"MIT"
] | null | null | null |
lib/sqlalchemy/util/__init__.py
|
drecover/sqlalchemy
|
6206f0ff74e95c9339dc0f0e26caab55e9bcda45
|
[
"MIT"
] | 1
|
2020-08-07T16:50:16.000Z
|
2020-08-07T16:50:16.000Z
|
lib/sqlalchemy/util/__init__.py
|
drecover/sqlalchemy
|
6206f0ff74e95c9339dc0f0e26caab55e9bcda45
|
[
"MIT"
] | null | null | null |
# util/__init__.py
# Copyright (C) 2005-2021 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: https://www.opensource.org/licenses/mit-license.php
from collections import defaultdict
from contextlib import contextmanager
from functools import partial
from functools import update_wrapper
from ._collections import coerce_generator_arg
from ._collections import coerce_to_immutabledict
from ._collections import collections_abc
from ._collections import column_dict
from ._collections import column_set
from ._collections import EMPTY_DICT
from ._collections import EMPTY_SET
from ._collections import FacadeDict
from ._collections import flatten_iterator
from ._collections import has_dupes
from ._collections import has_intersection
from ._collections import IdentitySet
from ._collections import ImmutableContainer
from ._collections import immutabledict
from ._collections import ImmutableProperties
from ._collections import LRUCache
from ._collections import ordered_column_set
from ._collections import OrderedDict
from ._collections import OrderedIdentitySet
from ._collections import OrderedProperties
from ._collections import OrderedSet
from ._collections import PopulateDict
from ._collections import Properties
from ._collections import ScopedRegistry
from ._collections import sort_dictionary
from ._collections import ThreadLocalRegistry
from ._collections import to_column_set
from ._collections import to_list
from ._collections import to_set
from ._collections import unique_list
from ._collections import UniqueAppender
from ._collections import update_copy
from ._collections import WeakPopulateDict
from ._collections import WeakSequence
from ._preloaded import preload_module
from ._preloaded import preloaded
from .compat import ABC
from .compat import arm
from .compat import b
from .compat import b64decode
from .compat import b64encode
from .compat import binary_type
from .compat import binary_types
from .compat import byte_buffer
from .compat import callable
from .compat import cmp
from .compat import cpython
from .compat import dataclass_fields
from .compat import decode_backslashreplace
from .compat import dottedgetter
from .compat import has_refcount_gc
from .compat import inspect_getfullargspec
from .compat import int_types
from .compat import iterbytes
from .compat import itertools_filter
from .compat import itertools_filterfalse
from .compat import local_dataclass_fields
from .compat import namedtuple
from .compat import next
from .compat import nullcontext
from .compat import osx
from .compat import parse_qsl
from .compat import perf_counter
from .compat import pickle
from .compat import print_
from .compat import py37
from .compat import py38
from .compat import py39
from .compat import py3k
from .compat import pypy
from .compat import quote_plus
from .compat import raise_
from .compat import raise_from_cause
from .compat import reduce
from .compat import reraise
from .compat import string_types
from .compat import StringIO
from .compat import text_type
from .compat import threading
from .compat import timezone
from .compat import TYPE_CHECKING
from .compat import u
from .compat import ue
from .compat import unquote
from .compat import unquote_plus
from .compat import win32
from .compat import with_metaclass
from .compat import zip_longest
from .concurrency import asyncio
from .concurrency import await_fallback
from .concurrency import await_only
from .concurrency import greenlet_spawn
from .concurrency import is_exit_exception
from .deprecations import deprecated
from .deprecations import deprecated_20
from .deprecations import deprecated_20_cls
from .deprecations import deprecated_cls
from .deprecations import deprecated_params
from .deprecations import inject_docstring_text
from .deprecations import moved_20
from .deprecations import SQLALCHEMY_WARN_20
from .deprecations import warn_deprecated
from .deprecations import warn_deprecated_20
from .langhelpers import add_parameter_text
from .langhelpers import as_interface
from .langhelpers import asbool
from .langhelpers import asint
from .langhelpers import assert_arg_type
from .langhelpers import attrsetter
from .langhelpers import bool_or_str
from .langhelpers import chop_traceback
from .langhelpers import class_hierarchy
from .langhelpers import classproperty
from .langhelpers import clsname_as_plain_name
from .langhelpers import coerce_kw_type
from .langhelpers import constructor_copy
from .langhelpers import constructor_key
from .langhelpers import counter
from .langhelpers import create_proxy_methods
from .langhelpers import decode_slice
from .langhelpers import decorator
from .langhelpers import dictlike_iteritems
from .langhelpers import duck_type_collection
from .langhelpers import ellipses_string
from .langhelpers import EnsureKWArgType
from .langhelpers import format_argspec_init
from .langhelpers import format_argspec_plus
from .langhelpers import generic_repr
from .langhelpers import get_callable_argspec
from .langhelpers import get_cls_kwargs
from .langhelpers import get_func_kwargs
from .langhelpers import getargspec_init
from .langhelpers import has_compiled_ext
from .langhelpers import HasMemoized
from .langhelpers import hybridmethod
from .langhelpers import hybridproperty
from .langhelpers import iterate_attributes
from .langhelpers import map_bits
from .langhelpers import md5_hex
from .langhelpers import memoized_instancemethod
from .langhelpers import memoized_property
from .langhelpers import MemoizedSlots
from .langhelpers import method_is_overridden
from .langhelpers import methods_equivalent
from .langhelpers import monkeypatch_proxied_specials
from .langhelpers import NoneType
from .langhelpers import only_once
from .langhelpers import PluginLoader
from .langhelpers import portable_instancemethod
from .langhelpers import quoted_token_parser
from .langhelpers import safe_reraise
from .langhelpers import set_creation_order
from .langhelpers import string_or_unprintable
from .langhelpers import symbol
from .langhelpers import unbound_method_to_callable
from .langhelpers import walk_subclasses
from .langhelpers import warn
from .langhelpers import warn_exception
from .langhelpers import warn_limited
from .langhelpers import wrap_callable
| 36.333333
| 70
| 0.861753
| 820
| 6,322
| 6.436585
| 0.291463
| 0.161993
| 0.22679
| 0.022736
| 0.090186
| 0
| 0
| 0
| 0
| 0
| 0
| 0.005683
| 0.109301
| 6,322
| 173
| 71
| 36.543353
| 0.931628
| 0.035432
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006098
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0.012195
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
8a1bed213bc5b42d723dc53331ab8f57fa898b83
| 4,221
|
py
|
Python
|
src/sage/tests/books/computational-mathematics-with-sagemath/numbertheory_doctest.py
|
LaisRast/sage
|
5fb2a6ea44400e469caee82748cf863ca0c5f724
|
[
"BSL-1.0"
] | null | null | null |
src/sage/tests/books/computational-mathematics-with-sagemath/numbertheory_doctest.py
|
LaisRast/sage
|
5fb2a6ea44400e469caee82748cf863ca0c5f724
|
[
"BSL-1.0"
] | null | null | null |
src/sage/tests/books/computational-mathematics-with-sagemath/numbertheory_doctest.py
|
LaisRast/sage
|
5fb2a6ea44400e469caee82748cf863ca0c5f724
|
[
"BSL-1.0"
] | null | null | null |
## -*- encoding: utf-8 -*-
"""
This file (./numbertheory_doctest.sage) was *autogenerated* from ./numbertheory.tex,
with sagetex.sty version 2011/05/27 v2.3.1.
It contains the contents of all the sageexample environments from this file.
You should be able to doctest this file with:
sage -t ./numbertheory_doctest.sage
It is always safe to delete this file; it is not used in typesetting your
document.
Sage example in ./numbertheory.tex, line 107::
sage: a = IntegerModRing(15)(3); b = IntegerModRing(17)(3); a, b
(3, 3)
sage: a == b
False
Sage example in ./numbertheory.tex, line 135::
sage: R = a.parent(); R
Ring of integers modulo 15
sage: R.characteristic()
15
Sage example in ./numbertheory.tex, line 157::
sage: a + a, a - 17, a * a + 1, a^3
(6, 1, 10, 12)
Sage example in ./numbertheory.tex, line 199::
sage: z = a.lift(); y = ZZ(a); y, type(y), y == z
(3, <... 'sage.rings.integer.Integer'>, True)
Sage example in ./numbertheory.tex, line 228::
sage: [Mod(x,15).additive_order() for x in range(0,15)]
[1, 15, 15, 5, 15, 3, 5, 15, 15, 5, 3, 15, 5, 15, 15]
Sage example in ./numbertheory.tex, line 261::
sage: [[x, Mod(x,15).multiplicative_order()]
....: for x in range(1,15) if gcd(x,15) == 1]
[[1, 1], [2, 4], [4, 2], [7, 4], [8, 4], [11, 2], [13, 4], [14, 2]]
Sage example in ./numbertheory.tex, line 276::
sage: p = 10^20 + 39; mod(2,p).multiplicative_order()
50000000000000000019
sage: mod(3,p).multiplicative_order()
100000000000000000038
Sage example in ./numbertheory.tex, line 367::
sage: R = GF(17); [1/R(x) for x in range(1,17)]
[1, 9, 6, 13, 7, 3, 5, 15, 2, 12, 14, 10, 4, 11, 8, 16]
Sage example in ./numbertheory.tex, line 403::
sage: R = GF(9,name='x'); R
Finite Field in x of size 3^2
Sage example in ./numbertheory.tex, line 409::
sage: R.polynomial()
x^2 + 2*x + 2
Sage example in ./numbertheory.tex, line 423::
sage: Set([r for r in R])
{0, 1, 2, x, x + 1, x + 2, 2*x, 2*x + 1, 2*x + 2}
Sage example in ./numbertheory.tex, line 429::
sage: Q.<x> = PolynomialRing(GF(3))
sage: R2 = GF(9, name='x', modulus=x^2+1); R2
Finite Field in x of size 3^2
Sage example in ./numbertheory.tex, line 463::
sage: p = R(x+1); R2(p)
Traceback (most recent call last):
...
TypeError: unable to coerce from a finite field other than the prime subfield
Sage example in ./numbertheory.tex, line 548::
sage: rational_reconstruction(411,1000)
-13/17
sage: rational_reconstruction(409,1000)
Traceback (most recent call last):
...
ArithmeticError: rational reconstruction of 409 (mod 1000) does not exist
Sage example in ./numbertheory.tex, line 571::
sage: def harmonic(n):
....: return add([1/x for x in range(1,n+1)])
Sage example in ./numbertheory.tex, line 593::
sage: def harmonic_mod(n,m):
....: return add([1/x % m for x in range(1,n+1)])
sage: def harmonic2(n):
....: q = lcm(range(1,n+1))
....: pmax = RR(q*(log(n)+1))
....: m = ZZ(2*pmax^2)
....: m = integer_ceil(m / q) * q + 1
....: a = harmonic_mod(n,m)
....: return rational_reconstruction(a,m)
Sage example in ./numbertheory.tex, line 707::
sage: a = 2; b = 3; m = 5; n = 7; lambda0 = (b-a)/m % n; a + lambda0 * m
17
sage: crt(2,3,5,7)
17
Sage example in ./numbertheory.tex, line 726::
sage: def harmonic3(n):
....: q = lcm(range(1,n+1))
....: pmax = RR(q*(log(n)+1))
....: B = ZZ(2*pmax^2)
....: a = 0; m = 1; p = 2^63
....: while m < B:
....: p = next_prime(p)
....: b = harmonic_mod(n,p)
....: a = crt(a,b,m,p)
....: m = m*p
....: return rational_reconstruction(a,m)
sage: harmonic(100) == harmonic3(100)
True
Sage example in ./numbertheory.tex, line 755::
sage: crt(15,1,30,4)
45
sage: crt(15,2,30,4)
Traceback (most recent call last):
...
ValueError: no solution to crt problem since gcd(30,4) does not divide 15-2
Sage example in ./numbertheory.tex, line 1008::
sage: [560 % (x-1) for x in [3,11,17]]
[0, 0, 0]
Sage example in ./numbertheory.tex, line 1226::
sage: p = 10^10+19; a = mod(17,p); a.log(2)
6954104378
sage: mod(2,p)^6954104378
17
"""
| 26.71519
| 84
| 0.601279
| 727
| 4,221
| 3.470426
| 0.242091
| 0.130797
| 0.108205
| 0.208086
| 0.415775
| 0.355133
| 0.186286
| 0.104637
| 0.090369
| 0.062624
| 0
| 0.118947
| 0.217247
| 4,221
| 157
| 85
| 26.88535
| 0.644673
| 0.99692
| 0
| null | 1
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
8a3ba60d11680a6bb7d38264a799bfc8dcfff38b
| 170
|
py
|
Python
|
working-library/background/GoodsES/urls.py
|
FredCof/Fresh-supermarket-Online
|
25c1cb28f5b5dc1f85e53ee7de5b055de438c491
|
[
"Apache-2.0"
] | 2
|
2021-03-12T16:35:27.000Z
|
2021-03-12T16:35:34.000Z
|
working-library/background/GoodsES/urls.py
|
FredCof/Fresh-supermarket-Online
|
25c1cb28f5b5dc1f85e53ee7de5b055de438c491
|
[
"Apache-2.0"
] | 4
|
2021-03-19T13:16:08.000Z
|
2021-06-09T19:26:37.000Z
|
working-library/background/GoodsES/urls.py
|
FredCof/Fresh-supermarket-Online
|
25c1cb28f5b5dc1f85e53ee7de5b055de438c491
|
[
"Apache-2.0"
] | null | null | null |
from django.conf.urls import url
from . import views
urlpatterns = [
url('api/product/search', views.GoodsSearch),
url('api/product/history', views.GetHistory)
]
| 24.285714
| 49
| 0.723529
| 22
| 170
| 5.590909
| 0.636364
| 0.097561
| 0.211382
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.141176
| 170
| 7
| 50
| 24.285714
| 0.842466
| 0
| 0
| 0
| 0
| 0
| 0.216374
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
8a5b5804c218baf53cc0da4f9751a3a297ff7517
| 52
|
py
|
Python
|
examples/test.py
|
srivarv/configuration
|
37ab4edcab3bf1a0b870800d0e9146ea3ead432e
|
[
"MIT"
] | null | null | null |
examples/test.py
|
srivarv/configuration
|
37ab4edcab3bf1a0b870800d0e9146ea3ead432e
|
[
"MIT"
] | null | null | null |
examples/test.py
|
srivarv/configuration
|
37ab4edcab3bf1a0b870800d0e9146ea3ead432e
|
[
"MIT"
] | null | null | null |
# To run a script, Shift + Ctrl + B
print("Hello!")
| 17.333333
| 35
| 0.615385
| 9
| 52
| 3.555556
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.211538
| 52
| 2
| 36
| 26
| 0.780488
| 0.634615
| 0
| 0
| 0
| 0
| 0.352941
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
8a7235539dedd8304100b1815dafd104293e6973
| 2,452
|
py
|
Python
|
src/rubrix/server/security/auth_provider/local/users/service.py
|
sugatoray/rubrix
|
de58410b24e7742bf7294c69daa5d2514b2c9968
|
[
"Apache-2.0"
] | 888
|
2021-03-26T20:39:21.000Z
|
2022-03-31T18:09:37.000Z
|
src/rubrix/server/security/auth_provider/local/users/service.py
|
sugatoray/rubrix
|
de58410b24e7742bf7294c69daa5d2514b2c9968
|
[
"Apache-2.0"
] | 805
|
2021-04-29T09:24:44.000Z
|
2022-03-31T18:29:34.000Z
|
src/rubrix/server/security/auth_provider/local/users/service.py
|
sugatoray/rubrix
|
de58410b24e7742bf7294c69daa5d2514b2c9968
|
[
"Apache-2.0"
] | 72
|
2021-04-30T08:53:36.000Z
|
2022-03-31T10:48:33.000Z
|
# coding=utf-8
# Copyright 2021-present, the Recognai S.L. team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from fastapi import Depends
from passlib.context import CryptContext
from typing import Optional
from .dao import UsersDAO, create_users_dao
from .model import User
class UsersService:
"""Users management service"""
__PWD_CONTEXT__ = CryptContext(schemes=["bcrypt"], deprecated="auto")
def __init__(self, users: UsersDAO):
self.__dao__ = users
def authenticate_user(self, username: str, password: str) -> Optional[User]:
"""
Authenticates an user given username/password
Parameters
----------
username:
The user name
password:
The password
Returns
-------
An user instance if authentication success. None otherwise
"""
user = self.__dao__.get_user(username)
if user and self.__verify_password__(password, user.hashed_password):
return user
def get_user(self, username) -> Optional[User]:
return self.__dao__.get_user(username)
async def find_user_by_api_key(self, api_key: str) -> Optional[User]:
return await self.__dao__.get_user_by_api_key(api_key)
def __verify_password__(self, password: str, hashed_password: str) -> bool:
return self.__PWD_CONTEXT__.verify(password, hashed_password)
def __get_password_hash__(self, password: str):
return self.__PWD_CONTEXT__.hash(password)
_instance: Optional[UsersService] = None
def create_users_service(dao: UsersDAO = Depends(create_users_dao)) -> UsersService:
"""
Creates an users service instance
Parameters
----------
dao:
The users data access object
Returns
-------
An service instance
"""
global _instance
if _instance is None:
_instance = UsersService(users=dao)
return _instance
| 28.511628
| 84
| 0.681077
| 303
| 2,452
| 5.250825
| 0.419142
| 0.037712
| 0.018856
| 0.026398
| 0.027656
| 0
| 0
| 0
| 0
| 0
| 0
| 0.004777
| 0.231648
| 2,452
| 85
| 85
| 28.847059
| 0.839703
| 0.391109
| 0
| 0
| 0
| 0
| 0.007491
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.222222
| false
| 0.259259
| 0.185185
| 0.111111
| 0.703704
| 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
|
8a979c8f1ed0ea25877842b09aedb732a583b8d6
| 107
|
py
|
Python
|
GitiPack/__init__.py
|
ljy-002/GitiPack
|
69db6e1561febebabc526407ffe6bcc674ff71e9
|
[
"MIT"
] | 1
|
2021-01-29T00:17:18.000Z
|
2021-01-29T00:17:18.000Z
|
build/lib/GitiPack/__init__.py
|
ljy-002/GitiPack
|
69db6e1561febebabc526407ffe6bcc674ff71e9
|
[
"MIT"
] | null | null | null |
build/lib/GitiPack/__init__.py
|
ljy-002/GitiPack
|
69db6e1561febebabc526407ffe6bcc674ff71e9
|
[
"MIT"
] | null | null | null |
from .tig import *
# 调用文件
# import tig
# tig.ctig()
# tig.webg()
# a = tig.ctime()
# print(a)
| 9.727273
| 19
| 0.514019
| 15
| 107
| 3.666667
| 0.6
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.299065
| 107
| 10
| 20
| 10.7
| 0.733333
| 0.579439
| 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
| 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
|
8a9fe2ab872b72c1e483a939ea8ae5cf053e15b6
| 354
|
py
|
Python
|
pdb2pqr-1.9.0/contrib/ZSI-2.1-a1/ZSI/twisted/__init__.py
|
Acpharis/protein_prep
|
8cc2f0caedefd5a3fdaa764ed013c2660a4df1b8
|
[
"BSD-3-Clause"
] | 8
|
2021-12-14T21:30:01.000Z
|
2022-02-14T11:30:03.000Z
|
pdb2pqr-1.9.0/contrib/ZSI-2.1-a1/ZSI/twisted/__init__.py
|
Acpharis/protein_prep
|
8cc2f0caedefd5a3fdaa764ed013c2660a4df1b8
|
[
"BSD-3-Clause"
] | null | null | null |
pdb2pqr-1.9.0/contrib/ZSI-2.1-a1/ZSI/twisted/__init__.py
|
Acpharis/protein_prep
|
8cc2f0caedefd5a3fdaa764ed013c2660a4df1b8
|
[
"BSD-3-Clause"
] | 2
|
2016-02-04T00:51:15.000Z
|
2020-07-24T00:22:44.000Z
|
############################################################################
# Joshua R. Boverhof, LBNL
# See Copyright for copyright notice!
# $Id: __init__.py 1423 2007-11-01 20:33:33Z boverhof $
###########################################################################
__all__=['interfaces', 'client', 'WSresource', 'WSsecurity']
import interfaces
| 39.333333
| 76
| 0.415254
| 27
| 354
| 5.148148
| 0.888889
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.055215
| 0.079096
| 354
| 8
| 77
| 44.25
| 0.371166
| 0.322034
| 0
| 0
| 0
| 0
| 0.423529
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
8abcb624a1af360bb16f9ec18639b5d8506a305e
| 17,226
|
py
|
Python
|
generated/nitclk/nitclk/unit_tests/test_nitclk.py
|
kurtp-ni/nimi-python
|
4f0bccce67a69ca9f46a8ab9b07dc26ca0049729
|
[
"MIT"
] | 88
|
2017-08-03T18:07:27.000Z
|
2022-01-28T13:55:06.000Z
|
generated/nitclk/nitclk/unit_tests/test_nitclk.py
|
kurtp-ni/nimi-python
|
4f0bccce67a69ca9f46a8ab9b07dc26ca0049729
|
[
"MIT"
] | 1,310
|
2017-07-11T18:42:44.000Z
|
2022-03-28T21:03:57.000Z
|
generated/nitclk/nitclk/unit_tests/test_nitclk.py
|
kurtp-ni/nimi-python
|
4f0bccce67a69ca9f46a8ab9b07dc26ca0049729
|
[
"MIT"
] | 70
|
2017-07-25T14:52:53.000Z
|
2022-03-31T14:14:23.000Z
|
import _matchers
import _mock_helper
import hightime
import nitclk
from mock import patch
SESSION_NUM_FOR_TEST = 42
single_session = [SESSION_NUM_FOR_TEST]
single_session_reference = [nitclk.SessionReference(x) for x in single_session]
multiple_sessions = [SESSION_NUM_FOR_TEST, SESSION_NUM_FOR_TEST * 10, SESSION_NUM_FOR_TEST * 100, SESSION_NUM_FOR_TEST + 1]
multiple_session_references = [nitclk.SessionReference(x) for x in multiple_sessions]
class NitclkSupportingDriverSession(object):
'''Session objects for drivers that support NI-TClk are expected to have a property of type nitclk.SessionReference called tclk
This is why we're creating this fake driver class and adding the tclk property.
'''
def __init__(self, session_number):
self.tclk = nitclk.SessionReference(session_number)
class TestNitclkApi(object):
def setup_method(self, method):
self.patched_library_patcher = patch('nitclk._library.Library', autospec=True)
self.patched_library = self.patched_library_patcher.start()
self.patched_library_singleton_get = patch('nitclk.session._library_singleton.get', return_value=self.patched_library)
self.patched_library_singleton_get.start()
self.side_effects_helper = _mock_helper.SideEffectsHelper()
self.side_effects_helper.set_side_effects_and_return_values(self.patched_library)
def teardown_method(self, method):
self.patched_library_singleton_get.stop()
self.patched_library_patcher.stop()
# API Tests
def test_initialize_one_session(self):
self.patched_library.niTClk_Initiate.side_effect = self.side_effects_helper.niTClk_Initiate
nitclk.initiate(single_session_reference)
self.patched_library.niTClk_Initiate.assert_called_once_with(_matchers.ViUInt32Matcher(len(single_session)), _matchers.ViSessionBufferMatcher(single_session))
return
def test_initialize_multiple_sessions(self):
self.patched_library.niTClk_Initiate.side_effect = self.side_effects_helper.niTClk_Initiate
nitclk.initiate(multiple_session_references)
self.patched_library.niTClk_Initiate.assert_called_once_with(_matchers.ViUInt32Matcher(len(multiple_sessions)), _matchers.ViSessionBufferMatcher(multiple_sessions))
return
def test_configure_for_homogeneous_triggers(self):
self.patched_library.niTClk_ConfigureForHomogeneousTriggers.side_effect = self.side_effects_helper.niTClk_ConfigureForHomogeneousTriggers
nitclk.configure_for_homogeneous_triggers(multiple_session_references)
self.patched_library.niTClk_ConfigureForHomogeneousTriggers.assert_called_once_with(_matchers.ViUInt32Matcher(len(multiple_sessions)), _matchers.ViSessionBufferMatcher(multiple_sessions))
return
def test_finish_sync_pulse_sender_synchronize(self):
min_time = 0.042
self.patched_library.niTClk_FinishSyncPulseSenderSynchronize.side_effect = self.side_effects_helper.niTClk_FinishSyncPulseSenderSynchronize
nitclk.finish_sync_pulse_sender_synchronize(multiple_session_references, min_time)
self.patched_library.niTClk_FinishSyncPulseSenderSynchronize.assert_called_once_with(_matchers.ViUInt32Matcher(len(multiple_sessions)), _matchers.ViSessionBufferMatcher(multiple_sessions), _matchers.ViReal64Matcher(min_time))
return
def test_is_done(self):
expected_result = True
self.side_effects_helper['IsDone']['done'] = expected_result
self.patched_library.niTClk_IsDone.side_effect = self.side_effects_helper.niTClk_IsDone
actual_result = nitclk.is_done(multiple_session_references)
assert actual_result == expected_result
self.patched_library.niTClk_IsDone.assert_called_once_with(_matchers.ViUInt32Matcher(len(multiple_sessions)), _matchers.ViSessionBufferMatcher(multiple_sessions), _matchers.ViBooleanPointerMatcher())
return
def test_setup_for_sync_pulse_sender_synchronize(self):
min_time = 0.042
self.patched_library.niTClk_SetupForSyncPulseSenderSynchronize.side_effect = self.side_effects_helper.niTClk_SetupForSyncPulseSenderSynchronize
nitclk.setup_for_sync_pulse_sender_synchronize(multiple_session_references, min_time)
self.patched_library.niTClk_SetupForSyncPulseSenderSynchronize.assert_called_once_with(_matchers.ViUInt32Matcher(len(multiple_sessions)), _matchers.ViSessionBufferMatcher(multiple_sessions), _matchers.ViReal64Matcher(min_time))
return
def test_synchronize(self):
min_time = 0.042
self.patched_library.niTClk_Synchronize.side_effect = self.side_effects_helper.niTClk_Synchronize
nitclk.synchronize(multiple_session_references, min_time)
self.patched_library.niTClk_Synchronize.assert_called_once_with(_matchers.ViUInt32Matcher(len(multiple_sessions)), _matchers.ViSessionBufferMatcher(multiple_sessions), _matchers.ViReal64Matcher(min_time))
return
def test_synchronize_timedelta(self):
min_time = hightime.timedelta(seconds=0.042)
self.patched_library.niTClk_Synchronize.side_effect = self.side_effects_helper.niTClk_Synchronize
nitclk.synchronize(multiple_session_references, min_time)
self.patched_library.niTClk_Synchronize.assert_called_once_with(_matchers.ViUInt32Matcher(len(multiple_sessions)), _matchers.ViSessionBufferMatcher(multiple_sessions), _matchers.ViReal64Matcher(min_time.total_seconds()))
return
def test_synchronize_to_sync_pulse_sender(self):
min_time = 0.042
self.patched_library.niTClk_SynchronizeToSyncPulseSender.side_effect = self.side_effects_helper.niTClk_SynchronizeToSyncPulseSender
nitclk.synchronize_to_sync_pulse_sender(multiple_session_references, min_time)
self.patched_library.niTClk_SynchronizeToSyncPulseSender.assert_called_once_with(_matchers.ViUInt32Matcher(len(multiple_sessions)), _matchers.ViSessionBufferMatcher(multiple_sessions), _matchers.ViReal64Matcher(min_time))
return
def test_wait_until_done(self):
min_time = 4.2
self.patched_library.niTClk_WaitUntilDone.side_effect = self.side_effects_helper.niTClk_WaitUntilDone
nitclk.wait_until_done(multiple_session_references, min_time)
self.patched_library.niTClk_WaitUntilDone.assert_called_once_with(_matchers.ViUInt32Matcher(len(multiple_sessions)), _matchers.ViSessionBufferMatcher(multiple_sessions), _matchers.ViReal64Matcher(min_time))
return
# API error handling
def test_api_error(self):
error_string = 'Error'
self.patched_library.niTClk_Synchronize.side_effect = self.side_effects_helper.niTClk_Synchronize
self.side_effects_helper['Synchronize']['return'] = -1
self.patched_library.niTClk_GetExtendedErrorInfo.side_effect = self.side_effects_helper.niTClk_GetExtendedErrorInfo
self.side_effects_helper['GetExtendedErrorInfo']['errorString'] = error_string
try:
nitclk.synchronize(multiple_session_references, 0.42)
except nitclk.Error as e:
assert e.code == -1
assert e.description == error_string
def test_api_get_error_description_fails(self):
self.patched_library.niTClk_Synchronize.side_effect = self.side_effects_helper.niTClk_Synchronize
self.side_effects_helper['Synchronize']['return'] = -1
self.patched_library.niTClk_GetExtendedErrorInfo.side_effect = self.side_effects_helper.niTClk_GetExtendedErrorInfo
self.side_effects_helper['GetExtendedErrorInfo']['return'] = -2
try:
nitclk.synchronize(multiple_session_references, 0.42)
except nitclk.Error as e:
assert e.code == -1 # we want the original error code from getting the attribute.
assert e.description == "Failed to retrieve error description."
# SessionReference error handling
def test_session_reference_error(self):
session = nitclk.SessionReference(SESSION_NUM_FOR_TEST)
error_string = 'Error'
self.patched_library.niTClk_GetAttributeViReal64.side_effect = self.side_effects_helper.niTClk_GetAttributeViReal64
self.side_effects_helper['GetAttributeViReal64']['return'] = -1
self.patched_library.niTClk_GetExtendedErrorInfo.side_effect = self.side_effects_helper.niTClk_GetExtendedErrorInfo
self.side_effects_helper['GetExtendedErrorInfo']['errorString'] = error_string
try:
test = session.sample_clock_delay
print(test) # Get rid of flake8 F841
assert False
except nitclk.Error as e:
assert e.code == -1
assert e.description == error_string
def test_session_reference_get_error_description_fails(self):
session = nitclk.SessionReference(SESSION_NUM_FOR_TEST)
self.patched_library.niTClk_GetAttributeViReal64.side_effect = self.side_effects_helper.niTClk_GetAttributeViReal64
self.side_effects_helper['GetAttributeViReal64']['return'] = -1
self.patched_library.niTClk_GetExtendedErrorInfo.side_effect = self.side_effects_helper.niTClk_GetExtendedErrorInfo
self.side_effects_helper['GetExtendedErrorInfo']['return'] = -2
try:
test = session.sample_clock_delay
print(test) # Get rid of flake8 F841
assert False
except nitclk.Error as e:
assert e.code == -1 # we want the original error code from getting the attribute.
assert e.description == "Failed to retrieve error description."
# Session Reference
def test_set_vi_real64(self):
session = nitclk.SessionReference(SESSION_NUM_FOR_TEST)
self.patched_library.niTClk_SetAttributeViReal64.side_effect = self.side_effects_helper.niTClk_SetAttributeViReal64
attribute_id = 8
test_number = 4.2
session.tclk_actual_period = test_number
self.patched_library.niTClk_SetAttributeViReal64.assert_called_once_with(_matchers.ViSessionMatcher(SESSION_NUM_FOR_TEST), _matchers.ViStringMatcher(''), _matchers.ViAttrMatcher(attribute_id), _matchers.ViReal64Matcher(test_number))
def test_get_vi_real64(self):
session = nitclk.SessionReference(SESSION_NUM_FOR_TEST)
self.patched_library.niTClk_GetAttributeViReal64.side_effect = self.side_effects_helper.niTClk_GetAttributeViReal64
attribute_id = 8
test_number = 4.2
self.side_effects_helper['GetAttributeViReal64']['value'] = test_number
attr_val = session.tclk_actual_period
assert(attr_val == test_number)
self.patched_library.niTClk_GetAttributeViReal64.assert_called_once_with(_matchers.ViSessionMatcher(SESSION_NUM_FOR_TEST), _matchers.ViStringMatcher(''), _matchers.ViAttrMatcher(attribute_id), _matchers.ViReal64PointerMatcher())
def test_set_timedelta_as_vi_real64(self):
session = nitclk.SessionReference(SESSION_NUM_FOR_TEST)
self.patched_library.niTClk_SetAttributeViReal64.side_effect = self.side_effects_helper.niTClk_SetAttributeViReal64
attribute_id = 11
test_number = 4.2
session.sample_clock_delay = test_number
self.patched_library.niTClk_SetAttributeViReal64.assert_called_once_with(_matchers.ViSessionMatcher(SESSION_NUM_FOR_TEST), _matchers.ViStringMatcher(''), _matchers.ViAttrMatcher(attribute_id), _matchers.ViReal64Matcher(test_number))
def test_set_timedelta_as_timedelta(self):
session = nitclk.SessionReference(SESSION_NUM_FOR_TEST)
self.patched_library.niTClk_SetAttributeViReal64.side_effect = self.side_effects_helper.niTClk_SetAttributeViReal64
attribute_id = 11
test_number = 4.2
session.sample_clock_delay = hightime.timedelta(seconds=test_number)
self.patched_library.niTClk_SetAttributeViReal64.assert_called_once_with(_matchers.ViSessionMatcher(SESSION_NUM_FOR_TEST), _matchers.ViStringMatcher(''), _matchers.ViAttrMatcher(attribute_id), _matchers.ViReal64Matcher(test_number))
def test_get_timedelta(self):
session = nitclk.SessionReference(SESSION_NUM_FOR_TEST)
self.patched_library.niTClk_GetAttributeViReal64.side_effect = self.side_effects_helper.niTClk_GetAttributeViReal64
attribute_id = 11
test_number = 4.2
self.side_effects_helper['GetAttributeViReal64']['value'] = test_number
attr_timedelta = session.sample_clock_delay
assert(attr_timedelta.total_seconds() == test_number)
self.patched_library.niTClk_GetAttributeViReal64.assert_called_once_with(_matchers.ViSessionMatcher(SESSION_NUM_FOR_TEST), _matchers.ViStringMatcher(''), _matchers.ViAttrMatcher(attribute_id), _matchers.ViReal64PointerMatcher())
def test_set_vi_string(self):
session = nitclk.SessionReference(SESSION_NUM_FOR_TEST)
self.patched_library.niTClk_SetAttributeViString.side_effect = self.side_effects_helper.niTClk_SetAttributeViString
attribute_id = 13
test_string = "The answer to the ultimate question is 42"
session.sync_pulse_sender_sync_pulse_source = test_string
self.patched_library.niTClk_SetAttributeViString.assert_called_once_with(_matchers.ViSessionMatcher(SESSION_NUM_FOR_TEST), _matchers.ViStringMatcher(''), _matchers.ViAttrMatcher(attribute_id), _matchers.ViStringMatcher(test_string))
def test_get_vi_string(self):
session = nitclk.SessionReference(SESSION_NUM_FOR_TEST)
self.patched_library.niTClk_GetAttributeViString.side_effect = self.side_effects_helper.niTClk_GetAttributeViString
attribute_id = 13
test_string = "The answer to the ultimate question is 42"
self.side_effects_helper['GetAttributeViString']['value'] = test_string
attr_string = session.sync_pulse_sender_sync_pulse_source
assert(attr_string == test_string)
from mock import call
calls = [call(_matchers.ViSessionMatcher(SESSION_NUM_FOR_TEST), _matchers.ViStringMatcher(''), _matchers.ViAttrMatcher(attribute_id), _matchers.ViInt32Matcher(0), None), call(_matchers.ViSessionMatcher(SESSION_NUM_FOR_TEST), _matchers.ViStringMatcher(''), _matchers.ViAttrMatcher(attribute_id), _matchers.ViInt32Matcher(len(test_string)), _matchers.ViCharBufferMatcher(len(test_string)))]
self.patched_library.niTClk_GetAttributeViString.assert_has_calls(calls)
assert self.patched_library.niTClk_GetAttributeViString.call_count == 2
# All ViInt32 attributes are really sessions references
def test_set_vi_session_with_int(self):
session = nitclk.SessionReference(SESSION_NUM_FOR_TEST)
self.patched_library.niTClk_SetAttributeViSession.side_effect = self.side_effects_helper.niTClk_SetAttributeViSession
other_session_number = 43
# We do not support using just the number
try:
session.start_trigger_master_session = other_session_number
assert False
except TypeError:
pass
def test_set_vi_session_with_session_reference(self):
session = nitclk.SessionReference(SESSION_NUM_FOR_TEST)
self.patched_library.niTClk_SetAttributeViSession.side_effect = self.side_effects_helper.niTClk_SetAttributeViSession
attribute_id = 3
other_session_number = 43
other_session_reference = nitclk.SessionReference(other_session_number)
session.start_trigger_master_session = other_session_reference
self.patched_library.niTClk_SetAttributeViSession.assert_called_once_with(_matchers.ViSessionMatcher(SESSION_NUM_FOR_TEST), _matchers.ViStringMatcher(''), _matchers.ViAttrMatcher(attribute_id), _matchers.ViSessionMatcher(other_session_number))
def test_set_vi_session_with_session(self):
session = nitclk.SessionReference(SESSION_NUM_FOR_TEST)
self.patched_library.niTClk_SetAttributeViSession.side_effect = self.side_effects_helper.niTClk_SetAttributeViSession
attribute_id = 3
other_session_number = 43
other_session = NitclkSupportingDriverSession(other_session_number)
session.start_trigger_master_session = other_session
self.patched_library.niTClk_SetAttributeViSession.assert_called_once_with(_matchers.ViSessionMatcher(SESSION_NUM_FOR_TEST), _matchers.ViStringMatcher(''), _matchers.ViAttrMatcher(attribute_id), _matchers.ViSessionMatcher(other_session_number))
def test_get_tclk_session_reference(self):
session = nitclk.SessionReference(SESSION_NUM_FOR_TEST)
self.patched_library.niTClk_GetAttributeViSession.side_effect = self.side_effects_helper.niTClk_GetAttributeViSession
attribute_id = 3
other_session_number = 43
self.side_effects_helper['GetAttributeViSession']['value'] = other_session_number
attr_session_reference = session.start_trigger_master_session
assert type(attr_session_reference) is nitclk.SessionReference
assert(attr_session_reference._get_tclk_session_reference() == other_session_number)
self.patched_library.niTClk_GetAttributeViSession.assert_called_once_with(_matchers.ViSessionMatcher(SESSION_NUM_FOR_TEST), _matchers.ViStringMatcher(''), _matchers.ViAttrMatcher(attribute_id), _matchers.ViSessionPointerMatcher())
| 61.741935
| 396
| 0.785208
| 1,938
| 17,226
| 6.552632
| 0.099071
| 0.051106
| 0.083629
| 0.094496
| 0.803213
| 0.743208
| 0.717222
| 0.657926
| 0.653989
| 0.642098
| 0
| 0.013103
| 0.144955
| 17,226
| 278
| 397
| 61.964029
| 0.849073
| 0.031638
| 0
| 0.513393
| 0
| 0
| 0.032246
| 0.004864
| 0
| 0
| 0
| 0
| 0.169643
| 1
| 0.125
| false
| 0.004464
| 0.026786
| 0
| 0.205357
| 0.008929
| 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
|
8abd915c15a56d056a304496c224bb0998c03b81
| 860
|
py
|
Python
|
Sec_12_modulos_pacotes/f_dunder_main_dunder_name.py
|
PauloAlexSilva/Python
|
690913cdcfd8bde52d9ddd15e3c838e6aef27730
|
[
"MIT"
] | null | null | null |
Sec_12_modulos_pacotes/f_dunder_main_dunder_name.py
|
PauloAlexSilva/Python
|
690913cdcfd8bde52d9ddd15e3c838e6aef27730
|
[
"MIT"
] | null | null | null |
Sec_12_modulos_pacotes/f_dunder_main_dunder_name.py
|
PauloAlexSilva/Python
|
690913cdcfd8bde52d9ddd15e3c838e6aef27730
|
[
"MIT"
] | null | null | null |
"""
Dunder Name e Dunder Main
Dunder -> Double Under
Dunder Name -> --name__
Dunder Main -> __main__
Em Python, são utilizados dunder para criar funções, atributos, propriedades e etc
utilizando Double Under para não gerar conflito com os nomes desses elemementos
na programação.
# Na linguagem C, temos um programa da seguinte forma:
int main(){
return 0;
}
# Na linguagem Java, temos um programa da seguinte forma:
public static void main(String[] args){
}
# Em Python, se executarmos um módulo Python diretamente na linha de comando, internamente
o Python atribuirá a variável __name__ o valor __main__ indicando que este módulo é o
módulo de execução principal.
Main -> Significa principal.
from Sec_8_funcoes.c_funcoes_com_parametro import soma_impares
print(soma_impares([1, 2, 3, 4, 5, 6]))
"""
import primeiro
import segundo
| 17.916667
| 90
| 0.75814
| 127
| 860
| 4.968504
| 0.637795
| 0.031696
| 0.047544
| 0.053883
| 0.095087
| 0.095087
| 0
| 0
| 0
| 0
| 0
| 0.011331
| 0.17907
| 860
| 47
| 91
| 18.297872
| 0.882436
| 0.947674
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
76e21e96f3f93a316d9cda3a7a3c9ffef5507f66
| 946
|
py
|
Python
|
v1.0.0.test/toontown/uberdog/DistributedInGameNewsMgrAI.py
|
TTOFFLINE-LEAK/ttoffline
|
bb0e91704a755d34983e94288d50288e46b68380
|
[
"MIT"
] | 4
|
2019-07-01T15:46:43.000Z
|
2021-07-23T16:26:48.000Z
|
v1.0.0.test/toontown/uberdog/DistributedInGameNewsMgrAI.py
|
TTOFFLINE-LEAK/ttoffline
|
bb0e91704a755d34983e94288d50288e46b68380
|
[
"MIT"
] | 1
|
2019-06-29T03:40:05.000Z
|
2021-06-13T01:15:16.000Z
|
v1.0.0.test/toontown/uberdog/DistributedInGameNewsMgrAI.py
|
TTOFFLINE-LEAK/ttoffline
|
bb0e91704a755d34983e94288d50288e46b68380
|
[
"MIT"
] | 4
|
2019-07-28T21:18:46.000Z
|
2021-02-25T06:37:25.000Z
|
from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectGlobalAI import DistributedObjectGlobalAI
class DistributedInGameNewsMgrAI(DistributedObjectGlobalAI):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedInGameNewsMgrAI')
def __init__(self, air):
DistributedObjectGlobalAI.__init__(self, air)
self.latestIssueStr = ''
def setLatestIssueStr(self, latestIssueStr):
self.latestIssueStr = latestIssueStr
def d_setLatestIssueStr(self, latestIssueStr):
self.sendUpdate('setLatestIssueStr', [latestIssueStr])
def b_setLatestIssueStr(self, latestIssueStr):
self.setLatestIssueStr(latestIssueStr)
self.d_setLatestIssueStr(latestIssueStr)
def getLatestIssueStr(self):
return self.latestIssueStr
def inGameNewsMgrAIStartingUp(self, todo0, todo1):
pass
def newIssueUDtoAI(self, todo0):
pass
| 33.785714
| 86
| 0.760042
| 74
| 946
| 9.567568
| 0.364865
| 0.152542
| 0.148305
| 0.165254
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.003822
| 0.17019
| 946
| 28
| 87
| 33.785714
| 0.898089
| 0
| 0
| 0.1
| 0
| 0
| 0.045407
| 0.027455
| 0
| 0
| 0
| 0
| 0
| 1
| 0.35
| false
| 0.1
| 0.1
| 0.05
| 0.6
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
76f47635faec427194e2fe551c63b76a2c50419d
| 215
|
py
|
Python
|
dataset/__init__.py
|
climberwb/bert-pli
|
0e6eda7a23b7502c86eab4c0d889fad1bbb57155
|
[
"MIT"
] | 5
|
2020-12-24T01:46:40.000Z
|
2022-03-18T19:15:10.000Z
|
dataset/__init__.py
|
climberwb/bert-pli
|
0e6eda7a23b7502c86eab4c0d889fad1bbb57155
|
[
"MIT"
] | 1
|
2021-04-05T14:27:24.000Z
|
2021-04-05T14:27:24.000Z
|
dataset/__init__.py
|
climberwb/bert-pli
|
0e6eda7a23b7502c86eab4c0d889fad1bbb57155
|
[
"MIT"
] | 4
|
2020-12-28T09:20:13.000Z
|
2021-12-10T13:33:21.000Z
|
from .nlp.JsonFromFiles import JsonFromFilesDataset
from .others.FilenameOnly import FilenameOnlyDataset
dataset_list = {
"JsonFromFiles": JsonFromFilesDataset,
"FilenameOnly": FilenameOnlyDataset
}
| 26.875
| 53
| 0.786047
| 16
| 215
| 10.5
| 0.625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.148837
| 215
| 7
| 54
| 30.714286
| 0.918033
| 0
| 0
| 0
| 0
| 0
| 0.120192
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
0a1c1b0531df040e93d427f9b3b1fa17fe835748
| 97
|
py
|
Python
|
PlacesStats/apps.py
|
gordiig/Un_RSOI_Stats
|
e8c5e22f2d6e7eef70f7fb7dbd7d4e66f0ca27fa
|
[
"MIT"
] | null | null | null |
PlacesStats/apps.py
|
gordiig/Un_RSOI_Stats
|
e8c5e22f2d6e7eef70f7fb7dbd7d4e66f0ca27fa
|
[
"MIT"
] | 3
|
2021-03-19T01:19:57.000Z
|
2021-04-08T19:55:38.000Z
|
PlacesStats/apps.py
|
GordiigPinny/StatsService
|
e8c5e22f2d6e7eef70f7fb7dbd7d4e66f0ca27fa
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class PlacesstatsConfig(AppConfig):
name = 'PlacesStats'
| 16.166667
| 35
| 0.773196
| 10
| 97
| 7.5
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.154639
| 97
| 5
| 36
| 19.4
| 0.914634
| 0
| 0
| 0
| 0
| 0
| 0.113402
| 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
|
0a42619162b66fad33e90156adfed34f288c2d30
| 93
|
py
|
Python
|
ChoCoTeX_app/apps.py
|
DamienMinenna/ChoCoTeX
|
01c9d486b78e3f0850ca7ed575b0b3d4ea3182ea
|
[
"MIT"
] | 1
|
2021-03-07T21:56:41.000Z
|
2021-03-07T21:56:41.000Z
|
ChoCoTeX_app/apps.py
|
DamienMinenna/ChoCoTeX
|
01c9d486b78e3f0850ca7ed575b0b3d4ea3182ea
|
[
"MIT"
] | 1
|
2021-03-07T21:26:05.000Z
|
2021-03-07T21:26:05.000Z
|
ChoCoTeX_app/apps.py
|
DamienMinenna/ChoCoTeX
|
01c9d486b78e3f0850ca7ed575b0b3d4ea3182ea
|
[
"MIT"
] | 1
|
2021-03-08T16:23:36.000Z
|
2021-03-08T16:23:36.000Z
|
from django.apps import AppConfig
class AppgtxConfig(AppConfig):
name = 'ChoCoTeX_app'
| 15.5
| 33
| 0.763441
| 11
| 93
| 6.363636
| 0.909091
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.16129
| 93
| 5
| 34
| 18.6
| 0.897436
| 0
| 0
| 0
| 0
| 0
| 0.129032
| 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
|
0a696fbf4459dfd372ab3929e0f1cb349f250a62
| 116
|
py
|
Python
|
sql_assurance/cli/__init__.py
|
sql-assurance/sql-assurance
|
de1f00aba53ac292a01eb194fef2dc4b177a02d5
|
[
"MIT"
] | 4
|
2017-02-02T08:57:25.000Z
|
2020-04-06T15:21:20.000Z
|
sql_assurance/cli/__init__.py
|
ssola/sql-assurance
|
de1f00aba53ac292a01eb194fef2dc4b177a02d5
|
[
"MIT"
] | 1
|
2021-11-15T17:46:57.000Z
|
2021-11-15T17:46:57.000Z
|
sql_assurance/cli/__init__.py
|
sql-assurance/sql-assurance
|
de1f00aba53ac292a01eb194fef2dc4b177a02d5
|
[
"MIT"
] | null | null | null |
from sql_assurance.main import SQLAssurance
def main():
sql_assurance = SQLAssurance()
sql_assurance.run()
| 19.333333
| 43
| 0.75
| 14
| 116
| 6
| 0.571429
| 0.428571
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.163793
| 116
| 6
| 44
| 19.333333
| 0.865979
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
0a6c064c6826b66154ff23dac0cb3556fd30f0bd
| 223
|
py
|
Python
|
src/python_project_scaffold/console.py
|
SteveRutledge/python_project_scaffold
|
d931806c4b7e8686dac2f7de0fe365aa1c75b40d
|
[
"MIT"
] | null | null | null |
src/python_project_scaffold/console.py
|
SteveRutledge/python_project_scaffold
|
d931806c4b7e8686dac2f7de0fe365aa1c75b40d
|
[
"MIT"
] | null | null | null |
src/python_project_scaffold/console.py
|
SteveRutledge/python_project_scaffold
|
d931806c4b7e8686dac2f7de0fe365aa1c75b40d
|
[
"MIT"
] | null | null | null |
# src/python_project_scaffold/console.py
import click
from . import __version__
@click.command()
@click.version_option(version=__version__)
def main():
"""The Python Project Scaffold"""
click.echo("Hulo wurld!")
| 18.583333
| 42
| 0.73991
| 28
| 223
| 5.5
| 0.642857
| 0.168831
| 0.272727
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.130045
| 223
| 11
| 43
| 20.272727
| 0.793814
| 0.300448
| 0
| 0
| 0
| 0
| 0.073826
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| true
| 0
| 0.333333
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
6a7d6b4f146984ff812a0766a04318ce0b56ed84
| 1,691
|
py
|
Python
|
src/fbcrawler/localStorage.py
|
MatthewWong68/SocialMediaDataCrawler
|
d8bd3cbf20a8ba328b60779821761a16866ac0bb
|
[
"MIT"
] | null | null | null |
src/fbcrawler/localStorage.py
|
MatthewWong68/SocialMediaDataCrawler
|
d8bd3cbf20a8ba328b60779821761a16866ac0bb
|
[
"MIT"
] | null | null | null |
src/fbcrawler/localStorage.py
|
MatthewWong68/SocialMediaDataCrawler
|
d8bd3cbf20a8ba328b60779821761a16866ac0bb
|
[
"MIT"
] | null | null | null |
class localStorage:
def __init__(self, driver) :
self.driver = driver
def __len__(self):
return self.driver.execute_script("return window.localStorage.length;")
def items(self) :
return self.driver.execute_script( \
"var ls = window.localStorage, items = {}; " \
"for (var i = 0, k; i < ls.length; ++i) " \
" items[k = ls.key(i)] = ls.getItem(k); " \
"return items; ")
def keys(self) :
return self.driver.execute_script( \
"var ls = window.localStorage, keys = []; " \
"for (var i = 0; i < ls.length; ++i) " \
" keys[i] = ls.key(i); " \
"return keys; ")
def get(self, key):
return self.driver.execute_script("return window.localStorage.getItem(arguments[0]);", key)
def set(self, key, value):
self.driver.execute_script("window.localStorage.setItem(arguments[0], arguments[1]);", key, value)
def has(self, key):
return key in self.keys()
def remove(self, key):
self.driver.execute_script("window.localStorage.removeItem(arguments[0]);", key)
def clear(self):
self.driver.execute_script("window.localStorage.clear();")
def __getitem__(self, key) :
value = self.get(key)
if value is None :
raise KeyError(key)
return value
def __setitem__(self, key, value):
self.set(key, value)
def __contains__(self, key):
return key in self.keys()
def __iter__(self):
return self.items().__iter__()
def __repr__(self):
return self.items().__str__()
| 31.314815
| 107
| 0.55825
| 197
| 1,691
| 4.573604
| 0.213198
| 0.099889
| 0.132075
| 0.17869
| 0.447281
| 0.447281
| 0.306326
| 0.306326
| 0.124306
| 0.124306
| 0
| 0.005089
| 0.302779
| 1,691
| 54
| 108
| 31.314815
| 0.759118
| 0
| 0
| 0.1
| 0
| 0
| 0.280659
| 0.111653
| 0
| 0
| 0
| 0
| 0
| 1
| 0.35
| false
| 0
| 0
| 0.2
| 0.6
| 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
|
6a8c008dbfe1d972bec8d35d5c13d45642225107
| 487
|
py
|
Python
|
fdk_client/application/models/OrderDiscountRuleBucket.py
|
kavish-d/fdk-client-python
|
a1023eb530473322cb52e095fc4ceb226c1e6037
|
[
"MIT"
] | null | null | null |
fdk_client/application/models/OrderDiscountRuleBucket.py
|
kavish-d/fdk-client-python
|
a1023eb530473322cb52e095fc4ceb226c1e6037
|
[
"MIT"
] | null | null | null |
fdk_client/application/models/OrderDiscountRuleBucket.py
|
kavish-d/fdk-client-python
|
a1023eb530473322cb52e095fc4ceb226c1e6037
|
[
"MIT"
] | null | null | null |
"""Application Models."""
from marshmallow import fields, Schema
from marshmallow.validate import OneOf
from ..enums import *
from ..models.BaseSchema import BaseSchema
class OrderDiscountRuleBucket(BaseSchema):
# Rewards swagger.json
high = fields.Float(required=False)
low = fields.Float(required=False)
max = fields.Float(required=False)
value = fields.Float(required=False)
value_type = fields.Str(required=False)
| 14.323529
| 43
| 0.685832
| 52
| 487
| 6.403846
| 0.480769
| 0.195195
| 0.228228
| 0.288288
| 0.174174
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.221766
| 487
| 33
| 44
| 14.757576
| 0.878628
| 0.084189
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
6a97ae6dd32e9152c81cc6679a42cfc710e9f0ef
| 9,660
|
py
|
Python
|
Tools/python/processes/SM_Leptonic.py
|
areinsvo/PandaCore
|
bbe0977f5596b3b4c9a06878b03992b6c013f85f
|
[
"MIT"
] | null | null | null |
Tools/python/processes/SM_Leptonic.py
|
areinsvo/PandaCore
|
bbe0977f5596b3b4c9a06878b03992b6c013f85f
|
[
"MIT"
] | null | null | null |
Tools/python/processes/SM_Leptonic.py
|
areinsvo/PandaCore
|
bbe0977f5596b3b4c9a06878b03992b6c013f85f
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
'''@package docstring
Just a giant list of processes and properties
'''
processes = {
'DY1JetsToLL_M-10to50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8':('DY1JetsToLL_M-10to50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8','MC',729.726349),
'DY2JetsToLL_M-10to50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8':('DY2JetsToLL_M-10to50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8','MC',387.472359),
'DY3JetsToLL_M-10to50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8':('DY3JetsToLL_M-10to50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8','MC',95.033555),
'DY4JetsToLL_M-10to50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8':('DY4JetsToLL_M-10to50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8','MC',36.698502),
'DY1JetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8':('DY1JetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8','MC',1012.296845),
'DY2JetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8':('DY2JetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8','MC',334.717838),
'DY3JetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8':('DY3JetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8','MC',102.462800),
'DY4JetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8':('DY4JetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8','MC',54.481360),
'DYJetsToLL_Zpt-0To50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8' :('DYJetsToLL_Zpt-0To50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8','MC' ,5512.4400),
'DYJetsToLL_Pt-50To100_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8' :('DYJetsToLL_Pt-50To100_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8','MC' , 374.6800),
'DYJetsToLL_Pt-100To250_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8':('DYJetsToLL_Pt-100To250_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8','MC', 86.5200),
'DYJetsToLL_Pt-250To400_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8':('DYJetsToLL_Pt-250To400_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8','MC', 3.3247),
'DYJetsToLL_Pt-400To650_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8':('DYJetsToLL_Pt-400To650_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8','MC', 0.4491),
'DYJetsToLL_Pt-650ToInf_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8':('DYJetsToLL_Pt-650ToInf_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8','MC', 0.0422),
'DYJetsToTauTau_ForcedMuEleDecay_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8':('DYJetsToTauTau_ForcedMuEleDecay_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8','MC',2008.4*(0.1739+0.1782)*(0.1739+0.1782)),
'DYJetsToLL_M-10to50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8':('DYJetsToLL_M-10to50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8','MC',2008.4*3*3.78),
'DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8':('DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8','MC',2008.4*3),
'DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8':('DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8','MC',2008.4*3),
'DYJetsToLL_Zpt-100to200_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8':('DYJetsToLL_Zpt-100to200_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8','MC',69.586),
'DYJetsToLL_Zpt-200toInf_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8':('DYJetsToLL_Zpt-200toInf_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8','MC',8.186),
'ZToMuMu_NNPDF30_13TeV-powheg_M_50_120':('ZToMuMu_NNPDF30_13TeV-powheg_M_50_120','MC',1975),
'ZToEE_NNPDF30_13TeV-powheg_M_50_120':('ZToEE_NNPDF30_13TeV-powheg_M_50_120','MC',1975),
'ZToMuMu_NNPDF30_13TeV-powheg_M_120_200':('ZToMuMu_NNPDF30_13TeV-powheg_M_120_200','MC',19.32),
'ZToEE_NNPDF30_13TeV-powheg_M_120_200':('ZToEE_NNPDF30_13TeV-powheg_M_120_200','MC',19.32),
'tZq_ll_4f_13TeV-amcatnlo-pythia8':('tZq_ll_4f_13TeV-amcatnlo-pythia8','MC',0.0758),
'tZq_nunu_4f_13TeV-amcatnlo-pythia8_TuneCUETP8M1':('tZq_nunu_4f_13TeV-amcatnlo-pythia8_TuneCUETP8M1','MC',0.1379),
'ZZTo2L2Nu_13TeV_powheg_pythia8':('ZZTo2L2Nu_13TeV_powheg_pythia8','MC',0.564),
'ZZTo2L2Q_13TeV_amcatnloFXFX_madspin_pythia8':('ZZTo2L2Q_13TeV_amcatnloFXFX_madspin_pythia8','MC',3.220*1.1),
'ZZTo4L_13TeV_powheg_pythia8':('ZZTo4L_13TeV_powheg_pythia8','MC',1.256),
'GluGluToContinToZZTo2e2mu_13TeV_MCFM701_pythia8':('GluGluToContinToZZTo2e2mu_13TeV_MCFM701_pythia8','MC',0.003194*2.3),
'GluGluToContinToZZTo2e2tau_13TeV_MCFM701_pythia8':('GluGluToContinToZZTo2e2tau_13TeV_MCFM701_pythia8','MC',0.003194*2.3),
'GluGluToContinToZZTo2mu2tau_13TeV_MCFM701_pythia8':('GluGluToContinToZZTo2mu2tau_13TeV_MCFM701_pythia8','MC',0.003194*2.3),
'GluGluToContinToZZTo4e_13TeV_MCFM701_pythia8':('GluGluToContinToZZTo4e_13TeV_MCFM701_pythia8','MC',0.001586*2.3),
'GluGluToContinToZZTo4mu_13TeV_MCFM701_pythia8':('GluGluToContinToZZTo4mu_13TeV_MCFM701_pythia8','MC',0.001586*2.3),
'GluGluToContinToZZTo4tau_13TeV_MCFM701_pythia8':('GluGluToContinToZZTo4tau_13TeV_MCFM701_pythia8','MC',0.001586*2.3),
'GluGluToContinToZZTo2e2nu_13TeV_MCFM701_pythia8':('GluGluToContinToZZTo2e2nu_13TeV_MCFM701_pythia8','MC',0.001720*2.3),
'GluGluToContinToZZTo2mu2nu_13TeV_MCFM701_pythia8':('GluGluToContinToZZTo2mu2nu_13TeV_MCFM701_pythia8','MC',0.001720*2.3),
'GluGluHToZZTo4L_M125_13TeV_powheg2_JHUgenV6_pythia8':('GluGluHToZZTo4L_M125_13TeV_powheg2_JHUgenV6_pythia8','MC',48.580*0.0264*0.101*0.101),
'VBF_HToZZTo4L_M125_13TeV_powheg2_JHUgenV6_pythia8':('VBF_HToZZTo4L_M125_13TeV_powheg2_JHUgenV6_pythia8','MC',3.7820*0.0264*0.101*0.101),
'GluGluHToWWTo2L2Nu_M125_13TeV_powheg_JHUgen_pythia8':('GluGluHToWWTo2L2Nu_M125_13TeV_powheg_JHUgen_pythia8','MC',48.580*0.2150*0.1086*0.1086*9),
'VBFHToWWTo2L2Nu_M125_13TeV_powheg_JHUgenv628_pythia8':('VBFHToWWTo2L2Nu_M125_13TeV_powheg_JHUgenv628_pythia8','MC',3.7820*0.2150*0.1086*0.1086*9),
'GluGluHToTauTau_M125_13TeV_powheg_pythia8':('GluGluHToTauTau_M125_13TeV_powheg_pythia8','MC',48.580*0.0632),
'VBFHToTauTau_M125_13TeV_powheg_pythia8':('VBFHToTauTau_M125_13TeV_powheg_pythia8','MC',3.7820*0.0632),
'ttHToNonbb_M125_TuneCUETP8M2_ttHtranche3_13TeV-powheg-pythia8':('ttHToNonbb_M125_TuneCUETP8M2_ttHtranche3_13TeV-powheg-pythia8','MC',0.5071*(1-0.577)),
'VHToNonbb_M125_13TeV_amcatnloFXFX_madspin_pythia8':('VHToNonbb_M125_13TeV_amcatnloFXFX_madspin_pythia8','MC',(0.8839+0.8400+0.5328)*(1-0.577)),
'WWW_4F_TuneCUETP8M1_13TeV-amcatnlo-pythia8':('WWW_4F_TuneCUETP8M1_13TeV-amcatnlo-pythia8','MC',0.2086),
'WWZ_TuneCUETP8M1_13TeV-amcatnlo-pythia8':('WWZ_TuneCUETP8M1_13TeV-amcatnlo-pythia8','MC',0.16510),
'WZZ_TuneCUETP8M1_13TeV-amcatnlo-pythia8':('WZZ_TuneCUETP8M1_13TeV-amcatnlo-pythia8','MC',0.05565),
'ZZZ_TuneCUETP8M1_13TeV-amcatnlo-pythia8':('ZZZ_TuneCUETP8M1_13TeV-amcatnlo-pythia8','MC',0.01398),
'WWG_TuneCUETP8M1_13TeV-amcatnlo-pythia8':('WWG_TuneCUETP8M1_13TeV-amcatnlo-pythia8','MC',0.2147)
,
'WZTo1L1Nu2Q_13TeV_amcatnloFXFX_madspin_pythia8':('WZTo1L1Nu2Q_13TeV_amcatnloFXFX_madspin_pythia8','MC',10.71*1.109),
'WZTo1L3Nu_13TeV_amcatnloFXFX_madspin_pythia8':('WZTo1L3Nu_13TeV_amcatnloFXFX_madspin_pythia8','MC',3.033*1.109),
'WZTo2L2Q_13TeV_amcatnloFXFX_madspin_pythia8':('WZTo2L2Q_13TeV_amcatnloFXFX_madspin_pythia8','MC',5.595*1.109),
'WZTo3LNu_TuneCUETP8M1_13TeV-powheg-pythia8':('WZTo3LNu_TuneCUETP8M1_13TeV-powheg-pythia8','MC',4.42965*1.109),
'WWTo2L2Nu_13TeV-powheg':('WWTo2L2Nu_13TeV-powheg','MC',(118.7-3.974)*0.1086*0.1086*9),
'WWTo2L2Nu_DoubleScattering_13TeV-pythia8':('WWTo2L2Nu_DoubleScattering_13TeV-pythia8','MC',0.1729),
'GluGluWWTo2L2Nu_MCFM_13TeV':('GluGluWWTo2L2Nu_MCFM_13TeV','MC',3.974*0.1086*0.1086*9*1.4),
'WpWpJJ_EWK-QCD_TuneCUETP8M1_13TeV-madgraph-pythia8':('WpWpJJ_EWK-QCD_TuneCUETP8M1_13TeV-madgraph-pythia8','MC',0.0538980),
'WpWpJJ_EWK_TuneCUETP8M1_13TeV-madgraph-pythia8':('WpWpJJ_EWK_TuneCUETP8M1_13TeV-madgraph-pythia8','MC',0.0269642),
'WpWpJJ_QCD_TuneCUETP8M1_13TeV-madgraph-pythia8':('WpWpJJ_QCD_TuneCUETP8M1_13TeV-madgraph-pythia8','MC',0.0261515),
'TTGJets_TuneCUETP8M1_13TeV-amcatnloFXFX-madspin-pythia8':('TTGJets_TuneCUETP8M1_13TeV-amcatnloFXFX-madspin-pythia8','MC',1.444*3.2),
'TTZToLLNuNu_M-10_TuneCUETP8M1_13TeV-amcatnlo-pythia8':('TTZToLLNuNu_M-10_TuneCUETP8M1_13TeV-amcatnlo-pythia8','MC',0.2529),
'TTZToQQ_TuneCUETP8M1_13TeV-amcatnlo-pythia8':('TTZToQQ_TuneCUETP8M1_13TeV-amcatnlo-pythia8','MC',0.5297),
'TTWJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-madspin-pythia8':('TTWJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-madspin-pythia8','MC',0.2043),
'TTWJetsToQQ_TuneCUETP8M1_13TeV-amcatnloFXFX-madspin-pythia8':('TTWJetsToQQ_TuneCUETP8M1_13TeV-amcatnloFXFX-madspin-pythia8','MC',0.4062),
'TTTo2L2Nu_TuneCUETP8M2_ttHtranche3_13TeV-powheg-pythia8':('TTTo2L2Nu_TuneCUETP8M2_ttHtranche3_13TeV-powheg-pythia8','MC',831.76*0.1086*0.1086*9),
'ST_tW_antitop_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1':('ST_tW_antitop_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1','MC',35.6),
'ST_tW_top_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1':('ST_tW_top_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1','MC',35.6),
'WGstarToLNuEE_012Jets_13TeV-madgraph':('WGstarToLNuEE_012Jets_13TeV-madgraph','MC',3.526),
'WGstarToLNuMuMu_012Jets_13TeV-madgraph':('WGstarToLNuMuMu_012Jets_13TeV-madgraph','MC',2.793),
'WGToLNuG_TuneCUETP8M1_13TeV-madgraphMLM-pythia8':('WGToLNuG_TuneCUETP8M1_13TeV-madgraphMLM-pythia8','MC',489.0),
'ZGTo2LG_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8':('ZGTo2LG_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8','MC',123.9*1.06),
'TT_TuneCUETP8M2T4_13TeV-powheg-pythia8':('TT_TuneCUETP8M2T4_13TeV-powheg-pythia8','MC',831.76),
'WJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8':('WJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8','MC',20508.9*3),
'DarkPhoton_ZH_powheg_M-125':('DarkPhoton_ZH_powheg_M-125','MC',0.8839*0.101*0.10),
}
| 105
| 208
| 0.813561
| 1,227
| 9,660
| 6.010595
| 0.176854
| 0.170576
| 0.03661
| 0.12339
| 0.814644
| 0.661966
| 0.488
| 0.150373
| 0.08461
| 0
| 0
| 0.182006
| 0.04617
| 9,660
| 91
| 209
| 106.153846
| 0.618407
| 0.008799
| 0
| 0
| 0
| 0
| 0.774457
| 0.758779
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
6ab434c02dff494666af7ba40a43bb9397a98930
| 152
|
py
|
Python
|
0x03-python-data_structures/dev/5-main.py
|
johncoleman83/bootcampschool-higher_level_programming
|
a83c3b7092cfe893c87e495f8d8eec9228c9b808
|
[
"MIT"
] | null | null | null |
0x03-python-data_structures/dev/5-main.py
|
johncoleman83/bootcampschool-higher_level_programming
|
a83c3b7092cfe893c87e495f8d8eec9228c9b808
|
[
"MIT"
] | null | null | null |
0x03-python-data_structures/dev/5-main.py
|
johncoleman83/bootcampschool-higher_level_programming
|
a83c3b7092cfe893c87e495f8d8eec9228c9b808
|
[
"MIT"
] | 1
|
2020-09-25T17:54:36.000Z
|
2020-09-25T17:54:36.000Z
|
#!/usr/bin/env python3
no_c = __import__('5-no_c').no_c
print(no_c("a software development program"))
print(no_c("Chicago"))
print(no_c("C is fun!"))
| 19
| 45
| 0.697368
| 29
| 152
| 3.310345
| 0.551724
| 0.1875
| 0.25
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.014599
| 0.098684
| 152
| 7
| 46
| 21.714286
| 0.686131
| 0.138158
| 0
| 0
| 0
| 0
| 0.403101
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.25
| 0
| 0.25
| 0.75
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
6aba4b364fb0c8b0fcb7833e36060dfee0cd3084
| 821
|
py
|
Python
|
query/plans/tpch21cfg.py
|
cakebytheoceanLuo/dogqc
|
163618becdb57bd952a1ac5ba346d3c7ec163e04
|
[
"MIT"
] | 12
|
2020-02-08T10:41:50.000Z
|
2022-02-25T13:21:52.000Z
|
query/plans/tpch21cfg.py
|
cakebytheoceanLuo/dogqc
|
163618becdb57bd952a1ac5ba346d3c7ec163e04
|
[
"MIT"
] | 62
|
2021-12-02T03:08:20.000Z
|
2022-03-31T14:05:58.000Z
|
query/plans/tpch21cfg.py
|
cakebytheoceanLuo/dogqc
|
163618becdb57bd952a1ac5ba346d3c7ec163e04
|
[
"MIT"
] | 4
|
2020-03-15T03:34:10.000Z
|
2022-03-18T07:51:37.000Z
|
{
7 : {
"operator" : "join",
"multimatch" : False,
},
9 : {
"operator" : "selection",
"selectivity" : 0.5
},
10 : {
"operator" : "join",
"multimatch" : False,
"selectivity" : 0.04
},
12 : {
"operator" : "selection",
"selectivity" : 0.48
},
13 : {
"operator" : "join",
"multimatch" : True,
"selectivity" : 0.09
},
3 : {
"operator" : "selection",
"selectivity" : 0.5
},
14 : {
"operator" : "antijoin",
"selectivity" : 0.02,
"htSizeFactor" : 1.0,
"multimatch" : True
},
15 : {
"operator" : "semijoin",
"selectivity" : 0.02,
"htSizeFactor" : 0.5,
"multimatch" : True
}
}
| 20.02439
| 34
| 0.399513
| 61
| 821
| 5.377049
| 0.409836
| 0.256098
| 0.20122
| 0.265244
| 0.182927
| 0
| 0
| 0
| 0
| 0
| 0
| 0.077088
| 0.431181
| 821
| 40
| 35
| 20.525
| 0.625268
| 0
| 0
| 0.35
| 0
| 0
| 0.328867
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
6ad09d24701e08f211af8c28e354d5a200316261
| 3,425
|
py
|
Python
|
tests/models/mmdet/test_model.py
|
adamfarquhar/icevision
|
f6e9f54773ba877be0f363769d512c04ce7e5a10
|
[
"Apache-2.0"
] | null | null | null |
tests/models/mmdet/test_model.py
|
adamfarquhar/icevision
|
f6e9f54773ba877be0f363769d512c04ce7e5a10
|
[
"Apache-2.0"
] | null | null | null |
tests/models/mmdet/test_model.py
|
adamfarquhar/icevision
|
f6e9f54773ba877be0f363769d512c04ce7e5a10
|
[
"Apache-2.0"
] | 1
|
2021-05-29T12:21:37.000Z
|
2021-05-29T12:21:37.000Z
|
import pytest
from icevision.all import *
@pytest.mark.parametrize(
"ds, model_type",
[
(
"fridge_ds",
models.mmdet.retinanet,
),
],
)
class TestBboxModels:
def dls_model(self, ds, model_type, samples_source, request):
train_ds, valid_ds = request.getfixturevalue(ds)
train_dl = model_type.train_dl(train_ds, batch_size=2)
valid_dl = model_type.valid_dl(valid_ds, batch_size=2)
backbone = model_type.backbones.resnet50_fpn_1x()
backbone.config_path = samples_source / backbone.config_path
model = model_type.model(backbone=backbone, num_classes=5)
return train_dl, valid_dl, model
def test_mmdet_bbox_models_fastai(self, ds, model_type, samples_source, request):
train_dl, valid_dl, model = self.dls_model(
ds, model_type, samples_source, request
)
learn = model_type.fastai.learner(
dls=[train_dl, valid_dl], model=model, splitter=fastai.trainable_params
)
learn.fine_tune(1, 3e-4)
def test_mmdet_bbox_models_light(self, ds, model_type, samples_source, request):
train_dl, valid_dl, model = self.dls_model(
ds, model_type, samples_source, request
)
class LitModel(model_type.lightning.ModelAdapter):
def configure_optimizers(self):
return Adam(self.parameters(), lr=1e-4)
light_model = LitModel(model)
trainer = pl.Trainer(
max_epochs=1,
weights_summary=None,
num_sanity_val_steps=0,
logger=False,
checkpoint_callback=False,
)
trainer.fit(light_model, train_dl, valid_dl)
@pytest.fixture()
def mask_dls_model(coco_mask_records, samples_source):
train_records, valid_records = coco_mask_records[:2], coco_mask_records[:1]
presize, size = 256, 128
train_tfms = tfms.A.Adapter(
[*tfms.A.aug_tfms(presize=presize, size=size), tfms.A.Normalize()]
)
valid_tfms = tfms.A.Adapter([*tfms.A.resize_and_pad(size=size), tfms.A.Normalize()])
train_ds = Dataset(train_records, train_tfms)
valid_ds = Dataset(valid_records, valid_tfms)
model_type = models.mmdet.mask_rcnn
train_dl = model_type.train_dl(train_ds, batch_size=2)
valid_dl = model_type.valid_dl(valid_ds, batch_size=2)
backbone = model_type.backbones.resnet50_fpn_1x()
backbone.config_path = samples_source / backbone.config_path
model = model_type.model(backbone=backbone, num_classes=81)
return train_dl, valid_dl, model, model_type
@pytest.mark.skip
def test_mmdet_mask_models_fastai(mask_dls_model):
train_dl, valid_dl, model, model_type = mask_dls_model
learn = model_type.fastai.learner(
dls=[train_dl, valid_dl], model=model, splitter=fastai.trainable_params
)
learn.fine_tune(1, 3e-4)
@pytest.mark.skip
def test_mmdet_mask_models_light(mask_dls_model):
train_dl, valid_dl, model, model_type = mask_dls_model
class LitModel(model_type.lightning.ModelAdapter):
def configure_optimizers(self):
return Adam(self.parameters(), lr=1e-4)
light_model = LitModel(model)
trainer = pl.Trainer(
max_epochs=1,
weights_summary=None,
num_sanity_val_steps=0,
logger=False,
checkpoint_callback=False,
)
trainer.fit(light_model, train_dl, valid_dl)
| 31.422018
| 88
| 0.68
| 458
| 3,425
| 4.757642
| 0.213974
| 0.090867
| 0.055071
| 0.06425
| 0.792565
| 0.75218
| 0.718678
| 0.705828
| 0.654429
| 0.654429
| 0
| 0.013153
| 0.223066
| 3,425
| 108
| 89
| 31.712963
| 0.805712
| 0
| 0
| 0.53012
| 0
| 0
| 0.006715
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.096386
| false
| 0
| 0.024096
| 0.024096
| 0.204819
| 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
|
6ae93cd49fcd80966c3b962f7c03b35b83a7dec9
| 2,227
|
py
|
Python
|
igdb_databases.py
|
woctezuma/metacouncil-goty
|
0dfcf11c66be2801112ebdd293c0e8706cf348ff
|
[
"MIT"
] | 1
|
2020-01-16T21:40:53.000Z
|
2020-01-16T21:40:53.000Z
|
igdb_databases.py
|
woctezuma/metacouncil-goty
|
0dfcf11c66be2801112ebdd293c0e8706cf348ff
|
[
"MIT"
] | 18
|
2019-01-02T12:53:51.000Z
|
2020-10-24T11:27:16.000Z
|
igdb_databases.py
|
woctezuma/metacouncil-goty
|
0dfcf11c66be2801112ebdd293c0e8706cf348ff
|
[
"MIT"
] | null | null | null |
import json
from anonymize_data import get_data_folder
def get_igdb_file_name_suffix(release_year=None):
if release_year is None:
suffix = ''
else:
suffix = '_' + str(release_year)
return suffix
def get_igdb_match_database_file_name(release_year=None):
# Dict: query string ---> igdb ID
suffix = get_igdb_file_name_suffix(release_year)
file_name = get_data_folder() + 'igdb_match_database' + suffix + '.json'
return file_name
def get_igdb_local_database_file_name(release_year=None):
# Dict: igdb ID ---> igdb data
suffix = get_igdb_file_name_suffix(release_year)
file_name = get_data_folder() + 'igdb_local_database' + suffix + '.json'
return file_name
def load_igdb_match_database(release_year=None,
file_name=None):
if file_name is None:
file_name = get_igdb_match_database_file_name(release_year=release_year)
with open(file_name, 'r', encoding='utf-8') as f:
data = json.load(f)
return data
def save_igdb_match_database(data,
release_year=None,
file_name=None):
if file_name is None:
file_name = get_igdb_match_database_file_name(release_year=release_year)
with open(file_name, 'w', encoding='utf-8') as f:
json.dump(data, f)
return
def load_igdb_local_database(release_year=None,
file_name=None):
if file_name is None:
file_name = get_igdb_local_database_file_name(release_year=release_year)
with open(file_name, 'r', encoding='utf-8') as f:
data = json.load(f)
return data
def save_igdb_local_database(data,
release_year=None,
file_name=None):
if file_name is None:
file_name = get_igdb_local_database_file_name(release_year=release_year)
with open(file_name, 'w', encoding='utf-8') as f:
json.dump(data, f)
return
def main():
release_year = '2018'
igdb_match_database = load_igdb_match_database(release_year)
igdb_local_database = load_igdb_local_database(release_year)
return True
if __name__ == '__main__':
main()
| 23.946237
| 80
| 0.658734
| 308
| 2,227
| 4.353896
| 0.136364
| 0.173005
| 0.101417
| 0.102908
| 0.817301
| 0.817301
| 0.750186
| 0.662192
| 0.604027
| 0.604027
| 0
| 0.004834
| 0.256848
| 2,227
| 92
| 81
| 24.206522
| 0.805438
| 0.026942
| 0
| 0.566038
| 0
| 0
| 0.039279
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.150943
| false
| 0
| 0.037736
| 0
| 0.339623
| 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
|
0a76cff7b86bb1ae8b794efee0df90348978e473
| 3,394
|
py
|
Python
|
kda/account/events.py
|
larrykamau/delivery-server
|
4155f16e1dec313eeddfbe10c268714fa9bbe783
|
[
"MIT"
] | null | null | null |
kda/account/events.py
|
larrykamau/delivery-server
|
4155f16e1dec313eeddfbe10c268714fa9bbe783
|
[
"MIT"
] | null | null | null |
kda/account/events.py
|
larrykamau/delivery-server
|
4155f16e1dec313eeddfbe10c268714fa9bbe783
|
[
"MIT"
] | null | null | null |
from typing import Optional
from ..order.models import Order, OrderLine
from . import CustomerEvents
from .models import CustomerEvent, CustomUser
def customer_account_created_event(*, user: CustomUser) -> Optional[CustomerEvent]:
return CustomerEvent.objects.create(user=user, type=CustomerEvents.ACCOUNT_CREATED)
def customer_password_reset_link_sent_event(*, user_id: int) -> Optional[CustomerEvent]:
return CustomerEvent.objects.create(
user_id=user_id, type=CustomerEvents.PASSWORD_RESET_LINK_SENT
)
def customer_password_reset_event(*, user: CustomUser) -> Optional[CustomerEvent]:
return CustomerEvent.objects.create(user=user, type=CustomerEvents.PASSWORD_RESET)
def customer_password_changed_event(*, user: CustomUser) -> Optional[CustomerEvent]:
return CustomerEvent.objects.create(user=user, type=CustomerEvents.PASSWORD_CHANGED)
def customer_email_change_request_event(
*, user_id: int, parameters: dict
) -> Optional[CustomerEvent]:
return CustomerEvent.objects.create(
user_id=user_id, type=CustomerEvents.EMAIL_CHANGE_REQUEST, parameters=parameters
)
def customer_email_changed_event(
*, user: CustomUser, parameters: dict
) -> Optional[CustomerEvent]:
return CustomerEvent.objects.create(
user=user, type=CustomerEvents.EMAIL_CHANGED, parameters=parameters
)
def customer_placed_order_event(*, user: CustomUser, order: Order) -> Optional[CustomerEvent]:
if user.is_anonymous:
return None
return CustomerEvent.objects.create(
user=user, order=order, type=CustomerEvents.PLACED_ORDER
)
def customer_added_to_note_order_event(
*, user: CustomUser, order: Order, message: str
) -> CustomerEvent:
return CustomerEvent.objects.create(
user=user,
order=order,
type=CustomerEvents.NOTE_ADDED_TO_ORDER,
parameters={"message": message},
)
def customer_downloaded_a_digital_link_event(
*, user: CustomUser, order_line: OrderLine
) -> CustomerEvent:
return CustomerEvent.objects.create(
user=user,
order=order_line.order,
type=CustomerEvents.DIGITAL_LINK_DOWNLOADED,
parameters={"order_line_pk": order_line.pk},
)
def staff_user_deleted_a_customer_event(
*, staff_user: CustomUser, deleted_count: int = 1
) -> CustomerEvent:
return CustomerEvent.objects.create(
user=staff_user,
order=None,
type=CustomerEvents.CUSTOMER_DELETED,
parameters={"count": deleted_count},
)
def staff_user_assigned_email_to_a_customer_event(
*, staff_user: CustomUser, new_email: str
) -> CustomerEvent:
return CustomerEvent.objects.create(
user=staff_user,
order=None,
type=CustomerEvents.EMAIL_ASSIGNED,
parameters={"message": new_email},
)
def staff_user_added_note_to_a_customer_event(
*, staff_user: CustomUser, note: str
) -> CustomerEvent:
return CustomerEvent.objects.create(
user=staff_user,
order=None,
type=CustomerEvents.NOTE_ADDED,
parameters={"message": note},
)
def staff_user_assigned_name_to_a_customer_event(
*, staff_user: CustomUser, new_name: str
) -> CustomerEvent:
return CustomerEvent.objects.create(
user=staff_user,
order=None,
type=CustomerEvents.NAME_ASSIGNED,
parameters={"message": new_name},
)
| 29.513043
| 94
| 0.727166
| 376
| 3,394
| 6.284574
| 0.143617
| 0.104528
| 0.143039
| 0.176047
| 0.575116
| 0.575116
| 0.532374
| 0.516293
| 0.48413
| 0.440118
| 0
| 0.000359
| 0.17855
| 3,394
| 114
| 95
| 29.77193
| 0.847202
| 0
| 0
| 0.325581
| 0
| 0
| 0.013553
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.151163
| true
| 0.069767
| 0.046512
| 0.139535
| 0.360465
| 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
| 1
| 0
| 1
| 0
| 0
|
0
| 4
|
0ab4a2413cae1bb1c01847db700a2259af443d73
| 90
|
py
|
Python
|
trade_remedies_api/api_test/apps.py
|
uktrade/trade-remedies-api
|
fbe2d142ef099c7244788a0f72dd1003eaa7edce
|
[
"MIT"
] | 1
|
2020-08-13T10:37:15.000Z
|
2020-08-13T10:37:15.000Z
|
trade_remedies_api/api_test/apps.py
|
uktrade/trade-remedies-api
|
fbe2d142ef099c7244788a0f72dd1003eaa7edce
|
[
"MIT"
] | 4
|
2020-09-10T13:41:52.000Z
|
2020-12-16T09:00:21.000Z
|
trade_remedies_api/api_test/apps.py
|
uktrade/trade-remedies-api
|
fbe2d142ef099c7244788a0f72dd1003eaa7edce
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class ApiTestConfig(AppConfig):
name = "api_test"
| 15
| 33
| 0.755556
| 11
| 90
| 6.090909
| 0.909091
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.166667
| 90
| 5
| 34
| 18
| 0.893333
| 0
| 0
| 0
| 0
| 0
| 0.088889
| 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
|
0abf0247c23e84bbf58f943bb319eb3c38576409
| 54
|
py
|
Python
|
third_party/universal-ctags/ctags/Units/parser-python.r/python-multivar-statement.d/input.py
|
f110/wing
|
31b259f723b57a6481252a4b8b717fcee6b01ff4
|
[
"MIT"
] | 4
|
2017-02-07T20:04:31.000Z
|
2022-01-30T14:04:45.000Z
|
third_party/universal-ctags/ctags/Units/parser-python.r/python-multivar-statement.d/input.py
|
f110/wing
|
31b259f723b57a6481252a4b8b717fcee6b01ff4
|
[
"MIT"
] | 1
|
2018-01-07T19:14:53.000Z
|
2018-01-07T19:14:53.000Z
|
third_party/universal-ctags/ctags/Units/parser-python.r/python-multivar-statement.d/input.py
|
f110/wing
|
31b259f723b57a6481252a4b8b717fcee6b01ff4
|
[
"MIT"
] | 1
|
2021-04-26T09:00:06.000Z
|
2021-04-26T09:00:06.000Z
|
VAR1, VAR2, VAR3 = 1, 2, 3
VAR4 = 4
VAR5, VAR6 = 5, 6
| 13.5
| 26
| 0.555556
| 12
| 54
| 2.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.307692
| 0.277778
| 54
| 3
| 27
| 18
| 0.461538
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
0ac058618894142582a96593bfce1a52fb511e56
| 41
|
py
|
Python
|
tools/bin/pythonSrc/pychecker-0.8.18/test_input/test8.py
|
YangHao666666/hawq
|
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
|
[
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 450
|
2015-09-05T09:12:51.000Z
|
2018-08-30T01:45:36.000Z
|
tools/bin/pythonSrc/pychecker-0.8.18/test_input/test8.py
|
YangHao666666/hawq
|
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
|
[
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 1,274
|
2015-09-22T20:06:16.000Z
|
2018-08-31T22:14:00.000Z
|
tools/bin/pythonSrc/pychecker-0.8.18/test_input/test8.py
|
YangHao666666/hawq
|
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
|
[
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 278
|
2015-09-21T19:15:06.000Z
|
2018-08-31T00:36:51.000Z
|
"doc"
def func():
syntax error here
| 8.2
| 21
| 0.609756
| 6
| 41
| 4.166667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.268293
| 41
| 4
| 22
| 10.25
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0.073171
| 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
|
0ac2f6c560c9ec404ef1c3cff210367c023b8863
| 215
|
py
|
Python
|
amnesia/modules/document/__init__.py
|
silenius/amnesia
|
ba5e3ac79a89da599c22206ad1fd17541855f74c
|
[
"BSD-2-Clause"
] | 4
|
2015-05-08T10:57:56.000Z
|
2021-05-17T04:32:11.000Z
|
amnesia/modules/document/__init__.py
|
silenius/amnesia
|
ba5e3ac79a89da599c22206ad1fd17541855f74c
|
[
"BSD-2-Clause"
] | 6
|
2019-12-26T16:43:41.000Z
|
2022-02-28T11:07:54.000Z
|
amnesia/modules/document/__init__.py
|
silenius/amnesia
|
ba5e3ac79a89da599c22206ad1fd17541855f74c
|
[
"BSD-2-Clause"
] | 1
|
2019-09-23T14:08:11.000Z
|
2019-09-23T14:08:11.000Z
|
# -*- coding: utf-8 -*-
from .model import Document
from .resources import DocumentEntity
from .resources import DocumentResource
def includeme(config):
config.include('.mapper')
config.include('.views')
| 19.545455
| 39
| 0.725581
| 24
| 215
| 6.5
| 0.666667
| 0.166667
| 0.24359
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.005464
| 0.148837
| 215
| 10
| 40
| 21.5
| 0.846995
| 0.097674
| 0
| 0
| 0
| 0
| 0.067708
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0
| 0.5
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
0aca44b107e49b9ab70bfe92f1bf4b8dd9c14996
| 185
|
py
|
Python
|
SREFinalProjectWebBackend/Test/Test.py
|
JE-Chen/je_old_repo
|
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
|
[
"MIT"
] | 1
|
2020-12-30T06:37:29.000Z
|
2020-12-30T06:37:29.000Z
|
SREFinalProjectWebBackend/Test/Test.py
|
JE-Chen/je_old_repo
|
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
|
[
"MIT"
] | null | null | null |
SREFinalProjectWebBackend/Test/Test.py
|
JE-Chen/je_old_repo
|
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
|
[
"MIT"
] | null | null | null |
from Core.Code_Core import Code_Core
g = Code_Core()
Code = g.Generate.Generate_Base64_Image(True)
print(Code[0])
print(Code[1])
print(g.Generate.Generate_Code_OnlyString(5))
| 20.555556
| 46
| 0.751351
| 30
| 185
| 4.4
| 0.466667
| 0.181818
| 0.257576
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.030864
| 0.124324
| 185
| 8
| 47
| 23.125
| 0.783951
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.166667
| 0
| 0.166667
| 0.5
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
0afbe35739cdb794939bb962d8a93d3673279ac1
| 15,482
|
py
|
Python
|
ironic/tests/unit/common/test_network.py
|
yanndegat/ironic
|
8857ec76443dea7778bb9c0d66568304e52495e5
|
[
"Apache-2.0"
] | 350
|
2015-01-02T09:35:49.000Z
|
2022-03-28T09:25:59.000Z
|
ironic/tests/unit/common/test_network.py
|
yanndegat/ironic
|
8857ec76443dea7778bb9c0d66568304e52495e5
|
[
"Apache-2.0"
] | 7
|
2015-05-04T16:12:41.000Z
|
2021-08-31T12:27:27.000Z
|
ironic/tests/unit/common/test_network.py
|
yanndegat/ironic
|
8857ec76443dea7778bb9c0d66568304e52495e5
|
[
"Apache-2.0"
] | 333
|
2015-01-06T09:09:22.000Z
|
2022-02-20T08:11:40.000Z
|
# Copyright 2014 Rackspace Inc.
# All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from unittest import mock
from oslo_utils import uuidutils
from ironic.common import exception
from ironic.common import network
from ironic.common import neutron as neutron_common
from ironic.common import states
from ironic.conductor import task_manager
from ironic.drivers.modules.network import common as driver_common
from ironic.tests.unit.db import base as db_base
from ironic.tests.unit.db import utils as db_utils
from ironic.tests.unit.objects import utils as object_utils
class TestNetwork(db_base.DbTestCase):
def setUp(self):
super(TestNetwork, self).setUp()
self.node = object_utils.create_test_node(self.context)
def test_get_node_vif_ids_no_ports_no_portgroups(self):
expected = {'portgroups': {},
'ports': {}}
with task_manager.acquire(self.context, self.node.uuid) as task:
result = network.get_node_vif_ids(task)
self.assertEqual(expected, result)
def test_get_node_vif_ids_one_port_int_info(self):
kwargs1 = {'internal_info': {'tenant_vif_port_id': 'test-vif-A'}}
port1 = db_utils.create_test_port(node_id=self.node.id,
address='aa:bb:cc:dd:ee:ff',
uuid=uuidutils.generate_uuid(),
**kwargs1)
expected = {'portgroups': {},
'ports': {port1.uuid: 'test-vif-A'}}
with task_manager.acquire(self.context, self.node.uuid) as task:
result = network.get_node_vif_ids(task)
self.assertEqual(expected, result)
def test_get_node_vif_ids_one_portgroup_int_info(self):
kwargs1 = {'internal_info': {'tenant_vif_port_id': 'test-vif-A'}}
pg1 = db_utils.create_test_portgroup(
node_id=self.node.id, **kwargs1)
expected = {'portgroups': {pg1.uuid: 'test-vif-A'},
'ports': {}}
with task_manager.acquire(self.context, self.node.uuid) as task:
result = network.get_node_vif_ids(task)
self.assertEqual(expected, result)
def test_get_node_vif_ids_two_ports_int_info(self):
kwargs1 = {'internal_info': {'tenant_vif_port_id': 'test-vif-A'}}
kwargs2 = {'internal_info': {'tenant_vif_port_id': 'test-vif-B'}}
port1 = db_utils.create_test_port(node_id=self.node.id,
address='aa:bb:cc:dd:ee:ff',
uuid=uuidutils.generate_uuid(),
**kwargs1)
port2 = db_utils.create_test_port(node_id=self.node.id,
address='dd:ee:ff:aa:bb:cc',
uuid=uuidutils.generate_uuid(),
**kwargs2)
expected = {'portgroups': {},
'ports': {port1.uuid: 'test-vif-A',
port2.uuid: 'test-vif-B'}}
with task_manager.acquire(self.context, self.node.uuid) as task:
result = network.get_node_vif_ids(task)
self.assertEqual(expected, result)
def test_get_node_vif_ids_two_portgroups_int_info(self):
kwargs1 = {'internal_info': {'tenant_vif_port_id': 'test-vif-A'}}
kwargs2 = {'internal_info': {'tenant_vif_port_id': 'test-vif-B'}}
pg1 = db_utils.create_test_portgroup(
node_id=self.node.id, **kwargs1)
pg2 = db_utils.create_test_portgroup(
uuid=uuidutils.generate_uuid(),
address='dd:ee:ff:aa:bb:cc',
node_id=self.node.id,
name='barname', **kwargs2)
expected = {'portgroups': {pg1.uuid: 'test-vif-A',
pg2.uuid: 'test-vif-B'},
'ports': {}}
with task_manager.acquire(self.context, self.node.uuid) as task:
result = network.get_node_vif_ids(task)
self.assertEqual(expected, result)
def _test_get_node_vif_ids_multitenancy(self, int_info_key):
port = db_utils.create_test_port(
node_id=self.node.id, address='aa:bb:cc:dd:ee:ff',
internal_info={int_info_key: 'test-vif-A'})
portgroup = db_utils.create_test_portgroup(
node_id=self.node.id, address='dd:ee:ff:aa:bb:cc',
internal_info={int_info_key: 'test-vif-B'})
expected = {'ports': {port.uuid: 'test-vif-A'},
'portgroups': {portgroup.uuid: 'test-vif-B'}}
with task_manager.acquire(self.context, self.node.uuid) as task:
result = network.get_node_vif_ids(task)
self.assertEqual(expected, result)
def test_get_node_vif_ids_during_cleaning(self):
self._test_get_node_vif_ids_multitenancy('cleaning_vif_port_id')
def test_get_node_vif_ids_during_provisioning(self):
self._test_get_node_vif_ids_multitenancy('provisioning_vif_port_id')
def test_get_node_vif_ids_during_rescuing(self):
self._test_get_node_vif_ids_multitenancy('rescuing_vif_port_id')
def test_remove_vifs_from_node(self):
db_utils.create_test_port(
node_id=self.node.id, address='aa:bb:cc:dd:ee:ff',
internal_info={driver_common.TENANT_VIF_KEY: 'test-vif-A'})
db_utils.create_test_portgroup(
node_id=self.node.id, address='dd:ee:ff:aa:bb:cc',
internal_info={driver_common.TENANT_VIF_KEY: 'test-vif-B'})
with task_manager.acquire(self.context, self.node.uuid) as task:
network.remove_vifs_from_node(task)
with task_manager.acquire(self.context, self.node.uuid) as task:
result = network.get_node_vif_ids(task)
self.assertEqual({}, result['ports'])
self.assertEqual({}, result['portgroups'])
class TestRemoveVifsTestCase(db_base.DbTestCase):
def setUp(self):
super(TestRemoveVifsTestCase, self).setUp()
self.node = object_utils.create_test_node(
self.context,
network_interface='flat',
provision_state=states.DELETING)
@mock.patch.object(neutron_common, 'unbind_neutron_port', autospec=True)
def test_remove_vifs_from_node_failure(self, mock_unbind):
db_utils.create_test_port(
node_id=self.node.id, address='aa:bb:cc:dd:ee:ff',
internal_info={driver_common.TENANT_VIF_KEY: 'test-vif-A'})
db_utils.create_test_portgroup(
node_id=self.node.id, address='dd:ee:ff:aa:bb:cc',
internal_info={driver_common.TENANT_VIF_KEY: 'test-vif-B'})
mock_unbind.side_effect = [exception.NetworkError, None]
with task_manager.acquire(self.context, self.node.uuid) as task:
network.remove_vifs_from_node(task)
with task_manager.acquire(self.context, self.node.uuid) as task:
result = network.get_node_vif_ids(task)
self.assertEqual({}, result['ports'])
self.assertEqual({}, result['portgroups'])
self.assertEqual(2, mock_unbind.call_count)
class GetPortgroupByIdTestCase(db_base.DbTestCase):
def test_portgroup_by_id(self):
node = object_utils.create_test_node(self.context)
portgroup = object_utils.create_test_portgroup(self.context,
node_id=node.id)
object_utils.create_test_portgroup(self.context,
node_id=node.id,
uuid=uuidutils.generate_uuid(),
address='00:11:22:33:44:55',
name='pg2')
with task_manager.acquire(self.context, node.uuid) as task:
res = network.get_portgroup_by_id(task, portgroup.id)
self.assertEqual(portgroup.id, res.id)
def test_portgroup_by_id_no_such_portgroup(self):
node = object_utils.create_test_node(self.context)
object_utils.create_test_portgroup(self.context, node_id=node.id)
with task_manager.acquire(self.context, node.uuid) as task:
portgroup_id = 'invalid-portgroup-id'
res = network.get_portgroup_by_id(task, portgroup_id)
self.assertIsNone(res)
class GetPortsByPortgroupIdTestCase(db_base.DbTestCase):
def test_ports_by_portgroup_id(self):
node = object_utils.create_test_node(self.context)
portgroup = object_utils.create_test_portgroup(self.context,
node_id=node.id)
port = object_utils.create_test_port(self.context, node_id=node.id,
portgroup_id=portgroup.id)
object_utils.create_test_port(self.context, node_id=node.id,
uuid=uuidutils.generate_uuid(),
address='00:11:22:33:44:55')
with task_manager.acquire(self.context, node.uuid) as task:
res = network.get_ports_by_portgroup_id(task, portgroup.id)
self.assertEqual([port.id], [p.id for p in res])
def test_ports_by_portgroup_id_empty(self):
node = object_utils.create_test_node(self.context)
portgroup = object_utils.create_test_portgroup(self.context,
node_id=node.id)
with task_manager.acquire(self.context, node.uuid) as task:
res = network.get_ports_by_portgroup_id(task, portgroup.id)
self.assertEqual([], res)
class GetPhysnetsForNodeTestCase(db_base.DbTestCase):
def test_get_physnets_for_node_no_ports(self):
node = object_utils.create_test_node(self.context)
with task_manager.acquire(self.context, node.uuid) as task:
res = network.get_physnets_for_node(task)
self.assertEqual(set(), res)
def test_get_physnets_for_node_excludes_None(self):
node = object_utils.create_test_node(self.context)
object_utils.create_test_port(self.context, node_id=node.id)
with task_manager.acquire(self.context, node.uuid) as task:
res = network.get_physnets_for_node(task)
self.assertEqual(set(), res)
def test_get_physnets_for_node_multiple_ports(self):
node = object_utils.create_test_node(self.context)
object_utils.create_test_port(self.context, node_id=node.id,
physical_network='physnet1')
object_utils.create_test_port(self.context, node_id=node.id,
uuid=uuidutils.generate_uuid(),
address='00:11:22:33:44:55',
physical_network='physnet2')
with task_manager.acquire(self.context, node.uuid) as task:
res = network.get_physnets_for_node(task)
self.assertEqual({'physnet1', 'physnet2'}, res)
class GetPhysnetsByPortgroupID(db_base.DbTestCase):
def setUp(self):
super(GetPhysnetsByPortgroupID, self).setUp()
self.node = object_utils.create_test_node(self.context)
self.portgroup = object_utils.create_test_portgroup(
self.context, node_id=self.node.id)
def _test(self, expected_result, exclude_port=None):
with task_manager.acquire(self.context, self.node.uuid) as task:
result = network.get_physnets_by_portgroup_id(task,
self.portgroup.id,
exclude_port)
self.assertEqual(expected_result, result)
def test_empty(self):
self._test(set())
def test_one_port(self):
object_utils.create_test_port(self.context, node_id=self.node.id,
portgroup_id=self.portgroup.id,
physical_network='physnet1')
self._test({'physnet1'})
def test_two_ports(self):
object_utils.create_test_port(self.context, node_id=self.node.id,
portgroup_id=self.portgroup.id,
physical_network='physnet1')
object_utils.create_test_port(self.context, node_id=self.node.id,
uuid=uuidutils.generate_uuid(),
address='00:11:22:33:44:55',
portgroup_id=self.portgroup.id,
physical_network='physnet1')
self._test({'physnet1'})
def test_exclude_port(self):
object_utils.create_test_port(self.context, node_id=self.node.id,
portgroup_id=self.portgroup.id,
physical_network='physnet1')
port2 = object_utils.create_test_port(self.context,
node_id=self.node.id,
uuid=uuidutils.generate_uuid(),
address='00:11:22:33:44:55',
portgroup_id=self.portgroup.id,
physical_network='physnet2')
self._test({'physnet1'}, port2)
def test_exclude_port_no_id(self):
# During port creation there may be no 'id' field.
object_utils.create_test_port(self.context, node_id=self.node.id,
portgroup_id=self.portgroup.id,
physical_network='physnet1')
port2 = object_utils.get_test_port(self.context,
node_id=self.node.id,
uuid=uuidutils.generate_uuid(),
address='00:11:22:33:44:55',
portgroup_id=self.portgroup.id,
physical_network='physnet2')
self._test({'physnet1'}, port2)
def test_two_ports_inconsistent(self):
object_utils.create_test_port(self.context, node_id=self.node.id,
portgroup_id=self.portgroup.id,
physical_network='physnet1')
object_utils.create_test_port(self.context, node_id=self.node.id,
uuid=uuidutils.generate_uuid(),
address='00:11:22:33:44:55',
portgroup_id=self.portgroup.id,
physical_network='physnet2')
with task_manager.acquire(self.context, self.node.uuid) as task:
self.assertRaises(exception.PortgroupPhysnetInconsistent,
network.get_physnets_by_portgroup_id,
task, self.portgroup.id)
| 49.305732
| 78
| 0.595853
| 1,838
| 15,482
| 4.745375
| 0.106094
| 0.044027
| 0.070511
| 0.069823
| 0.775166
| 0.756363
| 0.73114
| 0.704311
| 0.682412
| 0.679775
| 0
| 0.012941
| 0.306227
| 15,482
| 313
| 79
| 49.463259
| 0.799088
| 0.041855
| 0
| 0.611765
| 0
| 0
| 0.070725
| 0.00162
| 0
| 0
| 0
| 0
| 0.078431
| 1
| 0.109804
| false
| 0
| 0.043137
| 0
| 0.176471
| 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
|
7c538584e3ae0e07d9a0ab387024d6c46e3b132d
| 117
|
py
|
Python
|
mundo1-Fundamentos/08 Conversor de Medidas.py
|
jonasht/CursoEmVideo-CursoDePython3
|
a1bbf1fe4226b1828213742ee5a440278d903fd1
|
[
"MIT"
] | null | null | null |
mundo1-Fundamentos/08 Conversor de Medidas.py
|
jonasht/CursoEmVideo-CursoDePython3
|
a1bbf1fe4226b1828213742ee5a440278d903fd1
|
[
"MIT"
] | null | null | null |
mundo1-Fundamentos/08 Conversor de Medidas.py
|
jonasht/CursoEmVideo-CursoDePython3
|
a1bbf1fe4226b1828213742ee5a440278d903fd1
|
[
"MIT"
] | null | null | null |
metro = float(input('metro: '))
print('medida de {}m, {:.0f}cm, {:.0f}mm'.format(metro, metro * 10**2, metro*10**3))
| 39
| 84
| 0.589744
| 20
| 117
| 3.45
| 0.7
| 0.202899
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.076923
| 0.111111
| 117
| 2
| 85
| 58.5
| 0.586538
| 0
| 0
| 0
| 0
| 0
| 0.34188
| 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
|
7c6d753dae699cb6c88f3b47148a9f327da226ab
| 365
|
py
|
Python
|
tests/test-files/services/TestService4.py
|
ahuyuktepe/cmd-exec
|
835037a4b7784d4901bf35db5eaa88a0757c5ce9
|
[
"MIT"
] | null | null | null |
tests/test-files/services/TestService4.py
|
ahuyuktepe/cmd-exec
|
835037a4b7784d4901bf35db5eaa88a0757c5ce9
|
[
"MIT"
] | 1
|
2021-06-07T21:25:52.000Z
|
2021-06-07T21:25:52.000Z
|
tests/test-files/services/TestService4.py
|
ahuyuktepe/cmd-exec
|
835037a4b7784d4901bf35db5eaa88a0757c5ce9
|
[
"MIT"
] | null | null | null |
from cmd_exec.config.AppConfigs import AppConfigs
from cmd_exec.service.AppService import AppService
class TestService4(AppService):
__appConfigs: AppConfigs
def __init__(self, appConfigs: AppConfigs):
self.__appConfigs = appConfigs
def getAppName(self) -> str:
return str(self.__appConfigs.getValue('application.name'))
| 28.076923
| 67
| 0.731507
| 38
| 365
| 6.710526
| 0.5
| 0.235294
| 0.086275
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.003378
| 0.189041
| 365
| 12
| 68
| 30.416667
| 0.858108
| 0
| 0
| 0
| 0
| 0
| 0.045326
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0.125
| 0.875
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
7cc2205a26eb70e22a8ad163f9fa5f0b2a228fe3
| 167
|
py
|
Python
|
examples/admin-saml-groups/py/__main__.py
|
pulumi/pulumi-splunk
|
a593a4b65e7de94d61b93676231606820193f212
|
[
"ECL-2.0",
"Apache-2.0"
] | 1
|
2020-12-23T01:26:49.000Z
|
2020-12-23T01:26:49.000Z
|
examples/admin-saml-groups/py/__main__.py
|
pulumi/pulumi-splunk
|
a593a4b65e7de94d61b93676231606820193f212
|
[
"ECL-2.0",
"Apache-2.0"
] | 36
|
2020-12-22T16:57:47.000Z
|
2022-03-25T20:12:26.000Z
|
examples/admin-saml-groups/py/__main__.py
|
pulumi/pulumi-splunk
|
a593a4b65e7de94d61b93676231606820193f212
|
[
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
"""A Python Pulumi program"""
import pulumi
import pulumi_splunk as splunk
saml_group = splunk.AdminSamlGroups("demo-py-group", roles=[
"admin",
"power",
])
| 16.7
| 60
| 0.694611
| 21
| 167
| 5.428571
| 0.714286
| 0.210526
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.161677
| 167
| 9
| 61
| 18.555556
| 0.814286
| 0.137725
| 0
| 0
| 0
| 0
| 0.166667
| 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
|
7ce3767260ac13ae2a67d00e72632e792490e0ae
| 80,910
|
py
|
Python
|
src/resources.py
|
cspang1/jide
|
ee1254134ed8cea57e1fc434da6827124f3eaf4c
|
[
"MIT"
] | null | null | null |
src/resources.py
|
cspang1/jide
|
ee1254134ed8cea57e1fc434da6827124f3eaf4c
|
[
"MIT"
] | 399
|
2019-12-12T14:30:27.000Z
|
2022-03-28T20:38:52.000Z
|
src/resources.py
|
cspang1/jide
|
ee1254134ed8cea57e1fc434da6827124f3eaf4c
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.14.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x02\xa9\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\
\x79\x71\xc9\x65\x3c\x00\x00\x02\x4b\x49\x44\x41\x54\x78\xda\xb4\
\x56\xcf\x8b\xd3\x40\x14\x9e\x4c\x26\x36\x89\xed\xc1\x52\xab\x20\
\x6c\x7b\x50\x70\x55\x3c\xf8\x7f\xe8\xc1\xeb\x7a\xf1\xe8\xb5\xe8\
\x5e\x3c\x88\x94\x42\x41\xf1\xd2\x9b\x14\xf6\xe6\x65\x6f\xfa\x47\
\xf4\xd2\xee\x41\x68\xb0\xf6\xb6\x20\x1b\x05\xc1\x56\x68\xfa\x23\
\x4d\x7d\xdf\xa4\xb3\x24\x6d\xea\x76\xd9\xec\x83\xd7\x79\x99\x79\
\xef\xfb\xe6\xbd\xcc\xe4\x55\x5b\x2c\x16\xec\x32\x45\xe0\x87\x73\
\xfe\x96\x86\xfb\x29\x63\x77\x83\x20\x78\x23\x96\x0f\x0f\xaa\xd5\
\xea\x53\xdf\xf7\x13\x3d\x55\x96\x18\x95\x52\xf0\xda\xa8\x6c\xd3\
\x34\x59\xbd\x5e\xd7\x4e\x33\x40\x12\x00\xf7\x3c\x2f\x11\x48\xe9\
\x7c\x3e\x8f\xd9\xea\x79\xd5\x2e\x14\x0a\x12\x33\x46\x80\xc5\xd1\
\x68\xe4\xb7\xdb\xed\x6f\x8e\xe3\xfc\x18\x0e\x87\x93\x68\x16\x95\
\x4a\xe5\xc9\x60\x30\x90\x00\xf9\x7c\x9e\x35\x1a\x8d\xcf\xd1\x75\
\xdb\xb6\x33\xb7\x48\xca\xe5\xf2\xdd\x6c\x36\x2b\xd6\x08\xa6\xd3\
\x29\x6b\xb5\x5a\xdf\x3b\x9d\xce\x27\x7a\x3e\x20\x75\x23\xf1\x5f\
\xc6\xe3\x31\x23\x52\xb9\x4b\x02\x53\x3b\x7c\xac\x1c\x68\x73\x37\
\xfb\xfd\xfe\x73\xaa\xc4\xb3\x62\xb1\x78\x4f\x11\x70\x45\x20\x84\
\x60\xbd\x5e\xef\x24\x01\x5c\xae\x4f\x26\x13\x80\xc8\x32\xc2\x8e\
\xc4\x2a\x41\xcc\x81\xeb\xba\x27\x96\x65\xad\x95\xa8\x5b\xab\xd5\
\x74\x1a\xbf\x26\x80\x43\xf4\xd9\x6c\x26\xcb\x03\x41\x16\x98\x4b\
\xf0\x73\x69\x03\x47\xcd\x66\x13\xa7\xa5\x1b\x25\xd8\x3f\xe3\xc8\
\xf1\xe8\x7d\x59\xda\x7c\x83\xef\xfe\xda\x3d\xd8\x42\x74\xbc\x23\
\x94\x08\x59\xd0\x4b\xdc\x94\x41\xf2\x45\xdb\x86\x00\xb5\x47\x99\
\x18\xd3\x88\x24\x48\x9f\x00\x65\xe1\x5c\x30\x4d\xd3\x24\x49\xea\
\x04\x28\xb9\xae\x1b\x44\xc0\x49\xf5\xcb\x21\x10\xc2\x90\xe0\x20\
\x49\x9d\x00\xa0\x42\x5c\x91\x04\x9c\x9f\x33\x83\x2d\x3e\xd9\x06\
\xea\x2f\x44\x66\x59\x22\x81\x18\x23\xcd\x0c\x0c\xec\x3c\xcc\x20\
\x24\xc0\x5c\x9a\x04\x22\xcc\x80\x49\x02\xd8\xdb\xc6\xf2\x2d\x7c\
\x76\x6c\xfb\xaa\xa9\x4e\x91\x3a\x49\xe1\x1c\xdb\xb9\x28\x01\x00\
\x5e\x97\x4a\xb7\x73\x21\x81\x20\xd5\xa9\xfe\x1a\x2b\x95\xee\xe4\
\xb0\x76\x16\x89\x86\x17\x1c\x5e\x9e\x98\xbc\x44\x0b\xb0\x2c\x5b\
\x27\x20\x73\x77\xf7\x51\x8e\x8e\x68\xcc\xc9\xf7\x67\x0b\xc7\x39\
\xfa\x7b\x7c\xdc\x1f\x7b\xde\x08\x5f\xc1\x0f\xa4\xef\x57\x3b\xe1\
\x26\x82\x9f\x7b\x7b\x2f\x8a\x41\x80\x8e\x26\x5d\x23\x41\x31\x88\
\xd3\xb9\xc3\xc3\x8f\xbf\xc8\xbc\xf1\x3f\x82\x6b\xa4\xd7\x49\x91\
\xfa\x3b\xd2\x87\xe7\x6c\xf2\xf8\xd4\xbf\x22\xfd\x43\xfa\x1b\xe3\
\x2a\x01\xba\x04\x5a\x55\xe6\x82\xff\x26\xc6\x68\x70\x18\x81\xfd\
\x4f\x80\x01\x00\x1f\xde\x34\xda\xe7\xdb\x0a\x30\x00\x00\x00\x00\
\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x0b\xd0\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\
\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\
\x01\x00\x9a\x9c\x18\x00\x00\x05\x1c\x69\x54\x58\x74\x58\x4d\x4c\
\x3a\x63\x6f\x6d\x2e\x61\x64\x6f\x62\x65\x2e\x78\x6d\x70\x00\x00\
\x00\x00\x00\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\
\x69\x6e\x3d\x22\xef\xbb\xbf\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\
\x30\x4d\x70\x43\x65\x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\
\x7a\x6b\x63\x39\x64\x22\x3f\x3e\x20\x3c\x78\x3a\x78\x6d\x70\x6d\
\x65\x74\x61\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\
\x62\x65\x3a\x6e\x73\x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\
\x6d\x70\x74\x6b\x3d\x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\
\x43\x6f\x72\x65\x20\x35\x2e\x36\x2d\x63\x31\x34\x35\x20\x37\x39\
\x2e\x31\x36\x33\x34\x39\x39\x2c\x20\x32\x30\x31\x38\x2f\x30\x38\
\x2f\x31\x33\x2d\x31\x36\x3a\x34\x30\x3a\x32\x32\x20\x20\x20\x20\
\x20\x20\x20\x20\x22\x3e\x20\x3c\x72\x64\x66\x3a\x52\x44\x46\x20\
\x78\x6d\x6c\x6e\x73\x3a\x72\x64\x66\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x31\x39\x39\
\x39\x2f\x30\x32\x2f\x32\x32\x2d\x72\x64\x66\x2d\x73\x79\x6e\x74\
\x61\x78\x2d\x6e\x73\x23\x22\x3e\x20\x3c\x72\x64\x66\x3a\x44\x65\
\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\
\x6f\x75\x74\x3d\x22\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\x70\
\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\
\x65\x2e\x63\x6f\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x22\x20\
\x78\x6d\x6c\x6e\x73\x3a\x64\x63\x3d\x22\x68\x74\x74\x70\x3a\x2f\
\x2f\x70\x75\x72\x6c\x2e\x6f\x72\x67\x2f\x64\x63\x2f\x65\x6c\x65\
\x6d\x65\x6e\x74\x73\x2f\x31\x2e\x31\x2f\x22\x20\x78\x6d\x6c\x6e\
\x73\x3a\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3d\x22\x68\x74\x74\
\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\
\x2f\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x2f\x31\x2e\x30\x2f\x22\
\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\x70\x4d\x4d\x3d\x22\x68\x74\
\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\
\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x6d\x6d\x2f\x22\x20\x78\
\x6d\x6c\x6e\x73\x3a\x73\x74\x45\x76\x74\x3d\x22\x68\x74\x74\x70\
\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\
\x78\x61\x70\x2f\x31\x2e\x30\x2f\x73\x54\x79\x70\x65\x2f\x52\x65\
\x73\x6f\x75\x72\x63\x65\x45\x76\x65\x6e\x74\x23\x22\x20\x78\x6d\
\x70\x3a\x43\x72\x65\x61\x74\x6f\x72\x54\x6f\x6f\x6c\x3d\x22\x41\
\x64\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x43\
\x43\x20\x32\x30\x31\x39\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\
\x22\x20\x78\x6d\x70\x3a\x43\x72\x65\x61\x74\x65\x44\x61\x74\x65\
\x3d\x22\x32\x30\x32\x30\x2d\x30\x35\x2d\x32\x37\x54\x31\x37\x3a\
\x35\x36\x3a\x33\x35\x2d\x30\x37\x3a\x30\x30\x22\x20\x78\x6d\x70\
\x3a\x4d\x6f\x64\x69\x66\x79\x44\x61\x74\x65\x3d\x22\x32\x30\x32\
\x30\x2d\x30\x35\x2d\x32\x37\x54\x31\x37\x3a\x35\x37\x3a\x35\x39\
\x2d\x30\x37\x3a\x30\x30\x22\x20\x78\x6d\x70\x3a\x4d\x65\x74\x61\
\x64\x61\x74\x61\x44\x61\x74\x65\x3d\x22\x32\x30\x32\x30\x2d\x30\
\x35\x2d\x32\x37\x54\x31\x37\x3a\x35\x37\x3a\x35\x39\x2d\x30\x37\
\x3a\x30\x30\x22\x20\x64\x63\x3a\x66\x6f\x72\x6d\x61\x74\x3d\x22\
\x69\x6d\x61\x67\x65\x2f\x70\x6e\x67\x22\x20\x70\x68\x6f\x74\x6f\
\x73\x68\x6f\x70\x3a\x43\x6f\x6c\x6f\x72\x4d\x6f\x64\x65\x3d\x22\
\x33\x22\x20\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x49\x43\x43\
\x50\x72\x6f\x66\x69\x6c\x65\x3d\x22\x73\x52\x47\x42\x20\x49\x45\
\x43\x36\x31\x39\x36\x36\x2d\x32\x2e\x31\x22\x20\x78\x6d\x70\x4d\
\x4d\x3a\x49\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\x78\x6d\
\x70\x2e\x69\x69\x64\x3a\x38\x39\x61\x34\x30\x32\x61\x63\x2d\x37\
\x62\x38\x62\x2d\x30\x38\x34\x38\x2d\x38\x65\x37\x35\x2d\x38\x37\
\x64\x31\x38\x35\x34\x62\x39\x32\x64\x30\x22\x20\x78\x6d\x70\x4d\
\x4d\x3a\x44\x6f\x63\x75\x6d\x65\x6e\x74\x49\x44\x3d\x22\x78\x6d\
\x70\x2e\x64\x69\x64\x3a\x38\x39\x61\x34\x30\x32\x61\x63\x2d\x37\
\x62\x38\x62\x2d\x30\x38\x34\x38\x2d\x38\x65\x37\x35\x2d\x38\x37\
\x64\x31\x38\x35\x34\x62\x39\x32\x64\x30\x22\x20\x78\x6d\x70\x4d\
\x4d\x3a\x4f\x72\x69\x67\x69\x6e\x61\x6c\x44\x6f\x63\x75\x6d\x65\
\x6e\x74\x49\x44\x3d\x22\x78\x6d\x70\x2e\x64\x69\x64\x3a\x38\x39\
\x61\x34\x30\x32\x61\x63\x2d\x37\x62\x38\x62\x2d\x30\x38\x34\x38\
\x2d\x38\x65\x37\x35\x2d\x38\x37\x64\x31\x38\x35\x34\x62\x39\x32\
\x64\x30\x22\x3e\x20\x3c\x78\x6d\x70\x4d\x4d\x3a\x48\x69\x73\x74\
\x6f\x72\x79\x3e\x20\x3c\x72\x64\x66\x3a\x53\x65\x71\x3e\x20\x3c\
\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\x74\x3a\x61\x63\x74\
\x69\x6f\x6e\x3d\x22\x63\x72\x65\x61\x74\x65\x64\x22\x20\x73\x74\
\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\
\x78\x6d\x70\x2e\x69\x69\x64\x3a\x38\x39\x61\x34\x30\x32\x61\x63\
\x2d\x37\x62\x38\x62\x2d\x30\x38\x34\x38\x2d\x38\x65\x37\x35\x2d\
\x38\x37\x64\x31\x38\x35\x34\x62\x39\x32\x64\x30\x22\x20\x73\x74\
\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\x32\x30\x32\x30\x2d\x30\
\x35\x2d\x32\x37\x54\x31\x37\x3a\x35\x36\x3a\x33\x35\x2d\x30\x37\
\x3a\x30\x30\x22\x20\x73\x74\x45\x76\x74\x3a\x73\x6f\x66\x74\x77\
\x61\x72\x65\x41\x67\x65\x6e\x74\x3d\x22\x41\x64\x6f\x62\x65\x20\
\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x43\x43\x20\x32\x30\x31\
\x39\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x2f\x3e\x20\x3c\
\x2f\x72\x64\x66\x3a\x53\x65\x71\x3e\x20\x3c\x2f\x78\x6d\x70\x4d\
\x4d\x3a\x48\x69\x73\x74\x6f\x72\x79\x3e\x20\x3c\x2f\x72\x64\x66\
\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x3e\x20\x3c\x2f\
\x72\x64\x66\x3a\x52\x44\x46\x3e\x20\x3c\x2f\x78\x3a\x78\x6d\x70\
\x6d\x65\x74\x61\x3e\x20\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\
\x65\x6e\x64\x3d\x22\x72\x22\x3f\x3e\x2d\x4b\x9d\x29\x00\x00\x06\
\x5a\x49\x44\x41\x54\x48\xc7\x7d\x56\x5b\x6c\x54\xe5\x16\x5e\xfb\
\x36\x9d\xce\x65\xcf\xb5\x33\x9d\x19\xb0\xa3\x16\x7a\xa1\xc5\x92\
\x52\x05\x21\xf1\x82\x1a\x09\x39\x18\xf1\x40\x8c\x35\x39\x0f\x6d\
\xce\xab\x39\x91\x37\x13\x8d\x12\x5f\xf1\x05\x13\x31\xb1\x2f\x06\
\xe4\xa9\x4a\x8a\xa0\x21\x46\x8d\x9e\x1c\x2f\xd8\x08\x25\x47\x5a\
\x92\x5e\xb4\xb7\x99\xe9\x65\x6e\xfb\x32\xfb\xea\xf7\x6f\x5a\xd3\
\x80\xfa\x27\x2b\x7b\xcf\xde\xff\xfe\xbe\xb5\xbe\xb5\xd6\xbf\x86\
\x3b\x7e\xfc\x38\xfd\xd9\xe2\x38\x8e\x5d\x5a\x70\x7d\xd0\x71\x9c\
\x6d\xba\xae\x47\xd7\xd7\xd7\xb5\x72\xb9\xbc\x60\x9a\xe6\x2d\x9e\
\xe7\x97\x5d\xd7\xf5\xf6\x3a\xb6\x49\xae\x63\x90\x63\x29\x14\x6d\
\xed\xa7\xde\xc3\xef\x13\xe7\x4b\x93\xa6\xac\x91\x48\x7f\xb3\x00\
\x9e\x04\x48\x02\x80\xab\xaa\xaa\x96\x14\x45\xf1\xe1\x9a\xd5\x34\
\xad\x62\x18\xc6\xf2\xe6\x3e\xd7\xd6\xc8\xe7\x6b\xa2\x44\xa6\x9b\
\xda\xf6\x0c\x93\x28\x05\xc8\x72\x1a\x78\xe1\x90\x08\xef\xee\xf6\
\xfa\xce\x47\xf0\x8e\x11\xe0\x36\x64\x59\xd6\x0d\x78\x5f\x58\x5a\
\x5a\xca\x83\xa0\xbd\x56\xab\x65\xf1\x7e\x02\xef\xac\xcd\xfd\x01\
\xbf\x41\x0f\x0c\x3c\x46\xb9\x5d\x27\xc8\xb6\x6c\x6a\x94\x4b\xc0\
\xb0\x49\xc4\xc7\x7f\x29\x11\x33\xdb\xb6\x9b\x20\x4f\xca\xe7\xf3\
\xc5\xfd\x7e\x7f\x6f\xa5\x52\x49\x03\x5c\xc1\x96\x0c\x6c\x81\x29\
\xe4\x39\xe4\x58\x24\x08\x3e\xdc\xdc\x71\xce\xbb\xc1\xe2\x19\xc1\
\x56\x83\x1c\x9e\x41\x02\xf6\x5b\x5f\x5d\x5d\x75\x66\x67\x67\xb3\
\xf9\x7c\xfe\xc8\xa9\x53\xa7\x86\x8e\x1c\x39\xf2\x14\xbe\xeb\x86\
\x6d\x83\x25\x60\xd2\x1d\x8f\x3c\x1a\xb2\x4c\xd5\x23\xdb\x5c\x22\
\x3c\xfc\x53\xef\xf1\x5c\x44\x42\x8d\x62\xb1\xc8\xc7\x62\xb1\xfe\
\x93\x27\x4f\x1e\xea\xed\xed\x3d\xc8\x9c\x08\x04\x02\xfc\xe8\xe8\
\x68\xb9\x5e\xaf\xfb\xb1\x7d\x0a\x56\x04\xbe\xc9\x08\x5c\x97\x05\
\xc4\x6f\x32\x7a\x77\xf7\x2c\x84\x28\xc2\x32\xd0\x5d\x46\xb5\x6c\
\x3f\x73\xe6\xcc\xf3\xfd\xfd\xfd\x7b\x67\x66\xa6\x09\x09\xa6\xc1\
\xc1\xc1\xbe\xb1\xb1\x4f\x07\xc3\xe1\xd0\x21\x6c\x7f\x08\x96\x07\
\xaf\xb4\x59\x55\x5b\xd7\x3d\x04\xa2\x28\xfa\x50\x2d\xf1\xe5\xe5\
\xe5\x5c\xa3\xd1\x38\x30\x32\x32\x72\xb8\xaf\xaf\xaf\x07\xaf\xfc\
\xb3\xb3\x73\x54\x28\x2c\x63\x8f\xd0\x8c\x68\x7a\x46\x46\x3e\x3a\
\x2a\x49\x4d\xcf\xe2\x5d\xaf\x61\x7b\x92\xc1\x6f\xee\x0f\xef\x3d\
\xbc\xad\xb2\xa0\xa2\xc4\x6a\xb5\x1a\x45\x95\xec\x40\xf8\x8f\x02\
\xfc\xe8\x7e\x2c\x48\x45\x2b\x2b\x2b\x54\xab\x55\x11\x81\x4e\xd7\
\xae\xfd\x48\xc9\x64\x86\xf6\xec\x19\xe8\x7d\xef\xbd\x0f\xa5\x7f\
\x0f\x9d\x60\x42\xbb\xd5\x6a\x2d\xc1\x09\x3e\x1d\x24\x6b\x80\x2b\
\xb2\x2a\x13\xda\xdb\xdb\x37\x09\x58\x3e\x32\xa5\x52\xa9\x0d\x95\
\x72\xf0\xc2\x85\x0b\x2f\xc1\xf3\xdd\x20\x14\x19\x38\x22\xa2\x52\
\xa9\x48\x90\x8d\x24\x49\x42\x01\xb8\x28\x06\x97\xb2\xd9\xb6\xd8\
\x81\xfd\x0f\xcb\x3f\xfd\xf8\x95\xc1\x05\x3b\x0e\x6c\xef\x78\xfa\
\x45\x9e\x17\xb2\xa6\xa1\x97\x1c\xdb\x5a\x11\x76\xee\xdc\xc9\xc0\
\x59\x03\xc5\x0a\x85\x42\x1b\x00\x9f\x3c\x77\xee\xdc\xf3\x3d\x3d\
\x3d\xfd\x2c\xa2\xf9\xf9\x79\x62\x11\x2c\x2e\x2e\x7a\x55\x96\xcb\
\xe5\x40\xd0\x04\xb2\x32\x9e\xd7\x11\x49\x2b\x9f\xcd\x64\xa3\xdd\
\xdd\xbb\x63\x9a\xc9\xe7\x2a\x8a\xd0\x4e\x62\x30\xcf\xf3\x92\xe6\
\x3a\xf6\xaa\xd0\xd6\xd6\xe6\x83\x1c\x51\x94\xe3\x0e\x24\xf0\xe0\
\xf9\xf3\xe7\x9f\x83\xe7\xfb\xf0\x8c\x63\xe0\xba\xae\x11\x72\x41\
\x6b\x6b\x6b\x90\x47\x21\x59\x0e\x03\xb8\x4a\xd5\x2a\xeb\xde\x20\
\x64\x53\x28\xd9\x92\x12\x0e\x1f\x3e\x94\x32\x94\xf5\xe5\xab\x57\
\x2f\xcf\xf0\x81\xfb\x77\x34\x05\x92\x2d\x8e\x6d\x98\x22\x3c\xdf\
\x8e\xb0\x53\x68\xa2\x47\xcf\x9e\x3d\xfb\x52\x67\x67\x67\x17\x72\
\x40\x20\x24\x45\xa9\xc3\x6b\xdb\x6b\x9c\x60\x30\x44\x0b\x0b\x0b\
\x74\xfd\xfa\x0d\xf2\xfb\x65\x4a\xa7\xf3\x20\x8b\x50\x38\x1c\xa1\
\x10\x8c\x1d\x08\x96\x36\xbf\xe8\x28\xb7\x66\xd4\xfa\xda\xae\xa6\
\x90\xd1\xe7\x5a\xba\xce\x92\xdc\xdd\xd1\xd1\x31\x30\x3c\x3c\xfc\
\x0c\xc0\x1f\x42\x59\x72\x38\x12\x00\xae\x40\x63\xc3\x03\xb7\x6d\
\x87\x78\xde\x07\x69\xc2\xd4\xdc\x9c\x80\xe7\xcd\x00\x8f\x52\x34\
\x1a\xa7\xce\xce\x6e\x10\x4a\xee\xe5\xcf\x3e\x1b\xff\x74\xec\xdc\
\x17\xc1\xe6\x88\x0d\xed\x95\x7a\x5d\x6d\x25\x5b\xed\x66\x47\x45\
\xfe\xd8\xb1\x63\x4f\xa0\x43\x1f\x61\x5e\xcf\xcc\xcc\x10\xa2\x82\
\xe7\x26\xab\x2a\x5c\x1d\xfc\x36\x40\x68\x52\x24\x92\x42\x93\x25\
\x10\x4d\x98\x52\xa9\x56\x4a\x24\xe2\x20\xe5\x8d\xe9\xe9\x5b\x53\
\xef\x9c\x3e\xf5\x89\x5e\x99\xba\x92\xbc\xef\x60\x7b\x15\xda\x54\
\x51\x71\xbc\x53\x0f\x88\xcc\x5b\x54\xcd\x1f\x75\xcb\xf4\x36\x8c\
\x86\x07\x6e\x9a\xf6\x06\xb8\x81\x5c\xb0\x0e\x15\x28\x1e\x8f\x7b\
\x72\xc5\xe3\x31\xc8\x94\xa2\xdb\xb7\x6f\x4e\xbc\xf1\xfa\x7f\xc6\
\x38\xb2\xbe\x41\x44\x53\xa6\x13\xf2\xab\xaa\x62\xe8\x54\xc1\x6e\
\x85\x17\x50\x35\xe9\x89\x89\x09\x03\x1f\x36\x65\x32\xad\xd9\x60\
\xb0\x99\x2b\x97\xd7\x41\x62\x02\xd4\xf2\xc0\x35\xcd\xf6\x7a\x52\
\x92\x7c\x14\x0a\x05\x29\x9f\xbf\x1f\xda\x07\xdd\xb9\xb9\xdb\xe3\
\x6f\xbe\x79\xf2\x8a\xa6\x56\xbe\x94\x83\xe2\x2f\x66\xe0\x91\x5a\
\xc9\xec\x8c\xd7\x8c\xc4\x0b\xf8\xbe\xd5\x32\x74\x41\xc0\x97\x36\
\x48\x96\x2e\x5e\xbc\xa8\x0e\x0c\x3c\x9c\x41\xe2\x62\x92\xe4\x17\
\xea\x75\x1d\xd5\xa2\x80\xc4\xf6\x3c\x17\x45\x89\x5a\x5a\x52\x90\
\x26\xc5\xc0\x1b\xc5\xe2\xe2\x2f\xaf\xbc\xf2\xaf\x51\x4d\x53\xbf\
\xbc\x2f\x97\x98\x91\x43\xe2\xf2\x82\xba\xcb\xfd\x4d\xd9\xbd\xcd\
\x30\xac\x17\x1d\xab\x9e\xb4\x4c\xa3\xc0\x08\xea\x30\x0d\xa6\xe3\
\x00\xd3\xf6\xee\xdd\x17\x95\xe5\x78\xd6\xb2\x78\x34\x55\x1d\x49\
\xe6\x90\xd8\x00\x40\xc3\x94\xc9\x64\x41\x90\xa6\xe9\xe9\xc9\xf1\
\xa1\xa1\x7f\x8e\x22\x7f\xdf\x46\x22\xf2\x64\x4b\x54\x28\x28\x96\
\x6c\xaf\xaa\x49\x2a\xd4\xa2\xdb\x2d\x53\x7f\xce\xb5\x75\xf4\xad\
\x75\x59\x40\xd5\x30\x71\xcd\x0d\x12\x6d\x6c\xec\x22\xed\xdb\xf7\
\x58\x88\xe7\xfd\xa9\x58\x2c\xc9\x61\x16\x78\xe0\x5d\x5d\xbb\xa0\
\x7d\xb3\x33\x31\xf1\xd3\xf8\xf0\xf0\x89\x2b\x95\x4a\xf9\x2b\x59\
\x96\x6f\xe5\xd2\xf2\xba\xea\x24\xcc\xf9\x6a\x8e\xe6\x2b\x69\xd2\
\x1b\x4e\x02\x39\xde\xc9\x73\xee\xcf\x1c\xc7\x5f\x10\x36\x06\x0b\
\xd3\xa1\xb1\x31\x3c\x6a\x97\x2e\x7d\x6c\xec\xdf\xff\x78\x2a\x91\
\x68\x91\xa1\x37\x9a\x31\x0f\xfd\x05\x63\x7c\xfc\xbb\xdb\x2f\xbf\
\x7c\x74\xb4\x52\xa9\x7e\x9d\x4e\xa7\xe7\xa2\x91\x48\x21\x16\xe6\
\xcd\xba\xd5\x42\x37\x0b\xbd\xa4\xa8\x51\x9c\x39\x3a\x4f\x9c\xa3\
\xe2\xd0\xfc\x16\xf6\x3d\xbf\xe5\xb0\x33\x11\xcd\x6f\xb8\xfd\x3f\
\xec\x7f\xaf\xbe\x3a\x74\x69\x72\xf2\xc6\x64\x57\xd7\x83\x90\x25\
\x4e\x57\xaf\x8e\x4d\x0e\x0e\xfe\x63\xac\xd1\x30\x7e\xf0\xf9\xa4\
\x29\x9c\x37\x0b\x68\x19\x8b\x4d\x59\x8e\xc3\x1c\xf0\x4e\x50\x6f\
\x92\xad\xe0\xee\x73\xdc\x5c\x63\x4e\x8b\x77\x0d\x1a\x13\x07\x59\
\x11\x13\x8d\xcd\x5b\xe1\xf4\xe9\xb7\x62\xe5\xf2\x2a\x07\x62\xfa\
\xe0\x83\x77\xbf\x47\xc3\xfd\x97\x39\x10\x0e\xcb\x2b\x78\x66\x32\
\x70\x36\x02\x78\xce\x21\x81\xc7\x14\x83\xda\xc0\x00\x29\x57\xbd\
\xe7\xb8\xde\xb2\x1a\x08\xad\x88\x04\xce\x2d\x2d\x2d\x5e\x7b\xfb\
\xed\xd7\x36\x9b\x84\x4d\xae\x5f\x99\x03\x1b\x72\xde\x35\xa4\x58\
\x28\xae\x37\x0a\x36\xff\x3c\xb0\x53\xe0\x77\x6b\x0b\x7f\xba\xbf\
\x17\xcf\xc4\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x0c\x95\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x40\x00\x00\x00\x40\x08\x02\x00\x00\x00\x25\x0b\xe6\x89\
\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\
\x01\x00\x9a\x9c\x18\x00\x00\x0a\xaf\x69\x54\x58\x74\x58\x4d\x4c\
\x3a\x63\x6f\x6d\x2e\x61\x64\x6f\x62\x65\x2e\x78\x6d\x70\x00\x00\
\x00\x00\x00\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\
\x69\x6e\x3d\x22\xef\xbb\xbf\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\
\x30\x4d\x70\x43\x65\x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\
\x7a\x6b\x63\x39\x64\x22\x3f\x3e\x20\x3c\x78\x3a\x78\x6d\x70\x6d\
\x65\x74\x61\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\
\x62\x65\x3a\x6e\x73\x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\
\x6d\x70\x74\x6b\x3d\x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\
\x43\x6f\x72\x65\x20\x35\x2e\x36\x2d\x63\x31\x34\x35\x20\x37\x39\
\x2e\x31\x36\x33\x34\x39\x39\x2c\x20\x32\x30\x31\x38\x2f\x30\x38\
\x2f\x31\x33\x2d\x31\x36\x3a\x34\x30\x3a\x32\x32\x20\x20\x20\x20\
\x20\x20\x20\x20\x22\x3e\x20\x3c\x72\x64\x66\x3a\x52\x44\x46\x20\
\x78\x6d\x6c\x6e\x73\x3a\x72\x64\x66\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x31\x39\x39\
\x39\x2f\x30\x32\x2f\x32\x32\x2d\x72\x64\x66\x2d\x73\x79\x6e\x74\
\x61\x78\x2d\x6e\x73\x23\x22\x3e\x20\x3c\x72\x64\x66\x3a\x44\x65\
\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\
\x6f\x75\x74\x3d\x22\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x64\x63\x3d\
\x22\x68\x74\x74\x70\x3a\x2f\x2f\x70\x75\x72\x6c\x2e\x6f\x72\x67\
\x2f\x64\x63\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x31\x2e\x31\
\x2f\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\x70\x3d\x22\x68\x74\
\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\
\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x22\x20\x78\x6d\x6c\x6e\
\x73\x3a\x78\x6d\x70\x4d\x4d\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\
\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x78\x61\x70\
\x2f\x31\x2e\x30\x2f\x6d\x6d\x2f\x22\x20\x78\x6d\x6c\x6e\x73\x3a\
\x73\x74\x52\x65\x66\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\x73\
\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x78\x61\x70\x2f\x31\
\x2e\x30\x2f\x73\x54\x79\x70\x65\x2f\x52\x65\x73\x6f\x75\x72\x63\
\x65\x52\x65\x66\x23\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x73\x74\x45\
\x76\x74\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\
\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\
\x73\x54\x79\x70\x65\x2f\x52\x65\x73\x6f\x75\x72\x63\x65\x45\x76\
\x65\x6e\x74\x23\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x70\x68\x6f\x74\
\x6f\x73\x68\x6f\x70\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\x73\
\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x70\x68\x6f\x74\x6f\
\x73\x68\x6f\x70\x2f\x31\x2e\x30\x2f\x22\x20\x78\x6d\x6c\x6e\x73\
\x3a\x78\x6d\x70\x52\x69\x67\x68\x74\x73\x3d\x22\x68\x74\x74\x70\
\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\
\x78\x61\x70\x2f\x31\x2e\x30\x2f\x72\x69\x67\x68\x74\x73\x2f\x22\
\x20\x78\x6d\x6c\x6e\x73\x3a\x74\x69\x66\x66\x3d\x22\x68\x74\x74\
\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\
\x2f\x74\x69\x66\x66\x2f\x31\x2e\x30\x2f\x22\x20\x78\x6d\x6c\x6e\
\x73\x3a\x65\x78\x69\x66\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\
\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x65\x78\x69\x66\
\x2f\x31\x2e\x30\x2f\x22\x20\x64\x63\x3a\x66\x6f\x72\x6d\x61\x74\
\x3d\x22\x69\x6d\x61\x67\x65\x2f\x70\x6e\x67\x22\x20\x78\x6d\x70\
\x3a\x43\x72\x65\x61\x74\x6f\x72\x54\x6f\x6f\x6c\x3d\x22\x41\x64\
\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x43\x43\
\x20\x32\x30\x31\x39\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\
\x20\x78\x6d\x70\x3a\x43\x72\x65\x61\x74\x65\x44\x61\x74\x65\x3d\
\x22\x32\x30\x30\x39\x2d\x30\x34\x2d\x31\x35\x54\x31\x32\x3a\x34\
\x34\x3a\x31\x38\x2b\x30\x39\x3a\x30\x30\x22\x20\x78\x6d\x70\x3a\
\x4d\x6f\x64\x69\x66\x79\x44\x61\x74\x65\x3d\x22\x32\x30\x32\x30\
\x2d\x30\x35\x2d\x32\x30\x54\x31\x34\x3a\x30\x32\x3a\x32\x35\x2d\
\x30\x37\x3a\x30\x30\x22\x20\x78\x6d\x70\x3a\x4d\x65\x74\x61\x64\
\x61\x74\x61\x44\x61\x74\x65\x3d\x22\x32\x30\x32\x30\x2d\x30\x35\
\x2d\x32\x30\x54\x31\x34\x3a\x30\x32\x3a\x32\x35\x2d\x30\x37\x3a\
\x30\x30\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x44\x6f\x63\x75\x6d\x65\
\x6e\x74\x49\x44\x3d\x22\x61\x64\x6f\x62\x65\x3a\x64\x6f\x63\x69\
\x64\x3a\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x31\x30\x66\x36\
\x38\x63\x35\x36\x2d\x31\x32\x32\x31\x2d\x31\x31\x34\x62\x2d\x62\
\x64\x65\x30\x2d\x63\x36\x35\x32\x32\x34\x33\x63\x33\x66\x35\x62\
\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x49\x6e\x73\x74\x61\x6e\x63\x65\
\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\x66\x62\x66\x62\
\x36\x38\x39\x35\x2d\x39\x65\x66\x66\x2d\x31\x62\x34\x30\x2d\x39\
\x38\x65\x37\x2d\x37\x36\x39\x33\x62\x65\x63\x31\x31\x38\x39\x61\
\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x4f\x72\x69\x67\x69\x6e\x61\x6c\
\x44\x6f\x63\x75\x6d\x65\x6e\x74\x49\x44\x3d\x22\x75\x75\x69\x64\
\x3a\x46\x34\x45\x34\x43\x38\x42\x32\x36\x46\x32\x39\x44\x45\x31\
\x31\x39\x39\x39\x38\x39\x32\x36\x38\x43\x34\x45\x44\x45\x36\x31\
\x45\x22\x20\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x43\x6f\x6c\
\x6f\x72\x4d\x6f\x64\x65\x3d\x22\x33\x22\x20\x70\x68\x6f\x74\x6f\
\x73\x68\x6f\x70\x3a\x49\x43\x43\x50\x72\x6f\x66\x69\x6c\x65\x3d\
\x22\x73\x52\x47\x42\x20\x49\x45\x43\x36\x31\x39\x36\x36\x2d\x32\
\x2e\x31\x22\x20\x78\x6d\x70\x52\x69\x67\x68\x74\x73\x3a\x4d\x61\
\x72\x6b\x65\x64\x3d\x22\x46\x61\x6c\x73\x65\x22\x20\x74\x69\x66\
\x66\x3a\x4f\x72\x69\x65\x6e\x74\x61\x74\x69\x6f\x6e\x3d\x22\x31\
\x22\x20\x74\x69\x66\x66\x3a\x58\x52\x65\x73\x6f\x6c\x75\x74\x69\
\x6f\x6e\x3d\x22\x37\x32\x30\x30\x30\x30\x2f\x31\x30\x30\x30\x30\
\x22\x20\x74\x69\x66\x66\x3a\x59\x52\x65\x73\x6f\x6c\x75\x74\x69\
\x6f\x6e\x3d\x22\x37\x32\x30\x30\x30\x30\x2f\x31\x30\x30\x30\x30\
\x22\x20\x74\x69\x66\x66\x3a\x52\x65\x73\x6f\x6c\x75\x74\x69\x6f\
\x6e\x55\x6e\x69\x74\x3d\x22\x32\x22\x20\x65\x78\x69\x66\x3a\x43\
\x6f\x6c\x6f\x72\x53\x70\x61\x63\x65\x3d\x22\x31\x22\x20\x65\x78\
\x69\x66\x3a\x50\x69\x78\x65\x6c\x58\x44\x69\x6d\x65\x6e\x73\x69\
\x6f\x6e\x3d\x22\x33\x32\x22\x20\x65\x78\x69\x66\x3a\x50\x69\x78\
\x65\x6c\x59\x44\x69\x6d\x65\x6e\x73\x69\x6f\x6e\x3d\x22\x37\x34\
\x22\x3e\x20\x3c\x78\x6d\x70\x4d\x4d\x3a\x44\x65\x72\x69\x76\x65\
\x64\x46\x72\x6f\x6d\x20\x73\x74\x52\x65\x66\x3a\x69\x6e\x73\x74\
\x61\x6e\x63\x65\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\
\x31\x36\x30\x61\x63\x64\x37\x35\x2d\x66\x34\x37\x31\x2d\x36\x65\
\x34\x31\x2d\x62\x61\x61\x65\x2d\x32\x36\x62\x37\x38\x31\x62\x61\
\x62\x34\x30\x33\x22\x20\x73\x74\x52\x65\x66\x3a\x64\x6f\x63\x75\
\x6d\x65\x6e\x74\x49\x44\x3d\x22\x61\x64\x6f\x62\x65\x3a\x64\x6f\
\x63\x69\x64\x3a\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x63\x61\
\x35\x36\x66\x33\x63\x37\x2d\x63\x34\x61\x62\x2d\x35\x37\x34\x66\
\x2d\x39\x62\x33\x61\x2d\x61\x35\x33\x61\x66\x37\x32\x33\x66\x34\
\x66\x32\x22\x20\x73\x74\x52\x65\x66\x3a\x6f\x72\x69\x67\x69\x6e\
\x61\x6c\x44\x6f\x63\x75\x6d\x65\x6e\x74\x49\x44\x3d\x22\x75\x75\
\x69\x64\x3a\x46\x34\x45\x34\x43\x38\x42\x32\x36\x46\x32\x39\x44\
\x45\x31\x31\x39\x39\x39\x38\x39\x32\x36\x38\x43\x34\x45\x44\x45\
\x36\x31\x45\x22\x2f\x3e\x20\x3c\x78\x6d\x70\x4d\x4d\x3a\x48\x69\
\x73\x74\x6f\x72\x79\x3e\x20\x3c\x72\x64\x66\x3a\x53\x65\x71\x3e\
\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\x74\x3a\x61\
\x63\x74\x69\x6f\x6e\x3d\x22\x73\x61\x76\x65\x64\x22\x20\x73\x74\
\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\
\x78\x6d\x70\x2e\x69\x69\x64\x3a\x36\x35\x61\x33\x30\x36\x31\x30\
\x2d\x62\x36\x35\x39\x2d\x32\x31\x34\x32\x2d\x38\x39\x32\x36\x2d\
\x63\x33\x63\x37\x66\x64\x39\x39\x38\x37\x64\x63\x22\x20\x73\x74\
\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\x32\x30\x32\x30\x2d\x30\
\x35\x2d\x32\x30\x54\x31\x33\x3a\x32\x37\x3a\x31\x31\x2d\x30\x37\
\x3a\x30\x30\x22\x20\x73\x74\x45\x76\x74\x3a\x73\x6f\x66\x74\x77\
\x61\x72\x65\x41\x67\x65\x6e\x74\x3d\x22\x41\x64\x6f\x62\x65\x20\
\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x43\x43\x20\x32\x30\x31\
\x39\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x20\x73\x74\x45\
\x76\x74\x3a\x63\x68\x61\x6e\x67\x65\x64\x3d\x22\x2f\x22\x2f\x3e\
\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\x74\x3a\x61\
\x63\x74\x69\x6f\x6e\x3d\x22\x73\x61\x76\x65\x64\x22\x20\x73\x74\
\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\
\x78\x6d\x70\x2e\x69\x69\x64\x3a\x31\x36\x30\x61\x63\x64\x37\x35\
\x2d\x66\x34\x37\x31\x2d\x36\x65\x34\x31\x2d\x62\x61\x61\x65\x2d\
\x32\x36\x62\x37\x38\x31\x62\x61\x62\x34\x30\x33\x22\x20\x73\x74\
\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\x32\x30\x32\x30\x2d\x30\
\x35\x2d\x32\x30\x54\x31\x34\x3a\x30\x32\x3a\x32\x35\x2d\x30\x37\
\x3a\x30\x30\x22\x20\x73\x74\x45\x76\x74\x3a\x73\x6f\x66\x74\x77\
\x61\x72\x65\x41\x67\x65\x6e\x74\x3d\x22\x41\x64\x6f\x62\x65\x20\
\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x43\x43\x20\x32\x30\x31\
\x39\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x20\x73\x74\x45\
\x76\x74\x3a\x63\x68\x61\x6e\x67\x65\x64\x3d\x22\x2f\x22\x2f\x3e\
\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\x74\x3a\x61\
\x63\x74\x69\x6f\x6e\x3d\x22\x63\x6f\x6e\x76\x65\x72\x74\x65\x64\
\x22\x20\x73\x74\x45\x76\x74\x3a\x70\x61\x72\x61\x6d\x65\x74\x65\
\x72\x73\x3d\x22\x66\x72\x6f\x6d\x20\x61\x70\x70\x6c\x69\x63\x61\
\x74\x69\x6f\x6e\x2f\x76\x6e\x64\x2e\x61\x64\x6f\x62\x65\x2e\x70\
\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x74\x6f\x20\x69\x6d\x61\x67\
\x65\x2f\x70\x6e\x67\x22\x2f\x3e\x20\x3c\x72\x64\x66\x3a\x6c\x69\
\x20\x73\x74\x45\x76\x74\x3a\x61\x63\x74\x69\x6f\x6e\x3d\x22\x64\
\x65\x72\x69\x76\x65\x64\x22\x20\x73\x74\x45\x76\x74\x3a\x70\x61\
\x72\x61\x6d\x65\x74\x65\x72\x73\x3d\x22\x63\x6f\x6e\x76\x65\x72\
\x74\x65\x64\x20\x66\x72\x6f\x6d\x20\x61\x70\x70\x6c\x69\x63\x61\
\x74\x69\x6f\x6e\x2f\x76\x6e\x64\x2e\x61\x64\x6f\x62\x65\x2e\x70\
\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x74\x6f\x20\x69\x6d\x61\x67\
\x65\x2f\x70\x6e\x67\x22\x2f\x3e\x20\x3c\x72\x64\x66\x3a\x6c\x69\
\x20\x73\x74\x45\x76\x74\x3a\x61\x63\x74\x69\x6f\x6e\x3d\x22\x73\
\x61\x76\x65\x64\x22\x20\x73\x74\x45\x76\x74\x3a\x69\x6e\x73\x74\
\x61\x6e\x63\x65\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\
\x66\x62\x66\x62\x36\x38\x39\x35\x2d\x39\x65\x66\x66\x2d\x31\x62\
\x34\x30\x2d\x39\x38\x65\x37\x2d\x37\x36\x39\x33\x62\x65\x63\x31\
\x31\x38\x39\x61\x22\x20\x73\x74\x45\x76\x74\x3a\x77\x68\x65\x6e\
\x3d\x22\x32\x30\x32\x30\x2d\x30\x35\x2d\x32\x30\x54\x31\x34\x3a\
\x30\x32\x3a\x32\x35\x2d\x30\x37\x3a\x30\x30\x22\x20\x73\x74\x45\
\x76\x74\x3a\x73\x6f\x66\x74\x77\x61\x72\x65\x41\x67\x65\x6e\x74\
\x3d\x22\x41\x64\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\
\x70\x20\x43\x43\x20\x32\x30\x31\x39\x20\x28\x57\x69\x6e\x64\x6f\
\x77\x73\x29\x22\x20\x73\x74\x45\x76\x74\x3a\x63\x68\x61\x6e\x67\
\x65\x64\x3d\x22\x2f\x22\x2f\x3e\x20\x3c\x2f\x72\x64\x66\x3a\x53\
\x65\x71\x3e\x20\x3c\x2f\x78\x6d\x70\x4d\x4d\x3a\x48\x69\x73\x74\
\x6f\x72\x79\x3e\x20\x3c\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\
\x44\x6f\x63\x75\x6d\x65\x6e\x74\x41\x6e\x63\x65\x73\x74\x6f\x72\
\x73\x3e\x20\x3c\x72\x64\x66\x3a\x42\x61\x67\x3e\x20\x3c\x72\x64\
\x66\x3a\x6c\x69\x3e\x75\x75\x69\x64\x3a\x32\x32\x38\x42\x36\x46\
\x46\x31\x33\x33\x35\x30\x44\x44\x31\x31\x39\x41\x35\x33\x43\x35\
\x38\x34\x39\x42\x33\x39\x31\x35\x34\x30\x3c\x2f\x72\x64\x66\x3a\
\x6c\x69\x3e\x20\x3c\x2f\x72\x64\x66\x3a\x42\x61\x67\x3e\x20\x3c\
\x2f\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x44\x6f\x63\x75\x6d\
\x65\x6e\x74\x41\x6e\x63\x65\x73\x74\x6f\x72\x73\x3e\x20\x3c\x2f\
\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x3e\
\x20\x3c\x2f\x72\x64\x66\x3a\x52\x44\x46\x3e\x20\x3c\x2f\x78\x3a\
\x78\x6d\x70\x6d\x65\x74\x61\x3e\x20\x3c\x3f\x78\x70\x61\x63\x6b\
\x65\x74\x20\x65\x6e\x64\x3d\x22\x72\x22\x3f\x3e\x9e\x09\xd0\xba\
\x00\x00\x01\x8c\x49\x44\x41\x54\x68\xde\xed\x9a\xbd\x4a\xc3\x50\
\x18\x86\x3b\xb5\x43\xe0\x8c\x4e\x4e\x8e\xd2\x16\xe4\x80\x88\x22\
\x22\x56\x14\x45\xb1\xfe\x5c\x82\x77\x20\xf4\x22\xfc\x59\x5c\x1d\
\x5c\x1c\x04\x07\x41\x70\xf1\x16\x84\x0c\xc9\x90\x0c\xcd\x10\xc8\
\xea\x2d\xd4\xe0\x70\xf8\xcc\xf1\x83\xc3\x21\x85\xcf\x37\x79\x78\
\xb7\x3e\xfd\xc8\x43\x29\x5d\xda\x99\xfd\x73\x3a\x6d\x40\x1b\xd0\
\x06\x80\x06\x5c\x08\xa3\x49\x01\xe7\x82\x69\x46\xc0\x19\x81\xfb\
\xe0\xe4\x38\x88\x01\xa7\x04\xee\xa8\x1c\x07\x31\x60\x4c\xe0\x8e\
\xca\x71\x10\x03\x4e\x08\xdc\x51\x39\x0e\x62\xc0\xb1\x03\x2e\x66\
\x5d\x8e\xed\xa3\x07\x1c\x09\xa6\x19\x01\x87\x04\xee\x8b\x25\xc7\
\x41\x0c\x38\x20\x70\x47\xe5\x38\x88\x01\xfb\x04\xee\xa8\x1c\x07\
\x31\x60\x8f\xc0\x1d\x95\xe3\x20\x06\xec\x3a\xe0\x62\xd6\xe5\xd8\
\x3e\x7a\xc0\x8e\x60\x9a\x11\xb0\x4d\xe0\xbe\x58\x72\x1c\xc4\x80\
\x2d\x02\x77\x54\x8e\x83\x18\xb0\x49\xe0\x8e\xca\x71\x10\x03\x36\
\x08\xdc\x51\x39\x0e\x62\xc0\xba\x03\x2e\x66\x5d\x8e\xed\xa3\x07\
\xac\xcd\x99\xfb\x20\xf0\xde\x87\xd6\x66\xb8\x01\xab\x84\xaf\xd1\
\xe8\xcf\xf9\x39\x6f\x4a\x55\x76\x17\x04\x66\xf6\xab\xb6\xf3\xae\
\x75\x65\x88\x01\x2b\x04\xee\xe1\xfc\x9c\x17\xa5\xcc\x66\x93\x89\
\xf7\x5e\xb5\x36\x43\x0c\x58\x26\x70\x0f\xe7\xe7\x3c\x29\x65\xc6\
\xbd\xcb\x65\xcf\x5a\x9b\x21\x06\x2c\x11\xb8\x13\x7e\xce\x83\x52\
\x95\x5d\xf5\x7a\x66\xf6\xab\xb6\xf3\xa8\x75\x65\x28\x01\x45\x51\
\xe4\x79\x9e\x65\x59\x9a\xa6\x8b\x73\xe6\xb2\xdb\xf5\xde\x75\xbf\
\x7f\x33\x18\xdc\x0e\x87\xe5\x7e\xfd\x90\x41\x05\xc4\x71\x1c\x86\
\xe1\x82\x30\xa2\x28\x4a\x92\x64\x3a\x9d\x96\xcf\x59\xfc\x80\x1e\
\xf0\x29\x89\xf2\x79\xd0\x03\xda\xff\x8d\xb6\x01\x8d\x0d\xf8\x06\
\x82\xd0\x41\xce\xed\xcb\xd1\x11\x00\x00\x00\x00\x49\x45\x4e\x44\
\xae\x42\x60\x82\
\x00\x00\x03\xc3\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x20\x00\x00\x00\x20\x08\x06\x00\x00\x00\x73\x7a\x7a\xf4\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\
\x79\x71\xc9\x65\x3c\x00\x00\x03\x65\x49\x44\x41\x54\x78\xda\xc4\
\x57\xcd\x6b\x14\x31\x14\x7f\x99\xcc\xec\x57\xab\x16\x4f\x7e\x20\
\x22\x55\xf0\xe0\x6d\xc5\xff\x40\xa5\x57\x4f\x3d\x29\x88\xd8\xbb\
\x77\xff\x0e\x11\x05\xf1\xe6\xc9\x83\xd4\x83\x45\xe8\x3f\xd0\x05\
\xcf\xc5\x6e\x2b\x5a\x3d\x08\x2b\x76\xc7\xdd\x9d\x8f\x24\xe6\x25\
\x33\xdd\xc9\x7c\x66\x8b\x60\xd8\xb7\x9d\x4d\x26\xef\xf7\xcb\x2f\
\xef\xbd\xa4\x44\x08\x01\xff\xb3\xb9\xf8\x45\x5e\x9e\x05\x38\xe3\
\xda\xce\x79\x2e\xad\x5f\x31\x36\x90\xb6\x61\xe5\xe5\x77\x0c\xe2\
\xd1\x08\xe6\xa8\x7f\x18\x40\x8f\xda\x4c\xed\x3f\xbe\xfd\x50\x11\
\xc8\xab\xf7\xe2\xe3\x2b\xbb\x25\x4c\x98\xa9\x80\x6a\xb1\xd0\x03\
\xdd\x66\x12\x08\x3c\x1a\x8d\x8c\xbe\x6e\xb7\x2b\x07\x2c\xc0\xa7\
\x4c\x63\x15\x08\x18\x24\x9c\x46\x02\x71\x1c\x1b\x7d\x8c\x31\x1c\
\x68\x00\xe7\xf2\x45\x51\x8c\x01\xd3\x93\xd0\x2f\x76\x9c\x5a\x02\
\x0a\x30\xd3\x38\xe7\xf5\x0a\xcc\x8a\xe0\xe5\x04\x52\x12\x38\xa1\
\xe5\x2c\xa6\x00\xaf\x00\x0f\xcb\xc1\xab\x09\xa4\x24\x02\x24\x41\
\x0a\x43\xb8\xda\x28\x8a\xcc\xdd\x43\x42\x65\x5b\x10\xca\x3e\x2e\
\xea\xd3\xb0\xb2\xe1\xc4\x10\xdf\x22\x85\xd5\x5a\x29\x10\xd7\x83\
\x37\x13\x48\x49\x20\x16\xad\x27\x50\x50\x80\x41\x23\xb8\x1d\x81\
\x94\x84\x90\x2a\x38\x73\x02\xf9\x20\x34\x14\xe0\xd0\x9c\x11\x0b\
\x11\x80\xc4\x21\x27\x95\x04\x94\x02\x3c\xf3\xee\x22\xa5\xb8\xa1\
\xbc\x9a\x24\x12\x02\x2a\xed\x0a\x69\xa8\xc6\x77\x2c\xb1\x55\xd9\
\x76\x13\xc9\xfa\xeb\x77\xd7\xfb\x98\x5e\x79\x4b\xd3\x2e\x6b\xf9\
\xd5\xa7\xef\xac\xdd\x5a\xeb\xd7\xcd\xcb\xf6\x6f\x7f\xda\xce\x28\
\xc0\xb5\xd3\xe1\x70\x78\xe2\x53\xcd\xf7\x7d\x65\x36\xad\xd5\x6a\
\x1d\x07\x68\xaa\x40\x41\xd2\xa6\x86\x84\xb1\x16\xe0\xde\xe3\x73\
\xba\x3a\x42\x08\x50\x4a\xc1\x75\x5d\xf0\x3c\x4f\x3d\x97\xa9\x95\
\xc6\x8b\xa1\x40\x53\xfd\x9f\xcd\x66\xe0\x4f\x7c\x08\x82\x40\x81\
\x37\xdd\x25\x90\x0c\x92\x68\xb7\xdb\xb0\xdc\x5b\x86\x4e\xa7\xa3\
\xfa\x34\x01\x4b\x05\x62\x16\xc3\x91\x7f\xa4\x80\xf1\xf9\xb8\x59\
\x9c\xdc\x72\xd7\x65\x15\x0e\x21\x9c\x86\x30\x9e\x8e\xc1\xa5\xae\
\x22\xb2\x72\x7a\xa5\x5c\x81\xa5\xa5\xa5\xe3\xd5\x72\xc1\xc1\x9f\
\xfa\x30\x0e\xc7\x20\x5c\x01\xbd\x53\x3d\x1d\x48\x78\xe2\xc8\x0f\
\x12\x32\xd2\x49\x4a\x8e\x00\xd9\x40\x4b\x49\xe8\x8f\xfe\x8b\xfe\
\x26\xa3\x49\x41\x81\xc1\xfb\xad\x77\xd6\xfb\x7f\xed\xc6\xf5\xbe\
\x1f\x99\x04\xa8\x47\xe1\xc7\xc1\xb7\xc1\x02\x61\x34\xc8\xd6\x81\
\x0d\xeb\xe2\xc1\x61\x87\x11\x19\x2f\x5e\x4e\x6e\xa9\x92\x3a\xc0\
\x1c\xb8\x69\xe5\x87\x90\x45\x2b\x61\x52\xdf\x31\x2e\x1c\x19\x0b\
\xad\x1c\x2f\xca\xf5\xbe\xf2\x24\x3e\x08\xfc\xc3\x52\x8c\xe0\xd1\
\x5c\x21\x46\x59\x81\x80\x20\x99\x93\x0f\x49\x78\xc4\x8a\x84\xc5\
\x69\x98\x9c\xe9\xd9\x1a\x40\x4b\xb6\x80\x08\xf3\x38\x0e\x84\xbe\
\x4b\x38\x27\x21\xb0\xc7\xb4\x5d\x91\x5a\x5e\x2c\xb9\x90\xb8\xbc\
\xe0\x58\x45\x79\xfe\xf8\x9d\xc9\xdf\x87\xd2\xf6\xa5\xaf\x55\xaa\
\xad\x96\x00\x82\x6e\xc9\x1b\xc8\x5e\x26\xdf\x1f\x74\x00\x2e\x9b\
\x68\xcc\x63\x85\xfb\x9f\x22\x10\xe7\x3a\xbf\x48\xa2\xaf\x67\xf3\
\xdf\xab\x12\xee\x4e\xcb\x20\xa2\x09\x6c\x05\x00\x9f\x99\x09\x9c\
\x36\x74\xb0\x2e\x27\x5d\x72\xcc\x88\xaf\xba\xf5\xa6\xed\xab\x7c\
\x7e\x13\xe6\x94\x95\xfe\x9f\xc5\x9a\xc8\x55\x49\xe2\x49\x4a\xe0\
\x43\x50\xbf\x51\xe8\xe8\x9e\xdc\xf4\x0b\xc4\x8e\xc0\x77\x39\xfe\
\x36\xaa\xf6\x87\x44\x92\xc5\x3a\xd6\x69\x88\x0e\x0f\x98\xbe\xa8\
\x62\x00\x96\x19\x8e\xe1\x3b\x75\xe0\x96\x59\x40\x92\x6c\x76\x33\
\xee\x5d\xd8\x64\x14\xee\xd3\xea\x73\x00\x23\x7f\x93\x9d\x07\x7d\
\x8b\x44\x8b\x12\x8b\xd3\x8b\xda\x22\x69\x88\x30\x1d\xfc\xaf\x4b\
\x5a\x2f\x79\x6e\xc3\x21\xdf\xfd\xf5\x74\xbf\x7c\xc6\x4f\xd8\x95\
\xdf\xe7\x90\x0a\x6e\x48\x62\x93\x04\xb8\xf4\xb4\x23\x78\x68\x10\
\x42\xec\x14\xb0\xab\x71\xc2\x56\x01\xc4\xfe\x2b\xc0\x00\x43\x27\
\x30\xe4\xdd\x1c\xc6\x21\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\
\x60\x82\
\x00\x00\x03\x07\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\
\x00\x00\x02\xce\x49\x44\x41\x54\x48\x89\xa5\x95\xdd\x4e\x13\x41\
\x14\xc7\x7f\xbb\xdd\x56\x28\x82\x80\x01\xca\x87\x24\xd0\x68\x94\
\xc4\x90\x98\x68\x82\xc4\xf8\x06\x26\x3e\x85\x0f\xa1\xb7\x5e\xfb\
\x16\xde\x18\xa2\xd7\x26\x5e\x1b\x3f\x22\x06\x54\x20\x01\x54\x20\
\x80\x42\x4b\x69\x4b\xb7\x94\xed\x8c\x99\x9d\x53\x59\x4a\xc5\x02\
\x27\x39\x99\xd9\xdd\x33\xf3\x3f\x1f\xff\x73\xd6\x81\x87\x13\xe0\
\xa5\x89\x25\xdb\xa8\xe6\x96\xa0\x32\x0b\xde\x2f\x8e\x88\x4b\x73\
\x62\xec\x14\xb0\x01\xec\x02\x0b\x78\xe0\xa6\xb9\x3e\x7e\x67\xf4\
\x76\xba\x6b\xf9\xf9\xeb\x38\xd5\xb5\xef\xe0\x0a\x80\xe2\xff\xab\
\xaa\x83\x0e\x80\xfd\xbf\x4f\x2e\x6e\xb2\x7d\xf4\xd6\x48\xf7\xd3\
\x47\x77\x53\x5c\xea\x1c\x84\x4a\xa7\x35\xaa\x69\x19\xa8\x00\x25\
\xd1\x3d\xd1\x82\x78\x99\x17\xcd\x01\x19\x51\x03\xe0\x84\x00\x31\
\xf4\x60\xf7\xce\xd7\xf5\xf2\xd4\xcb\xe9\x22\xd9\x95\x5d\xa8\x6e\
\x41\x2c\x0b\x7a\x1f\xb4\xf8\xa1\x23\x91\x38\xa2\xf5\x9e\x6b\x51\
\x25\xab\xb1\xd9\x26\x06\x23\x7b\xe8\xdc\x2a\xfe\xfa\x32\xa8\x2d\
\xf0\x5a\x81\x8b\xa0\x4b\xa0\xcb\x87\x07\xa3\x60\x4e\x83\x8a\x38\
\x11\x9b\x9a\x6c\x87\x35\xd8\x84\xc4\x26\x66\x8b\xd7\x01\x8c\x81\
\xea\x13\x57\x16\x81\x9d\x26\x2b\xdc\x50\xbc\xc3\x97\xe1\x36\x1f\
\x96\x1e\xaa\xa0\x06\xc2\x14\xc2\x9c\x24\xfb\xac\x00\xc7\x28\x68\
\x3c\x5e\xb2\x97\xab\x1e\x1b\xbb\xbb\x00\x2a\x7b\xce\x08\x8e\x48\
\x16\xd4\x9c\x10\x3b\x05\xaa\x2a\xe9\x3a\x35\x48\x0c\xae\xca\x3d\
\x8e\x64\xc4\xb5\x19\x0a\xb9\xa6\xf7\x40\x25\x80\x21\xd0\x2d\xa0\
\x0b\xb6\xf0\x70\xb4\xf8\x51\x96\x45\x9f\xc3\x22\xa7\xe5\xd2\x0b\
\x02\xb0\x05\xac\x4b\x0f\x84\x69\x59\x04\xe5\x81\xea\xb5\x86\xee\
\xb7\xd3\xa4\x2b\x06\x93\xe2\xb1\x69\x9e\x55\x59\xfb\x81\x76\xf1\
\xe8\xc0\x87\xa0\x60\xa9\x6b\xd2\x45\x5c\x28\xec\x37\x19\xc1\xb3\
\x3a\xcc\x24\xb8\x4f\x40\x2b\xab\xa1\x94\x72\x10\xcc\x41\x10\x80\
\xba\x02\x3a\x0e\x7c\x69\x86\xc2\xb1\xe3\xaf\x0e\x40\xbf\x01\x3e\
\xcb\xf9\x7b\xb6\x04\x94\x7d\x28\xf9\x50\x4d\x4a\xba\x4c\x33\x16\
\x0f\x23\x69\x1c\x41\x03\x80\x9a\xf8\x32\x57\x86\x2d\x68\x48\xa0\
\x4e\x1f\x5a\xf2\xf6\xf2\x83\x7e\x1b\x49\x08\x50\x3a\x03\x40\x4d\
\x66\x81\x4f\xc2\xd2\xfb\x26\x9a\x32\x14\x8b\xe0\x24\x40\x0d\x43\
\xac\x15\x54\xde\xb2\xeb\x4c\x00\x51\xf9\x00\xcc\x03\xbf\x7d\xb8\
\xe9\xc3\x90\x49\x57\x0a\x82\x76\xa8\x16\x6c\x34\xea\x3c\x00\xc8\
\xc8\x36\x59\xea\x2a\x41\x77\x0e\x32\xa6\x16\x29\xdb\x2f\x15\x07\
\x2a\x1e\x38\xae\x6d\xe2\x4c\xd0\x68\x2c\x9e\x56\x2e\x43\xff\x0d\
\x18\x19\x83\x42\x17\x14\xcd\x14\x58\x84\x78\x09\x16\xdf\x79\x91\
\xd9\xeb\xd4\xed\xdd\x13\xbe\xd5\xf6\xda\x0e\xc2\x8d\x2c\x04\x7d\
\xc4\x1f\x4c\x30\xd0\x13\xf0\xf3\xed\x0c\xac\x18\x86\xbc\x73\xeb\
\x0e\xb9\x42\x5d\xc3\xf3\x84\xb4\x77\x0b\xd0\x2a\x9a\x04\xda\x44\
\x4d\xe3\x75\x48\x47\x9a\x09\x50\x62\xf4\x9a\x3b\xf5\xea\x71\xaf\
\x3b\x3e\xd9\x6b\x23\xb3\x97\x39\x0d\xd4\x8d\x44\x70\x92\x1a\x1b\
\x13\x85\x59\x13\x64\x0e\x5a\x5e\xbc\xdf\x2c\xea\x99\x8f\xb3\xe8\
\x8d\x35\xc8\xcf\xfc\x6b\x9a\x46\xff\x7f\x27\xa5\xa9\x66\x67\x66\
\x4d\x11\xe6\xb3\x7a\xfa\x87\x82\x60\x07\x82\x33\xff\x43\x9a\x17\
\xe0\x0f\x02\x65\x31\x44\xf6\x8a\xd2\x5a\x00\x00\x00\x00\x49\x45\
\x4e\x44\xae\x42\x60\x82\
\x00\x00\x02\x5b\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\
\x79\x71\xc9\x65\x3c\x00\x00\x01\xfd\x49\x44\x41\x54\x78\xda\x62\
\xfc\xff\xff\x3f\x03\x2d\x01\x23\xa9\x1a\xf4\x35\x19\x19\xe2\x82\
\x40\x34\x84\x7f\xf6\xa6\x16\xc3\x99\x1b\x5a\x0c\x1e\xd7\xae\x81\
\x70\x18\x50\x28\xf4\x0f\x03\x03\xd3\x09\x06\x86\xa6\xb0\x7f\xff\
\x2e\xb2\x90\x6b\x30\x16\xe0\x0b\x32\x5c\x6a\xc6\x8c\x10\x86\x7b\
\xf7\x18\x76\x74\x76\xca\x01\xf9\xa6\x2c\x54\x30\x18\x04\x4c\x76\
\x68\x69\x49\x26\x5d\xb9\x12\x72\xcf\xd5\x95\x41\xc9\xd8\x98\xe1\
\x0f\x34\x74\x58\x28\x34\x18\x04\x6c\x81\x58\x73\xd5\xaa\x55\x33\
\xdf\xbf\x7f\xcf\x70\xaf\xbc\x9c\x61\x87\xab\xeb\x59\xa0\xd8\x2c\
\xac\x71\x40\x82\xc1\x0c\xc0\xf4\x11\xf9\xf3\x27\x43\xb4\x77\x50\
\xbb\xf7\xea\x3d\x4a\x0c\x82\x82\x82\x0c\x81\x81\x81\x1d\xa9\x5f\
\xbf\x5e\x57\xf9\xff\x7f\x51\x16\x50\x01\xcb\x9e\x25\x8c\x64\xa5\
\x0e\x64\xc3\xdf\xbf\xbf\xc7\x60\xac\x74\x96\x41\xdf\x61\x7b\xc7\
\x8f\x1f\x3f\xf6\xdf\x61\x64\xdc\xa5\x02\x4d\x9d\x4c\xd4\x30\x1c\
\x14\x34\x1b\x56\xad\x3e\x24\x21\xf4\xfd\x18\x50\x7a\x17\xb2\x5a\
\x26\x6a\x19\xfe\xfd\x07\xc3\x42\x79\xa9\xff\x9b\xd1\xd5\x33\x51\
\xcb\xf0\x7f\xff\x18\xe6\x61\xd3\xc3\x44\x4b\xc3\x89\xb6\x80\x5c\
\xc3\x89\xb2\x80\x12\xc3\x09\x5a\x40\xa9\xe1\x78\x2d\xa0\x86\xe1\
\x38\x8b\x0a\x52\x0d\x7f\xf0\x94\x81\xe1\x3e\x10\x3f\x7c\xf6\x9f\
\xe1\x1f\x50\xc1\x2d\xa0\x01\xff\x80\xe2\x59\xd8\x2c\x20\xc5\xf0\
\xfd\xa7\x20\x18\x49\x37\x18\xdf\x04\x92\x37\xb1\xf9\x80\x58\xc3\
\x31\x0d\xc6\x13\x44\x1f\x5f\xc1\x6b\x1e\x23\x36\x3e\x86\x68\x2b\
\xc7\x5c\x9c\x86\x93\x62\x30\xdc\x82\xe3\x27\xff\x33\xa8\xc8\x80\
\x5d\xef\x91\x51\x73\xc6\x7b\xcf\x9e\x4e\x06\x25\x25\x06\x14\xc3\
\xc9\x31\x18\x6e\xc1\xc6\xa3\x0c\x0c\x69\x7e\x8c\xce\x16\x0e\x69\
\x3e\x1f\x3e\x3c\x07\x1a\xee\x02\x34\x3c\x1d\x6c\xf8\xde\x13\x10\
\xc3\x29\x05\xcc\x05\xa1\x8c\xeb\xdf\xdf\xdb\xfc\x7f\x51\xaf\xef\
\xd5\x74\x3f\xc6\xd5\xd6\xfa\x8c\x1e\x40\x71\x56\x68\x1c\xc1\x30\
\x33\x14\x33\x41\x31\x23\x12\xc6\x91\xd4\xff\x83\x25\x45\x81\xf8\
\x55\xbc\x07\xe3\xc1\xab\xf7\x19\xd6\x9f\xb9\xf9\x7f\x1b\x34\x39\
\xfc\x05\xe2\x7f\x50\x1a\x84\xff\x20\xb1\x91\xf1\x3f\x24\x8c\xd5\
\x02\x3e\x20\x66\x87\xba\x92\x11\x9e\xd6\x50\x35\x12\xc2\x30\x3d\
\x18\x16\x00\x04\x18\x00\x05\xce\xaf\xa3\x81\x97\xbe\xef\x00\x00\
\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x02\xc2\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xff\x61\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\
\x79\x71\xc9\x65\x3c\x00\x00\x02\x64\x49\x44\x41\x54\x78\xda\x7c\
\x53\xcf\x8b\x52\x51\x14\x3e\xef\xbd\xfb\xde\x33\x27\x9d\xc9\x79\
\x4a\x33\x68\x41\x3b\x21\x69\x61\x91\x53\xb3\x48\x70\x15\xa4\xce\
\x26\xa6\x16\x19\x44\x12\xb5\x6a\x13\x89\x82\x20\x0a\xa1\xff\x80\
\x10\xb4\x71\xd3\x52\x08\xa6\x8d\xe0\xe0\xc6\xc5\xb8\x70\x48\x08\
\x8a\x21\x64\x16\x3a\x2a\x98\x36\xfe\x7c\xef\xf9\xba\xf7\xd2\x93\
\x1c\xc4\x0b\x1f\xf7\x70\xbf\x73\xce\x3d\xe7\x7c\xf7\x32\xf1\x78\
\xfc\x11\x00\x6c\xc1\xea\xd5\xd0\x34\xed\xcb\x29\xff\x06\x78\x9e\
\x07\x55\x55\x41\x51\x14\x98\xcd\x54\x40\xb2\x2c\x6f\xa7\x52\xa9\
\xec\xaa\xe8\x68\x34\xfa\x6a\xca\xda\x89\xf9\x00\x27\x2a\xce\x66\
\x33\x46\xe7\xd0\x74\x3a\x65\xf0\x01\xe4\xf3\xf9\xa5\xc1\xc1\x60\
\x10\x88\xcf\x39\x6f\xc3\xb7\xca\x45\x8c\x3a\x3e\x56\x30\x8e\x71\
\xb2\xa7\x68\x3c\x1e\x33\xa4\x1c\xb3\xd9\x0c\x3e\x9f\x6f\x21\xb8\
\x50\x28\xd0\x52\x89\x8f\xa6\x9c\x80\xcc\xb8\xbd\x38\x59\x51\x10\
\x78\x46\x55\x67\x77\x70\x2b\x1f\x58\x42\x92\x9e\x48\x6f\x17\x97\
\xde\x2f\xf5\x39\xff\x09\x12\x77\x7c\xa8\xaa\x0a\xb3\xc9\x56\x81\
\x57\x4e\x8f\x86\xc3\xe1\x47\x52\x01\x8b\xe7\x00\x08\xa1\x79\x60\
\xad\x56\x83\x5e\xaf\x47\xcf\x08\x47\x7c\xec\x76\x3b\x18\xb8\x2a\
\x48\xeb\x55\xea\x63\x35\x01\xf4\x45\xe9\x00\xe1\x2c\xb4\x82\xff\
\x13\x0c\x06\x03\x70\xb9\x5c\xb4\x7c\xc2\x09\x82\x70\x5f\x14\xc5\
\x29\xee\x79\xa1\x42\x13\xdf\x6e\xa0\xd1\x68\x44\x67\xc0\x71\x1c\
\x54\x2a\x15\x4a\x10\x7b\x32\x99\x40\x2c\x16\x83\x64\x32\x09\x7e\
\xbf\x7f\x3f\x10\x08\xec\x2f\x53\x07\x75\xbb\x5d\x8e\x65\x59\x70\
\x38\x1c\x0b\x24\x51\x26\x91\x48\x00\xe1\xd2\xe9\x34\x64\x32\x99\
\x05\xbe\x54\x2a\x51\x75\x50\xbd\x5e\x6f\x38\x9d\xce\x77\x17\xb3\
\xe3\x9e\x77\x42\xa1\xd0\x5e\x36\x9b\x05\x49\x92\x28\xf4\xd5\x6c\
\x36\xe7\xea\xa0\x4b\xdb\x8f\x3f\xb7\x7f\x7c\x5a\x08\xb6\xd9\x6c\
\xe0\x76\xbb\x5f\x87\xc3\xe1\xbd\x5c\x2e\x47\x25\xc6\xb7\xcd\x79\
\x32\x58\x5d\x1d\x64\xba\xf6\xe4\xe1\x95\x1b\xcf\x0f\xc6\xbf\xbf\
\x81\xb8\x7e\x13\xe4\x3f\xdf\xe1\x96\xf5\x2b\xe8\xea\xfc\x53\x81\
\x06\xf6\xfb\xfd\x79\x22\x5d\x1d\xc4\xf3\xc6\x97\x2c\xcb\xb5\x4d\
\xd6\xbb\x47\x8a\x32\xd1\xd6\x36\x6f\x7b\x7b\x93\xea\x21\xaf\x9e\
\x30\xfa\x9b\xd7\x83\xb0\x62\x50\x2e\x97\xe7\xea\x10\x05\x59\x51\
\xbc\xfc\x5e\x10\x8c\x59\x84\x04\xc5\x60\x30\xd5\xf1\x5e\x1c\x6a\
\xd7\x41\x57\x87\xa0\xd5\x6a\x51\x10\x9b\xa8\x13\x89\x44\xa8\x4d\
\x7c\x60\xf7\xd9\x2f\xd8\xb8\xba\x43\x3e\x07\xf2\xbe\x38\xd3\x36\
\xb6\xee\x05\xb0\x2d\x79\x3c\x9e\xb7\x9d\x4e\x47\xc3\x03\x5b\x0a\
\xc2\x11\x1f\xfd\x57\xb1\x18\x02\x86\x11\x63\x8d\xec\x16\x8b\x65\
\x17\xbf\x07\xcb\xaa\x5f\x8a\xdb\x38\xfb\x2b\xc0\x00\x4d\x49\x73\
\x30\xe2\x2b\xdb\xbe\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\
\x82\
\x00\x00\x01\x70\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x20\x00\x00\x00\x20\x08\x06\x00\x00\x00\x73\x7a\x7a\xf4\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\
\x79\x71\xc9\x65\x3c\x00\x00\x01\x12\x49\x44\x41\x54\x78\xda\xec\
\x96\x31\x6e\xc2\x40\x10\x45\xbf\x57\xf6\x2e\x1d\x25\xa7\x48\xc5\
\x3d\x72\x00\x2e\x40\x49\xc9\x35\x52\xc2\x0d\xa8\x73\x88\x74\x69\
\xb8\x45\x44\xe1\x0e\xdb\x6b\xef\x3a\x7f\xcc\x06\x41\x11\x45\x41\
\xc2\x6e\x66\xa4\xbf\xa3\xb1\x47\xf3\x9f\x6c\xaf\xd6\x59\xdf\xf7\
\x98\x32\x0c\x26\x0e\x05\x50\x00\x05\x50\x00\x05\xc8\x0e\xb2\x00\
\x7b\xa6\xe5\xc8\xde\x9f\x3c\x85\xd6\x79\xb8\x14\xcb\xd5\x76\xfb\
\x6f\x00\x39\xc8\x42\x08\xe8\x44\x5d\x87\xb6\x6d\xe1\x9b\x06\x2d\
\xd5\x55\x15\x62\x5d\x03\xe7\x33\x32\x11\x6b\xc3\x0c\xde\x8b\xec\
\xfb\x38\x9d\x86\x19\xb9\xbf\x19\x58\x96\xe5\xaf\x46\x62\x20\xf2\
\x22\x31\x12\x79\x7f\xcd\x81\x59\x06\xb3\x09\x86\xb5\x15\xb1\x76\
\x94\xe5\xb5\x9c\x90\x26\xc6\xeb\xcc\x1f\xdf\x3b\x80\xb1\xcc\xef\
\x00\xea\x09\xcc\x25\xea\xbf\x00\x9e\x69\x7e\x0b\x60\x76\x5c\x2a\
\x2a\xb2\xd1\x39\x07\x6b\x2d\x8a\xa2\x80\x31\x66\x10\x17\xf4\x09\
\x48\x7a\x86\x0f\x2e\x19\x3f\x6a\x8e\xe4\xb9\xbb\xec\x40\xcc\x5f\
\x81\xb7\x05\xf0\x32\xe6\x1e\xfc\x02\x8e\xef\xc0\x46\x00\x66\x94\
\xa5\x9c\xbc\x92\x04\xf5\xcc\x90\xc7\xd2\x24\x85\x4c\x7f\x4a\x15\
\x40\x01\x14\x40\x01\xa6\x06\xf8\x16\x60\x00\x63\xb4\x33\x16\x60\
\x8f\xa6\x59\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x05\x16\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\
\x00\x00\x04\xdd\x49\x44\x41\x54\x48\x89\xb5\x55\x5b\x8b\x1c\x45\
\x18\x3d\x55\xd5\xdd\xb3\x97\x9e\x9d\x64\x77\x62\x36\xa2\x6b\xe2\
\x6e\x36\x97\x4d\x4c\x04\x23\x2e\xc6\x80\x10\x90\x35\xa0\x08\x3e\
\x06\x7d\xf0\x45\x44\x30\x2a\x3e\xe9\x83\xa8\x20\x88\x6f\x3e\x28\
\x28\xe4\xc9\x1f\x20\x2c\x04\x51\x08\x11\xa3\x22\x82\x59\x61\x73\
\xd9\x75\x93\x90\x6c\x26\x3b\x7b\x9d\x99\xed\xd9\xee\xaa\xea\xaf\
\x4a\xaa\xbb\x73\x35\x21\x12\xb0\xa0\xa7\x6a\x6a\xbe\xef\x7c\xa7\
\xce\x77\xaa\x07\xff\xf7\x60\xc0\x4b\xa3\x40\x69\x10\xa2\xb3\x1b\
\x34\xf7\x37\xb0\x36\x09\xf0\x05\x80\x17\xa5\xf9\x3d\x28\x98\x9b\
\x66\xb3\x01\xe8\x19\x81\x57\x1d\x42\x1a\xb7\x81\x95\x19\x0f\xf0\
\x42\x6c\xdd\xd1\xb7\x6e\x68\x53\xd8\x38\xf6\x43\x1d\x68\x96\x00\
\xd1\x71\x7f\x07\xd3\x25\xa0\x5c\xee\x7b\x6e\x7f\x75\x69\x66\xb6\
\x03\x67\x7f\xaf\x7b\x80\x3f\xd4\x37\xbc\x69\xdf\x67\x6f\x1d\xac\
\xbc\xf6\xf3\x5f\xc0\x6a\xcb\x02\x5d\xb2\x60\xc4\x6e\x30\xbc\xdb\
\x70\x27\xe4\x36\x9f\x5b\x25\x6c\xd8\x34\xf2\xd1\x1b\x4f\x3f\xf5\
\xe1\x57\x27\x9b\x0b\x67\x7f\x53\x0c\x18\x3b\x0c\xbf\x7f\x0f\x06\
\x37\x3f\x00\xdf\x6f\x0e\xed\xde\x42\x07\x47\x07\xc3\xc0\x07\x8b\
\x35\x59\x9f\x0b\x70\x21\xee\x22\x0e\xc1\x68\x42\xe0\x0b\x16\x27\
\x64\xc7\x4f\x9c\x8b\xae\x4e\xd7\x04\xa4\xac\xe0\xc2\xc5\x79\xa4\
\xb5\x09\x06\x3c\xb3\x1b\xd0\x03\x40\x65\xe4\xc9\x37\x5f\x1f\x39\
\xf6\xc9\xf3\x03\xbd\x95\x20\xbc\x4d\xe0\x7b\x8d\xac\x51\x73\xcd\
\x38\x7a\xf6\xed\xf1\x4b\x67\x8f\x7e\x3d\x09\x34\x27\x81\xca\x25\
\x0f\xe0\x33\x00\x08\x08\x86\x5f\x1d\xdb\x55\xed\xad\x04\x3d\x27\
\xcf\x2d\x24\x44\x30\xa9\x33\x01\x01\x54\x1c\xc0\x4d\x9e\x70\xb3\
\xc8\xd6\xd9\x87\x00\x02\x08\x74\x77\x82\x6d\xeb\xaf\xf4\x1c\x1e\
\xdb\x5e\xfd\xe0\x68\xa0\x01\x73\x01\xc0\x45\x0f\x30\x6b\x80\x90\
\x2e\xf5\xe1\x07\xc3\x52\x4c\x30\xe7\xae\x44\x91\x26\x18\x0e\x30\
\xa7\x8e\xf0\x32\x7c\xe6\xd0\xdc\x1e\x04\x39\x64\x56\xd4\x65\x8e\
\x4c\x5f\x4f\xc0\xb7\xf5\x57\x3a\x07\x36\x86\x9d\x40\xe0\xcc\xe3\
\xfa\xb8\xe6\x0a\x78\x00\xf9\x80\x62\x8d\xb6\xa2\x28\x26\x97\x6d\
\x6f\x96\x84\xa7\x82\xc1\x03\x34\xc8\xb6\x63\x22\xa9\xc8\x68\x22\
\xa3\x35\x59\x0d\x58\x9d\x90\x5d\x5f\xee\x64\x83\xfd\xa1\x7f\xa1\
\x16\xc5\x80\x72\xf9\xbe\xc3\xf6\x72\x2c\x27\xb5\x82\x91\xb0\xcd\
\x58\xb9\x44\x43\x04\xcb\x7d\xe1\xd8\x31\x6d\xc8\x81\x98\x66\x3b\
\xd6\x2b\x6b\x24\x1b\x8d\x44\xb6\xa5\xd2\x71\x22\xd3\x44\x1b\x4a\
\x24\xd9\x75\x61\x07\xf3\x85\x88\x2f\xd6\x5b\x06\x50\x04\x18\x01\
\xa4\xcc\x03\x52\xb8\x45\xfe\xc0\xc6\x8a\x4c\xa2\xc8\x1a\x08\x6b\
\x40\x2c\x51\xa4\xe7\x9b\x6d\xb9\xd8\x88\xe5\x72\x53\xca\x44\x92\
\x4e\xb4\xd6\x5a\x12\x29\x10\x91\x32\x46\x6a\x32\x32\x25\x76\x7e\
\xae\x15\x44\x92\x1c\x96\xbd\x66\x71\x2f\x67\x6f\xdd\x17\xa6\xdc\
\x91\x9d\xf3\x00\x2b\xb5\xa2\xa8\x41\x6a\x61\xb9\x9d\xd4\x16\x9b\
\x6b\x2b\xed\x38\x89\x63\xa3\xb9\x0b\xe6\xd7\x6e\xb7\x61\x8c\x43\
\x08\x0e\xce\x39\x58\x6a\x20\x7c\xee\x24\x71\xed\xcb\x70\xe1\x15\
\x91\x8e\x3d\x73\xc0\x0a\x30\x51\xa2\xd2\xa5\x86\x4e\xae\xcc\x37\
\x92\xfa\x52\x3b\x56\x92\xb4\x81\xb1\x0e\xa4\x88\x85\x5b\x1b\x93\
\x1b\xd4\x13\xc2\x31\x74\xfb\xdc\x17\x81\x2d\x6c\x9b\xc5\x15\x27\
\x40\x26\x91\x26\x85\xd5\x48\x51\x6d\x21\x49\x66\xe7\x57\xdb\x2b\
\x2b\x6d\xa9\x52\x4a\xb3\x40\x7e\x9d\x76\xe6\x26\x07\xc1\xb9\xc8\
\xd2\x53\x68\xeb\x21\x60\xd9\x56\xd6\x54\x27\xb7\xbd\x26\x91\x2d\
\x7a\x00\xd6\x6c\x2b\x33\xb7\x18\xa9\xd9\xab\x8d\x78\xa1\x95\x28\
\x63\xb4\xe5\x9c\x7b\x79\x52\xce\xe8\xf6\x91\x95\xe5\xdc\x82\x83\
\xf9\x3e\x17\x29\x91\x29\x08\x67\x46\x2a\x9a\x4c\x59\x72\x6b\x35\
\xa1\xba\x08\x68\xa9\xd1\xd6\x32\xd5\xf0\xb8\x10\xe6\xfa\x65\xe6\
\x37\x26\x4e\xb7\xdc\x73\x6b\x8c\x35\x46\xb1\x92\x0f\x4e\x46\x16\
\x51\x2e\x26\xcd\xdc\x9d\x02\x96\x00\xcf\xc6\x09\xd1\x9a\x22\x26\
\x65\x96\xc9\x19\x07\x73\xca\x14\x27\x70\x78\x19\x91\x4c\x7b\x03\
\x9b\x15\x33\x60\xc6\xd5\x00\xd0\xd3\xdd\x29\x7c\x5e\xe2\x39\x0b\
\x4d\x80\xd0\x1e\xa0\x42\x80\xba\x80\x36\x3f\x73\x79\x39\x1d\xde\
\xbc\xb1\xe3\xd1\x2d\xd5\x6e\x87\x96\xe7\x03\xc6\xb9\xda\xa4\x48\
\x89\xac\x31\xc6\xb9\x25\x6f\x2e\xe7\x08\x7c\xb7\x14\xe8\xad\x94\
\xf1\x50\x35\xf4\xc7\x4f\x9c\x91\x0e\x0b\x88\xbb\x00\x11\x3a\x17\
\xed\x04\xb0\x15\x90\xe1\x4f\x3f\x4e\xa8\x03\xfb\x76\x94\xc6\x0e\
\xec\x2a\x6b\x09\x48\x1d\x5b\xad\x14\xb4\x26\x68\xe4\x6f\x2c\xa2\
\x5c\x4e\x21\x84\x75\xc0\xbe\x0f\x56\xee\x0e\x51\xee\x0a\xec\x54\
\x6d\xd9\xfc\x72\x7c\x52\x01\xaa\x0c\xd8\x61\xd7\x68\x06\xec\x39\
\x02\x36\x30\x82\xc1\xed\xeb\x31\xdf\x88\xb1\x65\xaf\xdc\x79\x68\
\x8c\xf9\x5c\x30\x93\x2a\xcb\x3d\x07\x56\x38\xe7\x96\x66\x13\x88\
\x72\xb9\xbc\x52\x80\xa8\x15\xd9\xe9\xf1\xef\x0d\xea\x53\x1d\xe8\
\x2d\x77\xe2\xfc\xe9\x15\x60\x6a\xd2\x03\x4a\xd5\xee\x03\xfb\x07\
\x3e\x7e\xf7\xc5\x8e\x77\x5e\x78\x6f\x12\x13\x9f\x4e\x9d\x9e\xf8\
\x32\x02\x9c\x9f\x3d\x7e\x43\xa8\x3b\x7a\xa8\xf8\xcd\x89\xb6\xc6\
\x80\x28\x84\x37\x3a\xfc\xc5\xb7\x47\x06\xde\xff\xfc\xbb\x72\xeb\
\xf8\x99\x3a\x03\x1e\x79\x05\xdd\xa3\x7b\xc5\x8e\xc7\xca\xf4\xc7\
\x37\x13\xc0\xf9\x3f\x01\x2c\x16\x99\x77\xfe\xa7\xf9\xf7\x70\x96\
\x71\xd5\xaa\xc0\xee\xc7\xbd\x27\x5e\xde\x93\x4e\x9e\x5a\x45\xfc\
\xeb\x29\x07\xb0\x19\xba\x1e\xda\xda\xb4\x01\x6a\x97\x01\x35\x0b\
\xa0\x99\xbd\xfd\x72\x0f\x3b\xf9\xef\xf5\x38\x6f\xe6\xc6\x07\xab\
\x98\xda\x74\x88\x74\x66\x05\x48\x2e\xff\x47\x82\xf7\x39\x00\xfc\
\x03\x1a\x3f\x99\x88\x4d\xbd\xf9\x04\x00\x00\x00\x00\x49\x45\x4e\
\x44\xae\x42\x60\x82\
\x00\x00\x0d\x0d\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x40\x00\x00\x00\x40\x08\x02\x00\x00\x00\x25\x0b\xe6\x89\
\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\
\x01\x00\x9a\x9c\x18\x00\x00\x0a\xaf\x69\x54\x58\x74\x58\x4d\x4c\
\x3a\x63\x6f\x6d\x2e\x61\x64\x6f\x62\x65\x2e\x78\x6d\x70\x00\x00\
\x00\x00\x00\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\
\x69\x6e\x3d\x22\xef\xbb\xbf\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\
\x30\x4d\x70\x43\x65\x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\
\x7a\x6b\x63\x39\x64\x22\x3f\x3e\x20\x3c\x78\x3a\x78\x6d\x70\x6d\
\x65\x74\x61\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\
\x62\x65\x3a\x6e\x73\x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\
\x6d\x70\x74\x6b\x3d\x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\
\x43\x6f\x72\x65\x20\x35\x2e\x36\x2d\x63\x31\x34\x35\x20\x37\x39\
\x2e\x31\x36\x33\x34\x39\x39\x2c\x20\x32\x30\x31\x38\x2f\x30\x38\
\x2f\x31\x33\x2d\x31\x36\x3a\x34\x30\x3a\x32\x32\x20\x20\x20\x20\
\x20\x20\x20\x20\x22\x3e\x20\x3c\x72\x64\x66\x3a\x52\x44\x46\x20\
\x78\x6d\x6c\x6e\x73\x3a\x72\x64\x66\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x31\x39\x39\
\x39\x2f\x30\x32\x2f\x32\x32\x2d\x72\x64\x66\x2d\x73\x79\x6e\x74\
\x61\x78\x2d\x6e\x73\x23\x22\x3e\x20\x3c\x72\x64\x66\x3a\x44\x65\
\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\
\x6f\x75\x74\x3d\x22\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x64\x63\x3d\
\x22\x68\x74\x74\x70\x3a\x2f\x2f\x70\x75\x72\x6c\x2e\x6f\x72\x67\
\x2f\x64\x63\x2f\x65\x6c\x65\x6d\x65\x6e\x74\x73\x2f\x31\x2e\x31\
\x2f\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\x70\x3d\x22\x68\x74\
\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\
\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x22\x20\x78\x6d\x6c\x6e\
\x73\x3a\x78\x6d\x70\x4d\x4d\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\
\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x78\x61\x70\
\x2f\x31\x2e\x30\x2f\x6d\x6d\x2f\x22\x20\x78\x6d\x6c\x6e\x73\x3a\
\x73\x74\x52\x65\x66\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\x73\
\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x78\x61\x70\x2f\x31\
\x2e\x30\x2f\x73\x54\x79\x70\x65\x2f\x52\x65\x73\x6f\x75\x72\x63\
\x65\x52\x65\x66\x23\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x73\x74\x45\
\x76\x74\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\
\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\
\x73\x54\x79\x70\x65\x2f\x52\x65\x73\x6f\x75\x72\x63\x65\x45\x76\
\x65\x6e\x74\x23\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x70\x68\x6f\x74\
\x6f\x73\x68\x6f\x70\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\x73\
\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x70\x68\x6f\x74\x6f\
\x73\x68\x6f\x70\x2f\x31\x2e\x30\x2f\x22\x20\x78\x6d\x6c\x6e\x73\
\x3a\x78\x6d\x70\x52\x69\x67\x68\x74\x73\x3d\x22\x68\x74\x74\x70\
\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\
\x78\x61\x70\x2f\x31\x2e\x30\x2f\x72\x69\x67\x68\x74\x73\x2f\x22\
\x20\x78\x6d\x6c\x6e\x73\x3a\x74\x69\x66\x66\x3d\x22\x68\x74\x74\
\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\
\x2f\x74\x69\x66\x66\x2f\x31\x2e\x30\x2f\x22\x20\x78\x6d\x6c\x6e\
\x73\x3a\x65\x78\x69\x66\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\
\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x65\x78\x69\x66\
\x2f\x31\x2e\x30\x2f\x22\x20\x64\x63\x3a\x66\x6f\x72\x6d\x61\x74\
\x3d\x22\x69\x6d\x61\x67\x65\x2f\x70\x6e\x67\x22\x20\x78\x6d\x70\
\x3a\x43\x72\x65\x61\x74\x6f\x72\x54\x6f\x6f\x6c\x3d\x22\x41\x64\
\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x43\x43\
\x20\x32\x30\x31\x39\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\
\x20\x78\x6d\x70\x3a\x43\x72\x65\x61\x74\x65\x44\x61\x74\x65\x3d\
\x22\x32\x30\x30\x39\x2d\x30\x34\x2d\x31\x35\x54\x31\x32\x3a\x34\
\x34\x3a\x31\x38\x2b\x30\x39\x3a\x30\x30\x22\x20\x78\x6d\x70\x3a\
\x4d\x6f\x64\x69\x66\x79\x44\x61\x74\x65\x3d\x22\x32\x30\x32\x30\
\x2d\x30\x35\x2d\x32\x30\x54\x31\x34\x3a\x30\x32\x3a\x30\x38\x2d\
\x30\x37\x3a\x30\x30\x22\x20\x78\x6d\x70\x3a\x4d\x65\x74\x61\x64\
\x61\x74\x61\x44\x61\x74\x65\x3d\x22\x32\x30\x32\x30\x2d\x30\x35\
\x2d\x32\x30\x54\x31\x34\x3a\x30\x32\x3a\x30\x38\x2d\x30\x37\x3a\
\x30\x30\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x44\x6f\x63\x75\x6d\x65\
\x6e\x74\x49\x44\x3d\x22\x61\x64\x6f\x62\x65\x3a\x64\x6f\x63\x69\
\x64\x3a\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x61\x65\x64\x31\
\x32\x33\x36\x30\x2d\x62\x61\x38\x36\x2d\x30\x66\x34\x35\x2d\x61\
\x36\x61\x66\x2d\x31\x30\x37\x38\x37\x36\x64\x30\x39\x36\x63\x36\
\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x49\x6e\x73\x74\x61\x6e\x63\x65\
\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\x39\x36\x61\x63\
\x32\x38\x61\x65\x2d\x39\x37\x30\x36\x2d\x65\x34\x34\x37\x2d\x38\
\x65\x31\x63\x2d\x39\x34\x63\x39\x39\x30\x63\x37\x63\x31\x30\x34\
\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x4f\x72\x69\x67\x69\x6e\x61\x6c\
\x44\x6f\x63\x75\x6d\x65\x6e\x74\x49\x44\x3d\x22\x75\x75\x69\x64\
\x3a\x46\x34\x45\x34\x43\x38\x42\x32\x36\x46\x32\x39\x44\x45\x31\
\x31\x39\x39\x39\x38\x39\x32\x36\x38\x43\x34\x45\x44\x45\x36\x31\
\x45\x22\x20\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x43\x6f\x6c\
\x6f\x72\x4d\x6f\x64\x65\x3d\x22\x33\x22\x20\x70\x68\x6f\x74\x6f\
\x73\x68\x6f\x70\x3a\x49\x43\x43\x50\x72\x6f\x66\x69\x6c\x65\x3d\
\x22\x73\x52\x47\x42\x20\x49\x45\x43\x36\x31\x39\x36\x36\x2d\x32\
\x2e\x31\x22\x20\x78\x6d\x70\x52\x69\x67\x68\x74\x73\x3a\x4d\x61\
\x72\x6b\x65\x64\x3d\x22\x46\x61\x6c\x73\x65\x22\x20\x74\x69\x66\
\x66\x3a\x4f\x72\x69\x65\x6e\x74\x61\x74\x69\x6f\x6e\x3d\x22\x31\
\x22\x20\x74\x69\x66\x66\x3a\x58\x52\x65\x73\x6f\x6c\x75\x74\x69\
\x6f\x6e\x3d\x22\x37\x32\x30\x30\x30\x30\x2f\x31\x30\x30\x30\x30\
\x22\x20\x74\x69\x66\x66\x3a\x59\x52\x65\x73\x6f\x6c\x75\x74\x69\
\x6f\x6e\x3d\x22\x37\x32\x30\x30\x30\x30\x2f\x31\x30\x30\x30\x30\
\x22\x20\x74\x69\x66\x66\x3a\x52\x65\x73\x6f\x6c\x75\x74\x69\x6f\
\x6e\x55\x6e\x69\x74\x3d\x22\x32\x22\x20\x65\x78\x69\x66\x3a\x43\
\x6f\x6c\x6f\x72\x53\x70\x61\x63\x65\x3d\x22\x31\x22\x20\x65\x78\
\x69\x66\x3a\x50\x69\x78\x65\x6c\x58\x44\x69\x6d\x65\x6e\x73\x69\
\x6f\x6e\x3d\x22\x33\x32\x22\x20\x65\x78\x69\x66\x3a\x50\x69\x78\
\x65\x6c\x59\x44\x69\x6d\x65\x6e\x73\x69\x6f\x6e\x3d\x22\x37\x34\
\x22\x3e\x20\x3c\x78\x6d\x70\x4d\x4d\x3a\x44\x65\x72\x69\x76\x65\
\x64\x46\x72\x6f\x6d\x20\x73\x74\x52\x65\x66\x3a\x69\x6e\x73\x74\
\x61\x6e\x63\x65\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\
\x65\x37\x66\x37\x35\x36\x61\x35\x2d\x30\x37\x33\x37\x2d\x31\x35\
\x34\x35\x2d\x38\x33\x65\x62\x2d\x31\x33\x31\x38\x65\x36\x35\x39\
\x30\x36\x66\x61\x22\x20\x73\x74\x52\x65\x66\x3a\x64\x6f\x63\x75\
\x6d\x65\x6e\x74\x49\x44\x3d\x22\x61\x64\x6f\x62\x65\x3a\x64\x6f\
\x63\x69\x64\x3a\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x63\x61\
\x35\x36\x66\x33\x63\x37\x2d\x63\x34\x61\x62\x2d\x35\x37\x34\x66\
\x2d\x39\x62\x33\x61\x2d\x61\x35\x33\x61\x66\x37\x32\x33\x66\x34\
\x66\x32\x22\x20\x73\x74\x52\x65\x66\x3a\x6f\x72\x69\x67\x69\x6e\
\x61\x6c\x44\x6f\x63\x75\x6d\x65\x6e\x74\x49\x44\x3d\x22\x75\x75\
\x69\x64\x3a\x46\x34\x45\x34\x43\x38\x42\x32\x36\x46\x32\x39\x44\
\x45\x31\x31\x39\x39\x39\x38\x39\x32\x36\x38\x43\x34\x45\x44\x45\
\x36\x31\x45\x22\x2f\x3e\x20\x3c\x78\x6d\x70\x4d\x4d\x3a\x48\x69\
\x73\x74\x6f\x72\x79\x3e\x20\x3c\x72\x64\x66\x3a\x53\x65\x71\x3e\
\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\x74\x3a\x61\
\x63\x74\x69\x6f\x6e\x3d\x22\x73\x61\x76\x65\x64\x22\x20\x73\x74\
\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\
\x78\x6d\x70\x2e\x69\x69\x64\x3a\x36\x35\x61\x33\x30\x36\x31\x30\
\x2d\x62\x36\x35\x39\x2d\x32\x31\x34\x32\x2d\x38\x39\x32\x36\x2d\
\x63\x33\x63\x37\x66\x64\x39\x39\x38\x37\x64\x63\x22\x20\x73\x74\
\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\x32\x30\x32\x30\x2d\x30\
\x35\x2d\x32\x30\x54\x31\x33\x3a\x32\x37\x3a\x31\x31\x2d\x30\x37\
\x3a\x30\x30\x22\x20\x73\x74\x45\x76\x74\x3a\x73\x6f\x66\x74\x77\
\x61\x72\x65\x41\x67\x65\x6e\x74\x3d\x22\x41\x64\x6f\x62\x65\x20\
\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x43\x43\x20\x32\x30\x31\
\x39\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x20\x73\x74\x45\
\x76\x74\x3a\x63\x68\x61\x6e\x67\x65\x64\x3d\x22\x2f\x22\x2f\x3e\
\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\x74\x3a\x61\
\x63\x74\x69\x6f\x6e\x3d\x22\x73\x61\x76\x65\x64\x22\x20\x73\x74\
\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\
\x78\x6d\x70\x2e\x69\x69\x64\x3a\x65\x37\x66\x37\x35\x36\x61\x35\
\x2d\x30\x37\x33\x37\x2d\x31\x35\x34\x35\x2d\x38\x33\x65\x62\x2d\
\x31\x33\x31\x38\x65\x36\x35\x39\x30\x36\x66\x61\x22\x20\x73\x74\
\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\x32\x30\x32\x30\x2d\x30\
\x35\x2d\x32\x30\x54\x31\x34\x3a\x30\x32\x3a\x30\x38\x2d\x30\x37\
\x3a\x30\x30\x22\x20\x73\x74\x45\x76\x74\x3a\x73\x6f\x66\x74\x77\
\x61\x72\x65\x41\x67\x65\x6e\x74\x3d\x22\x41\x64\x6f\x62\x65\x20\
\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x43\x43\x20\x32\x30\x31\
\x39\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x20\x73\x74\x45\
\x76\x74\x3a\x63\x68\x61\x6e\x67\x65\x64\x3d\x22\x2f\x22\x2f\x3e\
\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\x74\x3a\x61\
\x63\x74\x69\x6f\x6e\x3d\x22\x63\x6f\x6e\x76\x65\x72\x74\x65\x64\
\x22\x20\x73\x74\x45\x76\x74\x3a\x70\x61\x72\x61\x6d\x65\x74\x65\
\x72\x73\x3d\x22\x66\x72\x6f\x6d\x20\x61\x70\x70\x6c\x69\x63\x61\
\x74\x69\x6f\x6e\x2f\x76\x6e\x64\x2e\x61\x64\x6f\x62\x65\x2e\x70\
\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x74\x6f\x20\x69\x6d\x61\x67\
\x65\x2f\x70\x6e\x67\x22\x2f\x3e\x20\x3c\x72\x64\x66\x3a\x6c\x69\
\x20\x73\x74\x45\x76\x74\x3a\x61\x63\x74\x69\x6f\x6e\x3d\x22\x64\
\x65\x72\x69\x76\x65\x64\x22\x20\x73\x74\x45\x76\x74\x3a\x70\x61\
\x72\x61\x6d\x65\x74\x65\x72\x73\x3d\x22\x63\x6f\x6e\x76\x65\x72\
\x74\x65\x64\x20\x66\x72\x6f\x6d\x20\x61\x70\x70\x6c\x69\x63\x61\
\x74\x69\x6f\x6e\x2f\x76\x6e\x64\x2e\x61\x64\x6f\x62\x65\x2e\x70\
\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x74\x6f\x20\x69\x6d\x61\x67\
\x65\x2f\x70\x6e\x67\x22\x2f\x3e\x20\x3c\x72\x64\x66\x3a\x6c\x69\
\x20\x73\x74\x45\x76\x74\x3a\x61\x63\x74\x69\x6f\x6e\x3d\x22\x73\
\x61\x76\x65\x64\x22\x20\x73\x74\x45\x76\x74\x3a\x69\x6e\x73\x74\
\x61\x6e\x63\x65\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\
\x39\x36\x61\x63\x32\x38\x61\x65\x2d\x39\x37\x30\x36\x2d\x65\x34\
\x34\x37\x2d\x38\x65\x31\x63\x2d\x39\x34\x63\x39\x39\x30\x63\x37\
\x63\x31\x30\x34\x22\x20\x73\x74\x45\x76\x74\x3a\x77\x68\x65\x6e\
\x3d\x22\x32\x30\x32\x30\x2d\x30\x35\x2d\x32\x30\x54\x31\x34\x3a\
\x30\x32\x3a\x30\x38\x2d\x30\x37\x3a\x30\x30\x22\x20\x73\x74\x45\
\x76\x74\x3a\x73\x6f\x66\x74\x77\x61\x72\x65\x41\x67\x65\x6e\x74\
\x3d\x22\x41\x64\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\
\x70\x20\x43\x43\x20\x32\x30\x31\x39\x20\x28\x57\x69\x6e\x64\x6f\
\x77\x73\x29\x22\x20\x73\x74\x45\x76\x74\x3a\x63\x68\x61\x6e\x67\
\x65\x64\x3d\x22\x2f\x22\x2f\x3e\x20\x3c\x2f\x72\x64\x66\x3a\x53\
\x65\x71\x3e\x20\x3c\x2f\x78\x6d\x70\x4d\x4d\x3a\x48\x69\x73\x74\
\x6f\x72\x79\x3e\x20\x3c\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\
\x44\x6f\x63\x75\x6d\x65\x6e\x74\x41\x6e\x63\x65\x73\x74\x6f\x72\
\x73\x3e\x20\x3c\x72\x64\x66\x3a\x42\x61\x67\x3e\x20\x3c\x72\x64\
\x66\x3a\x6c\x69\x3e\x75\x75\x69\x64\x3a\x32\x32\x38\x42\x36\x46\
\x46\x31\x33\x33\x35\x30\x44\x44\x31\x31\x39\x41\x35\x33\x43\x35\
\x38\x34\x39\x42\x33\x39\x31\x35\x34\x30\x3c\x2f\x72\x64\x66\x3a\
\x6c\x69\x3e\x20\x3c\x2f\x72\x64\x66\x3a\x42\x61\x67\x3e\x20\x3c\
\x2f\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x44\x6f\x63\x75\x6d\
\x65\x6e\x74\x41\x6e\x63\x65\x73\x74\x6f\x72\x73\x3e\x20\x3c\x2f\
\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x3e\
\x20\x3c\x2f\x72\x64\x66\x3a\x52\x44\x46\x3e\x20\x3c\x2f\x78\x3a\
\x78\x6d\x70\x6d\x65\x74\x61\x3e\x20\x3c\x3f\x78\x70\x61\x63\x6b\
\x65\x74\x20\x65\x6e\x64\x3d\x22\x72\x22\x3f\x3e\x71\x12\x5f\xec\
\x00\x00\x02\x04\x49\x44\x41\x54\x68\x81\xed\x91\x4d\x2b\x44\x61\
\x14\xc7\x2d\xc4\x62\xa6\x9b\x2c\x26\x31\x28\x9b\x89\xbc\x34\x9e\
\x30\x5e\xc7\x18\x6f\xd1\xc8\x6b\xb2\xb4\xb1\xb0\x51\x52\x2c\xed\
\x94\x12\x65\xc9\xc2\x82\x44\x4a\xd9\x48\xbe\x82\x9a\xc5\xcc\x62\
\x66\x31\x13\xa3\x5b\x22\xbe\x02\x37\xb7\x8e\x93\x3b\x67\xdc\xae\
\x3b\xe6\x71\x66\x7e\xfd\x56\xcf\xf9\x3f\xe7\x3e\xff\x6e\xd1\xfb\
\x3f\xa7\x28\xd7\x0f\xf8\x2d\x85\x02\xb9\xa6\x50\x20\xd7\x90\x05\
\xe6\x24\x23\x9f\x0a\xcc\x4a\x4c\x7e\x14\x98\x41\x50\x3f\x4e\x9e\
\x0c\xc7\x02\xd3\x08\x6a\xa9\x3c\x19\x8e\x05\xa6\x10\xd4\x52\x79\
\x32\x1c\x0b\x4c\x22\xa8\xa5\xf2\x64\x38\x16\x98\x30\x81\x99\xa4\
\x5d\x19\x63\x9e\x7b\x81\x90\xc4\xe4\x47\x81\x71\x84\x71\x2a\x5b\
\x86\x63\x81\x31\x04\xb5\x54\x9e\x0c\xc7\x02\xa3\x08\x6a\xa9\x3c\
\x19\x8e\x05\x46\x10\xd4\x52\x79\x32\x1c\x0b\x0c\x99\xc0\x4c\xd2\
\xae\x8c\x31\xcf\xbd\x40\x50\x62\xf2\xa3\x40\x00\x61\x9c\xca\x96\
\xe1\x58\xc0\x8f\xa0\x96\x66\x23\x23\x6e\x07\xd3\x9a\x79\x0f\xc7\
\x02\xbd\x08\xea\xc3\xf6\x66\x9c\xfb\x6e\x4d\x71\x13\x4c\xab\x3e\
\xa5\xf6\x70\x2c\xd0\x8d\xa0\x3e\x6c\x6f\xc6\xb9\xe7\xd6\x14\xd7\
\x41\xcd\xa5\xb7\x75\x50\x3f\xd1\xa7\xd4\x1e\x8e\x05\xba\x4c\x60\
\x26\x69\x3e\xe3\xdc\xa9\x02\x17\x5f\x57\x41\x7c\x8e\xf3\xdc\x0b\
\xf8\xb2\x8c\x63\xbb\x32\x83\x0b\x2f\xcb\xa0\x71\x2a\xae\x02\x20\
\xdf\x02\xed\x88\xe1\xa7\xf9\xb4\x5a\xcb\x28\xe7\xb5\xdf\x74\x6c\
\x55\x80\xe2\x32\xa0\x39\xf9\xbc\x08\xea\x27\xc6\x0c\x96\x63\x01\
\x2f\x82\x7a\x9c\xb5\x8c\x72\x5a\x03\x52\xb7\xcc\x28\x2e\xfa\x41\
\x8e\x05\x1a\x10\xd4\x0a\x6b\x19\xe5\xb8\x1a\xec\x51\x43\x96\x15\
\x67\x7e\x90\x63\x81\x3a\x04\xf5\x38\x6b\x19\xe5\xa8\xfa\x9b\xa5\
\x1b\xe5\xa0\x38\xe9\xd3\xf4\x3e\x0e\x80\xfa\x89\x31\x83\xe5\x52\
\x40\x55\xd5\x54\x2a\x95\x4c\x26\xe3\xf1\xb8\x3b\xcb\x94\xac\x95\
\x65\xd0\xf3\xe0\x03\x8d\xd3\xc6\x83\x8e\xa6\x43\x5f\xf3\xa7\xfa\
\xcb\x39\x16\x88\x46\xa3\xe1\x70\xd8\xf5\x87\x14\xaf\x28\x60\xcd\
\x7d\x0b\x88\xcf\x23\x91\x48\x2c\x16\x4b\x24\x12\xda\x3b\xd5\x4f\
\xb8\x17\xb8\xfb\x43\xea\x77\x5b\x41\x57\xd2\x03\x7e\x9d\xef\xb5\
\x72\x2f\x90\x5b\xc4\x4e\xe7\x8f\x52\x77\x0b\x05\xec\x43\x6c\xb6\
\xa5\x35\xf3\xad\x7f\x5f\xe0\x03\xe4\x61\xb1\x67\xee\x4a\xe8\xe2\
\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x07\x23\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\
\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\
\x01\x00\x9a\x9c\x18\x00\x00\x05\x1c\x69\x54\x58\x74\x58\x4d\x4c\
\x3a\x63\x6f\x6d\x2e\x61\x64\x6f\x62\x65\x2e\x78\x6d\x70\x00\x00\
\x00\x00\x00\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\
\x69\x6e\x3d\x22\xef\xbb\xbf\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\
\x30\x4d\x70\x43\x65\x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\
\x7a\x6b\x63\x39\x64\x22\x3f\x3e\x20\x3c\x78\x3a\x78\x6d\x70\x6d\
\x65\x74\x61\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\
\x62\x65\x3a\x6e\x73\x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\
\x6d\x70\x74\x6b\x3d\x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\
\x43\x6f\x72\x65\x20\x35\x2e\x36\x2d\x63\x31\x34\x35\x20\x37\x39\
\x2e\x31\x36\x33\x34\x39\x39\x2c\x20\x32\x30\x31\x38\x2f\x30\x38\
\x2f\x31\x33\x2d\x31\x36\x3a\x34\x30\x3a\x32\x32\x20\x20\x20\x20\
\x20\x20\x20\x20\x22\x3e\x20\x3c\x72\x64\x66\x3a\x52\x44\x46\x20\
\x78\x6d\x6c\x6e\x73\x3a\x72\x64\x66\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x31\x39\x39\
\x39\x2f\x30\x32\x2f\x32\x32\x2d\x72\x64\x66\x2d\x73\x79\x6e\x74\
\x61\x78\x2d\x6e\x73\x23\x22\x3e\x20\x3c\x72\x64\x66\x3a\x44\x65\
\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\
\x6f\x75\x74\x3d\x22\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\x70\
\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\
\x65\x2e\x63\x6f\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x22\x20\
\x78\x6d\x6c\x6e\x73\x3a\x64\x63\x3d\x22\x68\x74\x74\x70\x3a\x2f\
\x2f\x70\x75\x72\x6c\x2e\x6f\x72\x67\x2f\x64\x63\x2f\x65\x6c\x65\
\x6d\x65\x6e\x74\x73\x2f\x31\x2e\x31\x2f\x22\x20\x78\x6d\x6c\x6e\
\x73\x3a\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3d\x22\x68\x74\x74\
\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\
\x2f\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x2f\x31\x2e\x30\x2f\x22\
\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\x70\x4d\x4d\x3d\x22\x68\x74\
\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\
\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x6d\x6d\x2f\x22\x20\x78\
\x6d\x6c\x6e\x73\x3a\x73\x74\x45\x76\x74\x3d\x22\x68\x74\x74\x70\
\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\
\x78\x61\x70\x2f\x31\x2e\x30\x2f\x73\x54\x79\x70\x65\x2f\x52\x65\
\x73\x6f\x75\x72\x63\x65\x45\x76\x65\x6e\x74\x23\x22\x20\x78\x6d\
\x70\x3a\x43\x72\x65\x61\x74\x6f\x72\x54\x6f\x6f\x6c\x3d\x22\x41\
\x64\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x43\
\x43\x20\x32\x30\x31\x39\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\
\x22\x20\x78\x6d\x70\x3a\x43\x72\x65\x61\x74\x65\x44\x61\x74\x65\
\x3d\x22\x32\x30\x32\x30\x2d\x30\x35\x2d\x32\x37\x54\x31\x38\x3a\
\x30\x30\x3a\x33\x34\x2d\x30\x37\x3a\x30\x30\x22\x20\x78\x6d\x70\
\x3a\x4d\x6f\x64\x69\x66\x79\x44\x61\x74\x65\x3d\x22\x32\x30\x32\
\x30\x2d\x30\x35\x2d\x32\x37\x54\x31\x38\x3a\x30\x39\x3a\x34\x34\
\x2d\x30\x37\x3a\x30\x30\x22\x20\x78\x6d\x70\x3a\x4d\x65\x74\x61\
\x64\x61\x74\x61\x44\x61\x74\x65\x3d\x22\x32\x30\x32\x30\x2d\x30\
\x35\x2d\x32\x37\x54\x31\x38\x3a\x30\x39\x3a\x34\x34\x2d\x30\x37\
\x3a\x30\x30\x22\x20\x64\x63\x3a\x66\x6f\x72\x6d\x61\x74\x3d\x22\
\x69\x6d\x61\x67\x65\x2f\x70\x6e\x67\x22\x20\x70\x68\x6f\x74\x6f\
\x73\x68\x6f\x70\x3a\x43\x6f\x6c\x6f\x72\x4d\x6f\x64\x65\x3d\x22\
\x33\x22\x20\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x49\x43\x43\
\x50\x72\x6f\x66\x69\x6c\x65\x3d\x22\x73\x52\x47\x42\x20\x49\x45\
\x43\x36\x31\x39\x36\x36\x2d\x32\x2e\x31\x22\x20\x78\x6d\x70\x4d\
\x4d\x3a\x49\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\x78\x6d\
\x70\x2e\x69\x69\x64\x3a\x36\x35\x35\x30\x32\x38\x63\x66\x2d\x39\
\x31\x66\x39\x2d\x31\x65\x34\x33\x2d\x62\x38\x65\x65\x2d\x62\x38\
\x64\x31\x39\x66\x32\x30\x63\x64\x38\x66\x22\x20\x78\x6d\x70\x4d\
\x4d\x3a\x44\x6f\x63\x75\x6d\x65\x6e\x74\x49\x44\x3d\x22\x78\x6d\
\x70\x2e\x64\x69\x64\x3a\x36\x35\x35\x30\x32\x38\x63\x66\x2d\x39\
\x31\x66\x39\x2d\x31\x65\x34\x33\x2d\x62\x38\x65\x65\x2d\x62\x38\
\x64\x31\x39\x66\x32\x30\x63\x64\x38\x66\x22\x20\x78\x6d\x70\x4d\
\x4d\x3a\x4f\x72\x69\x67\x69\x6e\x61\x6c\x44\x6f\x63\x75\x6d\x65\
\x6e\x74\x49\x44\x3d\x22\x78\x6d\x70\x2e\x64\x69\x64\x3a\x36\x35\
\x35\x30\x32\x38\x63\x66\x2d\x39\x31\x66\x39\x2d\x31\x65\x34\x33\
\x2d\x62\x38\x65\x65\x2d\x62\x38\x64\x31\x39\x66\x32\x30\x63\x64\
\x38\x66\x22\x3e\x20\x3c\x78\x6d\x70\x4d\x4d\x3a\x48\x69\x73\x74\
\x6f\x72\x79\x3e\x20\x3c\x72\x64\x66\x3a\x53\x65\x71\x3e\x20\x3c\
\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\x74\x3a\x61\x63\x74\
\x69\x6f\x6e\x3d\x22\x63\x72\x65\x61\x74\x65\x64\x22\x20\x73\x74\
\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\
\x78\x6d\x70\x2e\x69\x69\x64\x3a\x36\x35\x35\x30\x32\x38\x63\x66\
\x2d\x39\x31\x66\x39\x2d\x31\x65\x34\x33\x2d\x62\x38\x65\x65\x2d\
\x62\x38\x64\x31\x39\x66\x32\x30\x63\x64\x38\x66\x22\x20\x73\x74\
\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\x32\x30\x32\x30\x2d\x30\
\x35\x2d\x32\x37\x54\x31\x38\x3a\x30\x30\x3a\x33\x34\x2d\x30\x37\
\x3a\x30\x30\x22\x20\x73\x74\x45\x76\x74\x3a\x73\x6f\x66\x74\x77\
\x61\x72\x65\x41\x67\x65\x6e\x74\x3d\x22\x41\x64\x6f\x62\x65\x20\
\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x43\x43\x20\x32\x30\x31\
\x39\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x2f\x3e\x20\x3c\
\x2f\x72\x64\x66\x3a\x53\x65\x71\x3e\x20\x3c\x2f\x78\x6d\x70\x4d\
\x4d\x3a\x48\x69\x73\x74\x6f\x72\x79\x3e\x20\x3c\x2f\x72\x64\x66\
\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x3e\x20\x3c\x2f\
\x72\x64\x66\x3a\x52\x44\x46\x3e\x20\x3c\x2f\x78\x3a\x78\x6d\x70\
\x6d\x65\x74\x61\x3e\x20\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\
\x65\x6e\x64\x3d\x22\x72\x22\x3f\x3e\x50\xb8\x2e\x99\x00\x00\x01\
\xad\x49\x44\x41\x54\x48\xc7\xb5\x94\xbd\x4b\x42\x51\x1c\x86\xaf\
\x8b\xde\x46\xaf\x83\x5f\x69\x4a\xba\xd4\x20\x4e\x42\x88\x61\xe8\
\x12\x0d\x22\x0a\xce\xed\x2d\x35\x88\x83\xd1\xa0\xab\x53\x90\x0a\
\xb5\x95\x8b\xb9\xb9\x19\x34\x24\x08\x15\x0d\xb5\xf6\xb7\xd8\x7b\
\xe2\x4d\x7e\x48\x37\x2b\x8f\x17\x1e\x8f\xe7\x72\xce\xf3\x28\xe7\
\xaa\x31\x9d\x4e\x8d\x55\xf2\xf9\xe2\x70\x38\xea\xa0\x05\x3a\x60\
\x0f\x04\xc0\x31\xb8\xe5\xe8\x07\x19\x70\x45\x32\xbc\x27\xd7\x04\
\xb8\xb7\x43\x57\x5d\x06\xd4\x8d\x4b\xd0\x06\xbb\xdc\x7c\x04\x6e\
\x38\xfa\x40\x1a\x5c\x90\x34\xef\xc9\x35\x7e\xee\x6d\xd3\xd5\x92\
\x81\x2e\xcb\xfb\xc0\x02\x2e\xb0\x01\x12\x1c\xd5\xdc\x0d\xb6\x89\
\xdb\x66\x8d\x45\x87\x72\x75\x65\x20\xcb\x4f\xa5\x16\x19\x4b\xe2\
\xa2\x2b\x2b\x03\x01\x7e\x45\xa7\x86\x80\x93\xae\x80\x0c\x54\x79\
\x50\x11\x0d\x81\x08\x5d\x55\x19\x18\xf2\x69\x48\x6a\x08\x24\xe9\
\x1a\xca\x40\x0d\x9c\x80\xa8\x86\x40\x94\xae\x9a\x0c\x04\x79\x0e\
\xba\x0e\x59\xb9\x82\x32\x90\xe3\x93\x64\x69\x08\x58\x74\xe5\x64\
\xa0\x0f\xae\xf9\x4c\xdb\x6e\xfe\xba\x16\x04\x12\x74\xf5\x65\x60\
\xc0\x5f\xa4\xae\x80\x72\x0d\x64\x20\xcf\xff\x11\xcf\x22\xf9\x2f\
\x22\x1e\xba\xf2\x32\x10\x02\xeb\xc0\xfc\x49\x6a\x77\xcd\x05\x4c\
\xba\x42\x32\xd0\x00\xa7\x20\xa6\x21\x10\xa3\xab\x21\x03\x13\x70\
\x0f\x52\x1a\x02\x29\xba\x26\x32\xd0\x04\x67\x20\xfe\x57\xf9\x37\
\x91\x38\x5d\x4d\x19\x08\xf3\x1c\x5c\xff\x91\xcf\x45\x5c\x78\x1b\
\x02\xe1\x59\x00\x57\x11\x1c\x00\xd3\x58\xfe\x32\xe9\x2a\xca\xc0\
\x18\x3c\x80\x43\xe0\x03\x6b\x60\x0b\xa4\x39\xaa\xb9\x17\xec\x10\
\xaf\xcd\x1a\x1f\x1d\xca\x35\x96\x81\x11\x78\x01\x4f\xa0\x0c\xa2\
\xe0\x1c\xbc\x72\x54\xf3\x02\x78\x24\x05\x9b\x35\x65\x3a\x94\x6b\
\x24\x03\x3d\x70\x07\x9e\x41\x05\x6c\x82\x2e\x78\xe7\xa8\xe6\x25\
\xf0\x46\x4a\x36\x6b\x2a\x74\x28\x57\x6f\x16\x58\x25\x1f\x8f\x46\
\x67\x9e\xc6\xbf\x14\x2a\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\
\x60\x82\
\x00\x00\x06\x57\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x18\x00\x00\x00\x18\x08\x06\x00\x00\x00\xe0\x77\x3d\xf8\
\x00\x00\x06\x1e\x49\x44\x41\x54\x48\x89\xb5\x96\xcb\x8f\x1c\x57\
\x15\xc6\x7f\xb7\x6e\x75\x75\xb7\xab\x1f\xf3\xe8\xf6\x4c\xbb\xc7\
\x13\x8f\x3d\x63\x8f\x1d\xbf\xe2\x20\xc7\x0a\x0a\x0e\xc1\x48\x10\
\x81\x89\x88\x17\x2c\x22\xc1\x1f\x80\x90\x58\xc1\x06\x91\x05\x1b\
\xe4\x05\x08\x24\x24\xc4\x26\x0b\x84\x78\x25\x08\xa1\x80\x30\x04\
\x59\xc4\x8e\x4d\xe2\xc8\x38\x36\x9e\xb1\x3d\xf1\xbc\xda\x3d\x9e\
\xe9\x99\x9e\xea\x67\x75\x3d\xee\x2d\x54\x33\x2d\x63\x40\x91\xd8\
\x70\x54\x47\xb7\xee\xad\x73\xbf\x73\xee\x57\xa7\xce\x29\x01\x9f\
\xe5\xa3\x45\x1b\x10\x26\x81\xbd\x50\x3c\x86\x91\xcc\xa2\x1f\xce\
\x41\xef\x1f\x60\xae\x83\x11\xf5\x55\x7f\x14\x84\xf9\xdf\x4b\x8f\
\x6c\x2d\xd0\x79\xf0\xf3\x60\x8d\x33\x75\xf0\x78\x76\xcf\x48\xb1\
\xf5\xa7\x8b\x02\x96\xda\xc0\x20\x18\x1e\x98\x2d\xa0\x01\xf8\x60\
\xfc\x2f\x0e\x90\xa0\x6d\xd0\x45\xb0\x76\xc3\x8e\x5d\x60\x95\x8e\
\x3c\x7f\x70\xe7\x67\x4e\xed\xcb\x9d\xbf\x7a\x6b\x9c\x56\x23\x05\
\x19\x05\xfe\x26\xf4\x2a\xa0\x97\x81\x1a\xd0\x01\x43\x3d\x0e\xf6\
\x1f\x14\x69\x01\xba\x04\xe1\x04\xa4\xc6\x18\x9a\x1a\xcb\x3d\x7d\
\xa8\xdc\x6d\x75\xb3\xe1\xec\xfd\x36\x3d\xaf\xc7\xc8\x48\xee\xd4\
\x17\x4e\x0e\x9c\x3c\x54\x8e\x7e\xf9\x87\x9b\xb5\x87\x17\x2e\x57\
\x70\x2b\x15\xf0\x2b\x60\xcc\x83\xb9\x02\x44\x8f\x45\xbb\xaf\x3f\
\x57\x06\xa8\x5d\x10\x4d\xc2\xe0\x21\xf1\xb1\xe7\x4e\x7c\xed\x1b\
\x67\x0f\x7c\xf9\xec\x91\xd1\xe9\xe9\x52\xee\x5a\xb5\x1b\x86\x1a\
\xf1\xf1\x97\x4f\xee\xfc\xf1\xd7\x3f\x59\x7c\xe9\xd9\xb1\xcc\x53\
\x47\x4a\xb9\xf4\x81\x89\xc2\xf5\x7b\xee\x20\xf5\xa6\x00\x4f\x83\
\x0e\x41\x77\xb6\x41\xa3\xf8\x04\x9f\xee\x47\x1e\xe6\x80\xa7\xa0\
\x70\xa8\xf8\xf9\x17\x27\x7f\x7d\xfe\xa5\xfd\xfb\xcb\x99\xfc\xc2\
\xc3\xb6\x52\x8a\xb0\xeb\xab\x28\x50\xff\x3a\x7d\x42\x4a\x91\x4d\
\x4b\x73\xdf\x68\x46\x3e\xa8\xbb\x8d\x53\xaf\xbc\x76\xd7\x7b\xfb\
\xed\x39\xa8\xdf\x06\xae\x83\xd9\x8c\x9d\x48\x98\x60\x9b\x73\xb5\
\x1b\xec\xe9\xc4\xb3\x2f\x1c\x7b\xfd\x7b\xe7\x26\x27\x8a\xb6\x5d\
\x73\xba\xaa\xd6\xf2\x55\x18\x2a\x6d\xa7\x12\x62\xd0\xb6\x84\x17\
\x46\x74\xfd\x50\xbb\x9e\x02\x1d\x45\x1a\xa2\xd1\x7c\xda\x7a\xf1\
\xf4\xfe\xdc\x6b\x97\x1f\x4a\x56\x2b\x6d\x50\x6d\xd0\x5d\x30\x02\
\x09\xe3\x31\x3d\xc3\x90\x7a\x92\xf2\xd1\xe9\xef\xbc\xfa\xf2\xde\
\x4f\x1c\x1e\x19\x9c\x7b\xd8\x0e\x67\x16\x1c\xbf\xeb\x2a\xd5\xf5\
\x42\x5d\x6f\x79\xd1\xba\xe3\x6b\xd7\x0f\x23\x1d\x45\x18\x51\x14\
\x13\x12\xd5\x1d\x57\x67\x93\x96\x7c\x72\x7c\x30\x9d\x2b\x0d\x8b\
\x3f\xbf\xb5\xe0\xe1\x3a\x1e\x78\x1b\x40\xdb\x04\xd7\x86\xb0\x08\
\x3b\xca\x07\xce\x1c\xdf\x75\x60\x4f\x3e\x35\xb3\xdc\xe8\x39\x6d\
\x3f\x0a\x14\x91\x46\xa1\x90\x42\x42\xe4\xa3\xb4\xee\xa9\x28\x00\
\xad\x54\x9c\xcf\x2a\xd2\x8a\xc8\xe9\xd6\xc4\x42\xdd\x35\x26\x77\
\xe7\x19\x7b\xfe\xc4\x48\xe5\xf5\x99\x32\xb4\x17\x61\x47\x2b\x4e\
\xd3\x29\x50\x13\xb1\x93\xa5\x85\x5a\xfa\x83\x7b\xf5\x68\xfa\x89\
\x7c\xd8\xf1\x94\x08\xd4\x16\x00\x48\x45\x0c\xe8\x05\x2a\x68\xf5\
\x94\x5f\x77\x7a\x9e\xd3\xf5\x83\x96\xe7\x85\x7e\xa0\x94\x95\x90\
\xda\x4e\x26\x45\x6d\xa3\x91\xae\xce\x57\x4d\xf0\x8b\xa0\x63\x5c\
\xd3\x84\xc1\x13\x0c\xec\x3b\x9a\x3e\x32\x59\x70\xdf\xbb\xe9\x7c\
\x3f\x95\x50\x3f\xfa\xd6\xe7\x0a\xa9\xa4\x94\xed\x0e\x51\x37\x50\
\x61\xbb\xe7\x7b\xcd\x6e\xe0\xad\x36\x5c\xdf\x69\xb8\x41\xab\xed\
\x87\x5e\x18\x84\x41\xa0\x54\xa0\x95\xb2\xd3\x29\xba\x6e\xc0\xec\
\xef\xff\xd6\xa4\xe9\x64\x72\x9f\x3a\x37\xdd\xbc\x36\x53\xa4\xf1\
\xf7\x41\x13\x52\xf9\xd2\xe9\xe3\x3b\x5f\x39\x7b\x3c\x7b\xfe\xf2\
\xbb\xb5\xc6\xec\x72\x14\x78\x44\x0a\xd4\x7a\xcb\xf5\x9d\x56\xd0\
\x9b\x5f\x73\xba\xd5\x5a\xa7\xe7\x79\x41\x88\x56\x91\x81\x14\xdb\
\xb9\xa4\x62\xea\xcc\x54\x42\x8a\xc0\xd3\x11\xb5\x35\x0f\x83\xe8\
\xd5\xaf\x9e\x1e\xf8\xe1\x2f\xb2\x72\xfe\xe7\x37\x73\x12\x86\x87\
\xdb\xf7\x1d\xff\x9d\x1b\xd5\xb8\xa6\xd8\xa3\xcf\x1c\xce\x9f\x38\
\x38\x26\x57\x36\xdb\xde\xad\xc5\x8d\xf6\xdd\xa5\xcd\x4e\x7d\xd3\
\xf5\x3c\x3f\xd4\x71\xbe\x46\x71\x6a\x8b\x48\x40\x24\x22\xa4\x11\
\x61\x18\x52\x0a\x61\x9a\x42\x54\xdb\x81\x4d\xb3\x6d\xfd\xf1\xf2\
\xfd\x75\xe7\xca\xb5\x19\xb4\x73\x47\x42\xd9\x45\xcf\x7b\x6c\x6e\
\xe4\xec\x53\xcf\x15\xbf\xf2\xc5\x67\xec\x66\xd7\xf3\x67\x96\xea\
\xdd\xc5\xaa\xd3\x6d\xb5\x7b\x61\xa8\x14\x42\x44\xc2\x10\x52\x1a\
\xc2\x88\x2f\x03\x11\x6b\x1c\x2f\x86\x34\xe5\xd6\xb3\x3d\x53\xa5\
\x74\xa5\xe1\x6b\x66\x2f\x2c\xa1\x2b\xef\x83\xb8\x6d\x82\xb7\x12\
\x47\x0e\xd4\xa5\x81\x93\xb3\x13\x89\xaa\xd3\x13\xab\x4e\x27\x68\
\x75\x7a\x91\x34\x0c\xb9\x55\xc3\x0c\x29\xc4\x63\x45\x25\xda\xae\
\x8b\x5b\x59\x96\x30\x53\xe6\xc8\xb0\x9d\xb0\x12\x66\xb4\x5d\xf8\
\xe4\x06\xe8\x18\x77\x25\x2e\x15\x11\xa4\x04\x18\x96\xd7\xb0\xec\
\x70\x74\x38\x3b\x35\x5e\x48\xd6\x5b\x5d\xdd\xea\x78\x5a\x26\xa4\
\x61\x1a\x86\x61\x9a\x88\x44\x42\x0a\x73\x6b\x62\x08\x69\x18\x42\
\x9a\x46\x1c\xbd\x31\x56\x1a\xb2\x26\xc7\x87\x53\xef\x7d\x50\xe9\
\xad\x5e\x7c\x7f\x89\x60\x73\x16\xac\x05\x48\x76\x24\x9c\x01\x0a\
\x21\x58\x21\x6e\x23\xbf\xdc\xcd\x66\xcb\xfb\x46\xcc\x52\x31\x97\
\xce\x64\x93\x56\xcf\x57\x42\xab\x08\xcb\x34\xc5\x60\x7e\x87\x91\
\xcf\xdb\x32\x9d\x90\xf1\x99\x84\x9d\x49\x5b\x13\xe5\xa1\xf4\xe4\
\xf8\xb0\x39\x57\x69\xbb\x7f\x7d\xf3\xfa\x06\xd5\xbb\xf3\x30\x74\
\x13\x4a\xeb\x30\xa0\x24\x3c\x01\xac\x28\x68\x79\xd0\xb2\x58\x7d\
\x20\xe6\x7a\x59\x39\x3a\xb6\xd3\x2e\xef\x2c\x58\xa1\x0a\xb1\xd3\
\x96\x21\x30\x64\xbd\xd1\x11\xce\x66\x27\x70\xdd\x50\xe4\xf3\x76\
\xb2\x30\x94\x33\x27\x76\x95\xe4\xec\x62\xa3\xf7\xbb\x37\xae\x56\
\xb8\xf1\xd6\x87\x50\xbb\x07\xcd\xfb\xe0\x7b\x31\x87\x12\xee\x00\
\x8b\xc0\x52\x08\xcb\x4d\x58\x57\x6a\x69\x35\x79\x77\x35\x2f\xaa\
\x9e\x88\x46\x0b\x19\xf1\xf4\xc1\xb1\xc4\x66\xd3\x4b\x5e\xfa\xed\
\x25\x55\xfb\xcb\xc5\xce\xda\xe2\xba\x69\x8e\xee\xda\x81\x4c\x7a\
\xd7\x66\xea\x9b\x57\x7f\xf3\xce\x2a\xb7\xde\x58\x84\x1b\xb7\xe0\
\xde\x1d\x58\xee\xc0\x1c\x30\xc3\xe3\xef\x4d\xf6\x1b\x50\x89\xad\
\x0a\x58\x28\x23\x4e\x8f\xa6\xce\x9c\x2b\xec\x3d\x3a\x9d\xbb\x7d\
\xe1\x92\xc5\xec\x15\x8b\x74\x3a\x89\xef\x0b\xb2\xe5\x36\xf9\x5c\
\x8d\xfb\xb7\xd6\xd0\x6f\xae\x42\xa3\x0a\xcc\x03\xf1\x18\xc6\x1f\
\x49\xbf\xe1\x3c\x12\x0b\xc8\xf4\x35\x0b\x0c\x6d\xeb\xd4\x00\x64\
\x33\xb0\x61\x63\x9f\x99\xf8\xee\x4f\xbf\x79\xf0\x07\x3f\x7b\xb7\
\xf1\xe0\x57\xdf\xbe\x0e\xeb\x8b\xe0\xac\x03\x4e\x5f\xe3\x12\x1d\
\xb7\xd0\xf6\x76\x0b\xfd\x77\x07\x71\xf4\x69\x20\xd9\x77\x66\xf5\
\xd7\x62\x9b\x04\x30\x0c\x87\x8f\x73\xf8\x4b\xc7\xf8\x70\xb1\x8e\
\xfb\x93\x2b\x6c\xf3\x10\x03\xc6\x12\xf4\x41\x7b\x80\xdb\x3f\xc5\
\x16\x2d\x8f\xb5\xcf\xed\x8c\xef\xdf\xc7\x39\x1d\x1b\xc5\x9b\xe2\
\xcd\x26\x88\x01\xd6\xe6\x33\x84\x2b\x9b\xb0\xba\x00\xac\xf5\xc1\
\xe2\x3f\x85\x98\x92\xd8\x3e\xb6\x8d\xc7\x47\x6d\xf3\xff\x27\xc0\
\x3f\x01\x11\xf0\xf7\xf7\x43\x7e\x3b\x1e\x00\x00\x00\x00\x49\x45\
\x4e\x44\xae\x42\x60\x82\
"
qt_resource_name = b"\
\x00\x05\
\x00\x6f\xa6\x53\
\x00\x69\
\x00\x63\x00\x6f\x00\x6e\x00\x73\
\x00\x0a\
\x08\x3b\x4f\xc7\
\x00\x72\
\x00\x65\x00\x6e\x00\x61\x00\x6d\x00\x65\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0d\
\x00\x59\x1b\xa7\
\x00\x66\
\x00\x69\x00\x6c\x00\x6c\x00\x5f\x00\x74\x00\x6f\x00\x6f\x00\x6c\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0e\
\x01\xe7\xdf\xa7\
\x00\x72\
\x00\x65\x00\x6d\x00\x6f\x00\x76\x00\x65\x00\x5f\x00\x72\x00\x6f\x00\x77\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x07\
\x07\xa7\x57\x87\
\x00\x61\
\x00\x64\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0d\
\x04\x56\x3b\xe7\
\x00\x6c\
\x00\x69\x00\x6e\x00\x65\x00\x5f\x00\x74\x00\x6f\x00\x6f\x00\x6c\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0f\
\x0f\x1d\x41\x27\
\x00\x70\
\x00\x65\x00\x6e\x00\x63\x00\x69\x00\x6c\x00\x5f\x00\x74\x00\x6f\x00\x6f\x00\x6c\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x10\
\x06\x4f\x5b\xa7\
\x00\x73\
\x00\x77\x00\x69\x00\x74\x00\x63\x00\x68\x00\x5f\x00\x63\x00\x6f\x00\x6c\x00\x6f\x00\x72\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0a\
\x06\xcb\x4f\xc7\
\x00\x72\
\x00\x65\x00\x6d\x00\x6f\x00\x76\x00\x65\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0d\
\x07\x2a\x1b\xc7\
\x00\x72\
\x00\x65\x00\x63\x00\x74\x00\x5f\x00\x74\x00\x6f\x00\x6f\x00\x6c\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0b\
\x09\xa9\x03\x87\
\x00\x61\
\x00\x64\x00\x64\x00\x5f\x00\x72\x00\x6f\x00\x77\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0f\
\x03\x2a\x7d\x27\
\x00\x73\
\x00\x65\x00\x6c\x00\x65\x00\x63\x00\x74\x00\x5f\x00\x74\x00\x6f\x00\x6f\x00\x6c\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x10\
\x06\xb7\x36\xe7\
\x00\x65\
\x00\x6c\x00\x6c\x00\x69\x00\x70\x00\x73\x00\x65\x00\x5f\x00\x74\x00\x6f\x00\x6f\x00\x6c\x00\x2e\x00\x70\x00\x6e\x00\x67\
"
qt_resource_struct_v1 = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x0c\x00\x00\x00\x02\
\x00\x00\x00\x2a\x00\x00\x00\x00\x00\x01\x00\x00\x02\xad\
\x00\x00\x00\x4a\x00\x00\x00\x00\x00\x01\x00\x00\x0e\x81\
\x00\x00\x01\x40\x00\x00\x00\x00\x00\x01\x00\x00\x3a\xb0\
\x00\x00\x00\x80\x00\x00\x00\x00\x00\x01\x00\x00\x1e\xe1\
\x00\x00\x00\xc4\x00\x00\x00\x00\x00\x01\x00\x00\x24\x4b\
\x00\x00\x01\x64\x00\x00\x00\x00\x00\x01\x00\x00\x41\xd7\
\x00\x00\x00\xea\x00\x00\x00\x00\x00\x01\x00\x00\x27\x11\
\x00\x00\x01\x04\x00\x00\x00\x00\x00\x01\x00\x00\x28\x85\
\x00\x00\x00\x6c\x00\x00\x00\x00\x00\x01\x00\x00\x1b\x1a\
\x00\x00\x00\x10\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x24\x00\x00\x00\x00\x00\x01\x00\x00\x2d\x9f\
\x00\x00\x00\xa0\x00\x00\x00\x00\x00\x01\x00\x00\x21\xec\
"
qt_resource_struct_v2 = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x0c\x00\x00\x00\x02\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x2a\x00\x00\x00\x00\x00\x01\x00\x00\x02\xad\
\x00\x00\x01\x72\x75\x7d\x98\x0e\
\x00\x00\x00\x4a\x00\x00\x00\x00\x00\x01\x00\x00\x0e\x81\
\x00\x00\x01\x72\x39\xc3\xd7\xbb\
\x00\x00\x01\x40\x00\x00\x00\x00\x00\x01\x00\x00\x3a\xb0\
\x00\x00\x01\x72\x75\x7d\x98\x1f\
\x00\x00\x00\x80\x00\x00\x00\x00\x00\x01\x00\x00\x1e\xe1\
\x00\x00\x01\x72\x7d\xbb\x02\xbf\
\x00\x00\x00\xc4\x00\x00\x00\x00\x00\x01\x00\x00\x24\x4b\
\x00\x00\x01\x72\x24\x83\x5f\x91\
\x00\x00\x01\x64\x00\x00\x00\x00\x00\x01\x00\x00\x41\xd7\
\x00\x00\x01\x72\x7d\xba\xdc\x9f\
\x00\x00\x00\xea\x00\x00\x00\x00\x00\x01\x00\x00\x27\x11\
\x00\x00\x01\x72\x24\x83\x5f\x90\
\x00\x00\x01\x04\x00\x00\x00\x00\x00\x01\x00\x00\x28\x85\
\x00\x00\x01\x72\x7d\xb9\x9d\xad\
\x00\x00\x00\x6c\x00\x00\x00\x00\x00\x01\x00\x00\x1b\x1a\
\x00\x00\x01\x72\x24\x83\x5f\x90\
\x00\x00\x00\x10\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x72\x24\x83\x5f\x90\
\x00\x00\x01\x24\x00\x00\x00\x00\x00\x01\x00\x00\x2d\x9f\
\x00\x00\x01\x72\x39\xc3\xd7\xbb\
\x00\x00\x00\xa0\x00\x00\x00\x00\x00\x01\x00\x00\x21\xec\
\x00\x00\x01\x72\x75\x7d\x98\x1b\
"
qt_version = [int(v) for v in QtCore.qVersion().split(".")]
if qt_version < [5, 8, 0]:
rcc_version = 1
qt_resource_struct = qt_resource_struct_v1
else:
rcc_version = 2
qt_resource_struct = qt_resource_struct_v2
def qInitResources():
QtCore.qRegisterResourceData(
rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data
)
def qCleanupResources():
QtCore.qUnregisterResourceData(
rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data
)
qInitResources()
| 61.249054
| 121
| 0.725992
| 19,497
| 80,910
| 3.010822
| 0.015746
| 0.043746
| 0.034496
| 0.020033
| 0.507223
| 0.50293
| 0.49862
| 0.493305
| 0.491772
| 0.491312
| 0
| 0.367611
| 0.017699
| 80,910
| 1,320
| 122
| 61.295455
| 0.370983
| 0.001879
| 0
| 0.420446
| 0
| 0.914681
| 0.000012
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0.001537
| false
| 0
| 0.000769
| 0
| 0.002306
| 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
|
6b02faf6b76d98878f3b2277b3abf2f16994119e
| 770
|
py
|
Python
|
dist_pd/losses.py
|
kose-y/dist-primal-dual
|
abe744e0072ecf6d95c7a17f607df621fe5102b3
|
[
"MIT"
] | null | null | null |
dist_pd/losses.py
|
kose-y/dist-primal-dual
|
abe744e0072ecf6d95c7a17f607df621fe5102b3
|
[
"MIT"
] | null | null | null |
dist_pd/losses.py
|
kose-y/dist-primal-dual
|
abe744e0072ecf6d95c7a17f607df621fe5102b3
|
[
"MIT"
] | null | null | null |
import numpy as np
import tensorflow as tf
class LossFunction:
@classmethod
def eval(self,bhat, b):
pass
@classmethod
def eval_deriv(self,bhat, b):
grads = tf.gradient(self.eval(bhat, b), bhat)
return grads[0]
class QuadLoss(LossFunction):
@classmethod
def eval(self, bhat, b):
return 0.5 * tf.norm(bhat-b)**2
@classmethod
def eval_deriv(self, bhat, b):
print(bhat.shape)
print(b.shape)
return bhat - b
class LogisticLoss(LossFunction):
@classmethod
def eval(self, bhat, b):
return tf.sum(tf.log(1+tf.exp(-b*bhat))) # when labeling is (-1, +1)
@classmethod
def eval_deriv(self, bhat, b):
expbAx = tf.exp(b*bhat)
return -b/(1.+expbAx)
| 24.83871
| 76
| 0.601299
| 108
| 770
| 4.259259
| 0.324074
| 0.097826
| 0.234783
| 0.195652
| 0.48913
| 0.48913
| 0.48913
| 0.195652
| 0
| 0
| 0
| 0.01426
| 0.271429
| 770
| 30
| 77
| 25.666667
| 0.805704
| 0.032468
| 0
| 0.444444
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.222222
| false
| 0.037037
| 0.074074
| 0.074074
| 0.592593
| 0.074074
| 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
|
6b05f79374660b39928f786ab4ec91f87194dc52
| 113
|
py
|
Python
|
launcher.py
|
klenje/parsemypsa
|
1728c92c2073c3189bf58bf96b6f78bb77f39d9a
|
[
"MIT"
] | null | null | null |
launcher.py
|
klenje/parsemypsa
|
1728c92c2073c3189bf58bf96b6f78bb77f39d9a
|
[
"MIT"
] | null | null | null |
launcher.py
|
klenje/parsemypsa
|
1728c92c2073c3189bf58bf96b6f78bb77f39d9a
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
from parsemypsa import main
if __name__ == "__main__":
# Just launch
main.main()
| 14.125
| 27
| 0.663717
| 15
| 113
| 4.466667
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.212389
| 113
| 7
| 28
| 16.142857
| 0.752809
| 0.283186
| 0
| 0
| 0
| 0
| 0.101266
| 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
|
6b136f60d521fdbadbfa9575dbe094e40ef36554
| 729
|
py
|
Python
|
GraphApp/forms.py
|
rjbrugman/SimpleGraph
|
b3041ab665044678f9041bb078bb8ef401101898
|
[
"Unlicense"
] | null | null | null |
GraphApp/forms.py
|
rjbrugman/SimpleGraph
|
b3041ab665044678f9041bb078bb8ef401101898
|
[
"Unlicense"
] | null | null | null |
GraphApp/forms.py
|
rjbrugman/SimpleGraph
|
b3041ab665044678f9041bb078bb8ef401101898
|
[
"Unlicense"
] | null | null | null |
from django.core.exceptions import ValidationError
from django.utils.translation import ugettext_lazy as _
import datetime # for checking renewal date range.
from django import forms
class GraphInputForm(forms.Form):
# x_coefficient = forms.IntegerField(label="x coef", help_text="help", min_value=-10, max_value=10)
x_coefficient = forms.IntegerField( min_value=-100, max_value=100)
x_exponent = forms.IntegerField( min_value=-8, max_value=8)
c_constant = forms.IntegerField(min_value=-100, max_value=100)
x2_coefficient = forms.IntegerField(min_value=-100, max_value=100)
x2_exponent = forms.IntegerField(min_value=-8, max_value=8)
c2_constant = forms.IntegerField(min_value=-100, max_value=100)
| 48.6
| 103
| 0.775034
| 105
| 729
| 5.152381
| 0.371429
| 0.118299
| 0.221811
| 0.277264
| 0.524954
| 0.524954
| 0.524954
| 0.524954
| 0.524954
| 0
| 0
| 0.054688
| 0.122085
| 729
| 15
| 104
| 48.6
| 0.790625
| 0.178326
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.363636
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
6b40e26a289f09e4ab642ca8359c4251c3b33f54
| 102
|
py
|
Python
|
python/datatypes/component.py
|
vottie/lang
|
8097b0a8168574aaa47d2dc76892d74d19cd43d5
|
[
"MIT"
] | null | null | null |
python/datatypes/component.py
|
vottie/lang
|
8097b0a8168574aaa47d2dc76892d74d19cd43d5
|
[
"MIT"
] | null | null | null |
python/datatypes/component.py
|
vottie/lang
|
8097b0a8168574aaa47d2dc76892d74d19cd43d5
|
[
"MIT"
] | null | null | null |
class Component:
def __init__(self, id_, name_):
self.id = id_
self.name = name_
| 17
| 35
| 0.578431
| 13
| 102
| 3.923077
| 0.538462
| 0.235294
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.323529
| 102
| 5
| 36
| 20.4
| 0.73913
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
6b47b205ec56d71aa6e21caab2d8b12797b2a5a1
| 52
|
py
|
Python
|
weather-station/lib/wireless.py
|
gkluoe/LoPy
|
a5801154c53384b6b93bff61958c357facc77a2c
|
[
"Apache-2.0"
] | null | null | null |
weather-station/lib/wireless.py
|
gkluoe/LoPy
|
a5801154c53384b6b93bff61958c357facc77a2c
|
[
"Apache-2.0"
] | null | null | null |
weather-station/lib/wireless.py
|
gkluoe/LoPy
|
a5801154c53384b6b93bff61958c357facc77a2c
|
[
"Apache-2.0"
] | null | null | null |
from network import WLAN
wlan = WLAN(mode=WLAN.STA)
| 17.333333
| 26
| 0.769231
| 9
| 52
| 4.444444
| 0.666667
| 0.4
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.134615
| 52
| 3
| 26
| 17.333333
| 0.888889
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
860b59591040b77d0dfa4fc6ec0ca5114673cc97
| 151
|
py
|
Python
|
hero/views.py
|
Zadigo/twitter_template
|
110dd857bce219bd596a30db6e49acffca7af286
|
[
"MIT"
] | null | null | null |
hero/views.py
|
Zadigo/twitter_template
|
110dd857bce219bd596a30db6e49acffca7af286
|
[
"MIT"
] | null | null | null |
hero/views.py
|
Zadigo/twitter_template
|
110dd857bce219bd596a30db6e49acffca7af286
|
[
"MIT"
] | null | null | null |
from django.shortcuts import render
from django.views.generic import TemplateView
class HeroView(TemplateView):
template_name = 'pages/hero.html'
| 25.166667
| 45
| 0.807947
| 19
| 151
| 6.368421
| 0.789474
| 0.165289
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.119205
| 151
| 5
| 46
| 30.2
| 0.909774
| 0
| 0
| 0
| 0
| 0
| 0.099338
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
860fafc32657977701fb3f14dc5b2610da3c49c2
| 137
|
py
|
Python
|
tests/test_utils.py
|
ryanjdillon/pylleo
|
be91467f2a022b5e46dbbbb717f75693609a56d0
|
[
"MIT"
] | null | null | null |
tests/test_utils.py
|
ryanjdillon/pylleo
|
be91467f2a022b5e46dbbbb717f75693609a56d0
|
[
"MIT"
] | 1
|
2016-10-21T12:44:01.000Z
|
2017-01-09T09:21:13.000Z
|
tests/test_utils.py
|
ryanjdillon/pylleo
|
be91467f2a022b5e46dbbbb717f75693609a56d0
|
[
"MIT"
] | null | null | null |
def test_posix_string():
from pylleo import utils
a = "Foo Bar-BAZ"
b = "foo_bar_baz"
assert utils.posix_string(a) == b
| 19.571429
| 37
| 0.642336
| 22
| 137
| 3.772727
| 0.636364
| 0.26506
| 0.216867
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.248175
| 137
| 6
| 38
| 22.833333
| 0.805825
| 0
| 0
| 0
| 0
| 0
| 0.160584
| 0
| 0
| 0
| 0
| 0
| 0.2
| 1
| 0.2
| false
| 0
| 0.2
| 0
| 0.4
| 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
|
861e181aecdd3409d3ef770b75630177caacfb7d
| 130
|
py
|
Python
|
tests/_private_extras.py
|
rusty1s/class-resolver
|
b97ca43aff802141f390b6ca140f36016d287250
|
[
"MIT"
] | 3
|
2022-02-10T17:45:24.000Z
|
2022-02-12T12:24:55.000Z
|
tests/_private_extras.py
|
rusty1s/class-resolver
|
b97ca43aff802141f390b6ca140f36016d287250
|
[
"MIT"
] | null | null | null |
tests/_private_extras.py
|
rusty1s/class-resolver
|
b97ca43aff802141f390b6ca140f36016d287250
|
[
"MIT"
] | 1
|
2022-02-15T08:14:04.000Z
|
2022-02-15T08:14:04.000Z
|
# -*- coding: utf-8 -*-
"""This Module helps test private extras."""
class PrivateDict(dict):
"""A priviate dictionary."""
| 16.25
| 44
| 0.623077
| 15
| 130
| 5.4
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009346
| 0.176923
| 130
| 7
| 45
| 18.571429
| 0.747664
| 0.646154
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
86263f9adb21eb810c06972e2f9933ada85df995
| 243
|
py
|
Python
|
test_calc.py
|
miyakogi/coveralls_sample
|
d5ef36050ec76934a2ca7ee214002c6835823e0d
|
[
"MIT"
] | null | null | null |
test_calc.py
|
miyakogi/coveralls_sample
|
d5ef36050ec76934a2ca7ee214002c6835823e0d
|
[
"MIT"
] | null | null | null |
test_calc.py
|
miyakogi/coveralls_sample
|
d5ef36050ec76934a2ca7ee214002c6835823e0d
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from calc import calculator
def test_add():
assert calculator('+', 1, 3) == 4
def test_sub():
assert calculator('-', 3, 1) == 2
def test_div():
assert calculator('/', 36, 6) == 6
| 16.2
| 38
| 0.580247
| 35
| 243
| 3.942857
| 0.657143
| 0.152174
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.062827
| 0.213992
| 243
| 14
| 39
| 17.357143
| 0.659686
| 0.176955
| 0
| 0
| 0
| 0
| 0.015152
| 0
| 0
| 0
| 0
| 0
| 0.428571
| 1
| 0.428571
| true
| 0
| 0.142857
| 0
| 0.571429
| 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
| 1
| 0
| 1
| 1
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
865746256f75c63cbacd09bb273c0dd57d212e89
| 479
|
py
|
Python
|
tests/app_1/pyd_models.py
|
gitter-badger/turbulette
|
abc61b58033f4f53bbefe5a1e10bf6550d2ce86f
|
[
"BSD-3-Clause"
] | null | null | null |
tests/app_1/pyd_models.py
|
gitter-badger/turbulette
|
abc61b58033f4f53bbefe5a1e10bf6550d2ce86f
|
[
"BSD-3-Clause"
] | null | null | null |
tests/app_1/pyd_models.py
|
gitter-badger/turbulette
|
abc61b58033f4f53bbefe5a1e10bf6550d2ce86f
|
[
"BSD-3-Clause"
] | null | null | null |
from turbulette.validation.pyd_model import GraphQLModel
class CreateBook(GraphQLModel):
class GraphQL:
gql_type = "CreateBookInput"
class CreateComics(GraphQLModel):
class GraphQL:
gql_type = "CreateComicInput"
class BookPayload(GraphQLModel):
class GraphQL:
gql_type = "BookPayload"
class Book(GraphQLModel):
class GraphQL:
gql_type = "Book"
class Profile(GraphQLModel):
class GraphQL:
gql_type = "Profile"
| 17.740741
| 56
| 0.695198
| 47
| 479
| 6.957447
| 0.382979
| 0.311927
| 0.366972
| 0.412844
| 0.474006
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.227557
| 479
| 26
| 57
| 18.423077
| 0.883784
| 0
| 0
| 0.3125
| 0
| 0
| 0.110647
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.0625
| 0
| 0.6875
| 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
|
86579c04cfcbb72661c01d173f51ef2ac41edc7b
| 241
|
py
|
Python
|
fastapi_mvc_example/app/utils/__init__.py
|
rszamszur/fastapi-mvc-example
|
8a60867f5141d53a29052cece785f880d2f1aa99
|
[
"MIT"
] | 3
|
2022-01-17T13:37:36.000Z
|
2022-03-17T22:56:20.000Z
|
fastapi_mvc_example/app/utils/__init__.py
|
rszamszur/fastapi-mvc-example
|
8a60867f5141d53a29052cece785f880d2f1aa99
|
[
"MIT"
] | null | null | null |
fastapi_mvc_example/app/utils/__init__.py
|
rszamszur/fastapi-mvc-example
|
8a60867f5141d53a29052cece785f880d2f1aa99
|
[
"MIT"
] | null | null | null |
"""Application implementation - utilities.
Resources:
1. https://aioredis.readthedocs.io/en/latest/
"""
from fastapi_mvc_example.app.utils.aiohttp_client import AiohttpClient
from fastapi_mvc_example.app.utils.redis import RedisClient
| 26.777778
| 70
| 0.809129
| 30
| 241
| 6.333333
| 0.766667
| 0.115789
| 0.147368
| 0.221053
| 0.305263
| 0.305263
| 0
| 0
| 0
| 0
| 0
| 0.004566
| 0.091286
| 241
| 8
| 71
| 30.125
| 0.863014
| 0.419087
| 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
| 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
|
86611e02b0de8b3f07e9060b08cda2438c244818
| 15
|
py
|
Python
|
student/__init__.py
|
debajyotiroyc/CrispyForm_Django
|
847d3a6a2d9c2ac419d3da39ed17d1ced3bd92af
|
[
"MIT"
] | null | null | null |
student/__init__.py
|
debajyotiroyc/CrispyForm_Django
|
847d3a6a2d9c2ac419d3da39ed17d1ced3bd92af
|
[
"MIT"
] | null | null | null |
student/__init__.py
|
debajyotiroyc/CrispyForm_Django
|
847d3a6a2d9c2ac419d3da39ed17d1ced3bd92af
|
[
"MIT"
] | null | null | null |
#student init
| 7.5
| 14
| 0.733333
| 2
| 15
| 5.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.2
| 15
| 1
| 15
| 15
| 0.916667
| 0.8
| 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
|
866fc1248883b3170ccd519742d9a8369a1c8d1a
| 310
|
py
|
Python
|
Chapter04/04_02.py
|
JeffreyAsuncion/LearningPythonStdLib
|
8d8e682e2b60b3eeec41c288eb3e7691a5c8fb4d
|
[
"MIT"
] | null | null | null |
Chapter04/04_02.py
|
JeffreyAsuncion/LearningPythonStdLib
|
8d8e682e2b60b3eeec41c288eb3e7691a5c8fb4d
|
[
"MIT"
] | null | null | null |
Chapter04/04_02.py
|
JeffreyAsuncion/LearningPythonStdLib
|
8d8e682e2b60b3eeec41c288eb3e7691a5c8fb4d
|
[
"MIT"
] | null | null | null |
# Getting more control over formatting
from datetime import datetime
now = datetime.now()
print(now.strftime("%a %A %d"))
print(now.strftime("%b %B %m"))
print(now.strftime("%a %B %d"))
print(now.strftime("%H %M %S %p"))
print(now.strftime("%H : %M : %S %p"))
print(now.strftime("%y %Y"))
| 19.375
| 39
| 0.603226
| 49
| 310
| 3.816327
| 0.387755
| 0.256684
| 0.513369
| 0.181818
| 0.299465
| 0.299465
| 0.299465
| 0.299465
| 0.299465
| 0.299465
| 0
| 0
| 0.177419
| 310
| 16
| 40
| 19.375
| 0.733333
| 0.116129
| 0
| 0
| 0
| 0
| 0.213178
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.125
| 0
| 0.125
| 0.75
| 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
|
86704781df886429f3b32c45bda3064a5690b392
| 164
|
py
|
Python
|
yaml/read_list_yaml.py
|
k19ran/python-net_automation
|
f86978bdbb899032892de30fbfbc41e6270acdef
|
[
"Apache-2.0"
] | null | null | null |
yaml/read_list_yaml.py
|
k19ran/python-net_automation
|
f86978bdbb899032892de30fbfbc41e6270acdef
|
[
"Apache-2.0"
] | 4
|
2021-04-07T20:50:07.000Z
|
2021-12-13T20:32:49.000Z
|
yaml/read_list_yaml.py
|
k19ran/python-net_automation
|
f86978bdbb899032892de30fbfbc41e6270acdef
|
[
"Apache-2.0"
] | null | null | null |
import yaml
filename = input("Enter a filenamee:")
with open(filename) as f:
yaml_out = yaml.load(f)
print(yaml_out)
print(type(yaml_out))
#print(yaml_out[1])
| 18.222222
| 38
| 0.719512
| 28
| 164
| 4.071429
| 0.571429
| 0.245614
| 0.210526
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.007042
| 0.134146
| 164
| 8
| 39
| 20.5
| 0.795775
| 0.109756
| 0
| 0
| 0
| 0
| 0.124138
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.166667
| 0
| 0.166667
| 0.333333
| 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
|
8674802cba03fd982cd525888098365e261c02c7
| 115
|
py
|
Python
|
dvc/output/gs.py
|
vladkol/dvc
|
f4349aa09b839687fbb24913ee222b815f875567
|
[
"Apache-2.0"
] | 1
|
2020-08-01T08:31:18.000Z
|
2020-08-01T08:31:18.000Z
|
dvc/output/gs.py
|
vladkol/dvc
|
f4349aa09b839687fbb24913ee222b815f875567
|
[
"Apache-2.0"
] | null | null | null |
dvc/output/gs.py
|
vladkol/dvc
|
f4349aa09b839687fbb24913ee222b815f875567
|
[
"Apache-2.0"
] | null | null | null |
from dvc.output.s3 import S3Output
from ..tree.gs import GSTree
class GSOutput(S3Output):
TREE_CLS = GSTree
| 14.375
| 34
| 0.747826
| 17
| 115
| 5
| 0.705882
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.031579
| 0.173913
| 115
| 7
| 35
| 16.428571
| 0.863158
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 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
|
867ac830af0d540b8c22e8116956b72339810646
| 519
|
py
|
Python
|
pyapp/schema.py
|
wonderfan/mongo-draft
|
31faccf1cce62b0e9144ae07b4d87009c0620828
|
[
"Apache-2.0"
] | null | null | null |
pyapp/schema.py
|
wonderfan/mongo-draft
|
31faccf1cce62b0e9144ae07b4d87009c0620828
|
[
"Apache-2.0"
] | null | null | null |
pyapp/schema.py
|
wonderfan/mongo-draft
|
31faccf1cce62b0e9144ae07b4d87009c0620828
|
[
"Apache-2.0"
] | null | null | null |
from mongoengine import Document
from mongoengine import StringField
from mongoengine import ReferenceField
class Request(Document):
uuid = StringField(primary_key=True)
user_id = ReferenceField(User)
class RequestAction(Document):
pass
class Task(Document):
pass
class Message(Document):
pass
class Template(Document):
pass
class Chain(Document):
pass
class ChainInstance(Document):
pass
class Cloud(Document):
pass
class Node(Document):
pass
| 15.264706
| 40
| 0.705202
| 56
| 519
| 6.5
| 0.410714
| 0.263736
| 0.326923
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.229287
| 519
| 34
| 41
| 15.264706
| 0.91
| 0
| 0
| 0.363636
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.363636
| 0.136364
| 0
| 0.636364
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
869fad5d9538057a658ddbbb7f11481d4662bf79
| 22
|
py
|
Python
|
python/testData/codeInsight/smartEnter/noFirstClauseInMatchStatementWithIncompleteStatementInside.py
|
06needhamt/intellij-community
|
63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b
|
[
"Apache-2.0"
] | null | null | null |
python/testData/codeInsight/smartEnter/noFirstClauseInMatchStatementWithIncompleteStatementInside.py
|
06needhamt/intellij-community
|
63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b
|
[
"Apache-2.0"
] | null | null | null |
python/testData/codeInsight/smartEnter/noFirstClauseInMatchStatementWithIncompleteStatementInside.py
|
06needhamt/intellij-community
|
63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b
|
[
"Apache-2.0"
] | null | null | null |
match x:
ca<caret>
| 11
| 13
| 0.590909
| 4
| 22
| 3.25
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.272727
| 22
| 2
| 13
| 11
| 0.8125
| 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
|
86b84dbb24b59722d6bb4499bb93189f0ba25d38
| 5,823
|
py
|
Python
|
tests/datasets/test_segmentation.py
|
Neklaustares-tPtwP/torchflare
|
7af6b01ef7c26f0277a041619081f6df4eb1e42c
|
[
"Apache-2.0"
] | 1
|
2021-09-14T08:38:05.000Z
|
2021-09-14T08:38:05.000Z
|
tests/datasets/test_segmentation.py
|
Neklaustares-tPtwP/torchflare
|
7af6b01ef7c26f0277a041619081f6df4eb1e42c
|
[
"Apache-2.0"
] | null | null | null |
tests/datasets/test_segmentation.py
|
Neklaustares-tPtwP/torchflare
|
7af6b01ef7c26f0277a041619081f6df4eb1e42c
|
[
"Apache-2.0"
] | 1
|
2021-08-06T19:24:43.000Z
|
2021-08-06T19:24:43.000Z
|
# flake8: noqa
import collections
import albumentations as A
import pandas as pd
import torch
import torchvision
from torchflare.datasets.segmentation import SegmentationDataset
from torchflare.datasets.segmentation_dataloader import SegmentationDataloader
df = pd.read_csv("tests/datasets/data/image_segmentation/csv_data/dummy.csv")
df_inputs = collections.namedtuple(
"df_inputs",
["path", "image_col", "mask_cols", "mask_size", "num_classes", "extension", "df"],
)
df_inputs = df_inputs(
path="tests/datasets/data/image_segmentation/csv_data/images",
df=df,
image_col="im_id",
mask_cols=["EncodedPixels"],
extension=None,
mask_size=(320, 320),
num_classes=4,
)
folder_inputs = collections.namedtuple("folder_inputs", ["image_path", "mask_path"])
folder_inputs = folder_inputs(
image_path="tests/datasets/data/image_segmentation/folder_data/images",
mask_path="tests/datasets/data/image_segmentation/folder_data/masks",
)
def test_from_df():
def test_albumentations_augs():
augmentations = A.Compose([A.Resize(256, 256)])
ds = SegmentationDataset.from_rle(
path=df_inputs.path,
df=df,
image_col=df_inputs.image_col,
mask_cols=df_inputs.mask_cols,
extension=df_inputs.extension,
mask_size=df_inputs.mask_size,
num_classes=df_inputs.num_classes,
augmentations=augmentations,
image_convert_mode="RGB",
)
x, y = ds[0]
assert torch.is_tensor(x) is True
assert torch.is_tensor(x) is True
assert x.shape == (3, 256, 256)
assert y.shape == (df_inputs.num_classes, 256, 256)
def test_torchvision_augs():
augmentations = torchvision.transforms.Compose([torchvision.transforms.Resize((256, 256))])
ds = SegmentationDataset.from_rle(
path=df_inputs.path,
df=df,
image_col=df_inputs.image_col,
mask_cols=df_inputs.mask_cols,
extension=df_inputs.extension,
mask_size=df_inputs.mask_size,
num_classes=df_inputs.num_classes,
augmentations=augmentations,
image_convert_mode="RGB",
)
x, y = ds[0]
assert torch.is_tensor(x) is True
assert torch.is_tensor(x) is True
assert x.shape == (3, 256, 256)
assert y.shape == (df_inputs.num_classes, 256, 256)
def test_inference():
augmentations = torchvision.transforms.Compose([torchvision.transforms.Resize((256, 256))])
ds = SegmentationDataset.from_rle(
path=df_inputs.path,
df=df,
image_col=df_inputs.image_col,
mask_cols=None,
extension=df_inputs.extension,
mask_size=None,
num_classes=None,
augmentations=augmentations,
image_convert_mode="RGB",
)
x = ds[0]
assert torch.is_tensor(x) is True
assert len(x.shape) == 3
test_torchvision_augs()
test_albumentations_augs()
test_inference()
# test_from_df()
def test_from_folders():
def test_albu_augs():
augmentations = A.Compose([A.Resize(256, 256)])
ds = SegmentationDataset.from_folders(
image_path=folder_inputs.image_path,
mask_path=folder_inputs.mask_path,
augmentations=augmentations,
image_convert_mode="L",
mask_convert_mode="L",
)
x, y = ds[0]
assert torch.is_tensor(x) is True
assert torch.is_tensor(x) is True
assert x.shape == (1, 256, 256)
assert y.shape == (1, 256, 256)
def test_torchvision_augs():
augmentations = torchvision.transforms.Compose([torchvision.transforms.Resize((256, 256))])
ds = SegmentationDataset.from_folders(
image_path=folder_inputs.image_path,
mask_path=folder_inputs.mask_path,
augmentations=augmentations,
image_convert_mode="L",
mask_convert_mode="L",
)
x, y = ds[0]
assert torch.is_tensor(x) is True
assert torch.is_tensor(x) is True
assert x.shape == (1, 256, 256)
assert y.shape == (1, 256, 256)
test_albu_augs()
test_torchvision_augs()
def test_segmentation_dataloaders():
def test_segmentation_data_from_rle():
augmentations = A.Compose([A.Resize(256, 256)])
dl = SegmentationDataloader.from_rle(
path=df_inputs.path,
df=df,
image_col=df_inputs.image_col,
mask_cols=df_inputs.mask_cols,
extension=df_inputs.extension,
mask_size=df_inputs.mask_size,
num_classes=df_inputs.num_classes,
augmentations=augmentations,
image_convert_mode="RGB",
).get_loader(batch_size=2, shuffle=True)
x, y = next(iter(dl))
assert torch.is_tensor(x) is True
assert torch.is_tensor(x) is True
assert x.shape == (2, 3, 256, 256)
assert y.shape == (2, df_inputs.num_classes, 256, 256)
def test_segmentation_data_from_folders():
augmentations = A.Compose([A.Resize(256, 256)])
dl = SegmentationDataloader.from_folders(
image_path=folder_inputs.image_path,
mask_path=folder_inputs.mask_path,
augmentations=augmentations,
image_convert_mode="L",
mask_convert_mode="L",
).get_loader(batch_size=2, shuffle=False)
x, y = next(iter(dl))
assert torch.is_tensor(x) is True
assert torch.is_tensor(x) is True
assert x.shape == (2, 1, 256, 256)
assert y.shape == (2, 1, 256, 256)
test_segmentation_data_from_folders()
test_segmentation_data_from_rle()
| 30.486911
| 99
| 0.631805
| 718
| 5,823
| 4.857939
| 0.114206
| 0.06422
| 0.048452
| 0.070814
| 0.800459
| 0.755734
| 0.718463
| 0.681766
| 0.633601
| 0.633601
| 0
| 0.033419
| 0.265155
| 5,823
| 190
| 100
| 30.647368
| 0.781725
| 0.004637
| 0
| 0.621622
| 0
| 0
| 0.061108
| 0.038667
| 0
| 0
| 0
| 0
| 0.175676
| 1
| 0.067568
| false
| 0
| 0.047297
| 0
| 0.114865
| 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
|
86c0e97dd3b922547501d76e2bd9a2ffc28bbc85
| 621
|
py
|
Python
|
naslib/optimizers/__init__.py
|
automl/nas-bench-x11
|
56aee15f125339c4d2af1cbfad9f66fd4643c9d7
|
[
"Apache-2.0"
] | 14
|
2021-12-08T17:56:01.000Z
|
2022-01-15T05:06:59.000Z
|
naslib/optimizers/__init__.py
|
shenyann/nas-bench-x11
|
ebf64ce3c30cc2ad0909508b5e25652011179956
|
[
"Apache-2.0"
] | 4
|
2022-01-10T09:04:38.000Z
|
2022-01-23T03:35:09.000Z
|
naslib/optimizers/__init__.py
|
shenyann/nas-bench-x11
|
ebf64ce3c30cc2ad0909508b5e25652011179956
|
[
"Apache-2.0"
] | 1
|
2021-12-08T17:56:06.000Z
|
2021-12-08T17:56:06.000Z
|
from .discrete.rs.optimizer import RandomSearch
from .discrete.re.optimizer import RegularizedEvolution
from .discrete.ls.optimizer import LocalSearch
from .discrete.bananas.optimizer import Bananas
from .discrete.hb.optimizer import HB
from .discrete.bohb.optimizer import BOHB
from .discrete.dehb.optimizer import DEHB
from .discrete.ls_svr.optimizer import LS_SVR
from .discrete.rea_svr.optimizer import REA_SVR
from .discrete.bananas_svr.optimizer import Bananas_SVR
from .discrete.rea_lce.optimizer import REA_LCE
from .discrete.bananas_lce.optimizer import Bananas_LCE
from .discrete.ls_lce.optimizer import LS_LCE
| 44.357143
| 55
| 0.853462
| 90
| 621
| 5.755556
| 0.188889
| 0.301158
| 0.081081
| 0.069498
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.083736
| 621
| 13
| 56
| 47.769231
| 0.910369
| 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
|
86c54883e95763088ec04e2fa7e87c581a59ba12
| 764
|
py
|
Python
|
hftools/plotting/__init__.py
|
extrakteon/hftools-1
|
d65532d34dc24be3aa1e280701f0b4d672be5427
|
[
"BSD-3-Clause-Clear"
] | 3
|
2017-03-26T01:32:55.000Z
|
2018-01-12T10:01:41.000Z
|
hftools/plotting/__init__.py
|
arsenovic/hftools
|
b829f2437fae545cffbc3d14dc9c00ae57b1a177
|
[
"BSD-3-Clause-Clear"
] | null | null | null |
hftools/plotting/__init__.py
|
arsenovic/hftools
|
b829f2437fae545cffbc3d14dc9c00ae57b1a177
|
[
"BSD-3-Clause-Clear"
] | 1
|
2019-12-06T17:08:30.000Z
|
2019-12-06T17:08:30.000Z
|
# -*- coding: ISO-8859-1 -*-
#-----------------------------------------------------------------------------
# Copyright (c) 2014, HFTools Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
"""
hftools projections
==================
When using subplot you can give a projection argument.
These are the valid projection arguments:
* db
* mag
* unity
* mag_square
* x-si
* cplx
* groupdelay
* real
* imag
* deg
* unwrapdeg
* wrapunwrapeddeg
* rad
* unwraprad
* cplxpolar
* smith
"""
from hftools.plotting.helper import *
from hftools.plotting.smith import *
| 20.105263
| 78
| 0.544503
| 77
| 764
| 5.38961
| 0.805195
| 0.053012
| 0.091566
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.013975
| 0.157068
| 764
| 37
| 79
| 20.648649
| 0.630435
| 0.865183
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
86c6eb0d96f5c918b5637f8784720f852b80ea2f
| 21,890
|
py
|
Python
|
wit/images/call_rc.py
|
jiejieTop/pyqt5
|
687b3a1a705859fb08235dea546a256a37eb0f61
|
[
"BSD-3-Clause"
] | null | null | null |
wit/images/call_rc.py
|
jiejieTop/pyqt5
|
687b3a1a705859fb08235dea546a256a37eb0f61
|
[
"BSD-3-Clause"
] | null | null | null |
wit/images/call_rc.py
|
jiejieTop/pyqt5
|
687b3a1a705859fb08235dea546a256a37eb0f61
|
[
"BSD-3-Clause"
] | null | null | null |
# -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.9.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x13\x61\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\xc8\x00\x00\x00\xc8\x08\x06\x00\x00\x00\xad\x58\xae\x9e\
\x00\x00\x13\x28\x49\x44\x41\x54\x78\x5e\xed\x9d\x7b\x90\x1c\xd5\
\x75\xc6\xbf\xd3\xab\x15\x10\x81\xc4\x4e\xb7\xd8\xe9\x26\x90\x02\
\x0a\x99\xc8\x65\x62\x02\x36\xc4\x20\x08\x60\xb0\x30\x2f\xf3\xa8\
\x80\x8b\x87\x79\x99\x38\xd8\x28\xc6\x8f\x72\xa0\x88\x03\xa6\x64\
\x6c\xf3\x28\xa8\x00\x4e\xa0\x10\xc8\x60\x6c\x20\x06\x03\x26\x60\
\x61\x12\x0c\x28\x38\xc5\x33\x15\x28\x5b\xd8\x40\x20\xd0\xbd\xab\
\xed\x9e\xdd\x05\x09\x89\xdd\x9d\x3e\xa9\x59\x61\x07\x81\x1e\x73\
\x7b\xba\xfb\x9e\x9e\x39\xf3\xf7\x79\x7c\xf7\x77\xee\xb7\xb3\x33\
\x3d\xdd\x97\xa0\x2f\x2b\x04\xd8\xf3\x02\x60\xc6\x49\x60\x67\x21\
\x80\xed\x01\x78\x20\xb8\x00\xc7\x60\x8c\x00\x78\x1d\xa0\x7b\xf1\
\x4e\xf3\x0e\x5a\x35\xbc\xd2\x8a\x48\x6d\x0a\x52\x06\xe5\x12\xe0\
\x9a\x7f\x1c\x1c\x2c\x02\x68\xff\xf6\x3b\xf3\x03\xe0\xf4\x0a\x4a\
\x86\x1f\x6e\x3f\x47\x23\xf3\x20\xa0\x06\xc9\x83\x62\x1b\x35\x78\
\xa0\x7e\x38\xfa\x9c\x2b\x01\xcc\x6b\x23\x7c\x23\x21\xfc\x34\x9a\
\xf4\xb7\x34\x1a\x2e\xcf\x5e\x43\x33\x4d\x08\xa8\x41\x4c\x68\x65\
\x88\x65\xa0\x1f\x6e\xfd\x0a\x90\x73\x6e\x86\xf4\x0f\xa6\x30\x37\
\x01\x5c\x84\x24\xfa\x36\x01\x69\x2e\x35\xb5\xc8\x46\x09\xa8\x41\
\x0a\xdc\x1c\x8c\xc1\x59\x70\x9d\x87\x41\xb4\x77\x01\x6d\xee\xa7\
\x38\x3c\xa2\x80\xba\x5a\xf2\x3d\x04\xd4\x20\x05\x6d\x07\x06\xfa\
\xe0\x06\xcb\x40\x38\xa8\xa0\x16\x00\xf3\xad\x94\x44\xa7\x14\x56\
\x5f\x0b\xeb\x87\xf4\xa2\xf6\x00\xbb\xc1\x12\x10\x4e\x2f\xaa\xfe\
\x1f\xea\x32\x5f\x48\x49\xb4\xb8\xf0\x3e\x3d\xda\x40\xdf\x41\x0a\
\x18\x3c\x0f\xd4\x3f\x8d\x3e\xe7\xfe\x02\x4a\x6f\xe8\x33\xc9\x14\
\x98\x3f\x4a\x8d\xa1\x17\x4a\xe9\xd7\x63\x4d\xd4\x20\x39\x0f\x7c\
\xfa\x73\x87\xe7\xbc\x0c\xd0\x76\x39\x97\xde\x44\x39\x7e\x9a\xe2\
\x68\xaf\xf2\xfa\xf5\x4e\x27\x35\x48\xce\xb3\x66\xd7\xbf\x10\x44\
\x97\xe4\x5c\x76\xf3\xe5\x98\x8f\xa5\x24\xba\x7b\xf3\x81\x1a\x61\
\x42\x40\x0d\x62\x42\x6b\x33\xb1\x0c\x10\x3c\x3f\x02\x68\x30\xc7\
\xb2\xed\x95\x62\x7e\x88\x92\xe8\xd0\xf6\x82\x35\xaa\x5d\x02\x6a\
\x90\x76\x49\xb5\x11\xc7\x5e\x70\x14\x80\x7b\xda\x08\x2d\x26\x64\
\xb2\xb9\x33\x8d\x0f\xbf\x52\x4c\xf1\xde\xac\xaa\x06\xc9\x71\xee\
\xec\xf9\x57\x00\xf4\x95\x1c\x4b\x9a\x95\x4a\xf9\x6c\x6a\x44\x37\
\x98\x25\x69\xf4\xa6\x08\xa8\x41\x72\xdc\x1f\xec\x06\xbf\x00\xe1\
\xe0\x1c\x4b\x1a\x96\xe2\x1b\x29\x8e\xce\x32\x4c\xd2\xf0\x4d\x10\
\x50\x83\xe4\xb4\x3d\x78\xf6\xec\x1a\x66\xce\x5a\x01\x90\x97\x53\
\x49\xf3\x32\x8c\x15\xe0\xb5\x1f\xa7\x46\xe3\x4d\xf3\x64\xcd\xd8\
\x10\x01\x35\x48\x07\xfb\x82\xe7\xcc\x19\x40\xdf\x1f\x1d\x07\xa2\
\x13\x00\x3e\x10\x44\x7d\x1d\x94\xcb\x27\x95\x31\x01\xc2\x32\x30\
\xdf\x0e\x67\xea\xa7\x34\x32\xb2\x2a\x9f\xc2\xbd\x59\x45\x0d\x92\
\x61\xee\x3c\xe0\x2f\x80\x83\xaf\x80\xe8\x33\x19\xd2\x4b\x4e\xe1\
\x1f\x61\x8a\x2e\xa3\xb1\xf0\xd9\x92\x1b\x77\x45\x3b\x35\x88\xc1\
\x18\xd9\x1b\x3c\x12\xe8\xfb\x06\x80\x7d\x0d\xd2\x64\x84\x32\xff\
\x1c\xc4\xdf\xa1\x78\xe8\x11\x19\x82\xaa\xa1\x42\x0d\xd2\xc6\x9c\
\xd8\xad\x9f\x0a\xd0\x37\x40\x34\xbf\x8d\x70\xd9\x21\xcc\x4f\x02\
\xb4\x98\x92\xd0\xde\xd7\xd1\xb2\x09\xad\xa7\x4e\x0d\xb2\x91\x61\
\x31\x30\x03\xb5\xfa\x29\x70\x9c\xf3\x01\xec\x5a\xa1\x99\xb6\x2b\
\xf5\x39\x30\x5f\x82\x24\xba\x9b\x00\x6e\x37\xa9\xd7\xe2\xd4\x20\
\x1b\x98\x38\xd7\x82\x43\x40\x7c\x03\x88\xfe\xa4\xeb\x37\x04\xf3\
\xf3\x20\x9c\x46\x71\xf4\x74\xd7\xaf\x35\xc3\x02\xd5\x20\xef\x81\
\xc6\xc0\x96\x70\x83\xcb\x01\x3e\x07\x44\xbd\xc3\x86\x31\x09\xf0\
\xb7\x90\x44\x97\x12\xd0\xba\x63\x51\x5f\xef\x12\xe8\x9d\x4d\xb0\
\x99\x91\xf3\xb6\x73\x3f\x8a\x19\xfd\x77\x74\xe9\xbf\x53\xed\x6d\
\xf8\xd6\xe7\x93\xa9\xf4\x04\xfd\xb9\xca\xff\xe3\xea\x79\x83\x4c\
\xff\xc0\xd0\xf5\x5b\x9f\x33\x2e\x06\xd1\x8c\xf6\x76\x52\x37\x47\
\xf1\x2a\x30\x7f\x89\x92\xa1\xa5\xdd\xbc\xca\x76\xd7\xd6\xd3\x06\
\xe1\x59\x73\xeb\xd8\xb2\xff\x36\x10\x0e\x6c\x17\x58\x0f\xc5\xdd\
\x81\xb8\x79\x06\x61\x78\x75\x0f\xad\xf9\x03\x4b\xed\x59\x83\x4c\
\xdf\xf5\xe7\x38\xb7\x80\x50\xeb\xe5\x0d\xb0\xe9\xb5\xf3\x2b\x98\
\xc4\xf1\x34\x1e\x3d\xd3\xab\x8c\x7a\xd2\x20\x5c\xab\x9f\x0e\xa2\
\x1b\x7b\xea\x83\x78\xf6\x1d\xbe\x16\xdc\x3c\xa2\x57\x1f\x5a\xd7\
\x73\x06\x61\xd7\xff\x36\x88\x5a\x9f\x39\xf4\xd5\x2e\x81\xd6\xb3\
\xb8\x88\x4e\xa5\x38\xbc\xad\xdd\x94\x6e\x89\xeb\x19\x83\x30\xe0\
\xc0\xf5\x7f\x00\xa2\x93\xba\x65\x78\xa5\xaf\x83\xf9\x02\x4a\xa2\
\x4b\x4b\xef\x6b\xb1\x61\xef\x18\xc4\xf5\xff\x05\x44\xc7\x59\x64\
\xdd\x1d\xad\x7b\xec\x31\x43\x3d\x61\x10\x76\xfd\xef\x83\xe8\x0b\
\xdd\xb1\x43\x05\xac\x22\xc5\x99\xd4\x08\x97\x08\x50\x52\xb8\x84\
\xae\x37\x88\xb5\xa7\x8c\x14\x3e\x3a\x8b\x0d\x98\x53\x50\xfa\x19\
\x8a\x87\xef\xb3\xa8\xa2\x94\xd6\x5d\x6d\x10\xae\xf9\x67\xc1\x21\
\xbd\x47\xbb\xa8\xad\xd4\xc4\x02\x1a\x0d\x1f\x2f\xaa\xbc\x84\xba\
\x5d\x6b\x10\x1e\x08\xf6\x85\xc3\xbf\x14\x71\x97\x9f\x84\x49\x17\
\xa1\x81\x91\x80\x26\x76\xa7\x38\x0e\x8b\x28\x2f\xa1\x66\x57\x1a\
\xe4\xdd\x2b\xe4\x2f\xe8\x45\xc0\x32\xb6\x18\x3f\x8d\x38\xda\x87\
\x80\xa9\x32\xba\x95\xdd\xa3\xeb\x0c\xc2\xc0\x4c\x78\xc1\xaf\x00\
\xec\x51\x36\xcc\x9e\xed\xc7\xb8\x8e\x92\xf0\x8b\xdd\xb8\xfe\xee\
\x33\x88\x1b\xdc\x0c\xc2\xe7\xba\x71\x58\xc2\xd7\x74\x52\x37\x5e\
\x48\xec\x2a\x83\x70\xad\x7e\x3c\x1c\xe7\x4e\xe1\x1b\xa9\x4b\xe5\
\xf1\x6a\x34\x69\x3e\x8d\x86\xaf\x75\xd3\x02\xbb\xc6\x20\xeb\x3e\
\x77\xcc\x58\x01\xa2\xd9\xdd\x34\xa0\x8a\xad\x65\x39\xc5\xe1\x7e\
\x15\xd3\xbc\x49\xb9\xdd\x63\x10\xcf\x7f\x04\xa0\x03\xba\x69\x38\
\x95\x5c\x4b\xca\x5f\xa6\x46\x74\x75\x25\xb5\x6f\x40\x74\x57\x18\
\x84\xdd\x60\x11\x08\x5d\x33\x94\x8a\x6f\xae\xb5\x98\x9c\xfa\x30\
\x8d\xaf\x7c\xb9\xe2\xeb\x98\x96\x5f\x79\x83\xb0\xe7\xcd\x03\x66\
\xfe\x17\x5a\xf7\x93\xeb\x4b\x06\x01\xe6\x27\x29\x89\x3e\x2e\x43\
\x4c\x67\x2a\xba\xc0\x20\xfe\x53\x00\xed\xd9\x19\x06\xcd\xce\x9f\
\x40\xfa\x75\x8a\x87\x2e\xcf\xbf\x6e\xb9\x15\x2b\x6d\x10\x76\xeb\
\x5f\x04\x39\xd7\x94\x8b\x4c\xbb\xb5\x49\x60\x2d\x30\xb1\x4b\xd5\
\xaf\xb2\x57\xd6\x20\xec\x79\xdb\x80\x67\xbe\x0a\xc2\x40\x9b\x03\
\xd3\xb0\xb2\x09\x30\x96\x52\x12\x9e\x56\x76\xdb\x3c\xfb\x55\xd7\
\x20\xb5\xe0\x32\x38\xf8\x5a\x9e\x30\xb4\x56\xce\x04\x5a\xbf\xfa\
\x65\xde\xbd\xca\x27\xf0\x56\xd2\x20\x3c\x10\xec\x08\x07\xbf\x03\
\xa1\x3f\xe7\x91\x6a\xb9\xbc\x09\x30\xfe\x9d\x92\xf0\xa0\xbc\xcb\
\x96\x55\xaf\x9a\x06\x71\xfd\x3b\x41\x74\x7c\x59\x90\xb4\x4f\x87\
\x04\x52\x3e\x8c\x1a\xd1\x83\x1d\x56\xb1\x92\x5e\x39\x83\xb0\x3b\
\xb8\x37\xa8\xaf\xf5\x63\x44\x7d\x55\x85\x40\xeb\xf9\xbf\x49\xb4\
\x7b\x15\x1f\x92\x5d\x41\x83\x04\x0f\x83\x50\xd9\xb7\xec\xaa\xec\
\xe9\xfc\x75\xf2\xc9\x14\x47\x3f\xcc\xbf\x6e\xb1\x15\x2b\x65\x10\
\xf6\xfc\x3d\x01\x7a\xaa\x58\x24\x5a\xbd\x10\x02\x8c\x15\x94\x84\
\xbb\x15\x52\xbb\xc0\xa2\xd5\x32\x88\xeb\xdf\x05\xa2\x63\x0a\xe4\
\xa1\xa5\x8b\x24\xd0\x4c\x8f\xa0\xd1\xa1\xfb\x8b\x6c\x91\x77\xed\
\xca\x18\x84\x67\xcf\xdd\x15\xfd\xd3\xbf\xd6\xad\x8c\xe6\xbc\x87\
\x55\xfd\x7a\xfc\x18\xc5\xd1\xfe\x55\x5a\x47\x65\x36\x1b\xbb\xc1\
\x8d\x20\x9c\x51\x25\xb8\xaa\x75\x43\x04\xf8\x63\x14\x47\x95\xf9\
\x37\xb9\x12\x06\x61\xcf\xf3\xc1\xfd\xaf\xe9\xf1\x04\x5d\x60\x39\
\xe6\x7b\x28\x89\x2a\x70\x3a\xf0\x3a\xd6\xd5\x30\x88\xeb\x2f\x06\
\xd1\x05\x5d\xb0\x3d\x74\x09\x2d\x02\x13\x93\xf3\xe8\xcd\x91\xdf\
\x56\x01\x46\x45\x0c\x12\xbc\x01\x42\x50\x05\xa0\xaa\xb1\x0d\x02\
\xcc\x97\x52\x12\x55\xe2\x0f\x9e\x78\x83\xb0\x3b\x78\x10\xa8\xef\
\xe1\x36\xb0\x6b\x48\x55\x08\x30\x5e\xa7\x24\xdc\xa1\x0a\x72\x2b\
\x60\x10\x7f\x69\xeb\xd1\xfb\x55\x80\xa9\x1a\x0d\x08\x30\x0e\xa1\
\x24\xfc\x85\x41\x86\x95\x50\xd1\x06\x61\x60\x0b\x78\xc1\x98\xde\
\x2d\x68\x65\x6f\x14\xdb\x94\xf9\x56\x4a\xa2\x53\x8a\x6d\xd2\x79\
\x75\xd9\x06\x71\xfd\x53\x40\xf4\x83\xce\x97\xa9\x15\x04\x12\x58\
\x8b\xb8\xe9\x49\x3f\x03\x51\xba\x41\x96\x81\xe8\x10\x81\xc3\x55\
\x49\x79\x10\xe0\xf4\x74\x4a\x86\x6e\xce\xa3\x54\x51\x35\xc4\x1a\
\x64\xdd\x1d\x83\xfd\xa3\xfa\xf0\xe9\xa2\x46\x2f\xa1\x2e\x3f\x48\
\x71\x74\x98\x04\x25\x1b\xd3\x20\xd7\x20\xae\x7f\x32\x88\x6e\x91\
\x0c\x4f\xb5\x75\x48\x80\x31\x81\x24\x9c\x43\xc0\xda\x0e\x2b\x15\
\x96\x2e\xd9\x20\x7a\x53\x54\x61\x63\x17\x54\x38\x6d\x9e\x48\x8d\
\xe1\xdb\x05\x29\x5a\x4f\x8a\x48\x83\x30\xd0\x0f\x2f\x18\x07\xb0\
\x95\x54\x70\xaa\x2b\x37\x02\x3f\xa6\x38\xfc\x6c\x6e\xd5\x72\x2e\
\x24\xd3\x20\x35\x7f\x21\x1c\x7a\x20\xe7\xb5\x6a\x39\x89\x04\x98\
\xdf\x44\x12\x0d\x10\x90\x4a\x94\x27\xd3\x20\x7a\xe8\xa6\xc4\xbd\
\x52\x9c\xa6\x94\x17\x52\x23\xfa\x79\x71\x0d\xb2\x57\x96\x69\x10\
\xcf\x7f\x09\xa0\x9d\xb3\x2f\x4b\x33\x2b\x45\x80\x71\x0d\x25\xe1\
\xb9\x12\x35\x8b\x33\x08\xd7\x82\x1d\xe0\xa0\xab\xce\x98\x90\x38\
\x78\x51\x9a\x98\x7f\x4d\x49\x34\x5f\x94\xa6\x77\xc5\xc8\x33\x88\
\x5b\x3f\x0d\xe4\xdc\x24\x11\x96\x6a\x2a\x90\xc0\x9a\xa9\x3a\xad\
\x5e\x39\x5c\x60\x87\x4c\xa5\x05\x1a\x44\x7f\x9c\x98\x69\x92\xd5\
\x4f\x12\x79\x84\x9b\x3c\x83\x78\xfe\x30\x40\xdb\x55\x7f\xde\xba\
\x02\x33\x02\x7c\x23\xc5\xd1\x59\x66\x39\xc5\x47\x8b\x32\x08\xcf\
\xd9\x6e\x67\xf4\xcf\x78\xa9\xf8\x65\x6b\x07\x79\x04\xf8\x15\x8a\
\x23\x71\x5f\xcc\xc8\x32\x88\xfe\xbc\x44\xde\xbe\x2d\x55\xd1\xc4\
\xf6\xd2\x8e\x4b\x10\x66\x90\xe0\x1a\x10\xba\xf2\xbc\xed\x52\xf7\
\x59\x55\x9b\xa5\xe9\x5f\x51\x63\x48\xd4\x29\xc5\xc2\x0c\xe2\x3f\
\x09\xa2\xbd\xaa\x3a\x5f\xd5\xdd\x31\x81\x2b\x28\x0e\x45\x1d\x69\
\x21\xc6\x20\x0c\xcc\x80\x1b\xbc\xad\x47\x1a\x74\xbc\xc9\x2a\x5c\
\x80\x1f\xa7\x38\x5a\x20\x69\x01\x72\x0c\x52\x1b\xdc\x07\x4e\xdf\
\x13\x92\xe0\xa8\x96\xd2\x09\xac\x41\x1c\xce\x92\xf4\x14\x78\x39\
\x06\xd1\xf3\x06\x4b\xdf\x8d\x22\x1b\x4e\xe1\xcf\x69\x2c\x7c\x56\
\x8a\x36\x41\x06\x09\xae\x03\xe1\x6f\xa4\x80\x51\x1d\x96\x08\xa4\
\x38\x93\x1a\xe1\x12\x4b\xdd\x3f\xd0\x56\x92\x41\xf4\xdc\x0f\x29\
\xbb\xc2\xaa\x0e\xbe\x8a\xe2\xe8\x3c\xab\x12\xde\xd3\x5c\x92\x41\
\x5e\x07\x61\x7b\x29\x60\x54\x87\x25\x02\x8c\x7f\xa3\x24\x3c\xd8\
\x52\x77\x99\xef\x20\x0c\xcc\x84\x17\xbc\x23\x05\x8a\xea\xb0\x48\
\x80\xd1\xa0\x24\x74\x2d\x2a\x58\xaf\xb5\x88\x77\x10\x3d\x39\x4a\
\xca\x76\x90\xa2\x63\x22\xa0\x38\x8e\x24\xa8\x91\x61\x10\x77\xf0\
\x60\x50\x9f\xf8\xc7\x50\x4a\x18\x58\x4f\x68\x98\x9a\xdc\x83\xc6\
\x46\x9e\x93\xb0\x56\x35\x88\x84\x29\xa8\x86\xf5\x09\xa8\x41\xd6\
\xe7\xc1\xfa\x0e\xa2\x16\x79\x2f\x01\x35\x88\x1a\x44\x1d\xb1\x09\
\x02\x6a\x90\xf7\x19\xc4\x1b\x3c\x12\xe8\xbb\x57\x37\x8d\x12\x98\
\x26\xa0\x06\x79\xbf\x41\xfc\xb3\x01\xfa\x67\xdd\x1e\x4a\x60\x1d\
\x81\xf4\x40\x8a\x87\x1e\x91\x40\x43\xc6\x87\xf4\x5a\xfd\xef\xe1\
\x38\xdf\x92\x00\x44\x35\x08\x20\x20\xe8\x71\xa4\x32\x0c\xe2\xea\
\x8d\x52\x02\xb6\xa5\x1c\x09\x8c\x73\x29\x09\xaf\x91\x20\x48\x88\
\x41\xfc\xbb\x41\x54\x99\xa3\x81\x25\x0c\xae\xab\x35\x30\x2f\xa6\
\x24\xba\x50\xc2\x1a\x65\x18\xc4\xf3\x9f\x02\x68\x4f\x09\x40\x54\
\x83\x00\x02\x8c\x9b\x28\x09\xcf\x10\xa0\x44\xc6\x39\xe9\xec\xf9\
\x43\x00\x0d\x4a\x00\xa2\x1a\x04\x10\x60\x5e\x46\x49\xf4\x29\x01\
\x4a\xa4\x18\x24\x60\x09\x30\x54\x83\x10\x02\xcc\xcf\x53\x12\x7d\
\x44\x82\x1a\xeb\xff\x62\xf1\x9c\xed\x76\x41\xff\x8c\xdf\x49\x80\
\xa1\x1a\x84\x10\x60\x8c\x53\x12\x6e\x2b\x41\x8d\x7d\x83\xd4\x82\
\x43\xe1\x40\xe4\xa3\xef\x25\x0c\xa8\x67\x35\x4c\xbd\x3d\x40\x63\
\x63\xad\x23\xc0\xad\xbe\xec\x1b\xc4\xf3\xbf\x00\xd0\xf7\xad\x52\
\xd0\xe6\xf2\x08\x08\xb9\x37\xdd\xbe\x41\x6a\xc1\xf7\xe0\xe0\xeb\
\xf2\x26\xa4\x8a\xac\x12\x60\x3e\x8e\x92\xe8\x2e\xab\x1a\x00\xfb\
\x1f\xd2\xd9\xf5\xef\x02\xd1\x31\xb6\x41\x68\x7f\x61\x04\x52\xfe\
\x2a\x35\xa2\x2b\x6d\xab\xb2\xff\x0e\xe2\x05\x2b\x00\xcc\xb3\x0d\
\x42\xfb\x4b\x23\xc0\x37\x50\x1c\x9d\x6d\x5b\x95\x55\x83\x70\xeb\
\x1d\xcc\xf5\xa7\x40\xe4\xd8\x06\xa1\xfd\xa5\x11\xe0\xc7\x28\x8e\
\xf6\xb7\xad\xca\xae\x41\x6a\xf5\x0f\xc3\x71\x9e\xb7\x0d\x41\xfb\
\x4b\x24\xc0\x31\xc5\xd1\x5c\xdb\xca\x2c\x1b\x64\xf0\x04\x38\x7d\
\x3f\xb6\x0d\x41\xfb\x0b\x25\x30\xb9\xba\x46\xe3\xe3\xa3\x36\xd5\
\x59\x36\x88\x7e\x83\x65\x73\xf8\xf2\x7b\xdb\xbf\x2f\xc4\xae\x41\
\xdc\x40\x9f\xa6\x28\x7f\x97\xda\x53\x28\xe0\x9b\x2c\xdb\x06\x19\
\x03\x61\x8e\xbd\x09\x68\x67\xd1\x04\x98\x7f\x48\x49\x74\xb2\x4d\
\x8d\xd6\x0c\xc2\xb3\xe7\xee\x8a\x99\xfd\x2f\xda\x5c\xbc\xf6\x16\
\x4e\x40\xc0\xf9\xe9\xf6\x0c\xe2\xe9\x7d\xe8\xc2\xb7\xa7\x0c\x79\
\xcd\x35\xdb\xd2\xe8\xe8\xb8\x2d\x31\xf6\x0c\xe2\xfa\x3f\x01\xd1\
\xb1\xb6\x16\xae\x7d\x2b\x42\x80\xf9\x58\x4a\xa2\xbb\x6d\xa9\xb5\
\x67\x10\xcf\x5f\x05\xd0\x2c\x5b\x0b\xd7\xbe\x15\x21\xc0\xb8\x8e\
\x92\xd0\xda\xc1\xae\x56\x0c\xc2\x03\xc1\x7e\xe8\xc3\x63\x15\x19\
\x91\xca\xb4\x4b\xe0\x45\x8a\xc3\x0f\xd9\x92\x60\xc7\x20\xfa\x14\
\x13\x5b\xf3\xae\x66\xdf\x89\xc9\x5d\xe9\xcd\x11\x2b\x37\xd5\x95\
\x6e\x10\x06\x1c\xb8\x41\x0c\xc2\x40\x35\xa7\xa5\xaa\x4b\x27\x90\
\xa6\xff\x40\x8d\x21\x2b\xcf\x4d\x2b\xdf\x20\x6e\xf0\x49\x10\x1e\
\x2a\x1d\xb2\x36\xac\x2e\x01\x8b\x5f\xf7\x96\x6f\x10\xcf\x7f\x00\
\xa0\x85\xd5\x9d\x96\x2a\xb7\x42\xc0\xd2\x1d\x86\xa5\x1a\x84\xb7\
\x0d\xf6\xc0\x0c\x3c\x63\x05\xb0\x36\xad\x36\x01\xe6\x7b\x28\x89\
\x4a\x7f\xb8\x60\xb9\x06\xd1\x77\x8f\x6a\x6f\x52\xdb\xea\x27\x79\
\x4f\x1a\x8f\x4a\xfd\x03\x5b\x9a\x41\xd8\xad\x7f\x0e\xe4\xdc\x6c\
\x9b\xb1\xf6\xaf\x30\x01\xe6\xd7\xd0\xc4\x29\x34\x16\x3d\x5a\xd6\
\x2a\x4a\x31\x08\x7b\xfe\x5e\x00\xb5\xae\x7b\x6c\x59\xd6\xc2\xb4\
\x4f\x97\x12\x60\x8c\x61\x6a\x6a\x2f\x1a\x5f\xf9\x52\x19\x2b\x2c\
\xdc\x20\xec\x79\xf3\xc0\x33\xff\xa3\x75\x73\x6d\x19\x0b\xd2\x1e\
\x3d\x41\xe0\xb7\x98\x5c\xbd\x77\x19\x37\x53\x15\x6a\x90\x69\x73\
\xa0\xff\x51\x7d\xee\x6e\x4f\x6c\xda\x72\x17\xc9\xfc\x1b\x34\xb1\
\x90\xc6\xa2\x57\x8b\x6c\x5c\x98\x41\x78\x20\xd8\x17\x0e\xee\x05\
\xa1\x56\xe4\x02\xb4\x76\x0f\x13\x60\x8c\x22\xe5\xa3\x69\x34\x2a\
\xec\x67\x4b\x85\x18\x84\x5d\xff\x58\x10\xfd\xa4\x87\x47\xa7\x4b\
\x2f\x93\x40\xca\x5f\xa6\x46\x74\x75\x11\x2d\x73\x37\x08\xd7\xfc\
\xcf\xc3\xa1\xeb\x8b\x10\xab\x35\x95\xc0\x26\x08\xdc\x0e\x9a\x3c\
\x8b\x46\x46\x56\xe5\x49\x29\x57\x83\x70\x2d\xb8\x0c\x0e\xbe\x96\
\xa7\x40\xad\xa5\x04\x0c\x08\xbc\x88\x35\x53\xfb\xd3\xea\x95\xc3\
\x06\x39\x9b\x0c\xcd\xcd\x20\xec\x06\x8b\x40\x28\xe4\x6d\x2e\xaf\
\xc5\x6a\x9d\x1e\x20\xc0\xfc\xdf\x48\xd7\x2e\xc8\xeb\x2e\xc4\x5c\
\x0c\xc2\x6e\x70\x34\x08\x3f\xed\x01\xfc\xba\xc4\x2a\x10\x60\xfc\
\x0a\x89\x73\x10\xe1\xf5\x35\x9d\xca\xed\xd8\x20\xec\xfa\x7f\x0a\
\xa2\xd6\xe5\x7f\xbd\x08\xd8\xe9\x34\x34\x3f\x47\x02\xfc\x20\xe2\
\xe8\x70\x02\xd2\x4e\x8a\x76\x64\x10\x6e\x99\xc2\xf5\x9f\x05\xd1\
\x6e\x9d\x88\xd0\x5c\x25\x50\x08\x81\x1c\x4e\xcb\xed\xcc\x20\x9e\
\x7f\x3d\x40\x9f\x2f\x64\x71\x5a\x54\x09\xe4\x41\xa0\x89\xfd\x68\
\x34\x5c\x9e\xb5\x54\x66\x83\xf0\x80\xbf\x00\x7d\x54\xda\x8f\xc6\
\xb2\x2e\x50\xf3\x7a\x9c\x00\xf3\xab\x48\xa2\xdd\x08\x58\x9b\x85\
\x44\x76\x83\x78\xc1\x73\x00\xfe\x2c\x4b\x53\xcd\x51\x02\xa5\x12\
\x60\xfc\x1d\x25\xe1\x77\xb3\xf4\xcc\x64\x10\x1e\xa8\x1f\x8e\x3e\
\xe7\x67\x59\x1a\x6a\x8e\x12\x28\x9f\x00\xc7\x88\xfb\x76\xcc\xf2\
\xad\x56\x36\x83\xb8\xfe\x32\x10\x1d\x52\xfe\x42\xb5\xa3\x12\xc8\
\x48\x20\xc5\x99\xd4\x08\x97\x98\x66\x1b\x1b\x84\xb7\x09\x3c\x6c\
\x81\x11\xd3\x46\x1a\xaf\x04\x2c\x13\x58\x4e\x71\xb8\x9f\xa9\x06\
\x73\x83\xb8\xf5\xd3\x40\xce\x4d\xa6\x8d\x34\x5e\x09\x58\x25\xc0\
\x9c\x22\x49\x67\x13\x86\x57\x9b\xe8\xc8\x60\x10\x7f\x29\x88\x4e\
\x35\x69\xa2\xb1\x4a\x40\x04\x81\x14\x87\x52\x23\x34\x7a\xe4\x54\
\x16\x83\xfc\x5a\x2f\x0c\x8a\x18\xb7\x8a\x30\x25\xc0\x58\x44\x49\
\xf8\x8f\x26\x69\xe6\x06\xf1\x02\x36\x69\xa0\xb1\x4a\x40\x0e\x01\
\xbe\x92\xe2\xe8\xab\x26\x7a\x8c\x0c\xc2\x9e\x17\x00\x33\xdf\x30\
\x69\xa0\xb1\x4a\x40\x0c\x01\xc6\x35\x94\x84\xe7\x9a\xe8\x31\x33\
\x48\xad\x3e\x1f\x8e\xf3\x82\x49\x03\x8d\x55\x02\x62\x08\x14\x6e\
\x90\x39\x83\x3b\xa1\xbf\xef\x65\x31\x0b\x56\x21\x4a\xc0\x8c\xc0\
\xc5\x14\x87\x17\x99\xa4\x98\xbd\x83\x6c\xb3\xbd\x8b\x2d\x38\x36\
\x69\xa0\xb1\x4a\x40\x0c\x81\x14\x67\x51\x23\xbc\xd1\x44\x8f\x91\
\x41\x5a\x85\x59\x4f\x86\x32\xe1\xab\xb1\x92\x08\x34\xb1\x80\x46\
\xc3\xc7\x4d\x24\x99\x1b\xc4\x0d\x5a\x0f\x81\xfb\x0b\x93\x26\x1a\
\xab\x04\xac\x13\x60\x9e\x42\x12\x6d\x49\x40\xd3\x44\x4b\x16\x83\
\x5c\x0b\xc2\x39\x26\x4d\x34\x56\x09\xd8\x27\xc0\x8f\x50\x1c\x1d\
\x68\xaa\xc3\xdc\x20\xfa\x4b\x5e\x53\xc6\x1a\x2f\x81\x40\x86\x8b\
\x84\x2d\xd9\xe6\x06\x01\xfa\xe1\xfa\x09\x88\xb6\x91\xb0\x6e\xd5\
\xa0\x04\x36\x4b\x80\xb9\x89\xe6\x1a\x8f\xc6\xc6\xc6\x36\x1b\xfb\
\xbe\x00\x63\x83\x4c\x7f\x50\xaf\xf9\xff\x04\x87\xfe\xda\xb4\x99\
\xc6\x2b\x01\x2b\x04\x18\xf7\x51\x12\x1e\x95\xa5\x77\x36\x83\xac\
\xbb\xa2\xde\x7a\xfc\xbc\x3e\xc9\x24\x0b\x75\xcd\x29\x97\xc0\x14\
\x1f\x90\xf5\x4c\x91\x4c\x06\x99\x7e\x17\x71\xfd\xc5\x20\xba\xa0\
\xdc\x95\x6a\x37\x25\x60\x48\x80\xf9\x29\x4a\xa2\x8f\x19\x66\xfd\
\x21\x3c\xbb\x41\xe6\xce\xdd\x1a\xdc\xdf\xba\x2f\x7d\x97\xac\xcd\
\x35\x4f\x09\x14\x4e\x20\xc3\xb5\x8f\xf7\x6a\xca\x6c\x90\xe9\x77\
\x91\x81\xed\x76\x47\xdf\x8c\xff\xd4\x7f\xb5\x0a\x1f\xb3\x36\xc8\
\x42\x80\x71\x3e\x25\xe1\x77\xb2\xa4\xfe\x3e\xa7\x23\x83\xac\x33\
\xc9\xf4\x39\x20\xf7\x83\x30\xa7\x13\x21\x9a\xab\x04\x72\x26\x70\
\x11\xc5\xe1\xc5\x9d\xd6\xec\xd8\x20\xeb\x3e\x8f\x04\xad\x27\x2b\
\x7e\x0f\x84\x23\x3b\x15\xa4\xf9\x4a\xa0\x33\x02\xfc\x0c\x18\x8b\
\x29\x89\xee\xea\xac\xce\xba\xec\x5c\x0c\xf2\x7b\x21\x3c\x7b\x76\
\x0d\x33\xb7\x5e\x08\xc6\x27\x00\xcc\x07\xb1\x93\x87\x48\xad\xa1\
\x04\x36\x49\x80\xf1\x06\x40\x4f\x80\xf0\x10\xc5\xe1\x8a\x3c\x69\
\xe5\x6a\x90\x3c\x85\x69\x2d\x25\x20\x81\x80\x1a\x44\xc2\x14\x54\
\x83\x58\x02\x6a\x10\xb1\xa3\x51\x61\x12\x08\xa8\x41\x24\x4c\x41\
\x35\x88\x25\xa0\x06\x11\x3b\x1a\x15\x26\x81\x80\x1a\x44\xc2\x14\
\x54\x83\x58\x02\x6a\x10\xb1\xa3\x51\x61\x12\x08\xa8\x41\x24\x4c\
\x41\x35\x88\x25\xa0\x06\x11\x3b\x1a\x15\x26\x81\x80\x1a\x44\xc2\
\x14\x54\x83\x58\x02\x6a\x10\xb1\xa3\x51\x61\x12\x08\xa8\x41\x24\
\x4c\x41\x35\x88\x25\xa0\x06\x11\x3b\x1a\x15\x26\x81\x80\x1a\x44\
\xc2\x14\x54\x83\x58\x02\x6a\x90\x0c\xa3\xe1\x5a\xb0\x03\x28\x3d\
\x0a\x70\xf6\x04\xf1\x4e\x79\xdf\x36\x90\x41\xd2\x46\x52\x28\x42\
\xca\x4f\xa2\x6f\xea\x7a\x1a\x19\x59\x95\x5f\xdd\xde\xa9\xa4\x06\
\x31\x9c\x35\xbb\xc1\x22\x10\xae\x36\x4c\xb3\x1b\xce\x48\x40\x13\
\x1f\xa1\x38\x8e\xec\x0a\xa9\x5e\x77\x35\x88\xc1\xcc\xb8\x16\x1c\
\x02\x07\xcb\x0c\x52\xe4\x84\x32\xae\xa5\x24\xfc\x92\x1c\x41\xd5\
\x50\xa2\x06\x31\x98\x13\xbb\xc1\x72\xd0\xf4\xdd\x92\xd5\x7b\x31\
\xfe\x97\x92\x70\xc7\xea\x09\xb7\xab\x58\x0d\x62\xc0\x9f\x2b\x7f\
\x3e\xe3\xc4\x6c\x8a\xe3\xb7\x0c\x96\xdc\xf3\xa1\x6a\x90\x36\xb7\
\x00\xe3\x8f\xb7\x82\x97\xbe\xdd\x66\xb8\xcc\xb0\x74\xed\x0e\xd4\
\x68\xbc\x2e\x53\x9c\x4c\x55\x6a\x10\x83\xb9\xb0\x1b\x24\x20\xd4\
\x0c\x52\x44\x85\x52\x1c\xea\xbc\x0d\x27\xa2\xc0\x0c\x80\xb1\xe7\
\xff\x12\xa0\xfd\x0d\x52\xe4\x84\x32\xff\x0f\x25\x51\xeb\x2b\x69\
\x7d\x19\x10\x50\x83\x18\xc0\x62\xd7\xbf\x1a\x44\x8b\x0c\x52\x24\
\x85\xde\x4e\x71\x78\xa2\x24\x41\x55\xd0\xa2\x06\x31\x98\x12\x0f\
\xd4\x0f\x43\x9f\xf3\xaf\x06\x29\x72\x42\x39\x3d\x9d\x92\xa1\x9b\
\xe5\x08\xaa\x86\x12\x35\x88\xe1\x9c\xd8\xf3\xdf\x02\x68\x6b\xc3\
\x34\xfb\xe1\xef\x60\x2e\xbd\x15\xea\x09\xc5\x86\x93\x50\x83\x18\
\x02\x63\xd7\xbf\x15\x44\x27\x19\xa6\xd9\x0d\x67\x5e\x46\x49\xf4\
\x29\xbb\x22\xaa\xd9\x5d\x0d\x62\x38\x37\xae\xf9\x0b\xe1\xd0\x03\
\x86\x69\x76\xc3\xd3\xf4\x04\x6a\x0c\xdd\x61\x57\x44\x35\xbb\xab\
\x41\x32\xcc\x8d\x5d\xff\x49\x10\xed\x95\x21\xb5\xfc\x14\xe6\x57\
\x91\x44\x3b\x11\xc0\xe5\x37\xaf\x7e\x47\x35\x48\x86\x19\xb2\x57\
\x3f\x00\x70\x1e\xc9\x90\x5a\x7e\x4a\xda\x3c\x91\x1a\xc3\xb7\x97\
\xdf\xb8\x3b\x3a\xaa\x41\x32\xce\x91\xbd\xe0\x3e\x00\x47\x64\x4c\
\x2f\x27\x8d\xf1\x30\x25\xe1\x27\xcb\x69\xd6\x9d\x5d\xd4\x20\x19\
\xe7\xca\x9e\x37\x0f\x98\x99\xeb\xa3\xf6\x33\x4a\xd9\x70\x1a\x63\
\x1c\x34\x31\x9f\xe2\x38\xcc\xb5\x6e\x8f\x15\x53\x83\x74\x30\x70\
\x76\xeb\xe7\x80\x9c\x6b\x3b\x28\x51\x5c\x6a\x33\x3d\x9c\x46\x87\
\xaa\x79\xcd\xa6\x38\x2a\xc6\x95\xd5\x20\xc6\xc8\xd6\x4f\x60\xd7\
\xbf\x05\x44\x27\x77\x58\x26\xdf\xf4\x34\xfd\x26\x35\x86\x2e\xc9\
\xb7\x68\x6f\x56\x53\x83\xe4\x30\x77\x76\x83\x7b\x40\xc8\x74\x50\
\x7d\x0e\xed\xdf\xe7\x58\xbe\x8d\x92\xa8\x5a\xd7\x69\x72\x87\x90\
\x5f\x41\x35\x48\x0e\x2c\x19\xe8\x83\xeb\xdf\x09\xa2\x63\x72\x28\
\x97\xbd\x04\x63\x09\x25\xe1\x99\xd9\x0b\x68\xe6\xfb\x09\xa8\x41\
\x72\xdc\x13\xec\xf9\x57\x02\x74\x5e\x8e\x25\xdb\x2f\x95\xf2\x79\
\xd4\x88\xae\x6a\x3f\x41\x23\xdb\x21\xa0\x06\x69\x87\x92\x41\x0c\
\xbb\xc1\xd1\x00\x96\x96\x76\x2c\x36\xf3\x6f\xd0\x9c\xfa\x2c\x8d\
\x8d\x3c\x67\x20\x53\x43\xdb\x24\xa0\x06\x69\x13\x94\x49\x18\xcf\
\x9a\x5b\xc7\x56\x33\x96\x00\x74\x98\x49\x9e\x61\xec\x5a\x30\x5f\
\x45\x49\x74\xbe\x61\x9e\x86\x1b\x10\x50\x83\x18\xc0\x32\x0d\x9d\
\xfe\x79\xbc\xe3\x7c\x13\x84\x7d\x4c\x73\x37\x1e\xcf\x2b\x91\xd2\
\x52\x4c\x34\x2f\xa7\x55\xc3\x2b\xf3\xab\xab\x95\x36\x44\x40\x0d\
\x52\xc2\xbe\xe0\x5a\x7d\x3e\x1c\xe7\x0c\x80\x4f\x05\x68\x6e\xb6\
\x96\xfc\x23\x20\xbd\x8d\xe2\xe1\x9f\x65\xcb\xd7\xac\x2c\x04\xd4\
\x20\x59\xa8\x75\x90\xc3\x5e\xfd\x40\xc0\xf9\x4b\x30\x3e\x01\xe2\
\x9d\x01\xda\xf9\x03\xe5\x18\xa3\x20\x7e\x02\x8c\xe5\x68\xe2\x71\
\x1a\x8b\x1e\xed\xa0\xa5\xa6\x76\x40\xe0\xff\x00\x6c\xde\x30\x14\
\x78\xdc\x47\xb1\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\
"
qt_resource_name = b"\
\x00\x04\
\x00\x06\x98\x2c\
\x00\x63\
\x00\x61\x00\x6c\x00\x6c\
\x00\x08\
\x08\x2f\x5a\x67\
\x00\x63\
\x00\x61\x00\x6c\x00\x6c\x00\x2e\x00\x70\x00\x6e\x00\x67\
"
qt_resource_struct_v1 = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\
\x00\x00\x00\x0e\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
"
qt_resource_struct_v2 = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x0e\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x6c\xb9\xc8\x15\x29\
"
qt_version = QtCore.qVersion().split('.')
if qt_version < ['5', '8', '0']:
rcc_version = 1
qt_resource_struct = qt_resource_struct_v1
else:
rcc_version = 2
qt_resource_struct = qt_resource_struct_v2
def qInitResources():
QtCore.qRegisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
def qCleanupResources():
QtCore.qUnregisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
qInitResources()
| 59.483696
| 103
| 0.72709
| 5,221
| 21,890
| 3.04118
| 0.058418
| 0.030608
| 0.031742
| 0.02494
| 0.066129
| 0.060461
| 0.050384
| 0.050384
| 0.050384
| 0.046983
| 0
| 0.317925
| 0.020603
| 21,890
| 367
| 104
| 59.645777
| 0.422688
| 0.006898
| 0
| 0.02849
| 0
| 0.903134
| 0.000184
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0.005698
| false
| 0
| 0.002849
| 0
| 0.008547
| 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
|
86dcd90d3419aa279a286ebf72deb5f38899d51c
| 211
|
py
|
Python
|
jp.atcoder/abc071/abc071_b/8268031.py
|
kagemeka/atcoder-submissions
|
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
|
[
"MIT"
] | 1
|
2022-02-09T03:06:25.000Z
|
2022-02-09T03:06:25.000Z
|
jp.atcoder/abc071/abc071_b/8268031.py
|
kagemeka/atcoder-submissions
|
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
|
[
"MIT"
] | 1
|
2022-02-05T22:53:18.000Z
|
2022-02-09T01:29:30.000Z
|
jp.atcoder/abc071/abc071_b/8268031.py
|
kagemeka/atcoder-submissions
|
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
|
[
"MIT"
] | null | null | null |
from string import ascii_lowercase
from sys import stdin
s = stdin.readline().rstrip()
not_used = sorted(set(ascii_lowercase) - (set(s) & set(ascii_lowercase)))
print(not_used[0] if not_used else "None")
| 30.142857
| 74
| 0.734597
| 33
| 211
| 4.515152
| 0.575758
| 0.281879
| 0.228188
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.005525
| 0.14218
| 211
| 6
| 75
| 35.166667
| 0.81768
| 0
| 0
| 0
| 0
| 0
| 0.019512
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 0
| 0.4
| 0.2
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
86fa7fcbc12e05f39232c2c06298a54fea534bb6
| 59
|
py
|
Python
|
enthought/traits/ui/qt4/rgb_color_editor.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | 3
|
2016-12-09T06:05:18.000Z
|
2018-03-01T13:00:29.000Z
|
enthought/traits/ui/qt4/rgb_color_editor.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | 1
|
2020-12-02T00:51:32.000Z
|
2020-12-02T08:48:55.000Z
|
enthought/traits/ui/qt4/rgb_color_editor.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | null | null | null |
# proxy module
from traitsui.qt4.rgb_color_editor import *
| 19.666667
| 43
| 0.813559
| 9
| 59
| 5.111111
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.019231
| 0.118644
| 59
| 2
| 44
| 29.5
| 0.865385
| 0.20339
| 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
|
810e9d3449f997046b3329b8066fdd57f27a416a
| 221
|
py
|
Python
|
gumo/core/exceptions/__init__.py
|
gumo-py/gumo-core
|
efa7a617e6e9ed0db2f478ee28877ce68304dcc9
|
[
"MIT"
] | null | null | null |
gumo/core/exceptions/__init__.py
|
gumo-py/gumo-core
|
efa7a617e6e9ed0db2f478ee28877ce68304dcc9
|
[
"MIT"
] | 104
|
2019-08-11T07:08:09.000Z
|
2022-02-11T02:58:41.000Z
|
gumo/core/exceptions/__init__.py
|
gumo-py/gumo-core
|
efa7a617e6e9ed0db2f478ee28877ce68304dcc9
|
[
"MIT"
] | null | null | null |
class GumoBaseError(RuntimeError):
pass
class ConfigurationError(GumoBaseError):
pass
class ServiceAccountConfigurationError(ConfigurationError):
pass
class ObjectNotoFoundError(GumoBaseError):
pass
| 14.733333
| 59
| 0.791855
| 16
| 221
| 10.9375
| 0.4375
| 0.154286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.153846
| 221
| 14
| 60
| 15.785714
| 0.935829
| 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
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
d4a84f62cde39143e40b411013968f5c0c4f9896
| 2,169
|
py
|
Python
|
tensorflow/python/debug/__init__.py
|
AlexChrisF/udacity
|
b7f85a74058fc63ccb7601c418450ab934ef5953
|
[
"Apache-2.0"
] | 28
|
2017-04-08T09:47:57.000Z
|
2020-07-12T03:10:46.000Z
|
tensorflow/python/debug/__init__.py
|
AlexChrisF/udacity
|
b7f85a74058fc63ccb7601c418450ab934ef5953
|
[
"Apache-2.0"
] | 7
|
2017-07-13T09:40:59.000Z
|
2019-04-08T22:46:51.000Z
|
tensorflow/python/debug/__init__.py
|
AlexChrisF/udacity
|
b7f85a74058fc63ccb7601c418450ab934ef5953
|
[
"Apache-2.0"
] | 38
|
2017-04-28T04:15:48.000Z
|
2019-09-28T05:11:46.000Z
|
# Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Public Python API of TensorFlow Debugger (tfdbg).
See the @{$python/tfdbg} guide.
@@add_debug_tensor_watch
@@watch_graph
@@watch_graph_with_blacklists
@@DebugTensorDatum
@@DebugDumpDir
@@load_tensor_from_event_file
@@has_inf_or_nan
@@DumpingDebugHook
@@DumpingDebugWrapperSession
@@LocalCLIDebugHook
@@LocalCLIDebugWrapperSession
@@WatchOptions
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
# pylint: disable=unused-imports
from tensorflow.python.debug.lib.debug_data import DebugDumpDir
from tensorflow.python.debug.lib.debug_data import DebugTensorDatum
from tensorflow.python.debug.lib.debug_data import has_inf_or_nan
from tensorflow.python.debug.lib.debug_data import load_tensor_from_event_file
from tensorflow.python.debug.lib.debug_utils import add_debug_tensor_watch
from tensorflow.python.debug.lib.debug_utils import watch_graph
from tensorflow.python.debug.lib.debug_utils import watch_graph_with_blacklists
from tensorflow.python.debug.wrappers.dumping_wrapper import DumpingDebugWrapperSession
from tensorflow.python.debug.wrappers.framework import WatchOptions
from tensorflow.python.debug.wrappers.hooks import DumpingDebugHook
from tensorflow.python.debug.wrappers.hooks import LocalCLIDebugHook
from tensorflow.python.debug.wrappers.local_cli_wrapper import LocalCLIDebugWrapperSession
from tensorflow.python.util import all_util as _all_util
_all_util.remove_undocumented(__name__)
| 38.052632
| 90
| 0.80544
| 285
| 2,169
| 5.912281
| 0.403509
| 0.108012
| 0.154303
| 0.178042
| 0.330564
| 0.24451
| 0.24451
| 0.192285
| 0.064095
| 0.064095
| 0
| 0.00408
| 0.095897
| 2,169
| 56
| 91
| 38.732143
| 0.855176
| 0.479023
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.941176
| 0
| 0.941176
| 0.058824
| 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
|
d4b1b33245fdb3165138f95a5d9ed9da627af39a
| 3,875
|
py
|
Python
|
tests/parsers/winreg_plugins/userassist.py
|
Defense-Cyber-Crime-Center/plaso
|
4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47
|
[
"Apache-2.0"
] | 2
|
2016-02-18T12:46:29.000Z
|
2022-03-13T03:04:59.000Z
|
tests/parsers/winreg_plugins/userassist.py
|
Defense-Cyber-Crime-Center/plaso
|
4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47
|
[
"Apache-2.0"
] | null | null | null |
tests/parsers/winreg_plugins/userassist.py
|
Defense-Cyber-Crime-Center/plaso
|
4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47
|
[
"Apache-2.0"
] | 6
|
2016-12-18T08:05:36.000Z
|
2021-04-06T14:19:11.000Z
|
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""Tests for the UserAssist Windows Registry plugin."""
import unittest
from plaso.formatters import winreg as _ # pylint: disable=unused-import
from plaso.lib import timelib
from plaso.parsers.winreg_plugins import userassist
from tests.parsers.winreg_plugins import test_lib
class UserAssistPluginTest(test_lib.RegistryPluginTestCase):
"""Tests for the UserAssist Windows Registry plugin."""
def setUp(self):
"""Sets up the needed objects used throughout the test."""
self._plugin = userassist.UserAssistPlugin()
def testProcessOnWinXP(self):
"""Tests the Process function on a Windows XP Registry file."""
test_file_entry = self._GetTestFileEntryFromPath([u'NTUSER.DAT'])
key_path = (
u'\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist'
u'\\{75048700-EF1F-11D0-9888-006097DEACF9}')
winreg_key = self._GetKeyFromFileEntry(test_file_entry, key_path)
event_queue_consumer = self._ParseKeyWithPlugin(
self._plugin, winreg_key, file_entry=test_file_entry)
event_objects = self._GetEventObjectsFromQueue(event_queue_consumer)
self.assertEqual(len(event_objects), 14)
event_object = event_objects[0]
self.assertEqual(event_object.pathspec, test_file_entry.path_spec)
# This should just be the plugin name, as we're invoking it directly,
# and not through the parser.
self.assertEqual(event_object.parser, self._plugin.plugin_name)
expected_timestamp = timelib.Timestamp.CopyFromString(
u'2009-08-04 15:11:22.811067')
self.assertEqual(event_object.timestamp, expected_timestamp)
regvalue_identifier = u'UEME_RUNPIDL:%csidl2%\\MSN.lnk'
expected_value = u'[Count: 14]'
self._TestRegvalue(event_object, regvalue_identifier, expected_value)
expected_msg = u'[{0:s}\\Count] {1:s}: {2:s}'.format(
key_path, regvalue_identifier, expected_value)
# The short message contains the first 76 characters of the key path.
expected_msg_short = u'[{0:s}...'.format(key_path[:76])
self._TestGetMessageStrings(event_object, expected_msg, expected_msg_short)
def testProcessOnWin7(self):
"""Tests the Process function on a Windows 7 Registry file."""
test_file_entry = self._GetTestFileEntryFromPath([u'NTUSER-WIN7.DAT'])
key_path = (
u'\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist'
u'\\{CEBFF5CD-ACE2-4F4F-9178-9926F41749EA}')
winreg_key = self._GetKeyFromFileEntry(test_file_entry, key_path)
event_queue_consumer = self._ParseKeyWithPlugin(
self._plugin, winreg_key, file_entry=test_file_entry)
event_objects = self._GetEventObjectsFromQueue(event_queue_consumer)
self.assertEqual(len(event_objects), 61)
event_object = event_objects[0]
self.assertEqual(event_object.pathspec, test_file_entry.path_spec)
# This should just be the plugin name, as we're invoking it directly,
# and not through the parser.
self.assertEqual(event_object.parser, self._plugin.plugin_name)
expected_timestamp = timelib.Timestamp.CopyFromString(
u'2010-11-10 07:49:37.078067')
self.assertEqual(event_object.timestamp, expected_timestamp)
regvalue_identifier = u'Microsoft.Windows.GettingStarted'
expected_value = (
u'[UserAssist entry: 1, Count: 14, Application focus count: 21, '
u'Focus duration: 420000]')
self._TestRegvalue(event_object, regvalue_identifier, expected_value)
expected_msg = u'[{0:s}\\Count] {1:s}: {2:s}'.format(
key_path, regvalue_identifier, expected_value)
# The short message contains the first 76 characters of the key path.
expected_msg_short = u'[{0:s}...'.format(key_path[:76])
self._TestGetMessageStrings(event_object, expected_msg, expected_msg_short)
if __name__ == '__main__':
unittest.main()
| 39.540816
| 79
| 0.738581
| 494
| 3,875
| 5.552632
| 0.297571
| 0.048122
| 0.037915
| 0.056872
| 0.751003
| 0.751003
| 0.751003
| 0.720379
| 0.693401
| 0.649654
| 0
| 0.036585
| 0.153548
| 3,875
| 97
| 80
| 39.948454
| 0.799695
| 0.171355
| 0
| 0.551724
| 0
| 0
| 0.167139
| 0.087504
| 0
| 0
| 0
| 0
| 0.137931
| 1
| 0.051724
| false
| 0
| 0.086207
| 0
| 0.155172
| 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
|
d4e0665efd6ca21095ffb48940aaf5b4c097131c
| 89
|
py
|
Python
|
ubotvk/bot_features/pidors/__init__.py
|
cyber-chuvash/ubotvk
|
a004f3eef70d549bc5cd97cf18dc03a3fb8a31e1
|
[
"MIT"
] | null | null | null |
ubotvk/bot_features/pidors/__init__.py
|
cyber-chuvash/ubotvk
|
a004f3eef70d549bc5cd97cf18dc03a3fb8a31e1
|
[
"MIT"
] | null | null | null |
ubotvk/bot_features/pidors/__init__.py
|
cyber-chuvash/ubotvk
|
a004f3eef70d549bc5cd97cf18dc03a3fb8a31e1
|
[
"MIT"
] | null | null | null |
"""
"""
from . import pidors
def __init__(vk_api):
return pidors.Pidors(vk_api)
| 8.090909
| 32
| 0.640449
| 12
| 89
| 4.25
| 0.666667
| 0.196078
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.213483
| 89
| 10
| 33
| 8.9
| 0.728571
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 1
| 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
| 1
| 1
| 0
| 0
|
0
| 4
|
d4e2ae78138f0250d52cec86dd5d54da977d1a39
| 102
|
py
|
Python
|
venv/Lib/site-packages/Database/mysql/MysqlClient.py
|
jhonniel/Queuing-python
|
1b117dc7e4b3274b2f8fe72cce4beea363f563ef
|
[
"MIT"
] | null | null | null |
venv/Lib/site-packages/Database/mysql/MysqlClient.py
|
jhonniel/Queuing-python
|
1b117dc7e4b3274b2f8fe72cce4beea363f563ef
|
[
"MIT"
] | null | null | null |
venv/Lib/site-packages/Database/mysql/MysqlClient.py
|
jhonniel/Queuing-python
|
1b117dc7e4b3274b2f8fe72cce4beea363f563ef
|
[
"MIT"
] | null | null | null |
from ConfigParser import SafeConfigParser
class MysqlClient:
def __init__(self):
pass
| 11.333333
| 41
| 0.715686
| 10
| 102
| 6.9
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.245098
| 102
| 8
| 42
| 12.75
| 0.896104
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0.25
| 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
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
d4ebeeb32f6a4fc65d307da847dac27bbab21f2b
| 351
|
py
|
Python
|
RLBotPack/Rocketnoodles/src/world/components/__init__.py
|
L0laapk3/RLBotPack
|
f54038475d2a57428f3784560755f96bfcf8015f
|
[
"MIT"
] | 13
|
2019-05-25T20:25:51.000Z
|
2022-03-19T13:36:23.000Z
|
RLBotPack/Rocketnoodles/src/world/components/__init__.py
|
L0laapk3/RLBotPack
|
f54038475d2a57428f3784560755f96bfcf8015f
|
[
"MIT"
] | 53
|
2019-06-07T13:31:59.000Z
|
2022-03-28T22:53:47.000Z
|
RLBotPack/Rocketnoodles/src/world/components/__init__.py
|
L0laapk3/RLBotPack
|
f54038475d2a57428f3784560755f96bfcf8015f
|
[
"MIT"
] | 78
|
2019-06-30T08:42:13.000Z
|
2022-03-23T20:11:42.000Z
|
from world.components.world_component import WorldComponent
from world.components.ball import Ball
from world.components.world_boost_pad import WorldBoostPad
from world.components.car import Car
from world.components.game import Game
from world.components.team import Team
__all__ = ["WorldComponent", "Ball", "WorldBoostPad", "Car", "Game", "Team"]
| 39
| 76
| 0.814815
| 46
| 351
| 6.065217
| 0.304348
| 0.193548
| 0.408602
| 0.172043
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.094017
| 351
| 8
| 77
| 43.875
| 0.877358
| 0
| 0
| 0
| 0
| 0
| 0.119658
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.857143
| 0
| 0.857143
| 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
|
076bf0b5d3c22e34c00bad3c2cfb1785bed59ccf
| 601
|
py
|
Python
|
package/{{cookiecutter.project_slug}}/tests/test_{{cookiecutter.project_slug}}_cli.py
|
jdpatt/cookiecutter-template
|
b021e3e5cd3408a87798e7e1dd6c0be01f54a0c2
|
[
"MIT"
] | null | null | null |
package/{{cookiecutter.project_slug}}/tests/test_{{cookiecutter.project_slug}}_cli.py
|
jdpatt/cookiecutter-template
|
b021e3e5cd3408a87798e7e1dd6c0be01f54a0c2
|
[
"MIT"
] | null | null | null |
package/{{cookiecutter.project_slug}}/tests/test_{{cookiecutter.project_slug}}_cli.py
|
jdpatt/cookiecutter-template
|
b021e3e5cd3408a87798e7e1dd6c0be01f54a0c2
|
[
"MIT"
] | 1
|
2021-04-03T21:30:05.000Z
|
2021-04-03T21:30:05.000Z
|
"""Tests for `{{ cookiecutter.project_slug }}` package."""
import pytest
from click.testing import CliRunner
from {{ cookiecutter.project_slug }} import {{ cookiecutter.project_slug }}
from {{ cookiecutter.project_slug }} import cli
def test_type_of_project():
"""Test the CLI."""
runner = CliRunner()
result = runner.invoke(cli.{{ cookiecutter.project_slug }})
assert result.exit_code == 0
help_result = runner.invoke(cli.{{ cookiecutter.project_slug }}, ['--help'])
assert help_result.exit_code == 0
assert '--help Show this message and exit.' in help_result.output
| 33.388889
| 80
| 0.705491
| 75
| 601
| 5.466667
| 0.426667
| 0.278049
| 0.336585
| 0.131707
| 0.37561
| 0.214634
| 0.214634
| 0
| 0
| 0
| 0
| 0.003953
| 0.15807
| 601
| 17
| 81
| 35.352941
| 0.806324
| 0
| 0
| 0
| 0
| 0
| 0.078244
| 0
| 0
| 0
| 0
| 0
| 0.272727
| 0
| null | null | 0
| 0.363636
| null | null | 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
076f3e013a6bf62ac743006ffe233862e3499374
| 92
|
py
|
Python
|
galgebra/_backports/__init__.py
|
waldyrious/galgebra
|
b5eb070340434d030dd737a5656fbf709538b0b1
|
[
"BSD-3-Clause"
] | 151
|
2018-09-18T12:30:14.000Z
|
2022-03-16T08:02:48.000Z
|
galgebra/_backports/__init__.py
|
waldyrious/galgebra
|
b5eb070340434d030dd737a5656fbf709538b0b1
|
[
"BSD-3-Clause"
] | 454
|
2018-09-19T01:42:30.000Z
|
2022-01-18T14:02:00.000Z
|
galgebra/_backports/__init__.py
|
waldyrious/galgebra
|
b5eb070340434d030dd737a5656fbf709538b0b1
|
[
"BSD-3-Clause"
] | 30
|
2019-02-22T08:25:50.000Z
|
2022-01-15T05:20:22.000Z
|
"""
Backports of library components from newer python versions.
For internal use only.
"""
| 15.333333
| 59
| 0.75
| 12
| 92
| 5.75
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.163043
| 92
| 5
| 60
| 18.4
| 0.896104
| 0.902174
| 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
|
077ac6061be9c5047eda9ada96e70d56413f2de9
| 272
|
py
|
Python
|
aljpy/__init__.py
|
andyljones/aljpy
|
129b09fb6df7743e1a2ae0eff068fa14b3b59efb
|
[
"MIT"
] | 6
|
2020-03-21T09:16:04.000Z
|
2022-01-28T12:28:30.000Z
|
aljpy/__init__.py
|
andyljones/aljpy
|
129b09fb6df7743e1a2ae0eff068fa14b3b59efb
|
[
"MIT"
] | null | null | null |
aljpy/__init__.py
|
andyljones/aljpy
|
129b09fb6df7743e1a2ae0eff068fa14b3b59efb
|
[
"MIT"
] | 3
|
2020-01-15T08:42:48.000Z
|
2020-07-19T12:15:35.000Z
|
from .log import logger
from .timer import timer
from .humanhash import humanhash
from .cache import autocache, memcache, timecache
from .parallel import parallel
from .dotdict import dotdict, mapping, starmapping
from .debugging import extract
from .wiki import wikitable
| 34
| 50
| 0.827206
| 36
| 272
| 6.25
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.128676
| 272
| 8
| 51
| 34
| 0.949367
| 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
|
0791145c654b27b078048e93f79b941f8eb9b6e1
| 116,357
|
py
|
Python
|
src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_models.py
|
haroonf/azure-cli-extensions
|
61c044d34c224372f186934fa7c9313f1cd3a525
|
[
"MIT"
] | 1
|
2022-01-25T07:33:18.000Z
|
2022-01-25T07:33:18.000Z
|
src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_models.py
|
haroonf/azure-cli-extensions
|
61c044d34c224372f186934fa7c9313f1cd3a525
|
[
"MIT"
] | 9
|
2022-03-25T19:35:49.000Z
|
2022-03-31T06:09:47.000Z
|
src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_models.py
|
haroonf/azure-cli-extensions
|
61c044d34c224372f186934fa7c9313f1cd3a525
|
[
"MIT"
] | 1
|
2022-03-10T22:13:02.000Z
|
2022-03-10T22:13:02.000Z
|
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
import msrest.serialization
class Resource(msrest.serialization.Model):
"""Common fields that are returned in the response for all Azure Resource Manager resources.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(Resource, self).__init__(**kwargs)
self.id = None
self.name = None
self.type = None
class Application(Resource):
"""Schema for Application properties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:ivar object_id: ObjectId of Application. (internal use).
:vartype object_id: str
:param description: Description of Application.
:type description: str
:param friendly_name: Friendly name of Application.
:type friendly_name: str
:param file_path: Specifies a path for the executable file for the application.
:type file_path: str
:param msix_package_family_name: Specifies the package family name for MSIX applications.
:type msix_package_family_name: str
:param msix_package_application_id: Specifies the package application Id for MSIX applications.
:type msix_package_application_id: str
:param application_type: Resource Type of Application. Possible values include: "InBuilt",
"MsixApplication".
:type application_type: str or ~desktop_virtualization_api_client.models.RemoteApplicationType
:param command_line_setting: Required. Specifies whether this published application can be
launched with command line arguments provided by the client, command line arguments specified
at publish time, or no command line arguments at all. Possible values include: "DoNotAllow",
"Allow", "Require".
:type command_line_setting: str or ~desktop_virtualization_api_client.models.CommandLineSetting
:param command_line_arguments: Command Line Arguments for Application.
:type command_line_arguments: str
:param show_in_portal: Specifies whether to show the RemoteApp program in the RD Web Access
server.
:type show_in_portal: bool
:param icon_path: Path to icon.
:type icon_path: str
:param icon_index: Index of the icon.
:type icon_index: int
:ivar icon_hash: Hash of the icon.
:vartype icon_hash: str
:ivar icon_content: the icon a 64 bit string as a byte array.
:vartype icon_content: bytearray
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'object_id': {'readonly': True},
'command_line_setting': {'required': True},
'icon_hash': {'readonly': True},
'icon_content': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'object_id': {'key': 'properties.objectId', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'file_path': {'key': 'properties.filePath', 'type': 'str'},
'msix_package_family_name': {'key': 'properties.msixPackageFamilyName', 'type': 'str'},
'msix_package_application_id': {'key': 'properties.msixPackageApplicationId', 'type': 'str'},
'application_type': {'key': 'properties.applicationType', 'type': 'str'},
'command_line_setting': {'key': 'properties.commandLineSetting', 'type': 'str'},
'command_line_arguments': {'key': 'properties.commandLineArguments', 'type': 'str'},
'show_in_portal': {'key': 'properties.showInPortal', 'type': 'bool'},
'icon_path': {'key': 'properties.iconPath', 'type': 'str'},
'icon_index': {'key': 'properties.iconIndex', 'type': 'int'},
'icon_hash': {'key': 'properties.iconHash', 'type': 'str'},
'icon_content': {'key': 'properties.iconContent', 'type': 'bytearray'},
}
def __init__(
self,
**kwargs
):
super(Application, self).__init__(**kwargs)
self.object_id = None
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.file_path = kwargs.get('file_path', None)
self.msix_package_family_name = kwargs.get('msix_package_family_name', None)
self.msix_package_application_id = kwargs.get('msix_package_application_id', None)
self.application_type = kwargs.get('application_type', None)
self.command_line_setting = kwargs['command_line_setting']
self.command_line_arguments = kwargs.get('command_line_arguments', None)
self.show_in_portal = kwargs.get('show_in_portal', None)
self.icon_path = kwargs.get('icon_path', None)
self.icon_index = kwargs.get('icon_index', None)
self.icon_hash = None
self.icon_content = None
class ResourceModelWithAllowedPropertySet(msrest.serialization.Model):
"""The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param location: The geo-location where the resource lives.
:type location: str
:param managed_by: The fully qualified resource ID of the resource that manages this resource.
Indicates if this resource is managed by another Azure resource. If this is present, complete
mode deployment will not delete the resource if it is removed from the template since it is
managed by another resource.
:type managed_by: str
:param kind: Metadata used by portal/tooling/etc to render different UX experiences for
resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported,
the resource provider must validate and persist this value.
:type kind: str
:ivar etag: The etag field is *not* required. If it is provided in the response body, it must
also be provided as a header per the normal etag convention. Entity tags are used for
comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
(section 14.27) header fields.
:vartype etag: str
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
:param identity: Identity for the resource.
:type identity: ~desktop_virtualization_api_client.models.Identity
:param sku: The resource model definition representing SKU.
:type sku: ~desktop_virtualization_api_client.models.Sku
:param plan: Plan for the resource.
:type plan: ~desktop_virtualization_api_client.models.Plan
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
'etag': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'managed_by': {'key': 'managedBy', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'identity': {'key': 'identity', 'type': 'Identity'},
'sku': {'key': 'sku', 'type': 'Sku'},
'plan': {'key': 'plan', 'type': 'Plan'},
}
def __init__(
self,
**kwargs
):
super(ResourceModelWithAllowedPropertySet, self).__init__(**kwargs)
self.id = None
self.name = None
self.type = None
self.location = kwargs.get('location', None)
self.managed_by = kwargs.get('managed_by', None)
self.kind = kwargs.get('kind', None)
self.etag = None
self.tags = kwargs.get('tags', None)
self.identity = kwargs.get('identity', None)
self.sku = kwargs.get('sku', None)
self.plan = kwargs.get('plan', None)
class ApplicationGroup(ResourceModelWithAllowedPropertySet):
"""Represents a ApplicationGroup definition.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param location: The geo-location where the resource lives.
:type location: str
:param managed_by: The fully qualified resource ID of the resource that manages this resource.
Indicates if this resource is managed by another Azure resource. If this is present, complete
mode deployment will not delete the resource if it is removed from the template since it is
managed by another resource.
:type managed_by: str
:param kind: Metadata used by portal/tooling/etc to render different UX experiences for
resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported,
the resource provider must validate and persist this value.
:type kind: str
:ivar etag: The etag field is *not* required. If it is provided in the response body, it must
also be provided as a header per the normal etag convention. Entity tags are used for
comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
(section 14.27) header fields.
:vartype etag: str
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
:param identity: Identity for the resource.
:type identity: ~desktop_virtualization_api_client.models.Identity
:param sku: The resource model definition representing SKU.
:type sku: ~desktop_virtualization_api_client.models.Sku
:param plan: Plan for the resource.
:type plan: ~desktop_virtualization_api_client.models.Plan
:ivar object_id: ObjectId of ApplicationGroup. (internal use).
:vartype object_id: str
:param description: Description of ApplicationGroup.
:type description: str
:param friendly_name: Friendly name of ApplicationGroup.
:type friendly_name: str
:param host_pool_arm_path: Required. HostPool arm path of ApplicationGroup.
:type host_pool_arm_path: str
:ivar workspace_arm_path: Workspace arm path of ApplicationGroup.
:vartype workspace_arm_path: str
:param application_group_type: Required. Resource Type of ApplicationGroup. Possible values
include: "RemoteApp", "Desktop".
:type application_group_type: str or
~desktop_virtualization_api_client.models.ApplicationGroupType
:param migration_request: The registration info of HostPool.
:type migration_request: ~desktop_virtualization_api_client.models.MigrationRequestProperties
:ivar cloud_pc_resource: Is cloud pc resource.
:vartype cloud_pc_resource: bool
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
'etag': {'readonly': True},
'object_id': {'readonly': True},
'host_pool_arm_path': {'required': True},
'workspace_arm_path': {'readonly': True},
'application_group_type': {'required': True},
'cloud_pc_resource': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'managed_by': {'key': 'managedBy', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'identity': {'key': 'identity', 'type': 'Identity'},
'sku': {'key': 'sku', 'type': 'Sku'},
'plan': {'key': 'plan', 'type': 'Plan'},
'object_id': {'key': 'properties.objectId', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'host_pool_arm_path': {'key': 'properties.hostPoolArmPath', 'type': 'str'},
'workspace_arm_path': {'key': 'properties.workspaceArmPath', 'type': 'str'},
'application_group_type': {'key': 'properties.applicationGroupType', 'type': 'str'},
'migration_request': {'key': 'properties.migrationRequest', 'type': 'MigrationRequestProperties'},
'cloud_pc_resource': {'key': 'properties.cloudPcResource', 'type': 'bool'},
}
def __init__(
self,
**kwargs
):
super(ApplicationGroup, self).__init__(**kwargs)
self.object_id = None
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.host_pool_arm_path = kwargs['host_pool_arm_path']
self.workspace_arm_path = None
self.application_group_type = kwargs['application_group_type']
self.migration_request = kwargs.get('migration_request', None)
self.cloud_pc_resource = None
class ApplicationGroupList(msrest.serialization.Model):
"""List of ApplicationGroup definitions.
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of ApplicationGroup definitions.
:type value: list[~desktop_virtualization_api_client.models.ApplicationGroup]
:ivar next_link: Link to the next page of results.
:vartype next_link: str
"""
_validation = {
'next_link': {'readonly': True},
}
_attribute_map = {
'value': {'key': 'value', 'type': '[ApplicationGroup]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(ApplicationGroupList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
self.next_link = None
class ApplicationGroupPatch(Resource):
"""ApplicationGroup properties that can be patched.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param tags: A set of tags. tags to be updated.
:type tags: dict[str, str]
:param description: Description of ApplicationGroup.
:type description: str
:param friendly_name: Friendly name of ApplicationGroup.
:type friendly_name: str
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(ApplicationGroupPatch, self).__init__(**kwargs)
self.tags = kwargs.get('tags', None)
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
class ApplicationList(msrest.serialization.Model):
"""List of Application definitions.
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of Application definitions.
:type value: list[~desktop_virtualization_api_client.models.Application]
:ivar next_link: Link to the next page of results.
:vartype next_link: str
"""
_validation = {
'next_link': {'readonly': True},
}
_attribute_map = {
'value': {'key': 'value', 'type': '[Application]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(ApplicationList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
self.next_link = None
class ApplicationPatch(msrest.serialization.Model):
"""Application properties that can be patched.
:param tags: A set of tags. tags to be updated.
:type tags: dict[str, str]
:param description: Description of Application.
:type description: str
:param friendly_name: Friendly name of Application.
:type friendly_name: str
:param file_path: Specifies a path for the executable file for the application.
:type file_path: str
:param command_line_setting: Specifies whether this published application can be launched with
command line arguments provided by the client, command line arguments specified at publish
time, or no command line arguments at all. Possible values include: "DoNotAllow", "Allow",
"Require".
:type command_line_setting: str or ~desktop_virtualization_api_client.models.CommandLineSetting
:param command_line_arguments: Command Line Arguments for Application.
:type command_line_arguments: str
:param show_in_portal: Specifies whether to show the RemoteApp program in the RD Web Access
server.
:type show_in_portal: bool
:param icon_path: Path to icon.
:type icon_path: str
:param icon_index: Index of the icon.
:type icon_index: int
:param msix_package_family_name: Specifies the package family name for MSIX applications.
:type msix_package_family_name: str
:param msix_package_application_id: Specifies the package application Id for MSIX applications.
:type msix_package_application_id: str
:param application_type: Resource Type of Application. Possible values include: "InBuilt",
"MsixApplication".
:type application_type: str or ~desktop_virtualization_api_client.models.RemoteApplicationType
"""
_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'file_path': {'key': 'properties.filePath', 'type': 'str'},
'command_line_setting': {'key': 'properties.commandLineSetting', 'type': 'str'},
'command_line_arguments': {'key': 'properties.commandLineArguments', 'type': 'str'},
'show_in_portal': {'key': 'properties.showInPortal', 'type': 'bool'},
'icon_path': {'key': 'properties.iconPath', 'type': 'str'},
'icon_index': {'key': 'properties.iconIndex', 'type': 'int'},
'msix_package_family_name': {'key': 'properties.msixPackageFamilyName', 'type': 'str'},
'msix_package_application_id': {'key': 'properties.msixPackageApplicationId', 'type': 'str'},
'application_type': {'key': 'properties.applicationType', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(ApplicationPatch, self).__init__(**kwargs)
self.tags = kwargs.get('tags', None)
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.file_path = kwargs.get('file_path', None)
self.command_line_setting = kwargs.get('command_line_setting', None)
self.command_line_arguments = kwargs.get('command_line_arguments', None)
self.show_in_portal = kwargs.get('show_in_portal', None)
self.icon_path = kwargs.get('icon_path', None)
self.icon_index = kwargs.get('icon_index', None)
self.msix_package_family_name = kwargs.get('msix_package_family_name', None)
self.msix_package_application_id = kwargs.get('msix_package_application_id', None)
self.application_type = kwargs.get('application_type', None)
class CloudErrorProperties(msrest.serialization.Model):
"""CloudErrorProperties.
:param code: Error code.
:type code: str
:param message: Error message indicating why the operation failed.
:type message: str
"""
_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(CloudErrorProperties, self).__init__(**kwargs)
self.code = kwargs.get('code', None)
self.message = kwargs.get('message', None)
class Desktop(Resource):
"""Schema for Desktop properties.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:ivar object_id: ObjectId of Desktop. (internal use).
:vartype object_id: str
:param description: Description of Desktop.
:type description: str
:param friendly_name: Friendly name of Desktop.
:type friendly_name: str
:ivar icon_hash: Hash of the icon.
:vartype icon_hash: str
:ivar icon_content: The icon a 64 bit string as a byte array.
:vartype icon_content: bytearray
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'object_id': {'readonly': True},
'icon_hash': {'readonly': True},
'icon_content': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'object_id': {'key': 'properties.objectId', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'icon_hash': {'key': 'properties.iconHash', 'type': 'str'},
'icon_content': {'key': 'properties.iconContent', 'type': 'bytearray'},
}
def __init__(
self,
**kwargs
):
super(Desktop, self).__init__(**kwargs)
self.object_id = None
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.icon_hash = None
self.icon_content = None
class DesktopList(msrest.serialization.Model):
"""List of Desktop definitions.
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of Desktop definitions.
:type value: list[~desktop_virtualization_api_client.models.Desktop]
:ivar next_link: Link to the next page of results.
:vartype next_link: str
"""
_validation = {
'next_link': {'readonly': True},
}
_attribute_map = {
'value': {'key': 'value', 'type': '[Desktop]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(DesktopList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
self.next_link = None
class DesktopPatch(msrest.serialization.Model):
"""Desktop properties that can be patched.
:param tags: A set of tags. tags to be updated.
:type tags: dict[str, str]
:param description: Description of Desktop.
:type description: str
:param friendly_name: Friendly name of Desktop.
:type friendly_name: str
"""
_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(DesktopPatch, self).__init__(**kwargs)
self.tags = kwargs.get('tags', None)
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
class ExpandMsixImage(Resource):
"""Represents the definition of contents retrieved after expanding the MSIX Image.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param package_alias: Alias of MSIX Package.
:type package_alias: str
:param image_path: VHD/CIM image path on Network Share.
:type image_path: str
:param package_name: Package Name from appxmanifest.xml.
:type package_name: str
:param package_family_name: Package Family Name from appxmanifest.xml. Contains Package Name
and Publisher name.
:type package_family_name: str
:param package_full_name: Package Full Name from appxmanifest.xml.
:type package_full_name: str
:param display_name: User friendly Name to be displayed in the portal.
:type display_name: str
:param package_relative_path: Relative Path to the package inside the image.
:type package_relative_path: str
:param is_regular_registration: Specifies how to register Package in feed.
:type is_regular_registration: bool
:param is_active: Make this version of the package the active one across the hostpool.
:type is_active: bool
:param package_dependencies: List of package dependencies.
:type package_dependencies:
list[~desktop_virtualization_api_client.models.MsixPackageDependencies]
:param version: Package Version found in the appxmanifest.xml.
:type version: str
:param last_updated: Date Package was last updated, found in the appxmanifest.xml.
:type last_updated: ~datetime.datetime
:param package_applications: List of package applications.
:type package_applications:
list[~desktop_virtualization_api_client.models.MsixPackageApplications]
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'package_alias': {'key': 'properties.packageAlias', 'type': 'str'},
'image_path': {'key': 'properties.imagePath', 'type': 'str'},
'package_name': {'key': 'properties.packageName', 'type': 'str'},
'package_family_name': {'key': 'properties.packageFamilyName', 'type': 'str'},
'package_full_name': {'key': 'properties.packageFullName', 'type': 'str'},
'display_name': {'key': 'properties.displayName', 'type': 'str'},
'package_relative_path': {'key': 'properties.packageRelativePath', 'type': 'str'},
'is_regular_registration': {'key': 'properties.isRegularRegistration', 'type': 'bool'},
'is_active': {'key': 'properties.isActive', 'type': 'bool'},
'package_dependencies': {'key': 'properties.packageDependencies', 'type': '[MsixPackageDependencies]'},
'version': {'key': 'properties.version', 'type': 'str'},
'last_updated': {'key': 'properties.lastUpdated', 'type': 'iso-8601'},
'package_applications': {'key': 'properties.packageApplications', 'type': '[MsixPackageApplications]'},
}
def __init__(
self,
**kwargs
):
super(ExpandMsixImage, self).__init__(**kwargs)
self.package_alias = kwargs.get('package_alias', None)
self.image_path = kwargs.get('image_path', None)
self.package_name = kwargs.get('package_name', None)
self.package_family_name = kwargs.get('package_family_name', None)
self.package_full_name = kwargs.get('package_full_name', None)
self.display_name = kwargs.get('display_name', None)
self.package_relative_path = kwargs.get('package_relative_path', None)
self.is_regular_registration = kwargs.get('is_regular_registration', None)
self.is_active = kwargs.get('is_active', None)
self.package_dependencies = kwargs.get('package_dependencies', None)
self.version = kwargs.get('version', None)
self.last_updated = kwargs.get('last_updated', None)
self.package_applications = kwargs.get('package_applications', None)
class ExpandMsixImageList(msrest.serialization.Model):
"""List of MSIX package properties retrieved from MSIX Image expansion.
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of MSIX package properties from give MSIX Image.
:type value: list[~desktop_virtualization_api_client.models.ExpandMsixImage]
:ivar next_link: Link to the next page of results.
:vartype next_link: str
"""
_validation = {
'next_link': {'readonly': True},
}
_attribute_map = {
'value': {'key': 'value', 'type': '[ExpandMsixImage]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(ExpandMsixImageList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
self.next_link = None
class HostPool(ResourceModelWithAllowedPropertySet):
"""Represents a HostPool definition.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param location: The geo-location where the resource lives.
:type location: str
:param managed_by: The fully qualified resource ID of the resource that manages this resource.
Indicates if this resource is managed by another Azure resource. If this is present, complete
mode deployment will not delete the resource if it is removed from the template since it is
managed by another resource.
:type managed_by: str
:param kind: Metadata used by portal/tooling/etc to render different UX experiences for
resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported,
the resource provider must validate and persist this value.
:type kind: str
:ivar etag: The etag field is *not* required. If it is provided in the response body, it must
also be provided as a header per the normal etag convention. Entity tags are used for
comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
(section 14.27) header fields.
:vartype etag: str
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
:param identity: Identity for the resource.
:type identity: ~desktop_virtualization_api_client.models.Identity
:param sku: The resource model definition representing SKU.
:type sku: ~desktop_virtualization_api_client.models.Sku
:param plan: Plan for the resource.
:type plan: ~desktop_virtualization_api_client.models.Plan
:ivar object_id: ObjectId of HostPool. (internal use).
:vartype object_id: str
:param friendly_name: Friendly name of HostPool.
:type friendly_name: str
:param description: Description of HostPool.
:type description: str
:param host_pool_type: Required. HostPool type for desktop. Possible values include:
"Personal", "Pooled", "BYODesktop".
:type host_pool_type: str or ~desktop_virtualization_api_client.models.HostPoolType
:param personal_desktop_assignment_type: PersonalDesktopAssignment type for HostPool. Possible
values include: "Automatic", "Direct".
:type personal_desktop_assignment_type: str or
~desktop_virtualization_api_client.models.PersonalDesktopAssignmentType
:param custom_rdp_property: Custom rdp property of HostPool.
:type custom_rdp_property: str
:param max_session_limit: The max session limit of HostPool.
:type max_session_limit: int
:param load_balancer_type: Required. The type of the load balancer. Possible values include:
"BreadthFirst", "DepthFirst", "Persistent".
:type load_balancer_type: str or ~desktop_virtualization_api_client.models.LoadBalancerType
:param ring: The ring number of HostPool.
:type ring: int
:param validation_environment: Is validation environment.
:type validation_environment: bool
:param registration_info: The registration info of HostPool.
:type registration_info: ~desktop_virtualization_api_client.models.RegistrationInfo
:param vm_template: VM template for sessionhosts configuration within hostpool.
:type vm_template: str
:ivar application_group_references: List of applicationGroup links.
:vartype application_group_references: list[str]
:param ssoadfs_authority: URL to customer ADFS server for signing WVD SSO certificates.
:type ssoadfs_authority: str
:param sso_client_id: ClientId for the registered Relying Party used to issue WVD SSO
certificates.
:type sso_client_id: str
:param sso_client_secret_key_vault_path: Path to Azure KeyVault storing the secret used for
communication to ADFS.
:type sso_client_secret_key_vault_path: str
:param sso_secret_type: The type of single sign on Secret Type. Possible values include:
"SharedKey", "Certificate", "SharedKeyInKeyVault", "CertificateInKeyVault".
:type sso_secret_type: str or ~desktop_virtualization_api_client.models.SsoSecretType
:param preferred_app_group_type: Required. The type of preferred application group type,
default to Desktop Application Group. Possible values include: "None", "Desktop",
"RailApplications".
:type preferred_app_group_type: str or
~desktop_virtualization_api_client.models.PreferredAppGroupType
:param start_vm_on_connect: The flag to turn on/off StartVMOnConnect feature.
:type start_vm_on_connect: bool
:param migration_request: The registration info of HostPool.
:type migration_request: ~desktop_virtualization_api_client.models.MigrationRequestProperties
:ivar cloud_pc_resource: Is cloud pc resource.
:vartype cloud_pc_resource: bool
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
'etag': {'readonly': True},
'object_id': {'readonly': True},
'host_pool_type': {'required': True},
'load_balancer_type': {'required': True},
'application_group_references': {'readonly': True},
'preferred_app_group_type': {'required': True},
'cloud_pc_resource': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'managed_by': {'key': 'managedBy', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'identity': {'key': 'identity', 'type': 'Identity'},
'sku': {'key': 'sku', 'type': 'Sku'},
'plan': {'key': 'plan', 'type': 'Plan'},
'object_id': {'key': 'properties.objectId', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'host_pool_type': {'key': 'properties.hostPoolType', 'type': 'str'},
'personal_desktop_assignment_type': {'key': 'properties.personalDesktopAssignmentType', 'type': 'str'},
'custom_rdp_property': {'key': 'properties.customRdpProperty', 'type': 'str'},
'max_session_limit': {'key': 'properties.maxSessionLimit', 'type': 'int'},
'load_balancer_type': {'key': 'properties.loadBalancerType', 'type': 'str'},
'ring': {'key': 'properties.ring', 'type': 'int'},
'validation_environment': {'key': 'properties.validationEnvironment', 'type': 'bool'},
'registration_info': {'key': 'properties.registrationInfo', 'type': 'RegistrationInfo'},
'vm_template': {'key': 'properties.vmTemplate', 'type': 'str'},
'application_group_references': {'key': 'properties.applicationGroupReferences', 'type': '[str]'},
'ssoadfs_authority': {'key': 'properties.ssoadfsAuthority', 'type': 'str'},
'sso_client_id': {'key': 'properties.ssoClientId', 'type': 'str'},
'sso_client_secret_key_vault_path': {'key': 'properties.ssoClientSecretKeyVaultPath', 'type': 'str'},
'sso_secret_type': {'key': 'properties.ssoSecretType', 'type': 'str'},
'preferred_app_group_type': {'key': 'properties.preferredAppGroupType', 'type': 'str'},
'start_vm_on_connect': {'key': 'properties.startVMOnConnect', 'type': 'bool'},
'migration_request': {'key': 'properties.migrationRequest', 'type': 'MigrationRequestProperties'},
'cloud_pc_resource': {'key': 'properties.cloudPcResource', 'type': 'bool'},
}
def __init__(
self,
**kwargs
):
super(HostPool, self).__init__(**kwargs)
self.object_id = None
self.friendly_name = kwargs.get('friendly_name', None)
self.description = kwargs.get('description', None)
self.host_pool_type = kwargs['host_pool_type']
self.personal_desktop_assignment_type = kwargs.get('personal_desktop_assignment_type', None)
self.custom_rdp_property = kwargs.get('custom_rdp_property', None)
self.max_session_limit = kwargs.get('max_session_limit', None)
self.load_balancer_type = kwargs['load_balancer_type']
self.ring = kwargs.get('ring', None)
self.validation_environment = kwargs.get('validation_environment', None)
self.registration_info = kwargs.get('registration_info', None)
self.vm_template = kwargs.get('vm_template', None)
self.application_group_references = None
self.ssoadfs_authority = kwargs.get('ssoadfs_authority', None)
self.sso_client_id = kwargs.get('sso_client_id', None)
self.sso_client_secret_key_vault_path = kwargs.get('sso_client_secret_key_vault_path', None)
self.sso_secret_type = kwargs.get('sso_secret_type', None)
self.preferred_app_group_type = kwargs['preferred_app_group_type']
self.start_vm_on_connect = kwargs.get('start_vm_on_connect', None)
self.migration_request = kwargs.get('migration_request', None)
self.cloud_pc_resource = None
class HostPoolList(msrest.serialization.Model):
"""List of HostPool definitions.
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of HostPool definitions.
:type value: list[~desktop_virtualization_api_client.models.HostPool]
:ivar next_link: Link to the next page of results.
:vartype next_link: str
"""
_validation = {
'next_link': {'readonly': True},
}
_attribute_map = {
'value': {'key': 'value', 'type': '[HostPool]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(HostPoolList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
self.next_link = None
class HostPoolPatch(Resource):
"""HostPool properties that can be patched.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param tags: A set of tags. tags to be updated.
:type tags: dict[str, str]
:param friendly_name: Friendly name of HostPool.
:type friendly_name: str
:param description: Description of HostPool.
:type description: str
:param custom_rdp_property: Custom rdp property of HostPool.
:type custom_rdp_property: str
:param max_session_limit: The max session limit of HostPool.
:type max_session_limit: int
:param personal_desktop_assignment_type: PersonalDesktopAssignment type for HostPool. Possible
values include: "Automatic", "Direct".
:type personal_desktop_assignment_type: str or
~desktop_virtualization_api_client.models.PersonalDesktopAssignmentType
:param load_balancer_type: The type of the load balancer. Possible values include:
"BreadthFirst", "DepthFirst", "Persistent".
:type load_balancer_type: str or ~desktop_virtualization_api_client.models.LoadBalancerType
:param ring: The ring number of HostPool.
:type ring: int
:param validation_environment: Is validation environment.
:type validation_environment: bool
:param registration_info: The registration info of HostPool.
:type registration_info: ~desktop_virtualization_api_client.models.RegistrationInfoPatch
:param vm_template: VM template for sessionhosts configuration within hostpool.
:type vm_template: str
:param ssoadfs_authority: URL to customer ADFS server for signing WVD SSO certificates.
:type ssoadfs_authority: str
:param sso_client_id: ClientId for the registered Relying Party used to issue WVD SSO
certificates.
:type sso_client_id: str
:param sso_client_secret_key_vault_path: Path to Azure KeyVault storing the secret used for
communication to ADFS.
:type sso_client_secret_key_vault_path: str
:param sso_secret_type: The type of single sign on Secret Type. Possible values include:
"SharedKey", "Certificate", "SharedKeyInKeyVault", "CertificateInKeyVault".
:type sso_secret_type: str or ~desktop_virtualization_api_client.models.SsoSecretType
:param preferred_app_group_type: The type of preferred application group type, default to
Desktop Application Group. Possible values include: "None", "Desktop", "RailApplications".
:type preferred_app_group_type: str or
~desktop_virtualization_api_client.models.PreferredAppGroupType
:param start_vm_on_connect: The flag to turn on/off StartVMOnConnect feature.
:type start_vm_on_connect: bool
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'custom_rdp_property': {'key': 'properties.customRdpProperty', 'type': 'str'},
'max_session_limit': {'key': 'properties.maxSessionLimit', 'type': 'int'},
'personal_desktop_assignment_type': {'key': 'properties.personalDesktopAssignmentType', 'type': 'str'},
'load_balancer_type': {'key': 'properties.loadBalancerType', 'type': 'str'},
'ring': {'key': 'properties.ring', 'type': 'int'},
'validation_environment': {'key': 'properties.validationEnvironment', 'type': 'bool'},
'registration_info': {'key': 'properties.registrationInfo', 'type': 'RegistrationInfoPatch'},
'vm_template': {'key': 'properties.vmTemplate', 'type': 'str'},
'ssoadfs_authority': {'key': 'properties.ssoadfsAuthority', 'type': 'str'},
'sso_client_id': {'key': 'properties.ssoClientId', 'type': 'str'},
'sso_client_secret_key_vault_path': {'key': 'properties.ssoClientSecretKeyVaultPath', 'type': 'str'},
'sso_secret_type': {'key': 'properties.ssoSecretType', 'type': 'str'},
'preferred_app_group_type': {'key': 'properties.preferredAppGroupType', 'type': 'str'},
'start_vm_on_connect': {'key': 'properties.startVMOnConnect', 'type': 'bool'},
}
def __init__(
self,
**kwargs
):
super(HostPoolPatch, self).__init__(**kwargs)
self.tags = kwargs.get('tags', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.description = kwargs.get('description', None)
self.custom_rdp_property = kwargs.get('custom_rdp_property', None)
self.max_session_limit = kwargs.get('max_session_limit', None)
self.personal_desktop_assignment_type = kwargs.get('personal_desktop_assignment_type', None)
self.load_balancer_type = kwargs.get('load_balancer_type', None)
self.ring = kwargs.get('ring', None)
self.validation_environment = kwargs.get('validation_environment', None)
self.registration_info = kwargs.get('registration_info', None)
self.vm_template = kwargs.get('vm_template', None)
self.ssoadfs_authority = kwargs.get('ssoadfs_authority', None)
self.sso_client_id = kwargs.get('sso_client_id', None)
self.sso_client_secret_key_vault_path = kwargs.get('sso_client_secret_key_vault_path', None)
self.sso_secret_type = kwargs.get('sso_secret_type', None)
self.preferred_app_group_type = kwargs.get('preferred_app_group_type', None)
self.start_vm_on_connect = kwargs.get('start_vm_on_connect', None)
class Identity(msrest.serialization.Model):
"""Identity for the resource.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar principal_id: The principal ID of resource identity.
:vartype principal_id: str
:ivar tenant_id: The tenant ID of resource.
:vartype tenant_id: str
:ivar type: The identity type. Default value: "SystemAssigned".
:vartype type: str
"""
_validation = {
'principal_id': {'readonly': True},
'tenant_id': {'readonly': True},
'type': {'constant': True},
}
_attribute_map = {
'principal_id': {'key': 'principalId', 'type': 'str'},
'tenant_id': {'key': 'tenantId', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
type = "SystemAssigned"
def __init__(
self,
**kwargs
):
super(Identity, self).__init__(**kwargs)
self.principal_id = None
self.tenant_id = None
class LogSpecification(msrest.serialization.Model):
"""Specifications of the Log for Azure Monitoring.
:param name: Name of the log.
:type name: str
:param display_name: Localized friendly display name of the log.
:type display_name: str
:param blob_duration: Blob duration of the log.
:type blob_duration: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'blob_duration': {'key': 'blobDuration', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(LogSpecification, self).__init__(**kwargs)
self.name = kwargs.get('name', None)
self.display_name = kwargs.get('display_name', None)
self.blob_duration = kwargs.get('blob_duration', None)
class MigrationRequestProperties(msrest.serialization.Model):
"""Properties for arm migration.
:param operation: The type of operation for migration. Possible values include: "Start",
"Revoke", "Complete", "Hide", "Unhide".
:type operation: str or ~desktop_virtualization_api_client.models.Operation
:param migration_path: The path to the legacy object to migrate.
:type migration_path: str
"""
_attribute_map = {
'operation': {'key': 'operation', 'type': 'str'},
'migration_path': {'key': 'migrationPath', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(MigrationRequestProperties, self).__init__(**kwargs)
self.operation = kwargs.get('operation', None)
self.migration_path = kwargs.get('migration_path', None)
class MsixImageUri(msrest.serialization.Model):
"""Represents URI referring to MSIX Image.
:param uri: URI to Image.
:type uri: str
"""
_attribute_map = {
'uri': {'key': 'uri', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(MsixImageUri, self).__init__(**kwargs)
self.uri = kwargs.get('uri', None)
class MsixPackage(Resource):
"""Schema for MSIX Package properties.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param image_path: VHD/CIM image path on Network Share.
:type image_path: str
:param package_name: Package Name from appxmanifest.xml.
:type package_name: str
:param package_family_name: Package Family Name from appxmanifest.xml. Contains Package Name
and Publisher name.
:type package_family_name: str
:param display_name: User friendly Name to be displayed in the portal.
:type display_name: str
:param package_relative_path: Relative Path to the package inside the image.
:type package_relative_path: str
:param is_regular_registration: Specifies how to register Package in feed.
:type is_regular_registration: bool
:param is_active: Make this version of the package the active one across the hostpool.
:type is_active: bool
:param package_dependencies: List of package dependencies.
:type package_dependencies:
list[~desktop_virtualization_api_client.models.MsixPackageDependencies]
:param version: Package Version found in the appxmanifest.xml.
:type version: str
:param last_updated: Date Package was last updated, found in the appxmanifest.xml.
:type last_updated: ~datetime.datetime
:param package_applications: List of package applications.
:type package_applications:
list[~desktop_virtualization_api_client.models.MsixPackageApplications]
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'image_path': {'key': 'properties.imagePath', 'type': 'str'},
'package_name': {'key': 'properties.packageName', 'type': 'str'},
'package_family_name': {'key': 'properties.packageFamilyName', 'type': 'str'},
'display_name': {'key': 'properties.displayName', 'type': 'str'},
'package_relative_path': {'key': 'properties.packageRelativePath', 'type': 'str'},
'is_regular_registration': {'key': 'properties.isRegularRegistration', 'type': 'bool'},
'is_active': {'key': 'properties.isActive', 'type': 'bool'},
'package_dependencies': {'key': 'properties.packageDependencies', 'type': '[MsixPackageDependencies]'},
'version': {'key': 'properties.version', 'type': 'str'},
'last_updated': {'key': 'properties.lastUpdated', 'type': 'iso-8601'},
'package_applications': {'key': 'properties.packageApplications', 'type': '[MsixPackageApplications]'},
}
def __init__(
self,
**kwargs
):
super(MsixPackage, self).__init__(**kwargs)
self.image_path = kwargs.get('image_path', None)
self.package_name = kwargs.get('package_name', None)
self.package_family_name = kwargs.get('package_family_name', None)
self.display_name = kwargs.get('display_name', None)
self.package_relative_path = kwargs.get('package_relative_path', None)
self.is_regular_registration = kwargs.get('is_regular_registration', None)
self.is_active = kwargs.get('is_active', None)
self.package_dependencies = kwargs.get('package_dependencies', None)
self.version = kwargs.get('version', None)
self.last_updated = kwargs.get('last_updated', None)
self.package_applications = kwargs.get('package_applications', None)
class MsixPackageApplications(msrest.serialization.Model):
"""Schema for MSIX Package Application properties.
:param app_id: Package Application Id, found in appxmanifest.xml.
:type app_id: str
:param description: Description of Package Application.
:type description: str
:param app_user_model_id: Used to activate Package Application. Consists of Package Name and
ApplicationID. Found in appxmanifest.xml.
:type app_user_model_id: str
:param friendly_name: User friendly name.
:type friendly_name: str
:param icon_image_name: User friendly name.
:type icon_image_name: str
:param raw_icon: the icon a 64 bit string as a byte array.
:type raw_icon: bytearray
:param raw_png: the icon a 64 bit string as a byte array.
:type raw_png: bytearray
"""
_attribute_map = {
'app_id': {'key': 'appId', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'app_user_model_id': {'key': 'appUserModelID', 'type': 'str'},
'friendly_name': {'key': 'friendlyName', 'type': 'str'},
'icon_image_name': {'key': 'iconImageName', 'type': 'str'},
'raw_icon': {'key': 'rawIcon', 'type': 'bytearray'},
'raw_png': {'key': 'rawPng', 'type': 'bytearray'},
}
def __init__(
self,
**kwargs
):
super(MsixPackageApplications, self).__init__(**kwargs)
self.app_id = kwargs.get('app_id', None)
self.description = kwargs.get('description', None)
self.app_user_model_id = kwargs.get('app_user_model_id', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.icon_image_name = kwargs.get('icon_image_name', None)
self.raw_icon = kwargs.get('raw_icon', None)
self.raw_png = kwargs.get('raw_png', None)
class MsixPackageDependencies(msrest.serialization.Model):
"""Schema for MSIX Package Dependencies properties.
:param dependency_name: Name of package dependency.
:type dependency_name: str
:param publisher: Name of dependency publisher.
:type publisher: str
:param min_version: Dependency version required.
:type min_version: str
"""
_attribute_map = {
'dependency_name': {'key': 'dependencyName', 'type': 'str'},
'publisher': {'key': 'publisher', 'type': 'str'},
'min_version': {'key': 'minVersion', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(MsixPackageDependencies, self).__init__(**kwargs)
self.dependency_name = kwargs.get('dependency_name', None)
self.publisher = kwargs.get('publisher', None)
self.min_version = kwargs.get('min_version', None)
class MsixPackageList(msrest.serialization.Model):
"""List of MSIX Package definitions.
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of MSIX Package definitions.
:type value: list[~desktop_virtualization_api_client.models.MsixPackage]
:ivar next_link: Link to the next page of results.
:vartype next_link: str
"""
_validation = {
'next_link': {'readonly': True},
}
_attribute_map = {
'value': {'key': 'value', 'type': '[MsixPackage]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(MsixPackageList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
self.next_link = None
class MsixPackagePatch(Resource):
"""MSIX Package properties that can be patched.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param is_active: Set a version of the package to be active across hostpool.
:type is_active: bool
:param is_regular_registration: Set Registration mode. Regular or Delayed.
:type is_regular_registration: bool
:param display_name: Display name for MSIX Package.
:type display_name: str
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'is_active': {'key': 'properties.isActive', 'type': 'bool'},
'is_regular_registration': {'key': 'properties.isRegularRegistration', 'type': 'bool'},
'display_name': {'key': 'properties.displayName', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(MsixPackagePatch, self).__init__(**kwargs)
self.is_active = kwargs.get('is_active', None)
self.is_regular_registration = kwargs.get('is_regular_registration', None)
self.display_name = kwargs.get('display_name', None)
class OperationProperties(msrest.serialization.Model):
"""Properties of the operation.
:param service_specification: Service specification payload.
:type service_specification: ~desktop_virtualization_api_client.models.ServiceSpecification
"""
_attribute_map = {
'service_specification': {'key': 'serviceSpecification', 'type': 'ServiceSpecification'},
}
def __init__(
self,
**kwargs
):
super(OperationProperties, self).__init__(**kwargs)
self.service_specification = kwargs.get('service_specification', None)
class Plan(msrest.serialization.Model):
"""Plan for the resource.
All required parameters must be populated in order to send to Azure.
:param name: Required. A user defined name of the 3rd Party Artifact that is being procured.
:type name: str
:param publisher: Required. The publisher of the 3rd Party Artifact that is being bought. E.g.
NewRelic.
:type publisher: str
:param product: Required. The 3rd Party artifact that is being procured. E.g. NewRelic. Product
maps to the OfferID specified for the artifact at the time of Data Market onboarding.
:type product: str
:param promotion_code: A publisher provided promotion code as provisioned in Data Market for
the said product/artifact.
:type promotion_code: str
:param version: The version of the desired product/artifact.
:type version: str
"""
_validation = {
'name': {'required': True},
'publisher': {'required': True},
'product': {'required': True},
}
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'publisher': {'key': 'publisher', 'type': 'str'},
'product': {'key': 'product', 'type': 'str'},
'promotion_code': {'key': 'promotionCode', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(Plan, self).__init__(**kwargs)
self.name = kwargs['name']
self.publisher = kwargs['publisher']
self.product = kwargs['product']
self.promotion_code = kwargs.get('promotion_code', None)
self.version = kwargs.get('version', None)
class RegistrationInfo(msrest.serialization.Model):
"""Represents a RegistrationInfo definition.
:param expiration_time: Expiration time of registration token.
:type expiration_time: ~datetime.datetime
:param token: The registration token base64 encoded string.
:type token: str
:param registration_token_operation: The type of resetting the token. Possible values include:
"Delete", "None", "Update".
:type registration_token_operation: str or
~desktop_virtualization_api_client.models.RegistrationTokenOperation
"""
_attribute_map = {
'expiration_time': {'key': 'expirationTime', 'type': 'iso-8601'},
'token': {'key': 'token', 'type': 'str'},
'registration_token_operation': {'key': 'registrationTokenOperation', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(RegistrationInfo, self).__init__(**kwargs)
self.expiration_time = kwargs.get('expiration_time', None)
self.token = kwargs.get('token', None)
self.registration_token_operation = kwargs.get('registration_token_operation', None)
class RegistrationInfoPatch(msrest.serialization.Model):
"""Represents a RegistrationInfo definition.
:param expiration_time: Expiration time of registration token.
:type expiration_time: ~datetime.datetime
:param registration_token_operation: The type of resetting the token. Possible values include:
"Delete", "None", "Update".
:type registration_token_operation: str or
~desktop_virtualization_api_client.models.RegistrationTokenOperation
"""
_attribute_map = {
'expiration_time': {'key': 'expirationTime', 'type': 'iso-8601'},
'registration_token_operation': {'key': 'registrationTokenOperation', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(RegistrationInfoPatch, self).__init__(**kwargs)
self.expiration_time = kwargs.get('expiration_time', None)
self.registration_token_operation = kwargs.get('registration_token_operation', None)
class ResourceModelWithAllowedPropertySetIdentity(Identity):
"""ResourceModelWithAllowedPropertySetIdentity.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar principal_id: The principal ID of resource identity.
:vartype principal_id: str
:ivar tenant_id: The tenant ID of resource.
:vartype tenant_id: str
:ivar type: The identity type. Default value: "SystemAssigned".
:vartype type: str
"""
_validation = {
'principal_id': {'readonly': True},
'tenant_id': {'readonly': True},
'type': {'constant': True},
}
_attribute_map = {
'principal_id': {'key': 'principalId', 'type': 'str'},
'tenant_id': {'key': 'tenantId', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
type = "SystemAssigned"
def __init__(
self,
**kwargs
):
super(ResourceModelWithAllowedPropertySetIdentity, self).__init__(**kwargs)
class ResourceModelWithAllowedPropertySetPlan(Plan):
"""ResourceModelWithAllowedPropertySetPlan.
All required parameters must be populated in order to send to Azure.
:param name: Required. A user defined name of the 3rd Party Artifact that is being procured.
:type name: str
:param publisher: Required. The publisher of the 3rd Party Artifact that is being bought. E.g.
NewRelic.
:type publisher: str
:param product: Required. The 3rd Party artifact that is being procured. E.g. NewRelic. Product
maps to the OfferID specified for the artifact at the time of Data Market onboarding.
:type product: str
:param promotion_code: A publisher provided promotion code as provisioned in Data Market for
the said product/artifact.
:type promotion_code: str
:param version: The version of the desired product/artifact.
:type version: str
"""
_validation = {
'name': {'required': True},
'publisher': {'required': True},
'product': {'required': True},
}
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'publisher': {'key': 'publisher', 'type': 'str'},
'product': {'key': 'product', 'type': 'str'},
'promotion_code': {'key': 'promotionCode', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(ResourceModelWithAllowedPropertySetPlan, self).__init__(**kwargs)
class Sku(msrest.serialization.Model):
"""The resource model definition representing SKU.
All required parameters must be populated in order to send to Azure.
:param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code.
:type name: str
:param tier: This field is required to be implemented by the Resource Provider if the service
has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic",
"Standard", "Premium".
:type tier: str or ~desktop_virtualization_api_client.models.SkuTier
:param size: The SKU size. When the name field is the combination of tier and some other value,
this would be the standalone code.
:type size: str
:param family: If the service has different generations of hardware, for the same SKU, then
that can be captured here.
:type family: str
:param capacity: If the SKU supports scale out/in then the capacity integer should be included.
If scale out/in is not possible for the resource this may be omitted.
:type capacity: int
"""
_validation = {
'name': {'required': True},
}
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'tier': {'key': 'tier', 'type': 'str'},
'size': {'key': 'size', 'type': 'str'},
'family': {'key': 'family', 'type': 'str'},
'capacity': {'key': 'capacity', 'type': 'int'},
}
def __init__(
self,
**kwargs
):
super(Sku, self).__init__(**kwargs)
self.name = kwargs['name']
self.tier = kwargs.get('tier', None)
self.size = kwargs.get('size', None)
self.family = kwargs.get('family', None)
self.capacity = kwargs.get('capacity', None)
class ResourceModelWithAllowedPropertySetSku(Sku):
"""ResourceModelWithAllowedPropertySetSku.
All required parameters must be populated in order to send to Azure.
:param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code.
:type name: str
:param tier: This field is required to be implemented by the Resource Provider if the service
has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic",
"Standard", "Premium".
:type tier: str or ~desktop_virtualization_api_client.models.SkuTier
:param size: The SKU size. When the name field is the combination of tier and some other value,
this would be the standalone code.
:type size: str
:param family: If the service has different generations of hardware, for the same SKU, then
that can be captured here.
:type family: str
:param capacity: If the SKU supports scale out/in then the capacity integer should be included.
If scale out/in is not possible for the resource this may be omitted.
:type capacity: int
"""
_validation = {
'name': {'required': True},
}
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'tier': {'key': 'tier', 'type': 'str'},
'size': {'key': 'size', 'type': 'str'},
'family': {'key': 'family', 'type': 'str'},
'capacity': {'key': 'capacity', 'type': 'int'},
}
def __init__(
self,
**kwargs
):
super(ResourceModelWithAllowedPropertySetSku, self).__init__(**kwargs)
class ResourceProviderOperation(msrest.serialization.Model):
"""Supported operation of this resource provider.
:param name: Operation name, in format of {provider}/{resource}/{operation}.
:type name: str
:param display: Display metadata associated with the operation.
:type display: ~desktop_virtualization_api_client.models.ResourceProviderOperationDisplay
:param is_data_action: Is a data action.
:type is_data_action: bool
:param properties: Properties of the operation.
:type properties: ~desktop_virtualization_api_client.models.OperationProperties
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'display': {'key': 'display', 'type': 'ResourceProviderOperationDisplay'},
'is_data_action': {'key': 'isDataAction', 'type': 'bool'},
'properties': {'key': 'properties', 'type': 'OperationProperties'},
}
def __init__(
self,
**kwargs
):
super(ResourceProviderOperation, self).__init__(**kwargs)
self.name = kwargs.get('name', None)
self.display = kwargs.get('display', None)
self.is_data_action = kwargs.get('is_data_action', None)
self.properties = kwargs.get('properties', None)
class ResourceProviderOperationDisplay(msrest.serialization.Model):
"""Display metadata associated with the operation.
:param provider: Resource provider: Microsoft Desktop Virtualization.
:type provider: str
:param resource: Resource on which the operation is performed.
:type resource: str
:param operation: Type of operation: get, read, delete, etc.
:type operation: str
:param description: Description of this operation.
:type description: str
"""
_attribute_map = {
'provider': {'key': 'provider', 'type': 'str'},
'resource': {'key': 'resource', 'type': 'str'},
'operation': {'key': 'operation', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(ResourceProviderOperationDisplay, self).__init__(**kwargs)
self.provider = kwargs.get('provider', None)
self.resource = kwargs.get('resource', None)
self.operation = kwargs.get('operation', None)
self.description = kwargs.get('description', None)
class ResourceProviderOperationList(msrest.serialization.Model):
"""Result of the request to list operations.
:param value: List of operations supported by this resource provider.
:type value: list[~desktop_virtualization_api_client.models.ResourceProviderOperation]
"""
_attribute_map = {
'value': {'key': 'value', 'type': '[ResourceProviderOperation]'},
}
def __init__(
self,
**kwargs
):
super(ResourceProviderOperationList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
class ScalingHostPoolReference(msrest.serialization.Model):
"""Scaling plan reference to hostpool.
:param host_pool_arm_path: Arm path of referenced hostpool.
:type host_pool_arm_path: str
:param scaling_plan_enabled: Is the scaling plan enabled for this hostpool.
:type scaling_plan_enabled: bool
"""
_attribute_map = {
'host_pool_arm_path': {'key': 'hostPoolArmPath', 'type': 'str'},
'scaling_plan_enabled': {'key': 'scalingPlanEnabled', 'type': 'bool'},
}
def __init__(
self,
**kwargs
):
super(ScalingHostPoolReference, self).__init__(**kwargs)
self.host_pool_arm_path = kwargs.get('host_pool_arm_path', None)
self.scaling_plan_enabled = kwargs.get('scaling_plan_enabled', None)
class ScalingPlan(ResourceModelWithAllowedPropertySet):
"""Represents a scaling plan definition.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param location: The geo-location where the resource lives.
:type location: str
:param managed_by: The fully qualified resource ID of the resource that manages this resource.
Indicates if this resource is managed by another Azure resource. If this is present, complete
mode deployment will not delete the resource if it is removed from the template since it is
managed by another resource.
:type managed_by: str
:param kind: Metadata used by portal/tooling/etc to render different UX experiences for
resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported,
the resource provider must validate and persist this value.
:type kind: str
:ivar etag: The etag field is *not* required. If it is provided in the response body, it must
also be provided as a header per the normal etag convention. Entity tags are used for
comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
(section 14.27) header fields.
:vartype etag: str
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
:param identity: Identity for the resource.
:type identity: ~desktop_virtualization_api_client.models.Identity
:param sku: The resource model definition representing SKU.
:type sku: ~desktop_virtualization_api_client.models.Sku
:param plan: Plan for the resource.
:type plan: ~desktop_virtualization_api_client.models.Plan
:ivar object_id: ObjectId of scaling plan. (internal use).
:vartype object_id: str
:param description: Description of scaling plan.
:type description: str
:param friendly_name: User friendly name of scaling plan.
:type friendly_name: str
:param time_zone: Timezone of the scaling plan.
:type time_zone: str
:param host_pool_type: HostPool type for desktop. Possible values include: "Personal",
"Pooled", "BYODesktop".
:type host_pool_type: str or ~desktop_virtualization_api_client.models.HostPoolType
:param exclusion_tag: Exclusion tag for scaling plan.
:type exclusion_tag: str
:param schedules: List of ScalingSchedule definitions.
:type schedules: list[~desktop_virtualization_api_client.models.ScalingSchedule]
:param host_pool_references: List of ScalingHostPoolReference definitions.
:type host_pool_references:
list[~desktop_virtualization_api_client.models.ScalingHostPoolReference]
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
'etag': {'readonly': True},
'object_id': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'managed_by': {'key': 'managedBy', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'identity': {'key': 'identity', 'type': 'Identity'},
'sku': {'key': 'sku', 'type': 'Sku'},
'plan': {'key': 'plan', 'type': 'Plan'},
'object_id': {'key': 'properties.objectId', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'time_zone': {'key': 'properties.timeZone', 'type': 'str'},
'host_pool_type': {'key': 'properties.hostPoolType', 'type': 'str'},
'exclusion_tag': {'key': 'properties.exclusionTag', 'type': 'str'},
'schedules': {'key': 'properties.schedules', 'type': '[ScalingSchedule]'},
'host_pool_references': {'key': 'properties.hostPoolReferences', 'type': '[ScalingHostPoolReference]'},
}
def __init__(
self,
**kwargs
):
super(ScalingPlan, self).__init__(**kwargs)
self.object_id = None
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.time_zone = kwargs.get('time_zone', None)
self.host_pool_type = kwargs.get('host_pool_type', None)
self.exclusion_tag = kwargs.get('exclusion_tag', None)
self.schedules = kwargs.get('schedules', None)
self.host_pool_references = kwargs.get('host_pool_references', None)
class ScalingPlanList(msrest.serialization.Model):
"""List of scaling plan definitions.
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of scaling plan definitions.
:type value: list[~desktop_virtualization_api_client.models.ScalingPlan]
:ivar next_link: Link to the next page of results.
:vartype next_link: str
"""
_validation = {
'next_link': {'readonly': True},
}
_attribute_map = {
'value': {'key': 'value', 'type': '[ScalingPlan]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(ScalingPlanList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
self.next_link = None
class ScalingPlanPatch(msrest.serialization.Model):
"""Scaling plan properties that can be patched.
:param tags: A set of tags. tags to be updated.
:type tags: dict[str, str]
:param description: Description of scaling plan.
:type description: str
:param friendly_name: User friendly name of scaling plan.
:type friendly_name: str
:param time_zone: Timezone of the scaling plan.
:type time_zone: str
:param host_pool_type: HostPool type for desktop. Possible values include: "Personal",
"Pooled", "BYODesktop".
:type host_pool_type: str or ~desktop_virtualization_api_client.models.HostPoolType
:param exclusion_tag: Exclusion tag for scaling plan.
:type exclusion_tag: str
:param schedules: List of ScalingSchedule definitions.
:type schedules: list[~desktop_virtualization_api_client.models.ScalingSchedule]
:param host_pool_references: List of ScalingHostPoolReference definitions.
:type host_pool_references:
list[~desktop_virtualization_api_client.models.ScalingHostPoolReference]
"""
_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'time_zone': {'key': 'properties.timeZone', 'type': 'str'},
'host_pool_type': {'key': 'properties.hostPoolType', 'type': 'str'},
'exclusion_tag': {'key': 'properties.exclusionTag', 'type': 'str'},
'schedules': {'key': 'properties.schedules', 'type': '[ScalingSchedule]'},
'host_pool_references': {'key': 'properties.hostPoolReferences', 'type': '[ScalingHostPoolReference]'},
}
def __init__(
self,
**kwargs
):
super(ScalingPlanPatch, self).__init__(**kwargs)
self.tags = kwargs.get('tags', None)
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.time_zone = kwargs.get('time_zone', None)
self.host_pool_type = kwargs.get('host_pool_type', None)
self.exclusion_tag = kwargs.get('exclusion_tag', None)
self.schedules = kwargs.get('schedules', None)
self.host_pool_references = kwargs.get('host_pool_references', None)
class ScalingSchedule(msrest.serialization.Model):
"""Scaling plan schedule.
:param name: Name of the scaling schedule.
:type name: str
:param days_of_week: Set of days of the week on which this schedule is active.
:type days_of_week: list[str or
~desktop_virtualization_api_client.models.ScalingScheduleDaysOfWeekItem]
:param ramp_up_start_time: Starting time for ramp up period.
:type ramp_up_start_time: ~datetime.datetime
:param ramp_up_load_balancing_algorithm: Load balancing algorithm for ramp up period. Possible
values include: "BreadthFirst", "DepthFirst".
:type ramp_up_load_balancing_algorithm: str or
~desktop_virtualization_api_client.models.SessionHostLoadBalancingAlgorithm
:param ramp_up_minimum_hosts_pct: Minimum host percentage for ramp up period.
:type ramp_up_minimum_hosts_pct: int
:param ramp_up_capacity_threshold_pct: Capacity threshold for ramp up period.
:type ramp_up_capacity_threshold_pct: int
:param peak_start_time: Starting time for peak period.
:type peak_start_time: ~datetime.datetime
:param peak_load_balancing_algorithm: Load balancing algorithm for peak period. Possible values
include: "BreadthFirst", "DepthFirst".
:type peak_load_balancing_algorithm: str or
~desktop_virtualization_api_client.models.SessionHostLoadBalancingAlgorithm
:param ramp_down_start_time: Starting time for ramp down period.
:type ramp_down_start_time: ~datetime.datetime
:param ramp_down_load_balancing_algorithm: Load balancing algorithm for ramp down period.
Possible values include: "BreadthFirst", "DepthFirst".
:type ramp_down_load_balancing_algorithm: str or
~desktop_virtualization_api_client.models.SessionHostLoadBalancingAlgorithm
:param ramp_down_minimum_hosts_pct: Minimum host percentage for ramp down period.
:type ramp_down_minimum_hosts_pct: int
:param ramp_down_capacity_threshold_pct: Capacity threshold for ramp down period.
:type ramp_down_capacity_threshold_pct: int
:param ramp_down_force_logoff_users: Should users be logged off forcefully from hosts.
:type ramp_down_force_logoff_users: bool
:param ramp_down_stop_hosts_when: Specifies when to stop hosts during ramp down period.
Possible values include: "ZeroSessions", "ZeroActiveSessions".
:type ramp_down_stop_hosts_when: str or ~desktop_virtualization_api_client.models.StopHostsWhen
:param ramp_down_wait_time_minutes: Number of minutes to wait to stop hosts during ramp down
period.
:type ramp_down_wait_time_minutes: int
:param ramp_down_notification_message: Notification message for users during ramp down period.
:type ramp_down_notification_message: str
:param off_peak_start_time: Starting time for off-peak period.
:type off_peak_start_time: ~datetime.datetime
:param off_peak_load_balancing_algorithm: Load balancing algorithm for off-peak period.
Possible values include: "BreadthFirst", "DepthFirst".
:type off_peak_load_balancing_algorithm: str or
~desktop_virtualization_api_client.models.SessionHostLoadBalancingAlgorithm
"""
_validation = {
'ramp_up_minimum_hosts_pct': {'maximum': 100, 'minimum': 0},
'ramp_up_capacity_threshold_pct': {'maximum': 100, 'minimum': 0},
'ramp_down_minimum_hosts_pct': {'maximum': 100, 'minimum': 0},
'ramp_down_capacity_threshold_pct': {'maximum': 100, 'minimum': 0},
}
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'days_of_week': {'key': 'daysOfWeek', 'type': '[str]'},
'ramp_up_start_time': {'key': 'rampUpStartTime', 'type': 'iso-8601'},
'ramp_up_load_balancing_algorithm': {'key': 'rampUpLoadBalancingAlgorithm', 'type': 'str'},
'ramp_up_minimum_hosts_pct': {'key': 'rampUpMinimumHostsPct', 'type': 'int'},
'ramp_up_capacity_threshold_pct': {'key': 'rampUpCapacityThresholdPct', 'type': 'int'},
'peak_start_time': {'key': 'peakStartTime', 'type': 'iso-8601'},
'peak_load_balancing_algorithm': {'key': 'peakLoadBalancingAlgorithm', 'type': 'str'},
'ramp_down_start_time': {'key': 'rampDownStartTime', 'type': 'iso-8601'},
'ramp_down_load_balancing_algorithm': {'key': 'rampDownLoadBalancingAlgorithm', 'type': 'str'},
'ramp_down_minimum_hosts_pct': {'key': 'rampDownMinimumHostsPct', 'type': 'int'},
'ramp_down_capacity_threshold_pct': {'key': 'rampDownCapacityThresholdPct', 'type': 'int'},
'ramp_down_force_logoff_users': {'key': 'rampDownForceLogoffUsers', 'type': 'bool'},
'ramp_down_stop_hosts_when': {'key': 'rampDownStopHostsWhen', 'type': 'str'},
'ramp_down_wait_time_minutes': {'key': 'rampDownWaitTimeMinutes', 'type': 'int'},
'ramp_down_notification_message': {'key': 'rampDownNotificationMessage', 'type': 'str'},
'off_peak_start_time': {'key': 'offPeakStartTime', 'type': 'iso-8601'},
'off_peak_load_balancing_algorithm': {'key': 'offPeakLoadBalancingAlgorithm', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(ScalingSchedule, self).__init__(**kwargs)
self.name = kwargs.get('name', None)
self.days_of_week = kwargs.get('days_of_week', None)
self.ramp_up_start_time = kwargs.get('ramp_up_start_time', None)
self.ramp_up_load_balancing_algorithm = kwargs.get('ramp_up_load_balancing_algorithm', None)
self.ramp_up_minimum_hosts_pct = kwargs.get('ramp_up_minimum_hosts_pct', None)
self.ramp_up_capacity_threshold_pct = kwargs.get('ramp_up_capacity_threshold_pct', None)
self.peak_start_time = kwargs.get('peak_start_time', None)
self.peak_load_balancing_algorithm = kwargs.get('peak_load_balancing_algorithm', None)
self.ramp_down_start_time = kwargs.get('ramp_down_start_time', None)
self.ramp_down_load_balancing_algorithm = kwargs.get('ramp_down_load_balancing_algorithm', None)
self.ramp_down_minimum_hosts_pct = kwargs.get('ramp_down_minimum_hosts_pct', None)
self.ramp_down_capacity_threshold_pct = kwargs.get('ramp_down_capacity_threshold_pct', None)
self.ramp_down_force_logoff_users = kwargs.get('ramp_down_force_logoff_users', None)
self.ramp_down_stop_hosts_when = kwargs.get('ramp_down_stop_hosts_when', None)
self.ramp_down_wait_time_minutes = kwargs.get('ramp_down_wait_time_minutes', None)
self.ramp_down_notification_message = kwargs.get('ramp_down_notification_message', None)
self.off_peak_start_time = kwargs.get('off_peak_start_time', None)
self.off_peak_load_balancing_algorithm = kwargs.get('off_peak_load_balancing_algorithm', None)
class SendMessage(msrest.serialization.Model):
"""Represents message sent to a UserSession.
:param message_title: Title of message.
:type message_title: str
:param message_body: Body of message.
:type message_body: str
"""
_attribute_map = {
'message_title': {'key': 'messageTitle', 'type': 'str'},
'message_body': {'key': 'messageBody', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(SendMessage, self).__init__(**kwargs)
self.message_title = kwargs.get('message_title', None)
self.message_body = kwargs.get('message_body', None)
class ServiceSpecification(msrest.serialization.Model):
"""Service specification payload.
:param log_specifications: Specifications of the Log for Azure Monitoring.
:type log_specifications: list[~desktop_virtualization_api_client.models.LogSpecification]
"""
_attribute_map = {
'log_specifications': {'key': 'logSpecifications', 'type': '[LogSpecification]'},
}
def __init__(
self,
**kwargs
):
super(ServiceSpecification, self).__init__(**kwargs)
self.log_specifications = kwargs.get('log_specifications', None)
class SessionHost(Resource):
"""Represents a SessionHost definition.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:ivar object_id: ObjectId of SessionHost. (internal use).
:vartype object_id: str
:param last_heart_beat: Last heart beat from SessionHost.
:type last_heart_beat: ~datetime.datetime
:param sessions: Number of sessions on SessionHost.
:type sessions: int
:param agent_version: Version of agent on SessionHost.
:type agent_version: str
:param allow_new_session: Allow a new session.
:type allow_new_session: bool
:ivar virtual_machine_id: Virtual Machine Id of SessionHost's underlying virtual machine.
:vartype virtual_machine_id: str
:ivar resource_id: Resource Id of SessionHost's underlying virtual machine.
:vartype resource_id: str
:param assigned_user: User assigned to SessionHost.
:type assigned_user: str
:param status: Status for a SessionHost. Possible values include: "Available", "Unavailable",
"Shutdown", "Disconnected", "Upgrading", "UpgradeFailed", "NoHeartbeat", "NotJoinedToDomain",
"DomainTrustRelationshipLost", "SxSStackListenerNotReady", "FSLogixNotHealthy",
"NeedsAssistance".
:type status: str or ~desktop_virtualization_api_client.models.Status
:ivar status_timestamp: The timestamp of the status.
:vartype status_timestamp: ~datetime.datetime
:param os_version: The version of the OS on the session host.
:type os_version: str
:param sx_s_stack_version: The version of the side by side stack on the session host.
:type sx_s_stack_version: str
:param update_state: Update state of a SessionHost. Possible values include: "Initial",
"Pending", "Started", "Succeeded", "Failed".
:type update_state: str or ~desktop_virtualization_api_client.models.UpdateState
:ivar last_update_time: The timestamp of the last update.
:vartype last_update_time: ~datetime.datetime
:param update_error_message: The error message.
:type update_error_message: str
:ivar session_host_health_check_results: List of SessionHostHealthCheckReports.
:vartype session_host_health_check_results:
list[~desktop_virtualization_api_client.models.SessionHostHealthCheckReport]
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'object_id': {'readonly': True},
'virtual_machine_id': {'readonly': True},
'resource_id': {'readonly': True},
'status_timestamp': {'readonly': True},
'last_update_time': {'readonly': True},
'session_host_health_check_results': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'object_id': {'key': 'properties.objectId', 'type': 'str'},
'last_heart_beat': {'key': 'properties.lastHeartBeat', 'type': 'iso-8601'},
'sessions': {'key': 'properties.sessions', 'type': 'int'},
'agent_version': {'key': 'properties.agentVersion', 'type': 'str'},
'allow_new_session': {'key': 'properties.allowNewSession', 'type': 'bool'},
'virtual_machine_id': {'key': 'properties.virtualMachineId', 'type': 'str'},
'resource_id': {'key': 'properties.resourceId', 'type': 'str'},
'assigned_user': {'key': 'properties.assignedUser', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'str'},
'status_timestamp': {'key': 'properties.statusTimestamp', 'type': 'iso-8601'},
'os_version': {'key': 'properties.osVersion', 'type': 'str'},
'sx_s_stack_version': {'key': 'properties.sxSStackVersion', 'type': 'str'},
'update_state': {'key': 'properties.updateState', 'type': 'str'},
'last_update_time': {'key': 'properties.lastUpdateTime', 'type': 'iso-8601'},
'update_error_message': {'key': 'properties.updateErrorMessage', 'type': 'str'},
'session_host_health_check_results': {'key': 'properties.sessionHostHealthCheckResults', 'type': '[SessionHostHealthCheckReport]'},
}
def __init__(
self,
**kwargs
):
super(SessionHost, self).__init__(**kwargs)
self.object_id = None
self.last_heart_beat = kwargs.get('last_heart_beat', None)
self.sessions = kwargs.get('sessions', None)
self.agent_version = kwargs.get('agent_version', None)
self.allow_new_session = kwargs.get('allow_new_session', None)
self.virtual_machine_id = None
self.resource_id = None
self.assigned_user = kwargs.get('assigned_user', None)
self.status = kwargs.get('status', None)
self.status_timestamp = None
self.os_version = kwargs.get('os_version', None)
self.sx_s_stack_version = kwargs.get('sx_s_stack_version', None)
self.update_state = kwargs.get('update_state', None)
self.last_update_time = None
self.update_error_message = kwargs.get('update_error_message', None)
self.session_host_health_check_results = None
class SessionHostHealthCheckFailureDetails(msrest.serialization.Model):
"""Contains details on the failure.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar message: Failure message: hints on what is wrong and how to recover.
:vartype message: str
:ivar error_code: Error code corresponding for the failure.
:vartype error_code: int
:ivar last_health_check_date_time: The timestamp of the last update.
:vartype last_health_check_date_time: ~datetime.datetime
"""
_validation = {
'message': {'readonly': True},
'error_code': {'readonly': True},
'last_health_check_date_time': {'readonly': True},
}
_attribute_map = {
'message': {'key': 'message', 'type': 'str'},
'error_code': {'key': 'errorCode', 'type': 'int'},
'last_health_check_date_time': {'key': 'lastHealthCheckDateTime', 'type': 'iso-8601'},
}
def __init__(
self,
**kwargs
):
super(SessionHostHealthCheckFailureDetails, self).__init__(**kwargs)
self.message = None
self.error_code = None
self.last_health_check_date_time = None
class SessionHostHealthCheckReport(msrest.serialization.Model):
"""The report for session host information.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar health_check_name: Represents the name of the health check operation performed. Possible
values include: "DomainJoinedCheck", "DomainTrustCheck", "FSLogixHealthCheck",
"SxSStackListenerCheck", "UrlsAccessibleCheck", "MonitoringAgentCheck", "DomainReachable",
"WebRTCRedirectorCheck", "SupportedEncryptionCheck", "MetaDataServiceCheck",
"AppAttachHealthCheck".
:vartype health_check_name: str or ~desktop_virtualization_api_client.models.HealthCheckName
:ivar health_check_result: Represents the Health state of the health check we performed.
Possible values include: "Unknown", "HealthCheckSucceeded", "HealthCheckFailed",
"SessionHostShutdown".
:vartype health_check_result: str or
~desktop_virtualization_api_client.models.HealthCheckResult
:ivar additional_failure_details: Additional detailed information on the failure.
:vartype additional_failure_details:
~desktop_virtualization_api_client.models.SessionHostHealthCheckFailureDetails
"""
_validation = {
'health_check_name': {'readonly': True},
'health_check_result': {'readonly': True},
'additional_failure_details': {'readonly': True},
}
_attribute_map = {
'health_check_name': {'key': 'healthCheckName', 'type': 'str'},
'health_check_result': {'key': 'healthCheckResult', 'type': 'str'},
'additional_failure_details': {'key': 'additionalFailureDetails', 'type': 'SessionHostHealthCheckFailureDetails'},
}
def __init__(
self,
**kwargs
):
super(SessionHostHealthCheckReport, self).__init__(**kwargs)
self.health_check_name = None
self.health_check_result = None
self.additional_failure_details = None
class SessionHostList(msrest.serialization.Model):
"""List of SessionHost definitions.
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of SessionHost definitions.
:type value: list[~desktop_virtualization_api_client.models.SessionHost]
:ivar next_link: Link to the next page of results.
:vartype next_link: str
"""
_validation = {
'next_link': {'readonly': True},
}
_attribute_map = {
'value': {'key': 'value', 'type': '[SessionHost]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(SessionHostList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
self.next_link = None
class SessionHostPatch(Resource):
"""SessionHost properties that can be patched.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param allow_new_session: Allow a new session.
:type allow_new_session: bool
:param assigned_user: User assigned to SessionHost.
:type assigned_user: str
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'allow_new_session': {'key': 'properties.allowNewSession', 'type': 'bool'},
'assigned_user': {'key': 'properties.assignedUser', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(SessionHostPatch, self).__init__(**kwargs)
self.allow_new_session = kwargs.get('allow_new_session', None)
self.assigned_user = kwargs.get('assigned_user', None)
class StartMenuItem(Resource):
"""Represents a StartMenuItem definition.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param app_alias: Alias of StartMenuItem.
:type app_alias: str
:param file_path: Path to the file of StartMenuItem.
:type file_path: str
:param command_line_arguments: Command line arguments for StartMenuItem.
:type command_line_arguments: str
:param icon_path: Path to the icon.
:type icon_path: str
:param icon_index: Index of the icon.
:type icon_index: int
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'app_alias': {'key': 'properties.appAlias', 'type': 'str'},
'file_path': {'key': 'properties.filePath', 'type': 'str'},
'command_line_arguments': {'key': 'properties.commandLineArguments', 'type': 'str'},
'icon_path': {'key': 'properties.iconPath', 'type': 'str'},
'icon_index': {'key': 'properties.iconIndex', 'type': 'int'},
}
def __init__(
self,
**kwargs
):
super(StartMenuItem, self).__init__(**kwargs)
self.app_alias = kwargs.get('app_alias', None)
self.file_path = kwargs.get('file_path', None)
self.command_line_arguments = kwargs.get('command_line_arguments', None)
self.icon_path = kwargs.get('icon_path', None)
self.icon_index = kwargs.get('icon_index', None)
class StartMenuItemList(msrest.serialization.Model):
"""List of StartMenuItem definitions.
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of StartMenuItem definitions.
:type value: list[~desktop_virtualization_api_client.models.StartMenuItem]
:ivar next_link: Link to the next page of results.
:vartype next_link: str
"""
_validation = {
'next_link': {'readonly': True},
}
_attribute_map = {
'value': {'key': 'value', 'type': '[StartMenuItem]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(StartMenuItemList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
self.next_link = None
class UserSession(Resource):
"""Represents a UserSession definition.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:ivar object_id: ObjectId of user session. (internal use).
:vartype object_id: str
:param user_principal_name: The user principal name.
:type user_principal_name: str
:param application_type: Application type of application. Possible values include: "RemoteApp",
"Desktop".
:type application_type: str or ~desktop_virtualization_api_client.models.ApplicationType
:param session_state: State of user session. Possible values include: "Unknown", "Active",
"Disconnected", "Pending", "LogOff", "UserProfileDiskMounted".
:type session_state: str or ~desktop_virtualization_api_client.models.SessionState
:param active_directory_user_name: The active directory user name.
:type active_directory_user_name: str
:param create_time: The timestamp of the user session create.
:type create_time: ~datetime.datetime
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'object_id': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'object_id': {'key': 'properties.objectId', 'type': 'str'},
'user_principal_name': {'key': 'properties.userPrincipalName', 'type': 'str'},
'application_type': {'key': 'properties.applicationType', 'type': 'str'},
'session_state': {'key': 'properties.sessionState', 'type': 'str'},
'active_directory_user_name': {'key': 'properties.activeDirectoryUserName', 'type': 'str'},
'create_time': {'key': 'properties.createTime', 'type': 'iso-8601'},
}
def __init__(
self,
**kwargs
):
super(UserSession, self).__init__(**kwargs)
self.object_id = None
self.user_principal_name = kwargs.get('user_principal_name', None)
self.application_type = kwargs.get('application_type', None)
self.session_state = kwargs.get('session_state', None)
self.active_directory_user_name = kwargs.get('active_directory_user_name', None)
self.create_time = kwargs.get('create_time', None)
class UserSessionList(msrest.serialization.Model):
"""List of UserSession definitions.
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of UserSession definitions.
:type value: list[~desktop_virtualization_api_client.models.UserSession]
:ivar next_link: Link to the next page of results.
:vartype next_link: str
"""
_validation = {
'next_link': {'readonly': True},
}
_attribute_map = {
'value': {'key': 'value', 'type': '[UserSession]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(UserSessionList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
self.next_link = None
class Workspace(ResourceModelWithAllowedPropertySet):
"""Represents a Workspace definition.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param location: The geo-location where the resource lives.
:type location: str
:param managed_by: The fully qualified resource ID of the resource that manages this resource.
Indicates if this resource is managed by another Azure resource. If this is present, complete
mode deployment will not delete the resource if it is removed from the template since it is
managed by another resource.
:type managed_by: str
:param kind: Metadata used by portal/tooling/etc to render different UX experiences for
resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported,
the resource provider must validate and persist this value.
:type kind: str
:ivar etag: The etag field is *not* required. If it is provided in the response body, it must
also be provided as a header per the normal etag convention. Entity tags are used for
comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
(section 14.27) header fields.
:vartype etag: str
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
:param identity: Identity for the resource.
:type identity: ~desktop_virtualization_api_client.models.Identity
:param sku: The resource model definition representing SKU.
:type sku: ~desktop_virtualization_api_client.models.Sku
:param plan: Plan for the resource.
:type plan: ~desktop_virtualization_api_client.models.Plan
:ivar object_id: ObjectId of Workspace. (internal use).
:vartype object_id: str
:param description: Description of Workspace.
:type description: str
:param friendly_name: Friendly name of Workspace.
:type friendly_name: str
:param application_group_references: List of applicationGroup resource Ids.
:type application_group_references: list[str]
:ivar cloud_pc_resource: Is cloud pc resource.
:vartype cloud_pc_resource: bool
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
'etag': {'readonly': True},
'object_id': {'readonly': True},
'cloud_pc_resource': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'managed_by': {'key': 'managedBy', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'identity': {'key': 'identity', 'type': 'Identity'},
'sku': {'key': 'sku', 'type': 'Sku'},
'plan': {'key': 'plan', 'type': 'Plan'},
'object_id': {'key': 'properties.objectId', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'application_group_references': {'key': 'properties.applicationGroupReferences', 'type': '[str]'},
'cloud_pc_resource': {'key': 'properties.cloudPcResource', 'type': 'bool'},
}
def __init__(
self,
**kwargs
):
super(Workspace, self).__init__(**kwargs)
self.object_id = None
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.application_group_references = kwargs.get('application_group_references', None)
self.cloud_pc_resource = None
class WorkspaceList(msrest.serialization.Model):
"""List of Workspace definitions.
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of Workspace definitions.
:type value: list[~desktop_virtualization_api_client.models.Workspace]
:ivar next_link: Link to the next page of results.
:vartype next_link: str
"""
_validation = {
'next_link': {'readonly': True},
}
_attribute_map = {
'value': {'key': 'value', 'type': '[Workspace]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
super(WorkspaceList, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
self.next_link = None
class WorkspacePatch(msrest.serialization.Model):
"""Workspace properties that can be patched.
:param tags: A set of tags. tags to be updated.
:type tags: dict[str, str]
:param description: Description of Workspace.
:type description: str
:param friendly_name: Friendly name of Workspace.
:type friendly_name: str
:param application_group_references: List of applicationGroup links.
:type application_group_references: list[str]
"""
_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'application_group_references': {'key': 'properties.applicationGroupReferences', 'type': '[str]'},
}
def __init__(
self,
**kwargs
):
super(WorkspacePatch, self).__init__(**kwargs)
self.tags = kwargs.get('tags', None)
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.application_group_references = kwargs.get('application_group_references', None)
| 43.047355
| 179
| 0.667463
| 13,455
| 116,357
| 5.581197
| 0.055072
| 0.028058
| 0.024928
| 0.031161
| 0.792316
| 0.756535
| 0.737506
| 0.705879
| 0.688022
| 0.672362
| 0
| 0.001912
| 0.204388
| 116,357
| 2,702
| 180
| 43.063286
| 0.809268
| 0.458563
| 0
| 0.68323
| 0
| 0
| 0.329857
| 0.109799
| 0
| 0
| 0
| 0.00037
| 0
| 1
| 0.043478
| false
| 0.001553
| 0.000776
| 0
| 0.161491
| 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
|
0796889b3d6a2f8c925ed70f024fb877940c479b
| 182
|
py
|
Python
|
Inheritance/mix_it_new/project/capacity_mixin.py
|
MNikov/Python-OOP-October-2020
|
a53e4555758ec810605e31e7b2c71b65c49b2332
|
[
"MIT"
] | null | null | null |
Inheritance/mix_it_new/project/capacity_mixin.py
|
MNikov/Python-OOP-October-2020
|
a53e4555758ec810605e31e7b2c71b65c49b2332
|
[
"MIT"
] | null | null | null |
Inheritance/mix_it_new/project/capacity_mixin.py
|
MNikov/Python-OOP-October-2020
|
a53e4555758ec810605e31e7b2c71b65c49b2332
|
[
"MIT"
] | null | null | null |
class CapacityMixin:
@staticmethod
def get_capacity(capacity, amount):
if amount > capacity:
return "Capacity reached!"
return capacity - amount
| 22.75
| 39
| 0.637363
| 17
| 182
| 6.764706
| 0.588235
| 0.243478
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.296703
| 182
| 7
| 40
| 26
| 0.898438
| 0
| 0
| 0
| 0
| 0
| 0.093407
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0
| 0
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.