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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0a1b543c6422eed5c2b2add2d50eb592c6c17b3e | 95 | py | Python | test/test_hello.py | olaroos/preprocess_finance | f51ee5336055cdf4f6150d0830c7d5b9da9dac24 | [
"MIT"
] | 7 | 2020-06-25T19:46:25.000Z | 2022-03-22T19:06:16.000Z | test/test_hello.py | olaroos/preprocess_finance | f51ee5336055cdf4f6150d0830c7d5b9da9dac24 | [
"MIT"
] | null | null | null | test/test_hello.py | olaroos/preprocess_finance | f51ee5336055cdf4f6150d0830c7d5b9da9dac24 | [
"MIT"
] | 1 | 2021-11-18T05:24:59.000Z | 2021-11-18T05:24:59.000Z | from src.run import hello_world
def test_hello():
assert hello_world() == "Hello world!"
| 15.833333 | 42 | 0.705263 | 14 | 95 | 4.571429 | 0.642857 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178947 | 95 | 5 | 43 | 19 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0a32cc4dc3c7a46b7fca723ca60516094c623465 | 3,894 | py | Python | riak/datadog_checks/riak/config_models/defaults.py | kjmadscience/integrations-core | 663bdf44730dd6c9f3565c121318b320bfcb4988 | [
"BSD-3-Clause"
] | null | null | null | riak/datadog_checks/riak/config_models/defaults.py | kjmadscience/integrations-core | 663bdf44730dd6c9f3565c121318b320bfcb4988 | [
"BSD-3-Clause"
] | null | null | null | riak/datadog_checks/riak/config_models/defaults.py | kjmadscience/integrations-core | 663bdf44730dd6c9f3565c121318b320bfcb4988 | [
"BSD-3-Clause"
] | null | null | null | # (C) Datadog, Inc. 2021-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
# This file is autogenerated.
# To change this file you should edit assets/configuration/spec.yaml and then run the following commands:
# ddev -x validate config -s <INTEGRATION_NAME>
# ddev -x validate models -s <INTEGRATION_NAME>
from datadog_checks.base.utils.models.fields import get_default_field_value
def shared_proxy(field, value):
return get_default_field_value(field, value)
def shared_service(field, value):
return get_default_field_value(field, value)
def shared_skip_proxy(field, value):
return False
def shared_timeout(field, value):
return 10
def instance_allow_redirects(field, value):
return True
def instance_auth_token(field, value):
return get_default_field_value(field, value)
def instance_auth_type(field, value):
return 'basic'
def instance_aws_host(field, value):
return get_default_field_value(field, value)
def instance_aws_region(field, value):
return get_default_field_value(field, value)
def instance_aws_service(field, value):
return get_default_field_value(field, value)
def instance_connect_timeout(field, value):
return get_default_field_value(field, value)
def instance_disable_generic_tags(field, value):
return False
def instance_empty_default_hostname(field, value):
return False
def instance_extra_headers(field, value):
return get_default_field_value(field, value)
def instance_headers(field, value):
return get_default_field_value(field, value)
def instance_kerberos_auth(field, value):
return 'disabled'
def instance_kerberos_cache(field, value):
return get_default_field_value(field, value)
def instance_kerberos_delegate(field, value):
return False
def instance_kerberos_force_initiate(field, value):
return False
def instance_kerberos_hostname(field, value):
return get_default_field_value(field, value)
def instance_kerberos_keytab(field, value):
return get_default_field_value(field, value)
def instance_kerberos_principal(field, value):
return get_default_field_value(field, value)
def instance_log_requests(field, value):
return False
def instance_metric_patterns(field, value):
return get_default_field_value(field, value)
def instance_min_collection_interval(field, value):
return 15
def instance_ntlm_domain(field, value):
return get_default_field_value(field, value)
def instance_password(field, value):
return get_default_field_value(field, value)
def instance_persist_connections(field, value):
return False
def instance_proxy(field, value):
return get_default_field_value(field, value)
def instance_read_timeout(field, value):
return get_default_field_value(field, value)
def instance_request_size(field, value):
return 16
def instance_service(field, value):
return get_default_field_value(field, value)
def instance_skip_proxy(field, value):
return False
def instance_tags(field, value):
return get_default_field_value(field, value)
def instance_timeout(field, value):
return 10
def instance_tls_ca_cert(field, value):
return get_default_field_value(field, value)
def instance_tls_cert(field, value):
return get_default_field_value(field, value)
def instance_tls_ignore_warning(field, value):
return False
def instance_tls_private_key(field, value):
return get_default_field_value(field, value)
def instance_tls_protocols_allowed(field, value):
return get_default_field_value(field, value)
def instance_tls_use_host_header(field, value):
return False
def instance_tls_verify(field, value):
return True
def instance_use_legacy_auth_encoding(field, value):
return True
def instance_username(field, value):
return get_default_field_value(field, value)
| 20.823529 | 105 | 0.778377 | 544 | 3,894 | 5.257353 | 0.224265 | 0.332168 | 0.246154 | 0.181818 | 0.714685 | 0.714685 | 0.634615 | 0.533916 | 0.533916 | 0.517832 | 0 | 0.003918 | 0.14792 | 3,894 | 186 | 106 | 20.935484 | 0.858047 | 0.087314 | 0 | 0.449438 | 1 | 0 | 0.003666 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.494382 | false | 0.011236 | 0.011236 | 0.494382 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
0a436eb12e174e6aafbff7f61cca4bb008e5a3d8 | 132 | py | Python | tests/test_plugin.py | guzman-raphael/djpyplugin_connection_hub | 2aa76baa2735048cd8ff61f17fc37150beabbf5b | [
"MIT"
] | 1 | 2020-02-27T17:22:25.000Z | 2020-02-27T17:22:25.000Z | tests/test_plugin.py | guzman-raphael/djpyplugin_connection_hub | 2aa76baa2735048cd8ff61f17fc37150beabbf5b | [
"MIT"
] | null | null | null | tests/test_plugin.py | guzman-raphael/djpyplugin_connection_hub | 2aa76baa2735048cd8ff61f17fc37150beabbf5b | [
"MIT"
] | 2 | 2020-02-27T17:22:29.000Z | 2021-05-21T21:51:35.000Z | from datajoint.plugin import connection_plugins
def test_check_plugin_status():
assert(connection_plugins['hub']['verified'])
| 22 | 49 | 0.795455 | 16 | 132 | 6.25 | 0.8125 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 132 | 5 | 50 | 26.4 | 0.840336 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0a58f8c7847857e40d261a2b45096fe05414d07f | 11,507 | py | Python | others/weather.py | souocare/bot-portuguese-publictransportsv2 | 4614f5c81d03e2d9910a85b07ca400ba5e9db967 | [
"MIT"
] | null | null | null | others/weather.py | souocare/bot-portuguese-publictransportsv2 | 4614f5c81d03e2d9910a85b07ca400ba5e9db967 | [
"MIT"
] | null | null | null | others/weather.py | souocare/bot-portuguese-publictransportsv2 | 4614f5c81d03e2d9910a85b07ca400ba5e9db967 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import requests
import datetime
import os
import json
from dotenv import load_dotenv
load_dotenv()
def get_weather_city(city):
information = requests.get("http://api.openweathermap.org/data/2.5/weather?q={city}&"
"appid={priv_key}&"
"units=metric&"
"lang=pt".format(city=city,
priv_key=os.getenv('Weatherapi_key'))).json()
if str(information['cod']) == "200":
metereologia = [tempo["description"].capitalize() for tempo in information["weather"]]
weather_info = "\n***Neste momento:***\n-> Condição metereológica: {met}\n-> A temperatura é de {t1}, mas que pareçe {t2}. " \
"A mínima é de {tmin}, e máxima de {tmax}.\n" \
"-> Com uma percentagem de nuvens de {nuv}%.".format(met=' e '.join(metereologia),
t1=str(information['main']['temp']),
t2=str(information['main']['feels_like']),
tmin=str(information['main']['temp_min']),
tmax=str(information['main']['temp_max']),
nuv=str(information['clouds']['all']))
elif str(information['cod']) == "404" and str(information['message']) == 'city not found':
weather_info = "Não foi reconhecida a cidade. Por favor verifique o nome."
else:
weather_info = "Não foi possivel obter os dados. Volte a tentar mais tarde."
return weather_info
def get_weather_geoloc(lat, lon):
information = requests.get("http://api.openweathermap.org/data/2.5/weather?lat={lat}&lon={lon}&"
"appid={priv_key}&"
"units=metric&"
"lang=pt".format(lat=lat,
lon=lon,
priv_key=os.getenv('Weatherapi_key'))).json()
if str(information['cod']) == "200":
print(information)
metereologia = [tempo["description"].capitalize() for tempo in information["weather"]]
weather_info = "\n***Neste momento***:\n-> Condição metereológica: {met}\n-> A temperatura é de {t1}, mas que pareçe {t2}. " \
"A mínima é de {tmin}, e máxima de {tmax}.\n" \
"-> Com uma percentagem de nuvens de {nuv}%.".format(met=' e '.join(metereologia),
t1=str(information['main']['temp']),
t2=str(information['main']['feels_like']),
tmin=str(information['main']['temp_min']),
tmax=str(information['main']['temp_max']),
nuv=str(information['clouds']['all']))
elif str(information['cod']) == "404" and str(information['message']) == 'city not found':
weather_info = "Não foi reconhecida a cidade. Por favor verifique o nome."
else:
weather_info = "Não foi possivel obter os dados. Volte a tentar mais tarde."
return weather_info
def get_forecast_city(city):
information = requests.get("http://api.openweathermap.org/data/2.5/forecast?q={city}&"
"appid={priv_key}&"
"units=metric&"
"lang=pt".format(city=city,
priv_key=os.getenv('Weatherapi_key'))).json()
temp_min_hoje = 100
temp_max_hoje = 0
temp_min_amanha = 100
temp_max_amanha = 0
valormin_nuvens_hoje = 100
valormax_nuvens_hoje = 0
valormin_nuvens_amanha = 100
valormax_nuvens_amanha = 0
metereologia_hoje = []
metereologia_amanha = []
data_hoje = datetime.datetime.now()
print(information)
for info_weather in information["list"]:
datetime_weather = datetime.datetime.fromtimestamp(info_weather["dt"])
if datetime_weather.date() == data_hoje.date():
if info_weather["main"]["temp_min"] < temp_min_hoje:
temp_min_hoje = info_weather["main"]["temp_min"]
if info_weather["main"]["temp_max"] > temp_max_hoje:
temp_max_hoje = info_weather["main"]["temp_max"]
for tempo in info_weather["weather"]:
if (tempo["description"]).capitalize() not in metereologia_hoje:
metereologia_hoje.append((tempo["description"]).capitalize())
if info_weather["clouds"]["all"] < valormin_nuvens_hoje:
valormin_nuvens_hoje = info_weather["clouds"]["all"]
if info_weather["clouds"]["all"] > valormax_nuvens_hoje:
valormax_nuvens_hoje = info_weather["clouds"]["all"]
elif ((int(datetime_weather.day)) - data_hoje.day) == 1:
if info_weather["main"]["temp_min"] < temp_min_amanha:
temp_min_amanha = info_weather["main"]["temp_min"]
if info_weather["main"]["temp_max"] > temp_max_amanha:
temp_max_amanha = info_weather["main"]["temp_max"]
for tempo in info_weather["weather"]:
if (tempo["description"]).capitalize() not in metereologia_amanha:
metereologia_amanha.append((tempo["description"]).capitalize())
if info_weather["clouds"]["all"] < valormin_nuvens_amanha:
valormin_nuvens_amanha = info_weather["clouds"]["all"]
if info_weather["clouds"]["all"] > valormax_nuvens_amanha:
valormax_nuvens_amanha = info_weather["clouds"]["all"]
else:
pass
if len(metereologia_hoje) != 0:
info_tempo_hoje = "Para o dia de hoje:\n-> Condições metereológicas possiveis: {met}\n" \
"-> Temperatura minima de {tmin} e temperatura máxima de {tmax}\n" \
"-> Percentagem minima de nuvens de {nmin}% e máxima de {nmax}%".format(
met="{} e {}".format(", ".join(metereologia_hoje[:-1]), metereologia_hoje[-1]),
tmin=temp_min_hoje, tmax=temp_max_hoje,
nmin=valormin_nuvens_hoje, nmax=valormax_nuvens_hoje)
else:
info_tempo_hoje = "O dia está quase no final, por isso só há informações gerais para o dia de amanhã abaixo."
info_tempo_amanha = "Para o dia de amanhã:\n-> Condições metereológicas possiveis: {met}\n" \
"-> Temperatura minima de {tmin} e temperatura máxima de {tmax}\n" \
"-> Percentagem minima de nuvens de {nmin}% e máxima de {nmax}%".format(
met="{} e {}".format(", ".join(metereologia_amanha[:-1]), metereologia_amanha[-1]),
tmin=temp_min_amanha, tmax=temp_max_amanha,
nmin=valormin_nuvens_amanha, nmax=valormax_nuvens_amanha)
return info_tempo_hoje + "\n\n" + info_tempo_amanha
def get_forecast_geoloc(lat, lon):
information = requests.get("http://api.openweathermap.org/data/2.5/forecast?lat={lat}&lon={lon}&"
"appid={priv_key}&"
"units=metric&"
"lang=pt".format(lat=lat,
lon=lon,
priv_key=os.getenv('Weatherapi_key'))).json()
temp_min_hoje = 100
temp_max_hoje = 0
temp_min_amanha = 100
temp_max_amanha = 0
valormin_nuvens_hoje = 100
valormax_nuvens_hoje = 0
valormin_nuvens_amanha = 100
valormax_nuvens_amanha = 0
metereologia_hoje = []
metereologia_amanha = []
data_hoje = datetime.datetime.now()
for info_weather in information["list"]:
datetime_weather = datetime.datetime.fromtimestamp(info_weather["dt"])
if datetime_weather.date() == data_hoje.date():
if info_weather["main"]["temp_min"] < temp_min_hoje:
temp_min_hoje = info_weather["main"]["temp_min"]
if info_weather["main"]["temp_max"] > temp_max_hoje:
temp_max_hoje = info_weather["main"]["temp_max"]
for tempo in info_weather["weather"]:
if (tempo["description"]).capitalize() not in metereologia_hoje:
metereologia_hoje.append((tempo["description"]).capitalize())
if info_weather["clouds"]["all"] < valormin_nuvens_hoje:
valormin_nuvens_hoje = info_weather["clouds"]["all"]
if info_weather["clouds"]["all"] > valormax_nuvens_hoje:
valormax_nuvens_hoje = info_weather["clouds"]["all"]
elif ((int(datetime_weather.day)) - data_hoje.day) == 1:
if info_weather["main"]["temp_min"] < temp_min_amanha:
temp_min_amanha = info_weather["main"]["temp_min"]
if info_weather["main"]["temp_max"] > temp_max_amanha:
temp_max_amanha = info_weather["main"]["temp_max"]
for tempo in info_weather["weather"]:
if (tempo["description"]).capitalize() not in metereologia_amanha:
metereologia_amanha.append((tempo["description"]).capitalize())
if info_weather["clouds"]["all"] < valormin_nuvens_amanha:
valormin_nuvens_amanha = info_weather["clouds"]["all"]
if info_weather["clouds"]["all"] > valormax_nuvens_amanha:
valormax_nuvens_amanha = info_weather["clouds"]["all"]
else:
pass
if len(metereologia_hoje) != 0:
info_tempo_hoje = "Para o dia de hoje:\n-> Condições metereológicas possiveis: {met}\n" \
"-> Temperatura minima de {tmin} e temperatura máxima de {tmax}\n" \
"-> Percentagem minima de nuvens de {nmin}% e máxima de {nmax}%".format(
met="{} e {}".format(", ".join(metereologia_hoje[:-1]), metereologia_hoje[-1]),
tmin=temp_min_hoje, tmax=temp_max_hoje,
nmin=valormin_nuvens_hoje, nmax=valormax_nuvens_hoje)
else:
info_tempo_hoje = "O dia está quase no final, por isso só há informações gerais para o dia de amanhã abaixo."
info_tempo_amanha = "Para o dia de amanhã:\n-> Condições metereológicas possiveis: {met}\n" \
"-> Temperatura minima de {tmin} e temperatura máxima de {tmax}\n" \
"-> Percentagem minima de nuvens de {nmin}% e máxima de {nmax}%".format(
met="{} e {}".format(", ".join(metereologia_amanha[:-1]), metereologia_amanha[-1]),
tmin=temp_min_amanha, tmax=temp_max_amanha,
nmin=valormin_nuvens_amanha, nmax=valormax_nuvens_amanha)
return info_tempo_hoje + "\n\n" + info_tempo_amanha
def get_all_weather_city(city):
weather_now = get_weather_city(city)
weather_after = get_forecast_city(city)
return weather_now + "\n\n" + weather_after
def get_all_weather_geoloc(lat, lon):
weather_now = get_weather_geoloc(lat, lon)
weather_after = get_forecast_geoloc(lat, lon)
return weather_now + "\n\n" + weather_after
| 49.175214 | 134 | 0.557921 | 1,275 | 11,507 | 4.803137 | 0.116863 | 0.071848 | 0.033965 | 0.049641 | 0.958361 | 0.943174 | 0.943174 | 0.933377 | 0.933377 | 0.933377 | 0 | 0.009423 | 0.317546 | 11,507 | 233 | 135 | 49.386266 | 0.770406 | 0.003737 | 0 | 0.879121 | 0 | 0.021978 | 0.240621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032967 | false | 0.010989 | 0.027473 | 0 | 0.093407 | 0.010989 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
6a629129a9767fd809b0c22e16076de5e509a062 | 10,488 | py | Python | main/migrations/0010_auto_20201125_1035.py | naitsok/scientific-wagtail | b37e311030982075831c299b4a60ac3e85a1dd00 | [
"MIT"
] | null | null | null | main/migrations/0010_auto_20201125_1035.py | naitsok/scientific-wagtail | b37e311030982075831c299b4a60ac3e85a1dd00 | [
"MIT"
] | null | null | null | main/migrations/0010_auto_20201125_1035.py | naitsok/scientific-wagtail | b37e311030982075831c299b4a60ac3e85a1dd00 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.3 on 2020-11-25 08:35
from django.db import migrations
import sciwagblocks.blocks.equation_block
import sciwagblocks.blocks.markdownx_block
import sciwagblocks.blocks.table_block
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.documents.blocks
import wagtail.embeds.blocks
import wagtail.images.blocks
class Migration(migrations.Migration):
dependencies = [
('main', '0009_auto_20201125_0949'),
]
operations = [
migrations.AlterField(
model_name='blogpage',
name='body',
field=wagtail.core.fields.StreamField([('paragraph', wagtail.core.blocks.RichTextBlock()), ('quote', wagtail.core.blocks.StructBlock([('quote', wagtail.core.blocks.TextBlock(help_text='Quote text.', required=True, rows=3)), ('author', wagtail.core.blocks.CharBlock(help_text='Author of the quoted text.', required=False)), ('source', wagtail.core.blocks.CharBlock(help_text='Source of the quoted text.', required=False))], classname='full')), ('image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))])), ('embed', wagtail.embeds.blocks.EmbedBlock()), ('markdown', sciwagblocks.blocks.markdownx_block.MarkdownxBlock()), ('columns', wagtail.core.blocks.StructBlock([('left', wagtail.core.blocks.StreamBlock([('paragraph', wagtail.core.blocks.RichTextBlock()), ('figure', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))])), ('markdown', sciwagblocks.blocks.markdownx_block.MarkdownxBlock()), ('pages', wagtail.core.blocks.PageChooserBlock()), ('equation', wagtail.core.blocks.StructBlock([('equation', sciwagblocks.blocks.equation_block.EquationBlock()), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))])), ('table', wagtail.core.blocks.StructBlock([('table', sciwagblocks.blocks.table_block.ColWidthTableBlock(align_classes={'htBottom': 'align-bottom', 'htCenter': 'text-center', 'htJustify': 'text-justify', 'htLeft': 'text-left', 'htMiddle': 'align-middle', 'htRight': 'text-right', 'htTop': 'align-top'}, table_options={'autoColumnSize': False, 'colHeaders': False, 'contextMenu': ['row_above', 'row_below', '---------', 'col_left', 'col_right', '---------', 'alignment', '---------', 'remove_row', 'remove_col', '---------', 'undo', 'redo'], 'editor': 'text', 'height': 108, 'minSpareRows': 0, 'renderer': 'text', 'rowHeaders': False, 'startCols': 3, 'startRows': 3, 'stretchH': 'all'})), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))]))], icon='arrow-left', label='Left column content')), ('right', wagtail.core.blocks.StreamBlock([('paragraph', wagtail.core.blocks.RichTextBlock()), ('figure', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))])), ('markdown', sciwagblocks.blocks.markdownx_block.MarkdownxBlock()), ('pages', wagtail.core.blocks.PageChooserBlock()), ('equation', wagtail.core.blocks.StructBlock([('equation', sciwagblocks.blocks.equation_block.EquationBlock()), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))])), ('table', wagtail.core.blocks.StructBlock([('table', sciwagblocks.blocks.table_block.ColWidthTableBlock(align_classes={'htBottom': 'align-bottom', 'htCenter': 'text-center', 'htJustify': 'text-justify', 'htLeft': 'text-left', 'htMiddle': 'align-middle', 'htRight': 'text-right', 'htTop': 'align-top'}, table_options={'autoColumnSize': False, 'colHeaders': False, 'contextMenu': ['row_above', 'row_below', '---------', 'col_left', 'col_right', '---------', 'alignment', '---------', 'remove_row', 'remove_col', '---------', 'undo', 'redo'], 'editor': 'text', 'height': 108, 'minSpareRows': 0, 'renderer': 'text', 'rowHeaders': False, 'startCols': 3, 'startRows': 3, 'stretchH': 'all'})), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))]))], icon='arrow-right', label='Right column content'))])), ('pages', wagtail.core.blocks.PageChooserBlock()), ('document', wagtail.documents.blocks.DocumentChooserBlock()), ('table', wagtail.core.blocks.StructBlock([('table', sciwagblocks.blocks.table_block.ColWidthTableBlock(align_classes={'htBottom': 'align-bottom', 'htCenter': 'text-center', 'htJustify': 'text-justify', 'htLeft': 'text-left', 'htMiddle': 'align-middle', 'htRight': 'text-right', 'htTop': 'align-top'}, table_options={'autoColumnSize': False, 'colHeaders': False, 'contextMenu': ['row_above', 'row_below', '---------', 'col_left', 'col_right', '---------', 'alignment', '---------', 'remove_row', 'remove_col', '---------', 'undo', 'redo'], 'editor': 'text', 'height': 108, 'minSpareRows': 0, 'renderer': 'text', 'rowHeaders': False, 'startCols': 3, 'startRows': 3, 'stretchH': 'all'})), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))]))]),
),
migrations.AlterField(
model_name='postpage',
name='body',
field=wagtail.core.fields.StreamField([('cut', wagtail.core.blocks.CharBlock(form_classname='full subtitle', help_text='After this block the post will be cutted when displayed on the home page. On the post page this field is ignored.')), ('paragraph', wagtail.core.blocks.RichTextBlock()), ('quote', wagtail.core.blocks.StructBlock([('quote', wagtail.core.blocks.TextBlock(help_text='Quote text.', required=True, rows=3)), ('author', wagtail.core.blocks.CharBlock(help_text='Author of the quoted text.', required=False)), ('source', wagtail.core.blocks.CharBlock(help_text='Source of the quoted text.', required=False))], classname='full')), ('figure', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))], label='Figure')), ('embed', wagtail.embeds.blocks.EmbedBlock()), ('document', wagtail.documents.blocks.DocumentChooserBlock(help_text='All the text in other blocks, which is the same as document title will be replaced with the link to the document.')), ('markdown', sciwagblocks.blocks.markdownx_block.MarkdownxBlock()), ('equation', wagtail.core.blocks.StructBlock([('equation', sciwagblocks.blocks.equation_block.EquationBlock()), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))])), ('pages', wagtail.core.blocks.PageChooserBlock()), ('columns', wagtail.core.blocks.StructBlock([('left', wagtail.core.blocks.StreamBlock([('paragraph', wagtail.core.blocks.RichTextBlock()), ('figure', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))])), ('markdown', sciwagblocks.blocks.markdownx_block.MarkdownxBlock()), ('pages', wagtail.core.blocks.PageChooserBlock()), ('equation', wagtail.core.blocks.StructBlock([('equation', sciwagblocks.blocks.equation_block.EquationBlock()), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))])), ('table', wagtail.core.blocks.StructBlock([('table', sciwagblocks.blocks.table_block.ColWidthTableBlock(align_classes={'htBottom': 'align-bottom', 'htCenter': 'text-center', 'htJustify': 'text-justify', 'htLeft': 'text-left', 'htMiddle': 'align-middle', 'htRight': 'text-right', 'htTop': 'align-top'}, table_options={'autoColumnSize': False, 'colHeaders': False, 'contextMenu': ['row_above', 'row_below', '---------', 'col_left', 'col_right', '---------', 'alignment', '---------', 'remove_row', 'remove_col', '---------', 'undo', 'redo'], 'editor': 'text', 'height': 108, 'minSpareRows': 0, 'renderer': 'text', 'rowHeaders': False, 'startCols': 3, 'startRows': 3, 'stretchH': 'all'})), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))]))], icon='arrow-left', label='Left column content')), ('right', wagtail.core.blocks.StreamBlock([('paragraph', wagtail.core.blocks.RichTextBlock()), ('figure', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))])), ('markdown', sciwagblocks.blocks.markdownx_block.MarkdownxBlock()), ('pages', wagtail.core.blocks.PageChooserBlock()), ('equation', wagtail.core.blocks.StructBlock([('equation', sciwagblocks.blocks.equation_block.EquationBlock()), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))])), ('table', wagtail.core.blocks.StructBlock([('table', sciwagblocks.blocks.table_block.ColWidthTableBlock(align_classes={'htBottom': 'align-bottom', 'htCenter': 'text-center', 'htJustify': 'text-justify', 'htLeft': 'text-left', 'htMiddle': 'align-middle', 'htRight': 'text-right', 'htTop': 'align-top'}, table_options={'autoColumnSize': False, 'colHeaders': False, 'contextMenu': ['row_above', 'row_below', '---------', 'col_left', 'col_right', '---------', 'alignment', '---------', 'remove_row', 'remove_col', '---------', 'undo', 'redo'], 'editor': 'text', 'height': 108, 'minSpareRows': 0, 'renderer': 'text', 'rowHeaders': False, 'startCols': 3, 'startRows': 3, 'stretchH': 'all'})), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))]))], icon='arrow-right', label='Right column content'))])), ('table', wagtail.core.blocks.StructBlock([('table', sciwagblocks.blocks.table_block.ColWidthTableBlock(align_classes={'htBottom': 'align-bottom', 'htCenter': 'text-center', 'htJustify': 'text-justify', 'htLeft': 'text-left', 'htMiddle': 'align-middle', 'htRight': 'text-right', 'htTop': 'align-top'}, table_options={'autoColumnSize': False, 'colHeaders': False, 'contextMenu': ['row_above', 'row_below', '---------', 'col_left', 'col_right', '---------', 'alignment', '---------', 'remove_row', 'remove_col', '---------', 'undo', 'redo'], 'editor': 'text', 'height': 108, 'minSpareRows': 0, 'renderer': 'text', 'rowHeaders': False, 'startCols': 3, 'startRows': 3, 'stretchH': 'all'})), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))])), ('table_figure', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('caption', sciwagblocks.blocks.markdownx_block.MarkdownxBlock(required=False))], icon='table', label='Table as Figure'))]),
),
]
| 327.75 | 5,278 | 0.711289 | 1,124 | 10,488 | 6.547153 | 0.131673 | 0.073244 | 0.106264 | 0.10871 | 0.899851 | 0.866694 | 0.852018 | 0.840875 | 0.840875 | 0.839652 | 0 | 0.007058 | 0.067887 | 10,488 | 31 | 5,279 | 338.322581 | 0.745704 | 0.004291 | 0 | 0.24 | 1 | 0.08 | 0.310602 | 0.002203 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.36 | 0 | 0.48 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
6aba87603155ec683a0f0b23ee01f1c1c5b17e09 | 20,970 | py | Python | tests/test_cli.py | jeckt/market_data | bb2121895f274ebee5fa1bd26f51151df3d6061f | [
"Apache-2.0"
] | null | null | null | tests/test_cli.py | jeckt/market_data | bb2121895f274ebee5fa1bd26f51151df3d6061f | [
"Apache-2.0"
] | null | null | null | tests/test_cli.py | jeckt/market_data | bb2121895f274ebee5fa1bd26f51151df3d6061f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import os
import sys
import inspect
file_path = os.path.dirname(inspect.getfile(inspect.currentframe()))
sys.path.insert(0, os.path.split(os.path.split(file_path)[0])[0])
import unittest
from unittest.mock import patch
import datetime
from parameterized import parameterized_class
from freezegun import freeze_time
import cli as app
from market_data.market_data import MarketData
import market_data.data_adapter as data_adapter
from market_data.scraper import InvalidDateError, InvalidTickerError
import market_data.tests.utils as test_utils
# NOTE(steve): this is so we don't trigger the clear the console screen
# function which is used for a better user experience
app.TEST_MODE = True
def check_output(actual_output, expected_output):
for actual, expected in zip(actual_output, expected_output):
if actual != expected:
print(f'Actual: {actual}')
print(f'Expected: {expected}')
assert actual == expected
assert len(actual_output) == len(expected_output)
def common_setup(obj):
obj.da = data_adapter.get_adapter(obj.data_adapter_source)
obj.database = obj.da.test_database
app.DATA_ADAPTER_SOURCE = obj.data_adapter_source
obj.expected_output = []
obj.actual_output = []
obj.user_input = []
def mock_input(s):
obj.actual_output.append(s)
if len(obj.user_input) > 0:
return obj.user_input.pop(0)
app.input = mock_input
app.print = lambda s: obj.actual_output.append(s)
def common_teardown(obj):
try:
obj.da.delete_test_database()
except:
pass
@parameterized_class(('data_adapter_source', ),[
[data_adapter.DataAdapterSource.JSON, ],
[data_adapter.DataAdapterSource.SQLITE3, ]
])
class AppMainMenuTests(unittest.TestCase):
def setUp(self):
common_setup(self)
msg = app.Messages.new_database_created(self.database)
self.expected_output.append(msg)
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
def tearDown(self):
common_teardown(self)
def test_quit_option_selected_exits_app(self):
self.user_input.append(app.MenuOptions.QUIT)
sys.argv = ['./cli.py', self.database]
app.main()
self.expected_output.append(app.Messages.quit())
check_output(self.actual_output, self.expected_output)
def test_invalid_menu_option_selected(self):
self.user_input.append('-1')
self.user_input.append(app.MenuOptions.QUIT)
sys.argv = ['./cli.py', self.database]
app.main()
self.expected_output.append(app.Messages.invalid_option())
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.quit())
check_output(self.actual_output, self.expected_output)
def test_add_securities(self):
self.user_input.append(app.MenuOptions.ADD_SECURITIES)
self.user_input.append('AMZN')
self.user_input.append(app.MenuOptions.QUIT)
sys.argv = ['./cli.py', self.database]
app.main()
self.expected_output.append(app.Messages.add_security_input())
self.expected_output.append(app.Messages.security_added('AMZN'))
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.quit())
check_output(self.actual_output, self.expected_output)
def test_view_securities(self):
self.user_input.append(app.MenuOptions.ADD_SECURITIES)
self.user_input.append('AMZN')
self.user_input.append(app.MenuOptions.VIEW_SECURITIES)
self.user_input.append('0') # Return to Main Menu
self.user_input.append(app.MenuOptions.QUIT)
sys.argv = ['./cli.py', self.database]
app.main()
self.expected_output.append(app.Messages.add_security_input())
self.expected_output.append(app.Messages.security_added('AMZN'))
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.view_securities(['AMZN']))
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.quit())
check_output(self.actual_output, self.expected_output)
@parameterized_class(('data_adapter_source', ),[
[data_adapter.DataAdapterSource.JSON, ],
[data_adapter.DataAdapterSource.SQLITE3, ]
])
class AppUpdateMarketDataTests(unittest.TestCase):
def setUp(self):
common_setup(self)
msg = app.Messages.new_database_created(self.database)
self.expected_output.append(msg)
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
def tearDown(self):
common_teardown(self)
@patch('market_data.scraper.Scraper.scrape_eq_multiple_dates',
autospec=True)
def test_update_security_data_on_invalid_ticker(self, mock_scraper):
ticker = 'AAMZNN'
mock_scraper.side_effect = InvalidTickerError(ticker)
self.user_input.append(app.MenuOptions.ADD_SECURITIES)
self.user_input.append(ticker)
self.user_input.append(app.MenuOptions.UPDATE_MARKET_DATA)
self.user_input.append(app.MenuOptions.VIEW_SECURITIES)
self.user_input.append('1') # View AMZN security data
self.user_input.append('0') # Return to Main Menu
self.user_input.append(app.MenuOptions.QUIT)
sys.argv = ['./cli.py', self.database]
app.main()
# Add security
self.expected_output.append(app.Messages.add_security_input())
self.expected_output.append(app.Messages.security_added(ticker))
# Update market data
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.market_data_updated())
# View securities in app
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.view_securities([ticker]))
self.expected_output.append(app.Messages.option_input())
# View current security data in app
self.expected_output.append(app.Messages.no_security_data(ticker))
self.expected_output.append(app.Messages.view_securities([ticker]))
self.expected_output.append(app.Messages.option_input())
# Quit
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.quit())
check_output(self.actual_output, self.expected_output)
@freeze_time('2019-09-29') # Sunday
@patch('market_data.scraper.Scraper.scrape_eq_multiple_dates',
autospec=True)
def test_update_security_data_on_invalid_date(self, mock_scraper):
ticker = 'AMZN'
dt = datetime.datetime.today()
errors = [InvalidDateError(f'{dt}')]
mock_scraper.return_value = errors
self.user_input.append(app.MenuOptions.ADD_SECURITIES)
self.user_input.append(ticker)
self.user_input.append(app.MenuOptions.UPDATE_MARKET_DATA)
self.user_input.append(app.MenuOptions.VIEW_SECURITIES)
self.user_input.append('1') # View AMZN security data
self.user_input.append('0') # Return to Main Menu
self.user_input.append(app.MenuOptions.QUIT)
sys.argv = ['./cli.py', self.database]
app.main()
# Add security
self.expected_output.append(app.Messages.add_security_input())
self.expected_output.append(app.Messages.security_added(ticker))
# Update market data
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.market_data_updated())
# View securities in app
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.view_securities([ticker]))
self.expected_output.append(app.Messages.option_input())
# View current security data in app
self.expected_output.append(app.Messages.no_security_data(ticker))
self.expected_output.append(app.Messages.view_securities([ticker]))
self.expected_output.append(app.Messages.option_input())
# Quit
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.quit())
check_output(self.actual_output, self.expected_output)
# TODO(steve): isn't this duplication of the functional cli test???
@freeze_time('2019-08-27')
@patch('market_data.scraper.Scraper.scrape_eq_multiple_dates',
autospec=True)
def test_update_security_data_on_multiple_dates(self, mock_scraper):
# Load test data
dataset = test_utils.load_test_data()
ticker = 'AMZN'
dt1 = datetime.datetime(2019, 8, 23)
expected_data_dt1 = test_utils.get_test_data(dataset, ticker, dt1)
dt2 = datetime.datetime(2019, 8, 26)
expected_data_dt2 = test_utils.get_test_data(dataset, ticker, dt2)
dt3 = datetime.datetime(2019, 8, 27)
expected_data_dt3 = test_utils.get_test_data(dataset, ticker, dt3)
data_series = [
(dt3, expected_data_dt3),
(dt2, expected_data_dt2),
(dt1, expected_data_dt1)
]
# Create an existing database with data already in the database
self.da.create_test_database()
data = self.da.connect(self.database)
data.insert_securities([ticker])
data.update_market_data(ticker, (dt1, expected_data_dt1))
data.close()
sys.argv = ['./cli.py', self.database]
self.expected_output = []
self.expected_output.append(
app.Messages.load_existing_database(self.database)
)
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
ret_data = [
(dt2.date(), expected_data_dt2),
(dt3.date(), expected_data_dt3)
]
mock_scraper.return_value = ret_data, []
self.user_input.append(app.MenuOptions.UPDATE_MARKET_DATA)
self.expected_output.append(app.Messages.market_data_updated())
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.user_input.append(app.MenuOptions.VIEW_SECURITIES)
self.expected_output.append(app.Messages.view_securities(['AMZN']))
self.expected_output.append(app.Messages.option_input())
self.user_input.append('1')
self.expected_output.append(
app.Messages.view_security_data(ticker, data_series)
)
self.expected_output.append(app.Messages.any_key_to_return())
self.user_input.append('')
self.expected_output.append(app.Messages.view_securities(['AMZN']))
self.expected_output.append(app.Messages.option_input())
self.user_input.append('0')
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.user_input.append(app.MenuOptions.QUIT)
self.expected_output.append(app.Messages.quit())
app.main()
check_output(self.actual_output, self.expected_output)
# Check that scraper was called
mock_scraper.assert_called_once()
@freeze_time('2019-05-10')
@patch('market_data.scraper.Scraper.scrape_eq_multiple_dates',
autospec=True)
def test_update_security_data(self, mock_scraper):
ticker, dt, expected_data = test_utils.get_expected_equity_data()
mock_scraper.return_value = [(dt.date(), expected_data)], []
self.user_input.append(app.MenuOptions.ADD_SECURITIES)
self.user_input.append(ticker)
self.user_input.append(app.MenuOptions.UPDATE_MARKET_DATA)
self.user_input.append(app.MenuOptions.VIEW_SECURITIES)
self.user_input.append('1') # View AMZN security data
self.user_input.append('') # Press any key to return to view securities
self.user_input.append('0') # Return to Main Menu
self.user_input.append(app.MenuOptions.QUIT)
sys.argv = ['./cli.py', self.database]
app.main()
# Add security
self.expected_output.append(app.Messages.add_security_input())
self.expected_output.append(app.Messages.security_added(ticker))
# Update market data
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.market_data_updated())
# View securities in app
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.view_securities([ticker]))
self.expected_output.append(app.Messages.option_input())
# View current security data in app
self.expected_output.append(app.Messages.view_security_data(ticker,
[(dt, expected_data)]))
self.expected_output.append(app.Messages.any_key_to_return())
self.expected_output.append(app.Messages.view_securities([ticker]))
self.expected_output.append(app.Messages.option_input())
# Return to main menu and quit app
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.quit())
check_output(self.actual_output, self.expected_output)
# Check that scraper was called
mock_scraper.assert_called_once()
@parameterized_class(('data_adapter_source', ),[
[data_adapter.DataAdapterSource.JSON, ],
[data_adapter.DataAdapterSource.SQLITE3, ]
])
class AppViewSecuritiesTests(unittest.TestCase):
def setUp(self):
common_setup(self)
msg = app.Messages.new_database_created(self.database)
self.expected_output.append(msg)
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
def tearDown(self):
common_teardown(self)
def test_no_security_data(self):
self.user_input.append(app.MenuOptions.ADD_SECURITIES)
self.user_input.append('AMZN')
self.user_input.append(app.MenuOptions.VIEW_SECURITIES)
self.user_input.append('1') # View AMZN security data
self.user_input.append('0') # Return to Main Menu
self.user_input.append(app.MenuOptions.QUIT)
sys.argv = ['./cli.py', self.database]
app.main()
self.expected_output.append(app.Messages.add_security_input())
self.expected_output.append(app.Messages.security_added('AMZN'))
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.view_securities(['AMZN']))
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.no_security_data('AMZN'))
self.expected_output.append(app.Messages.view_securities(['AMZN']))
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.quit())
check_output(self.actual_output, self.expected_output)
def test_no_securities_loaded(self):
self.user_input.append(app.MenuOptions.VIEW_SECURITIES)
self.user_input.append('0') # Return to Main Menu
self.user_input.append(app.MenuOptions.QUIT)
sys.argv = ['./cli.py', self.database]
app.main()
self.expected_output.append(app.Messages.view_securities([]))
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.quit())
check_output(self.actual_output, self.expected_output)
def test_invalid_option(self):
self.user_input.append(app.MenuOptions.VIEW_SECURITIES)
self.user_input.append('invalid option')
self.user_input.append('0') # Return to Main Menu
self.user_input.append(app.MenuOptions.QUIT)
sys.argv = ['./cli.py', self.database]
app.main()
self.expected_output.append(app.Messages.view_securities([]))
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.invalid_option())
self.expected_output.append(app.Messages.view_securities([]))
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.quit())
check_output(self.actual_output, self.expected_output)
def test_invalid_integer_option(self):
self.user_input.append(app.MenuOptions.VIEW_SECURITIES)
self.user_input.append('2')
self.user_input.append('0') # Return to Main Menu
self.user_input.append(app.MenuOptions.QUIT)
sys.argv = ['./cli.py', self.database]
app.main()
self.expected_output.append(app.Messages.view_securities([]))
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.invalid_option())
self.expected_output.append(app.Messages.view_securities([]))
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.main_menu())
self.expected_output.append(app.Messages.option_input())
self.expected_output.append(app.Messages.quit())
check_output(self.actual_output, self.expected_output)
@parameterized_class(('data_adapter_source', ),[
[data_adapter.DataAdapterSource.JSON, ],
[data_adapter.DataAdapterSource.SQLITE3, ]
])
class AppDatabaseTests(unittest.TestCase):
def setUp(self):
app.DATA_ADAPTER_SOURCE = self.data_adapter_source
if self.data_adapter_source == data_adapter.DataAdapterSource.JSON:
self.database = 'testdb.json'
else:
self.database = 'test.db'
self.actual_output = []
self.expected_output = []
app.print = lambda s: self.actual_output.append(s)
def tearDown(self):
if os.path.isfile(self.database):
os.remove(self.database)
def test_app_terminates_if_no_database_provided(self):
sys.argv = ['./cli.py']
app.main()
self.expected_output.append(app.Messages.no_database_specified())
check_output(self.actual_output, self.expected_output)
def test_app_creates_database_on_database_not_found(self):
with patch('cli.process_user_input', autospec=True) as mock_proc:
mock_proc.return_value = False
sys.argv = ['./cli.py', self.database]
app.main()
msg = app.Messages.new_database_created(self.database)
self.expected_output.append(msg)
self.expected_output.append(app.Messages.main_menu())
check_output(self.actual_output, self.expected_output)
self.assertTrue(os.path.isfile(self.database))
@patch('builtins.print', autospec=True)
def test_app_loads_existing_database(self, mock_print):
open(self.database, 'w').close()
self.assertTrue(os.path.isfile(self.database))
with patch('cli.process_user_input', autospec=True) as mock_proc:
mock_proc.return_value = False
sys.argv = ['./cli.py', self.database]
app.main()
msg = app.Messages.load_existing_database(self.database)
self.expected_output.append(msg)
self.expected_output.append(app.Messages.main_menu())
check_output(self.actual_output, self.expected_output)
if __name__ == '__main__':
unittest.main()
| 39.050279 | 79 | 0.6969 | 2,628 | 20,970 | 5.319254 | 0.077626 | 0.098505 | 0.185421 | 0.218041 | 0.813578 | 0.803133 | 0.792474 | 0.771371 | 0.768367 | 0.76293 | 0 | 0.005349 | 0.188746 | 20,970 | 536 | 80 | 39.123134 | 0.816365 | 0.045827 | 0 | 0.699746 | 0 | 0 | 0.032646 | 0.012618 | 0 | 0 | 0 | 0.001866 | 0.015267 | 1 | 0.068702 | false | 0.002545 | 0.033079 | 0 | 0.114504 | 0.015267 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
0a9a4e40b4206b99bb450744c657bef44d14f5fb | 75,715 | py | Python | sdk/python/pulumi_aws/cloudfront/distribution.py | michael-golden/pulumi-aws | 165e876e166ecab1870e857822247585d78aef64 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/cloudfront/distribution.py | michael-golden/pulumi-aws | 165e876e166ecab1870e857822247585d78aef64 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/cloudfront/distribution.py | michael-golden/pulumi-aws | 165e876e166ecab1870e857822247585d78aef64 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Distribution(pulumi.CustomResource):
active_trusted_signers: pulumi.Output[dict]
"""
The key pair IDs that CloudFront is aware of for
each trusted signer, if the distribution is set up to serve private content
with signed URLs.
"""
aliases: pulumi.Output[list]
"""
Extra CNAMEs (alternate domain names), if any, for
this distribution.
"""
arn: pulumi.Output[str]
"""
The ARN (Amazon Resource Name) for the distribution. For example: `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where `123456789012` is your AWS account ID.
"""
caller_reference: pulumi.Output[str]
"""
Internal value used by CloudFront to allow future
updates to the distribution configuration.
"""
comment: pulumi.Output[str]
"""
Any comments you want to include about the
distribution.
"""
custom_error_responses: pulumi.Output[list]
"""
One or more custom error response elements (multiples allowed).
* `errorCachingMinTtl` (`float`) - The minimum amount of time you want
HTTP error codes to stay in CloudFront caches before CloudFront queries your
origin to see whether the object has been updated.
* `errorCode` (`float`) - The 4xx or 5xx HTTP status code that you want to
customize.
* `responseCode` (`float`) - The HTTP status code that you want CloudFront
to return with the custom error page to the viewer.
* `responsePagePath` (`str`) - The path of the custom error page (for
example, `/custom_404.html`).
"""
default_cache_behavior: pulumi.Output[dict]
"""
The default cache behavior for this distribution (maximum
one).
* `allowedMethods` (`list`) - Controls which HTTP methods CloudFront
processes and forwards to your Amazon S3 bucket or your custom origin.
* `cachedMethods` (`list`) - Controls whether CloudFront caches the
response to requests using the specified HTTP methods.
* `compress` (`bool`) - Whether you want CloudFront to automatically
compress content for web requests that include `Accept-Encoding: gzip` in
the request header (default: `false`).
* `defaultTtl` (`float`) - The default amount of time (in seconds) that an
object is in a CloudFront cache before CloudFront forwards another request
in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to
1 day.
* `fieldLevelEncryptionId` (`str`) - Field level encryption configuration ID
* `forwardedValues` (`dict`) - The forwarded values configuration that specifies how CloudFront
handles query strings, cookies and headers (maximum one).
* `cookies` (`dict`) - The forwarded values cookies
that specifies how CloudFront handles cookies (maximum one).
* `forward` (`str`) - Specifies whether you want CloudFront to forward
cookies to the origin that is associated with this cache behavior. You can
specify `all`, `none` or `whitelist`. If `whitelist`, you must include the
subsequent `whitelisted_names`
* `whitelistedNames` (`list`) - If you have specified `whitelist` to
`forward`, the whitelisted cookies that you want CloudFront to forward to
your origin.
* `headers` (`list`) - Specifies the Headers, if any, that you want
CloudFront to vary upon for this cache behavior. Specify `*` to include all
headers.
* `queryString` (`bool`) - Indicates whether you want CloudFront to forward
query strings to the origin that is associated with this cache behavior.
* `queryStringCacheKeys` (`list`) - When specified, along with a value of
`true` for `query_string`, all query strings are forwarded, however only the
query string keys listed in this argument are cached. When omitted with a
value of `true` for `query_string`, all query string keys are cached.
* `lambdaFunctionAssociations` (`list`) - A config block that triggers a lambda function with
specific actions. Defined below, maximum 4.
* `eventType` (`str`) - The specific event to trigger this function.
Valid values: `viewer-request`, `origin-request`, `viewer-response`,
`origin-response`
* `includeBody` (`bool`) - When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.
* `lambdaArn` (`str`) - ARN of the Lambda function.
* `maxTtl` (`float`) - The maximum amount of time (in seconds) that an
object is in a CloudFront cache before CloudFront forwards another request
to your origin to determine whether the object has been updated. Only
effective in the presence of `Cache-Control max-age`, `Cache-Control
s-maxage`, and `Expires` headers. Defaults to 365 days.
* `minTtl` (`float`) - The minimum amount of time that you want objects to
stay in CloudFront caches before CloudFront queries your origin to see
whether the object has been updated. Defaults to 0 seconds.
* `smoothStreaming` (`bool`) - Indicates whether you want to distribute
media files in Microsoft Smooth Streaming format using the origin that is
associated with this cache behavior.
* `targetOriginId` (`str`) - The value of ID for the origin that you want
CloudFront to route requests to when a request matches the path pattern
either for a cache behavior or for the default cache behavior.
* `trustedSigners` (`list`) - The AWS accounts, if any, that you want to
allow to create signed URLs for private content.
* `viewerProtocolPolicy` (`str`) - Use this element to specify the
protocol that users can use to access the files in the origin specified by
TargetOriginId when a request matches the path pattern in PathPattern. One
of `allow-all`, `https-only`, or `redirect-to-https`.
"""
default_root_object: pulumi.Output[str]
"""
The object that you want CloudFront to
return (for example, index.html) when an end user requests the root URL.
"""
domain_name: pulumi.Output[str]
"""
The DNS domain name of either the S3 bucket, or
web site of your custom origin.
"""
enabled: pulumi.Output[bool]
"""
Whether the distribution is enabled to accept end
user requests for content.
"""
etag: pulumi.Output[str]
"""
The current version of the distribution's information. For example:
`E2QWRUHAPOMQZL`.
"""
hosted_zone_id: pulumi.Output[str]
"""
The CloudFront Route 53 zone ID that can be used to
route an [Alias Resource Record Set](http://docs.aws.amazon.com/Route53/latest/APIReference/CreateAliasRRSAPI.html) to. This attribute is simply an
alias for the zone ID `Z2FDTNDATAQYW2`.
"""
http_version: pulumi.Output[str]
"""
The maximum HTTP version to support on the
distribution. Allowed values are `http1.1` and `http2`. The default is
`http2`.
"""
in_progress_validation_batches: pulumi.Output[float]
"""
The number of invalidation batches
currently in progress.
"""
is_ipv6_enabled: pulumi.Output[bool]
"""
Whether the IPv6 is enabled for the distribution.
"""
last_modified_time: pulumi.Output[str]
"""
The date and time the distribution was last modified.
"""
logging_config: pulumi.Output[dict]
"""
The logging
configuration that controls how logs are written
to your distribution (maximum one).
* `bucket` (`str`) - The Amazon S3 bucket to store the access logs in, for
example, `myawslogbucket.s3.amazonaws.com`.
* `includeCookies` (`bool`) - Specifies whether you want CloudFront to
include cookies in access logs (default: `false`).
* `prefix` (`str`) - An optional string that you want CloudFront to prefix
to the access log filenames for this distribution, for example, `myprefix/`.
"""
ordered_cache_behaviors: pulumi.Output[list]
"""
An ordered list of cache behaviors
resource for this distribution. List from top to bottom
in order of precedence. The topmost cache behavior will have precedence 0.
* `allowedMethods` (`list`) - Controls which HTTP methods CloudFront
processes and forwards to your Amazon S3 bucket or your custom origin.
* `cachedMethods` (`list`) - Controls whether CloudFront caches the
response to requests using the specified HTTP methods.
* `compress` (`bool`) - Whether you want CloudFront to automatically
compress content for web requests that include `Accept-Encoding: gzip` in
the request header (default: `false`).
* `defaultTtl` (`float`) - The default amount of time (in seconds) that an
object is in a CloudFront cache before CloudFront forwards another request
in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to
1 day.
* `fieldLevelEncryptionId` (`str`) - Field level encryption configuration ID
* `forwardedValues` (`dict`) - The forwarded values configuration that specifies how CloudFront
handles query strings, cookies and headers (maximum one).
* `cookies` (`dict`) - The forwarded values cookies
that specifies how CloudFront handles cookies (maximum one).
* `forward` (`str`) - Specifies whether you want CloudFront to forward
cookies to the origin that is associated with this cache behavior. You can
specify `all`, `none` or `whitelist`. If `whitelist`, you must include the
subsequent `whitelisted_names`
* `whitelistedNames` (`list`) - If you have specified `whitelist` to
`forward`, the whitelisted cookies that you want CloudFront to forward to
your origin.
* `headers` (`list`) - Specifies the Headers, if any, that you want
CloudFront to vary upon for this cache behavior. Specify `*` to include all
headers.
* `queryString` (`bool`) - Indicates whether you want CloudFront to forward
query strings to the origin that is associated with this cache behavior.
* `queryStringCacheKeys` (`list`) - When specified, along with a value of
`true` for `query_string`, all query strings are forwarded, however only the
query string keys listed in this argument are cached. When omitted with a
value of `true` for `query_string`, all query string keys are cached.
* `lambdaFunctionAssociations` (`list`) - A config block that triggers a lambda function with
specific actions. Defined below, maximum 4.
* `eventType` (`str`) - The specific event to trigger this function.
Valid values: `viewer-request`, `origin-request`, `viewer-response`,
`origin-response`
* `includeBody` (`bool`) - When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.
* `lambdaArn` (`str`) - ARN of the Lambda function.
* `maxTtl` (`float`) - The maximum amount of time (in seconds) that an
object is in a CloudFront cache before CloudFront forwards another request
to your origin to determine whether the object has been updated. Only
effective in the presence of `Cache-Control max-age`, `Cache-Control
s-maxage`, and `Expires` headers. Defaults to 365 days.
* `minTtl` (`float`) - The minimum amount of time that you want objects to
stay in CloudFront caches before CloudFront queries your origin to see
whether the object has been updated. Defaults to 0 seconds.
* `pathPattern` (`str`) - The pattern (for example, `images/*.jpg)` that
specifies which requests you want this cache behavior to apply to.
* `smoothStreaming` (`bool`) - Indicates whether you want to distribute
media files in Microsoft Smooth Streaming format using the origin that is
associated with this cache behavior.
* `targetOriginId` (`str`) - The value of ID for the origin that you want
CloudFront to route requests to when a request matches the path pattern
either for a cache behavior or for the default cache behavior.
* `trustedSigners` (`list`) - The AWS accounts, if any, that you want to
allow to create signed URLs for private content.
* `viewerProtocolPolicy` (`str`) - Use this element to specify the
protocol that users can use to access the files in the origin specified by
TargetOriginId when a request matches the path pattern in PathPattern. One
of `allow-all`, `https-only`, or `redirect-to-https`.
"""
origin_groups: pulumi.Output[list]
"""
One or more origin_group for this
distribution (multiples allowed).
* `failoverCriteria` (`dict`) - The failover criteria for when to failover to the secondary origin
* `statusCodes` (`list`) - A list of HTTP status codes for the origin group
* `members` (`list`) - Ordered member configuration blocks assigned to the origin group, where the first member is the primary origin. You must specify two members.
* `originId` (`str`) - The unique identifier of the member origin
* `originId` (`str`) - The unique identifier of the member origin
"""
origins: pulumi.Output[list]
"""
One or more origins for this
distribution (multiples allowed).
* `customHeaders` (`list`) - One or more sub-resources with `name` and
`value` parameters that specify header data that will be sent to the origin
(multiples allowed).
* `name` (`str`)
* `value` (`str`)
* `customOriginConfig` (`dict`) - The CloudFront custom
origin configuration information. If an S3
origin is required, use `s3_origin_config` instead.
* `httpPort` (`float`) - The HTTP port the custom origin listens on.
* `httpsPort` (`float`) - The HTTPS port the custom origin listens on.
* `originKeepaliveTimeout` (`float`) - The Custom KeepAlive timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
* `originProtocolPolicy` (`str`) - The origin protocol policy to apply to
your origin. One of `http-only`, `https-only`, or `match-viewer`.
* `originReadTimeout` (`float`) - The Custom Read timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
* `originSslProtocols` (`list`) - The SSL/TLS protocols that you want
CloudFront to use when communicating with your origin over HTTPS. A list of
one or more of `SSLv3`, `TLSv1`, `TLSv1.1`, and `TLSv1.2`.
* `domain_name` (`str`) - The DNS domain name of either the S3 bucket, or
web site of your custom origin.
* `originId` (`str`) - The unique identifier of the member origin
* `originPath` (`str`) - An optional element that causes CloudFront to
request your content from a directory in your Amazon S3 bucket or your
custom origin.
* `s3OriginConfig` (`dict`) - The CloudFront S3 origin
configuration information. If a custom origin is required, use
`custom_origin_config` instead.
* `originAccessIdentity` (`str`) - The [CloudFront origin access
identity][5] to associate with the origin.
"""
price_class: pulumi.Output[str]
"""
The price class for this distribution. One of
`PriceClass_All`, `PriceClass_200`, `PriceClass_100`
"""
restrictions: pulumi.Output[dict]
"""
The restriction
configuration for this distribution (maximum one).
* `geoRestriction` (`dict`)
* `locations` (`list`) - The [ISO 3166-1-alpha-2 codes][4] for which you
want CloudFront either to distribute your content (`whitelist`) or not
distribute your content (`blacklist`).
* `restrictionType` (`str`) - The method that you want to use to restrict
distribution of your content by country: `none`, `whitelist`, or
`blacklist`.
"""
retain_on_delete: pulumi.Output[bool]
"""
Disables the distribution instead of
deleting it when destroying the resource. If this is set,
the distribution needs to be deleted manually afterwards. Default: `false`.
"""
status: pulumi.Output[str]
"""
The current status of the distribution. `Deployed` if the
distribution's information is fully propagated throughout the Amazon
CloudFront system.
"""
tags: pulumi.Output[dict]
"""
A map of tags to assign to the resource.
"""
viewer_certificate: pulumi.Output[dict]
"""
The SSL
configuration for this distribution (maximum
one).
* `acmCertificateArn` (`str`) - The ARN of the [AWS Certificate Manager](https://aws.amazon.com/certificate-manager/)
certificate that you wish to use with this distribution. Specify this,
`cloudfront_default_certificate`, or `iam_certificate_id`. The ACM
certificate must be in US-EAST-1.
* `cloudfrontDefaultCertificate` (`bool`) - `true` if you want viewers to use HTTPS
to request your objects and you're using the CloudFront domain name for your
distribution. Specify this, `acm_certificate_arn`, or `iam_certificate_id`.
* `iamCertificateId` (`str`) - The IAM certificate identifier of the custom viewer
certificate for this distribution if you are using a custom domain. Specify
this, `acm_certificate_arn`, or `cloudfront_default_certificate`.
* `minimumProtocolVersion` (`str`) - The minimum version of the SSL protocol that
you want CloudFront to use for HTTPS connections. Can only be set if
`cloudfront_default_certificate = false`. One of `SSLv3`, `TLSv1`,
`TLSv1_2016`, `TLSv1.1_2016` or `TLSv1.2_2018`. Default: `TLSv1`. **NOTE**:
If you are using a custom certificate (specified with `acm_certificate_arn`
or `iam_certificate_id`), and have specified `sni-only` in
`ssl_support_method`, `TLSv1` or later must be specified. If you have
specified `vip` in `ssl_support_method`, only `SSLv3` or `TLSv1` can be
specified. If you have specified `cloudfront_default_certificate`, `TLSv1`
must be specified.
* `sslSupportMethod` (`str`)
"""
wait_for_deployment: pulumi.Output[bool]
"""
If enabled, the resource will wait for
the distribution status to change from `InProgress` to `Deployed`. Setting
this to`false` will skip the process. Default: `true`.
"""
web_acl_id: pulumi.Output[str]
"""
If you're using AWS WAF to filter CloudFront
requests, the Id of the AWS WAF web ACL that is associated with the
distribution. The WAF Web ACL must exist in the WAF Global (CloudFront)
region and the credentials configuring this argument must have
`waf:GetWebACL` permissions assigned. If using WAFv2, provide the ARN of the web ACL.
"""
def __init__(__self__, resource_name, opts=None, aliases=None, comment=None, custom_error_responses=None, default_cache_behavior=None, default_root_object=None, enabled=None, http_version=None, is_ipv6_enabled=None, logging_config=None, ordered_cache_behaviors=None, origin_groups=None, origins=None, price_class=None, restrictions=None, retain_on_delete=None, tags=None, viewer_certificate=None, wait_for_deployment=None, web_acl_id=None, __props__=None, __name__=None, __opts__=None):
"""
Creates an Amazon CloudFront web distribution.
For information about CloudFront distributions, see the
[Amazon CloudFront Developer Guide](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html). For specific information about creating
CloudFront web distributions, see the [POST Distribution](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateDistribution.html) page in the Amazon
CloudFront API Reference.
> **NOTE:** CloudFront distributions take about 15 minutes to a deployed state
after creation or modification. During this time, deletes to resources will be
blocked. If you need to delete a distribution that is enabled and you do not
want to wait, you need to use the `retain_on_delete` flag.
## Example Usage
The following example below creates a CloudFront distribution with an S3 origin.
```python
import pulumi
import pulumi_aws as aws
bucket = aws.s3.Bucket("bucket",
acl="private",
tags={
"Name": "My bucket",
})
s3_origin_id = "myS3Origin"
s3_distribution = aws.cloudfront.Distribution("s3Distribution",
aliases=[
"mysite.example.com",
"yoursite.example.com",
],
comment="Some comment",
default_cache_behavior={
"allowedMethods": [
"DELETE",
"GET",
"HEAD",
"OPTIONS",
"PATCH",
"POST",
"PUT",
],
"cachedMethods": [
"GET",
"HEAD",
],
"defaultTtl": 3600,
"forwardedValues": {
"cookies": {
"forward": "none",
},
"queryString": False,
},
"maxTtl": 86400,
"minTtl": 0,
"targetOriginId": s3_origin_id,
"viewerProtocolPolicy": "allow-all",
},
default_root_object="index.html",
enabled=True,
is_ipv6_enabled=True,
logging_config={
"bucket": "mylogs.s3.amazonaws.com",
"includeCookies": False,
"prefix": "myprefix",
},
ordered_cache_behaviors=[
{
"allowedMethods": [
"GET",
"HEAD",
"OPTIONS",
],
"cachedMethods": [
"GET",
"HEAD",
"OPTIONS",
],
"compress": True,
"defaultTtl": 86400,
"forwardedValues": {
"cookies": {
"forward": "none",
},
"headers": ["Origin"],
"queryString": False,
},
"maxTtl": 31536000,
"minTtl": 0,
"pathPattern": "/content/immutable/*",
"targetOriginId": s3_origin_id,
"viewerProtocolPolicy": "redirect-to-https",
},
{
"allowedMethods": [
"GET",
"HEAD",
"OPTIONS",
],
"cachedMethods": [
"GET",
"HEAD",
],
"compress": True,
"defaultTtl": 3600,
"forwardedValues": {
"cookies": {
"forward": "none",
},
"queryString": False,
},
"maxTtl": 86400,
"minTtl": 0,
"pathPattern": "/content/*",
"targetOriginId": s3_origin_id,
"viewerProtocolPolicy": "redirect-to-https",
},
],
origins=[{
"domain_name": bucket.bucket_regional_domain_name,
"originId": s3_origin_id,
"s3OriginConfig": {
"originAccessIdentity": "origin-access-identity/cloudfront/ABCDEFG1234567",
},
}],
price_class="PriceClass_200",
restrictions={
"geoRestriction": {
"locations": [
"US",
"CA",
"GB",
"DE",
],
"restrictionType": "whitelist",
},
},
tags={
"Environment": "production",
},
viewer_certificate={
"cloudfrontDefaultCertificate": True,
})
```
The following example below creates a Cloudfront distribution with an origin group for failover routing:
```python
import pulumi
import pulumi_aws as aws
s3_distribution = aws.cloudfront.Distribution("s3Distribution",
default_cache_behavior={
"targetOriginId": "groupS3",
},
origins=[
{
"domain_name": aws_s3_bucket["primary"]["bucket_regional_domain_name"],
"originId": "primaryS3",
"s3OriginConfig": {
"originAccessIdentity": aws_cloudfront_origin_access_identity["default"]["cloudfront_access_identity_path"],
},
},
{
"domain_name": aws_s3_bucket["failover"]["bucket_regional_domain_name"],
"originId": "failoverS3",
"s3OriginConfig": {
"originAccessIdentity": aws_cloudfront_origin_access_identity["default"]["cloudfront_access_identity_path"],
},
},
],
origin_groups=[{
"failoverCriteria": {
"statusCodes": [
403,
404,
500,
502,
],
},
"members": [
{
"originId": "primaryS3",
},
{
"originId": "failoverS3",
},
],
"originId": "groupS3",
}])
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[list] aliases: Extra CNAMEs (alternate domain names), if any, for
this distribution.
:param pulumi.Input[str] comment: Any comments you want to include about the
distribution.
:param pulumi.Input[list] custom_error_responses: One or more custom error response elements (multiples allowed).
:param pulumi.Input[dict] default_cache_behavior: The default cache behavior for this distribution (maximum
one).
:param pulumi.Input[str] default_root_object: The object that you want CloudFront to
return (for example, index.html) when an end user requests the root URL.
:param pulumi.Input[bool] enabled: Whether the distribution is enabled to accept end
user requests for content.
:param pulumi.Input[str] http_version: The maximum HTTP version to support on the
distribution. Allowed values are `http1.1` and `http2`. The default is
`http2`.
:param pulumi.Input[bool] is_ipv6_enabled: Whether the IPv6 is enabled for the distribution.
:param pulumi.Input[dict] logging_config: The logging
configuration that controls how logs are written
to your distribution (maximum one).
:param pulumi.Input[list] ordered_cache_behaviors: An ordered list of cache behaviors
resource for this distribution. List from top to bottom
in order of precedence. The topmost cache behavior will have precedence 0.
:param pulumi.Input[list] origin_groups: One or more origin_group for this
distribution (multiples allowed).
:param pulumi.Input[list] origins: One or more origins for this
distribution (multiples allowed).
:param pulumi.Input[str] price_class: The price class for this distribution. One of
`PriceClass_All`, `PriceClass_200`, `PriceClass_100`
:param pulumi.Input[dict] restrictions: The restriction
configuration for this distribution (maximum one).
:param pulumi.Input[bool] retain_on_delete: Disables the distribution instead of
deleting it when destroying the resource. If this is set,
the distribution needs to be deleted manually afterwards. Default: `false`.
:param pulumi.Input[dict] tags: A map of tags to assign to the resource.
:param pulumi.Input[dict] viewer_certificate: The SSL
configuration for this distribution (maximum
one).
:param pulumi.Input[bool] wait_for_deployment: If enabled, the resource will wait for
the distribution status to change from `InProgress` to `Deployed`. Setting
this to`false` will skip the process. Default: `true`.
:param pulumi.Input[str] web_acl_id: If you're using AWS WAF to filter CloudFront
requests, the Id of the AWS WAF web ACL that is associated with the
distribution. The WAF Web ACL must exist in the WAF Global (CloudFront)
region and the credentials configuring this argument must have
`waf:GetWebACL` permissions assigned. If using WAFv2, provide the ARN of the web ACL.
The **custom_error_responses** object supports the following:
* `errorCachingMinTtl` (`pulumi.Input[float]`) - The minimum amount of time you want
HTTP error codes to stay in CloudFront caches before CloudFront queries your
origin to see whether the object has been updated.
* `errorCode` (`pulumi.Input[float]`) - The 4xx or 5xx HTTP status code that you want to
customize.
* `responseCode` (`pulumi.Input[float]`) - The HTTP status code that you want CloudFront
to return with the custom error page to the viewer.
* `responsePagePath` (`pulumi.Input[str]`) - The path of the custom error page (for
example, `/custom_404.html`).
The **default_cache_behavior** object supports the following:
* `allowedMethods` (`pulumi.Input[list]`) - Controls which HTTP methods CloudFront
processes and forwards to your Amazon S3 bucket or your custom origin.
* `cachedMethods` (`pulumi.Input[list]`) - Controls whether CloudFront caches the
response to requests using the specified HTTP methods.
* `compress` (`pulumi.Input[bool]`) - Whether you want CloudFront to automatically
compress content for web requests that include `Accept-Encoding: gzip` in
the request header (default: `false`).
* `defaultTtl` (`pulumi.Input[float]`) - The default amount of time (in seconds) that an
object is in a CloudFront cache before CloudFront forwards another request
in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to
1 day.
* `fieldLevelEncryptionId` (`pulumi.Input[str]`) - Field level encryption configuration ID
* `forwardedValues` (`pulumi.Input[dict]`) - The forwarded values configuration that specifies how CloudFront
handles query strings, cookies and headers (maximum one).
* `cookies` (`pulumi.Input[dict]`) - The forwarded values cookies
that specifies how CloudFront handles cookies (maximum one).
* `forward` (`pulumi.Input[str]`) - Specifies whether you want CloudFront to forward
cookies to the origin that is associated with this cache behavior. You can
specify `all`, `none` or `whitelist`. If `whitelist`, you must include the
subsequent `whitelisted_names`
* `whitelistedNames` (`pulumi.Input[list]`) - If you have specified `whitelist` to
`forward`, the whitelisted cookies that you want CloudFront to forward to
your origin.
* `headers` (`pulumi.Input[list]`) - Specifies the Headers, if any, that you want
CloudFront to vary upon for this cache behavior. Specify `*` to include all
headers.
* `queryString` (`pulumi.Input[bool]`) - Indicates whether you want CloudFront to forward
query strings to the origin that is associated with this cache behavior.
* `queryStringCacheKeys` (`pulumi.Input[list]`) - When specified, along with a value of
`true` for `query_string`, all query strings are forwarded, however only the
query string keys listed in this argument are cached. When omitted with a
value of `true` for `query_string`, all query string keys are cached.
* `lambdaFunctionAssociations` (`pulumi.Input[list]`) - A config block that triggers a lambda function with
specific actions. Defined below, maximum 4.
* `eventType` (`pulumi.Input[str]`) - The specific event to trigger this function.
Valid values: `viewer-request`, `origin-request`, `viewer-response`,
`origin-response`
* `includeBody` (`pulumi.Input[bool]`) - When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.
* `lambdaArn` (`pulumi.Input[str]`) - ARN of the Lambda function.
* `maxTtl` (`pulumi.Input[float]`) - The maximum amount of time (in seconds) that an
object is in a CloudFront cache before CloudFront forwards another request
to your origin to determine whether the object has been updated. Only
effective in the presence of `Cache-Control max-age`, `Cache-Control
s-maxage`, and `Expires` headers. Defaults to 365 days.
* `minTtl` (`pulumi.Input[float]`) - The minimum amount of time that you want objects to
stay in CloudFront caches before CloudFront queries your origin to see
whether the object has been updated. Defaults to 0 seconds.
* `smoothStreaming` (`pulumi.Input[bool]`) - Indicates whether you want to distribute
media files in Microsoft Smooth Streaming format using the origin that is
associated with this cache behavior.
* `targetOriginId` (`pulumi.Input[str]`) - The value of ID for the origin that you want
CloudFront to route requests to when a request matches the path pattern
either for a cache behavior or for the default cache behavior.
* `trustedSigners` (`pulumi.Input[list]`) - The AWS accounts, if any, that you want to
allow to create signed URLs for private content.
* `viewerProtocolPolicy` (`pulumi.Input[str]`) - Use this element to specify the
protocol that users can use to access the files in the origin specified by
TargetOriginId when a request matches the path pattern in PathPattern. One
of `allow-all`, `https-only`, or `redirect-to-https`.
The **logging_config** object supports the following:
* `bucket` (`pulumi.Input[str]`) - The Amazon S3 bucket to store the access logs in, for
example, `myawslogbucket.s3.amazonaws.com`.
* `includeCookies` (`pulumi.Input[bool]`) - Specifies whether you want CloudFront to
include cookies in access logs (default: `false`).
* `prefix` (`pulumi.Input[str]`) - An optional string that you want CloudFront to prefix
to the access log filenames for this distribution, for example, `myprefix/`.
The **ordered_cache_behaviors** object supports the following:
* `allowedMethods` (`pulumi.Input[list]`) - Controls which HTTP methods CloudFront
processes and forwards to your Amazon S3 bucket or your custom origin.
* `cachedMethods` (`pulumi.Input[list]`) - Controls whether CloudFront caches the
response to requests using the specified HTTP methods.
* `compress` (`pulumi.Input[bool]`) - Whether you want CloudFront to automatically
compress content for web requests that include `Accept-Encoding: gzip` in
the request header (default: `false`).
* `defaultTtl` (`pulumi.Input[float]`) - The default amount of time (in seconds) that an
object is in a CloudFront cache before CloudFront forwards another request
in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to
1 day.
* `fieldLevelEncryptionId` (`pulumi.Input[str]`) - Field level encryption configuration ID
* `forwardedValues` (`pulumi.Input[dict]`) - The forwarded values configuration that specifies how CloudFront
handles query strings, cookies and headers (maximum one).
* `cookies` (`pulumi.Input[dict]`) - The forwarded values cookies
that specifies how CloudFront handles cookies (maximum one).
* `forward` (`pulumi.Input[str]`) - Specifies whether you want CloudFront to forward
cookies to the origin that is associated with this cache behavior. You can
specify `all`, `none` or `whitelist`. If `whitelist`, you must include the
subsequent `whitelisted_names`
* `whitelistedNames` (`pulumi.Input[list]`) - If you have specified `whitelist` to
`forward`, the whitelisted cookies that you want CloudFront to forward to
your origin.
* `headers` (`pulumi.Input[list]`) - Specifies the Headers, if any, that you want
CloudFront to vary upon for this cache behavior. Specify `*` to include all
headers.
* `queryString` (`pulumi.Input[bool]`) - Indicates whether you want CloudFront to forward
query strings to the origin that is associated with this cache behavior.
* `queryStringCacheKeys` (`pulumi.Input[list]`) - When specified, along with a value of
`true` for `query_string`, all query strings are forwarded, however only the
query string keys listed in this argument are cached. When omitted with a
value of `true` for `query_string`, all query string keys are cached.
* `lambdaFunctionAssociations` (`pulumi.Input[list]`) - A config block that triggers a lambda function with
specific actions. Defined below, maximum 4.
* `eventType` (`pulumi.Input[str]`) - The specific event to trigger this function.
Valid values: `viewer-request`, `origin-request`, `viewer-response`,
`origin-response`
* `includeBody` (`pulumi.Input[bool]`) - When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.
* `lambdaArn` (`pulumi.Input[str]`) - ARN of the Lambda function.
* `maxTtl` (`pulumi.Input[float]`) - The maximum amount of time (in seconds) that an
object is in a CloudFront cache before CloudFront forwards another request
to your origin to determine whether the object has been updated. Only
effective in the presence of `Cache-Control max-age`, `Cache-Control
s-maxage`, and `Expires` headers. Defaults to 365 days.
* `minTtl` (`pulumi.Input[float]`) - The minimum amount of time that you want objects to
stay in CloudFront caches before CloudFront queries your origin to see
whether the object has been updated. Defaults to 0 seconds.
* `pathPattern` (`pulumi.Input[str]`) - The pattern (for example, `images/*.jpg)` that
specifies which requests you want this cache behavior to apply to.
* `smoothStreaming` (`pulumi.Input[bool]`) - Indicates whether you want to distribute
media files in Microsoft Smooth Streaming format using the origin that is
associated with this cache behavior.
* `targetOriginId` (`pulumi.Input[str]`) - The value of ID for the origin that you want
CloudFront to route requests to when a request matches the path pattern
either for a cache behavior or for the default cache behavior.
* `trustedSigners` (`pulumi.Input[list]`) - The AWS accounts, if any, that you want to
allow to create signed URLs for private content.
* `viewerProtocolPolicy` (`pulumi.Input[str]`) - Use this element to specify the
protocol that users can use to access the files in the origin specified by
TargetOriginId when a request matches the path pattern in PathPattern. One
of `allow-all`, `https-only`, or `redirect-to-https`.
The **origin_groups** object supports the following:
* `failoverCriteria` (`pulumi.Input[dict]`) - The failover criteria for when to failover to the secondary origin
* `statusCodes` (`pulumi.Input[list]`) - A list of HTTP status codes for the origin group
* `members` (`pulumi.Input[list]`) - Ordered member configuration blocks assigned to the origin group, where the first member is the primary origin. You must specify two members.
* `originId` (`pulumi.Input[str]`) - The unique identifier of the member origin
* `originId` (`pulumi.Input[str]`) - The unique identifier of the member origin
The **origins** object supports the following:
* `customHeaders` (`pulumi.Input[list]`) - One or more sub-resources with `name` and
`value` parameters that specify header data that will be sent to the origin
(multiples allowed).
* `name` (`pulumi.Input[str]`)
* `value` (`pulumi.Input[str]`)
* `customOriginConfig` (`pulumi.Input[dict]`) - The CloudFront custom
origin configuration information. If an S3
origin is required, use `s3_origin_config` instead.
* `httpPort` (`pulumi.Input[float]`) - The HTTP port the custom origin listens on.
* `httpsPort` (`pulumi.Input[float]`) - The HTTPS port the custom origin listens on.
* `originKeepaliveTimeout` (`pulumi.Input[float]`) - The Custom KeepAlive timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
* `originProtocolPolicy` (`pulumi.Input[str]`) - The origin protocol policy to apply to
your origin. One of `http-only`, `https-only`, or `match-viewer`.
* `originReadTimeout` (`pulumi.Input[float]`) - The Custom Read timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
* `originSslProtocols` (`pulumi.Input[list]`) - The SSL/TLS protocols that you want
CloudFront to use when communicating with your origin over HTTPS. A list of
one or more of `SSLv3`, `TLSv1`, `TLSv1.1`, and `TLSv1.2`.
* `domain_name` (`pulumi.Input[str]`) - The DNS domain name of either the S3 bucket, or
web site of your custom origin.
* `originId` (`pulumi.Input[str]`) - The unique identifier of the member origin
* `originPath` (`pulumi.Input[str]`) - An optional element that causes CloudFront to
request your content from a directory in your Amazon S3 bucket or your
custom origin.
* `s3OriginConfig` (`pulumi.Input[dict]`) - The CloudFront S3 origin
configuration information. If a custom origin is required, use
`custom_origin_config` instead.
* `originAccessIdentity` (`pulumi.Input[str]`) - The [CloudFront origin access
identity][5] to associate with the origin.
The **restrictions** object supports the following:
* `geoRestriction` (`pulumi.Input[dict]`)
* `locations` (`pulumi.Input[list]`) - The [ISO 3166-1-alpha-2 codes][4] for which you
want CloudFront either to distribute your content (`whitelist`) or not
distribute your content (`blacklist`).
* `restrictionType` (`pulumi.Input[str]`) - The method that you want to use to restrict
distribution of your content by country: `none`, `whitelist`, or
`blacklist`.
The **viewer_certificate** object supports the following:
* `acmCertificateArn` (`pulumi.Input[str]`) - The ARN of the [AWS Certificate Manager](https://aws.amazon.com/certificate-manager/)
certificate that you wish to use with this distribution. Specify this,
`cloudfront_default_certificate`, or `iam_certificate_id`. The ACM
certificate must be in US-EAST-1.
* `cloudfrontDefaultCertificate` (`pulumi.Input[bool]`) - `true` if you want viewers to use HTTPS
to request your objects and you're using the CloudFront domain name for your
distribution. Specify this, `acm_certificate_arn`, or `iam_certificate_id`.
* `iamCertificateId` (`pulumi.Input[str]`) - The IAM certificate identifier of the custom viewer
certificate for this distribution if you are using a custom domain. Specify
this, `acm_certificate_arn`, or `cloudfront_default_certificate`.
* `minimumProtocolVersion` (`pulumi.Input[str]`) - The minimum version of the SSL protocol that
you want CloudFront to use for HTTPS connections. Can only be set if
`cloudfront_default_certificate = false`. One of `SSLv3`, `TLSv1`,
`TLSv1_2016`, `TLSv1.1_2016` or `TLSv1.2_2018`. Default: `TLSv1`. **NOTE**:
If you are using a custom certificate (specified with `acm_certificate_arn`
or `iam_certificate_id`), and have specified `sni-only` in
`ssl_support_method`, `TLSv1` or later must be specified. If you have
specified `vip` in `ssl_support_method`, only `SSLv3` or `TLSv1` can be
specified. If you have specified `cloudfront_default_certificate`, `TLSv1`
must be specified.
* `sslSupportMethod` (`pulumi.Input[str]`)
"""
if __name__ is not None:
warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning)
resource_name = __name__
if __opts__ is not None:
warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning)
opts = __opts__
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = dict()
__props__['aliases'] = aliases
__props__['comment'] = comment
__props__['custom_error_responses'] = custom_error_responses
if default_cache_behavior is None:
raise TypeError("Missing required property 'default_cache_behavior'")
__props__['default_cache_behavior'] = default_cache_behavior
__props__['default_root_object'] = default_root_object
if enabled is None:
raise TypeError("Missing required property 'enabled'")
__props__['enabled'] = enabled
__props__['http_version'] = http_version
__props__['is_ipv6_enabled'] = is_ipv6_enabled
__props__['logging_config'] = logging_config
__props__['ordered_cache_behaviors'] = ordered_cache_behaviors
__props__['origin_groups'] = origin_groups
if origins is None:
raise TypeError("Missing required property 'origins'")
__props__['origins'] = origins
__props__['price_class'] = price_class
if restrictions is None:
raise TypeError("Missing required property 'restrictions'")
__props__['restrictions'] = restrictions
__props__['retain_on_delete'] = retain_on_delete
__props__['tags'] = tags
if viewer_certificate is None:
raise TypeError("Missing required property 'viewer_certificate'")
__props__['viewer_certificate'] = viewer_certificate
__props__['wait_for_deployment'] = wait_for_deployment
__props__['web_acl_id'] = web_acl_id
__props__['active_trusted_signers'] = None
__props__['arn'] = None
__props__['caller_reference'] = None
__props__['domain_name'] = None
__props__['etag'] = None
__props__['hosted_zone_id'] = None
__props__['in_progress_validation_batches'] = None
__props__['last_modified_time'] = None
__props__['status'] = None
super(Distribution, __self__).__init__(
'aws:cloudfront/distribution:Distribution',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name, id, opts=None, active_trusted_signers=None, aliases=None, arn=None, caller_reference=None, comment=None, custom_error_responses=None, default_cache_behavior=None, default_root_object=None, domain_name=None, enabled=None, etag=None, hosted_zone_id=None, http_version=None, in_progress_validation_batches=None, is_ipv6_enabled=None, last_modified_time=None, logging_config=None, ordered_cache_behaviors=None, origin_groups=None, origins=None, price_class=None, restrictions=None, retain_on_delete=None, status=None, tags=None, viewer_certificate=None, wait_for_deployment=None, web_acl_id=None):
"""
Get an existing Distribution resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param str id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[dict] active_trusted_signers: The key pair IDs that CloudFront is aware of for
each trusted signer, if the distribution is set up to serve private content
with signed URLs.
:param pulumi.Input[list] aliases: Extra CNAMEs (alternate domain names), if any, for
this distribution.
:param pulumi.Input[str] arn: The ARN (Amazon Resource Name) for the distribution. For example: `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where `123456789012` is your AWS account ID.
:param pulumi.Input[str] caller_reference: Internal value used by CloudFront to allow future
updates to the distribution configuration.
:param pulumi.Input[str] comment: Any comments you want to include about the
distribution.
:param pulumi.Input[list] custom_error_responses: One or more custom error response elements (multiples allowed).
:param pulumi.Input[dict] default_cache_behavior: The default cache behavior for this distribution (maximum
one).
:param pulumi.Input[str] default_root_object: The object that you want CloudFront to
return (for example, index.html) when an end user requests the root URL.
:param pulumi.Input[str] domain_name: The DNS domain name of either the S3 bucket, or
web site of your custom origin.
:param pulumi.Input[bool] enabled: Whether the distribution is enabled to accept end
user requests for content.
:param pulumi.Input[str] etag: The current version of the distribution's information. For example:
`E2QWRUHAPOMQZL`.
:param pulumi.Input[str] hosted_zone_id: The CloudFront Route 53 zone ID that can be used to
route an [Alias Resource Record Set](http://docs.aws.amazon.com/Route53/latest/APIReference/CreateAliasRRSAPI.html) to. This attribute is simply an
alias for the zone ID `Z2FDTNDATAQYW2`.
:param pulumi.Input[str] http_version: The maximum HTTP version to support on the
distribution. Allowed values are `http1.1` and `http2`. The default is
`http2`.
:param pulumi.Input[float] in_progress_validation_batches: The number of invalidation batches
currently in progress.
:param pulumi.Input[bool] is_ipv6_enabled: Whether the IPv6 is enabled for the distribution.
:param pulumi.Input[str] last_modified_time: The date and time the distribution was last modified.
:param pulumi.Input[dict] logging_config: The logging
configuration that controls how logs are written
to your distribution (maximum one).
:param pulumi.Input[list] ordered_cache_behaviors: An ordered list of cache behaviors
resource for this distribution. List from top to bottom
in order of precedence. The topmost cache behavior will have precedence 0.
:param pulumi.Input[list] origin_groups: One or more origin_group for this
distribution (multiples allowed).
:param pulumi.Input[list] origins: One or more origins for this
distribution (multiples allowed).
:param pulumi.Input[str] price_class: The price class for this distribution. One of
`PriceClass_All`, `PriceClass_200`, `PriceClass_100`
:param pulumi.Input[dict] restrictions: The restriction
configuration for this distribution (maximum one).
:param pulumi.Input[bool] retain_on_delete: Disables the distribution instead of
deleting it when destroying the resource. If this is set,
the distribution needs to be deleted manually afterwards. Default: `false`.
:param pulumi.Input[str] status: The current status of the distribution. `Deployed` if the
distribution's information is fully propagated throughout the Amazon
CloudFront system.
:param pulumi.Input[dict] tags: A map of tags to assign to the resource.
:param pulumi.Input[dict] viewer_certificate: The SSL
configuration for this distribution (maximum
one).
:param pulumi.Input[bool] wait_for_deployment: If enabled, the resource will wait for
the distribution status to change from `InProgress` to `Deployed`. Setting
this to`false` will skip the process. Default: `true`.
:param pulumi.Input[str] web_acl_id: If you're using AWS WAF to filter CloudFront
requests, the Id of the AWS WAF web ACL that is associated with the
distribution. The WAF Web ACL must exist in the WAF Global (CloudFront)
region and the credentials configuring this argument must have
`waf:GetWebACL` permissions assigned. If using WAFv2, provide the ARN of the web ACL.
The **custom_error_responses** object supports the following:
* `errorCachingMinTtl` (`pulumi.Input[float]`) - The minimum amount of time you want
HTTP error codes to stay in CloudFront caches before CloudFront queries your
origin to see whether the object has been updated.
* `errorCode` (`pulumi.Input[float]`) - The 4xx or 5xx HTTP status code that you want to
customize.
* `responseCode` (`pulumi.Input[float]`) - The HTTP status code that you want CloudFront
to return with the custom error page to the viewer.
* `responsePagePath` (`pulumi.Input[str]`) - The path of the custom error page (for
example, `/custom_404.html`).
The **default_cache_behavior** object supports the following:
* `allowedMethods` (`pulumi.Input[list]`) - Controls which HTTP methods CloudFront
processes and forwards to your Amazon S3 bucket or your custom origin.
* `cachedMethods` (`pulumi.Input[list]`) - Controls whether CloudFront caches the
response to requests using the specified HTTP methods.
* `compress` (`pulumi.Input[bool]`) - Whether you want CloudFront to automatically
compress content for web requests that include `Accept-Encoding: gzip` in
the request header (default: `false`).
* `defaultTtl` (`pulumi.Input[float]`) - The default amount of time (in seconds) that an
object is in a CloudFront cache before CloudFront forwards another request
in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to
1 day.
* `fieldLevelEncryptionId` (`pulumi.Input[str]`) - Field level encryption configuration ID
* `forwardedValues` (`pulumi.Input[dict]`) - The forwarded values configuration that specifies how CloudFront
handles query strings, cookies and headers (maximum one).
* `cookies` (`pulumi.Input[dict]`) - The forwarded values cookies
that specifies how CloudFront handles cookies (maximum one).
* `forward` (`pulumi.Input[str]`) - Specifies whether you want CloudFront to forward
cookies to the origin that is associated with this cache behavior. You can
specify `all`, `none` or `whitelist`. If `whitelist`, you must include the
subsequent `whitelisted_names`
* `whitelistedNames` (`pulumi.Input[list]`) - If you have specified `whitelist` to
`forward`, the whitelisted cookies that you want CloudFront to forward to
your origin.
* `headers` (`pulumi.Input[list]`) - Specifies the Headers, if any, that you want
CloudFront to vary upon for this cache behavior. Specify `*` to include all
headers.
* `queryString` (`pulumi.Input[bool]`) - Indicates whether you want CloudFront to forward
query strings to the origin that is associated with this cache behavior.
* `queryStringCacheKeys` (`pulumi.Input[list]`) - When specified, along with a value of
`true` for `query_string`, all query strings are forwarded, however only the
query string keys listed in this argument are cached. When omitted with a
value of `true` for `query_string`, all query string keys are cached.
* `lambdaFunctionAssociations` (`pulumi.Input[list]`) - A config block that triggers a lambda function with
specific actions. Defined below, maximum 4.
* `eventType` (`pulumi.Input[str]`) - The specific event to trigger this function.
Valid values: `viewer-request`, `origin-request`, `viewer-response`,
`origin-response`
* `includeBody` (`pulumi.Input[bool]`) - When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.
* `lambdaArn` (`pulumi.Input[str]`) - ARN of the Lambda function.
* `maxTtl` (`pulumi.Input[float]`) - The maximum amount of time (in seconds) that an
object is in a CloudFront cache before CloudFront forwards another request
to your origin to determine whether the object has been updated. Only
effective in the presence of `Cache-Control max-age`, `Cache-Control
s-maxage`, and `Expires` headers. Defaults to 365 days.
* `minTtl` (`pulumi.Input[float]`) - The minimum amount of time that you want objects to
stay in CloudFront caches before CloudFront queries your origin to see
whether the object has been updated. Defaults to 0 seconds.
* `smoothStreaming` (`pulumi.Input[bool]`) - Indicates whether you want to distribute
media files in Microsoft Smooth Streaming format using the origin that is
associated with this cache behavior.
* `targetOriginId` (`pulumi.Input[str]`) - The value of ID for the origin that you want
CloudFront to route requests to when a request matches the path pattern
either for a cache behavior or for the default cache behavior.
* `trustedSigners` (`pulumi.Input[list]`) - The AWS accounts, if any, that you want to
allow to create signed URLs for private content.
* `viewerProtocolPolicy` (`pulumi.Input[str]`) - Use this element to specify the
protocol that users can use to access the files in the origin specified by
TargetOriginId when a request matches the path pattern in PathPattern. One
of `allow-all`, `https-only`, or `redirect-to-https`.
The **logging_config** object supports the following:
* `bucket` (`pulumi.Input[str]`) - The Amazon S3 bucket to store the access logs in, for
example, `myawslogbucket.s3.amazonaws.com`.
* `includeCookies` (`pulumi.Input[bool]`) - Specifies whether you want CloudFront to
include cookies in access logs (default: `false`).
* `prefix` (`pulumi.Input[str]`) - An optional string that you want CloudFront to prefix
to the access log filenames for this distribution, for example, `myprefix/`.
The **ordered_cache_behaviors** object supports the following:
* `allowedMethods` (`pulumi.Input[list]`) - Controls which HTTP methods CloudFront
processes and forwards to your Amazon S3 bucket or your custom origin.
* `cachedMethods` (`pulumi.Input[list]`) - Controls whether CloudFront caches the
response to requests using the specified HTTP methods.
* `compress` (`pulumi.Input[bool]`) - Whether you want CloudFront to automatically
compress content for web requests that include `Accept-Encoding: gzip` in
the request header (default: `false`).
* `defaultTtl` (`pulumi.Input[float]`) - The default amount of time (in seconds) that an
object is in a CloudFront cache before CloudFront forwards another request
in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to
1 day.
* `fieldLevelEncryptionId` (`pulumi.Input[str]`) - Field level encryption configuration ID
* `forwardedValues` (`pulumi.Input[dict]`) - The forwarded values configuration that specifies how CloudFront
handles query strings, cookies and headers (maximum one).
* `cookies` (`pulumi.Input[dict]`) - The forwarded values cookies
that specifies how CloudFront handles cookies (maximum one).
* `forward` (`pulumi.Input[str]`) - Specifies whether you want CloudFront to forward
cookies to the origin that is associated with this cache behavior. You can
specify `all`, `none` or `whitelist`. If `whitelist`, you must include the
subsequent `whitelisted_names`
* `whitelistedNames` (`pulumi.Input[list]`) - If you have specified `whitelist` to
`forward`, the whitelisted cookies that you want CloudFront to forward to
your origin.
* `headers` (`pulumi.Input[list]`) - Specifies the Headers, if any, that you want
CloudFront to vary upon for this cache behavior. Specify `*` to include all
headers.
* `queryString` (`pulumi.Input[bool]`) - Indicates whether you want CloudFront to forward
query strings to the origin that is associated with this cache behavior.
* `queryStringCacheKeys` (`pulumi.Input[list]`) - When specified, along with a value of
`true` for `query_string`, all query strings are forwarded, however only the
query string keys listed in this argument are cached. When omitted with a
value of `true` for `query_string`, all query string keys are cached.
* `lambdaFunctionAssociations` (`pulumi.Input[list]`) - A config block that triggers a lambda function with
specific actions. Defined below, maximum 4.
* `eventType` (`pulumi.Input[str]`) - The specific event to trigger this function.
Valid values: `viewer-request`, `origin-request`, `viewer-response`,
`origin-response`
* `includeBody` (`pulumi.Input[bool]`) - When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.
* `lambdaArn` (`pulumi.Input[str]`) - ARN of the Lambda function.
* `maxTtl` (`pulumi.Input[float]`) - The maximum amount of time (in seconds) that an
object is in a CloudFront cache before CloudFront forwards another request
to your origin to determine whether the object has been updated. Only
effective in the presence of `Cache-Control max-age`, `Cache-Control
s-maxage`, and `Expires` headers. Defaults to 365 days.
* `minTtl` (`pulumi.Input[float]`) - The minimum amount of time that you want objects to
stay in CloudFront caches before CloudFront queries your origin to see
whether the object has been updated. Defaults to 0 seconds.
* `pathPattern` (`pulumi.Input[str]`) - The pattern (for example, `images/*.jpg)` that
specifies which requests you want this cache behavior to apply to.
* `smoothStreaming` (`pulumi.Input[bool]`) - Indicates whether you want to distribute
media files in Microsoft Smooth Streaming format using the origin that is
associated with this cache behavior.
* `targetOriginId` (`pulumi.Input[str]`) - The value of ID for the origin that you want
CloudFront to route requests to when a request matches the path pattern
either for a cache behavior or for the default cache behavior.
* `trustedSigners` (`pulumi.Input[list]`) - The AWS accounts, if any, that you want to
allow to create signed URLs for private content.
* `viewerProtocolPolicy` (`pulumi.Input[str]`) - Use this element to specify the
protocol that users can use to access the files in the origin specified by
TargetOriginId when a request matches the path pattern in PathPattern. One
of `allow-all`, `https-only`, or `redirect-to-https`.
The **origin_groups** object supports the following:
* `failoverCriteria` (`pulumi.Input[dict]`) - The failover criteria for when to failover to the secondary origin
* `statusCodes` (`pulumi.Input[list]`) - A list of HTTP status codes for the origin group
* `members` (`pulumi.Input[list]`) - Ordered member configuration blocks assigned to the origin group, where the first member is the primary origin. You must specify two members.
* `originId` (`pulumi.Input[str]`) - The unique identifier of the member origin
* `originId` (`pulumi.Input[str]`) - The unique identifier of the member origin
The **origins** object supports the following:
* `customHeaders` (`pulumi.Input[list]`) - One or more sub-resources with `name` and
`value` parameters that specify header data that will be sent to the origin
(multiples allowed).
* `name` (`pulumi.Input[str]`)
* `value` (`pulumi.Input[str]`)
* `customOriginConfig` (`pulumi.Input[dict]`) - The CloudFront custom
origin configuration information. If an S3
origin is required, use `s3_origin_config` instead.
* `httpPort` (`pulumi.Input[float]`) - The HTTP port the custom origin listens on.
* `httpsPort` (`pulumi.Input[float]`) - The HTTPS port the custom origin listens on.
* `originKeepaliveTimeout` (`pulumi.Input[float]`) - The Custom KeepAlive timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
* `originProtocolPolicy` (`pulumi.Input[str]`) - The origin protocol policy to apply to
your origin. One of `http-only`, `https-only`, or `match-viewer`.
* `originReadTimeout` (`pulumi.Input[float]`) - The Custom Read timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
* `originSslProtocols` (`pulumi.Input[list]`) - The SSL/TLS protocols that you want
CloudFront to use when communicating with your origin over HTTPS. A list of
one or more of `SSLv3`, `TLSv1`, `TLSv1.1`, and `TLSv1.2`.
* `domain_name` (`pulumi.Input[str]`) - The DNS domain name of either the S3 bucket, or
web site of your custom origin.
* `originId` (`pulumi.Input[str]`) - The unique identifier of the member origin
* `originPath` (`pulumi.Input[str]`) - An optional element that causes CloudFront to
request your content from a directory in your Amazon S3 bucket or your
custom origin.
* `s3OriginConfig` (`pulumi.Input[dict]`) - The CloudFront S3 origin
configuration information. If a custom origin is required, use
`custom_origin_config` instead.
* `originAccessIdentity` (`pulumi.Input[str]`) - The [CloudFront origin access
identity][5] to associate with the origin.
The **restrictions** object supports the following:
* `geoRestriction` (`pulumi.Input[dict]`)
* `locations` (`pulumi.Input[list]`) - The [ISO 3166-1-alpha-2 codes][4] for which you
want CloudFront either to distribute your content (`whitelist`) or not
distribute your content (`blacklist`).
* `restrictionType` (`pulumi.Input[str]`) - The method that you want to use to restrict
distribution of your content by country: `none`, `whitelist`, or
`blacklist`.
The **viewer_certificate** object supports the following:
* `acmCertificateArn` (`pulumi.Input[str]`) - The ARN of the [AWS Certificate Manager](https://aws.amazon.com/certificate-manager/)
certificate that you wish to use with this distribution. Specify this,
`cloudfront_default_certificate`, or `iam_certificate_id`. The ACM
certificate must be in US-EAST-1.
* `cloudfrontDefaultCertificate` (`pulumi.Input[bool]`) - `true` if you want viewers to use HTTPS
to request your objects and you're using the CloudFront domain name for your
distribution. Specify this, `acm_certificate_arn`, or `iam_certificate_id`.
* `iamCertificateId` (`pulumi.Input[str]`) - The IAM certificate identifier of the custom viewer
certificate for this distribution if you are using a custom domain. Specify
this, `acm_certificate_arn`, or `cloudfront_default_certificate`.
* `minimumProtocolVersion` (`pulumi.Input[str]`) - The minimum version of the SSL protocol that
you want CloudFront to use for HTTPS connections. Can only be set if
`cloudfront_default_certificate = false`. One of `SSLv3`, `TLSv1`,
`TLSv1_2016`, `TLSv1.1_2016` or `TLSv1.2_2018`. Default: `TLSv1`. **NOTE**:
If you are using a custom certificate (specified with `acm_certificate_arn`
or `iam_certificate_id`), and have specified `sni-only` in
`ssl_support_method`, `TLSv1` or later must be specified. If you have
specified `vip` in `ssl_support_method`, only `SSLv3` or `TLSv1` can be
specified. If you have specified `cloudfront_default_certificate`, `TLSv1`
must be specified.
* `sslSupportMethod` (`pulumi.Input[str]`)
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = dict()
__props__["active_trusted_signers"] = active_trusted_signers
__props__["aliases"] = aliases
__props__["arn"] = arn
__props__["caller_reference"] = caller_reference
__props__["comment"] = comment
__props__["custom_error_responses"] = custom_error_responses
__props__["default_cache_behavior"] = default_cache_behavior
__props__["default_root_object"] = default_root_object
__props__["domain_name"] = domain_name
__props__["enabled"] = enabled
__props__["etag"] = etag
__props__["hosted_zone_id"] = hosted_zone_id
__props__["http_version"] = http_version
__props__["in_progress_validation_batches"] = in_progress_validation_batches
__props__["is_ipv6_enabled"] = is_ipv6_enabled
__props__["last_modified_time"] = last_modified_time
__props__["logging_config"] = logging_config
__props__["ordered_cache_behaviors"] = ordered_cache_behaviors
__props__["origin_groups"] = origin_groups
__props__["origins"] = origins
__props__["price_class"] = price_class
__props__["restrictions"] = restrictions
__props__["retain_on_delete"] = retain_on_delete
__props__["status"] = status
__props__["tags"] = tags
__props__["viewer_certificate"] = viewer_certificate
__props__["wait_for_deployment"] = wait_for_deployment
__props__["web_acl_id"] = web_acl_id
return Distribution(resource_name, opts=opts, __props__=__props__)
def translate_output_property(self, prop):
return tables._CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop
def translate_input_property(self, prop):
return tables._SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop
| 60.669071 | 620 | 0.644205 | 8,923 | 75,715 | 5.377115 | 0.064328 | 0.047457 | 0.022468 | 0.021384 | 0.904314 | 0.894623 | 0.888224 | 0.881742 | 0.86682 | 0.859233 | 0 | 0.007518 | 0.27272 | 75,715 | 1,247 | 621 | 60.717723 | 0.8638 | 0.585128 | 0 | 0.015267 | 1 | 0 | 0.167907 | 0.040149 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030534 | false | 0.007634 | 0.038168 | 0.015267 | 0.312977 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0ab4213b70acfff73f31aa08a2c8aeb61ae89666 | 6,876 | py | Python | tests/tests_vcnaccount_delete_view.py | hbuyse/dj-vcn-accounts | 27100428b3a4bccaa0b03752366c98e81f333230 | [
"MIT"
] | null | null | null | tests/tests_vcnaccount_delete_view.py | hbuyse/dj-vcn-accounts | 27100428b3a4bccaa0b03752366c98e81f333230 | [
"MIT"
] | null | null | null | tests/tests_vcnaccount_delete_view.py | hbuyse/dj-vcn-accounts | 27100428b3a4bccaa0b03752366c98e81f333230 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# coding=utf-8
"""Tests the views."""
from django.contrib.auth import get_user_model
from django.test import TestCase
from django.urls import reverse
class TestVcnAccountDeleteViewAsAnonymous(TestCase):
"""Tests."""
def setUp(self):
"""Tests."""
self.dict = {
'username': "hbuyse",
'password': "usermodel",
'first_name': "Henri",
'last_name': "Buyse"
}
self.user = get_user_model().objects.create_user(**self.dict)
def test_get(self):
"""Tests."""
r = self.client.get(reverse('dj-vcn-accounts:delete', kwargs={'slug': self.user.get_username()}))
self.assertEqual(r.status_code, 403)
def test_post(self):
"""Tests."""
r = self.client.post(reverse('dj-vcn-accounts:delete', kwargs={'slug': self.user.get_username()}))
self.assertEqual(r.status_code, 403)
class TestVcnAccountDeleteViewAsLogged(TestCase):
"""Tests."""
def setUp(self):
"""Tests."""
self.dict = {
'username': "hbuyse",
'password': "usermodel",
'first_name': "Henri",
'last_name': "Buyse"
}
self.user = get_user_model().objects.create_user(**self.dict)
def test_get_not_own_account(self):
"""Tests."""
u = get_user_model().objects.create_user(username="toto", password="toto")
self.assertTrue(self.client.login(username=self.dict['username'], password=self.dict['password']))
r = self.client.get(reverse('dj-vcn-accounts:delete', kwargs={'slug': u.get_username()}))
self.assertEqual(r.status_code, 403)
def test_post_not_own_account(self):
"""Tests."""
u = get_user_model().objects.create_user(username="toto", password="toto")
self.assertTrue(self.client.login(username=self.dict['username'], password=self.dict['password']))
r = self.client.post(reverse('dj-vcn-accounts:delete', kwargs={'slug': u.get_username()}), self.dict)
self.assertEqual(r.status_code, 403)
def test_get_own_account(self):
"""Tests."""
self.assertTrue(self.client.login(username=self.dict['username'], password=self.dict['password']))
r = self.client.get(reverse('dj-vcn-accounts:delete', kwargs={'slug': self.user.get_username()}))
self.assertEqual(r.status_code, 200)
def test_post_own_account(self):
"""Tests."""
self.assertTrue(self.client.login(username=self.dict['username'], password=self.dict['password']))
r = self.client.post(reverse('dj-vcn-accounts:delete',
kwargs={'slug': self.user.get_username()}), data=self.dict)
self.assertEqual(r.status_code, 302)
self.assertEqual(r.url, reverse('dj-vcn-accounts:list'))
class TestVcnAccountDeleteViewAsStaff(TestCase):
"""Tests."""
def setUp(self):
"""Tests."""
self.dict = {
'username': "hbuyse",
'password': "usermodel",
'first_name': "Henri",
'last_name': "Buyse",
'is_staff': True
}
self.staff = get_user_model().objects.create_user(**self.dict)
def test_get_not_own_account(self):
"""Tests."""
u = get_user_model().objects.create_user(username="toto", password="toto")
self.assertTrue(self.client.login(username=self.dict['username'], password=self.dict['password']))
r = self.client.get(reverse('dj-vcn-accounts:delete', kwargs={'slug': u.get_username()}))
self.assertEqual(r.status_code, 200)
def test_post_not_own_account(self):
"""Tests."""
u = get_user_model().objects.create_user(username="toto", password="toto")
self.assertTrue(self.client.login(username=self.dict['username'], password=self.dict['password']))
r = self.client.post(reverse('dj-vcn-accounts:delete', kwargs={'slug': u.get_username()}), self.dict)
self.assertEqual(r.status_code, 302)
self.assertEqual(r.url, reverse('dj-vcn-accounts:list'))
def test_get_own_account(self):
"""Tests."""
self.assertTrue(self.client.login(username=self.dict['username'], password=self.dict['password']))
r = self.client.get(reverse('dj-vcn-accounts:delete', kwargs={'slug': self.staff.get_username()}))
self.assertEqual(r.status_code, 200)
def test_post_own_account(self):
"""Tests."""
self.assertTrue(self.client.login(username=self.dict['username'], password=self.dict['password']))
r = self.client.post(reverse('dj-vcn-accounts:delete',
kwargs={'slug': self.staff.get_username()}), data=self.dict)
self.assertEqual(r.status_code, 302)
self.assertEqual(r.url, reverse('dj-vcn-accounts:list'))
class TestVcnAccountDeleteViewAsSuperuser(TestCase):
"""Tests."""
def setUp(self):
"""Tests."""
self.dict = {
'username': "hbuyse",
'password': "usermodel",
'first_name': "Henri",
'last_name': "Buyse",
'email': 'toto@example.com'
}
self.user = get_user_model().objects.create_superuser(**self.dict)
def test_get_not_own_account(self):
"""Tests."""
u = get_user_model().objects.create_user(username="toto", password="toto")
self.assertTrue(self.client.login(username=self.dict['username'], password=self.dict['password']))
r = self.client.get(reverse('dj-vcn-accounts:delete', kwargs={'slug': u.get_username()}))
self.assertEqual(r.status_code, 200)
def test_post_not_own_account(self):
"""Tests."""
u = get_user_model().objects.create_user(username="toto", password="toto")
self.assertTrue(self.client.login(username=self.dict['username'], password=self.dict['password']))
r = self.client.post(reverse('dj-vcn-accounts:delete', kwargs={'slug': u.get_username()}), self.dict)
self.assertEqual(r.status_code, 302)
self.assertEqual(r.url, reverse('dj-vcn-accounts:list'))
def test_get_own_account(self):
"""Tests."""
self.assertTrue(self.client.login(username=self.dict['username'], password=self.dict['password']))
r = self.client.get(reverse('dj-vcn-accounts:delete', kwargs={'slug': self.user.get_username()}))
self.assertEqual(r.status_code, 200)
def test_post_own_account(self):
"""Tests."""
self.assertTrue(self.client.login(username=self.dict['username'], password=self.dict['password']))
r = self.client.post(reverse('dj-vcn-accounts:delete',
kwargs={'slug': self.user.get_username()}), data=self.dict)
self.assertEqual(r.status_code, 302)
self.assertEqual(r.url, reverse('dj-vcn-accounts:list'))
| 38.847458 | 109 | 0.621146 | 825 | 6,876 | 5.04 | 0.089697 | 0.073112 | 0.054834 | 0.09139 | 0.922318 | 0.917989 | 0.917989 | 0.910053 | 0.909331 | 0.909331 | 0 | 0.007877 | 0.206079 | 6,876 | 176 | 110 | 39.068182 | 0.753801 | 0.029814 | 0 | 0.816514 | 0 | 0 | 0.148459 | 0.046994 | 0 | 0 | 0 | 0 | 0.284404 | 1 | 0.165138 | false | 0.201835 | 0.027523 | 0 | 0.229358 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
7c7f872f4ae5b1217d4e6cfbac71d02958b24619 | 78,087 | py | Python | sajawal tech doxing tool/OXlib.py | SajawalAslam/sajawal-tech-doxing-tool | 50bc547085a7febaa27c3787707fdfad4d1b7c64 | [
"MIT"
] | null | null | null | sajawal tech doxing tool/OXlib.py | SajawalAslam/sajawal-tech-doxing-tool | 50bc547085a7febaa27c3787707fdfad4d1b7c64 | [
"MIT"
] | null | null | null | sajawal tech doxing tool/OXlib.py | SajawalAslam/sajawal-tech-doxing-tool | 50bc547085a7febaa27c3787707fdfad4d1b7c64 | [
"MIT"
] | null | null | null | __pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x09\x00\x61\x0d\x0d\x0a\x08\x2d\xa0\x01\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\xf8\x4b\x00\x00\x00\x00\x00\x10\x5c\x30\x53\x0a\x69\x2d\x7b\x6f\x77\x77\x2a\x09\x83\x60\x4e\xee\x00\x00\x00\x00\x00\x00\x00\x00\xdf\xd2\xd3\xe9\xdb\x68\x05\x42\x3a\xb1\xae\x8f\xbc\x38\x57\xe6\x4b\xad\x3b\xbf\xeb\x83\xe7\x1a\x42\x19\x6b\xc6\x55\x86\xf6\xc9\x1c\xf8\xa4\xe7\x1b\xeb\x5c\xc5\x9c\x86\x2f\x7b\xcd\x39\x9c\x6a\x01\x17\x69\x23\xb1\x94\x9f\x68\x99\xb0\x5f\xbd\xa9\x53\x66\x71\x22\x4f\xaa\xc4\xdd\x14\x3f\x05\x2f\x5f\xf7\x0a\x6f\x5d\x2f\xb3\x96\x13\x27\x2a\x8b\xe1\x5d\x97\x67\x8b\x2a\x16\x46\x03\x38\xa4\xe3\x6f\x31\x9c\xa3\xa1\x7e\xa3\x98\xcb\x05\x16\xb9\xf8\x22\x70\x64\x3b\x51\xeb\x80\x27\x1f\x77\xeb\xf4\x35\x24\x9b\x16\x51\x47\x7d\x2b\x7e\x0d\x37\xc0\x45\xfb\x7c\x8c\x33\xf5\x41\x35\x2a\xc3\x8c\x6a\x5f\x79\x16\x5a\x80\x12\x7c\x8e\x9e\x1f\x0a\x8c\xba\xa5\xd0\x5b\x7d\x0b\x1c\x3c\x4f\xd9\x7b\x54\x13\x6b\x4b\xd3\x3a\x64\x5d\xbe\xf3\x67\x00\x49\x0c\x05\x46\x03\x3a\x1a\x5f\x54\x7b\xc0\xb4\xb1\x8d\x51\x36\x35\x30\x74\x18\x7c\xb6\xa5\x8c\x40\xcf\x77\x23\x80\xd7\x87\x36\xf3\x1e\x74\x81\x47\xf4\xa7\x9e\x99\x4e\x54\xfb\xa0\x9e\xde\xaf\xb6\x2d\x48\x83\xe8\x10\x74\xfa\xee\xcb\xb3\x20\xc8\x29\x52\x27\x16\x35\x14\xf2\x75\x93\xfc\xc8\x00\x35\xb3\xa9\xb4\xb5\x28\x13\xad\x4e\xcf\x4c\xf1\x9f\x33\x89\xe5\xd1\x41\x1a\xce\xe7\xbf\xbd\x0b\xb4\x6c\x17\x54\x29\xf3\x53\x9e\x2f\x6a\xd9\x38\x94\xfb\xba\xc7\xd9\x41\xe0\x5e\xdd\xc0\x74\xac\x06\x45\x3c\xd4\xe3\x15\x0f\x75\xf1\xf9\x51\xa5\x0a\x6d\xa0\x38\x88\x9b\x0e\x11\xa5\x74\x09\xd5\xe1\x55\xeb\xe7\x0e\x27\x9a\x2c\x15\xf6\xb7\xa0\x3b\x02\x01\x88\x5e\xe0\x2e\xf6\x2a\x3e\x04\x34\x8d\x7a\x15\x71\x45\x38\x94\x41\xb9\xbf\xfc\xad\xaa\x13\x1c\x3b\x1e\x7f\xef\xa6\x8b\x93\xc3\x5d\x76\x28\x49\x8b\x1e\x79\x9f\xb0\x0b\xfe\xfd\x0d\x9b\x02\xbc\xa6\xae\x74\xc6\xf7\x0a\x07\x39\x5b\xea\xe0\x60\xba\x4c\x4c\x0c\xd7\x94\xef\x51\xe6\xf8\xeb\xec\x79\x83\xca\xd4\xa0\xd5\xc9\x58\xfa\x00\x3d\xfc\xef\xd0\x54\x9b\x38\x67\x6f\x0b\xcd\x2f\x87\x5e\xac\x22\x3c\x21\x89\xa7\xc5\x2e\x5b\x1b\x62\xe5\xef\x7d\x64\x53\xcb\x17\x4e\x34\x41\x6d\x30\x56\xcb\x21\xf1\xb7\x94\xee\xc7\x96\xd4\x41\xa5\x56\xdb\x54\xad\x84\xd5\xdf\x86\xb3\x21\x0d\xaa\x03\xdd\x1d\x37\xfa\xcc\x35\xea\x15\xd3\x83\xb4\x19\xcf\xd1\xd6\x7f\xef\xb0\x8f\xb3\x3a\xa9\xfe\xda\x3e\xdc\xb5\xfe\x08\x85\x30\x6a\x3b\x4d\xd7\x52\xa7\x32\xcd\xf8\xff\x91\x87\x00\xa5\x32\xa5\x4d\x56\x21\xdc\x77\xce\x6b\x42\x31\x71\x24\x29\x94\xc5\x22\xcc\x58\x58\xd7\x2e\x48\x00\x98\x6d\x00\x8c\xca\x55\xeb\x2c\x2d\x66\xcb\xd8\x23\xb0\xb0\xb5\xf2\xf8\xb4\xbe\x93\x4e\xd8\x2c\x49\x3e\x35\x45\xcd\xb8\x58\xfa\xe3\xeb\x47\x67\x6d\x94\x65\xa5\xf6\x10\x2c\x24\xa2\x53\xa2\xfd\x33\x95\x63\x75\x33\xca\x99\xde\x32\x44\xf9\xdc\x0f\x48\x52\x3f\xed\x32\x9b\x3b\x92\x8d\x8f\x22\x37\x85\x42\x2b\xe2\xa2\x4e\xdf\x61\x05\xd2\x21\x80\x34\x85\xe8\xf1\x28\xa9\xe6\x81\x9f\x94\xc9\x64\x72\x31\x5d\x7e\x8e\x43\xc9\x1f\xc3\x9b\x20\x69\xe2\x18\xf3\x43\x6a\x21\x2e\xd0\x0f\xb6\xa6\x88\x6d\x36\x7a\x86\xb9\x18\x19\x35\x63\xa3\x07\x1a\x1d\x5d\xf3\x83\xee\x30\xbd\x54\xd1\xc5\xab\x4a\x43\xc2\x8f\xa7\xdf\xdd\x16\xba\xde\x6e\x5b\xac\x29\xc5\x3b\xd5\x8d\xa4\xf4\xc6\x22\xb2\x8a\x36\x72\x57\xb2\x23\x69\xa1\xbc\xaa\xed\x39\xe5\xd4\x8d\x9f\x8d\x21\xc2\x5f\x56\x0f\x51\xeb\x64\x08\xf6\x0f\xbb\x12\xf4\x49\x45\x43\xbc\x30\xa0\x51\x66\xcc\xa4\xfa\xfe\xef\xa1\x83\x0d\xef\xa4\x6c\x56\x65\xf8\xf2\x29\xe1\xd0\x89\xac\xd3\x62\xa9\x91\x70\x99\x14\x09\xc8\x06\xa7\xa2\x0a\x3b\xc8\xc0\xee\xf0\x0d\xda\xda\x3f\x6f\xdf\x89\xad\xf0\x1c\x65\x86\xf6\xc0\x2e\x7c\xd0\xd5\xa8\x48\x8c\x77\xb6\xa5\xa7\x6c\x9a\xad\xa4\x96\x27\x1c\x6d\x72\xe7\x81\xaf\xb9\x06\x3a\x26\xca\x60\x9c\x37\x34\x31\x4c\x26\xaf\x4d\x70\xe9\x5d\xdb\x5a\xab\xa5\x98\x6c\xfb\x6b\x06\xb2\x41\xf6\x61\xbd\xac\xf4\x88\x09\xcd\xc3\x7f\xe8\x88\x69\x89\xfd\x59\xe2\xc3\x04\xf9\xc9\x9e\xaf\x52\xe0\x10\xc8\x96\x02\x2d\x8f\xe4\x26\x27\x87\x26\x9e\xdd\xb4\x30\x6e\x51\x28\xa7\x03\xaf\xb9\x5a\xad\x96\x0b\x5b\x8c\xb9\x2f\x5d\xc4\xb5\x7a\x0f\x15\xbc\x56\x8d\x3a\x64\x8a\x6c\xae\x59\xdb\x15\x40\xb3\x00\x17\xd1\x3f\x05\x38\x8a\x72\x35\xc6\x9c\x58\x9c\x6f\x15\xb2\x7f\xcf\x93\xc2\x8a\x72\x74\x81\x9d\xe8\xaa\x54\x68\x2a\xc9\xc2\xd6\xd4\x6b\x8b\x00\xc9\x69\xc8\x58\xbe\xd4\xb7\x4f\x29\x7e\xa4\x7e\xac\x4d\x46\x7f\xc3\x23\x12\x64\xff\x46\x2e\xa0\x17\x37\xcb\x3c\x07\xe3\x9e\x2c\x0f\xc2\xf3\x05\x9c\xd9\x91\x6c\xa2\xbe\xb5\x82\x4a\x90\x13\x8e\xbd\x62\x13\x92\xb0\x62\xfb\x87\x35\x6c\xd8\x0b\x8d\x8c\xb8\xde\xaa\xb3\xb5\xef\x9f\x80\x8f\x67\x6a\x4c\x05\xcd\x57\xd8\x0f\xfc\x01\xae\xb1\xdf\x10\x76\x06\x80\x2e\x9f\x22\xf1\x81\x51\x61\x6e\x3b\xc6\x9f\x01\x88\x6b\x2b\x09\x84\x89\x7d\x61\x57\x0b\x26\x50\x6f\xe2\x3d\xbf\xf7\xa8\x1e\xb9\x17\xb3\x1c\xa4\x77\x48\x4e\x5d\xae\x61\xa9\xcd\x44\x5d\xf9\x32\xb2\xe4\xaa\xa5\x51\x82\xcb\xd4\xe1\xc6\x8e\xb0\xd6\x32\x9c\x71\xfa\xb4\x6c\x83\x4a\x60\x8f\xf2\xe1\x31\x24\xd3\x64\x06\xfe\x42\xae\xef\x20\x8a\x4e\x32\xc8\xfb\x2d\xf7\x86\x8f\xce\xe5\x68\xa3\x77\xe9\xea\xc0\x4c\x9c\x00\x8b\x55\xba\x73\x34\xda\x94\xfc\x98\xfe\xb7\x1a\xea\xe8\xae\x53\x54\x8f\xf2\xfb\x99\xf5\x84\xbd\x2c\xfd\xbc\xc2\xe6\x8a\xb9\x9a\x1b\xed\x6c\x1e\x7a\x1f\xd9\x64\x9a\x6e\x25\x67\x47\xac\xa0\x0e\x39\x80\xa8\xb0\xbf\xd0\x86\x07\x30\xad\xae\x48\xfb\xd7\x57\x0f\xd7\x52\xc9\xa8\x15\x10\x70\x8e\x79\x92\x69\x1e\xac\xa0\x06\x64\xe2\x14\x88\xd5\x03\xe3\x76\x43\x1d\xf8\x7a\x68\x96\xfc\xca\x26\x5a\x9a\x4a\xa6\x6f\x03\xdf\xd8\xc6\x08\x47\xa5\x77\x80\x0f\xc6\xfc\x91\xed\xaf\xe7\x90\x96\x7e\x6f\x21\xc6\x9a\x49\x2b\x25\x7c\xff\x46\x79\x1a\x1e\x90\x34\xb1\x0e\x2c\x2d\x13\x4b\xa6\x4e\x3d\x61\x4e\x68\x7a\xa7\x3b\x90\x7e\xe7\xd6\x75\xda\x01\x27\xfc\xd5\x14\x14\x73\x83\x4b\x12\x51\x88\x01\x24\x29\xe7\x19\xee\xcc\xf6\x50\xf2\x19\x9b\x95\xfb\xf7\x0a\xb5\x7c\x7c\xa2\xc9\xe7\x8c\xb1\xae\x1b\xf1\x11\xf5\x66\xed\x94\xab\xdb\x29\xfb\x15\x61\x49\xa5\x95\xb7\x0b\xd6\x6a\xa4\xc1\xc0\xfa\xe9\x06\xe2\xf3\xa2\x4e\x63\x78\x95\xd9\x87\x3f\x09\xc2\x4a\x0d\x7b\x7f\x27\x59\x36\xc5\xeb\xc8\xe5\x00\xf9\x7e\x7b\x3d\x91\x89\x6f\x42\x8d\x5b\xfa\x3f\x6c\x06\xe8\x4b\x0a\x61\xea\xac\xc7\x5b\xf1\xc8\x73\x42\x9e\x74\x34\xc1\xc8\xcc\xa8\xd7\xe7\x60\xc0\xb5\x3e\x57\x0d\xc9\x2c\x61\xa8\x3e\x4e\x6b\x5e\x65\xa9\x9a\xac\xc2\x90\x2f\x40\xe8\x8c\xbe\x75\x90\xde\xfc\xa0\x98\x21\xe7\x3b\xe2\x05\x49\xcd\x31\x87\xe9\xce\x30\x1f\xde\x0a\xd3\x8b\xf0\xf7\xc0\xc2\x92\x11\x15\xa4\x25\xb1\xaf\xc0\xf2\xde\x12\x0d\xee\x3a\xba\xf8\x70\x04\xb0\xd1\x50\x97\x6b\x5c\xf9\x84\xff\x69\x9e\x2a\xbb\x57\x90\xc2\x5a\x7a\x0b\xab\xe9\xbe\x96\x8b\x66\xb8\x55\x61\xc2\x7b\x92\x4b\x95\x31\xc1\x41\x10\x0a\x01\x0b\x74\xb4\x57\xe2\xb6\x06\x50\x14\x08\x10\xb8\x28\x58\xa9\x7b\xb2\x23\xfd\x6a\xb3\x02\x4b\xa8\xc7\xd0\xdd\x65\xf2\xb6\x20\x48\xb6\xd3\x43\xd3\xdf\xf9\x6f\xbf\xe8\x79\x96\x52\xb6\x94\x4e\xdc\xaf\x0d\x2c\xca\xa0\xa5\x89\xed\x77\x3e\xb0\xe0\x23\x9c\x76\x8f\x6d\x67\xb2\x07\xb4\xf6\x33\xac\xfa\xdd\x41\xbc\x0d\x56\xf8\xd9\x6c\xce\x3c\x53\xa9\x2f\x8d\xde\xff\xde\x8d\xdc\x95\x3f\x7d\xa7\x6a\x3a\x24\xa4\x41\x77\x8f\x7e\x5c\xbd\x7d\xd9\xeb\x43\x65\xee\xe8\xc2\xac\x1a\xfb\xb8\x92\x78\xe0\x42\x9a\xe1\x01\x1b\xb1\xb0\xec\xaf\xd7\xb2\xfd\xa4\x36\xae\x28\x40\x5e\x60\x60\x71\x71\x15\x60\xbf\xd2\x70\x2e\x19\x0f\x09\xee\x31\xc2\x5d\x38\xc6\x35\x46\xb2\x0e\xb7\x59\x19\x29\x30\xfb\xe3\xbe\xc0\xb6\xed\x5e\x7c\xf7\x21\x85\x58\xc1\x8e\x8d\x06\xe3\xfb\x1b\x47\xad\x6f\x66\x3f\xb0\xac\x4e\xdc\x00\x16\xd6\xa2\xdb\xbb\x05\xc0\xcd\x77\x1a\x87\xa7\x52\x66\xb2\x72\x38\xc3\x5c\x8d\x9c\x20\x12\x57\x82\xac\xe1\x7f\xbc\x56\x75\x44\xbb\xda\x4c\x7b\x75\xda\xf6\x3d\xff\x2a\x65\xce\x65\x8b\x04\x63\x55\x67\xc7\xe5\x76\xee\xce\x73\xa7\x63\xea\xb7\x2b\xd0\x8e\xda\x89\x3d\xf2\xc3\x17\xdd\x01\xf6\x3d\xa9\x84\x1d\x94\xb0\xb3\xe8\xd2\x18\xec\x45\x2b\xa3\x23\xa5\x55\x67\x01\x8f\xd3\xee\x27\x91\xff\x26\x13\x47\xce\x54\x91\x92\x0a\x33\xc9\x5d\x94\xd6\xc5\x7a\xd1\x42\x49\x9d\x8b\x44\xf3\xb6\xec\x48\x6c\xb4\xef\x80\x1b\x22\x8d\xc0\xb1\xdf\xcd\xc5\x55\xaa\xb1\xfe\x8a\x80\x42\x66\xfc\x29\x7f\x3d\x3a\x6a\xc7\x70\xec\xd9\xfe\xc7\xed\xce\xc7\x0b\x5d\x36\xd1\x24\xc5\xba\x3c\x57\x7a\x04\xda\x13\x56\xe4\xf5\x67\x48\x8b\x82\xf4\x35\xf5\xc1\x1d\xe4\x42\x9a\xf8\x8a\x65\xdc\x3c\x31\x8c\x41\x63\x8f\xf1\x51\x02\xa8\xf6\x96\x8e\xae\xa0\x8d\x83\x02\xd1\x86\xc6\x7a\xe9\x4f\xcf\x7c\x45\x16\x0f\xaa\x6d\x99\x3a\x9b\x3c\xcc\x9d\x45\xe0\x97\x58\x82\x47\xdd\xa4\x22\xaf\xbb\x24\x74\x54\xe5\x34\x32\x2a\x47\x10\xea\x11\x34\xe1\xa8\xd6\xb7\x80\x8e\x4c\xd3\x15\x0b\x95\x55\xb7\xf1\x7b\xca\x8b\x8d\xd9\x96\x4c\xc0\xa2\x9c\x97\x70\x45\x3e\x30\x6e\x48\xfe\x9e\xaf\xbe\xe9\x10\x7c\xc8\x25\x93\x64\xcf\x69\xfc\x33\x46\x78\x39\x28\xb6\x6a\xe8\x39\x0a\x84\x53\x35\x51\xc7\xff\x07\x46\x9f\x5c\x10\x3b\xd7\x95\x34\x43\x67\x77\x55\xc5\x6c\x95\xac\x83\xe6\x6e\xba\xc3\x26\x38\x2d\x50\x94\x4a\xbb\x28\x6f\xb9\xeb\xfb\xc6\x29\x3a\xc9\xe8\x5c\x97\x49\x5e\xd2\x80\x67\xd7\xbf\xa2\x83\x60\xf9\x48\x4c\x76\x8b\x68\x1f\x41\xb5\xd6\x8d\x70\xae\xfa\xde\x29\xba\x9d\x28\x46\xc3\x40\xce\x39\xb4\x0a\xe8\x5d\x19\xae\x4a\xa2\x7d\xe4\xcf\x12\xa6\x32\x7f\x1e\x53\xf5\xa4\x6a\xdf\x13\xa9\xb1\xb8\xd9\x46\x43\x9b\xee\x7d\x06\xd3\x24\x25\x06\x64\xa6\xed\x84\x22\xc1\x22\xc2\x7b\x8c\x97\x5f\x9b\xb5\xce\x9c\x70\xa0\xbe\x79\x94\x68\x90\x1f\x22\x6e\x4f\xca\xcd\x68\x93\x8f\x0b\x5f\xf0\x9e\xe8\x04\x4d\x62\x5f\xe0\x3e\x62\x2f\xa5\x82\x57\xc2\xc1\xc4\xb0\x7c\x36\x55\x87\xe0\x96\x92\xb4\x88\xf5\x33\xf5\x7f\x8b\x81\x64\xf5\x95\xf4\x64\x1b\xd0\xd0\xd0\xf9\x1f\x99\x56\xf8\x66\xd8\x14\x77\xff\xbe\x0b\x4d\xc6\x85\x70\xdc\x8c\xba\x4f\xa8\x8b\x81\x8c\x20\x7f\x1d\xcd\xb5\xa6\xf0\x95\xe4\x95\x0d\x57\x09\xa7\x8b\x7b\x48\xe4\x4e\x0b\x67\xdc\x13\xa9\x0b\x6d\xa5\x8f\x7a\xb7\x79\xd5\xb5\xe8\xbe\xd6\xb8\xe8\xac\x66\xf0\x4b\x0a\x04\xfa\xd3\x7a\x76\x6a\x8c\xf2\xe1\xb9\xed\x0d\xca\xef\xa4\xc1\x34\x5a\xc3\xc0\xdb\x95\x9f\xb6\xb5\x07\xc6\xc7\x06\x10\x1f\x66\x68\x4a\x2f\x24\x8c\x9d\x82\xbd\xb7\x38\xcf\x0a\x27\x27\x22\x36\x92\x6f\x86\x18\xe8\xd0\x37\xd0\xbc\x7d\x5a\x6c\xdf\x10\x83\x7f\x70\xae\x68\xdf\xd0\x7f\x90\xf2\x3e\x7f\x03\x07\x84\x27\x78\x83\xca\x32\x31\xc4\x04\xcd\x81\xa5\xdd\xf6\x90\xc6\x12\xa2\x96\x6b\xff\x88\xbd\x57\x6e\x62\x4e\x39\x84\x40\xf0\x5c\xeb\x64\x26\x48\x49\x19\xe5\xb7\x7d\xd7\x05\xbd\xc1\x31\x2f\x0d\x1e\xc7\xa8\x8d\x76\xd5\xab\x1c\x51\x74\xf2\xb2\x01\x46\x4d\x1b\x24\x0a\x20\x72\xea\x42\x20\x6b\xd6\xfd\x26\x1c\x39\xe4\xc0\x90\xf1\xd2\x23\x9d\x53\x01\x31\x03\xba\x1e\x4d\x9c\x89\x04\x32\xe7\x4f\xdf\x51\x7d\xbc\x42\x93\xd8\x97\xaf\x85\xaf\x77\x91\x29\x1e\x9b\x8f\x79\xf7\x7f\xd9\x60\xc8\x85\x68\x63\x35\x50\xc4\x27\x93\x96\x1a\x29\x45\xd1\x4c\x7b\x95\xf5\xa0\x09\xe5\x2b\x8d\x2e\xd7\x9a\xbb\x75\x5a\x47\xe5\xf2\x03\x8a\xb6\x5d\xe0\xf5\x8f\xcc\x7f\xdc\xfe\xee\x7f\x74\xc9\x6c\xda\x51\x8c\x95\x86\x34\x3b\x41\xca\x63\x7d\xea\xbf\xa7\x8b\xc0\x48\x0f\xe5\x29\x40\x4d\xb5\x02\xcc\x78\x45\x47\xee\x94\x31\x53\xfb\x51\x68\xff\x59\xf7\x92\xbc\xfc\xa0\x32\xba\xc8\xe8\xec\xf2\x8b\x15\x84\xcc\x0f\x5c\x5c\xff\xa0\x6d\x6b\x5b\x45\x80\x46\xb6\xbe\x2f\x0f\x14\x53\xd9\xdd\x6f\xba\x21\x82\xbb\xdf\xdf\xa0\x54\xd7\x8e\x55\x8f\x3f\x13\xb4\xe4\x71\x4e\x48\x6c\x64\x0e\x3e\x6d\x4a\x01\xa1\xac\xd4\x87\x24\xe8\x6b\xb7\x33\x61\x8e\xab\x3b\x96\xf3\x40\x05\xe3\x41\x5f\xa9\x86\x62\x03\x13\x2a\xe5\x88\xce\x0c\x33\xa5\x0a\x5b\x82\xe6\xfc\x92\x44\x20\x14\x6c\x8c\x53\x42\xab\x2a\x54\x4e\x05\xf2\xe3\xa8\x3e\xa1\xa0\xaf\xd9\x98\xa1\xf0\x19\x4a\xa3\xc7\x00\x45\xca\x0a\x2e\x06\x6f\xed\x27\x14\xc2\x5c\xcf\x47\x7d\x43\x70\xde\x3b\x32\x8f\x35\xd2\xd8\x09\xfd\x3f\x8e\xfa\x70\xb4\x33\x70\x3b\x99\x23\xc5\x75\xeb\xf0\xf0\xa5\xa0\x0f\xd7\xe4\xf0\xfb\xe1\x4a\xed\x61\xa6\x84\x71\x4a\x19\xf7\xcf\x16\x53\x26\x63\xf8\x3b\x5f\x6b\x33\xc9\xad\x57\x53\x1d\xd1\x9d\x96\x5d\x61\xb4\xea\x9f\x70\x3c\xe9\x08\xb6\xc8\x54\xdb\xa3\x62\x65\x9a\x37\xbf\xe9\xbe\x86\x56\xdb\x5d\x51\x15\x4e\xb6\x55\x66\xf2\x7f\xb6\xa2\x9d\xa1\xcc\x8d\x0a\x68\xc2\x4b\x91\x7c\xf8\x99\x79\x81\xf4\xea\x0c\x67\x5a\xcd\x72\x43\x4b\x1b\xea\x76\x4d\x49\x8b\xf5\x04\x30\xe8\x66\x3a\xf3\xd2\xd8\xa3\x10\x8b\xbf\xb0\x44\xaf\x47\x00\x2e\x1c\xe7\x20\x77\x1e\xef\xa9\x6f\x30\x39\x09\x0a\xaa\xb7\x04\x4a\xda\x61\x8f\x4c\x4e\xc7\xa8\x89\x9a\x31\xc8\x8c\x50\xc1\xa9\x4d\xa2\x26\xe5\xa4\x66\x04\x92\x5e\xab\x1e\x9d\x27\x8e\xf6\x91\xf7\xbe\xda\x11\x97\xb7\x8a\x39\xb2\x00\x7c\xeb\x40\x38\x9a\x37\x2d\x0b\xbe\x07\xb9\x36\xdd\x87\xbd\xc7\xce\xb3\xb7\x49\x0a\x3a\xb7\xe4\x50\xc3\xa5\x99\x59\xc8\x50\xa5\x9d\x2c\x20\xe6\x71\x91\x6f\xbd\x7f\xb8\x49\x1c\x8d\xb8\x99\x93\xd7\x8a\xa1\x76\xe3\x80\xa1\xc8\x8e\x52\x07\x41\x8a\x61\x57\x26\xf0\x1d\xa3\xab\x06\x32\xe4\x8b\x1a\xbf\x87\x72\xd1\x93\x8c\x8f\x14\xe7\xbc\xa8\x13\x7a\xf9\xea\x33\x83\xa3\x36\x11\x50\x1b\xf9\x1e\x8d\x95\x84\xd5\x60\xdb\x5a\xf1\xcc\x08\xe5\x55\xea\xa3\xb7\x01\x6e\x1d\x75\x39\x96\x8b\xd0\x8b\x1f\x6b\x1f\x6c\x63\x99\x44\x40\xa7\x04\xa4\xcf\x90\xa8\x7a\x4f\x73\x19\x50\x89\xb2\xf7\x5f\xd9\x9e\x8c\x61\x48\xfe\x4a\x2e\x83\x7b\x85\x95\x04\x1f\x0b\xee\x14\x83\x44\x1f\x16\xb1\xea\xcb\x43\xb4\x5c\x56\x54\xe7\xe5\xc0\x78\xd5\x20\x5c\x25\x8a\x19\x0e\x11\x27\x5e\xe3\xfc\x26\xff\x6b\xbb\x1d\xb0\x4f\x26\xb5\x28\x27\xa4\xa7\xaf\x8e\xd8\x77\x55\x33\x0b\xdc\x1f\x3d\x6f\x64\x3e\x9c\x83\xf0\x98\x5c\x03\xd4\xc2\x09\x84\xea\xa8\x81\xb4\x47\xbe\x79\x2c\x0b\xa1\xa3\xd7\x8c\x82\xc9\xdd\xb9\x12\x4b\x5e\xb1\xfc\x7d\xfe\xfd\x3c\xa4\x6b\xa2\x96\xb7\xda\xdf\xaf\x71\x65\x1c\xc7\x96\xe5\x38\x11\x25\x08\xc1\xff\xb7\x8b\xb2\xb6\xb1\xa9\x65\x4a\x0d\x3a\xcc\x3e\x7d\x15\x8c\x1f\x00\x5f\xbe\xd7\xa3\xce\xa7\xad\xd4\x3c\x00\xfd\x33\x6d\xdf\xf2\xfe\xb2\xbd\x3e\x3a\xd9\xda\x71\x2f\x62\x79\xf8\xd5\x66\x68\x13\x09\x13\xf6\x3d\x85\xd1\x8d\xc2\xa9\x66\x18\x54\x1a\xb6\xce\x45\x9e\x13\x18\x4b\x0e\x6f\xa0\x09\x33\xa5\x90\x6d\x5d\x35\x2b\x43\x10\xfc\x85\x5d\x5c\x27\x53\x25\xd2\xea\x6e\x7b\xba\x1c\xc9\x2b\xba\x9a\xe4\x3d\x5f\xe5\xa3\x1a\xbd\xb8\xc0\x12\x22\x64\xd4\x2c\xc0\x27\x90\xe9\xca\x9f\xa4\x2c\xf6\x03\xea\xcc\x1f\x4f\xd6\xe2\xaf\x25\xcc\x1f\xcc\x25\x8c\x97\x76\x5f\x03\x73\x12\xfa\xb8\x51\x62\xa9\xf8\x9f\xc3\xc5\x72\xbd\x9a\x34\x69\x0d\x9f\xac\x3c\x9d\xd3\xb6\x3a\xd5\x5d\xf2\x41\xda\xf9\x83\xa2\xbf\xd6\xa5\x43\xcf\x76\xd1\x7f\x29\x8a\x58\x46\x94\xa2\xda\x1e\x77\x20\xef\x01\x57\x66\x24\xd0\x92\x34\x27\x8f\x4e\x59\x8d\xda\xfa\x13\x53\xee\xc2\x7b\x3c\x8b\x0a\x01\xa1\xee\x32\xfd\xa1\xf2\xab\x56\x6c\x43\x21\x98\x0f\xba\xae\xb8\xab\xcf\x21\xba\x90\xfd\x36\xea\x8b\x7f\xa6\xcc\x2e\x8e\xcd\x32\xd8\x0a\x37\xb9\xb5\xf3\xd1\x9b\x6a\x43\x8d\x1f\x9c\x52\x31\x0e\x41\x44\xa8\x50\x53\x48\xe0\x83\x21\x62\x3a\xc2\xf7\x55\x32\x54\x90\xfe\xf1\x78\xbb\x9e\x58\xeb\x3c\x26\xaa\x67\xc5\xf8\xab\x5e\x2d\x26\xc3\x73\xe0\x7c\x76\xd9\x6b\x77\xa5\xbc\x30\xb6\x1e\x87\xc6\xe6\x8c\x5e\xd0\x1f\xe6\xb4\x68\xb9\x73\x4c\x7d\x91\x3b\x1d\x5f\x0f\x7d\x26\x66\xde\xb1\x02\x48\x8a\x8f\x8b\x48\xe1\x91\x9c\xd9\xda\x92\x9d\xb2\x11\x2d\x94\xa1\x31\xa6\x9a\x29\xde\xd4\x7a\xe0\x9a\xf3\x68\x76\x88\xb6\xf4\x5a\x76\xb1\x4c\x8a\x47\xbc\xd9\x18\x56\x1d\xfe\xdc\xc0\xfa\xae\x59\xc4\x71\xa9\xc3\xcd\x86\x16\xa1\x96\xd0\xe5\x16\x28\x8a\xca\xdc\x70\xd9\x4c\xfe\x98\xf4\x0f\x55\xcc\x2c\x41\x28\x59\x9b\x8d\xd2\x0d\x0f\xfb\xad\x8d\x2c\x82\x6f\xa1\x7a\xf3\x7d\x44\x66\x5e\xae\x07\x5c\x87\x1b\x52\x6b\x7c\x45\x78\xff\x77\x35\x0d\x43\x78\xd2\x9f\x23\xb8\x1f\x03\xde\x62\x26\x81\x1c\x1c\x0b\xca\x6f\xf7\xad\xae\x01\xf4\x2c\x88\x55\xe3\x04\xec\x29\xf8\xab\xcc\xbc\x7e\x77\xf8\x5e\xb6\x96\xec\x12\x0a\x20\xc4\x14\x8f\x4c\xf2\xc1\x64\xb9\xad\x75\xe0\x1f\x6a\x48\x24\x0f\x35\xad\xd0\xd4\x8c\x46\x9d\x96\x79\x2f\x56\x62\x5f\x96\x0d\x82\x5b\xba\xb4\x85\xe6\xd5\x84\x30\xc6\xe1\x39\xf8\xdc\x4c\xc2\xed\xc8\x68\x54\xfb\xf4\xe9\x4e\x51\xa9\x6a\xe5\x41\x51\x72\x74\xb0\x74\xac\x2e\x2c\x63\x22\xb2\x1b\x7e\xd3\x8c\xb6\x10\x18\xc4\x17\xda\x3e\xd3\x5b\xe2\xcf\x66\xfd\xcf\x21\xe8\xd3\x27\xfa\xe7\xf4\x0d\x53\x5b\x24\x77\x8b\x67\x05\x3e\x05\xff\x01\x75\x0d\x82\x6c\xc6\x24\xd3\x54\x95\x2f\x20\x96\x07\x69\x07\x7d\xa6\x34\x0f\x0e\x40\x4a\x48\x81\x2a\x7e\x54\x32\x07\x00\x92\x99\xb7\x6b\xa5\x17\x03\x8f\x84\xc5\x61\x0c\x47\x36\xc8\x0e\x9b\xcf\x07\x3d\x6d\x26\x34\x9d\xbd\xc2\xfc\x59\xca\xa4\x41\x6f\xc7\x4e\xc9\xd4\x06\x67\xf7\x3f\xdc\x58\x00\xbe\x52\x59\x99\xcd\xfa\x99\xeb\x6c\x45\x4a\x5c\x73\x10\x64\x59\x1e\xb6\x83\x6d\x0a\xf8\xa4\x43\xd3\x50\x97\x00\x35\x6d\x8c\xd0\xee\xcd\x02\xff\xf8\x4a\xbf\x57\xe6\xbf\xdd\xf4\xdd\x9c\x0d\x34\x90\x80\x77\x5b\xd1\x04\xf1\xa4\x46\xe4\x71\x30\x19\x28\x3d\xb6\x9f\xa5\xb4\xeb\x81\xd7\xdd\xde\x18\xb6\x7e\x75\x85\x71\x16\xa1\x5c\x13\x71\x01\x3d\x16\x0e\xea\x45\x3f\x7b\x76\xd6\xbd\xb4\x29\x0a\x1a\x37\x8b\xb9\x12\xe8\x8e\xa8\x1e\x96\xe6\x58\x10\x1d\x62\xff\x00\xc0\x95\x87\x62\x61\x75\x85\x30\x8d\x98\x26\x24\xba\xf8\x26\xc7\x7c\x6e\x08\x38\x7e\x63\xf9\x91\xb7\xa6\xf3\xd2\xd5\x65\x24\x8c\xc8\x58\xba\x23\xed\x2d\x06\xac\x6a\x94\x7f\xd4\x60\x73\x1f\xa5\x49\xe3\x42\xf6\x04\x76\x57\x26\x33\xfa\x5f\xf2\xe7\x48\x58\x1d\x86\x62\x03\xe5\xc2\x51\x9f\x65\x7b\x95\x64\x64\x1d\x5a\xb2\xdc\x42\x45\x60\xf2\xe0\x12\x96\xce\x02\xbd\x33\x23\x57\xf2\x29\xa8\xae\x0e\x32\xd6\x7d\xc1\x5b\xf7\xfb\x23\x86\x8c\xd2\x1e\x60\xa3\xf4\x86\x0c\x73\x4d\x7d\xa3\x40\x31\xce\xa9\x78\x78\x09\x4c\x50\x93\x73\x9f\x5f\xdb\xa2\xd5\xe1\xfd\x9d\xcf\x75\xbe\x4a\x54\xe1\xfc\xb3\x92\xd7\x06\x15\xb5\x5a\xe0\x51\xa9\xd1\xa2\x5a\x78\x58\x4f\x7b\xbd\x80\x03\x3b\xbb\x56\x23\x84\x6a\xd5\x0c\xe6\x28\xe0\x25\xdd\x37\x97\x7c\x19\x93\x0e\x84\x7d\x58\xb2\x03\x4a\x86\xd3\xc9\xd3\xec\x53\x49\x81\x22\x1a\x6f\x59\x89\x6a\xa6\x98\xbd\x75\x7e\x98\x8a\x41\xd4\x29\x2b\xda\x22\x9d\xc4\xbe\xed\x62\xfd\x1f\x74\x5d\x53\x2d\x2a\xa5\x14\x18\xfa\x5c\x9f\xdb\xbd\xb1\x27\xa9\xbc\xea\x36\x58\x9a\xd1\x49\x3f\xce\xf2\xe8\x47\x33\x21\x9d\xe8\xdd\x20\xdd\xa8\xd9\x08\x4c\x96\x33\xc5\xe5\x03\x15\x35\x2f\xab\x0b\x94\x74\x8f\x07\x54\x9d\xc0\x58\x60\xd0\xc7\x5d\xeb\xa2\x30\x66\x1d\xcb\xcb\x0b\x6b\x65\xc0\x8b\x4c\x33\x08\x27\xc1\x35\xc3\xf9\xda\x69\xd8\x84\x52\x3e\x27\xdd\x8e\xee\x00\x0c\x0e\x44\x31\xbc\xaa\xf4\xf2\x3e\x6c\x38\x2a\x24\x2d\x83\xe2\x88\x94\x36\x2e\x97\xe5\x53\xd8\xf4\xaf\x20\xba\x6e\xb4\x00\x42\xc0\x43\x5f\x84\xaa\xb4\xe0\x3c\x3c\xa0\x94\x3a\xbb\x7b\x6c\x95\xab\x24\xba\x29\x9f\xb4\x60\xa8\xa6\x7e\xe0\x67\x1b\xb5\x38\x3d\x24\x48\x50\xc8\x1b\x1b\x9d\xaa\x3f\xae\x9d\xe3\xbc\xd9\x0c\x3f\x39\x04\xf6\xa7\x95\xe8\x7f\x2f\x58\x3e\x37\x9e\xff\x96\xcb\x99\x29\x0c\x0d\x14\xfc\xd6\xf8\x4b\x87\x35\x32\x23\x57\xe7\x35\xac\x3e\x77\x15\x20\x7f\x81\xa5\xb5\x28\xe9\x8e\x5b\x96\x21\xc9\x0e\x7c\xb6\xb3\x25\xd3\xa8\x14\xa9\xb9\x61\x64\x82\x7b\x97\xd7\x1c\xce\xb7\xc1\x28\x3d\xd1\x30\x2d\x46\x09\x0a\x94\x3f\x29\x28\xfb\x9d\x20\x29\x8d\x0f\xe5\xc0\x39\x5e\x70\xb3\xef\xdc\x84\x5b\xe0\x56\x95\xd5\x07\x11\xb9\x5d\xa2\x6b\x4f\x71\x58\x72\x92\xd3\x0c\x11\x87\x24\x78\x60\xda\x17\xba\x08\x66\x5d\x85\xe5\x5e\x03\x48\x70\x6b\xf5\x93\xd9\xcb\x67\x27\x48\x21\xd0\xab\x45\x98\xfc\x57\xdb\xe5\x7c\xf4\x66\x4c\xaa\x42\xc5\x88\x81\x1b\x0e\x3f\xdf\x27\xcd\x71\xc8\xe3\x48\x5d\xd4\x05\x59\xd5\x9e\xef\xa4\x86\xf8\xab\x5d\x0c\x13\x67\xd3\xd0\x40\xe7\x09\x3e\x5d\x69\x64\xf0\xe0\xe9\x74\x93\x9d\x5d\xf8\xa0\xa3\xda\x37\xce\x70\x38\x7d\x0a\x71\x6f\x27\xaa\x8b\xc2\x39\x54\xc7\xef\x4c\xd0\x5c\x0d\xc2\xb5\xbc\xb9\x30\x50\xd5\x9a\x04\x78\x13\x64\xf1\x88\xee\xb9\x92\x32\xc6\x0f\x00\xac\x6e\x24\x20\x0d\x10\x30\xd5\xc7\x92\x73\x15\x2b\x64\x4c\x6c\x9a\x23\x92\x04\x64\xe8\x8b\x10\xd4\x7b\xe3\xd0\x06\xe1\x71\xd4\xe0\x9c\x6d\xec\xe9\x50\xf9\xd3\xbe\x1c\xf7\xe8\xde\x85\x4b\xb9\xc1\x03\x12\x59\x4d\x8e\x18\xbf\xc1\x77\xe3\x59\x37\xaa\xed\xea\x89\x54\xcb\xfd\xf1\x48\x3b\xe6\xc9\x80\x93\xdd\x04\x44\xd6\x12\xd4\xa0\x0f\x9d\xad\xad\x22\x09\x35\x2e\xc2\x87\xac\x5a\x53\x44\x97\x7f\x2b\x74\x65\xcf\x41\xa3\x66\x1b\x47\xf1\xbc\x60\x8e\xde\x2f\xcb\x87\xce\xe0\x3c\x75\x0d\x20\x6e\x51\xa8\xd3\xe9\xd4\xe8\xa8\xbf\xb1\x4d\x31\xfe\x55\x52\xc0\x15\xc5\xc3\x76\x49\xd3\x26\x88\x42\x0d\x46\xf2\x03\xb7\x1b\xb2\x99\x73\x09\x83\xef\x9b\x3b\x34\x68\x02\x91\x4f\x4e\x24\x10\x79\x4c\xbb\x20\x7e\xd8\xfd\x28\x8d\x1a\x6d\x5a\x5d\x7b\x61\x45\xf2\x83\x2a\x0c\xc2\xba\x4d\x37\x15\xe9\x36\xfd\xd9\x3f\xb1\xd9\x08\x97\xe4\xa4\xdd\x69\x36\x38\xfd\x1d\xa4\x9e\x2b\x27\x5b\xa5\x3c\x49\x8c\x19\x88\x6c\xa9\x05\xca\x69\xb3\xe7\xb0\x78\xa3\x74\x16\x9f\xf0\x94\x40\xa2\xa7\x14\x08\x67\x12\x5e\xf4\x45\xab\x14\xbb\xfa\xe0\xd4\xf0\xb5\x87\x18\x2c\xa1\x65\xf4\x57\xe9\xa5\x6e\xe4\xa8\x4e\xee\xc6\x1a\x72\xae\x98\x07\x0c\x9a\xcf\xda\xbc\x7b\x53\x57\x10\xb6\xfb\x1c\x6b\x40\xb1\x86\x28\x6d\x25\x86\x49\xe6\x4b\x54\x26\x33\xc0\xa2\x74\x10\x0f\x67\x33\x1e\x4a\xd2\xd3\xfa\x53\x63\x6d\x86\xf5\x98\x31\xd6\x3e\xe4\x49\xdc\x8e\x4d\xea\x9a\x0f\x7e\xb3\xa9\xca\x88\x30\xfd\x01\xc4\x1a\x9a\x87\x25\x55\xad\xd9\x3d\x42\x8b\x10\x44\x4a\x44\x26\x9d\x2f\x49\xfb\xba\x3d\x12\xc7\x73\x29\xf2\xf2\x30\xc3\x4c\x86\xb6\xda\x0a\x44\xf4\x12\x32\x2a\x52\x41\xb3\x69\x38\xb7\x6e\xe6\x6f\x29\x18\xf3\x4b\x5c\x31\x97\xfb\x0c\x37\xe8\xe9\x0c\xe7\x5a\x95\x15\xfb\x48\x5f\x7d\x28\xc2\xe1\xdf\xb3\xbd\xd9\xf2\x4e\x4e\x72\x89\x2d\xe6\xb1\x51\x9c\xb8\xcb\x5b\x7d\xc4\x1a\x2a\xbd\x1c\xd9\x49\xf8\xb7\xa1\xaa\x5d\x07\x01\xb3\x02\xd9\xcd\x34\x11\x5a\xbc\x34\x7e\x14\xb9\x61\xc7\xf0\xee\xc2\xb0\x0b\xef\x02\x93\x47\x0a\xac\xe8\x34\x84\xf4\xaf\x55\x1b\xf2\xd2\x8a\xc3\xeb\xd1\x3d\x85\xa5\x8b\xd8\x3b\xae\x64\x7c\xaa\x02\x62\xa8\x21\x22\x84\x59\xef\x94\xcb\x36\x3b\x19\x49\xaf\x55\xa2\x91\x8e\x9f\x22\x29\x9a\x9d\x37\xcc\xd6\x8a\xe8\x52\xe8\x26\xeb\x97\xcb\xb3\xfd\x5e\x64\x0f\x23\x1c\x7e\x25\xcc\x60\xf4\x31\x73\x83\xd5\x36\xff\x86\x5a\xd4\xda\x10\xab\xf5\xfc\xd5\xc7\x82\x9a\xab\x6a\xda\x10\x77\x4a\x5d\xea\xfc\xe7\xb6\x0c\x32\xf0\x58\x77\xe6\x73\x30\x07\xfb\xb6\xa9\x70\xa3\xb9\x08\x53\x58\xdb\x23\xf0\xa7\x6e\x23\x7e\xf0\x3a\xe5\x14\xdc\x42\x7c\x90\x7b\x81\x0d\x16\x45\xd8\x4e\xbb\x5e\xc4\xf7\x3a\x20\x23\xd9\x20\xcc\x24\x64\x07\x9b\xb7\x50\x90\xb6\x5a\x57\xd8\xa4\x6f\xd7\xf5\x06\x64\xe9\x76\x32\xdf\x13\x3c\x39\x5a\x63\xc9\xf5\x21\x83\xea\x61\xda\x2e\x9e\x0c\x9b\x45\xe6\x04\xe4\x1b\xe1\xc1\x6b\x21\x82\xf5\x8e\x45\x3a\xcf\xdb\xe4\x36\xd4\x48\x3a\xff\xac\x7f\x98\xf6\xe6\x44\xc4\xe5\xac\x39\x15\xce\xe1\x9f\xa3\x96\xe6\x12\x9f\x30\x3a\x51\x0a\xe9\xc0\x8a\x6a\x06\xdd\x5b\x04\x13\x51\x1f\x0b\xc2\x01\x29\xa0\xa7\x68\xdf\xcf\x00\x43\x24\xd8\x9f\xd7\xcf\x42\x87\x1e\x0e\x63\x9d\xc2\xe6\x23\x71\x08\x4f\x3d\x89\xca\xc5\x2e\x47\x45\x8d\xcd\x9d\xed\xb9\xab\x80\xd0\x7b\xcd\x9c\x2a\x00\x26\x21\x04\x36\x43\x0d\x15\xfe\x59\x17\xb7\x9d\x7b\x8e\x75\x74\xf0\x15\xba\xa2\x7e\x1b\xc1\x8b\xe2\xd1\x4a\xd8\x46\x8f\xef\xbf\x89\xe0\x71\x91\x7e\x36\xed\x19\xab\x49\x55\x43\x61\x44\x0b\xbd\xad\x4f\x06\x74\x4b\xeb\x7a\x41\x8c\x6c\xd2\x18\x48\xba\x09\x57\x88\x7a\xcc\x58\x7b\x32\xbe\x5f\xc7\x5f\x74\xbc\x62\xc8\xad\x93\x6f\x7f\x9b\xb9\x2b\xa6\x69\xf5\xba\x24\xd6\x62\x32\xa7\x8e\x9e\xd3\x5c\xa7\xaa\xe9\xda\x06\x96\x68\xdb\xba\x03\x67\xb7\xa6\xe7\xcf\xf1\x4c\x6b\xf1\x8f\x48\xa2\x58\x0a\xc5\x9f\x2b\x39\xa7\x0e\x7b\x8d\x74\x5d\xca\x13\x34\xe8\xa0\xc7\x93\xb9\x18\x08\xd9\x22\x8c\x7b\xed\xec\xb2\xba\xab\x99\x73\x0c\x1f\xf1\x2e\x6b\x87\xb3\x0a\xa9\x3e\x10\x3c\xa2\x99\xcb\x6a\x21\x17\xd0\x2b\xb0\x69\x1b\x42\xe4\x40\x51\xc1\x98\x01\x85\xd3\x6d\x70\x30\x39\x44\xc0\xca\x7a\xf6\x29\x59\x70\xb4\x9a\x29\x77\xc9\xa3\x50\x2e\x43\x02\x1b\x0e\x18\xae\x8f\xb2\xce\x14\xd9\x4f\x8d\xb3\x6a\xf4\x19\xf8\x3c\x3c\xec\xa3\x6d\x28\x4f\x17\x49\xf9\x36\x54\x2a\x2e\xad\x2a\x4f\xbf\xe5\xa7\x06\x1a\x90\x52\xdf\x7b\x1a\x64\xab\x9b\x42\xce\x0e\xae\xf2\x41\x09\x08\xe4\x27\x19\xf2\x97\xaf\x9e\xf1\xdc\x29\x04\x14\x78\x8b\xba\x51\xdb\x22\xe3\x90\x66\x4c\xda\x47\xfe\xef\x86\x51\xbf\xff\x9d\xe7\xde\xd6\x77\xc6\xb7\x5f\x85\x01\x11\x28\x1e\x69\xdf\xbd\xde\x73\x5b\x9e\xbe\x10\x44\x09\x17\xfb\x32\x46\x86\x41\xd2\xba\xee\xce\x3c\xb2\xe8\xea\x3e\x50\xc8\xf7\x05\xe4\x94\xe1\x82\x47\x3f\x4c\x43\xe5\xec\x2b\xec\xf3\x8b\xc6\x13\xf7\xc4\xdb\x1b\x60\xf7\xa0\x75\x74\xa5\xd7\x8e\x49\xa2\xde\x8f\x5d\xc1\xc2\xfb\xdb\x72\x44\xa4\x46\xfe\x38\x6e\x38\xa3\xff\x2d\xfa\x05\x38\xf6\xe3\xd1\x4b\xf0\xd9\x1f\x44\xa9\x0c\xe4\x59\x65\x31\x81\x18\x65\x6a\xf4\xb2\x6c\xcc\x8e\xce\xe5\x8a\x28\xa6\x19\x4a\xb8\xba\xc5\x07\xd2\x15\xdd\x8f\xc1\xd8\x65\x4e\x4b\x22\xb7\xfa\x44\xd6\x18\x64\xb9\xf7\xe3\x48\x32\x41\x13\x1e\x41\x71\xcb\x84\x98\x29\xe7\x1b\xe7\xd4\x0d\xd2\x29\x0b\x64\x7c\xc9\xb4\xf5\xa8\x27\x44\x8d\xa3\x96\x9b\xd6\x92\x0b\x2a\x0a\x0e\xf1\xbe\x7a\xb7\xcc\x0a\xf9\xbd\xcd\x36\x66\x42\xc0\xef\x55\x51\x3d\xeb\xf4\x25\x3d\x64\x87\x0f\x77\x7f\x65\x46\x18\xa4\x25\x21\x02\xac\x03\x2e\x92\x5c\x7c\xbf\xe5\x35\xe8\x56\xfb\xfd\x45\x83\xf6\x7c\xe9\xe5\xc8\x09\x55\x49\xb1\xdf\xcc\x8f\xb3\x65\x3c\x8d\x4c\x94\x02\xac\xb5\xef\x27\xe8\xdf\x20\x21\x70\xcf\x5e\x53\x32\x57\x0e\xbb\xef\xed\xa5\x4e\x9f\x82\x3c\x4b\xbe\xfc\x09\x3a\xd8\x30\xc8\x53\x2d\x45\xdd\x3d\x27\xde\xfe\xb9\xdc\x29\xad\xac\x45\xf8\x6b\x36\xa3\x3b\x7d\xe8\x3e\xf3\xc6\xaa\x42\x23\xf7\x5c\x32\x79\x75\x14\x9a\x5a\xe5\x70\x81\x71\xa4\x23\xb6\xaf\x70\x12\xfa\xbf\xa9\x80\x44\x2a\x1d\xc4\x75\x2b\xec\x1d\x57\x43\x5e\x15\xf8\x90\x54\xbb\xf3\x8e\x1e\x27\xab\xd2\x8d\x54\x2b\xf6\x7b\x45\xe2\x10\xd4\xf8\xc3\xa1\x3c\x7f\x18\x2f\x0f\xf6\x8c\x57\x4e\x59\x76\xb7\x51\x1c\xa3\xa3\x8e\x5a\x5c\x00\xba\xfa\xc0\x1e\xe1\x82\xf6\x9c\x15\x22\x18\x1d\x28\x43\xe1\x04\x7c\x97\x4a\x1d\xfd\x4b\x76\x6a\x42\x9a\x58\xc5\x1e\x08\xba\xf6\xcc\xc6\xc3\x83\xe4\xb6\x8d\x40\xe8\x35\x23\x30\x2f\x2e\xeb\xc3\x42\x2e\xe8\x5c\x43\x6b\x12\xb2\xee\x5c\xc2\xf9\xee\x1e\x86\xd9\xb1\x1c\xa6\xd0\x2d\x8f\xda\x31\x9d\xba\x5d\xea\xcc\x34\x88\x90\xa7\xd0\x79\xeb\x9e\xbf\x80\xf1\x05\x95\x17\x95\x0b\xa8\xca\xcb\x16\x78\x81\xe5\xbc\xc1\x3a\x4c\x52\x0d\xb0\x6d\x40\x46\x1f\xcf\xa5\x97\xb4\x98\x8f\xd1\x4b\xc4\x1e\xbe\x5f\x5d\x0f\xa2\x07\xa2\x65\xa1\xe8\xc8\x97\x03\x31\x2f\x73\x2c\xc0\x3e\xb3\x23\xc8\x54\xba\x6b\xae\xea\x86\x3d\xff\xcc\x95\xc1\x36\xd8\xee\x87\x68\x20\x86\xdb\x13\xd3\x86\xe2\xb0\xe8\xac\x31\xab\x89\xca\xec\x31\x74\x56\xcc\x12\xf5\x39\x19\x49\xef\x04\x6c\x0c\x2f\x69\xe8\x89\x16\x85\x46\xbb\x56\x14\x04\xad\x48\x65\x22\x06\xe7\x3e\x7f\xd2\x40\x3d\xe6\xba\xf7\xe7\x0a\xc0\xe3\x19\x1d\xa0\x85\x48\x49\xeb\x54\x83\x19\xa9\xa1\x32\xd8\xa2\x9d\xd5\x3b\xec\x44\xf5\xad\xff\x2f\x6d\x93\xf1\x4a\x24\xac\x96\x7b\xcb\x37\xb0\x3e\xab\x8d\x9d\xa9\x65\x3d\x9a\x27\xfc\xe3\x63\xdb\x4a\xcc\x7d\x23\xba\x18\xbd\xfe\x1a\xc1\x55\xcb\x4e\x36\x8a\x9b\x80\xa0\x1c\x0b\x15\x41\x43\x13\xf7\x86\x01\x62\x53\x63\x42\x5f\x60\x1e\x47\x04\xd5\x61\x8b\xda\xf4\xb3\xd8\x37\x37\x13\x0f\xd6\x85\xfd\xca\x0a\x7a\x08\x55\xab\x3c\x2f\x5f\x4b\x88\xac\x21\x5b\x76\xf5\x9c\x90\x85\xbe\x5e\xff\xa5\x03\x03\x80\xa6\x25\xe5\xff\x26\x83\x3b\xda\xfb\xa3\x0e\x4c\xe0\xa9\x22\xad\x8a\x3b\x17\x86\x6e\xc1\xc6\x9d\xe5\xa8\x8f\xb3\x65\x2d\xaa\x8e\x80\x9d\x99\xd8\xb6\x72\xb6\x52\xd1\xde\xa1\x9c\x39\x93\x61\x11\x37\xfb\x6e\x68\x9f\x6a\x82\x5a\xa3\xd9\xff\x94\x51\xcd\x09\x51\x58\x27\xe9\x2f\xae\x8c\x93\x65\x97\x17\x69\x08\x6b\x2b\x46\x47\x18\x83\xb0\x53\x36\x97\xf8\x93\x53\x5d\xc7\x6e\xd0\xb7\x2d\x22\x5e\x06\xfa\xd2\xc7\xfb\xf3\x84\x3a\x0a\xc8\xe2\x77\xdd\x74\x05\x43\x6a\x19\xe1\x7c\xed\x4a\xff\x95\x93\x50\xb5\xa1\x91\x41\x47\x50\xd7\x6c\xf6\x9d\x57\xe9\x2e\x80\x80\xa1\x6b\x7f\xec\x90\x7a\x1c\xaf\x29\xb7\x10\x48\xb8\xb3\x60\x6e\x0c\xe7\x4e\xa7\x14\xe8\xc3\xfe\x1f\x5c\x94\x9e\xdb\x23\x5c\xbb\x32\x42\xb5\xed\x47\xc2\x23\x83\x70\x80\x2c\x16\x5d\x94\x74\x9e\x04\xea\x00\xf3\xc3\xc8\x7f\x17\x31\x46\x55\x2f\xe7\x61\x14\xb4\x1d\x68\x7b\xb5\x4d\x29\xa7\x1e\x26\xd4\x3f\x97\xce\xcb\x84\x68\xff\xc6\xd4\xc8\x08\x88\xb5\x62\x8a\xa4\x46\xa5\xaa\xb5\x9c\x69\x99\xa8\x38\xbc\x93\x6f\xea\x57\x2a\xfa\x5b\x24\xac\x1a\x8a\x74\x75\x51\xbc\xe0\x7a\x3e\x72\xa5\xfe\x44\xa6\xa0\x9c\x08\xc3\x81\x84\x91\x6e\xfa\x34\xa5\x90\x7a\x66\x56\x1b\x48\x78\x90\xfe\x1c\xe0\x71\x90\xc7\xd9\x39\x8d\xd7\xb6\x4d\xb9\x84\x9d\x7c\x0c\x4f\x93\x0e\x28\x4d\xcf\xfa\xbf\xa9\x2d\x82\x21\xf4\xc6\xb2\xc9\x96\x5c\x2c\x98\xa0\xb3\xd7\x1e\x80\x49\x03\xa8\x63\xe2\x7f\x78\x92\x8d\x27\xaa\x9e\x1b\x2b\x1f\x95\x7e\xda\x8b\xea\xb1\x48\x5e\xf9\x66\x0d\xf5\x91\xa6\xe2\xa1\xd9\x6a\x69\xde\x44\x43\xbc\x70\xb1\x4f\xd2\x94\xb3\xe8\x2c\xba\x3c\x40\x64\xe8\x6e\x1a\xa5\xa7\x69\x7f\x55\x79\x99\x89\x38\x6f\x70\x08\x0e\x32\xbc\x72\x7e\xda\xf3\xb3\x8c\x80\x88\xf7\x93\xea\x6f\xd2\x7e\x1f\xad\xa1\x12\x97\x6e\x40\x13\x12\xf5\xb8\x1b\x22\x14\x9a\x42\x9e\xc1\xf9\x34\x65\xae\xc7\xd6\xea\x10\x6e\x7a\x8d\xdc\x8a\xc6\x46\xc5\x5c\xe0\x1d\x4a\x0a\xb7\x24\xe5\xa1\x22\x99\x24\xa2\x87\x3c\xd2\xa3\xa8\x56\x61\x2b\xde\x34\xda\x8e\x48\x66\x61\x9d\x18\x23\x9d\x1b\x0a\x80\xe7\x0d\xca\xf1\x20\x48\x06\xd8\xaf\x5f\xbd\x00\xcf\x62\xd7\xf7\xee\x14\xec\xb0\x05\x4e\xe6\x45\x23\xb2\x5f\x52\x38\x0f\xc3\xb3\x62\x0e\x55\xf6\x4b\xe1\x94\xad\xe8\xa1\xde\x32\x1c\x70\x1a\xf5\x8c\xd9\x18\xaa\x6a\x42\x86\xdc\xe6\x8b\x4f\xc9\x4d\xdd\xf4\xdd\xb4\xd2\x39\x1b\x6b\xf8\x6e\x90\xc0\x2b\x45\xc0\xb6\x20\xd9\xbe\x4f\x18\xfe\xd5\xf4\xd4\x4a\x88\x28\xa7\x99\x20\x6a\x1b\x69\xb1\x1e\xb0\x4e\x26\x48\x2a\x70\xb3\x38\xcc\xb2\x0e\xe9\x10\x51\x74\xb8\x93\x45\x48\xaf\xd4\x86\xd5\x44\xe8\x12\x8c\x32\xe3\x7e\x25\x80\x5f\x93\xe9\x11\xd6\x99\x7b\xad\x86\xde\x60\x93\xdb\xa6\x01\xd1\xc4\x4e\xe2\x23\xdb\xfb\xe1\xbf\xa9\x38\x3f\x18\x9d\xb0\x7b\xaf\xb6\x08\x30\x21\x8e\xfa\xfc\x93\x10\xf3\x2c\x90\x8b\x96\x8a\x19\x07\x54\xa2\x6c\xe1\xd2\x33\x77\x59\x31\xa7\x24\xb5\x16\x6c\x5a\x7f\xf8\x69\x66\x60\x1e\xbb\xa5\x56\x84\x0e\xfe\xee\xa1\x69\x53\xc4\xdd\x3c\xe4\xf7\xc4\x6e\x7c\x98\x1e\x4d\x69\x3d\x64\x44\x63\xee\x8b\x1d\x87\xb0\x4b\x0d\xa8\x58\xcc\x83\xf1\x49\x1a\x36\xc5\x95\xff\x49\xa9\xa1\x47\x5b\xf2\x0f\xd5\x4f\x0b\x8f\x10\x77\xa8\x02\x6e\x1c\xcc\x00\x33\x4c\x58\xee\xa1\x94\x30\x36\x37\x95\x09\xa9\xd6\xee\xfc\x87\x26\xfc\x4d\x4f\xb7\xee\xfb\x5c\x74\x3b\x2d\x65\x27\xc9\xa9\x22\x2f\x0b\x82\x44\xf3\x28\xa9\xb5\x7e\x22\x18\xb2\x09\x22\x7b\x29\x83\x5d\x1d\x00\x93\xf5\xf4\x43\x0b\x43\xe2\xf3\xaa\xe3\xc8\x06\x1c\x88\x21\xea\x08\xc2\xbc\x03\xd5\x38\xfb\x67\x48\x85\x93\xd4\x43\x83\xe7\x39\x20\x55\x01\x72\x2e\xa4\x18\xe5\x5f\xac\x6f\x03\x36\x1f\xb5\x30\x59\xce\x1b\x46\x04\xde\x21\xa8\x87\x9a\x7d\x32\xd8\x92\x41\xbe\xf8\xe7\xe0\x91\x51\x39\x0a\x1b\x3d\xb7\x37\x23\x56\xf0\xee\x24\xc8\x12\x6d\x2e\xbf\x56\xf7\x45\xc1\xd7\xae\x8f\x2d\xd5\xa4\x82\x39\x70\xad\x33\x00\xca\xca\x9b\x47\xc4\x49\x7c\x27\x65\x1d\x4e\x78\x66\xb5\x81\xb0\x58\x4d\x15\xa1\x11\xbe\x8e\x54\x2b\x74\x4d\x13\x5b\x05\xff\xd7\xc2\x93\xf5\x29\x70\x9b\x3b\xf7\xf4\x2f\x12\xb4\xec\x38\x98\x49\x54\xd4\xb3\x4a\x2d\x48\x30\xff\xac\x5a\xd2\x2b\x16\x0a\x2a\x4f\x24\xe2\x13\x18\xaf\x05\xd3\xe1\xb7\xf5\x4d\xf3\x04\xe7\xbb\xb0\x01\xbc\x35\x25\x3f\xf8\xbf\x46\x07\xad\xee\x89\x1d\x7a\xd0\xbd\x58\x37\x47\xa6\xb5\xa3\x1b\x89\x5c\x24\x66\x16\xb3\x71\x9d\x45\xac\xa2\x20\x2b\xd5\x7c\x8d\x38\x16\x4b\x40\x70\x75\x95\xee\x27\x98\x2e\xd7\x6f\x61\x69\xeb\x78\x89\x18\xa1\xf2\x49\x9f\x45\x9e\xdc\xab\x6e\xe5\xf1\x77\x7a\x2a\xe4\x7a\xcb\x5c\x20\x1d\x80\xd5\xfa\xa6\xba\xff\xa3\x5a\x5b\x2b\xbc\x81\x68\x79\x3b\x0a\xdc\xc0\x0e\xb6\x6e\x19\x26\xd7\x65\xd5\x12\x47\xd9\x4f\x60\xdd\x7a\x37\x58\x24\x02\x5e\x4e\xd4\xb0\x99\x9d\x08\xe4\x9c\xad\x05\xf0\x24\xe3\x43\x26\x0a\xb8\x35\x6d\xf3\xd6\x34\xbc\x4c\x7d\xb3\x8d\x91\x52\xd2\xec\xae\xb5\x0e\xc1\xeb\xc9\x4a\xf8\x05\x7e\x69\x5f\x31\x53\xef\xb1\x12\x45\xf5\x12\x6f\x4d\x4b\x34\x58\x5d\xe0\x15\x9a\x7d\xf1\x88\x5a\x1b\x78\x37\xfe\x6e\x93\x0f\x86\x7a\xc8\x2d\x55\x0a\x57\x62\x2e\xde\x24\x60\x8e\x95\x06\x98\xb2\x44\x30\x80\xd3\x99\xed\xad\x64\x70\xe3\xc7\x17\x91\xc2\x71\xa8\x51\xeb\x78\x1f\x46\xfe\xca\x83\x97\x3f\xd6\xb4\x9e\x8d\xf5\x75\x36\x03\x54\xc6\xc0\x78\x90\xdb\xc5\x49\x28\x2a\xc7\xec\x8f\x15\x18\x6f\x97\x3f\x0e\x0f\x9f\x2b\xc5\xa0\x00\xfb\xee\x02\x3f\xc8\x87\xd1\xc3\x3a\xaa\x26\xec\x78\xb4\xa4\x8c\x2f\x6e\xf1\xc8\x8c\xb5\x14\x95\x72\x70\x56\xca\x0b\xb5\x69\x6a\x15\xe9\x50\x1e\x26\x5a\x69\x19\x0e\xed\xce\x87\x39\x69\x1b\x47\x2b\x97\xe4\x2e\x6d\x47\x01\xcb\x44\xc9\x6b\xc6\x50\xf9\xa4\x8c\x38\x2d\x61\x89\xb4\xef\xa6\x22\x66\xd5\xe8\x40\x3b\xb9\x42\x95\xdd\xd0\x8a\xfc\x80\xe3\x12\xa9\x52\xf7\x7a\x3e\x68\x33\x4b\x10\xcf\x62\x06\xfb\x39\xe8\x5b\xbb\x4b\xee\x9a\x26\x75\x85\x9e\x94\x28\x0d\x46\xf9\x49\x44\x20\xd5\xbb\xc1\x13\x37\x49\x96\xee\x68\x2d\x58\x56\xb6\xd1\x37\xcb\x63\xc2\x07\x51\x36\x1d\x15\x90\x51\xad\xfb\x31\x96\x42\xac\x5f\x37\x89\x64\xdf\x91\x87\x08\x4a\x9b\x46\x8d\x3d\x92\xd7\x6b\xbd\x7b\xed\x55\x2c\xb0\x9f\x5f\x95\x8c\x78\x66\x34\x2a\x7d\x27\x5e\x94\x75\x9b\x5c\xe2\xb6\xaf\x6c\x72\x87\x52\x32\xcd\x07\x9f\xde\xd6\x91\xfa\x47\x5a\x8c\x82\x85\xe0\x4b\xc2\x46\x4e\x8f\x49\x1d\xf4\xee\xa5\x1a\x89\xf6\x94\xdf\xc8\x32\xd7\x47\xfc\xb6\x6d\x28\x43\x7f\x14\x65\x5f\x75\x63\xea\x54\x4e\xac\xdd\xb3\xb7\xea\xbc\xa2\x68\xc6\xf0\x1b\x48\x51\x30\xbc\x4a\x8b\x88\x78\xbc\x89\x5b\xaf\x81\x88\x63\xc3\x7a\x7c\x78\xe8\x00\x5d\xbe\x8c\x96\xa2\x15\xb5\xeb\xac\xea\x29\xd1\x45\xd5\xd0\xf9\xf3\xbc\x8c\x98\xdf\x1b\xa0\x88\x8e\xd1\x4c\xe4\x2f\x28\xe3\x58\x17\x8b\xaa\x15\x09\xcd\x89\xa1\x28\x73\xca\x9b\xb2\xea\x8a\x20\xcc\x53\xc2\x7b\xcb\x11\x0a\x8d\x7a\x03\xe9\xc5\x88\x2c\x33\x83\x5b\x0b\xf2\xdb\x7f\x53\xa9\xa4\x4a\x74\x90\x29\x5c\xdb\x76\x3e\xae\xb3\x69\xbd\xe7\x42\x19\x34\x8f\xa2\x8f\x11\xc1\x79\x1f\x0e\x80\xe2\x23\xa8\x82\x40\x39\xdf\x88\x23\x3d\x0c\x26\xc5\x67\x94\x0a\xb7\x48\xdb\x32\xd5\x12\x38\x38\x1c\xda\x72\x2b\x91\xfb\x86\xde\xf6\x33\x70\x56\x86\x5c\xe0\xb5\x7a\x5e\x31\x12\x56\xcb\x63\xed\x4f\x5d\xfd\xaa\x24\x24\x6b\x80\xb8\xc3\xfa\x27\x39\xa3\x69\xfb\xc4\x73\x27\x45\x4e\x2e\x93\xda\x12\x03\x2b\x08\xe0\x57\x7e\x0f\xe8\xc0\x8b\x76\x65\x0c\x22\x6c\xac\x02\x84\x69\xda\xf6\xac\x78\xcc\x93\x5b\x53\x16\x7b\x4b\x0e\x85\x17\x95\xa4\xed\x34\x97\x00\xc3\x3c\x52\x82\x89\xbb\x96\x95\xfa\xee\xbd\x5a\xfd\x80\xdf\x07\x81\x9c\xa0\x1d\xfc\x2b\x80\xab\x8d\xcc\xf5\x9c\xa5\x39\xad\x09\x24\x20\x66\xe0\x22\x70\xd6\x6a\x9a\xeb\xf9\xe9\xd5\x2a\x30\xb7\x4d\xec\x67\x98\x8f\xe7\x06\x94\xc2\x4a\xeb\x5b\xba\xbd\x27\xb0\x64\x0c\xf6\x7f\xdb\x5d\x88\xa9\x0a\x6f\xca\x4f\x19\x2e\x36\x81\xf3\x4a\xcb\x1a\xae\x44\x1c\xfd\x1a\x6e\x73\xd4\x6b\xb0\x07\xd5\x11\xd1\xa0\x05\x0e\x9f\xff\x29\xb3\xd3\xd1\x91\x85\x6a\x15\xc8\x82\x99\x03\xd9\xe4\x51\x65\xda\xe6\x9b\x58\xf8\x8a\x34\x56\xae\x7d\xcb\x6b\x05\xad\x22\xb6\x66\x9b\x03\x0a\xf2\x5d\x92\xa3\x6c\x8b\xf1\xaf\xd5\x0f\xb4\x8b\x93\x14\xc5\xa5\x9e\x88\xa5\x27\x32\x8d\x67\x7f\x35\x49\x4d\x7c\xd6\x13\xaa\xb1\x3e\x59\x1f\x97\x1f\x70\xff\x29\x2a\x27\x50\x32\x99\xdf\x1b\xe8\x67\xfd\xfa\x1a\xa7\x6c\x31\x82\xaf\x51\xac\xce\x46\xf7\xae\x36\x74\x1c\x5c\x3c\xd6\x95\x5a\x8b\xa4\x15\xd0\x57\x68\xba\x7b\x55\xcb\xc1\x30\xc6\xac\x7a\xd2\xa8\xdd\xc6\x78\x77\x1e\x1b\x98\x11\xf3\x74\xd8\x62\x81\x68\x31\x54\x7d\xf2\xab\x0c\xac\xc3\xe6\x3d\x64\x13\xc4\xae\x06\x1c\x3a\x18\xfd\x4b\x3f\x44\x2d\x53\xec\xd7\x53\x4a\xee\x1c\x73\xd8\x4d\x79\xb1\xc2\x0a\x84\xd1\x65\x60\xc5\x32\xa9\x6f\x9c\xa8\x3d\x31\x8c\xf9\xb2\xb6\x2f\x27\xbc\x3c\x80\xa8\xc2\x85\xe0\xd0\xa4\x79\x9b\x2b\xf0\x33\x80\x51\x57\x66\x67\x5e\xd6\x7a\x62\x33\xec\x34\x53\x06\xcf\xfc\x5a\x52\x95\xa3\x8c\xb8\x00\x7a\xfa\xb0\x14\xe1\xcb\x3f\x33\xca\xf9\x65\x26\xc6\xd6\x3d\x9d\x78\x1a\x98\xc9\x74\xd3\x8b\x75\xc6\x24\xad\x1a\x8b\xb2\xd0\x31\xbf\xaf\x85\x4c\xc2\x9f\xc5\x7c\x11\xad\x96\x98\x75\xac\x47\x68\x57\x0f\x57\xc7\xde\xe7\x65\xd2\x43\x17\xdf\x87\xc4\x26\x40\x7a\xb4\xb1\xbb\x28\x5e\xe3\x62\x32\x96\xfe\x25\x73\x30\x95\xdf\x14\x31\x3a\x18\xc0\xa9\x4a\x76\x29\xb5\x8c\x34\x08\x1f\x3c\xdf\xc3\xa4\x71\xc1\xd0\x33\xd6\x56\xea\x2f\xb5\x91\xfe\x2b\x57\xe5\xa3\xbf\x78\xe1\xfe\x0f\x65\x8e\x2d\x5d\xc9\x03\x45\x87\xb8\x0e\x16\x15\x99\xd8\xfc\xd6\xc6\xea\x94\xc2\x5b\x90\x14\xac\x5e\xd1\x5c\x45\x2e\xe6\x80\xf4\xc4\xb8\x6e\x85\x2f\xe0\x40\xfb\x57\x5e\x80\x39\xab\x57\x87\x02\x5a\xff\x81\xc3\x98\x5c\xd0\x41\x37\xee\x40\xc3\x2c\x45\x14\x21\xbd\xfe\xe9\x20\x91\xf2\xeb\x08\xa8\xa0\x9d\xdf\x91\xfd\xba\x96\x8d\xcd\x91\x56\x61\x6b\x3c\xdb\x39\x90\x70\x5c\xab\x86\x7a\xe7\x6d\xa7\xde\x0b\x89\x84\xb3\x27\xf1\x5b\xc6\xcd\x69\xd5\x1d\xb1\xb4\xf7\xbb\xc3\xca\x00\x97\x5c\x8f\x7b\xce\x01\xd2\x5f\xe1\xc7\xc4\xc4\xb1\xab\x32\x81\x54\x89\x95\xa9\xf1\xb4\x10\x94\x8f\xc9\xe3\xc2\x4d\xaa\xa6\xdf\x5e\x83\x91\x4a\xf9\x3d\x9d\xef\x80\xb9\x96\x2d\xef\x3d\xfe\xb5\x38\xb1\xe4\xbd\xa9\x60\x87\xf1\x5f\x0a\x65\xc6\x6a\x9a\x05\xcf\xbb\xbf\x22\xbe\xb5\xa7\x71\xa2\x1e\x32\xeb\x8c\xf9\x4e\xa4\xf1\xd0\xbd\x8a\xdd\x13\x60\x8b\x26\xc1\x45\xa9\x68\x0c\xbb\xfe\x7d\x17\x82\x0c\x1b\xba\x69\x53\x25\xbc\x18\xd8\x79\xbb\x2b\xc4\x13\x4d\x6c\x77\x31\x67\xd3\x48\x4c\x49\xa4\xe2\x7f\xb8\xc2\xed\xb0\xd0\x20\x1d\xbb\xc6\x90\xd5\x70\x64\x65\x12\x0b\x1f\xfa\xc3\x86\xfc\x14\xea\xed\x47\x71\xc8\xc9\xba\x44\xc7\x25\x53\x3c\xcc\xe8\x3a\x53\x7c\x73\x99\x08\x13\x88\x90\xee\x67\x95\x61\xc8\xb2\xde\x19\xc1\x94\x98\x80\x34\xb1\xd3\xc4\x00\xe2\xcf\xed\xde\x13\x3d\x5a\x5c\x22\x72\xf2\xba\x6b\xb1\x16\x08\x3b\xf1\xd3\xb6\x21\xa5\x6d\x1a\x9f\xbb\xe2\xd7\x3a\x75\x71\xd8\x20\x17\x61\xba\xae\xa7\x49\x06\x0e\x08\x77\x54\x42\x4e\x0e\x9a\x46\x34\x00\xe8\xcf\xab\x62\x69\x5f\x79\x80\x54\xb8\xdf\x78\xc0\xab\xfe\x96\xe2\x88\x81\xc2\x85\x48\x8a\x9d\x53\x28\x55\x27\xec\xa0\xc6\xc6\x86\x01\xa7\x8b\x09\x47\xa8\xdc\x14\x7a\x67\x61\x10\x65\xf1\x2e\x14\x83\x15\x8b\xe2\x23\x86\x9e\x87\x90\xac\x6a\x77\x2c\x3f\x6b\xae\xea\xd6\x24\x57\x1c\x61\xf0\xf3\xbf\xa0\x2b\x2a\x9f\x47\x4e\x35\x65\x72\x98\x79\x13\xdc\x2b\x8e\x33\x4c\xbc\xb5\x17\xdf\xf3\xf0\xb0\xc1\x48\xd4\xf6\xe3\x8d\xe7\x62\x7a\xe6\xc7\xc0\x42\x0f\x2a\xad\x45\xea\x5b\x64\x0b\x94\xd4\x34\xdd\xa3\xcf\xbf\x71\x46\x1f\x7b\x40\x27\x9e\xe6\xc2\x97\xd8\x22\xf3\xb4\xc3\x1d\x67\x9f\xd9\x3b\xe2\xa7\x09\x5c\x84\xc0\x5c\x12\x6a\xdc\x97\xcb\xa8\xf5\x9b\x3f\xcb\x1c\xfb\x49\x8b\x51\x3b\x67\x7b\x70\xd3\x1a\x4b\xc5\xe7\x36\x31\x40\xaa\xcb\x59\xa4\x74\xb6\x7a\x32\x49\x91\x31\xb6\xcd\x71\x85\x8b\x93\x95\x35\x2c\x5c\xd7\x53\xa5\x0d\x2b\x00\x36\x6b\x35\x3f\x51\xc8\x4b\x93\x0f\xf6\x4b\x9b\xf7\x94\x1a\x10\xdb\x56\x7c\xe8\x5d\xb9\x56\x8d\xcc\xde\x2c\x10\x77\x92\xc9\x74\xd6\xc1\xab\x3e\xdd\xbe\x0b\x09\x4f\x98\xbb\xec\xbe\xed\x11\x0e\x3a\xd6\x7d\x28\xaf\xa2\x9f\xb7\xa2\x6b\x8a\xef\xf2\xb8\x0b\x93\x3a\xbd\xc5\x00\x96\xd0\x30\xb6\x9c\xaf\x0c\x15\x90\x66\x23\xfa\xea\x4e\x43\x1c\xc6\x4c\x95\x98\x3f\x40\xd8\x6c\xf1\x3a\x65\x7f\x6d\x39\x2e\x4c\x3d\x31\x05\xf8\x78\x48\xc8\x34\x88\xf0\x2f\x18\xf3\x35\x98\x05\x86\x86\x52\x77\xae\x9f\x2b\x15\xbd\xe5\x9c\x6d\x02\xd5\x62\xa1\x7e\x9b\xd4\x08\x94\x55\xaf\xd4\xbb\xc7\x7f\x01\xf5\x31\xec\xfb\xfd\x5c\x8b\x58\xa1\x30\xdd\x14\x3d\x9e\x11\x4a\x69\xa8\x36\x92\x2b\xca\xa4\xd4\x04\xed\x3a\x7d\xa4\x64\x8d\x27\x80\x75\x1f\x7c\xc6\x07\x00\xb7\xf8\x7d\xd7\x79\xe8\x36\x97\x51\x75\xc1\x25\x6a\xd1\xb4\x62\xaf\x29\xf0\x72\x4b\x12\x1f\x4b\x0d\x53\xe0\x4b\x77\x5f\x18\xa0\x02\xec\xc3\x99\x62\x8c\x23\x04\x4c\x74\xa7\x90\xdf\x95\x0e\x3e\x38\x5f\x17\xbf\xcd\x9b\x52\xae\x47\xaa\xb0\x1a\x5c\xb2\x7e\x9f\x8b\x6e\xc7\xcd\x90\x98\xdd\x1d\x5e\xdb\x4d\x89\xc1\x02\x77\x89\x34\x1f\x69\xff\x14\xc6\xd2\xc8\xf4\x32\xee\x84\x3f\xf6\x01\x9b\xe3\x15\x5d\x4e\x22\x88\x8e\x40\x46\x35\x04\x98\xb5\x39\x56\x8d\x62\xef\x90\x72\x96\x7c\xf0\x9b\xcd\xa5\x51\x96\x76\x3a\xda\x21\x6c\x35\x9e\x6c\x02\x32\x4c\x82\xe1\x6b\x16\xeb\x86\x8a\x1f\x44\x76\xc3\x46\xd2\x67\x53\xe6\x60\xef\x73\x0a\x08\x77\xd3\x1a\x7a\x9b\x90\x83\x08\x1b\x00\x20\xd3\x39\x9d\xaf\xf3\x3b\x8e\x95\xf9\x76\xc0\x82\x67\x3a\x7d\x0a\x7c\x1a\x13\x94\x41\xad\x09\x6f\x3e\x9b\x60\x4b\x13\xdc\x11\xe7\x3b\x95\x43\xc4\xb7\x9b\x9b\x6d\xa7\x15\xec\xb6\xe4\x0f\xd7\xb7\x39\xfb\xb6\x0a\x5c\x8a\x80\x33\x39\x07\xed\x64\xd9\x48\x73\x48\x00\xaa\x77\x55\x88\x0f\x2e\x12\x84\x0b\x39\xc7\x83\xe9\xad\xf7\x93\x4f\x18\x54\x53\xd7\x4d\x4c\x29\xfb\xdf\x93\x26\x5d\xac\x08\x62\x71\xaf\x05\x47\xa5\xd0\x9e\x01\x3b\x0e\xfc\x00\x40\xa1\x19\x16\xef\x4a\x11\xb6\xce\xc7\x30\xcf\xc4\xe0\x5d\x5d\xb5\x5b\x5e\x39\xca\xa4\xd7\xe4\xa2\x39\xb5\xeb\x21\x4f\xf4\xd7\xdb\xd3\xf0\x25\x32\x55\xbd\xa4\x9b\xf8\x5b\xea\xfc\x44\xb3\x1f\x2e\x00\x6c\x0e\x0d\x6e\xb0\x72\x03\x42\x0e\xd1\xee\x03\x15\x83\x93\x4d\x73\x6e\x87\x78\x50\x2b\x05\xb3\x55\xc6\x9d\xcd\x0d\x0c\x65\xdf\xc3\xde\x6f\x98\xc7\xc3\x52\x6a\xcc\x58\x8f\xd3\xbb\xe7\xc0\x45\x78\x8f\x5e\xa9\xde\xbc\x99\x3d\xff\x0d\x5b\xdc\xc5\x32\xd0\x11\x52\xd5\x1e\x5a\xe0\xbe\xda\x16\xb8\x35\x96\xfe\x4a\xbe\xed\xde\x39\xe1\x95\x5d\x1c\x3d\x11\x97\x94\x63\xb8\xec\x49\xcd\xf0\x0d\xfe\x8b\xf3\x97\xa6\xf9\x5f\x56\x3d\x8e\x94\x54\x82\x6c\xd8\xa1\x76\x2a\x4f\x61\x43\xba\xc3\xc0\x3b\x7a\xd2\x04\x8b\x82\x99\x9a\x45\x11\x21\x85\xbc\xcc\xe6\x6f\xca\xa3\x92\xbc\x83\x03\xe6\x84\x8a\xed\xed\x9d\x76\x33\xa1\x92\x67\x5f\xb8\xb0\x49\xda\x6e\x7b\x99\x4d\x76\x11\x19\xd3\x9a\x01\xc5\x87\x76\xd9\xc3\xae\x85\xe0\x35\xd0\xa8\x7a\x98\x5b\x01\x53\x26\x35\x34\xf2\x33\x32\x27\x39\x47\xcd\x19\x65\x43\xe0\x5e\x1b\x37\x11\x50\x15\xc7\xcb\xdb\x91\x70\xa1\x5a\xc8\x66\xd9\x23\x96\xe0\x54\x99\x00\x73\x57\x86\xfb\xe8\x5d\xca\xd2\x9c\x1c\x0d\xf0\x8d\x57\xb9\x3a\x1a\x69\x35\x16\x36\xee\x63\xe7\x83\x16\x19\x40\xc7\x4b\xc3\xe0\x77\x69\xa4\x5f\x4f\xfe\x62\x68\xad\x7b\x1c\x16\x76\x3d\x4e\x0f\x15\x53\xa0\x11\x6f\xac\x3f\x6c\xb6\x98\xba\xde\xc6\x72\x59\x73\xbe\x82\xf8\x2b\x3f\xc3\xed\x28\x48\x3c\x17\x09\x3d\x51\xe7\xe8\x73\x45\xcf\x99\xab\x59\xf5\x86\x8d\x9e\x48\xdd\x26\x9d\x39\x8c\x47\xe9\x80\x32\xd0\x90\xb4\xa9\xa4\x8a\x77\x34\x20\xcd\xd3\x76\xf4\x59\xa6\x90\x81\x8c\xc7\x5e\xb2\x3f\x7a\x2e\x4e\xdd\x76\x16\x63\xeb\x42\xc1\x65\x90\x5c\xad\x7d\xa2\xd1\x64\x23\xba\xbd\x58\x92\x31\x69\xe6\x92\x78\x58\x48\xdc\xf6\x79\xc3\xaa\xd1\xa3\x20\xd1\x60\x35\xb6\x2b\xee\x58\x3f\x93\x34\x92\x74\xc0\xf8\x23\x7a\xb7\xb8\xb9\x42\x1c\x60\xc8\x98\xc6\x8b\xc0\x70\xe6\xe5\x23\xc0\x2a\x6a\x85\x7f\x4c\x24\xaa\x46\x07\x77\xe8\x0c\xbd\xbf\xf7\x31\x96\xd7\xa1\x26\x1d\x62\x23\x56\x29\xa0\x01\x2e\x60\x2f\x66\xa4\xc7\xed\x09\xe9\xde\x4f\x4f\xa2\x15\x2f\x61\xad\x1f\x76\x00\xa0\x66\x25\x5c\x39\xaa\x84\x1f\xd6\xfc\x89\x5a\x59\x1b\xde\x8b\xf1\x3e\xff\x8e\xba\xb5\xcc\xef\x1d\xe1\x87\xe9\xa7\xb7\x3d\xb2\x87\xa7\x73\xed\x5b\xec\xcc\x21\xb6\xac\x28\x7a\x40\xe3\x5c\x08\xe1\x96\x00\x7b\xce\xc4\xac\x23\x50\x62\x3e\xde\x57\x90\x1a\xe5\x43\x0e\x57\x03\xdd\xeb\xf9\xf3\x59\xff\xd6\xbf\x45\xc2\xa2\x43\x53\x24\x7b\x82\x87\xe1\x1a\xfd\x8d\x6f\x54\x33\xfb\xf1\x46\x6c\xa2\x7d\xab\x42\xa6\xfa\x68\x5d\x13\xc7\xd4\x34\xfa\xa2\x6b\xc1\x5d\xfc\xda\x00\x7b\xdb\xc6\x4a\xde\x6d\x81\xef\x4a\xc9\x9b\x43\xf9\xcb\x2f\x96\xa8\x3b\x8d\x9a\x99\x72\x14\xe4\xaf\xf5\xc0\xd9\xa3\x9d\x1e\x44\x5d\x56\xd4\xb6\x9e\x74\xc3\xef\xe6\x10\xfe\xf5\xc1\x59\x3c\x22\x03\x2e\x7d\x9b\x53\xea\x13\x79\xe2\xf4\x31\xa1\x9a\x3e\x01\x99\xea\x11\x6a\x52\xd4\xde\x0b\xe4\x86\xd8\x1a\xf7\xb2\xb1\xf0\xd1\x01\x5f\xce\xf5\x3e\x19\x50\xf1\x4d\x36\x29\x06\x81\x90\x62\xe4\x77\x05\xed\x4d\x90\xc6\xeb\xa1\x85\x1f\x74\xc0\x56\xd6\x39\xdc\x36\x35\xf0\xdd\x5e\x67\x22\xca\xa2\xc2\x19\xe2\x43\x4d\xf8\xa0\xf8\x31\x0c\x9a\xf0\x7b\xc9\xd9\xbe\x91\x42\x32\xa5\xc2\x92\x61\xa4\x88\xbe\xa2\x32\x0c\xa6\xa7\xf9\x77\x0e\x29\x7a\xaf\xc2\xb7\x8f\xcd\x6c\xec\x4b\x9b\xf9\x98\xdd\xa5\x82\xcf\x60\xe9\x68\xc1\xd9\x32\xed\xc1\xf7\x02\x9b\x19\xbe\x87\x82\xdb\x47\x33\x8f\xdf\x82\xa3\xaf\x82\x75\xba\xa9\xcf\xfd\xdc\xa0\xd8\x1d\x94\x86\xcb\xea\xad\x0f\xb3\x50\x46\x1e\x75\xca\xd2\xeb\x42\xdd\x5e\x10\x68\xba\x98\xb4\x07\xaa\xb1\x63\x91\xf2\x47\x1f\x4a\x87\xa0\x44\xda\x31\xcd\xaa\x0a\xca\x43\xb6\xb7\x1e\xfd\x95\x54\xc7\x2f\x80\x8b\x3c\x91\x75\x81\xd0\x09\x56\xca\x67\x05\xf3\x31\xbe\x7b\x88\xd0\x94\x92\x55\x87\x21\xbe\xf3\x58\x14\xfe\xef\xc6\x31\x4a\xb4\x16\x55\xf2\x43\x24\xc8\x7a\x15\xd3\x87\x3c\xa7\x1f\x5c\xfb\x60\xc2\x81\x6f\xa1\xb1\xdd\xde\x61\x9d\x3a\x51\xd4\xed\xf2\xfe\x4c\x2e\xea\x40\xea\xb1\xc7\x8c\x79\x96\xd5\xc3\x18\xf4\xdd\x4b\x6b\x59\x14\x9e\xbb\x46\xab\x79\x10\x10\x86\x03\xa1\xff\x37\x7c\xc0\x94\xac\x44\x54\x3a\x19\x5c\xd2\x95\xa2\x82\x15\xec\x26\x5b\x89\x04\x17\x8d\x1b\x78\xae\x5a\x08\xd8\x69\x43\xd2\x06\x66\x80\x4a\x65\xf2\x86\x9c\x87\x0c\xc3\xbe\x64\xc4\x73\xa3\x1c\x96\x83\xcd\x61\xfc\x5f\x9c\xeb\xf1\x3c\x09\x33\xb2\xdc\x9c\x9c\xbc\x4b\xd5\x3b\x51\x5e\xb5\x21\x52\x71\x3e\x8a\xe4\x07\x2d\x62\xaf\x90\x2c\x25\x71\x99\x42\xd8\xa9\xc5\x54\x69\xce\xeb\xb6\xf9\x3e\x72\xc2\xf8\xf2\x3c\x41\x14\x35\x84\xfd\xf8\x9b\x38\xd9\xdc\x8b\x5b\x10\x7d\x20\xe2\x6c\x8d\x1f\xef\x64\x95\xd1\x6e\x56\x67\xf2\x03\xe6\x29\xb8\x75\xed\x4b\x5c\x27\x7e\xaf\x83\x73\x09\xbf\x0f\xdf\x5f\x1b\x12\xd1\x30\x0c\xcc\x42\xa7\xa9\xca\x64\xf1\x46\x32\x33\x94\xfc\x3e\x43\x47\xfb\xba\x2b\xcc\x2d\x43\x9c\x40\x0c\xc7\xcb\x62\x62\x31\x90\x50\xfe\x54\xa8\xa8\xa4\x70\x7a\xc3\x31\xd2\xf9\x09\x8f\x47\x4f\x0a\xa6\x69\xb8\xe6\xdb\x7c\x54\xd2\x40\x9f\x5a\xa3\x35\xf9\x46\x0a\x48\x93\x6b\x18\x0d\xe7\x71\x51\xe6\x8c\xad\x7b\x8a\x09\x55\x43\xc7\x50\xc0\x25\xd3\x6d\xfc\x56\xf5\x63\x47\xd4\x22\x7f\x5f\xb8\xc8\xeb\x2e\x0e\xf8\x59\x56\xd5\x97\x36\x4a\x2b\x42\x2d\x7c\x9f\xb9\x33\x66\x7a\xa4\x9f\x38\x7b\x39\x14\x7e\x05\xde\xd4\xb6\xf5\xe6\x44\x6e\x37\x05\xce\xff\xc2\x9f\xd6\x51\xd5\x6e\xf4\x0f\x7c\x64\x50\xa1\xa6\xca\x54\xcf\xa0\xd3\xa4\x08\x72\x34\xba\x28\xd7\xdb\xae\x86\xf6\x77\x85\xdb\xc5\x22\xb8\xfa\xe3\x4f\xfe\xfd\x47\xbf\xe0\xd5\xda\xa1\x11\x55\xb2\xc4\x8d\xc1\x65\xee\xe5\xc7\xfc\x35\x2f\xea\x76\xe4\x41\x73\x51\x50\xec\x95\x39\xfa\x06\x79\xfd\x52\xf2\x69\x0b\xd6\xb2\x7f\xb4\xb3\xbf\xdc\x37\x12\x30\xdf\xe4\x21\x2a\x21\x48\x41\x7c\xf1\x4b\x0e\x83\xb4\x97\x68\xbf\xfe\xdb\xbf\xdf\x12\xd8\xc1\x0a\x6b\x47\xdd\x5a\xaf\x1d\xf5\xa5\x6c\xe0\x4c\x16\x3c\xec\xdc\xb5\x5e\x8a\x2a\x24\x57\xcf\xd3\x14\x5d\x70\x9c\x7d\xab\xb0\x34\x09\x1b\x80\x52\xe4\x43\x7a\x58\xe1\xe0\x07\x61\x3b\xeb\x81\x69\x5b\xa2\x9b\x22\xbe\xd7\xfa\xb5\x13\xf4\x69\x3f\x3c\x82\xd3\xd9\x88\x41\x19\x0c\x8d\x57\xc1\x77\x22\x43\x97\x7e\x22\x8a\xa7\x04\xd0\x64\x6c\x19\x13\xbb\x41\xa1\x06\x41\x82\x96\x00\xc4\xd7\x1d\x14\x70\xf0\x82\xc9\xb6\x4a\x42\x94\x30\x57\xf5\x19\xc3\x17\xf2\xe7\xd3\xcc\xb8\x2e\x45\xc9\x01\x7c\x0e\x09\x33\xa8\x68\x80\x99\x13\xed\x54\x4a\x24\xcd\x04\x46\x31\xe0\x55\x23\x75\x33\xc1\xf1\x6f\x36\x52\xcf\x5a\x14\x4b\x74\x8d\xac\x54\x30\x72\x13\x6e\xb7\xe2\xc8\xb3\xd5\xae\x38\xc4\xa6\xe5\x59\xf4\x39\x89\xa6\xf2\x56\xe2\x17\x7c\x3b\x49\x61\x4f\x44\x8d\xa7\x79\x59\x67\x38\x05\x2a\x9a\x6a\xec\x9b\x60\x1d\x83\x03\xfd\xee\xdd\x7c\xe8\x78\x51\xc6\x43\x4f\x29\xaf\xd4\xfa\x5f\x33\xc6\x01\x4c\x42\xb9\x7b\xc8\xeb\xdc\x56\xf3\x22\xf9\x79\xe5\x8f\xac\xf9\x80\x1c\xa5\x8b\x16\x44\xcf\x42\x49\x35\xa1\xa4\xf3\xf2\x7b\x80\xc3\x60\x86\x08\xdd\x67\x3e\x75\xda\xb6\xd9\x53\xfb\xb7\x9e\x4c\xf4\x1a\x1c\x40\xc4\x3e\xbe\x2f\x8e\x5f\x5d\x3e\xb9\xf2\xc1\xef\x27\x24\x5d\xd4\xca\x61\xc2\xc9\xbd\x26\xd5\xc2\x02\xd4\x19\x03\xfc\x30\xf6\x69\xe4\xbb\x2f\xbc\xee\xfa\x39\x53\xea\xc6\xd0\xa6\x31\xc5\xb3\x05\xd3\xf8\x44\x40\xe2\xf9\xa8\x76\xbc\xba\xec\x5e\xb2\x45\x8c\x8a\x42\xb2\x61\xe7\x0d\xb3\x37\x6c\x16\x44\xc0\x20\x3c\x0e\x23\x6d\x8b\xa2\xac\x39\xed\x2c\x6a\x80\x0d\xa9\xe7\xc1\x96\x5a\x5f\x92\x86\x78\xe3\x17\xd0\x8b\x67\x68\x40\xac\x92\x90\xca\xa7\x48\xe2\x0e\x00\x8a\xae\xc6\x05\x13\x0c\x7e\xdd\xf1\xb4\x10\x32\x6c\xc0\xf3\x7e\xa3\xe1\x9f\xd9\xcc\x25\x77\x4e\x05\x4b\xb4\x15\xf0\xe3\xc6\x03\xb7\xbd\x67\x02\xf2\x3b\x19\x8b\x7d\xfc\xe5\x3c\x2b\x7f\xc0\x32\x8c\x90\x71\x68\x44\x56\x9c\x4e\xbf\x56\x58\xf3\xb7\x71\xa9\x7c\x86\x16\x9f\xa3\xff\x09\xc6\xf0\x67\xcc\x7a\x0c\x57\xc6\x39\x2a\x24\xf5\x96\x34\xb0\x25\x3f\x59\x6a\xd1\x25\x56\x1f\x32\x99\xf9\x2c\xfb\xde\x97\xa8\xc8\x1c\x75\x16\x36\x82\x99\x81\xff\x45\xc2\x53\x9a\x17\xc2\xc8\xd0\x9e\x5f\x02\x62\x6f\x3a\xff\xd9\xb3\xb2\x49\x46\x8d\xa0\x3c\x31\x86\x83\xed\xce\xb1\x92\xd6\x25\x06\x0f\x4e\xeb\xc6\xe3\x54\x28\x5e\x89\x55\xe6\xa3\x49\x05\x20\xb2\x12\xdf\x93\xb7\x37\xc5\xbb\x5e\x64\x2f\x85\x5b\x8b\x00\xbb\xec\xe3\x2b\x8d\x54\x6a\x5f\x5d\xb1\xda\x3d\x71\x56\x81\xc5\x90\x23\xd2\x3d\xd9\x1e\x42\x97\xa6\xad\x1c\x76\xe8\xa6\xa3\xe5\x00\xbf\x4d\xb0\xd6\xba\x00\xac\x31\x3e\x82\xc3\xd0\x82\xe0\x9a\x33\xf9\x24\x33\xab\xc8\x14\x3a\x56\x14\xb2\x59\x9e\xba\xf0\x31\x14\xd3\x9e\x15\x80\x40\x12\x28\x4f\x65\xa8\x70\xd1\xc3\xa2\xd3\x6e\xbe\xc5\x3b\xfa\x2b\x4e\x01\x05\x9f\x16\xef\xaf\x61\x0c\x80\x96\x4e\xde\xfc\xd5\xef\x82\xf1\xaa\x16\x0a\xfa\x95\x00\x92\x10\x48\x07\x80\xed\x51\x6f\xcd\xa9\xf6\x63\x60\xbb\xb3\x13\x6f\x1f\x65\x75\xf6\xd6\xf1\x40\x61\xc6\x45\x11\xd1\x30\xc9\x9d\x37\xee\x34\xc4\x5e\x05\xa6\x1f\x98\xb1\x6b\x0f\x94\x73\xb7\xcb\x3b\xcd\xb6\x0c\x8a\xa0\x51\xf6\x47\xcb\xd7\x3f\x8d\xf1\x79\xd4\x66\x3f\x52\xde\x2b\x5f\x61\x52\xed\x6d\x90\xfc\x83\xa4\x30\xaa\x9a\xd8\x8c\x6f\x72\x4c\x42\x31\x75\x61\xb5\x11\x8c\xfc\xa2\x64\x9c\xbf\x9b\x97\xd5\x84\x02\x81\xda\x68\x8a\x42\xc0\x6a\xc6\xc9\xfc\x23\xb8\x69\x32\x12\x46\x46\x29\x31\x20\x4f\xe7\x6a\xcf\x7f\x8a\x47\x16\x61\x76\xd5\x16\x77\x95\x0d\xf0\x1a\x7c\x93\x23\x76\xc5\x47\x6d\xd5\x52\x2b\x2c\x53\x7b\xfd\xfb\x10\x2b\x2b\xea\x22\x16\x19\xe3\x2a\x92\x1d\xc6\xee\x8a\xee\x06\x68\xa4\x79\xc0\x65\xf3\xde\x5e\xad\xaa\xfd\x6d\x72\xeb\xfb\xf6\xf0\xc0\x7f\x6a\x07\xf0\xda\xe4\xd3\xa4\x47\x1a\xdf\xe3\xce\x72\x20\xb2\x2c\xf3\x1f\xa6\x62\x23\x78\xc7\xaf\xad\x7f\xc5\x29\x52\xd1\xaa\x68\x66\xbd\xb6\xf3\xfc\x40\xc8\xf8\xfe\xec\xf7\xe7\x25\x97\xa7\xa0\xd2\x35\x53\xd0\xa7\xf2\x48\xef\xfa\xff\x7b\x38\x4c\x3c\xe9\x91\xc7\x03\x97\xe7\x6d\xcc\x56\x22\xa0\x3f\x08\xaa\x92\xdf\x96\x24\x91\xba\x95\x8a\x7b\x37\x45\xa8\xf0\xe0\x54\x0b\x7f\x4a\x78\x3c\xcc\x55\x5d\x4f\x6f\xaa\x03\x53\xa1\x82\x19\xbe\x23\x2f\xec\xc4\x1d\x1a\xbd\x91\xc9\x9e\x27\x34\x92\x49\xfc\x4a\x0e\xcd\x61\x5a\xdd\xe5\x05\x75\x25\xa5\x93\x46\x88\xf0\x61\x5c\x26\x62\x9e\x7e\x7d\xe2\x9b\xbe\xd9\x45\x87\x78\x3a\x90\xcb\x40\xce\x5e\x1c\xc3\x75\x15\xc7\x29\x68\x15\x43\x4f\x57\x24\xe3\x07\x6f\x66\xb6\x47\x91\x0a\x6c\x99\xb8\x3b\x3f\x28\xf1\x28\x0e\x27\x7e\x97\x32\x57\xfc\xf7\xb4\xbc\xd7\xab\x91\x0c\xc5\x83\xe4\xfd\x5e\x5a\x95\x2a\x26\xc2\x77\xa1\xc5\x27\x8d\x45\x77\x45\xd3\xd0\x33\x9d\x45\x85\xc1\xe1\x54\xa9\xa9\x92\x5c\x9e\x28\x07\x23\xcc\x8c\xff\x5f\x11\x76\xf1\xbe\x12\x88\xa1\x4f\xed\x32\xa1\x16\xf6\xf5\x25\xb9\xf9\xd1\xf7\xf7\x63\x84\x18\x93\x7a\x57\x0f\xc8\x59\x5c\xa3\x30\xa6\x7a\x1e\x19\x07\xc1\x2d\xd0\xf1\xbc\xf9\x19\x71\xb2\x45\x38\x72\x6a\xb2\x5f\x25\x2b\xc7\xe6\x23\xcf\xb2\xdd\x1f\x45\x38\x13\x1f\x18\x69\xa8\x29\x03\x59\x47\xdc\x5b\x06\x34\x6f\x9b\xbc\x50\x99\xc1\x91\x1b\x20\x10\x5b\xd5\xdb\x5a\xdf\x43\xd5\x5c\x05\xb1\xea\x11\x1a\x1b\x2b\x01\xfa\x6f\x4c\x9e\xb7\x52\x25\x66\x6c\x34\x32\xa6\x5c\xc3\x2f\xca\xda\xe1\x77\x8d\x40\x9a\x88\x1c\xba\xc9\x10\xa4\xcc\xd2\x32\xe4\x7b\x23\x9d\x20\xc0\xd4\x41\x24\x7b\xdb\x9e\xce\x92\x7f\x5b\xc4\xb4\x74\x57\x07\x83\x98\xd3\xb8\x8e\x27\x57\x43\x57\x9c\x34\xd4\xd3\x9c\x2c\x68\x9d\x5e\x8f\x61\x95\x49\x03\xa2\xa7\xf3\x39\x71\x2e\x61\x31\x15\xfe\x72\xec\x5e\x01\xde\xf9\x4e\x77\x7a\xfe\xf8\xe8\x01\xdf\xd8\x61\x87\x34\x5c\x3c\xdc\x2c\x29\x1f\x1d\x05\x26\x8e\x1c\xfe\x08\x97\xd8\x82\xeb\xef\x4c\x25\x71\x3e\x76\xc6\x97\x31\xee\xf3\x34\x22\xbf\x79\x94\xff\xd2\xb7\x89\x7b\x5d\x57\x86\xc1\x8e\x35\xa1\x08\x31\xb1\x00\xc2\xc4\x15\x59\x1e\xf3\x13\x91\x2f\xc4\x3a\x68\xf7\x35\x23\x03\x04\x8a\x14\x76\x6d\x54\xbf\xec\xad\x62\xd3\x77\xbd\x3e\x1d\x39\xa2\xf1\xd0\xc0\x65\xa3\xa2\x7e\x7a\xaf\x6a\xfb\xc5\xbb\x48\x43\x02\xd6\xfc\x7a\xed\x84\x73\x8c\x6e\xda\xd8\x5b\x37\x32\xc8\x76\x57\xa7\x58\x40\xe9\x10\x7b\x60\x54\xf1\xf5\x4d\x82\x31\xdc\x10\xbf\x62\x85\x54\x19\xcf\xa2\xdd\x38\x4c\x10\xa7\x34\xef\x79\xc5\x3e\x93\xc6\xf9\x8d\x22\x8c\xc7\x95\x1c\x4c\x95\x3f\x47\xdb\x4b\x3f\xf0\x47\x0b\x68\xbc\x6c\x6b\x1f\x4c\xd2\xb0\xdb\x3f\x92\x17\x9f\xa2\xb0\x1c\xb7\x4f\x1d\xf7\x81\xc4\x21\x60\x95\x86\xf2\x90\xfe\xc4\xec\xa0\x3d\xf5\x72\x4a\x02\x2d\xf3\x00\x0a\x12\xb9\x56\x5d\x04\x32\xe4\x34\xfd\xc0\x82\xc4\x06\x58\x80\xda\x40\x56\x59\x81\x9e\x79\x80\xbe\xa0\xa3\x48\xf9\xb0\xe7\xe9\xf5\xfd\x16\x74\x1f\x15\x48\xff\xd3\xca\xae\xdf\xc8\xfb\xbf\x29\x5b\x6a\x98\x46\x7a\xbe\x6b\x30\x52\x17\xd5\xca\xa0\x1d\xa9\x99\xfa\xf9\xe7\xb8\x12\xaf\x94\x99\x0c\x11\x72\xd4\x7e\xdf\x2d\xbf\x60\x35\x0b\x34\x2b\x4c\x5f\x09\x6b\x54\x8b\x07\xe2\xa7\xe8\xee\xd4\x40\xe3\xe4\x39\xc9\xf3\xbd\xb2\xf1\x00\xfa\xad\x15\x0a\x07\xb6\xb1\x70\x06\x00\x84\x10\xea\xce\x8b\xb5\x38\xe4\x59\x70\xda\x6b\x74\x5b\x0a\xa4\xfa\x22\x2c\x2e\x04\xd0\x89\x69\x03\x67\x96\x6d\x06\xea\x6e\x9c\x67\x9f\x35\xc2\x40\x7b\x69\xd7\xfc\xbf\x49\x9f\xfd\x54\x9e\x23\x1c\x21\x41\x4b\x7e\x52\xf3\x45\x13\x10\xc3\x24\x4d\x55\xad\x8a\xac\xab\xed\xb3\xed\x88\xdd\xe0\x2f\x3c\x32\xf8\x53\x6b\xb0\xbe\x31\xe7\x71\x5d\xf0\x93\xf6\x52\x78\x74\xb0\xd5\xa0\xce\xeb\xf2\xca\xb2\x8b\x1c\x45\xf0\xad\xf1\xd5\x3c\x8d\x1d\xd2\x0c\xec\x3b\xe7\x0a\xb5\x49\x48\x9b\x12\x39\x6b\x02\xa0\xf5\xfc\x96\x1d\x14\xa3\x45\x10\xfd\x34\x2f\xfe\x30\xe7\xfd\x14\x4e\xdc\x30\x3c\x3e\x50\x07\x01\x73\xa2\xb8\x42\x2c\xc9\xda\x58\x44\x18\x98\x21\xc1\x58\xe7\xb0\x22\x99\x60\xac\x11\xe7\xd6\x33\xf6\x26\xfd\x65\xaf\x5a\xb8\xc1\x72\x88\x66\xed\x2b\xb5\xaa\x50\xe0\x7b\x2c\x43\xf6\x8b\x85\xb0\x40\x07\xc0\x6f\x51\x91\x0f\x9a\x8b\x55\x25\x30\x52\xaa\x8d\xd4\xf4\x44\xf8\x14\x99\x5e\x2a\x68\xc9\x1e\x66\x3d\xd4\x0e\xc0\x30\x29\x80\x11\x62\x1e\xe8\xff\x09\xdd\x2f\xc8\xd0\x99\x5f\xef\xe4\xcd\x76\x9b\xa3\xa7\xca\x7a\xa8\x61\x78\x3a\xa3\x16\x91\xdc\xa2\xf6\x7d\x13\xf1\xe1\x3f\x2e\xb3\x7d\x84\xfe\x41\x08\x11\xd1\x8f\x55\x59\xb5\x38\x34\x21\x58\xff\x47\x01\x0c\xe7\xb3\x5d\x58\xc2\x72\x26\x7c\xa5\x49\x5e\x9a\xbb\x1c\x46\x33\x7d\x7b\xfd\x1f\x48\xfd\x52\x05\x8a\x3e\xd2\x27\xd7\xee\xd8\xfb\x53\x82\xef\x34\x2c\x40\xe3\xce\x58\x70\xbb\xde\x64\x8a\xa2\x39\x3c\x24\x31\x7b\x5f\x6a\x54\x52\x50\x95\x36\x64\x31\x87\x74\xdd\x25\x74\x36\x1b\x8f\x04\x14\x28\x1f\x0c\x37\x8f\x14\x83\x49\x13\x03\x18\xfa\x1f\x95\x24\xdc\x6a\x10\x74\xce\x56\xca\xa1\x7d\xfb\x64\xc5\xdd\x18\x40\x30\x43\x3c\xa7\x48\x74\x09\x59\xd0\x99\x6b\x4c\x54\x48\x09\x70\xbb\x30\x3c\x9b\x68\x9d\x5d\x39\x17\xd3\xe8\xe5\x15\xe6\x30\x99\xf6\xdd\x46\x9c\x92\x64\x62\x09\xb6\xb6\x10\x52\x42\x18\xc9\xde\xd7\x82\x77\x64\x6b\xd9\xe2\xa4\xcb\xfa\xba\x4a\x29\xb8\x02\x09\x02\xad\x0a\x00\x7c\x10\xa8\xb5\x95\xd5\x1c\x3e\xd3\x3e\xf4\x31\x4d\x2d\x24\xe3\x16\xf3\x3a\x37\x1a\x41\x29\xe1\x1f\x3b\x7c\xa4\x78\xda\x98\x36\x4c\xe5\xbf\x5b\xb7\x44\xf4\x7e\xbe\x9e\x44\xb5\xec\xcc\x4e\x77\xce\x29\xaf\xf2\x94\xdc\x21\x8f\xa0\x88\x6d\x03\x0b\x2c\xf3\xaa\x79\x74\x59\x03\x5e\x3d\x62\x04\x56\x1a\xfe\x93\x85\x26\x11\xf8\x81\x1a\x7a\xd3\x0e\x8e\xb4\x2f\x87\xde\xb2\x7a\xdf\xda\xdd\x35\x44\x7a\x18\x4c\xda\xfc\xd1\xb0\x24\x00\x05\xc0\xb6\xe8\x70\x8b\x5e\xeb\x6d\x26\x7d\xaf\x82\x85\xb5\x95\x93\x03\x77\x10\x8f\x2a\x79\xed\x1e\x2f\xa1\x1f\x37\xaf\x6e\xc8\xbe\xd0\x9d\x52\xf1\xcf\xde\x8e\x10\x28\x2d\x9b\x65\x72\x9d\x7d\x48\x97\xf4\x14\x69\x4d\xab\x4c\xc2\x13\x89\x6a\xb8\x7a\xc5\x09\x81\x68\xf1\x31\xa2\xaa\x6b\x1b\x9a\xde\xde\x68\xcf\x69\xfc\xaf\x59\x58\x9e\x73\xf3\x7a\x29\x73\x54\x57\xfb\xc2\x69\x04\x37\xb8\x43\x33\x74\x5b\x3f\x8d\x02\xfe\x43\xad\x6c\xca\x91\x3e\x9f\x4b\xfe\xcd\xb3\x9e\xb6\xe7\x7a\x18\x3a\x9d\xf3\x4f\xd4\xc8\x18\xc1\x2a\x5f\x76\x7e\x34\xf0\x42\x09\xf4\x34\x3e\x39\xc5\x25\xbf\xe7\x93\x8c\x5f\x7a\x62\xe5\xad\x36\x15\xff\xe1\xb3\x2e\xae\x69\xf9\xd5\x37\x7a\xb2\xda\xac\x63\x4e\xa5\x78\xd7\xdc\x4c\xe3\xa7\x82\xe3\x07\xa2\x8f\xf9\x70\x60\xd2\xe5\x43\x32\x6c\xd3\xf3\x48\xad\x20\x08\xd2\x5b\x30\x97\x47\x38\xa2\x6c\x02\xa7\x4c\x74\xe4\x06\x58\x3e\x2c\xea\x0e\xec\x6a\xdd\xce\xfa\x92\x41\x9d\x25\xaf\x8c\x89\x08\x1d\x5a\x0d\x0e\xd7\xfe\xdc\xb7\xa1\x8e\xbb\x76\xca\xf4\xd0\xab\xf1\x03\x5a\x1a\xbf\xf2\x93\xd5\x79\x0d\xb5\xce\xb3\x24\xdf\x81\xce\xd4\x31\x09\x6d\x73\x34\xd2\xd2\xd9\x2c\x35\xe7\x3e\x6c\x44\xc4\xef\xbd\xfc\x04\x34\xa4\xe1\x63\xb6\x2a\x7f\xb7\x4e\x93\xb4\x73\x18\x7e\x4d\x48\x1d\xf7\xa1\x9f\xae\x3c\x73\xf6\xcd\x1d\x37\x60\xc2\xd8\x99\x7b\x8b\xcf\x37\x75\xff\x73\x2b\x1e\xaf\x61\x1c\x7d\xb0\x0e\x8e\x4f\x1d\x81\xd7\xfd\x91\x63\x9b\xdd\x50\x95\x39\xad\xf6\x1b\x76\x06\xac\xd1\xe9\xe5\xea\x10\x90\x99\xdc\xc0\x8d\x9a\xf9\xe6\x06\x4e\xfb\x4e\x90\x10\x0f\x8e\x17\xb1\xe8\xca\xda\xcf\x24\xf4\xe2\x41\x1d\xba\x8b\xd1\x2c\x4e\x0a\x34\xd5\x87\xcf\xd0\x49\x16\xde\x83\x4e\x84\x12\xb6\x8f\x38\x98\xf1\x9a\x49\x4b\xa8\x27\xe5\x96\x80\x74\xf0\xcb\x91\xe3\x96\xd9\xe8\x2a\x31\x1b\x37\x54\x3e\x33\x44\x8a\xa5\x0a\x2b\xf2\xab\xc6\x2f\x5d\x2e\x4c\x49\x0c\x7e\x46\x7d\x17\x9c\x83\x1a\x09\xdc\x3e\x19\x5c\x19\x9b\x0a\x15\x3e\xa8\x34\xaa\xe1\xa2\x2b\x1e\x0d\x1b\x8c\x9e\x30\x90\x32\xee\x01\xf7\xd0\xe8\x8e\x34\x9e\xf7\x35\x13\x5e\x62\xbc\x6d\x95\x3c\x63\xe1\x15\x6e\x82\x23\x9b\x96\x5c\xff\x8a\xf4\xa6\xaa\xd4\x17\x27\x8c\xf4\x02\xaf\x62\xed\x0e\xcc\x52\x2b\xea\x31\x47\x42\xdc\xe7\x96\x9e\x96\x9a\xa3\xc7\xc9\x4b\xa9\x14\xdc\x8f\xa7\x37\x1d\x28\x33\xd7\x28\x65\x57\xe9\x9e\x27\x64\x1c\xc9\x05\xfd\x5c\xa3\xa7\xac\x9c\x9a\xfa\x61\x8d\x54\x5e\xeb\x4b\xc9\x0e\xca\xbb\x72\x3a\x68\x2e\x91\x53\xa8\xb3\x3f\x66\xee\xc9\x1a\x4e\xeb\x62\x6a\xed\xe4\x05\x57\x5b\x00\x61\xfc\x31\xbd\x22\x35\xa2\xec\x9c\x44\xed\x36\x99\x1b\xb3\x10\xae\x21\x83\x3b\xc4\x29\xe2\x43\x78\xc4\x1e\x1c\x4c\xab\xf7\xf8\x70\x20\xea\x9e\x35\xf4\x85\x99\x17\xf6\x53\x03\x22\x95\x2b\xeb\xa7\x8d\x17\x4b\xdb\xba\x86\xd5\xd4\x7f\xc6\x9e\x7c\xf7\x96\xf7\x31\x62\xfd\x74\xaf\x8a\xce\x64\xea\xc3\x6f\xe2\x74\x77\x9f\x64\xb1\x6f\xf4\xd1\x1d\x49\x22\x41\x3f\xa1\x99\xd9\x7f\x9c\x61\xc3\x96\x0f\x9b\x96\xd5\x2f\x02\x03\xfd\x91\x18\x90\x50\xb2\xd5\xfd\x6f\xf9\x9a\xc4\xbc\x21\x86\xa7\x83\x57\x8f\x11\x7c\x6b\xb4\x57\x9d\xb5\x3c\xd0\x9a\xd8\xaa\xf7\x1e\x18\x0c\x5e\x3e\x60\x10\xf8\x9c\x10\x8d\x64\x42\xa7\xf2\xd5\xa8\x36\x35\x95\xe8\x3c\x21\x32\xca\x08\x56\x7f\x11\xc5\x60\x0a\x62\x15\x6a\xf0\x5b\x31\x03\xc9\xd5\x22\xd7\x55\xa0\x16\xf0\xc2\xbe\xc5\x9e\xce\xf5\x6b\xd5\x9e\x94\x0e\xeb\x66\x1c\x87\x13\x75\x1c\x3e\x48\x9c\xd6\xdd\x36\x6a\x80\xc8\x18\xb4\x10\xff\x95\xa5\x11\xcb\x16\xac\x44\xa0\x82\xf9\xb4\x83\x21\x55\x1d\x3f\xb8\xff\x05\x17\xc8\x6b\x40\x00\xf7\xcf\x95\xbe\x50\xec\x3f\xf3\xd9\x7e\xd2\x7d\xf3\xed\x5e\x12\xa4\xb6\x80\x2f\xac\xa0\x91\x07\x8f\x09\xcc\xa0\x5c\xde\xd7\x04\x37\x9e\x1a\xc3\x88\x44\xfa\x59\x87\xdc\xd4\x1d\xb6\x39\xeb\xbf\x52\x04\x8a\x48\xfd\xfa\xde\xec\x45\xbf\x93\x17\xfd\x06\x5c\x7e\x79\x77\x95\x01\x41\xc5\x30\x36\x36\x94\x3c\x35\xf3\x34\x4a\x09\x80\xc9\x10\xcf\xa7\xa6\x66\x1c\xac\x02\xdf\xfe\x80\x6d\x4e\x18\x86\x5d\xee\x37\x51\x61\x76\x3c\xea\x75\xd5\xd5\xaa\x97\x98\x2b\x9b\x54\x85\xc5\xe4\x75\x9f\x23\x27\x94\x0a\x68\xae\x18\xe7\x43\xc7\xaf\xfb\x52\x60\xf3\xfd\xca\x23\x72\x20\x48\x23\x62\xa6\x1b\x64\x53\x19\x25\xce\x81\x58\x1c\xbf\xc3\x75\x71\x97\xcf\xe1\xad\xdf\x81\x02\xf0\xa3\xc1\xab\x08\xe5\x79\x65\xe7\x06\xad\xda\x14\x25\xd6\xb9\xac\x8a\x3c\x91\x9a\xea\x7a\x18\xa9\x5f\xab\x99\xd8\x20\xbb\xf4\xc7\x13\xb1\xfa\x56\x9e\x23\x0c\x68\x98\x44\x7a\x71\xca\x77\x9e\x5f\xe1\x2f\x7b\xa3\x42\x4c\xf1\xaa\x13\x85\x41\x2e\xc9\xf4\xc1\x8b\x72\xb8\x40\x4b\x9c\x8e\x22\xfc\x58\xe0\x4f\xd8\x50\x00\xca\x36\x5c\x9b\x75\xed\xb6\x00\x9b\x3f\xd2\x41\xa9\x42\xaa\xbd\x03\x52\xa7\x6b\xd7\x96\xe8\x9b\xa3\xd3\x1b\x11\x36\x74\x93\x95\xc8\x99\xcd\xa1\x0f\x26\x21\xb9\xab\x70\xcf\x67\x4b\xe1\x6f\x40\xe2\x82\x82\x61\x24\x3c\x7b\x89\xf3\x2e\x33\x82\x4e\xe2\xa6\xda\x5b\x02\xe3\xde\x8c\x81\x59\x32\xf4\xcc\x27\x9f\x58\x3f\x31\x4e\xe8\x00\x99\x16\xd9\x3a\x9f\x56\x34\xc5\x1d\x73\x9c\x72\x6f\x8a\x89\xa3\x9b\x92\x86\x2e\x88\xac\x29\x0a\x06\xcf\xe4\xa7\x99\x12\x83\x64\xb6\x99\xcf\x0f\x75\x6a\x00\xb8\x14\x95\x28\xb9\xec\x40\xa3\x5a\x4b\xb6\xf2\xe6\xf3\xc7\xc7\xaa\x94\x70\xc0\x8d\xc0\xdc\xe6\xcb\x2a\xeb\xba\xe5\x69\x2f\x33\xcf\xd8\x7a\x27\x48\xeb\x4e\x9b\x36\x12\xcd\x91\xf3\xfe\x65\x34\x3f\x79\x55\xdd\xf7\xb8\xe3\x09\x3f\x8e\x95\xe5\x2f\x2e\xea\x2b\x69\xa1\xb3\xe9\x57\x9d\xdb\xf2\x0a\x61\x1e\x67\xb7\x71\x33\xfe\xbe\xcd\xe1\x7d\xab\x8b\x0c\x15\xbf\x0f\x09\xa2\x33\x0c\x92\xf5\x0a\x72\x36\xc6\x6f\xad\x71\x8d\xcf\xee\x4e\x2f\x5d\xf6\x07\xa3\x75\x85\xbb\x7d\xb5\x50\x2c\xf1\xdd\xa1\x7b\xac\x8a\x40\xe5\xdc\x85\x0c\x3b\xcf\x58\x68\x8d\xaa\xa4\xde\x8a\x33\x27\x06\x22\xbd\x7f\x10\xfb\xb4\x0c\x26\x45\x74\xb2\xbf\x26\x1c\x79\x3e\x24\x57\x04\x11\x68\x0d\xcd\x03\x40\xc8\xb4\xe4\x41\x2b\x6f\x14\x84\x94\x4d\x2b\x2e\xc3\x80\xaa\x5f\xef\xc8\xff\x40\x2a\x9b\x96\x88\xe9\xfa\xb5\x83\x48\x11\x95\x90\xd2\x5d\x4e\x8c\x5e\x7a\x39\xbf\x3b\x72\x8b\xd3\x41\x3f\xfa\xa2\xfe\x45\xc1\xc9\xbe\x42\x2c\x50\x9d\x86\x93\x4d\xcf\xf8\x53\x10\x28\x03\x2e\x88\x8a\xe5\x18\xaf\x53\x65\xd2\x2e\xcb\x1e\x1f\x86\x8d\xdb\x75\x50\xcf\xd8\xa1\x1e\x04\x3a\xd0\x15\x6f\xff\xe7\xda\xd8\xa5\x2b\xc2\xee\xb8\x38\xc6\xaf\xe5\x62\x67\xef\x12\x81\x7e\xd1\x63\xd5\xdc\x58\xe1\xde\xea\xcc\x3d\x5d\xd1\x01\xb8\x90\x5f\x40\xc9\xcf\xba\x87\x17\xbe\xe8\x2a\x35\x51\x5e\x3a\xc7\x40\x13\x21\x0d\x3a\x54\x8f\x3e\x33\x96\x91\x89\x68\xc6\xb5\xf8\x91\x33\xb0\x19\x73\xec\x75\x58\x89\x24\xe7\x39\xa3\xed\xb7\x1a\xbc\x0c\x8e\x97\x1c\x32\x61\x90\xa5\x8b\x7f\x48\x27\xf2\x58\x8f\xcc\xdd\xbc\xad\xb8\x09\x72\xd3\xab\xfe\xbd\xdd\xf4\x0d\xe9\x1f\x0f\xda\x62\xc7\x28\x08\x1d\xfa\xc6\x43\xf1\xa8\x1d\x69\x51\xe9\xb7\x05\x5d\xa9\xe7\xa2\x30\x77\xb4\x0e\xda\xe3\xa9\x7a\xa7\xc4\x29\x7c\x4f\xeb\xb3\xa4\x7b\x96\xd5\x0d\x90\xe6\x9f\x59\x8b\x31\x3e\xba\xd8\x17\x0e\x73\x06\xb2\x99\xf0\x9a\x8f\xd1\x30\xff\xb6\xf2\x20\x22\x65\xbe\xca\xf2\x16\x2a\x00\xdc\x27\x53\x0f\x73\x9c\x39\xe2\xdf\x46\xc4\x6f\xf8\x8d\xf0\xcc\x86\x75\x3d\x4e\x50\x64\xdd\x44\x72\x9e\x9d\x14\x57\x38\x23\x68\x45\xc5\x79\x5e\xd1\x45\x13\xd7\xe4\xe6\x3b\xf2\x76\x65\x68\xa4\x75\x98\x6d\xa6\xd1\x8d\x3c\x8b\x1f\x67\x38\x0b\x1a\x97\x16\x13\x3e\xc4\x50\xa5\xe8\x56\x7d\x41\xa0\x8a\xa6\xc0\x7c\x01\x84\x4c\x9b\xc4\x62\x7f\x6a\x12\x3e\x38\xfa\x83\x5f\x4e\x7c\x72\x00\x90\xf8\x84\x70\x30\xb5\xca\x69\x4e\x35\x3e\xef\xb6\xa1\x6a\xc1\x3f\x5d\x1b\xf2\x0b\xd2\x98\xc0\x63\x5e\x95\x52\x66\xfa\x12\x4e\x37\x0e\x0d\x94\x18\x28\x5d\x47\xae\x6a\x7a\x60\x53\x3f\x8e\x68\xff\x32\x48\xea\x1c\x3d\xa8\x74\x5a\x7b\x1f\x68\x89\xad\x58\x86\x59\xbd\x9a\x8a\x74\xa6\xaf\xc6\x70\x81\xcd\xaa\x1b\xb3\xdc\x32\x21\x7c\x6a\x74\xc6\xf6\x75\x38\x16\x56\xa0\x57\xc8\x25\x73\x9f\x2d\x3f\x13\x56\x18\x4d\xf3\x65\x6c\x4f\xc2\xfd\x25\xb7\x9d\x20\xd2\x6c\x54\x63\xd9\xbf\xd7\xed\x96\x91\xf9\x46\xdb\x6a\xcb\x56\xf7\x09\x2f\xb2\x08\x54\x18\x97\x10\x75\x8f\x63\x1e\x9e\x98\xb5\xe6\x29\x75\x9c\x9f\x51\xb9\xcb\xd3\x64\x5d\x65\x43\x9f\x59\xc8\x9a\xc0\xae\xfd\xb9\xcb\x8c\xff\x75\xdc\xdb\x38\xc4\x1b\x5c\xf3\xe3\x9a\xcd\xac\x59\x6f\x68\xc0\xcc\x54\x2d\xd7\x79\x4f\xc2\x8f\x3b\xed\x2e\xb1\x6b\x84\x20\x1d\x7a\x7c\xfe\xe8\x36\xfc\x2b\x13\x33\x4e\x9c\x2a\x9a\xae\xa7\x2d\xa1\x13\xfd\x45\x67\x0e\x6e\x80\x1e\xdf\xd8\x2f\x91\x8f\xac\x13\xe7\x7f\xe4\x15\x44\x38\x6a\x81\x94\xf6\x31\x0e\xc0\x67\x68\xe3\x66\x63\x4d\x24\x94\xb6\xb5\xab\xe9\x36\xbd\x37\xcc\xd4\xc3\xc8\x96\xc2\x62\xde\xd2\x46\x3e\xe6\xdd\x1c\xb8\x07\xd1\xb1\x62\xb6\xf3\x15\x77\xc4\x2e\x84\x68\xc0\xb1\x94\xd3\x07\xff\xb9\xe0\xb9\xc4\x64\x2d\x71\xf3\x7c\x3c\x8e\x6b\x3a\xb1\x5f\x13\x3a\x75\x95\x79\x7a\xae\x90\x42\xf5\x44\x01\xb6\xb5\x6d\x21\x6e\xa9\xb5\xfe\xb6\xcb\xe3\xbd\xfa\x96\xfc\xdd\x25\xd5\xa0\x15\x73\x28\xdd\x20\x8d\x6c\xd4\x65\x3a\xc2\x54\x12\x97\xa0\x00\x84\x19\xfd\xf6\x6b\x99\xeb\x00\x14\xdb\x77\x77\xd6\xce\x17\xd5\xfa\x6c\xcb\xfd\x80\x82\xed\xaf\xcd\xc5\xaa\xe8\xa7\xbe\xd4\xd2\xe9\x6a\xdf\xfb\x6c\x89\x62\xfc\xc7\x40\x64\x5b\x28\x7f\x07\x86\x8c\x93\x00\xfb\xb0\xd7\x57\xd2\x8c\xfa\x22\x38\x6c\xeb\x6b\x64\x2e\x64\x48\xfc\xc0\x4b\xe9\xa9\xd2\xfc\x7e\x3b\x7a\x67\xec\x97\x77\x60\x7e\xfa\x58\x1e\xc3\x58\x7b\xeb\x86\x80\x5e\x8b\xd8\x14\xfe\x23\xe2\x7e\x1a\x3b\x34\xb1\x81\x41\xdf\x8b\x3d\x4c\x55\xa7\x64\x23\x12\xb5\xca\x44\xc3\xa8\x1b\x2f\x9c\x9e\x66\xc6\xab\x2b\xe0\x23\xbd\x02\x5e\xb4\x8b\xfb\x5d\x6f\x0b\xb7\x3f\x04\xcf\xdf\x31\xb3\xd0\x76\x0d\xe7\xc9\x6a\xc9\xf1\xa2\x84\xe7\x45\xfe\x87\x6c\x92\x18\x07\x05\x31\x26\xfe\xbb\xc8\x8c\x6c\x30\xd1\xe9\x7d\x39\xa6\x9a\xa1\x90\xa0\x44\xe7\x18\x19\x33\xe3\x7e\xae\xa0\x1b\x84\xd9\xfd\x87\xac\x51\x9c\xcc\xb9\xd0\xb4\x83\x2e\xba\xd6\xd9\x63\x22\xf1\xf4\xb8\xc1\x77\x73\x1f\xc3\xae\x19\xc4\x2e\x19\x6d\xaf\x03\x22\x00\x13\x25\xb9\xc6\x86\x67\x60\xf2\xf5\x63\x62\xc8\x4d\xd5\x7c\x50\x45\x9b\xf3\x1c\xaa\x18\x6b\xc1\xc0\x78\xf5\xd9\x96\x54\xc5\x2d\xb4\xb2\xca\x8f\x0d\x91\x3f\x7f\x3e\x45\x9c\x07\xfc\xab\xf1\x7f\xbc\xe5\xe5\x68\x9e\xfa\x20\xb3\x24\x6e\x41\xd5\x97\x90\xa5\xba\xa9\xb8\x44\x3d\x71\x6f\x3c\x87\xd2\xd7\xed\xa5\x8f\xc2\x5e\x34\xd6\x63\x2b\x44\xbf\x13\xb0\xbc\xd7\x5e\xc5\x70\x79\x25\x63\x4e\xc7\xf1\x02\x9a\x5a\x0d\x9d\x5c\xe9\x63\xd9\x05\x34\x0c\x04\xfa\x94\x13\xdb\x91\x0d\xff\xb2\x4f\x42\x72\x30\x0b\xc7\xb4\x02\x5c\xa2\x6e\x87\xfb\x45\x64\xb3\xa4\x58\xeb\xa3\x33\x00\xca\x74\x0b\x0b\x2d\xfc\xee\x07\x60\xf0\x5d\x2e\x13\x2d\x76\xe4\x90\x33\x8a\x83\xb2\xb7\x68\xb4\x0b\x31\xab\x41\x78\xba\x19\xc6\x11\x5e\x79\x62\xc2\x04\x52\xdc\x28\xe8\x06\xde\xb3\x00\x37\x56\xb5\x26\x19\x78\x36\x8e\x98\x8f\x49\x2d\x23\x95\xa3\xa4\xc8\x71\x19\xfb\x28\x26\x3a\xea\x79\xbf\xe4\xf4\xf0\x39\xdc\x9f\x65\x26\x1a\x84\x79\x2b\x80\x9f\x54\x5a\x03\x90\x7a\x04\x69\x47\xcc\x60\xee\xa1\x8f\x62\xec\x2d\x7b\xbe\x94\x0e\x75\x73\x05\xf5\x1a\xc4\x6a\xf0\x9c\x83\x32\xd0\x02\x71\xa4\xfd\xa5\x3d\xb5\xe0\x8a\xbf\x5d\x4a\x03\xc8\xcf\x43\x89\x70\x31\xc9\x45\x46\xbe\x87\x4b\x9f\x05\xea\x89\x07\x04\xd5\xad\x70\xb3\x5a\xc6\xf2\xd3\x52\x39\x9f\x70\xa3\x20\xbb\x8b\xae\x55\xec\x87\xc9\xbb\x5a\xd0\x3b\xa5\xf2\xf7\x92\xdf\x2c\x7e\x95\xbe\xbc\xdc\xd6\x5d\x12\xad\x0c\xb0\x54\x95\x7c\xad\x3c\xf7\x75\x68\x21\x75\x84\x76\xae\xd8\xc9\x6e\x46\x67\xe3\x02\x8a\x0d\xb7\xa1\xaa\x89\xf2\x90\x55\x55\x82\xf4\x7d\x65\x99\x7d\x4b\xef\x08\x5d\x2b\x19\xe1\x63\x8e\x43\x2d\x0e\x04\x10\x46\xfc\x26\xa7\x2e\xda\x08\x9c\xd2\xbe\x28\x68\xb1\x3f\xad\x7a\xbe\x95\x3e\x3b\xd9\xfa\x70\x18\x7b\x8c\xfc\x3a\x36\xf5\xb6\x5d\x10\x3e\xf6\x2f\x7b\x71\x12\xd2\x92\xc1\xc6\xf4\xf5\x9a\x96\x08\xc0\xbf\x97\xa8\x5f\x12\xae\x30\xed\x70\xc5\x26\x7e\xfc\xac\x3f\x8c\xa1\x59\xbb\x95\x95\x69\x0c\x06\x0c\xc5\x71\xd1\xc8\x6d\xda\xd1\x12\xef\xfe\xf2\xf4\xce\x68\x89\x53\x7b\xa7\x12\xfb\x2e\x67\xa8\xc1\xa9\x07\x72\xbb\x74\x76\xbc\xd4\x94\xe2\xeb\x90\x6e\x7d\xa7\xe6\x08\x3f\x83\xa3\x62\x34\x18\x07\xf7\x81\x7e\xf3\xd2\xd2\x2e\x6e\x34\xba\x5a\xbf\x76\x0f\xf1\x89\xf5\x75\x3e\x43\xaa\x6c\x57\x82\xc2\xdb\xfc\xd8\x97\xf1\x84\x3b\xa5\x47\x6a\xdd\x05\xbb\xc6\xde\xf9\xd4\x36\x43\x69\x26\xca\xc3\x5f\x47\xf7\xb5\x43\x1b\xbf\x58\x32\x7c\xe2\x69\x84\xd7\x97\x9f\x11\x0f\x8c\x69\x40\x20\x51\x83\x9a\x5b\xf4\x69\xbe\xde\x00\x27\xc8\xec\x23\xc2\x0d\x49\x41\x12\x75\xef\x31\x28\xd5\x9e\x8d\x4b\x32\xf1\xb9\xd7\x91\x70\x10\x34\xa0\x66\x2e\xf6\x7d\x29\x74\xa8\x60\xd3\x7f\xab\x94\x84\xc8\x60\x46\x60\x04\xb0\x93\xe2\xb8\xf3\xfb\xdf\xa8\xff\x94\xcb\xbb\x42\x3c\x38\xa3\x8d\xbb\x36\x8f\x23\x2b\xc2\x8a\xbb\x1c\xf6\x51\x67\x9b\xc0\xcc\x4f\xdf\x85\x3a\x57\x4e\x3f\x59\xb4\x76\x30\x89\xaa\x3a\xd9\x4f\x7c\xbb\x54\xad\x13\x44\x76\x31\xa1\x3e\xdb\x18\xb7\x62\xab\x75\x3a\x7b\xf8\xa0\x4e\xc4\x78\xf2\x77\x72\x64\xcc\x0d\x71\x9b\x62\x40\x75\xd1\xd3\x88\x97\x63\x4c\x99\xde\x80\xbc\xbd\xa4\xb3\xc4\x25\x45\x48\x6b\x53\xd2\x6a\xf1\x06\x81\x1b\x38\x6c\x0a\xa5\xbc\x7d\x7e\x4d\x99\x3b\x5f\x1b\xdb\x49\x3b\x89\x1d\x27\x9a\xc6\x97\xb2\x8e\x81\x8f\xf1\x1c\xd6\x15\xbd\xa5\x7d\x39\xa6\xe5\xa4\x5a\xfb\x01\x24\x0c\x4b\x49\xed\x24\x5a\x40\x6c\xde\x02\x94\xd2\xfd\xad\x54\x0c\xe3\x5b\xe2\xb4\xdb\x94\x04\x8c\x82\x2b\x76\xef\x20\xfe\x8e\xfe\xa6\xa2\x59\x36\x13\xce\xaf\xa1\xd2\x95\x60\x1b\xf8\x3d\x8c\xc0\x5e\x89\x9e\x62\x8c\x52\x5c\x3d\x67\xaa\x34\xfa\xa7\x68\xfb\x47\xd3\x0e\x39\x96\xd7\xd4\xf0\x4c\x17\xa1\xdb\x19\x36\x4e\x16\xae\x9a\x4c\xc5\x01\x98\x31\xcf\x3a\xc0\x11\x4e\x1f\xb1\x14\xbb\x85\xf6\x45\xc7\xec\x12\x3a\xd1\x55\x24\xa6\x32\x68\x93\x42\x08\x1c\xf9\xae\x03\x68\x16\x80\x6b\x1b\x3c\xf4\x02\x72\xaf\x8e\xc0\xa1\xa5\x2b\x5c\x1a\x0d\x04\x6d\x16\xe1\xfd\x7e\xe3\x38\xf5\x28\x6d\xf2\x33\xe3\xa6\x2e\x9f\xa3\x80\xbc\x9a\x25\x07\xac\x9f\xff\x76\x2b\x18\x35\xd4\x07\xc8\xe0\x1e\xdd\xf3\x6d\xd0\x19\x4d\x9a\x83\x25\xa7\xc5\x36\x01\x6a\x89\xc1\xe7\xb1\x58\x7c\x0a\x7a\x2c\xff\x0a\x7c\x67\x27\xc5\xed\xf2\xc0\xb2\x8a\xd4\xfa\x16\x91\x30\xb5\x68\xbf\x30\x61\x3f\x5b\xd4\x02\x1f\xc3\xed\xbc\x77\x81\x1e\x9d\x75\x87\x69\xc9\xc8\x76\x9f\x6e\x86\x53\x17\x92\x7f\xb4\xff\x67\x32\xda\xfe\x22\x28\x80\xd9\x81\xce\xed\x0f\xbb\x1f\xff\x32\x83\xb2\x09\x1b\x18\xc4\x0f\x2d\x69\xa9\x3f\x39\x59\x4b\x5c\xa3\xe9\xf9\x24\xc9\xf7\x19\x65\xd8\x36\x51\x68\x3e\x5b\xdf\x55\x98\x9a\x64\x3a\x92\x35\x09\x5b\x84\xfe\x92\xa7\x8f\x9b\xbb\x9d\x89\xf6\x8c\xa4\xdc\xc1\x3a\x2c\x69\xda\x57\x4d\xea\x72\xf7\xab\x28\x62\x41\xed\xd3\x1f\x31\xe8\x2f\xb5\x1b\x5e\xfa\xed\x33\xb5\x0e\xb7\x15\xf6\xe6\x41\xeb\x26\xc5\x8e\xd3\x82\xbc\xb2\x1c\x05\x76\x83\x92\x54\x86\xfb\xb1\xb2\xd5\xa5\x7e\xfb\xa3\x6f\x21\xaa\x4e\xfa\x88\x4f\x69\xf9\x08\x27\xff\x31\xe1\x6f\xfe\xb9\x79\xf2\x8f\xc1\xf0\xf1\xa4\xfb\x88\x5f\x84\x8d\x3b\xd5\xd6\xd4\xbb\x95\x07\x3b\x4d\x01\x68\x77\x9e\x6b\xb2\x3c\xc0\x06\xa6\x82\x91\x3e\x7f\x77\xe4\x67\xb4\xcd\xcb\x27\x08\x51\x9c\x9d\x03\xe4\x3d\x22\x1b\xb6\x75\x82\x48\x63\x91\xe5\x23\xa3\x82\xf0\xfa\xeb\x04\xd9\x04\x35\x68\x04\x38\x73\x36\x2e\xd6\x57\x96\x3b\x80\x47\x0a\x5e\xbf\x59\xc2\x57\x4c\xdb\x8b\x18\x13\x5f\xd9\xaf\x64\xc0\x98\x96\xee\x4f\x03\xa0\xfa\x57\xa1\x74\x41\x97\x7a\xc1\xd8\x4c\xbf\x54\xb6\xa5\x5e\x60\x2e\x61\x20\xd3\x81\xe5\x95\xbe\x99\xeb\x52\x00\x96\x46\xf2\xdc\x63\xb2\x1d\x92\x1e\x7f\x8b\xd9\x8f\xab\x69\x34\x07\xed\xe5\x7c\x0b\xd4\xd3\x4c\x4b\x42\x38\x63\x8b\x53\xc9\xe6\xc7\xe0\xa5\x5a\x9d\xc2\x92\xd2\xb4\xd1\x74\x77\xf0\xdb\x55\x6d\xcf\xc5\x6c\xa4\x9d\x87\x70\x83\x6a\x5b\xd4\xe7\x5c\x84\x0f\x46\x53\xbd\xb1\xd6\xfb\xf7\x3c\xe1\x5b\x68\x0f\xba\x7b\x2d\x1e\xe7\x8b\xb8\x09\x16\xc6\x18\x83\xa4\x54\xf8\x4f\x3e\x05\xbc\x12\x79\x07\xab\x63\xdb\xef\xd2\xae\xa8\xa9\xde\x59\x71\x31\x6b\xb4\xa7\x2e\x08\x8e\x7d\x19\xcc\x40\xb7\xa9\xa2\x9f\x94\x7a\xdf\x5f\x43\x8c\xae\xd4\x9f\x77\x24\xc5\x9c\x0d\x0d\x4f\xdc\xc6\x6c\xd1\xd0\xd4\xd1\x12\x4d\x49\x1c\xbb\x9e\xaf\x31\x67\xd7\xfd\x9c\xd2\x9b\xba\x4e\x72\x0f\x82\x97\xcb\x36\x13\xa6\x9f\x9a\xfe\x68\xa5\xeb\x36\x4b\xff\x9a\x1c\x87\x50\x08\xe8\xaa\x52\xd3\x7a\x66\x52\xf5\xdc\xf2\x7c\x67\xa4\xd7\x1c\x8d\xf6\x1a\x56\xef\xcf\x5e\xe2\xec\x5f\xfd\xf7\x73\x79\x17\xa8\x3c\xf5\xa5\xef\x5f\xf5\x86\xf2\x14\x16\x0f\xc5\x66\xc2\xb9\xb0\x49\xa3\x67\x4b\x5e\x0f\x3f\x7f\xc4\x88\x44\x2b\x1f\xbe\x6d\x9f\x15\x3b\x4d\x87\xb5\x13\x3e\x3c\xb3\x7e\xbd\x5f\x20\x57\xa2\x62\xc4\x8d\xd6\x5b\xa4\x18\x6f\xdb\x72\xaf\x87\x06\x1c\xf9\xc4\x1d\xca\x51\x92\x14\x61\x42\x93\x5d\x27\xda\x9b\x0f\x8a\x77\x9e\x8f\x75\xf9\xc0\x16\x8c\x81\x5b\xb9\x90\xb7\xe9\x48\x34\x6b\x05\x6c\xb6\x63\xfb\xf6\xf8\xf0\xf4\x78\x97\x73\x72\xd3\x62\x32\xde\x65\x9e\x90\x40\x62\x4b\x70\x1c\xcb\x70\x18\xc6\x52\x56\xcd\x27\x5c\x0a\x0b\x6d\xf2\x2c\xfc\x1b\xbf\xe0\x70\x85\x8f\xfc\x7d\x36\x41\x7d\x08\xc6\x30\xa8\xec\x7d\xf1\x70\x5c\xb8\x21\x52\x1a\x5f\x59\xac\xa4\x04\xb3\x64\x8c\xcf\x2f\xb9\x6b\x9e\x7b\x14\x5d\x32\x7a\x41\x07\x3d\xbd\xf3\xa1\x3f\x89\x67\x16\xe5\x94\x45\x91\x27\xcb\x6a\xc5\x01\x3d\x02\x50\x0f\xc7\x10\xa0\x2a\x8f\xf2\x58\xf4\x3a\x55\x22\x22\x07\x34\xf0\xa4\x9c\x27\xa7\xf7\xec\x51\x10\x3c\x5a\x60\x57\x2b\x41\xb4\x45\xfc\x46\xdf\x0c\x54\x93\x22\xe1\xe5\x3e\x0a\x9f\xc6\xda\xe2\x3e\xb3\x7c\x8d\xd3\xff\x44\x2d\xfc\xc5\xba\x6a\x03\xd8\x8f\x29\x1d\x37\x38\x2c\xef\x5d\x53\x1f\x11\xbd\x79\xc7\x41\x6e\x05\x9e\x4d\x31\x48\xe8\x31\xa5\x3b\x2f\x08\xca\xb7\xcc\xc7\xa7\x08\x46\x30\x98\xca\x68\x53\x48\xf6\x26\x2a\x5b\x00\xf9\x10\xd4\xc5\x29\x39\x9a\x5a\x93\x70\xac\xee\x9c\x79\x64\xc7\xe7\xfa\x2b\x85\x0e\x03\xb2\x7c\x02\xbc\x9b\x5d\xac\xd7\x0e\xc3\xe7\x26\xc8\xcf\xf5\xff\x3d\x3c\x62\xcd\x0c\xbb\x12\x95\x9f\x45\x92\xca\x61\x01\x9f\x1d\x3a\x52\x7b\xee\xc8\x10\xde\xd2\x05\xdd\x3a\xca\x3c\x99\x4a\xa3\x6b\xe9\x17\xa5\x9f\x4f\xe7\xf8\xa5\xca\x85\x73\x61\xcc\xc9\x77\x44\xa1\xc9\xf2\xf2\xb4\xbf\x79\x68\xee\x96\x08\x35\x32\xe8\xd1\xcb\xbf\xf4\x17\xa9\xea\x54\x39\x6b\x7e\x22\x1d\x22\x1d\xda\x93\xc0\xbd\xc2\x2e\x6e\x05\x47\xc8\x1b\xe7\x53\x43\xb7\x38\x81\x03\x13\x42\x51\x49\x2a\xd4\x38\x85\xc6\x18\xd9\x0c\x58\x15\xc3\x4e\xf2\xc5\x73\xc4\xf1\x5d\x38\x07\xe6\xe5\xc3\x00\x45\x35\x3b\x50\x13\xe9\x76\x7f\xf9\x54\x90\xa7\x4d\xc5\xb6\x80\xf3\xc5\xba\x60\xe6\x07\xa9\x25\xe6\x14\xf7\x12\x5f\x93\xfb\xb9\x79\xf5\x1a\xa3\x94\xdb\x59\x3f\x00\xd5\x0b\xda\xc2\x9f\x8c\xfa\x7f\xc3\x0b\x33\xcb\xd1\x6f\x7a\x1b\xa9\x18\x24\x6c\x37\xa1\x97\x56\x06\x83\xe4\x1e\xc1\x38\x06\xee\xee\xc8\xd4\xd4\xe5\x8d\xd8\x05\x02\x2a\x6e\x5e\x67\x9d\x7d\xfc\x72\x53\x82\x6e\xb4\x4e\x14\x13\x46\xc8\x18\x49\x22\xc8\xf7\x7f\x24\x66\x07\x6f\x27\xd9\x0d\xc5\x7d\x30\xb4\xd6\xd0\x1a\x1f\x3e\x48\x56\xc5\x87\xab\xc4\x05\xd3\x15\xf9\x98\x34\xab\x72\xbc\x0a\xcd\x78\x4e\x54\xda\x0d\x7a\xb7\xc1\x9a\x1b\x6c\xb4\xa7\x70\x24\xd1\xc9\x2b\xca\xa8\x1c\x90\x2c\x6d\x5a\xe9\x79\x00\x96\xc3\x27\x03\x0a\x18\xdf\x18\x28\xf4\x2f\xc8\x94\xe1\x8f\x53\x7e\x46\xf7\x7c\x66\xf3\x37\x8a\xe9\x3a\x09\xcb\x62\x58\x05\x07\xc0\x2c\x8d\x90\xcd\xd5\x0b\x10\xe5\xe8\x53\x07\x68\x6b\xca\x31\x3b\xd2\xe3\x23\xf6\x4d\xff\xef\xbf\x69\xe7\xf3\x3d\xfa\xfd\x02\x75\x8c\xee\x2b\x22\xfd\x3e\xba\x02\xdb\xbd\x08\xd9\xa2\xdc\xcb\xf1\x8f\x55\x55\x15\xc8\xa4\x6f\xdf\x8e\xcc\xbb\x9e\x57\xf7\x9f\xdb\xd9\xf0\x58\x9b\x24\x50\xeb\xd9\xf4\xea\xed\xe0\x3f\x9c\xf2\x15\x28\x8e\xb9\x6e\x30\x20\x70\xdf\x0e\x0c\x63\x83\x82\xcf\x3f\x55\xe1\xd7\x33\x57\xe1\x8d\xdb\x74\x39\x57\x13\x8b\x79\x58\xcb\x61\x84\x6a\xeb\xb2\x5a\x0e\x70\xb5\x4f\x09\x37\x5a\xc7\x5c\x89\x5f\xf1\x3c\xcf\x7b\xce\x7f\xde\x8f\x7c\xa4\x0a\x23\x52\xdf\x72\x04\x2b\x2f\x47\xdf\x40\x93\xd4\x6b\xf5\x62\x22\x32\xbc\x7b\x9d\xd9\xc5\xca\x16\xa9\x13\x1f\xb3\x4d\x47\xa2\xe0\xdd\x3a\xee\x5b\x04\xc3\xbf\x72\x1c\x87\xf9\x27\xad\x55\x44\xd0\xa2\x04\x10\x9f\x4e\x76\xf9\x16\x77\x54\xc2\x30\xc7\x22\x15\x5e\xf9\x33\xc5\x7f\x5d\x01\x81\x9c\x57\xfe\x4f\xf6\x28\xf1\xad\x41\x23\x3a\x2f\x37\x25\xed\xdb\x77\x9c\x9f\xf6\xc9\x24\x32\x88\x47\xe9\xbb\xeb\xc9\xa9\x90\x21\x87\x84\xbe\xc7\x28\x42\x6e\x9a\x31\x85\x24\x40\xfe\xd4\x45\x46\x2c\x36\xcc\xee\xe5\x87\x08\x9b\x27\xc9\xaf\xd9\x4e\x4f\x96\xdf\x57\x9b\xbb\x7e\xe3\x6b\x83\x78\xbc\x7c\x6e\x06\x6d\x2b\xaa\x76\x87\x2a\x46\x60\x86\x5c\x16\x8b\x13\x8a\xc6\x5a\x33\xa7\x17\x3e\xf9\x81\x07\xc1\xfe\x28\x05\x8b\x19\x40\x05\x15\x3f\xbe\x40\xd5\xc4\x77\xcf\x30\xce\x07\x4d\x23\x9d\x64\x0e\xa6\xc1\x7b\xae\x17\x76\xa4\xec\xbd\xaf\xbf\x4c\x22\xec\x44\x5d\x61\xe9\x2d\xc5\x95\x44\x42\x31\x16\xbe\xda\xf1\x46\x64\x38\x70\x8b\xb2\x0f\x6e\xfe\xed\x07\xea\x1c\xda\x38\x0b\xb8\x6e\x92\xc8\x58\xee\x92\x3c\xdf\xe7\x7c\xfe\xda\xd9\x6b\x7a\x92\xdf\xae\x51\xf4\x9b\xa6\x61\xbb\x3e\x27\xdd\xda\x49\x33\xc1\x16\x62\xdc\xcd\xec\x20\xae\x5b\xc0\xf6\xde\x4b\x38\x5e\xe5\x6b\xea\x44\x2b\x22\x5e\x18\x8a\xfd\x73\xfc\x43\xd5\x72\x43\x11\x5a\xb9\x9f\xdd\x4d\xcd\x0f\x0f\x62\xf1\x52\x93\xe0\x2f\xef\xc5\x3c\x06\xac\xfb\xa0\xc2\x95\x64\xc0\x8a\x86\x08\xdc\x29\x82\x95\x28\xf7\xee\x54\x2a\x43\x06\xc8\xba\x9b\xec\x0d\x1e\xf2\xb9\xfd\xc8\x7e\x0f\x86\x41\x08\xf7\x1c\xb5\x2c\x10\x49\xd2\xb9\x52\x0f\xe1\xd2\x1b\x67\x59\x89\xa7\x38\xa0\xd3\xd0\xde\xd8\xf3\xde\xf8\x83\xb0\xa0\x63\x4a\x48\xcb\x79\x5d\x65\x82\x1b\x24\x26\x46\x7e\xe0\xe7\x7b\x87\x0d\xf1\xa2\xd1\xa8\x56\x5c\x50\x91\x75\x93\x44\x8b\x02\x6a\x67\x32\x58\x86\xac\xb7\xfa\xf6\x9a\x29\x4d\x7f\x64\x04\xfa\x9c\x00\xe0\xf5\xb8\xdd\x26\x60\x48\xf6\xa1\x51\xa3\xa7\xa2\xdf\x5a\x2c\x69\xb0\x02\x73\xc9\xe3\x4c\x01\xaa\x20\x2f\xf2\xf0\xf7\x59\x4f\x00\x3a\x1d\x71\x10\xb9\x40\x38\x96\xe7\x8a\xe5\x5a\x35\x1f\x12\x54\xe8\x7d\x11\x2b\x1f\x74\xdf\x6d\x0b\x5f\x29\xc7\xde\x68\x83\x2a\x7c\x92\x7e\x44\xcb\x72\xbe\xce\x1f\xd1\x76\xa8\x43\xc2\x5f\x0c\xb2\x6d\x3a\x7a\x52\x46\xf5\xd8\xa2\xf3\x5e\x72\x56\x15\xf9\x65\x73\x7f\x9d\xd9\x13\x81\xba\x53\x9d\xf4\xa6\x35\xb2\xea\xe2\xb2\x2d\xdd\xfb\xac\x90\x66\x38\x9d\x90\xc7\x75\xef\x3d\xa2\xc5\x60\x3c\x26\x06\x95\xe4\x67\x0b\x31\x23\x2d\x29\x29\xdd\x8e\xcf\x28\x76\xe6\x87\x3d\x62\x50\x9b\x81\xd0\xba\x8e\xb8\x04\xb7\x73\x0b\xcc\x60\x20\xeb\xd1\x60\x8c\xbe\xe5\x7a\xb5\xf6\x58\x65\x60\xb2\x09\xe8\xd2\x9b\x34\xb6\xc7\x9d\x05\xfe\x3c\x2c\x1c\x8c\x49\x57\xf7\x0c\x93\x85\xf0\x20\x39\xe8\x01\xc6\x8e\x47\x5c\x36\x67\x41\x33\x7e\x66\x27\x1f\xe5\x28\xc5\x77\xb0\xe1\xf2\xf3\x05\xd0\x15\x47\x58\x84\x72\xe0\x02\x53\x68\xc7\xd5\x3a\x3f\x36\x66\x1e\x76\x62\x36\xbc\xf5\x2e\x53\x4c\xd4\xd4\xaa\xaa\xb3\x86\xe0\xca\x08\xc7\xcc\xb2\x97\x69\xa9\xcb\x88\x82\xb4\x9b\x89\x9f\x33\x32\x42\xd0\x70\xb4\xc8\xd4\xed\x88\x37\xf9\x46\x88\xa7\x3a\x5d\xa9\x37\x90\x4b\xcc\x2e\xf0\xe1\x17\xdf\x40\x91\x18\xf7\x14\x93\x5f\x75\xc6\x8c\x48\x2c\x0a\xe2\xc2\xaf\x0a\x1b\x1f\xc4\x0a\x55\x31\xe8\x7b\x70\x0d\xd5\x8a\x64\xd3\xb2\x89\x7b\x31\x8e\xb1\x3e\x80\x0e\xc3\xc0\x58\xdc\x27\xef\x8b\xa9\x30\xc9\x94\x75\x5e\x67\x22\x86\xad\x57\x31\x29\x38\xb5\xf2\x57\x38\xe2\xf1\xb1\x22\x0b\xec\xff\xae\x58\xf8\x98\xbf\x86\x85\x10\x90\x8e\x1b\xf4\xe4\x94\xe4\xca\x62\x09\x35\xd9\x72\xa0\xd5\x17\x51\x4a\x4d\x79\x05\xfd\x73\x40\x77\x4c\xf4\xe9\xb8\x60\x8c\x07\xeb\x61\xad\xc6\x22\x79\xfd\xe8\x05\x90\x98\x9a\x63\x68\x83\xc1\x3b\xd6\x58\xb7\x3f\x8b\x43\xf1\xae\x90\x89\x8b\xa0\x1a\x24\x0e\xe7\x81\x99\xd5\x6c\xed\x72\xa8\x31\x88\xae\x56\x04\x2d\x7b\xcc\xab\x0b\x3a\x1e\x0d\x57\x03\xa0\x32\xe5\x19\x22\x91\xbb\xf4\xe9\x0c\xfc\xd0\x55\x70\xfe\x93\x97\x59\x62\x16\x75\xf7\x02\x53\x1e\x58\x8f\x5b\x88\x72\xfb\x55\x05\xf8\x98\x48\x9b\x5c\x51\x49\xb9\xd6\xd1\xcd\x56\xc6\x1b\x8a\x89\xa6\xc5\xb2\x3d\x8c\x9b\xfc\xef\x26\x00\xea\x28\x1a\x8a\x3e\x5b\x99\x01\x41\x46\x8c\xab\xb5\x09\xc8\xb5\x79\x92\xb9\xbb\xa9\x51\x0b\x72\xc7\xce\xe5\x99\xff\x32\x1a\x9e\x11\x18\x55\x60\xea\x90\xf8\xb0\x58\x3b\x44\x81\x05\x86\xfd\x9d\x0a\x80\x8a\xd9\x64\x74\xa8\x06\x4c\x12\xba\x8f\x1a\x96\xf9\xed\x0b\xd4\x34\xb1\xec\xba\xda\x48\x24\x6b\x87\x32\x19\xa5\xa7\x0f\xdd\xaa\x22\x3e\x18\x17\xc7\xc9\x3f\x15\x80\xa6\xc7\x6c\xbd\xd7\xb5\x6d\x32\xf9\x4a\xf7\xab\x86\xbe\xce\xc9\x75\xf5\x54\x5f\xd8\x29\x5a\xa7\xc7\xaf\xa9\x57\x7f\x53\xe4\x21\x1a\xf8\x0e\xa4\xf4\xdc\x23\x2c\x1f\xc9\x71\x85\x9a\xef\x8d\x19\xd1\x79\x85\x40\x31\x94\xe1\xc9\x85\x4c\x05\x67\x22\x4e\x46\xec\xf8\x8a\x4f\xc2\xbb\xb8\x4a\x47\x72\x5f\xfb\xdf\x26\xb2\xb9\x23\x7e\xd2\xdb\x28\xe2\x66\x98\x93\xa9\x0f\xab\x34\x7c\x4c\x52\xbe\x2d\x59\x93\xc6\x3f\x85\x93\xf9\x44\x45\xfb\x19\x78\x3a\xf3\x94\x3b\x00\x1b\xd8\xe3\x58\x9a\x96\x28\x35\x5d\x8c\xb0\x03\x37\x35\xa4\x65\xd8\x93\x42\x63\x7d\xad\x0a\x8b\xee\xcf\xc9\xc4\x2d\xe5\xa8\xd0\xf8\x34\x74\x8a\x24\xac\x62\x32\x8c\x27\xd2\x4e\x0e\x8a\x30\xae\xce\xf0\x85\x2b\x28\xb2\xec\x15\x71\xd7\x21\x00\x29\xe7\xf4\x3c\xa5\x3f\x78\x97\x0d\x6e\x9e\xe8\x60\x1a\x10\x8f\x2b\x01\x40\x9f\x74\xe9\x13\xbb\xb3\x7b\x5f\xec\x01\x60\x47\xa9\x3f\x01\x24\xc1\xcc\xff\x9a\x9f\xf7\x67\x29\x5d\xfd\x72\x8b\xfb\x7b\x4d\x76\x78\x09\x52\x8c\xd1\xa5\x21\x69\xcd\x2d\x80\xa6\x47\x3b\x38\x90\xdd\x40\x2b\x11\x44\xdb\x62\x3e\x06\xd3\x0b\x4b\xdf\xdf\x8b\xd4\x7f\x9f\x4c\x57\x54\xa6\x68\x8f\xf8\x1f\xdd\xc9\x4d\x43\x6d\x27\x12\x65\x64\x89\x53\x0c\xe8\x81\x04\xfa\xdf\xfb\xc3\x90\xe8\xf1\x7e\x8f\x64\x71\xea\xd3\x96\x46\x68\xfe\xa7\x97\xdc\xd6\xb9\xea\xa0\x96\xf9\xcb\x82\x57\x45\x46\x6f\x7c\xb3\x7e\x60\xed\x7e\x0f\xfc\x5d\xff\x52\xf4\x1b\x74\x9c\x39\x45\xa5\xf8\x63\xdb\x1e\x89\x5d\x48\x9c\xf2\xae\xc9\x93\x1f\xc9\x03\xb7\xfd\x87\x1f\x63\x9b\x0a\x86\x76\x90\x62\x4c\xe8\xb2\x28\x49\x11\x54\x80\xf9\xa6\x55\x13\xb1\xa8\xc2\x23\x32\x58\xd7\xeb\xc2\x9f\x85\xc4\x7a\xf4\x24\x3a\xb2\xab\x0f\x25\x5b\x0c\x9a\x1c\xbb\x65\xc3\xb7\xcb\xee\x7a\xd9\x0a\x49\xbd\x87\xc9\x60\xfc\x80\xe6\x97\xee\x3e\x23\xc3\xa6\xaa\xed\x87\xc3\x57\x44\x1d\x8f\x62\x3e\xa5\x59\x86\x9b\x5f\x16\x94\x56\x59\xe1\xac\x3a\x35\x63\xa4\x47\x03\x8f\x30\x9f\x8a\xc9\x5c\xa1\x6d\x88\x53\x40\x18\xa0\x34\x40\x94\x2a\x86\xf5\x4e\x31\xfa\x2d\xa8\xc7\x15\x38\xd9\x7a\xae\x9e\x3f\x0e\xdf\xbc\xae\x7c\x1b\xa5\xea\x2c\x69\x5a\x05\x48\x6c\x2b\x7d\x0b\xc4\x2e\x89\x30\xa8\xbf\x88\xfc\xa1\xaf\x61\x56\x15\x37\xbd\xef\x54\x67\xd6\x42\x89\x5f\x45\xf7\x46\x84\x13\x80\xde\x41\x58\x6e\x8e\x51\x82\xec\xef\x94\x34\x26\xb6\x37\xd0\x25\xa2\x09\x6a\x51\xbb\xb2\x76\x82\xa7\x4f\x85\xc8\xe2\x98\xa1\xd5\x1e\xa9\xe9\xe8\x52\x50\x18\x8d\x50\x71\x77\x8c\xc1\xae\x6c\x2f\x58\x8a\xb3\xf0\xa1\x3d\xda\xb7\xd9\xed\x2e\xcb\xda\xdb\xad\xd4\x0c\xa8\x6e\xe6\xd5\x17\xc9\x82\x13\x79\x5a\x1f\x1b\xeb\x36\x2d\x6e\x69\xf4\x44\x52\x10\x6a\xce\xc6\x2a\xbb\xe2\xc3\xbd\x14\x10\x7f\xbc\x8e\xa9\x8f\x70\xfa\x0e\x7f\x5b\x70\xb5\xc1\x8f\x07\x31\xe0\xb4\xc0\xbe\x44\x9b\xc5\xb6\x61\x3b\xf3\x43\x75\xdb\x45\xa4\x79\xf4\x7c\xa3', 2) | 78,087 | 78,087 | 0.749997 | 19,517 | 78,087 | 3.000102 | 0.013373 | 0.001947 | 0.001998 | 0.00164 | 0.000666 | 0.00041 | 0.00041 | 0 | 0 | 0 | 0 | 0.311575 | 0.000038 | 78,087 | 1 | 78,087 | 78,087 | 0.438297 | 0 | 0 | 0 | 0 | 1 | 0.999488 | 0.999488 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
7c9b4db66e8888accd00301f9471bbf740381088 | 117 | py | Python | pagent/tests/pathbs.py | cloutfront/pagent | 72ca8caaefc9b5955989e3737f099e0ecafcd77f | [
"MIT"
] | null | null | null | pagent/tests/pathbs.py | cloutfront/pagent | 72ca8caaefc9b5955989e3737f099e0ecafcd77f | [
"MIT"
] | null | null | null | pagent/tests/pathbs.py | cloutfront/pagent | 72ca8caaefc9b5955989e3737f099e0ecafcd77f | [
"MIT"
] | null | null | null | import sys
import os
sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
print(sys.path)
| 14.625 | 76 | 0.760684 | 20 | 117 | 4.25 | 0.4 | 0.211765 | 0.458824 | 0.352941 | 0.458824 | 0.458824 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 117 | 7 | 77 | 16.714286 | 0.787037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
7c9fa6f44cedcdb8afc2f8e8743861d4b39665a1 | 41 | py | Python | autoscalingsim/scaling/policiesbuilder/metric/scaling_aspect_calculation/adjustment_heuristics/__init__.py | Remit/autoscaling-simulator | 091943c0e9eedf9543e9305682a067ab60f56def | [
"MIT"
] | 6 | 2021-03-10T16:23:10.000Z | 2022-01-14T04:57:46.000Z | autoscalingsim/scaling/policiesbuilder/metric/scaling_aspect_calculation/adjustment_heuristics/__init__.py | Remit/autoscaling-simulator | 091943c0e9eedf9543e9305682a067ab60f56def | [
"MIT"
] | null | null | null | autoscalingsim/scaling/policiesbuilder/metric/scaling_aspect_calculation/adjustment_heuristics/__init__.py | Remit/autoscaling-simulator | 091943c0e9eedf9543e9305682a067ab60f56def | [
"MIT"
] | 1 | 2022-01-14T04:57:55.000Z | 2022-01-14T04:57:55.000Z | from . import rescale
from . import none
| 13.666667 | 21 | 0.756098 | 6 | 41 | 5.166667 | 0.666667 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 22 | 20.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7cd54febda6435efa8e27144041de6563f9dec91 | 3,965 | py | Python | ml_enabler/tests/test_aggregator.py | hotosm/ml-enabler-cli | 287d929fb0cf5be41100bdff41261ef99ded0ceb | [
"BSD-2-Clause"
] | 5 | 2019-07-23T22:42:45.000Z | 2020-02-28T09:57:33.000Z | ml_enabler/tests/test_aggregator.py | hotosm/ml-enabler-cli | 287d929fb0cf5be41100bdff41261ef99ded0ceb | [
"BSD-2-Clause"
] | 17 | 2019-06-06T17:56:10.000Z | 2019-09-18T03:17:04.000Z | ml_enabler/tests/test_aggregator.py | hotosm/ml-enabler-cli | 287d929fb0cf5be41100bdff41261ef99ded0ceb | [
"BSD-2-Clause"
] | 1 | 2019-09-19T16:06:30.000Z | 2019-09-19T16:06:30.000Z | import json
from click.testing import CliRunner
import os
from ml_enabler.cli import main_group
from ml_enabler.tests.mockserver import MockServer
def test_looking_glass_aggregator():
def overpass_callback():
overpass_response = open('ml_enabler/tests/fixtures/overpass_response.xml').read()
return overpass_response
server = MockServer(port=1234)
server.start()
server.add_callback_response('/api/interpreter', overpass_callback)
infile = 'ml_enabler/tests/fixtures/looking_glass_output.json'
expected_results = json.load(open('ml_enabler/tests/fixtures/looking_glass_aggregator_output.json'))
outfile = '/tmp/aggregator.json'
runner = CliRunner()
result = runner.invoke(main_group,
['aggregate_predictions', '--name', 'looking_glass', '--zoom', 14, '--infile', infile, '--outfile', outfile,
'--overpass-url', 'http://localhost:1234/api/interpreter'])
current_results = json.load(open(outfile))
expected_results['predictions'] = sorted(expected_results['predictions'], key=lambda p: p['quadkey'])
current_results['predictions'] = sorted(current_results['predictions'], key=lambda p: p['quadkey'])
server.shutdown_server()
assert(result.exit_code) == 0
assert(expected_results == current_results)
os.remove('/tmp/aggregator.json')
def test_building_aggregator():
def overpass_callback():
overpass_response = open('ml_enabler/tests/fixtures/overpass_response.xml').read()
return overpass_response
server = MockServer(port=1234)
server.start()
server.add_callback_response('/api/interpreter', overpass_callback)
infile = 'ml_enabler/tests/fixtures/building_api_output.json'
expected_results = json.load(open('ml_enabler/tests/fixtures/building_api_aggregator_output.json'))
outfile = '/tmp/aggregator.json'
runner = CliRunner()
result = runner.invoke(main_group,
['aggregate_predictions', '--name', 'building_api', '--zoom', 14, '--infile', infile, '--outfile', outfile,
'--overpass-url', 'http://localhost:1234/api/interpreter'])
current_results = json.load(open(outfile))
expected_results['predictions'] = sorted(expected_results['predictions'], key=lambda p: p['quadkey'])
current_results['predictions'] = sorted(current_results['predictions'], key=lambda p: p['quadkey'])
server.shutdown_server()
assert(result.exit_code) == 0
assert(expected_results == current_results)
os.remove('/tmp/aggregator.json')
def test_mapwithai_road_stats_aggregator():
def overpass_callback():
overpass_response = open('ml_enabler/tests/fixtures/overpass_response_road.xml').read()
return overpass_response
server = MockServer(port=1234)
server.start()
server.add_callback_response('/api/interpreter', overpass_callback)
infile = 'ml_enabler/tests/fixtures/mapwithai_road_stats_fetch_expected.json'
expected_results = json.load(open('ml_enabler/tests/fixtures/mapwithai_road_stats_aggregator_expected.json'))
outfile = '/tmp/aggregator.json'
runner = CliRunner()
result = runner.invoke(
main_group,
[
'aggregate_predictions',
'--name',
'mapwithai_road_stats',
'--zoom',
15,
'--infile',
infile,
'--outfile',
outfile,
'--overpass-url',
'http://localhost:1234/api/interpreter'
]
)
current_results = json.load(open(outfile))
expected_results['predictions'] = sorted(expected_results['predictions'], key=lambda p: p['quadkey'])
current_results['predictions'] = sorted(current_results['predictions'], key=lambda p: p['quadkey'])
server.shutdown_server()
assert(result.exit_code == 0)
assert(expected_results == current_results)
os.remove('/tmp/aggregator.json')
| 40.876289 | 136 | 0.681715 | 436 | 3,965 | 5.96789 | 0.16055 | 0.069178 | 0.053805 | 0.076095 | 0.903536 | 0.903536 | 0.885857 | 0.872022 | 0.872022 | 0.872022 | 0 | 0.010229 | 0.186381 | 3,965 | 96 | 137 | 41.302083 | 0.796342 | 0 | 0 | 0.580247 | 0 | 0 | 0.301892 | 0.143758 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.074074 | false | 0.185185 | 0.061728 | 0 | 0.17284 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
7cd7f712da48478826310720016b5984fec74494 | 21,878 | py | Python | tests/test_requests.py | bollwyvl/gql | fe213c42f07ae14f1311fd5cdd453413a35156df | [
"MIT"
] | null | null | null | tests/test_requests.py | bollwyvl/gql | fe213c42f07ae14f1311fd5cdd453413a35156df | [
"MIT"
] | null | null | null | tests/test_requests.py | bollwyvl/gql | fe213c42f07ae14f1311fd5cdd453413a35156df | [
"MIT"
] | null | null | null | from typing import Mapping
import pytest
from gql import Client, gql
from gql.transport.exceptions import (
TransportAlreadyConnected,
TransportClosed,
TransportProtocolError,
TransportQueryError,
TransportServerError,
)
from tests.conftest import TemporaryFile
# Marking all tests in this file with the requests marker
pytestmark = pytest.mark.requests
query1_str = """
query getContinents {
continents {
code
name
}
}
"""
query1_server_answer = (
'{"data":{"continents":['
'{"code":"AF","name":"Africa"},{"code":"AN","name":"Antarctica"},'
'{"code":"AS","name":"Asia"},{"code":"EU","name":"Europe"},'
'{"code":"NA","name":"North America"},{"code":"OC","name":"Oceania"},'
'{"code":"SA","name":"South America"}]}}'
)
@pytest.mark.aiohttp
@pytest.mark.asyncio
async def test_requests_query(event_loop, aiohttp_server, run_sync_test):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
async def handler(request):
return web.Response(
text=query1_server_answer,
content_type="application/json",
headers={"dummy": "test1234"},
)
app = web.Application()
app.router.add_route("POST", "/", handler)
server = await aiohttp_server(app)
url = server.make_url("/")
def test_code():
transport = RequestsHTTPTransport(url=url)
with Client(transport=transport) as session:
query = gql(query1_str)
# Execute query synchronously
result = session.execute(query)
continents = result["continents"]
africa = continents[0]
assert africa["code"] == "AF"
# Checking response headers are saved in the transport
assert hasattr(transport, "response_headers")
assert isinstance(transport.response_headers, Mapping)
assert transport.response_headers["dummy"] == "test1234"
await run_sync_test(event_loop, server, test_code)
@pytest.mark.aiohttp
@pytest.mark.asyncio
async def test_requests_cookies(event_loop, aiohttp_server, run_sync_test):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
async def handler(request):
assert "COOKIE" in request.headers
assert "cookie1=val1" == request.headers["COOKIE"]
return web.Response(text=query1_server_answer, content_type="application/json")
app = web.Application()
app.router.add_route("POST", "/", handler)
server = await aiohttp_server(app)
url = server.make_url("/")
def test_code():
transport = RequestsHTTPTransport(url=url, cookies={"cookie1": "val1"})
with Client(transport=transport) as session:
query = gql(query1_str)
# Execute query synchronously
result = session.execute(query)
continents = result["continents"]
africa = continents[0]
assert africa["code"] == "AF"
await run_sync_test(event_loop, server, test_code)
@pytest.mark.aiohttp
@pytest.mark.asyncio
async def test_requests_error_code_401(event_loop, aiohttp_server, run_sync_test):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
async def handler(request):
# Will generate http error code 401
return web.Response(
text='{"error":"Unauthorized","message":"401 Client Error: Unauthorized"}',
content_type="application/json",
status=401,
)
app = web.Application()
app.router.add_route("POST", "/", handler)
server = await aiohttp_server(app)
url = server.make_url("/")
def test_code():
transport = RequestsHTTPTransport(url=url)
with Client(transport=transport) as session:
query = gql(query1_str)
with pytest.raises(TransportServerError) as exc_info:
session.execute(query)
assert "401 Client Error: Unauthorized" in str(exc_info.value)
await run_sync_test(event_loop, server, test_code)
@pytest.mark.aiohttp
@pytest.mark.asyncio
async def test_requests_error_code_500(event_loop, aiohttp_server, run_sync_test):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
async def handler(request):
# Will generate http error code 500
raise Exception("Server error")
app = web.Application()
app.router.add_route("POST", "/", handler)
server = await aiohttp_server(app)
url = server.make_url("/")
def test_code():
transport = RequestsHTTPTransport(url=url)
with Client(transport=transport) as session:
query = gql(query1_str)
with pytest.raises(TransportServerError):
session.execute(query)
await run_sync_test(event_loop, server, test_code)
query1_server_error_answer = '{"errors": ["Error 1", "Error 2"]}'
@pytest.mark.aiohttp
@pytest.mark.asyncio
async def test_requests_error_code(event_loop, aiohttp_server, run_sync_test):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
async def handler(request):
return web.Response(
text=query1_server_error_answer, content_type="application/json"
)
app = web.Application()
app.router.add_route("POST", "/", handler)
server = await aiohttp_server(app)
url = server.make_url("/")
def test_code():
transport = RequestsHTTPTransport(url=url)
with Client(transport=transport) as session:
query = gql(query1_str)
with pytest.raises(TransportQueryError):
session.execute(query)
await run_sync_test(event_loop, server, test_code)
invalid_protocol_responses = [
"{}",
"qlsjfqsdlkj",
'{"not_data_or_errors": 35}',
]
@pytest.mark.aiohttp
@pytest.mark.asyncio
@pytest.mark.parametrize("response", invalid_protocol_responses)
async def test_requests_invalid_protocol(
event_loop, aiohttp_server, response, run_sync_test
):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
async def handler(request):
return web.Response(text=response, content_type="application/json")
app = web.Application()
app.router.add_route("POST", "/", handler)
server = await aiohttp_server(app)
url = server.make_url("/")
def test_code():
transport = RequestsHTTPTransport(url=url)
with Client(transport=transport) as session:
query = gql(query1_str)
with pytest.raises(TransportProtocolError):
session.execute(query)
await run_sync_test(event_loop, server, test_code)
@pytest.mark.aiohttp
@pytest.mark.asyncio
async def test_requests_cannot_connect_twice(event_loop, aiohttp_server, run_sync_test):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
async def handler(request):
return web.Response(text=query1_server_answer, content_type="application/json")
app = web.Application()
app.router.add_route("POST", "/", handler)
server = await aiohttp_server(app)
url = server.make_url("/")
def test_code():
transport = RequestsHTTPTransport(url=url)
with Client(transport=transport) as session:
with pytest.raises(TransportAlreadyConnected):
session.transport.connect()
await run_sync_test(event_loop, server, test_code)
@pytest.mark.aiohttp
@pytest.mark.asyncio
async def test_requests_cannot_execute_if_not_connected(
event_loop, aiohttp_server, run_sync_test
):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
async def handler(request):
return web.Response(text=query1_server_answer, content_type="application/json")
app = web.Application()
app.router.add_route("POST", "/", handler)
server = await aiohttp_server(app)
url = server.make_url("/")
def test_code():
transport = RequestsHTTPTransport(url=url)
query = gql(query1_str)
with pytest.raises(TransportClosed):
transport.execute(query)
await run_sync_test(event_loop, server, test_code)
query1_server_answer_with_extensions = (
'{"data":{"continents":['
'{"code":"AF","name":"Africa"},{"code":"AN","name":"Antarctica"},'
'{"code":"AS","name":"Asia"},{"code":"EU","name":"Europe"},'
'{"code":"NA","name":"North America"},{"code":"OC","name":"Oceania"},'
'{"code":"SA","name":"South America"}]},'
'"extensions": {"key1": "val1"}'
"}"
)
@pytest.mark.aiohttp
@pytest.mark.asyncio
async def test_requests_query_with_extensions(
event_loop, aiohttp_server, run_sync_test
):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
async def handler(request):
return web.Response(
text=query1_server_answer_with_extensions, content_type="application/json"
)
app = web.Application()
app.router.add_route("POST", "/", handler)
server = await aiohttp_server(app)
url = server.make_url("/")
def test_code():
transport = RequestsHTTPTransport(url=url)
with Client(transport=transport) as session:
query = gql(query1_str)
execution_result = session.execute(query, get_execution_result=True)
assert execution_result.extensions["key1"] == "val1"
await run_sync_test(event_loop, server, test_code)
file_upload_server_answer = '{"data":{"success":true}}'
file_upload_mutation_1 = """
mutation($file: Upload!) {
uploadFile(input:{other_var:$other_var, file:$file}) {
success
}
}
"""
file_upload_mutation_1_operations = (
'{"query": "mutation ($file: Upload!) {\\n uploadFile(input: {other_var: '
'$other_var, file: $file}) {\\n success\\n }\\n}", "variables": '
'{"file": null, "other_var": 42}}'
)
file_upload_mutation_1_map = '{"0": ["variables.file"]}'
file_1_content = """
This is a test file
This file will be sent in the GraphQL mutation
"""
@pytest.mark.aiohttp
@pytest.mark.asyncio
async def test_requests_file_upload(event_loop, aiohttp_server, run_sync_test):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
async def single_upload_handler(request):
from aiohttp import web
reader = await request.multipart()
field_0 = await reader.next()
assert field_0.name == "operations"
field_0_text = await field_0.text()
assert field_0_text == file_upload_mutation_1_operations
field_1 = await reader.next()
assert field_1.name == "map"
field_1_text = await field_1.text()
assert field_1_text == file_upload_mutation_1_map
field_2 = await reader.next()
assert field_2.name == "0"
field_2_text = await field_2.text()
assert field_2_text == file_1_content
field_3 = await reader.next()
assert field_3 is None
return web.Response(
text=file_upload_server_answer, content_type="application/json"
)
app = web.Application()
app.router.add_route("POST", "/", single_upload_handler)
server = await aiohttp_server(app)
url = server.make_url("/")
def test_code():
transport = RequestsHTTPTransport(url=url)
with TemporaryFile(file_1_content) as test_file:
with Client(transport=transport) as session:
query = gql(file_upload_mutation_1)
file_path = test_file.filename
with open(file_path, "rb") as f:
params = {"file": f, "other_var": 42}
execution_result = session._execute(
query, variable_values=params, upload_files=True
)
assert execution_result.data["success"]
await run_sync_test(event_loop, server, test_code)
@pytest.mark.aiohttp
@pytest.mark.asyncio
async def test_requests_file_upload_additional_headers(
event_loop, aiohttp_server, run_sync_test
):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
async def single_upload_handler(request):
from aiohttp import web
assert request.headers["X-Auth"] == "foobar"
reader = await request.multipart()
field_0 = await reader.next()
assert field_0.name == "operations"
field_0_text = await field_0.text()
assert field_0_text == file_upload_mutation_1_operations
field_1 = await reader.next()
assert field_1.name == "map"
field_1_text = await field_1.text()
assert field_1_text == file_upload_mutation_1_map
field_2 = await reader.next()
assert field_2.name == "0"
field_2_text = await field_2.text()
assert field_2_text == file_1_content
field_3 = await reader.next()
assert field_3 is None
return web.Response(
text=file_upload_server_answer, content_type="application/json"
)
app = web.Application()
app.router.add_route("POST", "/", single_upload_handler)
server = await aiohttp_server(app)
url = server.make_url("/")
def test_code():
transport = RequestsHTTPTransport(url=url, headers={"X-Auth": "foobar"})
with TemporaryFile(file_1_content) as test_file:
with Client(transport=transport) as session:
query = gql(file_upload_mutation_1)
file_path = test_file.filename
with open(file_path, "rb") as f:
params = {"file": f, "other_var": 42}
execution_result = session._execute(
query, variable_values=params, upload_files=True
)
assert execution_result.data["success"]
await run_sync_test(event_loop, server, test_code)
@pytest.mark.aiohttp
@pytest.mark.asyncio
async def test_requests_binary_file_upload(event_loop, aiohttp_server, run_sync_test):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
# This is a sample binary file content containing all possible byte values
binary_file_content = bytes(range(0, 256))
async def binary_upload_handler(request):
from aiohttp import web
reader = await request.multipart()
field_0 = await reader.next()
assert field_0.name == "operations"
field_0_text = await field_0.text()
assert field_0_text == file_upload_mutation_1_operations
field_1 = await reader.next()
assert field_1.name == "map"
field_1_text = await field_1.text()
assert field_1_text == file_upload_mutation_1_map
field_2 = await reader.next()
assert field_2.name == "0"
field_2_binary = await field_2.read()
assert field_2_binary == binary_file_content
field_3 = await reader.next()
assert field_3 is None
return web.Response(
text=file_upload_server_answer, content_type="application/json"
)
app = web.Application()
app.router.add_route("POST", "/", binary_upload_handler)
server = await aiohttp_server(app)
url = server.make_url("/")
transport = RequestsHTTPTransport(url=url)
def test_code():
with TemporaryFile(binary_file_content) as test_file:
with Client(transport=transport) as session:
query = gql(file_upload_mutation_1)
file_path = test_file.filename
with open(file_path, "rb") as f:
params = {"file": f, "other_var": 42}
execution_result = session._execute(
query, variable_values=params, upload_files=True
)
assert execution_result.data["success"]
await run_sync_test(event_loop, server, test_code)
file_upload_mutation_2_operations = (
'{"query": "mutation ($file1: Upload!, $file2: Upload!) {\\n '
'uploadFile(input: {file1: $file, file2: $file}) {\\n success\\n }\\n}", '
'"variables": {"file1": null, "file2": null}}'
)
@pytest.mark.aiohttp
@pytest.mark.asyncio
async def test_requests_file_upload_two_files(
event_loop, aiohttp_server, run_sync_test
):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
file_upload_mutation_2 = """
mutation($file1: Upload!, $file2: Upload!) {
uploadFile(input:{file1:$file, file2:$file}) {
success
}
}
"""
file_upload_mutation_2_map = '{"0": ["variables.file1"], "1": ["variables.file2"]}'
file_2_content = """
This is a second test file
This file will also be sent in the GraphQL mutation
"""
async def handler(request):
reader = await request.multipart()
field_0 = await reader.next()
assert field_0.name == "operations"
field_0_text = await field_0.text()
assert field_0_text == file_upload_mutation_2_operations
field_1 = await reader.next()
assert field_1.name == "map"
field_1_text = await field_1.text()
assert field_1_text == file_upload_mutation_2_map
field_2 = await reader.next()
assert field_2.name == "0"
field_2_text = await field_2.text()
assert field_2_text == file_1_content
field_3 = await reader.next()
assert field_3.name == "1"
field_3_text = await field_3.text()
assert field_3_text == file_2_content
field_4 = await reader.next()
assert field_4 is None
return web.Response(
text=file_upload_server_answer, content_type="application/json"
)
app = web.Application()
app.router.add_route("POST", "/", handler)
server = await aiohttp_server(app)
url = server.make_url("/")
def test_code():
transport = RequestsHTTPTransport(url=url)
with TemporaryFile(file_1_content) as test_file_1:
with TemporaryFile(file_2_content) as test_file_2:
with Client(transport=transport) as session:
query = gql(file_upload_mutation_2)
file_path_1 = test_file_1.filename
file_path_2 = test_file_2.filename
f1 = open(file_path_1, "rb")
f2 = open(file_path_2, "rb")
params = {
"file1": f1,
"file2": f2,
}
execution_result = session._execute(
query, variable_values=params, upload_files=True
)
assert execution_result.data["success"]
f1.close()
f2.close()
await run_sync_test(event_loop, server, test_code)
file_upload_mutation_3_operations = (
'{"query": "mutation ($files: [Upload!]!) {\\n uploadFiles(input: {files: $files})'
' {\\n success\\n }\\n}", "variables": {"files": [null, null]}}'
)
@pytest.mark.aiohttp
@pytest.mark.asyncio
async def test_requests_file_upload_list_of_two_files(
event_loop, aiohttp_server, run_sync_test
):
from aiohttp import web
from gql.transport.requests import RequestsHTTPTransport
file_upload_mutation_3 = """
mutation($files: [Upload!]!) {
uploadFiles(input:{files:$files}) {
success
}
}
"""
file_upload_mutation_3_map = (
'{"0": ["variables.files.0"], "1": ["variables.files.1"]}'
)
file_2_content = """
This is a second test file
This file will also be sent in the GraphQL mutation
"""
async def handler(request):
reader = await request.multipart()
field_0 = await reader.next()
assert field_0.name == "operations"
field_0_text = await field_0.text()
assert field_0_text == file_upload_mutation_3_operations
field_1 = await reader.next()
assert field_1.name == "map"
field_1_text = await field_1.text()
assert field_1_text == file_upload_mutation_3_map
field_2 = await reader.next()
assert field_2.name == "0"
field_2_text = await field_2.text()
assert field_2_text == file_1_content
field_3 = await reader.next()
assert field_3.name == "1"
field_3_text = await field_3.text()
assert field_3_text == file_2_content
field_4 = await reader.next()
assert field_4 is None
return web.Response(
text=file_upload_server_answer, content_type="application/json"
)
app = web.Application()
app.router.add_route("POST", "/", handler)
server = await aiohttp_server(app)
url = server.make_url("/")
def test_code():
transport = RequestsHTTPTransport(url=url)
with TemporaryFile(file_1_content) as test_file_1:
with TemporaryFile(file_2_content) as test_file_2:
with Client(transport=transport) as session:
query = gql(file_upload_mutation_3)
file_path_1 = test_file_1.filename
file_path_2 = test_file_2.filename
f1 = open(file_path_1, "rb")
f2 = open(file_path_2, "rb")
params = {"files": [f1, f2]}
execution_result = session._execute(
query, variable_values=params, upload_files=True
)
assert execution_result.data["success"]
f1.close()
f2.close()
await run_sync_test(event_loop, server, test_code)
| 28.862797 | 88 | 0.639318 | 2,586 | 21,878 | 5.158933 | 0.075019 | 0.032157 | 0.023087 | 0.03463 | 0.850011 | 0.827374 | 0.815081 | 0.812608 | 0.806761 | 0.806761 | 0 | 0.01613 | 0.254731 | 21,878 | 757 | 89 | 28.900925 | 0.802085 | 0.013941 | 0 | 0.721689 | 0 | 0.003839 | 0.125296 | 0.032785 | 0 | 0 | 0 | 0 | 0.103647 | 1 | 0.026871 | false | 0 | 0.069098 | 0 | 0.120921 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
7ce1ef10c3641e1de7cdaf40c824de3257d81fc3 | 4,702 | py | Python | vad/models/vad_model.py | Z-yq/audioSamples.github.io | 53c474288f0db1a3acfe40ba57a4cd5f2aecbcd3 | [
"Apache-2.0"
] | null | null | null | vad/models/vad_model.py | Z-yq/audioSamples.github.io | 53c474288f0db1a3acfe40ba57a4cd5f2aecbcd3 | [
"Apache-2.0"
] | null | null | null | vad/models/vad_model.py | Z-yq/audioSamples.github.io | 53c474288f0db1a3acfe40ba57a4cd5f2aecbcd3 | [
"Apache-2.0"
] | null | null | null | # encoding=utf-8
import tensorflow as tf
class CNN_Online_VAD(tf.keras.Model):
def __init__(self,
dmodel: int,
frame: int,
name="cnn_online_vad",
**kwargs):
super(CNN_Online_VAD, self).__init__(name=name, **kwargs)
self.frame=frame
self.embed = tf.keras.layers.Dense(dmodel)
self.cnn1 = tf.keras.layers.Conv1D(dmodel * 2, 3, padding='causal', activation='relu')
self.dense1 = tf.keras.layers.Conv1D(dmodel, 1, padding='causal', activation='relu')
self.cnn2 = tf.keras.layers.Conv1D(dmodel * 2, 3, padding='causal', activation='relu')
self.dense2 = tf.keras.layers.Dense(dmodel, activation='relu')
self.dense3 = tf.keras.layers.Dense(dmodel, activation='relu')
self.fc = tf.keras.layers.Dense(1)
self.fc3 = tf.keras.layers.Dense(frame, name='audio_voice_mask')
def _build(self):
fake = tf.random.uniform([1, 80, self.frame])
self(fake)
def call(self,
inputs,
training=True,
**kwargs):
outputs = self.embed(inputs, training=training)
outputs = self.dense1(outputs, training=training)
outputs = self.cnn1(outputs, training=training)
outputs = self.dense2(outputs, training=training)
outputs = self.cnn2(outputs, training=training)
outputs = self.dense3(outputs, training=training)
output1 = self.fc(outputs)
output3 = self.fc3(outputs)
output4 = inputs * output3
return output1, output4
def set_inferenc_func(self):
@tf.function(input_signature=[
tf.TensorSpec([None, None, self.frame], dtype=tf.float32),
])
def inference( inputs):
training=False
outputs = self.embed(inputs, training=training)
outputs = self.dense1(outputs, training=training)
outputs = self.cnn1(outputs, training=training)
outputs = self.dense2(outputs, training=training)
outputs = self.cnn2(outputs, training=training)
outputs = self.dense3(outputs, training=training)
output1 = self.fc(outputs)
return output1
self.inference=inference
class CNN_Offline_VAD(tf.keras.Model):
def __init__(self,
dmodel: int,
frame: int,
name="cnn_offline_vad",
**kwargs):
super(CNN_Offline_VAD, self).__init__(name=name, **kwargs)
self.embed = tf.keras.layers.Dense(dmodel)
self.cnn1 = tf.keras.layers.Conv1D(dmodel, 5, padding='same', activation='relu')
self.dense1 = tf.keras.layers.Dense(dmodel, activation='relu')
self.cnn2 = tf.keras.layers.Conv1D(dmodel, 5, padding='same', activation='relu', dilation_rate=2)
self.cnn3 = tf.keras.layers.Conv1D(dmodel, 5, padding='same', activation='relu', dilation_rate=4)
self.cnn4 = tf.keras.layers.Conv1D(dmodel, 5, padding='same', activation='relu', dilation_rate=8)
self.dense2 = tf.keras.layers.Dense(dmodel, activation='relu')
self.fc = tf.keras.layers.Dense(1)
self.frame=frame
self.fc3 = tf.keras.layers.Dense(frame, name='audio_voice_mask')
def _build(self):
fake = tf.random.uniform([1, 80, self.frame])
self(fake)
def call(self,
inputs,
training=False,
**kwargs):
outputs = self.embed(inputs, training=training)
outputs = self.dense1(outputs)
outputs = self.cnn1(outputs, training=training)
outputs = self.cnn2(outputs, training=training)
outputs = self.cnn3(outputs, training=training)
outputs = self.cnn4(outputs, training=training)
outputs = self.dense2(outputs, training=training)
output1 = self.fc(outputs)
output3 = self.fc3(outputs)
output4 = inputs * output3
return output1, output4
def set_inference_func(self):
@tf.function(input_signature=[
tf.TensorSpec([None, None, self.frame], dtype=tf.float32), # features
])
def infrence(inputs,):
training = False
outputs = self.embed(inputs, training=training)
outputs = self.dense1(outputs)
outputs = self.cnn1(outputs, training=training)
outputs = self.cnn2(outputs, training=training)
outputs = self.cnn3(outputs, training=training)
outputs = self.cnn4(outputs, training=training)
outputs = self.dense2(outputs, training=training)
outputs = self.fc(outputs)
return outputs
self.inference=infrence | 40.534483 | 105 | 0.611655 | 535 | 4,702 | 5.295327 | 0.147664 | 0.108719 | 0.170491 | 0.200141 | 0.893399 | 0.884575 | 0.884575 | 0.855277 | 0.846806 | 0.831274 | 0 | 0.024107 | 0.267758 | 4,702 | 116 | 106 | 40.534483 | 0.798722 | 0.004892 | 0 | 0.73 | 0 | 0 | 0.02972 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.01 | 0 | 0.17 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
6b037fcc7e47d162ffeacd197c4600398dfce165 | 23,634 | py | Python | scripts/achived/post_plotting_standard_logistic.py | nmningmei/metacognition | 734082e247cc7fc9d277563e2676e10692617a3f | [
"MIT"
] | 3 | 2019-07-09T15:37:46.000Z | 2019-07-17T16:28:02.000Z | scripts/achived/post_plotting_standard_logistic.py | nmningmei/metacognition | 734082e247cc7fc9d277563e2676e10692617a3f | [
"MIT"
] | null | null | null | scripts/achived/post_plotting_standard_logistic.py | nmningmei/metacognition | 734082e247cc7fc9d277563e2676e10692617a3f | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Fri Sep 14 12:46:24 2018
@author: nmei
"""
import os
working_dir = ''
import pandas as pd
pd.options.mode.chained_assignment = None
import seaborn as sns
import numpy as np
sns.set_style('whitegrid')
sns.set_context('poster')
saving_dir = '../figures/'
def post_processing(df):
feature_names = [name for name in df.columns if 'coef' in name]
feature_name_wk = feature_names[1:]
working_df = df[feature_name_wk]
for name in feature_name_wk:
working_df[name] = working_df[name].apply(np.exp)
new_col_names = {name:name[:-5] for name in feature_name_wk}
working_df['model'] = 'logistic'
working_df['window'] = df['window']
working_df = working_df.rename(new_col_names,axis='columns')
df_plot = pd.melt(working_df,id_vars = ['model','window'],
value_vars = new_col_names.values())
df_plot.columns = ['Model','Window','Coefficients','Odd Ratio']
return df_plot
"""
Take the exponential of each of the coefficients to generate the odds ratios.
This tells you how a 1 unit increase or decrease in a variable affects the odds of being high POS.
"""
if __name__ == '__main__':
pos = pd.read_csv('../results/pos_logistic_statsmodel_6_features.csv')
att = pd.read_csv('../results/att_logistic_statsmodel_6_features.csv')
df = pos.copy()
df_plot = post_processing(df)
for n in [1,2,3]:
for name in [
'correct',
'awareness',
'confidence',
'RT_correct',
'RT_awareness',
'RT_confidence']:
std = df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].std()['Odd Ratio']
sqrt = len(df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)])
print('win {},{},{:.2f} {:.2f}'.format(n,name,
df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].mean()['Odd Ratio'],
std/sqrt))
g = sns.factorplot(x = 'Window',
y = 'Odd Ratio',
hue = 'Coefficients',
hue_order = [
'correct',
'awareness',
'confidence',
'RT_correct',
'RT_awareness',
'RT_confidence'],
# palette = 'RdBu',
data = df_plot,
aspect = 3,
dodge = 0.1)
(g.set_axis_labels('Trials look back',
'Odd Ratio')
.set_titles('{row_name}')
.fig.suptitle('Probability of Success\nLogistic Regression by all 6 as Features',
y = 1.08,
x = 0.45,))
g.savefig(os.path.join(saving_dir,'Probability of success logistic_regression_6_features.png'),
dpi = 500, bbox_inches = 'tight')
df = att.copy()
df_plot = post_processing(df)
for n in [1,2,3]:
for name in [
'correct',
'awareness',
'confidence',
'RT_correct',
'RT_awareness',
'RT_confidence']:
std = df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].std()['Odd Ratio']
sqrt = len(df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)])
print('win {},{},{:.2f} {:.2f}'.format(n,name,
df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].mean()['Odd Ratio'],
std/sqrt))
g = sns.factorplot(x = 'Window',
y = 'Odd Ratio',
hue = 'Coefficients',
hue_order = [
'correct',
'awareness',
'confidence',
'RT_correct',
'RT_awareness',
'RT_confidence'],
data = df_plot,
# palette = 'RdBu',
aspect = 3,
dodge = 0.1)
(g.set_axis_labels('Trials look back',
'Odd Ratio')
.set_titles('{row_name}')
.fig.suptitle('Attention\nLogistic Regression by all 6 as Features',
y = 1.08,
x = 0.45,))
g.savefig(os.path.join(saving_dir,'Attention logistic_regression_6_features.png'),
dpi = 500, bbox_inches = 'tight')
################### 3 judgement features #########################################
pos = pd.read_csv('../results/pos_logistic_statsmodel_3_1_features.csv')
att = pd.read_csv('../results/att_logistic_statsmodel_3_1_features.csv')
df = pos.copy()
df_plot = post_processing(df)
for n in [1,2,3]:
for name in [
'correct',
'awareness',
'confidence',
]:
std = df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].std()['Odd Ratio']
sqrt = len(df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)])
print('win {},{},{:.2f} {:.2f}'.format(n,name,
df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].mean()['Odd Ratio'],
std/sqrt))
g = sns.factorplot(x = 'Window',
y = 'Odd Ratio',
hue = 'Coefficients',
hue_order = [
'correct',
'awareness',
'confidence',
],
data = df_plot,
# palette = 'RdBu',
aspect = 3,
dodge = 0.1)
(g.set_axis_labels('Trials look back',
'Odd Ratio')
.set_titles('{row_name}')
.fig.suptitle('Probability of Success\nLogistic Regression by correct, awareness, confidence as Features',
y = 1.08,
x = 0.45,))
g.savefig(os.path.join(saving_dir,'Probability of success logistic_regression_3_1_features.png'),
dpi = 500, bbox_inches = 'tight')
df = att.copy()
df_plot = post_processing(df)
for n in [1,2,3]:
for name in [
'correct',
'awareness',
'confidence',
]:
std = df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].std()['Odd Ratio']
sqrt = len(df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)])
print('win {},{},{:.2f} {:.2f}'.format(n,name,
df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].mean()['Odd Ratio'],
std/sqrt))
g = sns.factorplot(x = 'Window',
y = 'Odd Ratio',
hue = 'Coefficients',
hue_order = [
'correct',
'awareness',
'confidence',
],
data = df_plot,
# palette = 'RdBu',
aspect = 3,
dodge = 0.1)
(g.set_axis_labels('Trials look back',
'Odd Ratio')
.set_titles('{row_name}')
.fig.suptitle('Attention\nLogistic Regression by correct, awareness, confidence as Features',
y = 1.08,
x = 0.45,))
g.savefig(os.path.join(saving_dir,'Attention logistic_regression_3_1_features.png'),
dpi = 500, bbox_inches = 'tight')
############################# RT as features #################################################
pos = pd.read_csv('../results/pos_logistic_statsmodel_RT_features.csv')
att = pd.read_csv('../results/att_logistic_statsmodel_RT_features.csv')
df = pos.copy()
df_plot = post_processing(df)
for n in [1,2,3]:
for name in [
'RT_correct',
'RT_awareness',
'RT_confidence']:
std = df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].std()['Odd Ratio']
sqrt = len(df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)])
print('win {},{},{:.2f} {:.2f}'.format(n,name,
df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].mean()['Odd Ratio'],
std/sqrt))
g = sns.factorplot(x = 'Window',
y = 'Odd Ratio',
hue = 'Coefficients',
hue_order = [
'RT_correct',
'RT_awareness',
'RT_confidence'],
data = df_plot,
# palette = 'RdBu',
aspect = 3,
dodge = 0.1)
(g.set_axis_labels('Trials look back',
'Odd Ratio')
.set_titles('{row_name}')
.fig.suptitle('Probability of Success\nLogistic Regression by RT of correct, awareness, confidence Features',
y = 1.08,
x = 0.45,))
g.savefig(os.path.join(saving_dir,'Probability of success logistic_regression_RT_features.png'),
dpi = 500, bbox_inches = 'tight')
df = att.copy()
df_plot = post_processing(df)
for n in [1,2,3]:
for name in [
'RT_correct',
'RT_awareness',
'RT_confidence']:
std = df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].std()['Odd Ratio']
sqrt = len(df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)])
print('win {},{},{:.2f} {:.2f}'.format(n,name,
df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].mean()['Odd Ratio'],
std/sqrt))
g = sns.factorplot(x = 'Window',
y = 'Odd Ratio',
hue = 'Coefficients',
hue_order = [
'RT_correct',
'RT_awareness',
'RT_confidence'],
data = df_plot,
# palette = 'RdBu',
aspect = 3,
dodge = 0.1)
(g.set_axis_labels('Trials look back',
'Odd Ratio')
.set_titles('{row_name}')
.fig.suptitle('Attention\nLogistic Regression by RT of correct, awareness, confidence as Features',
y = 1.08,
x = 0.45,))
g.savefig(os.path.join(saving_dir,'Attention logistic_regression_RT_features.png'),
dpi = 500, bbox_inches = 'tight')
##########################################################################################################################################
pos = pd.read_csv('../results/pos_logistic_statsmodel_6_features.csv')
att = pd.read_csv('../results/att_logistic_statsmodel_6_features.csv')
df = pos.copy()
df_plot = post_processing(df)
df_plot = df_plot[(df_plot['Window']>0) & (df_plot['Window']<4)]
for n in [1,2,3]:
for name in [
'correct',
'awareness',
'confidence',
'RT_correct',
'RT_awareness',
'RT_confidence']:
std = df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].std()['Odd Ratio']
sqrt = len(df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)])
print('win {},{},{:.2f} {:.2f}'.format(n,name,
df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].mean()['Odd Ratio'],
std/sqrt))
g = sns.factorplot(x = 'Window',
y = 'Odd Ratio',
hue = 'Coefficients',
hue_order = [
'correct',
'awareness',
'confidence',
'RT_correct',
'RT_awareness',
'RT_confidence'],
data = df_plot,
# palette = 'RdBu',
aspect = 3,
dodge = 0.1)
(g.set_axis_labels('Trials look back',
'Odd Ratio')
.set_titles('{row_name}')
.fig.suptitle('Probability of Success\nLogistic Regression by all 6 as Features',
y = 1.08,
x = 0.45,))
g.savefig(os.path.join(saving_dir,'Probability of success logistic_regression_6_features (1,2,3).png'),
dpi = 500, bbox_inches = 'tight')
df = att.copy()
df_plot = post_processing(df)
df_plot = df_plot[(df_plot['Window']>0) & (df_plot['Window']<4)]
for n in [1,2,3]:
for name in [
'correct',
'awareness',
'confidence',
'RT_correct',
'RT_awareness',
'RT_confidence']:
std = df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].std()['Odd Ratio']
sqrt = len(df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)])
print('win {},{},{:.2f} {:.2f}'.format(n,name,
df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].mean()['Odd Ratio'],
std/sqrt))
g = sns.factorplot(x = 'Window',
y = 'Odd Ratio',
hue = 'Coefficients',
hue_order = [
'correct',
'awareness',
'confidence',
'RT_correct',
'RT_awareness',
'RT_confidence'],
data = df_plot,
# palette = 'RdBu',
aspect = 3,
dodge = 0.1)
(g.set_axis_labels('Trials look back',
'Odd Ratio')
.set_titles('{row_name}')
.fig.suptitle('Attention\nLogistic Regression by all 6 as Features',
y = 1.08,
x = 0.45,))
g.savefig(os.path.join(saving_dir,'Attention logistic_regression_6_features (1,2,3).png'),
dpi = 500, bbox_inches = 'tight')
################### 3 judgement features #########################################
pos = pd.read_csv('../results/pos_logistic_statsmodel_3_1_features.csv')
att = pd.read_csv('../results/att_logistic_statsmodel_3_1_features.csv')
df = pos.copy()
df_plot = post_processing(df)
df_plot = df_plot[(df_plot['Window']>0) & (df_plot['Window']<4)]
for n in [1,2,3]:
for name in [
'correct',
'awareness',
'confidence',
]:
std = df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].std()['Odd Ratio']
sqrt = len(df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)])
print('win {},{},{:.2f} {:.2f}'.format(n,name,
df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].mean()['Odd Ratio'],
std/sqrt))
g = sns.factorplot(x = 'Window',
y = 'Odd Ratio',
hue = 'Coefficients',
hue_order = [
'correct',
'awareness',
'confidence',
],
data = df_plot,
# palette = 'RdBu',
aspect = 3,
dodge = 0.1)
(g.set_axis_labels('Trials look back',
'Odd Ratio')
.set_titles('{row_name}')
.fig.suptitle('Probability of Success\nLogistic Regression by correct, awareness, confidence as Features',
y = 1.08,
x = 0.45,))
g.savefig(os.path.join(saving_dir,'Probability of success logistic_regression_3_1_features (1,2,3).png'),
dpi = 500, bbox_inches = 'tight')
df = att.copy()
df_plot = post_processing(df)
df_plot = df_plot[(df_plot['Window']>0) & (df_plot['Window']<4)]
for n in [1,2,3]:
for name in [
'correct',
'awareness',
'confidence',
]:
std = df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].std()['Odd Ratio']
sqrt = len(df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)])
print('win {},{},{:.2f} {:.2f}'.format(n,name,
df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].mean()['Odd Ratio'],
std/sqrt))
g = sns.factorplot(x = 'Window',
y = 'Odd Ratio',
hue = 'Coefficients',
hue_order = [
'correct',
'awareness',
'confidence',
],
data = df_plot,
# palette = 'RdBu',
aspect = 3,
dodge = 0.1)
(g.set_axis_labels('Trials look back',
'Odd Ratio')
.set_titles('{row_name}')
.fig.suptitle('Attention\nLogistic Regression by correct, awareness, confidence as Features',
y = 1.08,
x = 0.45,))
g.savefig(os.path.join(saving_dir,'Attention logistic_regression_3_1_features (1,2,3).png'),
dpi = 500, bbox_inches = 'tight')
############################# RT as features #################################################
pos = pd.read_csv('../results/pos_logistic_statsmodel_RT_features.csv')
att = pd.read_csv('../results/att_logistic_statsmodel_RT_features.csv')
df = pos.copy()
df_plot = post_processing(df)
df_plot = df_plot[(df_plot['Window']>0) & (df_plot['Window']<4)]
for n in [1,2,3]:
for name in [
'RT_correct',
'RT_awareness',
'RT_confidence']:
std = df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].std()['Odd Ratio']
sqrt = len(df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)])
print('win {},{},{:.2f} {:.2f}'.format(n,name,
df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].mean()['Odd Ratio'],
std/sqrt))
g = sns.factorplot(x = 'Window',
y = 'Odd Ratio',
hue = 'Coefficients',
hue_order = [
'RT_correct',
'RT_awareness',
'RT_confidence'],
data = df_plot,
# palette = 'RdBu',
aspect = 3,
dodge = 0.1)
(g.set_axis_labels('Trials look back',
'Odd Ratio')
.set_titles('{row_name}')
.fig.suptitle('Probability of Success\nLogistic Regression by RT of correct, awareness, confidence Features',
y = 1.08,
x = 0.45,))
g.savefig(os.path.join(saving_dir,'Probability of success logistic_regression_RT_features (1,2,3).png'),
dpi = 500, bbox_inches = 'tight')
df = att.copy()
df_plot = post_processing(df)
df_plot = df_plot[(df_plot['Window']>0) & (df_plot['Window']<4)]
for n in [1,2,3]:
for name in [
'RT_correct',
'RT_awareness',
'RT_confidence']:
std = df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].std()['Odd Ratio']
sqrt = len(df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)])
print('win {},{},{:.2f} {:.2f}'.format(n,name,
df_plot[(df_plot['Coefficients'] == name) & (df_plot['Window'] == n)].mean()['Odd Ratio'],
std/sqrt))
g = sns.factorplot(x = 'Window',
y = 'Odd Ratio',
hue = 'Coefficients',
hue_order = [
'RT_correct',
'RT_awareness',
'RT_confidence'],
data = df_plot,
# palette = 'RdBu',
aspect = 3,
dodge = 0.1)
(g.set_axis_labels('Trials look back',
'Odd Ratio')
.set_titles('{row_name}')
.fig.suptitle('Attention\nLogistic Regression by RT of correct, awareness, confidence as Features',
y = 1.08,
x = 0.45,))
g.savefig(os.path.join(saving_dir,'Attention logistic_regression_RT_features (1,2,3).png'),
dpi = 500, bbox_inches = 'tight')
| 42.737794 | 142 | 0.412034 | 2,220 | 23,634 | 4.185135 | 0.072973 | 0.10268 | 0.04133 | 0.061995 | 0.918631 | 0.918631 | 0.918631 | 0.918631 | 0.911958 | 0.911958 | 0 | 0.021314 | 0.44216 | 23,634 | 552 | 143 | 42.815217 | 0.683404 | 0.027503 | 0 | 0.917051 | 0 | 0 | 0.236589 | 0.044638 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002304 | false | 0 | 0.009217 | 0 | 0.013825 | 0.02765 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
6b3229f5cbaab247e3f10131a91ffc9ce1e8b187 | 55 | py | Python | src/puzzlebag_to_h5/__init__.py | willdickson/puzzleboxes | 964792f74d7a5b5fc8cce4fc659ebfe1859a7eff | [
"MIT"
] | null | null | null | src/puzzlebag_to_h5/__init__.py | willdickson/puzzleboxes | 964792f74d7a5b5fc8cce4fc659ebfe1859a7eff | [
"MIT"
] | null | null | null | src/puzzlebag_to_h5/__init__.py | willdickson/puzzleboxes | 964792f74d7a5b5fc8cce4fc659ebfe1859a7eff | [
"MIT"
] | null | null | null | import puzzlebag_to_h5
import puzzlebag_to_h5_multiobj
| 18.333333 | 31 | 0.927273 | 9 | 55 | 5.111111 | 0.555556 | 0.652174 | 0.73913 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.072727 | 55 | 2 | 32 | 27.5 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
6b38e82b9dcbfea6f7409e96da7d551f9270789a | 69,644 | py | Python | ambari-server/src/test/python/custom_actions/TestInstallPackages.py | Arenadata/ambari | 4628267441121779113d98936dcdf5d9be60553c | [
"Apache-2.0"
] | 5 | 2017-07-20T11:15:10.000Z | 2020-04-16T15:42:55.000Z | ambari-server/src/test/python/custom_actions/TestInstallPackages.py | Arenadata/ambari | 4628267441121779113d98936dcdf5d9be60553c | [
"Apache-2.0"
] | 8 | 2020-06-18T17:31:19.000Z | 2022-03-02T08:32:03.000Z | ambari-server/src/test/python/custom_actions/TestInstallPackages.py | Arenadata/ambari | 4628267441121779113d98936dcdf5d9be60553c | [
"Apache-2.0"
] | 12 | 2017-05-17T09:48:01.000Z | 2021-08-05T19:01:25.000Z | #!/usr/bin/env python
'''
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
'''
import json
import os
from ambari_commons import subprocess32
import select
from mock.mock import patch
from mock.mock import MagicMock
from stacks.utils.RMFTestCase import *
from mock.mock import patch, MagicMock
from resource_management.core.base import Resource
from resource_management.core.exceptions import Fail
from resource_management.libraries.script import Script
OLD_VERSION_STUB = '2.1.0.0-400'
VERSION_STUB_WITHOUT_BUILD_NUMBER = '2.2.0.1'
VERSION_STUB = '2.2.0.1-885'
from only_for_platform import get_platform, not_for_platform, only_for_platform, os_distro_value, PLATFORM_WINDOWS
if get_platform() != PLATFORM_WINDOWS:
import pty
subproc_mock = MagicMock()
subproc_mock.return_value = MagicMock()
subproc_stdout = MagicMock()
subproc_mock.return_value.stdout = subproc_stdout
@not_for_platform(PLATFORM_WINDOWS)
@patch.object(os, "read", new=MagicMock(return_value=None))
@patch.object(select, "select", new=MagicMock(return_value=([subproc_stdout], None, None)))
@patch("pty.openpty", new = MagicMock(return_value=(1,5)))
@patch.object(os, "close", new=MagicMock())
@patch.object(subprocess32, "Popen", new=subproc_mock)
class TestInstallPackages(RMFTestCase):
def setUp(self):
self.maxDiff = None
@staticmethod
def _add_packages(*args):
return [
["pkg1", "1.0", "repo"],
["pkg2", "2.0", "repo2"]
]
@staticmethod
def _add_packages_available(*args):
return [
["hadoop_2_2_0_1_885", "1.0", "HDP-2.2"],
["hadooplzo_2_2_0_1_885", "1.0", "HDP-2.2"],
["hadoop_2_2_0_1_885-libhdfs", "1.0", "HDP-2.2"]
]
@staticmethod
def _add_packages_lookUpYum(*args):
return TestInstallPackages._add_packages_available(*args)
def test_get_installed_package_version(self):
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "checked_call") as checked_call_mock:
checked_call_mock.return_value = 0, "3.1.0.0-54.el7.centos"
expected_version = provider.get_installed_package_version("test")
self.assertEquals("3.1.0.0-54", expected_version)
@patch("resource_management.libraries.functions.list_ambari_managed_repos.list_ambari_managed_repos")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_normal_flow_rhel(self,
subprocess_with_timeout,
write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock,
put_structured_out_mock,
get_provider, list_ambari_managed_repos_mock):
stack_versions_mock.side_effect = [
[], # before installation attempt
[VERSION_STUB]
]
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_lookUpYum
get_provider.return_value = provider
list_ambari_managed_repos_mock.return_value=[]
repo_file_name = 'ambari-hdp-1'
use_repos = { 'HDP-UTILS-1.1.0.20': repo_file_name, 'HDP-2.2': repo_file_name }
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_file="install_packages_config.json",
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertResourceCalled('Repository', 'HDP-UTILS-1.1.0.20',
base_url=u'http://repo1/HDP/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP-UTILS', 'main'],
repo_template='[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=repo_file_name,
mirror_list=None,
append_to_file=False,
)
self.assertResourceCalled('Repository', 'HDP-2.2',
base_url=u'http://repo1/HDP/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP', 'main'],
repo_template='[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=repo_file_name,
mirror_list=None,
append_to_file=True,
)
self.assertResourceCalled('Package', 'hdp-select', action=["upgrade"], use_repos=use_repos, retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadoop_2_2_0_1_885', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy-devel', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'lzo', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadooplzo_2_2_0_1_885', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadoop_2_2_0_1_885-libhdfs', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'ambari-log4j', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertNoMoreResources()
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_no_repos(self,
subprocess_with_timeout,
write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock,
put_structured_out_mock, get_provider):
stack_versions_mock.side_effect = [
[], # before installation attempt
[VERSION_STUB]
]
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['repositoryFile']['repositories'] = []
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_available
get_provider.return_value = provider
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict = command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertResourceCalled('Package', 'hdp-select', action=["upgrade"], use_repos={}, retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', None, action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy-devel', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'lzo', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', None, action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', None, action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'ambari-log4j', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertNoMoreResources()
@patch("ambari_commons.os_check.OSCheck.is_suse_family")
@patch("resource_management.libraries.functions.list_ambari_managed_repos.list_ambari_managed_repos")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_normal_flow_sles(self, subprocess_with_timeout, write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock, put_structured_out_mock,
get_provider, list_ambari_managed_repos_mock, is_suse_family_mock):
is_suse_family_mock = True
Script.stack_version_from_distro_select = VERSION_STUB
stack_versions_mock.side_effect = [
[], # before installation attempt
[VERSION_STUB]
]
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_available
get_provider.return_value = provider
list_ambari_managed_repos_mock.return_value=[]
repo_file_name = 'ambari-hdp-1'
use_repos = { 'HDP-UTILS-1.1.0.20': repo_file_name, 'HDP-2.2': repo_file_name }
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_file="install_packages_config.json",
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Suse', '11', 'SP1'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertResourceCalled('Repository', 'HDP-UTILS-1.1.0.20',
base_url=u'http://repo1/HDP/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP-UTILS', 'main'],
repo_template='[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=repo_file_name,
mirror_list=None,
append_to_file=False,
)
self.assertResourceCalled('Repository', 'HDP-2.2',
base_url=u'http://repo1/HDP/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP', 'main'],
repo_template=u'[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=repo_file_name,
mirror_list=None,
append_to_file=True,
)
self.assertResourceCalled('Package', 'hdp-select', action=["upgrade"], use_repos=use_repos, retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadoop_2_2_0_1_885', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy-devel', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'lzo', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadooplzo_2_2_0_1_885', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadoop_2_2_0_1_885-libhdfs', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'ambari-log4j', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertNoMoreResources()
@patch("resource_management.libraries.functions.list_ambari_managed_repos.list_ambari_managed_repos")
@patch("ambari_commons.os_check.OSCheck.is_redhat_family")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_exclude_existing_repo(self, subprocess_with_timeout, write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock,
get_provider, put_structured_out_mock,
is_redhat_family_mock, list_ambari_managed_repos_mock):
stack_versions_mock.side_effect = [
[], # before installation attempt
[VERSION_STUB]
]
Script.stack_version_from_distro_select = VERSION_STUB
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_lookUpYum
get_provider.return_value = provider
list_ambari_managed_repos_mock.return_value=["HDP-UTILS-2.2.0.1-885"]
is_redhat_family_mock.return_value = True
repo_file_name = 'ambari-hdp-1'
use_repos = { 'HDP-UTILS-1.1.0.20': repo_file_name, 'HDP-2.2': repo_file_name }
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_file="install_packages_config.json",
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertResourceCalled('Repository', 'HDP-UTILS-1.1.0.20',
base_url=u'http://repo1/HDP/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP-UTILS', 'main'],
repo_template=u'[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=repo_file_name,
mirror_list=None,
append_to_file=False,
)
self.assertResourceCalled('Repository', 'HDP-2.2',
base_url='http://repo1/HDP/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP', 'main'],
repo_template=u'[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=repo_file_name,
mirror_list=None,
append_to_file=True,
)
self.assertResourceCalled('Package', 'hdp-select', action=["upgrade"], use_repos=use_repos, retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadoop_2_2_0_1_885', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy-devel', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'lzo', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadooplzo_2_2_0_1_885', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadoop_2_2_0_1_885-libhdfs', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'ambari-log4j', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertNoMoreResources()
_install_failed = False
@staticmethod
def _add_packages_with_fail():
arg = []
arg.append(["pkg1_2_2_0_1_885_pack", "1.0", "repo"])
arg.append(["pkg2_2_2_0_1_885_pack2", "2.0", "repo2"])
if TestInstallPackages._install_failed:
arg.append(["should_not_be_removed_pkg1", "1.0", "repo"])
arg.append(["hadoop_2_2_0_1_885fake_pkg", "1.0", "repo"])
arg.append(["snappy__2_2_0_1_885_fake_pkg", "3.0", "repo2"])
arg.append(["ubuntu-like-2-2-0-1-885-fake-pkg", "3.0", "repo2"])
arg.append(["should_not_be_removed_pkg2", "3.0", "repo2"])
return arg
@staticmethod
def _new_with_exception(cls, name, env=None, provider=None, **kwargs):
if (name != "snappy-devel"):
return Resource.__new__(cls, name, env, provider, **kwargs)
else:
TestInstallPackages._install_failed = True
raise Exception()
@patch("resource_management.libraries.functions.list_ambari_managed_repos.list_ambari_managed_repos")
@patch("ambari_commons.os_check.OSCheck.is_redhat_family")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.core.resources.packaging.Package.__new__")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_fail(self, subprocess_with_timeout, put_structured_out_mock, Package__mock, get_provider,
is_redhat_family_mock, list_ambari_managed_repos_mock):
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_with_fail
is_redhat_family_mock.return_value = True
list_ambari_managed_repos_mock.return_value = []
def side_effect(retcode):
TestInstallPackages._install_failed = True
raise Exception()
Package__mock.side_effect = side_effect
self.assertRaises(Fail, self.executeScript, "scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_file="install_packages_config.json",
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'))
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'repository_version_id': 1,
'package_installation_result': 'FAIL'})
self.assertResourceCalled('Repository', 'HDP-UTILS-1.1.0.20',
base_url=u'http://repo1/HDP/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP-UTILS', 'main'],
repo_template=u'[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=u'ambari-hdp-1',
mirror_list=None,
append_to_file=False,
)
self.assertResourceCalled('Repository', 'HDP-2.2',
base_url=u'http://repo1/HDP/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP', 'main'],
repo_template=u'[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=u'ambari-hdp-1',
mirror_list=None,
append_to_file=True,
)
self.assertNoMoreResources()
TestInstallPackages._install_failed = False
@patch("ambari_commons.os_check.OSCheck.is_suse_family")
@patch("resource_management.core.resources.packaging.Package")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_format_package_name(self, subprocess_with_timeout, write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock,
get_provider, put_structured_out_mock,
package_mock, is_suse_family_mock):
Script.stack_version_from_distro_select = VERSION_STUB
stack_versions_mock.side_effect = [
[], # before installation attempt
[VERSION_STUB]
]
read_actual_version_from_history_file_mock.return_value = VERSION_STUB
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_available
get_provider.return_value = provider
is_suse_family_mock.return_value = True
repo_file_name = 'ambari-hdp-1'
use_repos = { 'HDP-UTILS-1.1.0.20': repo_file_name, 'HDP-2.2': repo_file_name }
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_file="install_packages_config.json",
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Suse', '11', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertResourceCalled('Repository', 'HDP-UTILS-1.1.0.20',
base_url=u'http://repo1/HDP/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP-UTILS', 'main'],
repo_template=u'[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=repo_file_name,
mirror_list=None,
append_to_file=False,
)
self.assertResourceCalled('Repository', 'HDP-2.2',
base_url=u'http://repo1/HDP/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP', 'main'],
repo_template=u'[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=repo_file_name,
mirror_list=None,
append_to_file=True,
)
self.assertResourceCalled('Package', 'hdp-select', action=["upgrade"], use_repos=use_repos, retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadoop_2_2_0_1_885', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy-devel', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'lzo', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadooplzo_2_2_0_1_885', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadoop_2_2_0_1_885-libhdfs', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'ambari-log4j', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertNoMoreResources()
@patch("ambari_commons.os_check.OSCheck.is_suse_family")
@patch("resource_management.core.resources.packaging.Package")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_format_package_name_via_repositoryFile(self, subprocess_with_timeout, write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock,
get_provider, put_structured_out_mock,
package_mock, is_suse_family_mock):
Script.stack_version_from_distro_select = VERSION_STUB
stack_versions_mock.side_effect = [
[], # before installation attempt
[VERSION_STUB]
]
read_actual_version_from_history_file_mock.return_value = VERSION_STUB
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_available
get_provider.return_value = provider
is_suse_family_mock.return_value = True
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_repository_file.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['repositoryFile']['repoVersion'] = '2.2.0.1-990'
repo_file_name = 'ambari-hdp-4'
use_repos = { 'HDP-UTILS-1.1.0.20-repo-4': repo_file_name, 'HDP-2.2-repo-4': repo_file_name }
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Suse', '11', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 4,
'actual_version': VERSION_STUB})
self.assertResourceCalled('Repository', 'HDP-UTILS-1.1.0.20-repo-4',
base_url=u'http://repo1/HDP-UTILS/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP-UTILS', 'main'],
repo_template=u'[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=repo_file_name,
mirror_list=None,
append_to_file=False,
)
self.assertResourceCalled('Repository', 'HDP-2.2-repo-4',
base_url=u'http://repo1/HDP/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP', 'main'],
repo_template=u'[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=repo_file_name,
mirror_list=None,
append_to_file=True,
)
self.assertResourceCalled('Package', 'hdp-select', action=["upgrade"], use_repos=use_repos, retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadoop_2_2_0_1_885', action=["upgrade"], retry_count=5,
retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy-devel', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'lzo', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadooplzo_2_2_0_1_885', action=["upgrade"], retry_count=5,
retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadoop_2_2_0_1_885-libhdfs', action=["upgrade"], retry_count=5,
retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'ambari-log4j', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertNoMoreResources()
@patch("resource_management.libraries.functions.list_ambari_managed_repos.list_ambari_managed_repos")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_version_reporting__build_number_defined(self, subprocess_with_timeout,
write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock,
put_structured_out_mock, get_provider, list_ambari_managed_repos_mock):
stack_versions_mock.side_effect = [
[OLD_VERSION_STUB], # before installation attempt
[OLD_VERSION_STUB, VERSION_STUB]
]
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['repositoryFile']['repoVersion'] = VERSION_STUB
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_available
get_provider.return_value = provider
list_ambari_managed_repos_mock.return_value = []
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertTrue(write_actual_version_to_history_file_mock.called)
self.assertEquals(write_actual_version_to_history_file_mock.call_args[0], (VERSION_STUB_WITHOUT_BUILD_NUMBER, VERSION_STUB))
stack_versions_mock.reset_mock()
write_actual_version_to_history_file_mock.reset_mock()
put_structured_out_mock.reset_mock()
# Test retrying install again
stack_versions_mock.side_effect = [
[OLD_VERSION_STUB, VERSION_STUB],
[OLD_VERSION_STUB, VERSION_STUB]
]
read_actual_version_from_history_file_mock.return_value = VERSION_STUB
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['repositoryFile']['repoVersion'] = VERSION_STUB
lookup_packages.side_effect = TestInstallPackages._add_packages_available
list_ambari_managed_repos_mock.return_value = []
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertFalse(write_actual_version_to_history_file_mock.called)
@patch("resource_management.libraries.functions.list_ambari_managed_repos.list_ambari_managed_repos")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("os.path.exists")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_version_reporting__build_number_not_defined_stack_root_present__no_components_installed(self,
subprocess_with_timeout,
exists_mock,
write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock,
put_structured_out_mock, get_provider, list_ambari_managed_repos_mock):
exists_mock.return_value = True
stack_versions_mock.side_effect = [
[], # before installation attempt
[]
]
read_actual_version_from_history_file_mock.return_value = None
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['roleParams']['repository_version'] = VERSION_STUB_WITHOUT_BUILD_NUMBER
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_available
get_provider.return_value = provider
list_ambari_managed_repos_mock.return_value = []
try:
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.fail("Should throw exception")
except Fail:
pass # Expected
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args_list[-1][0][0],
{ 'actual_version': '2.2.0.1-885',
'package_installation_result': 'FAIL',
'repository_version_id': 1})
self.assertFalse(write_actual_version_to_history_file_mock.called)
stack_versions_mock.reset_mock()
write_actual_version_to_history_file_mock.reset_mock()
put_structured_out_mock.reset_mock()
@patch("resource_management.libraries.functions.list_ambari_managed_repos.list_ambari_managed_repos")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("os.path.exists")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_version_reporting__build_number_not_defined_stack_root_absent(self,
subprocess_with_timeout,
exists_mock,
write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock,
put_structured_out_mock, get_provider, list_ambari_managed_repos_mock):
exists_mock.return_value = False
stack_versions_mock.side_effect = [
[], # before installation attempt
[]
]
read_actual_version_from_history_file_mock.return_value = None
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['repositoryFile']['repoVersion'] = VERSION_STUB_WITHOUT_BUILD_NUMBER
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages
get_provider.return_value = provider
list_ambari_managed_repos_mock.return_value = []
try:
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.fail("Should throw exception")
except Fail:
pass # Expected
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args_list[-1][0][0],
{'package_installation_result': 'FAIL',
'repository_version_id': 1})
self.assertFalse(write_actual_version_to_history_file_mock.called)
stack_versions_mock.reset_mock()
write_actual_version_to_history_file_mock.reset_mock()
put_structured_out_mock.reset_mock()
# Test retrying install again (correct build number, provided by other nodes, is now received from server)
stack_versions_mock.side_effect = [
[], # before installation attempt
[]
]
read_actual_version_from_history_file_mock.return_value = None
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['repositoryFile']['repoVersion'] = VERSION_STUB
lookup_packages.side_effect = TestInstallPackages._add_packages_available
list_ambari_managed_repos_mock.return_value = []
try:
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.fail("Should throw exception")
except Fail:
pass # Expected
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'FAIL',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertFalse(write_actual_version_to_history_file_mock.called)
@patch("resource_management.libraries.functions.list_ambari_managed_repos.list_ambari_managed_repos")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_version_reporting__build_number_not_defined_stack_root_present(self,
subprocess_with_timeout,
write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock,
put_structured_out_mock, get_provider, list_ambari_managed_repos_mock):
stack_versions_mock.side_effect = [
[OLD_VERSION_STUB], # before installation attempt
[OLD_VERSION_STUB, VERSION_STUB]
]
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['roleParams']['repository_version'] = VERSION_STUB_WITHOUT_BUILD_NUMBER
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_available
get_provider.return_value = provider
list_ambari_managed_repos_mock.return_value = []
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertTrue(write_actual_version_to_history_file_mock.called)
self.assertEquals(write_actual_version_to_history_file_mock.call_args[0], (VERSION_STUB_WITHOUT_BUILD_NUMBER, VERSION_STUB))
stack_versions_mock.reset_mock()
write_actual_version_to_history_file_mock.reset_mock()
put_structured_out_mock.reset_mock()
# Test retrying install again
stack_versions_mock.side_effect = [
[OLD_VERSION_STUB, VERSION_STUB],
[OLD_VERSION_STUB, VERSION_STUB]
]
read_actual_version_from_history_file_mock.return_value = VERSION_STUB
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['repositoryFile']['repoVersion'] = VERSION_STUB_WITHOUT_BUILD_NUMBER
lookup_packages.side_effect = TestInstallPackages._add_packages_available
list_ambari_managed_repos_mock.return_value = []
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertFalse(write_actual_version_to_history_file_mock.called)
@patch("resource_management.libraries.functions.list_ambari_managed_repos.list_ambari_managed_repos")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_version_reporting__wrong_build_number_specified_stack_root_present(self,
subprocess_with_timeout,
write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock,
put_structured_out_mock, get_provider, list_ambari_managed_repos_mock):
stack_versions_mock.side_effect = [
[OLD_VERSION_STUB], # before installation attempt
[OLD_VERSION_STUB, VERSION_STUB]
]
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['repositoryFile']['repoVersion'] = '2.2.0.1-500' # User specified wrong build number
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_available
get_provider.return_value = provider
list_ambari_managed_repos_mock.return_value = []
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertTrue(write_actual_version_to_history_file_mock.called)
self.assertEquals(write_actual_version_to_history_file_mock.call_args[0], ('2.2.0.1', VERSION_STUB))
stack_versions_mock.reset_mock()
write_actual_version_to_history_file_mock.reset_mock()
put_structured_out_mock.reset_mock()
# Test retrying install again
stack_versions_mock.side_effect = [
[OLD_VERSION_STUB, VERSION_STUB],
[OLD_VERSION_STUB, VERSION_STUB]
]
read_actual_version_from_history_file_mock.return_value = VERSION_STUB
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['roleParams']['repository_version'] = '2.2.0.1-500' # User specified wrong build number
lookup_packages.side_effect = TestInstallPackages._add_packages_available
list_ambari_managed_repos_mock.return_value = []
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertFalse(write_actual_version_to_history_file_mock.called)
@patch("resource_management.libraries.functions.list_ambari_managed_repos.list_ambari_managed_repos")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("os.path.exists")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_version_reporting__wrong_build_number_specified_stack_root_absent(self,
subprocess_with_timeout,
exists_mock,
write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock,
put_structured_out_mock, get_provider, list_ambari_managed_repos_mock):
exists_mock.return_value = False
stack_versions_mock.side_effect = [
[], # before installation attempt
[]
]
read_actual_version_from_history_file_mock.return_value = None
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['repositoryFile']['repoVersion'] = VERSION_STUB_WITHOUT_BUILD_NUMBER
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_available
get_provider.return_value = provider
list_ambari_managed_repos_mock.return_value = []
try:
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.fail("Should throw exception")
except Fail:
pass # Expected
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args_list[-1][0][0],
{'package_installation_result': 'FAIL',
'repository_version_id': 1})
self.assertFalse(write_actual_version_to_history_file_mock.called)
stack_versions_mock.reset_mock()
write_actual_version_to_history_file_mock.reset_mock()
put_structured_out_mock.reset_mock()
# Test retrying install again (correct build number, provided by other nodes, is now received from server)
stack_versions_mock.side_effect = [
[], # before installation attempt
[]
]
read_actual_version_from_history_file_mock.return_value = None
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['roleParams']['repository_version'] = VERSION_STUB
lookup_packages.side_effect = TestInstallPackages._add_packages_available
list_ambari_managed_repos_mock.return_value = []
try:
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.fail("Should throw exception")
except Fail:
pass # Expected
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'FAIL',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertFalse(write_actual_version_to_history_file_mock.called)
@patch("resource_management.libraries.functions.list_ambari_managed_repos.list_ambari_managed_repos")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_version_reporting_with_repository_version(self,
subprocess_with_timeout,
write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock,
put_structured_out_mock, get_provider, list_ambari_managed_repos_mock):
stack_versions_mock.side_effect = [
[OLD_VERSION_STUB], # before installation attempt
[OLD_VERSION_STUB, VERSION_STUB]
]
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['roleParams']['repository_version'] = VERSION_STUB
command_json['roleParams']['repository_version_id'] = '2'
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_available
get_provider.return_value = provider
list_ambari_managed_repos_mock.return_value = []
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertTrue(write_actual_version_to_history_file_mock.called)
self.assertEquals(write_actual_version_to_history_file_mock.call_args[0], (VERSION_STUB_WITHOUT_BUILD_NUMBER, VERSION_STUB))
stack_versions_mock.reset_mock()
write_actual_version_to_history_file_mock.reset_mock()
put_structured_out_mock.reset_mock()
# Test retrying install again
stack_versions_mock.side_effect = [
[OLD_VERSION_STUB, VERSION_STUB],
[OLD_VERSION_STUB, VERSION_STUB]
]
read_actual_version_from_history_file_mock.return_value = VERSION_STUB
config_file = self.get_src_folder() + "/test/python/custom_actions/configs/install_packages_config.json"
with open(config_file, "r") as f:
command_json = json.load(f)
command_json['roleParams']['repository_version'] = VERSION_STUB
command_json['roleParams']['repository_version_id'] = '2'
lookup_packages.side_effect = TestInstallPackages._add_packages_available
list_ambari_managed_repos_mock.return_value = []
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_dict=command_json,
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 1,
'actual_version': VERSION_STUB})
self.assertFalse(write_actual_version_to_history_file_mock.called)
@patch("resource_management.libraries.functions.list_ambari_managed_repos.list_ambari_managed_repos")
@patch("resource_management.core.providers.get_provider")
@patch("resource_management.libraries.script.Script.put_structured_out")
@patch("resource_management.libraries.functions.stack_select.get_stack_versions")
@patch("resource_management.libraries.functions.repo_version_history.read_actual_version_from_history_file")
@patch("resource_management.libraries.functions.repo_version_history.write_actual_version_to_history_file")
@patch("ambari_commons.shell.subprocess_with_timeout")
def test_normal_flow_rhel_with_command_repo(self,
subprocess_with_timeout,
write_actual_version_to_history_file_mock,
read_actual_version_from_history_file_mock,
stack_versions_mock,
put_structured_out_mock,
get_provider,
list_ambari_managed_repos_mock):
stack_versions_mock.side_effect = [
[], # before installation attempt
[VERSION_STUB]
]
from resource_management.core.providers.package.yumrpm import YumProvider
provider = YumProvider(None)
with patch.object(provider, "_lookup_packages") as lookup_packages:
lookup_packages.side_effect = TestInstallPackages._add_packages_lookUpYum
get_provider.return_value = provider
list_ambari_managed_repos_mock.return_value=[]
repo_file_name = 'ambari-hdp-4'
use_repos = { 'HDP-UTILS-1.1.0.20-repo-4': repo_file_name, 'HDP-2.2-repo-4': repo_file_name }
self.executeScript("scripts/install_packages.py",
classname="InstallPackages",
command="actionexecute",
config_file="install_packages_repository_file.json",
target=RMFTestCase.TARGET_CUSTOM_ACTIONS,
os_type=('Redhat', '6.4', 'Final'),
)
self.assertTrue(put_structured_out_mock.called)
self.assertEquals(put_structured_out_mock.call_args[0][0],
{'package_installation_result': 'SUCCESS',
'repository_version_id': 4,
'actual_version': VERSION_STUB})
self.assertResourceCalled('Repository', 'HDP-UTILS-1.1.0.20-repo-4',
base_url=u'http://repo1/HDP-UTILS/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP-UTILS', 'main'],
repo_template='[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=repo_file_name,
mirror_list=None,
append_to_file=False,
)
self.assertResourceCalled('Repository', 'HDP-2.2-repo-4',
base_url=u'http://repo1/HDP/centos5/2.x/updates/2.2.0.0',
action=['create'],
components=[u'HDP', 'main'],
repo_template='[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0',
repo_file_name=repo_file_name,
mirror_list=None,
append_to_file=True,
)
self.assertResourceCalled('Package', 'hdp-select', action=["upgrade"], use_repos=use_repos, retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadoop_2_2_0_1_885', action=["upgrade"], retry_count=5,
retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'snappy-devel', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'lzo', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadooplzo_2_2_0_1_885', action=["upgrade"], retry_count=5,
retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'hadoop_2_2_0_1_885-libhdfs', action=["upgrade"], retry_count=5,
retry_on_repo_unavailability=False)
self.assertResourceCalled('Package', 'ambari-log4j', action=["upgrade"], retry_count=5, retry_on_repo_unavailability=False)
self.assertNoMoreResources()
| 57.843854 | 203 | 0.646043 | 7,567 | 69,644 | 5.552531 | 0.041232 | 0.033725 | 0.047625 | 0.052551 | 0.94157 | 0.93412 | 0.929122 | 0.9261 | 0.9251 | 0.921839 | 0 | 0.013816 | 0.255873 | 69,644 | 1,203 | 204 | 57.891937 | 0.796928 | 0.023836 | 0 | 0.845861 | 0 | 0.026641 | 0.264559 | 0.186322 | 0 | 0 | 0 | 0 | 0.132255 | 1 | 0.021884 | false | 0.004757 | 0.027593 | 0.002854 | 0.056137 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
6b3dd7353546eb450e53bdd113431906a7f34cb2 | 369 | py | Python | temboo/core/Library/KhanAcademy/Videos/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/KhanAcademy/Videos/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/KhanAcademy/Videos/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.KhanAcademy.Videos.GetVideoByReadableID import GetVideoByReadableID, GetVideoByReadableIDInputSet, GetVideoByReadableIDResultSet, GetVideoByReadableIDChoreographyExecution
from temboo.Library.KhanAcademy.Videos.GetVideoExercises import GetVideoExercises, GetVideoExercisesInputSet, GetVideoExercisesResultSet, GetVideoExercisesChoreographyExecution
| 123 | 191 | 0.924119 | 22 | 369 | 15.5 | 0.636364 | 0.058651 | 0.099707 | 0.164223 | 0.199413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03794 | 369 | 2 | 192 | 184.5 | 0.960563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
6b48b268a047a3a8cc7e47c5bcc031836accf2c1 | 31,880 | py | Python | picmodels/models/care_advisors/daily_metrics_models/models.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | picmodels/models/care_advisors/daily_metrics_models/models.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | picmodels/models/care_advisors/daily_metrics_models/models.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | from django.db import models
from picmodels.models.care_advisors import Navigators, NavMetricsLocation
from .services.create_update_delete import create_or_update_row_w_validated_params
from .services.create_update_delete import delete_row_w_validated_params
from .services.read import retrieve_metrics_data_by_staff_id
from .services.read import retrieve_metrics_data_by_staff_email
from .services.read import retrieve_metrics_data_by_staff_f_and_l_name
from .services.read import retrieve_metrics_data_by_staff_first_name
from .services.read import retrieve_metrics_data_by_staff_last_name
from .services.read import retrieve_metrics_data_by_staff_mpn
class MetricsSubmission(models.Model):
staff_member = models.ForeignKey(Navigators, on_delete=models.CASCADE)
location = models.ForeignKey(NavMetricsLocation, blank=True, null=True, on_delete=models.SET_NULL)
submission_date = models.DateField(blank=True, null=True)
county = models.CharField(max_length=1000, default="")
date_created = models.DateTimeField(blank=True, auto_now_add=True, null=True)
no_general_assis = models.IntegerField(default=0)
no_plan_usage_assis = models.IntegerField(default=0)
no_locating_provider_assis = models.IntegerField(default=0)
no_billing_assis = models.IntegerField(default=0)
no_enroll_apps_started = models.IntegerField(default=0)
no_enroll_qhp = models.IntegerField(default=0)
no_enroll_abe_chip = models.IntegerField(default=0)
no_enroll_shop = models.IntegerField(default=0)
no_referrals_agents_brokers = models.IntegerField(default=0)
no_referrals_ship_medicare = models.IntegerField(default=0)
no_referrals_other_assis_programs = models.IntegerField(default=0)
no_referrals_issuers = models.IntegerField(default=0)
no_referrals_doi = models.IntegerField(default=0)
no_mplace_tax_form_assis = models.IntegerField(default=0)
no_mplace_exempt_assis = models.IntegerField(default=0)
no_qhp_abe_appeals = models.IntegerField(default=0)
no_data_matching_mplace_issues = models.IntegerField(default=0)
no_sep_eligible = models.IntegerField(default=0)
no_employ_spons_cov_issues = models.IntegerField(default=0)
no_aptc_csr_assis = models.IntegerField(default=0)
cmplx_cases_mplace_issues = models.CharField(max_length=5000, blank=True, default="")
no_cps_consumers = models.IntegerField(default=0)
def return_values_dict(self):
valuesdict = {"no_general_assis": self.no_general_assis,
"no_plan_usage_assis": self.no_plan_usage_assis,
"no_locating_provider_assis": self.no_locating_provider_assis,
"no_billing_assis": self.no_billing_assis,
"no_enroll_apps_started": self.no_enroll_apps_started,
"no_enroll_qhp": self.no_enroll_qhp,
"no_enroll_abe_chip": self.no_enroll_abe_chip,
"no_enroll_shop": self.no_enroll_shop,
"no_referrals_agents_brokers": self.no_referrals_agents_brokers,
"no_referrals_ship_medicare": self.no_referrals_ship_medicare,
"no_referrals_other_assis_programs": self.no_referrals_other_assis_programs,
"no_referrals_issuers": self.no_referrals_issuers,
"no_referrals_doi": self.no_referrals_doi,
"no_mplace_tax_form_assis": self.no_mplace_tax_form_assis,
"no_mplace_exempt_assis": self.no_mplace_exempt_assis,
"no_qhp_abe_appeals": self.no_qhp_abe_appeals,
"no_data_matching_mplace_issues": self.no_data_matching_mplace_issues,
"no_sep_eligible": self.no_sep_eligible,
"no_employ_spons_cov_issues": self.no_employ_spons_cov_issues,
"no_aptc_csr_assis": self.no_aptc_csr_assis,
"cmplx_cases_mplace_issues": self.cmplx_cases_mplace_issues,
"no_cps_consumers": self.no_cps_consumers,
"Database ID": self.id,
"Staff Member ID": self.staff_member_id,
"Date Created": self.date_created.isoformat(),
"Submission Date": self.submission_date.isoformat(),
"County": self.county,
"Location": None,
"Plan Stats": [],
}
plan_stats = self.planstat_set.all()
if len(plan_stats):
plan_stats_list = []
for plan_stat in plan_stats:
plan_stats_list.append(plan_stat.return_values_dict())
valuesdict["Plan Stats"] = plan_stats_list
if self.location:
valuesdict["Location"] = self.location.return_values_dict()
return valuesdict
class Meta:
# maps model to the picmodels module
app_label = 'picmodels'
MetricsSubmission.create_or_update_row_w_validated_params = classmethod(create_or_update_row_w_validated_params)
MetricsSubmission.delete_row_w_validated_params = classmethod(delete_row_w_validated_params)
MetricsSubmission.retrieve_metrics_data_by_staff_id = classmethod(retrieve_metrics_data_by_staff_id)
MetricsSubmission.retrieve_metrics_data_by_staff_f_and_l_name = classmethod(retrieve_metrics_data_by_staff_f_and_l_name)
MetricsSubmission.retrieve_metrics_data_by_staff_first_name = classmethod(retrieve_metrics_data_by_staff_first_name)
MetricsSubmission.retrieve_metrics_data_by_staff_last_name = classmethod(retrieve_metrics_data_by_staff_last_name)
MetricsSubmission.retrieve_metrics_data_by_staff_email = classmethod(retrieve_metrics_data_by_staff_email)
MetricsSubmission.retrieve_metrics_data_by_staff_mpn = classmethod(retrieve_metrics_data_by_staff_mpn)
class PlanStat(models.Model):
#Why is using variables in addition to touplesis better? Error prevention and logic separation.
MISCELLANEOUS = "Miscellaneous"
HEALTH_ALLIANCE_MEDICAL_PLANS = 'Health Alliance Medical Plans, Inc.'
BLUE_CROSS_BLUE_SHIELD_OF_ILLINOIS = 'Blue Cross Blue Shield of Illinois'
HUMANA_HEALTH_PLAN = 'Humana Health Plan, Inc.'
CELTIC_INSURANCE_COMPANY = "Celtic Insurance Company"
CIGNA_HEALTHCARE_OF_ILLINOIS = 'Cigna HealthCare of Illinois, Inc.'
PREMERA_BLUE_CROSS_BLUE_SHIELD_OF_ALASKA = 'Premera Blue Cross Blue Shield of Alaska'
BLUE_CROSS_AND_BLUE_SHIELD_OF_ALABAMA = 'Blue Cross and Blue Shield of Alabama'
QUALCHOICE_LIFE_AND_HEALTH_INSURANCE_COMPANY = "QualChoice Life & Health Insurance Company, Inc."
USABLE_MUTUAL_INSURANCE_COMPANY = "USAble Mutual Insurance Company"
QCA_HEALTH_PLAN = "QCA Health Plan, Inc."
FLORIDA_HEALTH_CARE_PLAN = "Florida Health Care Plan, Inc."
MEDICA_INSURANCE_COMPANY = "Medica Insurance Company"
CARESOURCE_INDIANA = "CareSource Indiana, Inc."
BLUE_CROSS_AND_BLUE_SHIELD_OF_ARIZONA = "Blue Cross and Blue Shield of Arizona, Inc."
BLUE_CROSS_AND_BLUE_SHIELD_OF_FLORIDA = "Blue Cross and Blue Shield of Florida"
HEALTH_OPTIONS = "Health Options, Inc."
AETNA_LIFE_INSURANCE_COMPANY = "Aetna Life Insurance Company"
AETNA_HEALTH_INC_A_PA_CORP = "Aetna Health Inc. (a PA corp.)"
HIGHMARK_BCBSD = "Highmark BCBSD Inc."
HEALTH_NET_OF_ARIZONA = "Health Net of Arizona, Inc."
HEALTH_FIRST_COMMERCIAL_PLANS = 'Health First Commercial Plans, Inc.'
HUMANA_MEDICAL_PLAN = 'Humana Medical Plan, Inc.'
MOLINA_HEALTHCARE_OF_FLORIDA = "Molina Healthcare of Florida, Inc"
ALLIANT_HEALTH_PLANS = 'Alliant Health Plans'
BLUE_CROSS_BLUE_SHIELD_HEALTHCARE_PLAN_OF_GEORGIA = 'Blue Cross Blue Shield Healthcare Plan of Georgia, Inc.'
KAISER_FOUNDATION_HEALTH_PLAN_OF_GEORGIA = 'Kaiser Foundation Health Plan of Georgia'
AMBETTER_OF_PEACH_STATE = 'Ambetter of Peach State Inc.'
HUMANA_EMPLOYERS_HEALTH_PLAN_OF_GEORGIA = 'Humana Employers Health Plan of Georgia, Inc.'
WELLMARK_VALUE_HEALTH_PLAN = 'Wellmark Value Health Plan, Inc.'
CARESOURCE_KENTUCKY_CO = 'CareSource Kentucky Co.'
GUNDERSEN_HEALTH_PLAN = 'Gundersen Health Plan, Inc.'
WELLMARK_SYNERGY_HEALTH = 'Wellmark Synergy Health, Inc.'
ANTHEM_INS_COMPANIES_INC_ANTHEM_BCBS = 'Anthem Ins Companies Inc(Anthem BCBS)'
MDWISE_MARKETPLACE = 'MDwise Marketplace, Inc.'
HAWAII_MEDICAL_SERVICE_ASSOCIATION = 'Hawaii Medical Service Association'
KAISER_FOUNDATION_HEALTH_PLAN = 'Kaiser Foundation Health Plan, Inc.'
AETNA_HEALTH_OF_IOWA = 'Aetna Health of Iowa Inc.'
BLUECROSS_BLUESHIELD_KANSAS_SOLUTIONS = 'BlueCross BlueShield Kansas Solutions, Inc.'
BLUE_CROSS_AND_BLUE_SHIELD_OF_KANSAS_CITY = 'Blue Cross and Blue Shield of Kansas City'
ANTHEM_HEALTH_PLANS_OF_KY_ANTHEM_BCBS = 'Anthem Health Plans of KY(Anthem BCBS)'
HUMANA_HEALTH_BENEFIT_PLAN_OF_LOUISIANA = 'Humana Health Benefit Plan of Louisiana, Inc.'
HMO_LOUISIANA = 'HMO Louisiana, Inc.'
VANTAGE_HEALTH_PLAN = 'Vantage Health Plan, Inc.'
LOUISIANA_HEALTH_SERVICE_AND_INDEMNITY_COMPANY = 'Louisiana Health Service & Indemnity Company'
MAINE_COMMUNITY_HEALTH_OPTIONS = 'Maine Community Health Options'
ANTHEM_HEALTH_PLANS_OF_ME_ANTHEM_BCBS = 'Anthem Health Plans of ME(Anthem BCBS)'
HARVARD_PILGRIM_HEALTH_CARE = 'Harvard Pilgrim Health Care Inc.'
BLUE_CROSS_BLUE_SHIELD_OF_MICHIGAN_MUTUAL_INSURANCE_COMPANY = 'Blue Cross Blue Shield of Michigan Mutual Insurance Company'
MCLAREN_HEALTH_PLAN_COMMUNITY = 'McLaren Health Plan Community'
PRIORITY_HEALTH = 'Priority Health'
BLUE_CARE_NETWORK_OF_MICHIGAN = 'Blue Care Network of Michigan'
HEALTH_ALLIANCE_PLAN_HAP = 'Health Alliance Plan (HAP)'
MERIDIAN_HEALTH_PLAN_OF_MICHIGAN = 'Meridian Health Plan of Michigan, Inc.'
HUMANA_MEDICAL_PLAN_OF_MICHIGAN = 'Humana Medical Plan of Michigan, Inc.'
MOLINA_HEALTHCARE_OF_MICHIGAN = 'Molina Healthcare of Michigan, Inc.'
HUMANA_NSURANCE_COMPANY = 'Humana Insurance Company'
PHYSICIANS_HEALTH_PLAN = 'Physicians Health Plan'
HEALTHY_ALLIANCE_LIFE_CO_ANTHEM_BCBS = 'Healthy Alliance Life Co(Anthem BCBS)'
MEDICA_HEALTH_PLANS = 'Medica Health Plans'
CARESOURCE = 'CareSource'
MONTANA_HEALTH_COOPERATIVE = 'Montana Health Cooperative'
CIGNA_HEALTH_AND_LIFE_INSURANCE_COMPANY = 'Cigna Health and Life Insurance Company'
AMERIHEALTH_HMO = 'AmeriHealth HMO, Inc.'
TOTAL_HEALTH_CARE_USA = 'Total Health Care USA, Inc.'
NEW_MEXICO_HEALTH_CONNECTIONS = 'New Mexico Health Connections'
AMBETTER_OF_MAGNOLIA = 'Ambetter of Magnolia Inc.'
AULTCARE_INSURANCE_COMPANY = 'AultCare Insurance Company'
PACIFICSOURCE_HEALTH_PLANS = 'PacificSource Health Plans'
BLUE_CROSS_AND_BLUE_SHIELD_OF_MONTANA = 'Blue Cross and Blue Shield of Montana'
HORIZON_HEALTHCARE_SERVICES = 'Horizon Healthcare Services, Inc.'
AMERIHEALTH_INS_COMPANY_OF_NEW_JERSEY = 'AmeriHealth Ins Company of New Jersey'
MEDICAL_HEALTH_INSURING_CORP_OF_OHIO = 'Medical Health Insuring Corp. of Ohio'
BLUE_CROSS_BLUE_SHIELD_OF_NORTH_DAKOTA = 'Blue Cross Blue Shield of North Dakota'
BLUE_CROSS_AND_BLUE_SHIELD_OF_NC = 'Blue Cross and Blue Shield of NC'
CIGNA_HEALTHCARE_OF_NORTH_CAROLINA = 'Cigna HealthCare of North Carolina, Inc.'
SANFORD_HEALTH_PLAN = 'Sanford Health Plan'
GEISINGER_HEALTH_PLAN = 'Geisinger Health Plan'
HARVARD_PILGRIM_HEALTH_CARE_OF_NE = 'Harvard Pilgrim Health Care of NE'
MINUTEMAN_HEALTH = 'Minuteman Health, Inc'
MATTHEW_THORNTON_HLTH_PLAN_ANTHEM_BCBS = 'Matthew Thornton Hlth Plan(Anthem BCBS)'
COMMUNITY_INSURANCE_COMPANY_ANTHEM_BCBS = 'Community Insurance Company(Anthem BCBS)'
MOLINA_HEALTHCARE_OF_NEW_MEXICO = 'Molina Healthcare of New Mexico, Inc.'
CHRISTUS_HEALTH_PLAN = 'CHRISTUS Health Plan'
BLUE_CROSS_BLUE_SHIELD_OF_NEW_MEXICO = 'Blue Cross Blue Shield of New Mexico'
PROMINENCE_HEALTHFIRST = 'Prominence HealthFirst'
ROCKY_MOUNTAIN_HOSPITAL_AND_MEDICAL_SERVICE_INC_DBA_ANTHEM_BLUE_CROSS_AND_BLUE_SHIELD = 'Rocky Mountain Hospital and Medical Service, Inc., dba Anthem Blue Cross and Blue Shield'
HMO_COLORADO_INC_DBA_HMO_NEVADA = 'HMO Colorado, Inc., dba HMO Nevada'
HEALTH_PLAN_OF_NEVADA = 'Health Plan of Nevada, Inc.'
MOLINA_HEALTHCARE_OF_OHIO = 'Molina Healthcare of Ohio, Inc.'
BUCKEYE_COMMUNITY_HEALTH_PLAN = 'Buckeye Community Health Plan'
PREMIER_HEALTH_PLAN = 'Premier Health Plan, Inc.'
HUMANA_HEALTH_PLAN_OF_OHIO = 'Humana Health Plan of Ohio, Inc.'
PARAMOUNT_INSURANCE_COMPANY = 'Paramount Insurance Company'
CONSUMERS_LIFE_INSURANCE_COMPANY = 'Consumers Life Insurance Company'
SUMMA_INSURANCE_COMPANY = 'Summa Insurance Company, Inc.'
MODA_HEALTH_PLAN = 'Moda Health Plan, Inc.'
BRIDGESPAN_HEALTH_COMPANY = 'BridgeSpan Health Company'
BLUE_CROSS_BLUE_SHIELD_OF_OKLAHOMA = 'Blue Cross Blue Shield of Oklahoma'
KAISER_FOUNDATION_HEALTHPLAN_OF_THE_NW = 'Kaiser Foundation Healthplan of the NW'
ATRIO_HEALTH_PLANS = 'ATRIO Health Plans'
FIRST_PRIORITY_HEALTH = 'First Priority Health'
INDEPENDENCE_BLUE_CROSS_QCC_INS_CO = 'Independence Blue Cross (QCC Ins. Co.)'
KEYSTONE_HEALTH_PLAN_EAST = 'Keystone Health Plan East, Inc'
HIGHMARK_INC = 'Highmark Inc.'
HIGHMARK_HEALTH_INSURANCE_COMPANY = 'Highmark Health Insurance Company'
UPMC_HEALTH_OPTIONS = 'UPMC Health Options, Inc.'
BLUE_CROSS_AND_BLUE_SHIELD_OF_SOUTH_CAROLINA = 'Blue Cross and Blue Shield of South Carolina'
PROVIDENCE_HEALTH_PLAN = 'Providence Health Plan'
CAPITAL_ADVANTAGE_ASSURANCE_COMPANY = 'Capital Advantage Assurance Company'
AVERA_HEALTH_PLANS = 'Avera Health Plans, Inc.'
UNITY_HEALTH_PLANS_INSURANCE_CORPORATION = 'Unity Health Plans Insurance Corporation'
MERCYCARE_HMO = 'MercyCare HMO, Inc.'
BLUE_CROSS_BLUE_SHIELD_OF_TENNESSEE = 'Blue Cross Blue Shield of Tennessee'
MEDICA_HEALTH_PLANS_OF_WISCONSIN = 'Medica Health Plans of Wisconsin'
OPTIMA_HEALTH_PLAN = 'Optima Health Plan'
BLUE_CROSS_BLUE_SHIELD_OF_TEXAS = 'Blue Cross Blue Shield of Texas'
HUMANA_HEALTH_PLAN_OF_TEXAS = 'Humana Health Plan of Texas, Inc.'
SHA_LLC_DBA_FIRSTCARE_HEALTH_PLANS = 'SHA, LLC DBA FirstCare Health Plans'
GROUP_HOSPITALIZATION_AND_MEDICAL_SERVICES = 'Group Hospitalization and Medical Services Inc.'
KAISER_FOUNDATION_HEALTH_PLAN_OF_THE_MID_ATLANTIC_STATES = 'Kaiser Foundation Health Plan of the Mid-Atlantic States, Inc.'
HEALTHKEEPERS_INC = 'HealthKeepers, Inc.'
SENDERO_HEALTH_PLANS = 'Sendero Health Plans, inc.'
OSCAR_INSURANCE_COMPANY_OF_TEXAS = 'Oscar Insurance Company of Texas'
COMMUNITY_HEALTH_CHOICE = 'Community Health Choice, Inc.'
PIEDMONT_COMMUNITY_HEALTHCARE = 'Piedmont Community HealthCare, Inc.'
PROMINENCE_HEALTHFIRST_OF_TEXAS = 'Prominence HealthFirst of Texas, Inc.'
INNOVATION_HEALTH_INSURANCE_COMPANY = 'Innovation Health Insurance Company'
UNITEDHEALTHCARE_OF_THE_MID_ATLANTIC = 'UnitedHealthcare of the Mid-Atlantic Inc'
MOLINA_HEALTHCARE_OF_TEXAS = 'Molina Healthcare of Texas, Inc.'
PIEDMONT_COMMUNITY_HEALTHCARE_HMO = 'Piedmont Community HealthCare HMO, Inc.'
CAREFIRST_BLUECHOICE = 'CareFirst BlueChoice, Inc.'
SELECTHEALTH = 'SelectHealth'
MOLINA_HEALTHCARE_OF_UTAH = 'Molina Healthcare of Utah'
UNIVERSITY_OF_UTAH_HEALTH_INSURANCE_PLANS = 'University of Utah Health Insurance Plans'
GROUP_HEALTH_COOPERATIVE_OF_SOUTH_CENTRAL_WISCONSIN = 'Group Health Cooperative of South Central Wisconsin'
HEALTH_TRADITION_HEALTH_PLAN = 'Health Tradition Health Plan'
CHILDRENS_COMMUNITY_HEALTH_PLAN = "Children's Community Health Plan"
CARESOURCE_WEST_VIRGINIA_CO = 'CareSource West Virginia Co.'
SECURITY_HEALTH_PLAN_OF_WISCONSIN = 'Security Health Plan of Wisconsin, Inc.'
DEAN_HEALTH_PLAN = 'Dean Health Plan'
ASPIRUS_ARISE_HEALTH_PLAN_OF_WISCONSIN = 'Aspirus Arise Health Plan of Wisconsin, Inc.'
MOLINA_HEALTHCARE_OF_WISCONSIN = 'Molina Healthcare of Wisconsin, Inc.'
COMPCARE_HEALTH_SERV_INS_CO_ANTHEM_BCBS = 'Compcare Health Serv Ins Co(Anthem BCBS)'
COMMON_GROUND_HEALTHCARE_COOPERATIVE = 'Common Ground Healthcare Cooperative'
HEALTHPARTNERS_INSURANCE_COMPANY = 'HealthPartners Insurance Company'
NETWORK_HEALTH_PLAN = 'Network Health Plan'
HIGHMARK_BLUE_CROSS_BLUE_SHIELD_WEST_VIRGINIA = 'Highmark Blue Cross Blue Shield West Virginia'
BLUE_CROSS_BLUE_SHIELD_OF_WYOMING = 'Blue Cross Blue Shield of Wyoming'
PLAN_CHOICES = (
(MISCELLANEOUS, "Miscellaneous"),
(HEALTH_ALLIANCE_MEDICAL_PLANS, 'Health Alliance Medical Plans, Inc.'),
(BLUE_CROSS_BLUE_SHIELD_OF_ILLINOIS, 'Blue Cross Blue Shield of Illinois'),
(HUMANA_HEALTH_PLAN, 'Humana Health Plan, Inc.'),
(CELTIC_INSURANCE_COMPANY, "Celtic Insurance Company"),
(CIGNA_HEALTHCARE_OF_ILLINOIS, 'Cigna HealthCare of Illinois, Inc.'),
(PREMERA_BLUE_CROSS_BLUE_SHIELD_OF_ALASKA, 'Premera Blue Cross Blue Shield of Alaska'),
(BLUE_CROSS_AND_BLUE_SHIELD_OF_ALABAMA, 'Blue Cross and Blue Shield of Alabama'),
(QUALCHOICE_LIFE_AND_HEALTH_INSURANCE_COMPANY, "QualChoice Life & Health Insurance Company, Inc."),
(USABLE_MUTUAL_INSURANCE_COMPANY, "USAble Mutual Insurance Company"),
(QCA_HEALTH_PLAN, "QCA Health Plan, Inc."),
(FLORIDA_HEALTH_CARE_PLAN, "Florida Health Care Plan, Inc."),
(MEDICA_INSURANCE_COMPANY, "Medica Insurance Company"),
(CARESOURCE_INDIANA, "CareSource Indiana, Inc."),
(BLUE_CROSS_AND_BLUE_SHIELD_OF_ARIZONA, "Blue Cross and Blue Shield of Arizona, Inc."),
(BLUE_CROSS_AND_BLUE_SHIELD_OF_FLORIDA, "Blue Cross and Blue Shield of Florida"),
(HEALTH_OPTIONS, "Health Options, Inc."),
(AETNA_LIFE_INSURANCE_COMPANY, "Aetna Life Insurance Company"),
(AETNA_HEALTH_INC_A_PA_CORP, "Aetna Health Inc. (a PA corp.)"),
(HIGHMARK_BCBSD, "Highmark BCBSD Inc."),
(HEALTH_NET_OF_ARIZONA, "Health Net of Arizona, Inc."),
(HEALTH_FIRST_COMMERCIAL_PLANS, 'Health First Commercial Plans, Inc.'),
(HUMANA_MEDICAL_PLAN, 'Humana Medical Plan, Inc.'),
(MOLINA_HEALTHCARE_OF_FLORIDA, "Molina Healthcare of Florida, Inc"),
(ALLIANT_HEALTH_PLANS, 'Alliant Health Plans'),
(BLUE_CROSS_BLUE_SHIELD_HEALTHCARE_PLAN_OF_GEORGIA, 'Blue Cross Blue Shield Healthcare Plan of Georgia, Inc.'),
(KAISER_FOUNDATION_HEALTH_PLAN_OF_GEORGIA, 'Kaiser Foundation Health Plan of Georgia'),
(AMBETTER_OF_PEACH_STATE, 'Ambetter of Peach State Inc.'),
(HUMANA_EMPLOYERS_HEALTH_PLAN_OF_GEORGIA, 'Humana Employers Health Plan of Georgia, Inc.'),
(WELLMARK_VALUE_HEALTH_PLAN, 'Wellmark Value Health Plan, Inc.'),
(CARESOURCE_KENTUCKY_CO, 'CareSource Kentucky Co.'),
(GUNDERSEN_HEALTH_PLAN, 'Gundersen Health Plan, Inc.'),
(WELLMARK_SYNERGY_HEALTH, 'Wellmark Synergy Health, Inc.'),
(ANTHEM_INS_COMPANIES_INC_ANTHEM_BCBS, 'Anthem Ins Companies Inc(Anthem BCBS)'),
(MDWISE_MARKETPLACE, 'MDwise Marketplace, Inc.'),
(HAWAII_MEDICAL_SERVICE_ASSOCIATION, 'Hawaii Medical Service Association'),
(KAISER_FOUNDATION_HEALTH_PLAN, 'Kaiser Foundation Health Plan, Inc.'),
(AETNA_HEALTH_OF_IOWA, 'Aetna Health of Iowa Inc.'),
(BLUECROSS_BLUESHIELD_KANSAS_SOLUTIONS, 'BlueCross BlueShield Kansas Solutions, Inc.'),
(BLUE_CROSS_AND_BLUE_SHIELD_OF_KANSAS_CITY, 'Blue Cross and Blue Shield of Kansas City'),
(ANTHEM_HEALTH_PLANS_OF_KY_ANTHEM_BCBS, 'Anthem Health Plans of KY(Anthem BCBS)'),
(HUMANA_HEALTH_BENEFIT_PLAN_OF_LOUISIANA, 'Humana Health Benefit Plan of Louisiana, Inc.'),
(HMO_LOUISIANA, 'HMO Louisiana, Inc.'),
(VANTAGE_HEALTH_PLAN, 'Vantage Health Plan, Inc.'),
(LOUISIANA_HEALTH_SERVICE_AND_INDEMNITY_COMPANY, 'Louisiana Health Service & Indemnity Company'),
(MAINE_COMMUNITY_HEALTH_OPTIONS, 'Maine Community Health Options'),
(ANTHEM_HEALTH_PLANS_OF_ME_ANTHEM_BCBS, 'Anthem Health Plans of ME(Anthem BCBS)'),
(HARVARD_PILGRIM_HEALTH_CARE, 'Harvard Pilgrim Health Care Inc.'),
(BLUE_CROSS_BLUE_SHIELD_OF_MICHIGAN_MUTUAL_INSURANCE_COMPANY, 'Blue Cross Blue Shield of Michigan Mutual Insurance Company'),
(MCLAREN_HEALTH_PLAN_COMMUNITY, 'McLaren Health Plan Community'),
(PRIORITY_HEALTH, 'Priority Health'),
(BLUE_CARE_NETWORK_OF_MICHIGAN, 'Blue Care Network of Michigan'),
(HEALTH_ALLIANCE_PLAN_HAP, 'Health Alliance Plan (HAP)'),
(MERIDIAN_HEALTH_PLAN_OF_MICHIGAN, 'Meridian Health Plan of Michigan, Inc.'),
(HUMANA_MEDICAL_PLAN_OF_MICHIGAN, 'Humana Medical Plan of Michigan, Inc.'),
(MOLINA_HEALTHCARE_OF_MICHIGAN, 'Molina Healthcare of Michigan, Inc.'),
(HUMANA_NSURANCE_COMPANY, 'Humana Insurance Company'),
(PHYSICIANS_HEALTH_PLAN, 'Physicians Health Plan'),
(HEALTHY_ALLIANCE_LIFE_CO_ANTHEM_BCBS, 'Healthy Alliance Life Co(Anthem BCBS)'),
(MEDICA_HEALTH_PLANS, 'Medica Health Plans'),
(CARESOURCE, 'CareSource'),
(MONTANA_HEALTH_COOPERATIVE, 'Montana Health Cooperative'),
(CIGNA_HEALTH_AND_LIFE_INSURANCE_COMPANY, 'Cigna Health and Life Insurance Company'),
(AMERIHEALTH_HMO, 'AmeriHealth HMO, Inc.'),
(TOTAL_HEALTH_CARE_USA, 'Total Health Care USA, Inc.'),
(NEW_MEXICO_HEALTH_CONNECTIONS, 'New Mexico Health Connections'),
(AMBETTER_OF_MAGNOLIA, 'Ambetter of Magnolia Inc.'),
(AULTCARE_INSURANCE_COMPANY, 'AultCare Insurance Company'),
(PACIFICSOURCE_HEALTH_PLANS, 'PacificSource Health Plans'),
(BLUE_CROSS_AND_BLUE_SHIELD_OF_MONTANA, 'Blue Cross and Blue Shield of Montana'),
(HORIZON_HEALTHCARE_SERVICES, 'Horizon Healthcare Services, Inc.'),
(AMERIHEALTH_INS_COMPANY_OF_NEW_JERSEY, 'AmeriHealth Ins Company of New Jersey'),
(MEDICAL_HEALTH_INSURING_CORP_OF_OHIO, 'Medical Health Insuring Corp. of Ohio'),
(BLUE_CROSS_BLUE_SHIELD_OF_NORTH_DAKOTA, 'Blue Cross Blue Shield of North Dakota'),
(BLUE_CROSS_AND_BLUE_SHIELD_OF_NC, 'Blue Cross and Blue Shield of NC'),
(CIGNA_HEALTHCARE_OF_NORTH_CAROLINA, 'Cigna HealthCare of North Carolina, Inc.'),
(SANFORD_HEALTH_PLAN,'Sanford Health Plan'),
(GEISINGER_HEALTH_PLAN, 'Geisinger Health Plan'),
(HARVARD_PILGRIM_HEALTH_CARE_OF_NE, 'Harvard Pilgrim Health Care of NE'),
(MINUTEMAN_HEALTH, 'Minuteman Health, Inc'),
(MATTHEW_THORNTON_HLTH_PLAN_ANTHEM_BCBS, 'Matthew Thornton Hlth Plan(Anthem BCBS)'),
(COMMUNITY_INSURANCE_COMPANY_ANTHEM_BCBS, 'Community Insurance Company(Anthem BCBS)'),
(MOLINA_HEALTHCARE_OF_NEW_MEXICO, 'Molina Healthcare of New Mexico, Inc.'),
(CHRISTUS_HEALTH_PLAN, 'CHRISTUS Health Plan'),
(BLUE_CROSS_BLUE_SHIELD_OF_NEW_MEXICO, 'Blue Cross Blue Shield of New Mexico'),
(PROMINENCE_HEALTHFIRST, 'Prominence HealthFirst'),
(ROCKY_MOUNTAIN_HOSPITAL_AND_MEDICAL_SERVICE_INC_DBA_ANTHEM_BLUE_CROSS_AND_BLUE_SHIELD, 'Rocky Mountain Hospital and Medical Service, Inc., dba Anthem Blue Cross and Blue Shield'),
(HMO_COLORADO_INC_DBA_HMO_NEVADA, 'HMO Colorado, Inc., dba HMO Nevada'),
(HEALTH_PLAN_OF_NEVADA, 'Health Plan of Nevada, Inc.'),
(MOLINA_HEALTHCARE_OF_OHIO,'Molina Healthcare of Ohio, Inc.'),
(BUCKEYE_COMMUNITY_HEALTH_PLAN, 'Buckeye Community Health Plan'),
(PREMIER_HEALTH_PLAN, 'Premier Health Plan, Inc.'),
(HUMANA_HEALTH_PLAN_OF_OHIO, 'Humana Health Plan of Ohio, Inc.'),
(PARAMOUNT_INSURANCE_COMPANY, 'Paramount Insurance Company'),
(CONSUMERS_LIFE_INSURANCE_COMPANY, 'Consumers Life Insurance Company'),
(SUMMA_INSURANCE_COMPANY, 'Summa Insurance Company, Inc.'),
(MODA_HEALTH_PLAN, 'Moda Health Plan, Inc.'),
(BRIDGESPAN_HEALTH_COMPANY, 'BridgeSpan Health Company'),
(BLUE_CROSS_BLUE_SHIELD_OF_OKLAHOMA, 'Blue Cross Blue Shield of Oklahoma'),
(KAISER_FOUNDATION_HEALTHPLAN_OF_THE_NW, 'Kaiser Foundation Healthplan of the NW'),
(ATRIO_HEALTH_PLANS, 'ATRIO Health Plans'),
(FIRST_PRIORITY_HEALTH, 'First Priority Health'),
(INDEPENDENCE_BLUE_CROSS_QCC_INS_CO , 'Independence Blue Cross (QCC Ins. Co.)'),
(KEYSTONE_HEALTH_PLAN_EAST, 'Keystone Health Plan East, Inc'),
(HIGHMARK_INC, 'Highmark Inc.'),
(HIGHMARK_HEALTH_INSURANCE_COMPANY, 'Highmark Health Insurance Company'),
(UPMC_HEALTH_OPTIONS, 'UPMC Health Options, Inc.'),
(BLUE_CROSS_AND_BLUE_SHIELD_OF_SOUTH_CAROLINA, 'Blue Cross and Blue Shield of South Carolina'),
(PROVIDENCE_HEALTH_PLAN, 'Providence Health Plan'),
(CAPITAL_ADVANTAGE_ASSURANCE_COMPANY, 'Capital Advantage Assurance Company'),
(AVERA_HEALTH_PLANS, 'Avera Health Plans, Inc.'),
(UNITY_HEALTH_PLANS_INSURANCE_CORPORATION, 'Unity Health Plans Insurance Corporation'),
(MERCYCARE_HMO, 'MercyCare HMO, Inc.'),
(BLUE_CROSS_BLUE_SHIELD_OF_TENNESSEE, 'Blue Cross Blue Shield of Tennessee'),
(MEDICA_HEALTH_PLANS_OF_WISCONSIN, 'Medica Health Plans of Wisconsin'),
(OPTIMA_HEALTH_PLAN, 'Optima Health Plan'),
(BLUE_CROSS_BLUE_SHIELD_OF_TEXAS, 'Blue Cross Blue Shield of Texas'),
(HUMANA_HEALTH_PLAN_OF_TEXAS, 'Humana Health Plan of Texas, Inc.'),
(SHA_LLC_DBA_FIRSTCARE_HEALTH_PLANS, 'SHA, LLC DBA FirstCare Health Plans'),
(GROUP_HOSPITALIZATION_AND_MEDICAL_SERVICES, 'Group Hospitalization and Medical Services Inc.'),
(KAISER_FOUNDATION_HEALTH_PLAN_OF_THE_MID_ATLANTIC_STATES, 'Kaiser Foundation Health Plan of the Mid-Atlantic States, Inc.'),
(HEALTHKEEPERS_INC, 'HealthKeepers, Inc.'),
(SENDERO_HEALTH_PLANS, 'Sendero Health Plans, inc.'),
(OSCAR_INSURANCE_COMPANY_OF_TEXAS, 'Oscar Insurance Company of Texas'),
(COMMUNITY_HEALTH_CHOICE, 'Community Health Choice, Inc.'),
(PIEDMONT_COMMUNITY_HEALTHCARE, 'Piedmont Community HealthCare, Inc.'),
(PROMINENCE_HEALTHFIRST_OF_TEXAS, 'Prominence HealthFirst of Texas, Inc.'),
(INNOVATION_HEALTH_INSURANCE_COMPANY, 'Innovation Health Insurance Company'),
(UNITEDHEALTHCARE_OF_THE_MID_ATLANTIC, 'UnitedHealthcare of the Mid-Atlantic Inc'),
(MOLINA_HEALTHCARE_OF_TEXAS, 'Molina Healthcare of Texas, Inc.'),
(PIEDMONT_COMMUNITY_HEALTHCARE_HMO, 'Piedmont Community HealthCare HMO, Inc.'),
(CAREFIRST_BLUECHOICE, 'CareFirst BlueChoice, Inc.'),
(SELECTHEALTH, 'SelectHealth'),
(MOLINA_HEALTHCARE_OF_UTAH, 'Molina Healthcare of Utah'),
(UNIVERSITY_OF_UTAH_HEALTH_INSURANCE_PLANS, 'University of Utah Health Insurance Plans'),
(GROUP_HEALTH_COOPERATIVE_OF_SOUTH_CENTRAL_WISCONSIN, 'Group Health Cooperative of South Central Wisconsin'),
(HEALTH_TRADITION_HEALTH_PLAN, 'Health Tradition Health Plan'),
(CHILDRENS_COMMUNITY_HEALTH_PLAN, "Children's Community Health Plan"),
(CARESOURCE_WEST_VIRGINIA_CO, 'CareSource West Virginia Co.'),
(SECURITY_HEALTH_PLAN_OF_WISCONSIN, 'Security Health Plan of Wisconsin, Inc.'),
(DEAN_HEALTH_PLAN, 'Dean Health Plan'),
(ASPIRUS_ARISE_HEALTH_PLAN_OF_WISCONSIN, 'Aspirus Arise Health Plan of Wisconsin, Inc.'),
(MOLINA_HEALTHCARE_OF_WISCONSIN, 'Molina Healthcare of Wisconsin, Inc.'),
(COMPCARE_HEALTH_SERV_INS_CO_ANTHEM_BCBS, 'Compcare Health Serv Ins Co(Anthem BCBS)'),
(COMMON_GROUND_HEALTHCARE_COOPERATIVE, 'Common Ground Healthcare Cooperative'),
(HEALTHPARTNERS_INSURANCE_COMPANY, 'HealthPartners Insurance Company'),
(NETWORK_HEALTH_PLAN, 'Network Health Plan'),
(HIGHMARK_BLUE_CROSS_BLUE_SHIELD_WEST_VIRGINIA, 'Highmark Blue Cross Blue Shield West Virginia'),
(BLUE_CROSS_BLUE_SHIELD_OF_WYOMING, 'Blue Cross Blue Shield of Wyoming'),)
HMO = "HMO"
PPO = "PPO"
POS = 'POS'
EPO = 'EPO'
N_A = "Not Available"
PREMIUM_CHOICES = ((HMO, "HMO"),
(PPO, "PPO"),
(POS, 'POS'),
(EPO, 'EPO'),
(N_A, "Not Available"))
BRONZE = "Bronze"
SILVER = "Silver"
GOLD = "Gold"
PLATINUM = 'Platinum'
CATASTROPHIC = "Catastrophic"
METAL_CHOICES = ((BRONZE, "Bronze"),
(SILVER, "Silver"),
(GOLD, "Gold"),
(PLATINUM, 'Platinum'),
(CATASTROPHIC, "Catastrophic"),
(N_A, "Not Available"))
metrics_submission = models.ForeignKey(MetricsSubmission, on_delete=models.CASCADE, blank=True, null=True)
plan_name = models.CharField(max_length=1000,
choices=PLAN_CHOICES,
default=MISCELLANEOUS)
premium_type = models.CharField(max_length=1000, blank=True, null=True, choices=PREMIUM_CHOICES, default=N_A)
metal_level = models.CharField(max_length=1000, blank=True, null=True, choices=METAL_CHOICES, default=N_A)
enrollments = models.IntegerField()
def check_plan_choices(self,):
for plan_tuple in self.PLAN_CHOICES:
if plan_tuple[1].lower() == self.plan_name.lower():
return True
return False
def check_premium_choices(self,):
for premium_tuple in self.PREMIUM_CHOICES:
if premium_tuple[1].lower() == self.premium_type.lower():
return True
return False
def check_metal_choices(self,):
for metal_tuple in self.METAL_CHOICES:
if metal_tuple[1].lower() == self.metal_level.lower():
return True
return False
def return_values_dict(self):
valuesdict = {"Enrollments": self.enrollments,
"Metal Level": self.metal_level,
"Premium Type": self.premium_type,
"Issuer Name": self.plan_name}
return valuesdict
class Meta:
# maps model to the picmodels module
app_label = 'picmodels'
| 67.974414 | 200 | 0.696518 | 3,728 | 31,880 | 5.576449 | 0.095225 | 0.057723 | 0.036943 | 0.040214 | 0.886911 | 0.860215 | 0.812401 | 0.789985 | 0.789985 | 0.779451 | 0 | 0.001795 | 0.231148 | 31,880 | 468 | 201 | 68.119658 | 0.846355 | 0.005113 | 0 | 0.036446 | 0 | 0 | 0.320184 | 0.00823 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01139 | false | 0 | 0.022779 | 0 | 0.503417 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 7 |
8658fe551035c663443f8eae475ace9f19d60426 | 32,060 | py | Python | stage/configuration/test_google_pub_sub_subscriber_origin.py | streamsets/datacollector-tests | 6c3e908768e1d4a586e9183e2141096921ecd5be | [
"Apache-2.0"
] | 14 | 2019-03-04T10:12:39.000Z | 2021-11-24T16:17:09.000Z | stage/configuration/test_google_pub_sub_subscriber_origin.py | Pragatibs/datacollector-tests | aac53b2f0e056009ef0e437c8430651e3cf4d502 | [
"Apache-2.0"
] | 48 | 2019-03-08T14:59:06.000Z | 2021-08-13T14:49:56.000Z | stage/configuration/test_google_pub_sub_subscriber_origin.py | Pragatibs/datacollector-tests | aac53b2f0e056009ef0e437c8430651e3cf4d502 | [
"Apache-2.0"
] | 23 | 2018-09-24T20:49:17.000Z | 2021-11-24T16:17:11.000Z | # Copyright 2021 StreamSets Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, 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.
import pytest
from streamsets.testframework.decorators import stub
@stub
@pytest.mark.parametrize('stage_attributes', [{'allow_extra_columns': False,
'data_format': 'DELIMITED',
'header_line': 'WITH_HEADER'},
{'allow_extra_columns': True,
'data_format': 'DELIMITED',
'header_line': 'WITH_HEADER'}])
def test_allow_extra_columns(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DATAGRAM', 'datagram_packet_format': 'COLLECTD'}])
def test_auth_file(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'avro_schema_location': 'INLINE', 'data_format': 'AVRO'}])
def test_avro_schema(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'avro_schema_location': 'INLINE', 'data_format': 'AVRO'},
{'avro_schema_location': 'REGISTRY', 'data_format': 'AVRO'},
{'avro_schema_location': 'SOURCE', 'data_format': 'AVRO'}])
def test_avro_schema_location(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
def test_batch_wait_time_in_ms(sdc_builder, sdc_executor):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'WHOLE_FILE'}])
def test_buffer_size_in_bytes(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
def test_charset(sdc_builder, sdc_executor):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED',
'delimiter_format_type': 'CUSTOM',
'enable_comments': True}])
def test_comment_marker(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'compression_format': 'ARCHIVE', 'data_format': 'BINARY'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'BINARY'},
{'compression_format': 'COMPRESSED_FILE', 'data_format': 'BINARY'},
{'compression_format': 'NONE', 'data_format': 'BINARY'},
{'compression_format': 'ARCHIVE', 'data_format': 'DELIMITED'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'DELIMITED'},
{'compression_format': 'COMPRESSED_FILE', 'data_format': 'DELIMITED'},
{'compression_format': 'NONE', 'data_format': 'DELIMITED'},
{'compression_format': 'ARCHIVE', 'data_format': 'JSON'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'JSON'},
{'compression_format': 'COMPRESSED_FILE', 'data_format': 'JSON'},
{'compression_format': 'NONE', 'data_format': 'JSON'},
{'compression_format': 'ARCHIVE', 'data_format': 'LOG'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'LOG'},
{'compression_format': 'COMPRESSED_FILE', 'data_format': 'LOG'},
{'compression_format': 'NONE', 'data_format': 'LOG'},
{'compression_format': 'ARCHIVE', 'data_format': 'PROTOBUF'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'PROTOBUF'},
{'compression_format': 'COMPRESSED_FILE', 'data_format': 'PROTOBUF'},
{'compression_format': 'NONE', 'data_format': 'PROTOBUF'},
{'compression_format': 'ARCHIVE', 'data_format': 'SDC_JSON'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'SDC_JSON'},
{'compression_format': 'COMPRESSED_FILE', 'data_format': 'SDC_JSON'},
{'compression_format': 'NONE', 'data_format': 'SDC_JSON'},
{'compression_format': 'ARCHIVE', 'data_format': 'TEXT'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'TEXT'},
{'compression_format': 'COMPRESSED_FILE', 'data_format': 'TEXT'},
{'compression_format': 'NONE', 'data_format': 'TEXT'},
{'compression_format': 'ARCHIVE', 'data_format': 'XML'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'XML'},
{'compression_format': 'COMPRESSED_FILE', 'data_format': 'XML'},
{'compression_format': 'NONE', 'data_format': 'XML'}])
def test_compression_format(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'convert_hi_res_time_and_interval': False,
'data_format': 'DATAGRAM',
'datagram_packet_format': 'COLLECTD'},
{'convert_hi_res_time_and_interval': True,
'data_format': 'DATAGRAM',
'datagram_packet_format': 'COLLECTD'}])
def test_convert_hi_res_time_and_interval(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'credentials_provider': 'JSON'}])
def test_credentials_file_content_in_json(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'credentials_provider': 'JSON_PROVIDER'}])
def test_credentials_file_path_in_json(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'credentials_provider': 'DEFAULT_PROVIDER'},
{'credentials_provider': 'JSON'},
{'credentials_provider': 'JSON_PROVIDER'}])
def test_credentials_provider(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'TEXT', 'use_custom_delimiter': True}])
def test_custom_delimiter(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
def test_custom_endpoint(sdc_builder, sdc_executor):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'LOG',
'log_format': 'LOG4J',
'use_custom_log_format': True}])
def test_custom_log4j_format(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'LOG', 'log_format': 'APACHE_CUSTOM_LOG_FORMAT'}])
def test_custom_log_format(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'AVRO'},
{'data_format': 'BINARY'},
{'data_format': 'DELIMITED'},
{'data_format': 'JSON'},
{'data_format': 'PROTOBUF'},
{'data_format': 'SDC_JSON'},
{'data_format': 'TEXT'},
{'data_format': 'XML'}])
def test_data_format(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DATAGRAM', 'datagram_packet_format': 'COLLECTD'},
{'data_format': 'DATAGRAM', 'datagram_packet_format': 'NETFLOW'},
{'data_format': 'DATAGRAM', 'datagram_packet_format': 'RAW_DATA'},
{'data_format': 'DATAGRAM', 'datagram_packet_format': 'SYSLOG'}])
def test_datagram_packet_format(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'PROTOBUF', 'delimited_messages': False},
{'data_format': 'PROTOBUF', 'delimited_messages': True}])
def test_delimited_messages(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED', 'delimiter_format_type': 'CUSTOM'}])
def test_delimiter_character(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'XML'}])
def test_delimiter_element(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED', 'delimiter_format_type': 'CSV'},
{'data_format': 'DELIMITED', 'delimiter_format_type': 'CUSTOM'},
{'data_format': 'DELIMITED', 'delimiter_format_type': 'EXCEL'},
{'data_format': 'DELIMITED', 'delimiter_format_type': 'MULTI_CHARACTER'},
{'data_format': 'DELIMITED', 'delimiter_format_type': 'MYSQL'},
{'data_format': 'DELIMITED', 'delimiter_format_type': 'POSTGRES_CSV'},
{'data_format': 'DELIMITED', 'delimiter_format_type': 'POSTGRES_TEXT'},
{'data_format': 'DELIMITED', 'delimiter_format_type': 'RFC4180'},
{'data_format': 'DELIMITED', 'delimiter_format_type': 'TDF'}])
def test_delimiter_format_type(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED',
'delimiter_format_type': 'CUSTOM',
'enable_comments': False},
{'data_format': 'DELIMITED',
'delimiter_format_type': 'CUSTOM',
'enable_comments': True}])
def test_enable_comments(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED', 'delimiter_format_type': 'CUSTOM'},
{'data_format': 'DELIMITED', 'delimiter_format_type': 'MULTI_CHARACTER'}])
def test_escape_character(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'EXCEL', 'excel_header_option': 'IGNORE_HEADER'},
{'data_format': 'EXCEL', 'excel_header_option': 'NO_HEADER'},
{'data_format': 'EXCEL', 'excel_header_option': 'WITH_HEADER'}])
def test_excel_header_option(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DATAGRAM',
'datagram_packet_format': 'COLLECTD',
'exclude_interval': False},
{'data_format': 'DATAGRAM',
'datagram_packet_format': 'COLLECTD',
'exclude_interval': True}])
def test_exclude_interval(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'allow_extra_columns': True,
'data_format': 'DELIMITED',
'header_line': 'WITH_HEADER'}])
def test_extra_column_prefix(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'LOG', 'log_format': 'REGEX'}])
def test_field_path_to_regex_group_mapping(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'compression_format': 'ARCHIVE', 'data_format': 'BINARY'},
{'compression_format': 'ARCHIVE', 'data_format': 'DELIMITED'},
{'compression_format': 'ARCHIVE', 'data_format': 'JSON'},
{'compression_format': 'ARCHIVE', 'data_format': 'LOG'},
{'compression_format': 'ARCHIVE', 'data_format': 'PROTOBUF'},
{'compression_format': 'ARCHIVE', 'data_format': 'SDC_JSON'},
{'compression_format': 'ARCHIVE', 'data_format': 'TEXT'},
{'compression_format': 'ARCHIVE', 'data_format': 'XML'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'BINARY'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'DELIMITED'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'JSON'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'LOG'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'PROTOBUF'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'SDC_JSON'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'TEXT'},
{'compression_format': 'COMPRESSED_ARCHIVE', 'data_format': 'XML'}])
def test_file_name_pattern_within_compressed_directory(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'LOG', 'log_format': 'GROK'}])
def test_grok_pattern(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'LOG', 'log_format': 'GROK'}])
def test_grok_pattern_definition(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED', 'header_line': 'IGNORE_HEADER'},
{'data_format': 'DELIMITED', 'header_line': 'NO_HEADER'},
{'data_format': 'DELIMITED', 'header_line': 'WITH_HEADER'}])
def test_header_line(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DATAGRAM', 'ignore_control_characters': False},
{'data_format': 'DATAGRAM', 'ignore_control_characters': True},
{'data_format': 'DELIMITED', 'ignore_control_characters': False},
{'data_format': 'DELIMITED', 'ignore_control_characters': True},
{'data_format': 'JSON', 'ignore_control_characters': False},
{'data_format': 'JSON', 'ignore_control_characters': True},
{'data_format': 'LOG', 'ignore_control_characters': False},
{'data_format': 'LOG', 'ignore_control_characters': True},
{'data_format': 'TEXT', 'ignore_control_characters': False},
{'data_format': 'TEXT', 'ignore_control_characters': True},
{'data_format': 'XML', 'ignore_control_characters': False},
{'data_format': 'XML', 'ignore_control_characters': True}])
def test_ignore_control_characters(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED',
'delimiter_format_type': 'CUSTOM',
'ignore_empty_lines': False},
{'data_format': 'DELIMITED',
'delimiter_format_type': 'CUSTOM',
'ignore_empty_lines': True}])
def test_ignore_empty_lines(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'EXCEL', 'read_all_sheets': False}])
def test_import_sheets(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'TEXT',
'include_custom_delimiter': False,
'use_custom_delimiter': True},
{'data_format': 'TEXT',
'include_custom_delimiter': True,
'use_custom_delimiter': True}])
def test_include_custom_delimiter(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'XML', 'include_field_xpaths': False},
{'data_format': 'XML', 'include_field_xpaths': True}])
def test_include_field_xpaths(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'JSON', 'json_content': 'ARRAY_OBJECTS'},
{'data_format': 'JSON', 'json_content': 'MULTIPLE_OBJECTS'}])
def test_json_content(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED'}])
def test_lines_to_skip(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'LOG', 'log_format': 'APACHE_CUSTOM_LOG_FORMAT'},
{'data_format': 'LOG', 'log_format': 'APACHE_ERROR_LOG_FORMAT'},
{'data_format': 'LOG', 'log_format': 'CEF'},
{'data_format': 'LOG', 'log_format': 'COMBINED_LOG_FORMAT'},
{'data_format': 'LOG', 'log_format': 'COMMON_LOG_FORMAT'},
{'data_format': 'LOG', 'log_format': 'GROK'},
{'data_format': 'LOG', 'log_format': 'LEEF'},
{'data_format': 'LOG', 'log_format': 'LOG4J'},
{'data_format': 'LOG', 'log_format': 'REGEX'}])
def test_log_format(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'avro_schema_location': 'REGISTRY',
'data_format': 'AVRO',
'lookup_schema_by': 'AUTO'},
{'avro_schema_location': 'REGISTRY',
'data_format': 'AVRO',
'lookup_schema_by': 'ID'},
{'avro_schema_location': 'REGISTRY',
'data_format': 'AVRO',
'lookup_schema_by': 'SUBJECT'}])
def test_lookup_schema_by(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
def test_max_batch_size_in_records(sdc_builder, sdc_executor):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'BINARY'}])
def test_max_data_size_in_bytes(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'TEXT'}, {'data_format': 'LOG'}])
def test_max_line_length(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'JSON'}])
def test_max_object_length_in_chars(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED'}, {'data_format': 'XML'}])
def test_max_record_length_in_chars(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'NETFLOW'},
{'data_format': 'DATAGRAM', 'datagram_packet_format': 'NETFLOW'}])
def test_max_templates_in_cache(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'PROTOBUF'}])
def test_message_type(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED', 'delimiter_format_type': 'MULTI_CHARACTER'}])
def test_multi_character_field_delimiter(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED', 'delimiter_format_type': 'MULTI_CHARACTER'}])
def test_multi_character_line_delimiter(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'XML'}])
def test_namespaces(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED', 'parse_nulls': True}])
def test_null_constant(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
def test_num_pipeline_runners(sdc_builder, sdc_executor):
pass
@stub
def test_number_of_subscribers(sdc_builder, sdc_executor):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'LOG', 'log_format': 'LOG4J', 'on_parse_error': 'ERROR'},
{'data_format': 'LOG', 'log_format': 'LOG4J', 'on_parse_error': 'IGNORE'},
{'data_format': 'LOG',
'log_format': 'LOG4J',
'on_parse_error': 'INCLUDE_AS_STACK_TRACE'}])
def test_on_parse_error(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'on_record_error': 'DISCARD'},
{'on_record_error': 'STOP_PIPELINE'},
{'on_record_error': 'TO_ERROR'}])
def test_on_record_error(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'XML', 'output_field_attributes': False},
{'data_format': 'XML', 'output_field_attributes': True}])
def test_output_field_attributes(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED', 'parse_nulls': False},
{'data_format': 'DELIMITED', 'parse_nulls': True}])
def test_parse_nulls(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
def test_project_id(sdc_builder, sdc_executor):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'PROTOBUF'}])
def test_protobuf_descriptor_file(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED', 'delimiter_format_type': 'CUSTOM'},
{'data_format': 'DELIMITED', 'delimiter_format_type': 'MULTI_CHARACTER'}])
def test_quote_character(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'WHOLE_FILE'}])
def test_rate_per_second(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'EXCEL', 'read_all_sheets': False},
{'data_format': 'EXCEL', 'read_all_sheets': True}])
def test_read_all_sheets(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'NETFLOW', 'record_generation_mode': 'INTERPRETED_ONLY'},
{'data_format': 'NETFLOW',
'record_generation_mode': 'RAW_AND_INTERPRETED'},
{'data_format': 'NETFLOW', 'record_generation_mode': 'RAW_ONLY'},
{'data_format': 'DATAGRAM',
'datagram_packet_format': 'NETFLOW',
'record_generation_mode': 'INTERPRETED_ONLY'},
{'data_format': 'DATAGRAM',
'datagram_packet_format': 'NETFLOW',
'record_generation_mode': 'RAW_AND_INTERPRETED'},
{'data_format': 'DATAGRAM',
'datagram_packet_format': 'NETFLOW',
'record_generation_mode': 'RAW_ONLY'}])
def test_record_generation_mode(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'LOG', 'log_format': 'REGEX'}])
def test_regular_expression(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'LOG', 'retain_original_line': False},
{'data_format': 'LOG', 'retain_original_line': True}])
def test_retain_original_line(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DELIMITED', 'root_field_type': 'LIST'},
{'data_format': 'DELIMITED', 'root_field_type': 'LIST_MAP'}])
def test_root_field_type(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'avro_schema_location': 'REGISTRY',
'data_format': 'AVRO',
'lookup_schema_by': 'ID'}])
def test_schema_id(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'avro_schema_location': 'REGISTRY', 'data_format': 'AVRO'}])
def test_schema_registry_urls(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'avro_schema_location': 'REGISTRY',
'data_format': 'AVRO',
'lookup_schema_by': 'SUBJECT'}])
def test_schema_subject(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'EXCEL',
'excel_header_option': 'WITH_HEADER',
'skip_cells_with_no_header': False},
{'data_format': 'EXCEL',
'excel_header_option': 'WITH_HEADER',
'skip_cells_with_no_header': True}])
def test_skip_cells_with_no_header(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'AVRO', 'skip_union_indexes': False},
{'data_format': 'AVRO', 'skip_union_indexes': True}])
def test_skip_union_indexes(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
def test_subscriber_thread_pool_size(sdc_builder, sdc_executor):
pass
@stub
def test_subscription_id(sdc_builder, sdc_executor):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'NETFLOW'},
{'data_format': 'DATAGRAM', 'datagram_packet_format': 'NETFLOW'}])
def test_template_cache_timeout_in_ms(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'LOG',
'log_format': 'LOG4J',
'on_parse_error': 'INCLUDE_AS_STACK_TRACE'}])
def test_trim_stack_trace_to_length(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'DATAGRAM', 'datagram_packet_format': 'COLLECTD'}])
def test_typesdb_file_path(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'TEXT', 'use_custom_delimiter': False},
{'data_format': 'TEXT', 'use_custom_delimiter': True}])
def test_use_custom_delimiter(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'LOG',
'log_format': 'LOG4J',
'use_custom_log_format': False},
{'data_format': 'LOG',
'log_format': 'LOG4J',
'use_custom_log_format': True}])
def test_use_custom_log_format(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
@pytest.mark.parametrize('stage_attributes', [{'data_format': 'WHOLE_FILE', 'verify_checksum': False},
{'data_format': 'WHOLE_FILE', 'verify_checksum': True}])
def test_verify_checksum(sdc_builder, sdc_executor, stage_attributes):
pass
| 47.216495 | 120 | 0.553837 | 2,904 | 32,060 | 5.713499 | 0.083678 | 0.115718 | 0.063464 | 0.102519 | 0.876688 | 0.849144 | 0.770251 | 0.729327 | 0.710523 | 0.684065 | 0 | 0.000972 | 0.326294 | 32,060 | 678 | 121 | 47.286136 | 0.767211 | 0.017218 | 0 | 0.542914 | 0 | 0 | 0.306735 | 0.050456 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161677 | false | 0.161677 | 0.005988 | 0 | 0.167665 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
866a2df6c9d527c9703f742d68d5d0d60dd69a4d | 6,715 | py | Python | ansible-devel/test/integration/targets/pause/test-pause.py | satishcarya/ansible | ed091e174c26316f621ac16344a95c99f56bdc43 | [
"MIT"
] | null | null | null | ansible-devel/test/integration/targets/pause/test-pause.py | satishcarya/ansible | ed091e174c26316f621ac16344a95c99f56bdc43 | [
"MIT"
] | null | null | null | ansible-devel/test/integration/targets/pause/test-pause.py | satishcarya/ansible | ed091e174c26316f621ac16344a95c99f56bdc43 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import os
import pexpect
import sys
import termios
from ansible.module_utils.six import PY2
args = sys.argv[1:]
env_vars = {
'ANSIBLE_ROLES_PATH': './roles',
'ANSIBLE_NOCOLOR': 'True',
'ANSIBLE_RETRY_FILES_ENABLED': 'False'
}
try:
backspace = termios.tcgetattr(sys.stdin.fileno())[6][termios.VERASE]
except Exception:
backspace = b'\x7f'
if PY2:
log_buffer = sys.stdout
else:
log_buffer = sys.stdout.buffer
os.environ.update(env_vars)
# -- Plain pause -- #
playbook = 'pause-1.yml'
# Case 1 - Contiune with enter
pause_test = pexpect.spawn(
'ansible-playbook',
args=[playbook] + args,
timeout=10,
env=os.environ
)
pause_test.logfile = log_buffer
pause_test.expect(r'Press enter to continue, Ctrl\+C to interrupt:')
pause_test.send('\r')
pause_test.expect('Task after pause')
pause_test.expect(pexpect.EOF)
pause_test.close()
# Case 2 - Continue with C
pause_test = pexpect.spawn(
'ansible-playbook',
args=[playbook] + args,
timeout=10,
env=os.environ
)
pause_test.logfile = log_buffer
pause_test.expect(r'Press enter to continue, Ctrl\+C to interrupt:')
pause_test.send('\x03')
pause_test.expect("Press 'C' to continue the play or 'A' to abort")
pause_test.send('C')
pause_test.expect('Task after pause')
pause_test.expect(pexpect.EOF)
pause_test.close()
# Case 3 - Abort with A
pause_test = pexpect.spawn(
'ansible-playbook',
args=[playbook] + args,
timeout=10,
env=os.environ
)
pause_test.logfile = log_buffer
pause_test.expect(r'Press enter to continue, Ctrl\+C to interrupt:')
pause_test.send('\x03')
pause_test.expect("Press 'C' to continue the play or 'A' to abort")
pause_test.send('A')
pause_test.expect('user requested abort!')
pause_test.expect(pexpect.EOF)
pause_test.close()
# -- Custom Prompt -- #
playbook = 'pause-2.yml'
# Case 1 - Contiune with enter
pause_test = pexpect.spawn(
'ansible-playbook',
args=[playbook] + args,
timeout=10,
env=os.environ
)
pause_test.logfile = log_buffer
pause_test.expect(r'Custom prompt:')
pause_test.send('\r')
pause_test.expect('Task after pause')
pause_test.expect(pexpect.EOF)
pause_test.close()
# Case 2 - Contiune with C
pause_test = pexpect.spawn(
'ansible-playbook',
args=[playbook] + args,
timeout=10,
env=os.environ
)
pause_test.logfile = log_buffer
pause_test.expect(r'Custom prompt:')
pause_test.send('\x03')
pause_test.expect("Press 'C' to continue the play or 'A' to abort")
pause_test.send('C')
pause_test.expect('Task after pause')
pause_test.expect(pexpect.EOF)
pause_test.close()
# Case 3 - Abort with A
pause_test = pexpect.spawn(
'ansible-playbook',
args=[playbook] + args,
timeout=10,
env=os.environ
)
pause_test.logfile = log_buffer
pause_test.expect(r'Custom prompt:')
pause_test.send('\x03')
pause_test.expect("Press 'C' to continue the play or 'A' to abort")
pause_test.send('A')
pause_test.expect('user requested abort!')
pause_test.expect(pexpect.EOF)
pause_test.close()
# -- Pause for N seconds -- #
playbook = 'pause-3.yml'
# Case 1 - Wait for task to continue after timeout
pause_test = pexpect.spawn(
'ansible-playbook',
args=[playbook] + args,
timeout=10,
env=os.environ
)
pause_test.logfile = log_buffer
pause_test.expect(r'Pausing for \d+ seconds')
pause_test.expect(r"\(ctrl\+C then 'C' = continue early, ctrl\+C then 'A' = abort\)")
pause_test.expect('Task after pause')
pause_test.expect(pexpect.EOF)
pause_test.close()
# Case 2 - Contiune with Ctrl + C, C
pause_test = pexpect.spawn(
'ansible-playbook',
args=[playbook] + args,
timeout=10,
env=os.environ
)
pause_test.logfile = log_buffer
pause_test.expect(r'Pausing for \d+ seconds')
pause_test.expect(r"\(ctrl\+C then 'C' = continue early, ctrl\+C then 'A' = abort\)")
pause_test.send('\x03')
pause_test.send('C')
pause_test.expect('Task after pause')
pause_test.expect(pexpect.EOF)
pause_test.close()
# Case 3 - Abort with Ctrl + C, A
pause_test = pexpect.spawn(
'ansible-playbook',
args=[playbook] + args,
timeout=10,
env=os.environ
)
pause_test.logfile = log_buffer
pause_test.expect(r'Pausing for \d+ seconds')
pause_test.expect(r"\(ctrl\+C then 'C' = continue early, ctrl\+C then 'A' = abort\)")
pause_test.send('\x03')
pause_test.send('A')
pause_test.expect('user requested abort!')
pause_test.expect(pexpect.EOF)
pause_test.close()
# -- Pause for N seconds with custom prompt -- #
playbook = 'pause-4.yml'
# Case 1 - Wait for task to continue after timeout
pause_test = pexpect.spawn(
'ansible-playbook',
args=[playbook] + args,
timeout=10,
env=os.environ
)
pause_test.logfile = log_buffer
pause_test.expect(r'Pausing for \d+ seconds')
pause_test.expect(r"\(ctrl\+C then 'C' = continue early, ctrl\+C then 'A' = abort\)")
pause_test.expect(r"Waiting for two seconds:")
pause_test.expect('Task after pause')
pause_test.expect(pexpect.EOF)
pause_test.close()
# Case 2 - Contiune with Ctrl + C, C
pause_test = pexpect.spawn(
'ansible-playbook',
args=[playbook] + args,
timeout=10,
env=os.environ
)
pause_test.logfile = log_buffer
pause_test.expect(r'Pausing for \d+ seconds')
pause_test.expect(r"\(ctrl\+C then 'C' = continue early, ctrl\+C then 'A' = abort\)")
pause_test.expect(r"Waiting for two seconds:")
pause_test.send('\x03')
pause_test.send('C')
pause_test.expect('Task after pause')
pause_test.expect(pexpect.EOF)
pause_test.close()
# Case 3 - Abort with Ctrl + C, A
pause_test = pexpect.spawn(
'ansible-playbook',
args=[playbook] + args,
timeout=10,
env=os.environ
)
pause_test.logfile = log_buffer
pause_test.expect(r'Pausing for \d+ seconds')
pause_test.expect(r"\(ctrl\+C then 'C' = continue early, ctrl\+C then 'A' = abort\)")
pause_test.expect(r"Waiting for two seconds:")
pause_test.send('\x03')
pause_test.send('A')
pause_test.expect('user requested abort!')
pause_test.expect(pexpect.EOF)
pause_test.close()
# -- Enter input and ensure it's captured, echoed, and can be edited -- #
playbook = 'pause-5.yml'
pause_test = pexpect.spawn(
'ansible-playbook',
args=[playbook] + args,
timeout=10,
env=os.environ
)
pause_test.logfile = log_buffer
pause_test.expect(r'Enter some text:')
pause_test.send('hello there')
pause_test.send('\r')
pause_test.expect(r'Enter some text to edit:')
pause_test.send('hello there')
pause_test.send(backspace * 4)
pause_test.send('ommy boy')
pause_test.send('\r')
pause_test.expect(r'Enter some text \(output is hidden\):')
pause_test.send('supersecretpancakes')
pause_test.send('\r')
pause_test.expect(pexpect.EOF)
pause_test.close()
| 24.241877 | 85 | 0.711839 | 1,027 | 6,715 | 4.506329 | 0.119766 | 0.229473 | 0.17178 | 0.082973 | 0.859334 | 0.859334 | 0.859334 | 0.8535 | 0.832325 | 0.832325 | 0 | 0.011273 | 0.141325 | 6,715 | 276 | 86 | 24.32971 | 0.791363 | 0.087416 | 0 | 0.780952 | 0 | 0.028571 | 0.275721 | 0.004423 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.028571 | 0.004762 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
86abe9e252e102d2f30b6a25a0bd4c0bdbe9f47a | 15,831 | py | Python | client/tests/find_directories_test.py | esiebomaj/pyre-check | bc75489e04ca21f51ba1ebc6296e2ff5c27626c9 | [
"MIT"
] | 3 | 2021-06-17T16:32:46.000Z | 2021-09-20T14:47:23.000Z | client/tests/find_directories_test.py | sthagen/pyre-check | 2cd35436b5a5516116177e8e80881882341701e5 | [
"MIT"
] | 87 | 2021-02-03T22:05:58.000Z | 2021-12-07T16:30:09.000Z | client/tests/find_directories_test.py | sthagen/pyre-check | 2cd35436b5a5516116177e8e80881882341701e5 | [
"MIT"
] | 3 | 2021-06-17T16:32:54.000Z | 2021-10-13T20:53:12.000Z | # Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
# pyre-unsafe
import tempfile
from pathlib import Path
from typing import Iterable, Optional, Tuple, Union
import testslide
from ..find_directories import (
FoundRoot,
find_global_and_local_root,
find_global_root,
find_parent_directory_containing_directory,
find_parent_directory_containing_file,
find_typeshed_search_paths,
get_relative_local_root,
)
from .setup import ensure_directories_exists, ensure_files_exist
class RelativeLocalRootTest(testslide.TestCase):
def assert_relative_local_root(
self, global_root: str, local_root: Optional[str], expected: Optional[str]
) -> None:
self.assertEqual(
get_relative_local_root(
global_root=Path(global_root),
local_root=Path(local_root) if local_root is not None else None,
),
expected,
)
def test_relative_local_root(self) -> None:
self.assert_relative_local_root(
global_root="foo", local_root=None, expected=None
)
self.assert_relative_local_root(
global_root="foo", local_root="foo", expected="."
)
self.assert_relative_local_root(
global_root="foo", local_root="foo/bar", expected="bar"
)
self.assert_relative_local_root(
global_root="foo/bar", local_root="foo/bar/baz", expected="baz"
)
self.assert_relative_local_root(
global_root="foo/bar", local_root="foo/bar/baz/qux", expected="baz/qux"
)
self.assert_relative_local_root(
global_root="/foo/bar", local_root="/foo/bar/baz", expected="baz"
)
self.assert_relative_local_root(
global_root="foo", local_root="bar", expected=None
)
class FindParentDirectoryContainingFileTest(testslide.TestCase):
def assert_find_parent_directory_containing_file(
self, files: Iterable[str], base: str, target: str, expected: Optional[str]
) -> None:
depth = len(base.split("/"))
with tempfile.TemporaryDirectory() as outer_root:
with tempfile.TemporaryDirectory(dir=outer_root) as root:
root_path = Path(root).resolve()
ensure_files_exist(root_path, files)
self.assertEqual(
find_parent_directory_containing_file(
root_path / base,
target,
stop_search_after=depth,
),
(root_path / expected) if expected is not None else None,
)
def test_find_parent_directory_containing_file(self) -> None:
self.assert_find_parent_directory_containing_file(
files=[], base=".", target="a", expected=None
)
self.assert_find_parent_directory_containing_file(
files=["a"], base=".", target="a", expected="."
)
self.assert_find_parent_directory_containing_file(
files=["a"], base=".", target="b", expected=None
)
self.assert_find_parent_directory_containing_file(
files=["a", "b/c"], base="b", target="a", expected="."
)
self.assert_find_parent_directory_containing_file(
files=["a", "b/c"], base="b", target="b", expected=None
)
self.assert_find_parent_directory_containing_file(
files=["a", "b/c"], base="b", target="c", expected="b"
)
self.assert_find_parent_directory_containing_file(
files=["a", "b/c"], base="b", target="d", expected=None
)
self.assert_find_parent_directory_containing_file(
files=["a/b", "a/c/d"], base="a", target="b", expected="a"
)
self.assert_find_parent_directory_containing_file(
files=["a/b", "a/c/d"], base="a", target="c", expected=None
)
self.assert_find_parent_directory_containing_file(
files=["a/b", "a/c/d"], base="a/c", target="b", expected="a"
)
self.assert_find_parent_directory_containing_file(
files=["a/b", "a/c/d"], base="a/c", target="d", expected="a/c"
)
self.assert_find_parent_directory_containing_file(
files=["a/d", "a/b/d", "a/b/c/d"], base=".", target="d", expected=None
)
self.assert_find_parent_directory_containing_file(
files=["a/d", "a/b/d", "a/b/c/d"], base="a", target="d", expected="a"
)
self.assert_find_parent_directory_containing_file(
files=["a/d", "a/b/d", "a/b/c/d"], base="a", target="d", expected="a"
)
self.assert_find_parent_directory_containing_file(
files=["a/d", "a/b/d", "a/b/c/d"], base="a/b", target="d", expected="a/b"
)
self.assert_find_parent_directory_containing_file(
files=["a/d", "a/b/d", "a/b/c/d"],
base="a/b/c",
target="d",
expected="a/b/c",
)
self.assert_find_parent_directory_containing_file(
files=["a/d", "a/b/d", "a/b/c/d"],
base="a/b/c/d",
target="d",
expected="a/b/c",
)
self.assert_find_parent_directory_containing_file(
files=["a/d", "a/b/e", "a/b/c/f"], base="a", target="d", expected="a"
)
self.assert_find_parent_directory_containing_file(
files=["a/d", "a/b/e", "a/b/c/f"], base="a/b", target="d", expected="a"
)
self.assert_find_parent_directory_containing_file(
files=["a/d", "a/b/e", "a/b/c/f"], base="a/b/c", target="d", expected="a"
)
self.assert_find_parent_directory_containing_file(
files=["a/d", "a/b/e", "a/b/c/f"], base="a/b/e", target="d", expected="a"
)
self.assert_find_parent_directory_containing_file(
files=["a/d", "a/b/e", "a/b/c/f"], base="a/b/c/f", target="d", expected="a"
)
class FindParentDirectoryContainingDirectoryTest(testslide.TestCase):
def assert_find_parent_directory_containing_directory(
self, files: Iterable[str], base: str, target: str, expected: Optional[str]
) -> None:
depth = len(base.split("/"))
with tempfile.TemporaryDirectory() as outer_root:
with tempfile.TemporaryDirectory(dir=outer_root) as root:
root_path = Path(root).resolve()
ensure_files_exist(root_path, files)
self.assertEqual(
find_parent_directory_containing_directory(
root_path / base,
target,
stop_search_after=depth,
),
(root_path / expected) if expected is not None else None,
)
def test_find_parent_directory_containing_directory(self) -> None:
self.assert_find_parent_directory_containing_directory(
files=[], base=".", target="a", expected=None
)
self.assert_find_parent_directory_containing_directory(
files=["a", "b/c"], base="b", target="a", expected=None
)
self.assert_find_parent_directory_containing_directory(
files=["a", "b/c"], base="b", target="b", expected="."
)
self.assert_find_parent_directory_containing_directory(
files=["a", "b/c"], base="b", target="d", expected=None
)
self.assert_find_parent_directory_containing_directory(
files=["a/b", "a/c/d"], base="a", target="b", expected=None
)
self.assert_find_parent_directory_containing_directory(
files=["a/b", "a/c/d"], base="a", target="c", expected="a"
)
self.assert_find_parent_directory_containing_directory(
files=["a/b", "a/c/d"], base="a/c", target="b", expected=None
)
self.assert_find_parent_directory_containing_directory(
files=["a/b", "a/c/d"], base="a/c", target="c", expected="a"
)
self.assert_find_parent_directory_containing_directory(
files=["a/b/c", "a/d/b/c", "a/d/e/b/c"], base=".", target="b", expected=None
)
self.assert_find_parent_directory_containing_directory(
files=["a/b/c", "a/d/b/c", "a/d/e/b/c"], base="a", target="b", expected="a"
)
self.assert_find_parent_directory_containing_directory(
files=["a/b/c", "a/d/b/c", "a/d/e/b/c"],
base="a/d",
target="b",
expected="a/d",
)
self.assert_find_parent_directory_containing_directory(
files=["a/b/c", "a/d/b/c", "a/d/e/b/c"],
base="a/d/e",
target="b",
expected="a/d/e",
)
self.assert_find_parent_directory_containing_directory(
files=["a/b/c", "a/d/a/b/c"], base="a/d/a/b/c", target="a/b", expected="a/d"
)
self.assert_find_parent_directory_containing_directory(
files=["a/b/c", "a/d/a/b/c"], base="a/d/a/b", target="a/b", expected="a/d"
)
self.assert_find_parent_directory_containing_directory(
files=["a/b/c", "a/d/a/b/c"], base="a/d/a", target="a/b", expected="a/d"
)
self.assert_find_parent_directory_containing_directory(
files=["a/b/c", "a/d/a/b/c"], base="a/d", target="a/b", expected="a/d"
)
self.assert_find_parent_directory_containing_directory(
files=["a/b/c", "a/d/a/b/c"], base="a", target="a/b", expected="."
)
self.assert_find_parent_directory_containing_directory(
files=["a/b", "a/c/d/e", "a/f/d/e", "a/g/e"],
base="a",
target="d",
expected=None,
)
self.assert_find_parent_directory_containing_directory(
files=["a/b", "a/c/d/e", "a/f/d/e", "a/g/e"],
base="a/c",
target="d",
expected="a/c",
)
self.assert_find_parent_directory_containing_directory(
files=["a/b", "a/c/d/e", "a/f/d/e", "a/g/e"],
base="a/f",
target="d",
expected="a/f",
)
self.assert_find_parent_directory_containing_directory(
files=["a/b", "a/c/d/e", "a/f/d/e", "a/g/e"],
base="a/g",
target="d",
expected=None,
)
self.assert_find_parent_directory_containing_directory(
files=["a/b", "a/c/d/e", "a/f/d/e", "a/g/e"],
base="a/c/d",
target="c/d",
expected="a",
)
self.assert_find_parent_directory_containing_directory(
files=["a/b", "a/c/d/e", "a/f/d/e", "a/g/e"],
base="a/f/d",
target="c/d",
expected="a",
)
self.assert_find_parent_directory_containing_directory(
files=["a/b", "a/c/d/e", "a/f/d/e", "a/g/e"],
base="a/g",
target="d/e",
expected=None,
)
class FindGlobalRootTest(testslide.TestCase):
def assert_find_global_root(
self, files: Iterable[str], base: str, expected: Optional[str]
) -> None:
with tempfile.TemporaryDirectory() as root:
root_path = Path(root).resolve()
ensure_files_exist(root_path, files)
self.assertEqual(
find_global_root(root_path / base),
(root_path / expected) if expected is not None else None,
)
def test_find_global_root(self) -> None:
self.assert_find_global_root(
files=["a/b/.pyre_configuration", "a/b/c/d"], base="a/b/c", expected="a/b"
)
self.assert_find_global_root(
files=["a/b/c", "a/b/d/e"], base="a/b/d", expected=None
)
class FindGlobalAndLocalRootTest(testslide.TestCase):
@staticmethod
def to_found_root(
root_path: Path, expected: Union[None, str, Tuple[str, str]]
) -> Optional[FoundRoot]:
if expected is None:
return None
elif isinstance(expected, str):
return FoundRoot(root_path / expected)
elif isinstance(expected, tuple):
return FoundRoot(root_path / expected[0], root_path / expected[1])
else:
raise RuntimeError("Malformed argument passed to `expected`")
def assert_find_roots(
self,
files: Iterable[str],
base: str,
expected: Union[None, str, Tuple[str, str]],
) -> None:
with tempfile.TemporaryDirectory() as root:
root_path = Path(root).resolve()
ensure_files_exist(root_path, files)
self.assertEqual(
find_global_and_local_root(root_path / base),
self.to_found_root(root_path, expected),
)
def test_find_global_and_local_root(self) -> None:
self.assert_find_roots(files=["a/b/c"], base="a/b", expected=None)
self.assert_find_roots(
files=["a/.pyre_configuration", "a/b/c"], base="a/b", expected="a"
)
self.assert_find_roots(
files=["a/.pyre_configuration.local", "a/b/c"], base="a/b", expected=None
)
self.assert_find_roots(
files=[".pyre_configuration", "a/.pyre_configuration.local", "a/b/c"],
base="a/b",
expected=(".", "a"),
)
self.assert_find_roots(
files=[".pyre_configuration", "a/.pyre_configuration", "a/b/c"],
base="a/b",
expected="a",
)
self.assert_find_roots(
files=[".pyre_configuration.local", "a/.pyre_configuration", "a/b/c"],
base="a/b",
expected="a",
)
self.assert_find_roots(
files=[".pyre_configuration.local", "a/.pyre_configuration.local", "a/b/c"],
base="a/b",
expected=None,
)
self.assert_find_roots(
files=["a/.pyre_configuration", "a/b/.pyre_configuration.local", "a/c/d"],
base="a/c",
expected="a",
)
self.assert_find_roots(
files=["a/.pyre_configuration", "a/b/.pyre_configuration.local", "a/c/d"],
base="a/b",
expected=("a", "a/b"),
)
self.assert_find_roots(
files=["a/.pyre_configuration", "a/b/.pyre_configuration.local", "a/c/d"],
base="a",
expected="a",
)
self.assert_find_roots(
files=["a/.pyre_configuration", "a/b/.pyre_configuration.local", "a/c/d"],
base=".",
expected=None,
)
class FindTypeshedTest(testslide.TestCase):
def test_find_typeshed_search_paths__no_third_party(self) -> None:
self.maxDiff = None
with tempfile.TemporaryDirectory() as root:
root_path = Path(root)
ensure_directories_exists(root_path, ["stdlib"])
ensure_files_exist(root_path, ["stubs"])
self.assertListEqual(
find_typeshed_search_paths(root_path),
[root_path / subdirectory for subdirectory in ["stdlib"]],
)
def test_find_typeshed_search_paths__with_third_party(self) -> None:
self.maxDiff = None
with tempfile.TemporaryDirectory() as root:
root_path = Path(root)
ensure_directories_exists(root_path, ["stdlib", "stubs/foo", "stubs/bar"])
self.assertListEqual(
find_typeshed_search_paths(root_path),
[
root_path / subdirectory
for subdirectory in ["stdlib", "stubs/bar", "stubs/foo"]
],
)
| 38.331719 | 88 | 0.565599 | 1,979 | 15,831 | 4.283477 | 0.059626 | 0.024065 | 0.09744 | 0.184735 | 0.857615 | 0.804294 | 0.787661 | 0.768196 | 0.745665 | 0.733986 | 0 | 0.000177 | 0.286905 | 15,831 | 412 | 89 | 38.424757 | 0.750731 | 0.01137 | 0 | 0.460705 | 0 | 0 | 0.102525 | 0.026654 | 0 | 0 | 0 | 0 | 0.211382 | 1 | 0.03523 | false | 0.00271 | 0.01626 | 0 | 0.075881 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
86bd52f51b8f6d7e69a18bae1eb47ba3047e4b43 | 17,544 | py | Python | GCMC/initial_structures.py | VlachosGroup/Pdn-CO-Stability | 4f7f1af7091f9ee49d4d3ac213b2f1ee8fce65c4 | [
"MIT"
] | null | null | null | GCMC/initial_structures.py | VlachosGroup/Pdn-CO-Stability | 4f7f1af7091f9ee49d4d3ac213b2f1ee8fce65c4 | [
"MIT"
] | null | null | null | GCMC/initial_structures.py | VlachosGroup/Pdn-CO-Stability | 4f7f1af7091f9ee49d4d3ac213b2f1ee8fce65c4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Fri Mar 6 10:55:13 2020
@author: Yifan Wang
"""
"""
Initial optimal structures
"""
import os
import sys
import pandas as pd
import numpy as np
import time
import platform
HomePath = os.path.expanduser('~')
ProjectPath = os.path.join(HomePath, 'Documents', 'GitHub', 'Pdn-CO-Stability')
if platform.system() == 'Linux':
ProjectPath = '/work/ccei_biomass/users/wangyf/cluster_project/CE_opt'
# CO binding model directory
binding_path = os.path.join(ProjectPath, 'CO-CE')
# Energy model directory
energy_path = os.path.join(ProjectPath, 'Pdn-CE')
# LASSO model directory
selected_batches = [0, 1, 2, 3]
lasso_model_name = 'lasso' + '_' + ''.join(str(i) for i in selected_batches)
lasso_path = os.path.join(energy_path, lasso_model_name)
lasso_file = os.path.join(lasso_path, lasso_model_name + '.p')
sys.path.append(binding_path)
sys.path.append(energy_path)
import energy_functions as energy
import binding_functions as binding
from generate_clusters_super_cell import super_mother
from set_ce_lattice import dz
from ase.visualize import view
local_view_flag = False
'''
Load energy object
'''
Pdn = energy.Pdn(lasso_file, mother = super_mother, super_cell_flag = local_view_flag)
def create_single_atom_structure(npd, seed = 0):
"""Create initial structure with nPd atoms on the support, n <= 25
"""
# set random seed
np.random.seed(seed)
# Create an random SAC based individual
# the index for base layer atoms in super cell
pd_base_indices = np.where(super_mother[:,2] == dz)[0]
pd_atom_separate_indices = [500, 502, 504, 551, 553, 510, 512, 514, 561, 563, 520, 522, 524, 571, 573, 530, 532, 534, 581, 583, 540, 542, 544, 591, 593]
pd_sa_separate_indices = sorted([pd_base_indices[i-500] for i in pd_atom_separate_indices])
pd_base_occ_indices = np.unique(np.random.choice(pd_sa_separate_indices, npd, replace = False))
# Initialize the Pd individual configuration in one hot encoding
pdx = np.zeros(len(super_mother),dtype = int)
pdx[pd_base_occ_indices] = 1
return list(pdx)
def view_config(pdn_config, view_flag = True):
"""
View the configuration in ASE object
"""
pdn_atoms, _ = energy.append_support(pdn_config, super_mother, view_flag = local_view_flag)
if view_flag: view(pdn_atoms)
return pdn_atoms
def view_pdx(pdx, view_flag = True):
"""
View the configuration in ASE object
"""
pdn_config = energy.one_hot_to_index(pdx)
pdn_atoms, _ = energy.append_support(pdn_config, super_mother, view_flag = local_view_flag)
if view_flag: view(pdn_atoms)
return pdn_atoms
#%% Create individual clusters
# n = 1
# pd single
pd1 = create_single_atom_structure(1, seed = 0)
pd1_config = energy.one_hot_to_index(pd1)
#view_config(pd1_config)
# n = 2
# pd2
pd2 = list(energy.index_to_one_hot([678,679], len(super_mother)))
pd2_config = energy.one_hot_to_index(pd2)
#view_config(pd2_config)
#pd2 single
pd2s = create_single_atom_structure(2, seed = 0)
pd2s_config = energy.one_hot_to_index(pd2s)
#view_config(pd2s_config)
# n = 3
# pd3
pd3 = list(energy.index_to_one_hot([678,679,683], len(super_mother)))
pd3_config = energy.one_hot_to_index(pd3)
#view_config(pd3_config)
# pd2+1
pd3_2_1 = list(energy.index_to_one_hot([678,679,226], len(super_mother)))
pd3_2_1_config = energy.one_hot_to_index(pd3_2_1)
#view_config(pd3_2_1_config)
# pd3 single
pd3s = create_single_atom_structure(3, seed = 0)
pd3s_config = energy.one_hot_to_index(pd3s)
#view_config(pd3s_config)
# n = 4
# pd4-3d
pd4_3d = list(energy.index_to_one_hot([678,682,683,708], len(super_mother)))
pd4_3d_config = energy.one_hot_to_index(pd4_3d)
#view_config(pd4_3d_config)
# pd4-2d
pd4_2d = list(energy.index_to_one_hot([678,679,682,683], len(super_mother)))
pd4_2d_config = energy.one_hot_to_index(pd4_2d)
#view_config(pd4_2d_config)
# pd2+2
pd4_2_2 = list(energy.index_to_one_hot([678,682, 226, 227], len(super_mother)))
pd4_2_2_config = energy.one_hot_to_index(pd4_2_2)
#view_config(pd4_2_2_config)
# pd3+1
pd4_3_1 = list(energy.index_to_one_hot([678,679,683,226], len(super_mother)))
pd4_3_1_config = energy.one_hot_to_index(pd4_3_1)
#view_config(pd4_3_1_config)
# pd4 - single
pd4s = create_single_atom_structure(4, seed = 0)
pd4s_config = energy.one_hot_to_index(pd4s)
#view_config(pd4s_config)
pd4_config_all = [pd4_3d, pd4_2d]
# n = 5
# pd5-3d
pd5_3d = list(energy.index_to_one_hot([678,679, 682, 683, 708], len(super_mother)))
pd5_3d_config = energy.one_hot_to_index(pd5_3d)
#view_config(pd5_3d_config)
# pd5-2d
pd5_2d = list(energy.index_to_one_hot([678,679, 682, 683, 677], len(super_mother)))
pd5_2d_config = energy.one_hot_to_index(pd5_2d)
#view_config(pd5_2d_config)
# pd6_2d
pd6_2d = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
pd6_2d_config = energy.one_hot_to_index(pd6_2d)
#view_config(pd6_2d_config)
pdn_small_config = [pd1, pd2, pd3, pd4_3d, pd4_2d, pd5_3d, pd5_2d]
#%%
pd13_1layer_config = [226, 227, 228, 229, 231, 232, 233, 234, 236, 237, 238, 239, 241]
pd13_1layer= list(energy.index_to_one_hot(pd13_1layer_config, len(super_mother)))
#%%
# pd19 stable
pd19_stable = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
pd19_stable_config = energy.one_hot_to_index(pd19_stable)
#view_config(pd19_stable_config)
# pd19 stable + pd1 (pd single)
pd20_19stable_1 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
pd20_19stable_1_config = energy.one_hot_to_index(pd20_19stable_1)
#view_config(pd20_19stable_1_config)
# pd20 stable
pd20 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
pd20_config = energy.one_hot_to_index(pd20)
#view_config(pd20_config)
# pd20 single
pd20s = create_single_atom_structure(20, seed = 0)
pd20s_config = energy.one_hot_to_index(pd20s)
#view_config(pd20s_config)
# pd20 creared by taking one from pd20 stable + pd1
pd20_19_1_config = pd20_config[:-1] + pd1_config
pd20_19_1 = list(energy.index_to_one_hot(pd20_19_1_config, len(super_mother)))
#view_config(pd20_19_1_config)
# pd20 one layer 5 by 4
pd20_1layer_config = [225,226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244]
pd20_1layer = list(energy.index_to_one_hot(pd20_1layer_config, len(super_mother)))
pd19_20_config = [pd20, pd19_stable]
pdn_all_config = pdn_small_config + pd19_20_config
#%%
OutputPath = os.path.join(os.getcwd(), 'initial structures')
if not os.path.exists(OutputPath): os.makedirs(OutputPath)
pd4_name_list = ['pd4_3d', 'pd4_2d', 'pd4_2_2', 'pd4_3_1', 'pd4s']
pd20_name_list = ['pd20', 'pd20_19_1', 'pd20_19stable_1', 'pd20']
# save the configurations as POV
if __name__ == "__main__":
for name_i, config_i in zip(pd4_name_list+pd20_name_list, pd4_config_all+pd19_20_config):
atoms_i = view_pdx(config_i, view_flag = False)
binding.save_POV(Pdi = name_i, index = 0, atoms = atoms_i, output_dir= OutputPath)
| 74.974359 | 2,718 | 0.490823 | 4,738 | 17,544 | 1.731954 | 0.047066 | 0.854253 | 1.271874 | 1.687058 | 0.608335 | 0.598099 | 0.561906 | 0.511942 | 0.500853 | 0.488545 | 0 | 0.323466 | 0.258664 | 17,544 | 234 | 2,719 | 74.974359 | 0.307473 | 0.073643 | 0 | 0.061856 | 0 | 0 | 0.012303 | 0.003355 | 0.010309 | 0 | 0 | 0 | 0 | 1 | 0.030928 | false | 0 | 0.113402 | 0 | 0.175258 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
811c4c11377d4c7c40ca46c562bf1b40f9c614e2 | 14,968 | py | Python | master-node-docker/sentinel/node/stats.py | 14avengers/sentinel | 825768d2242ad28896c41684bc08e8527cdf2f30 | [
"MIT"
] | null | null | null | master-node-docker/sentinel/node/stats.py | 14avengers/sentinel | 825768d2242ad28896c41684bc08e8527cdf2f30 | [
"MIT"
] | null | null | null | master-node-docker/sentinel/node/stats.py | 14avengers/sentinel | 825768d2242ad28896c41684bc08e8527cdf2f30 | [
"MIT"
] | null | null | null | # coding=utf-8
import datetime
import json
import time
import falcon
from ..db import db
class GetDailyDataCount(object):
def on_get(self, req, resp):
daily_count = []
output = db.connections.find({'server_usage': {'$exists': True}})
result = db.connections.aggregate([{
'$project': {
'total': {
'$add': [
datetime.datetime(1970, 1, 1), {
'$multiply': ['$start_time', 1000]
}
]
},
'data': '$server_usage.down'
}
}, {
'$group': {
'_id': {
'$dateToString': {
'format': '%d/%m/%Y',
'date': '$total'
}
},
'dataCount': {
'$sum': '$data'
}
}
}, {
'$sort': {
'_id': 1
}
}])
for doc in result:
daily_count.append(doc)
message = {'success': True, 'stats': daily_count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetTotalDataCount(object):
def on_get(self, req, resp):
total_count = []
result = db.connections.aggregate([{
'$group': {
'_id': None,
'Total': {
'$sum': '$server_usage.down'
}
}
}])
for doc in result:
total_count.append(doc)
message = {'success': True, 'stats': total_count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetLastDataCount(object):
def on_get(self, req, resp):
total_count = []
result = db.connections.aggregate([
{'$match': {'start_time': {'$gte': time.time() - (24 * 60 * 60)}}},
{
'$group': {
'_id': None,
'Total': {
'$sum': '$server_usage.down'
}
}
}])
for doc in result:
total_count.append(doc)
message = {'success': True, 'stats': total_count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetDailyNodeCount(object):
def on_get(self, req, resp):
daily_count = []
result = db.nodes.aggregate([{
'$project': {
'total': {
'$add': [
datetime.datetime(1970, 1, 1), {
'$multiply': ['$joined_on', 1000]
}
]
}
}
}, {
'$group': {
'_id': {
'$dateToString': {
'format': '%d/%m/%Y',
'date': '$total'
}
},
'nodesCount': {
'$sum': 1
}
}
}, {
'$sort': {
'_id': 1
}
}])
for doc in result:
daily_count.append(doc)
message = {'success': True, 'stats': daily_count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetTotalNodeCount(object):
def on_get(self, req, resp):
daily_count = []
result = db.statistics.aggregate([{
'$project': {
'total': {
'$add': [
datetime.datetime(1970, 1, 1), {
'$multiply': ['$timestamp', 1000]
}
]
},
'nodes': '$nodes.total'
}
}, {
'$group': {
'_id': {
'$dateToString': {
'format': '%d/%m/%Y',
'date': '$total'
}
},
'nodesCount': {
'$sum': '$nodes'
}
}
}, {
'$sort': {
'_id': 1
}
}])
for doc in result:
daily_count.append(doc)
message = {'success': True, 'stats': daily_count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetDailyActiveNodeCount(object):
def on_get(self, req, resp):
daily_count = []
result = db.statistics.aggregate([{
'$project': {
'total': {
'$add': [
datetime.datetime(1970, 1, 1), {
'$multiply': ['$timestamp', 1000]
}
]
},
'nodes': '$nodes.up'
}
}, {
'$group': {
'_id': {
'$dateToString': {
'format': '%d/%m/%Y',
'date': '$total'
}
},
'nodesCount': {
'$sum': '$nodes'
}
}
}, {
'$sort': {
'_id': 1
}
}])
for doc in result:
daily_count.append(doc)
message = {'success': True, 'stats': daily_count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetAverageNodesCount(object):
def on_get(self, req, resp):
avg_count = []
result = db.nodes.aggregate([{
'$group': {
'_id': None,
'olddate': {
'$min': "$joined_on"
},
'newdate': {
'$max': "$joined_on"
},
"SUM": {
'$sum': 1
}
}
}, {
'$project': {
'_id': 0,
'Average': {
'$divide': [
"$SUM", {
'$divide': [{
"$subtract": ["$newdate", "$olddate"]
}, 24 * 60 * 60]
}
]
}
}
}])
for doc in result:
avg_count.append(doc)
message = {'success': True, 'average': avg_count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetActiveNodeCount(object):
def on_get(self, req, resp):
count = db.nodes.find({'vpn.status': 'up'}).count()
message = {'success': True, 'count': count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetDailySessionCount(object):
def on_get(self, req, resp):
daily_count = []
result = db.connections.aggregate([{
'$project': {
'total': {
'$add': [
datetime.datetime(1970, 1, 1), {
'$multiply': ['$start_time', 1000]
}
]
}
}
}, {
'$group': {
'_id': {
'$dateToString': {
'format': '%d/%m/%Y',
'date': '$total'
}
},
'sessionsCount': {
'$sum': 1
}
}
}, {
'$sort': {
'_id': 1
}
}])
for doc in result:
daily_count.append(doc)
message = {'success': True, 'stats': daily_count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetAverageSessionsCount(object):
def on_get(self, req, resp):
avg_count = []
result = db.connections.aggregate([{
'$group': {
'_id': None,
'olddate': {
'$min': "$start_time"
},
'newdate': {
'$max': "$start_time"
},
"SUM": {
'$sum': 1
}
}
}, {
'$project': {
'_id': 0,
'Average Sessions': {
'$divide': [
"$SUM", {
'$divide': [{
"$subtract": ["$newdate", "$olddate"]
}, 24 * 60 * 60]
}
]
}
}
}])
for doc in result:
avg_count.append(doc)
message = {'success': True, 'average': avg_count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetActiveSessionCount(object):
def on_get(self, req, resp):
count = db.connections.find({'end_time': None}).count()
message = {'success': True, 'count': count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetDailyDurationCount(object):
def on_get(self, req, resp):
daily_count = []
result = db.connections.aggregate([{
'$project': {
'total': {
'$add': [
datetime.datetime(1970, 1, 1), {
'$multiply': ['$start_time', 1000]
}
]
},
'start': '$start_time',
'end': {
'$cond': [{
'$eq': ['$end_time', None]
},
int(time.time()), '$end_time']
}
}
}, {
'$group': {
'_id': {
'$dateToString': {
'format': '%d/%m/%Y',
'date': '$total'
}
},
'durationCount': {
'$sum': {
'$subtract': ['$end', '$start']
}
}
}
}, {
'$sort': {
'_id': 1
}
}])
for doc in result:
daily_count.append(doc)
message = {'success': True, 'stats': daily_count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetDailyAverageDuration(object):
def on_get(self, req, resp):
daily_count = []
result = db.connections.aggregate([{
'$project': {
'total': {
'$add': [datetime.datetime(1970, 1, 1), {
'$multiply': ['$start_time', 1000]}
]},
'Sum': {'$sum': {
'$subtract': [
{'$cond': [
{'$eq': ['$end_time', None]},
int(time.time()),
'$end_time']
},
'$start_time'
]}
}}
}, {
'$group': {
'_id': {'$dateToString': {'format': '%d/%m/%Y', 'date': '$total'}},
'Average': {'$avg': '$Sum'}}
}, {
'$sort': {'_id': 1}
}
])
for doc in result:
daily_count.append(doc)
message = {'success': True, 'stats': daily_count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetAverageDuration(object):
def on_get(self, req, resp):
avg_count = []
result = db.connections.aggregate([{
'$project': {
'Sum': {
'$sum': {
'$subtract': [{
'$cond': [{
'$eq': ['$end_time', None]
},
int(time.time()), '$end_time']
}, '$start_time']
}
}
}
}, {
'$group': {
'_id': None,
'Average': {
'$avg': '$Sum'
}
}
}])
for doc in result:
avg_count.append(doc)
message = {'success': True, 'average': avg_count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetLastAverageDuration(object):
def on_get(self, req, resp):
avg_count = []
result = db.connections.aggregate([
{'$match': {'start_time': {'$gte': time.time() - (24 * 60 * 60)}}},
{
'$project': {
'Sum': {
'$sum': {
'$subtract': [{
'$cond': [{
'$eq': ['$end_time', None]
},
int(time.time()), '$end_time']
}, '$start_time']
}
}
}
}, {
'$group': {
'_id': None,
'Average': {
'$avg': '$Sum'
}
}
}])
for doc in result:
avg_count.append(doc)
message = {'success': True, 'average': avg_count}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
class GetNodeStatistics(object):
def on_get(self, req, resp):
account_addr = str(req.get_param('addr'))
result = db.connections.aggregate([{
'$match': {
'vpn_addr': account_addr
}
}, {
'$group': {
'_id': '$vpn_addr',
'sessions_count': {
'$sum': 1
},
'active_sessions': {
'$sum': {
'$cond': [{
'$or': [{
'$eq': ['$end_time', None]
}, {
'$eq': ['$end_time', None]
}]
}, 1, 0]
}
},
'download': {
'$sum': '$server_usage.down'
},
'upload': {
'$sum': '$server_usage.up'
}
}
}])
message = {'success': True, 'result': list(result)}
resp.status = falcon.HTTP_200
resp.body = json.dumps(message)
| 27.264117 | 83 | 0.335649 | 1,029 | 14,968 | 4.753158 | 0.111759 | 0.042936 | 0.035984 | 0.045798 | 0.821509 | 0.812717 | 0.804539 | 0.789614 | 0.787365 | 0.759558 | 0 | 0.022413 | 0.526056 | 14,968 | 548 | 84 | 27.313869 | 0.667043 | 0.000802 | 0 | 0.641189 | 0 | 0 | 0.124181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03397 | false | 0 | 0.010616 | 0 | 0.078556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 7 |
be0f53a07b53502de8c375d355e80bac73c45075 | 1,572 | py | Python | tests/features/imports_test.py | asottile/add-trailing-comma | dbc63adb9faaa48d87153f746bc47eec35ef211f | [
"MIT"
] | 238 | 2017-07-10T01:33:41.000Z | 2022-03-31T07:05:29.000Z | tests/features/imports_test.py | asottile/add-trailing-comma | dbc63adb9faaa48d87153f746bc47eec35ef211f | [
"MIT"
] | 54 | 2017-07-10T01:56:24.000Z | 2022-03-30T22:42:40.000Z | tests/features/imports_test.py | asottile/add-trailing-comma | dbc63adb9faaa48d87153f746bc47eec35ef211f | [
"MIT"
] | 29 | 2017-07-10T01:53:11.000Z | 2022-03-01T17:49:09.000Z | import pytest
from add_trailing_comma._main import _fix_src
@pytest.mark.parametrize(
'src',
(
'from os import path, makedirs\n',
'from os import (path, makedirs)\n',
'from os import (\n'
' path,\n'
' makedirs,\n'
')',
),
)
def test_fix_from_import_noop(src):
assert _fix_src(src, min_version=(2, 7)) == src
@pytest.mark.parametrize(
('src', 'expected'),
(
(
'from os import (\n'
' makedirs,\n'
' path\n'
')',
'from os import (\n'
' makedirs,\n'
' path,\n'
')',
),
(
'from os import \\\n'
' (\n'
' path,\n'
' makedirs\n'
' )\n',
'from os import \\\n'
' (\n'
' path,\n'
' makedirs,\n'
' )\n',
),
(
'from os import (\n'
' makedirs,\n'
' path,\n'
' )',
'from os import (\n'
' makedirs,\n'
' path,\n'
')',
),
(
'if True:\n'
' from os import (\n'
' makedirs\n'
' )',
'if True:\n'
' from os import (\n'
' makedirs,\n'
' )',
),
),
)
def test_fix_from_import(src, expected):
assert _fix_src(src, min_version=(2, 7)) == expected
| 22.457143 | 56 | 0.347328 | 141 | 1,572 | 3.744681 | 0.184397 | 0.125 | 0.25 | 0.221591 | 0.850379 | 0.738636 | 0.738636 | 0.738636 | 0.541667 | 0.424242 | 0 | 0.005155 | 0.506361 | 1,572 | 69 | 57 | 22.782609 | 0.675258 | 0 | 0 | 0.703125 | 0 | 0 | 0.347328 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 1 | 0.03125 | false | 0 | 0.234375 | 0 | 0.265625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 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 | 8 |
0774a270a5f1f7601288fdd1dd2a165969fea6e4 | 728 | py | Python | rmidi/constant/sys_event_formatx.py | rushike/rmidipy | 7d80dc2cc584cb2e8b8df0eeedc34e9e11ab0de7 | [
"MIT"
] | 5 | 2019-11-30T11:12:14.000Z | 2021-08-15T00:47:23.000Z | rmidi/constant/sys_event_formatx.py | rushike/rmidipy | 7d80dc2cc584cb2e8b8df0eeedc34e9e11ab0de7 | [
"MIT"
] | 3 | 2020-03-14T04:45:38.000Z | 2020-05-31T15:07:13.000Z | rmidi/constant/sys_event_formatx.py | rushike/rmidipy | 7d80dc2cc584cb2e8b8df0eeedc34e9e11ab0de7 | [
"MIT"
] | null | null | null | # X = {
# "240": {
# "id": 240,
# "name": "normal_sys_event",
# "length": -1,
# "params": "data",
# "dtype": "int",
# "mask": 128
# },
# "247": {
# "id": 247,
# "name": "authorization_sys_event",
# "length": -1,
# "params": "data",
# "dtype": "int",
# "mask": 256
# }
# }
X = {
240: {
"id": 240,
"name": "normal_sys_event",
"length": -1,
"params": "data",
"dtype": "int",
"mask": 128
},
247: {
"id": 247,
"name": "authorization_sys_event",
"length": -1,
"params": "data",
"dtype": "int",
"mask": 256
}
} | 19.675676 | 44 | 0.351648 | 62 | 728 | 4 | 0.290323 | 0.129032 | 0.225806 | 0.241935 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.095694 | 0.425824 | 728 | 37 | 45 | 19.675676 | 0.497608 | 0.476648 | 0 | 0.333333 | 0 | 0 | 0.294766 | 0.063361 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
07acf7ccd423cb90c55a3b3cf0f790ff82a71289 | 21,355 | py | Python | cogs/button_roles.py | pogrammar/Lockdown-Life | 78896664770b5b94cb9a11f41174f795983138e4 | [
"MIT"
] | 4 | 2022-02-23T09:32:46.000Z | 2022-03-25T00:18:21.000Z | cogs/button_roles.py | pogrammar/Lockdown-Life | 78896664770b5b94cb9a11f41174f795983138e4 | [
"MIT"
] | null | null | null | cogs/button_roles.py | pogrammar/Lockdown-Life | 78896664770b5b94cb9a11f41174f795983138e4 | [
"MIT"
] | 1 | 2022-02-26T12:38:43.000Z | 2022-02-26T12:38:43.000Z | import discord
from discord.commands.core import slash_command
from discord.ext import commands
#--------------------------------------------AGE ROLES---------------------------------------------------------------------------
age_role_ids = [919921179769331712, 919921261721833524, 919921343452045352]
class RoleButtonAge(discord.ui.Button):
def __init__(self, role: discord.Role):
"""
A button for one role. `custom_id` is needed for persistent views.
"""
super().__init__(
label=role.name,
style=discord.enums.ButtonStyle.primary,
custom_id=str(role.id),
)
async def callback(self, interaction: discord.Interaction):
"""This function will be called any time a user clicks on this button.
Parameters
----------
interaction : discord.Interaction
The interaction object that was created when a user clicks on a button.
"""
# Figure out who clicked the button.
user = interaction.user
# Get the role this button is for (stored in the custom ID).
role = interaction.guild.get_role(int(self.custom_id))
if role is None:
# If the specified role does not exist, return nothing.
# Error handling could be done here.
return
# Add the role and send a response to the uesr ephemerally (hidden to other users).
if role not in user.roles:
# Give the user the role if they don't already have it.
await user.add_roles(role)
await interaction.response.send_message(f"🎉 You have been given the role {role.mention}", ephemeral=True)
else:
# Else, Take the role from the user
await user.remove_roles(role)
await interaction.response.send_message(
f"❌ The {role.mention} role has been taken from you", ephemeral=True
)
#--------------------------------------------Ping Roles---------------------------------------------------------------------------
ping_role_ids = [919969168789504011, 919968883757158431, 919968808700104744]
class RoleButtonPing(discord.ui.Button):
def __init__(self, role: discord.Role):
"""
A button for one role. `custom_id` is needed for persistent views.
"""
super().__init__(
label=role.name,
style=discord.enums.ButtonStyle.primary,
custom_id=str(role.id),
)
async def callback(self, interaction: discord.Interaction):
"""This function will be called any time a user clicks on this button.
Parameters
----------
interaction : discord.Interaction
The interaction object that was created when a user clicks on a button.
"""
# Figure out who clicked the button.
user = interaction.user
# Get the role this button is for (stored in the custom ID).
role = interaction.guild.get_role(int(self.custom_id))
if role is None:
# If the specified role does not exist, return nothing.
# Error handling could be done here.
return
# Add the role and send a response to the uesr ephemerally (hidden to other users).
if role not in user.roles:
# Give the user the role if they don't already have it.
await user.add_roles(role)
await interaction.response.send_message(f"🎉 You have been given the role {role.mention}", ephemeral=True)
else:
# Else, Take the role from the user
await user.remove_roles(role)
await interaction.response.send_message(
f"❌ The {role.mention} role has been taken from you", ephemeral=True
)
#--------------------------------------------Suggestion Roles---------------------------------------------------------------------------
suggestion_role_ids = [920715519710076948, 920715698739757127]
class RoleButtonSuggestion(discord.ui.Button):
def __init__(self, role: discord.Role):
"""
A button for one role. `custom_id` is needed for persistent views.
"""
super().__init__(
label=role.name,
style=discord.enums.ButtonStyle.primary,
custom_id=str(role.id),
)
async def callback(self, interaction: discord.Interaction):
"""This function will be called any time a user clicks on this button.
Parameters
----------
interaction : discord.Interaction
The interaction object that was created when a user clicks on a button.
"""
# Figure out who clicked the button.
user = interaction.user
# Get the role this button is for (stored in the custom ID).
role = interaction.guild.get_role(int(self.custom_id))
if role is None:
# If the specified role does not exist, return nothing.
# Error handling could be done here.
return
# Add the role and send a response to the uesr ephemerally (hidden to other users).
if role not in user.roles:
# Give the user the role if they don't already have it.
await user.add_roles(role)
await interaction.response.send_message(f"🎉 You have been given the role {role.mention}", ephemeral=True)
else:
# Else, Take the role from the user
await user.remove_roles(role)
await interaction.response.send_message(
f"❌ The {role.mention} role has been taken from you", ephemeral=True
)
#--------------------------------------------Anime Roles---------------------------------------------------------------------------
anime_role_ids = [929615457609191473]
class RoleButtonAnime(discord.ui.Button):
def __init__(self, role: discord.Role):
"""
A button for one role. `custom_id` is needed for persistent views.
"""
super().__init__(
label=role.name,
style=discord.enums.ButtonStyle.primary,
custom_id=str(role.id),
)
async def callback(self, interaction: discord.Interaction):
"""This function will be called any time a user clicks on this button.
Parameters
----------
interaction : discord.Interaction
The interaction object that was created when a user clicks on a button.
"""
# Figure out who clicked the button.
user = interaction.user
# Get the role this button is for (stored in the custom ID).
role = interaction.guild.get_role(int(self.custom_id))
if role is None:
# If the specified role does not exist, return nothing.
# Error handling could be done here.
return
# Add the role and send a response to the uesr ephemerally (hidden to other users).
if role not in user.roles:
# Give the user the role if they don't already have it.
await user.add_roles(role)
await interaction.response.send_message(f"🎉 You have been given the role {role.mention}", ephemeral=True)
else:
# Else, Take the role from the user
await user.remove_roles(role)
await interaction.response.send_message(
f"❌ The {role.mention} role has been taken from you", ephemeral=True
)
#--------------------------------------------indian Roles---------------------------------------------------------------------------
indian_role_ids = [931778093977313320]
class RoleButtonIndian(discord.ui.Button):
def __init__(self, role: discord.Role):
"""
A button for one role. `custom_id` is needed for persistent views.
"""
super().__init__(
label=role.name,
style=discord.enums.ButtonStyle.primary,
custom_id=str(role.id),
)
async def callback(self, interaction: discord.Interaction):
"""This function will be called any time a user clicks on this button.
Parameters
----------
interaction : discord.Interaction
The interaction object that was created when a user clicks on a button.
"""
# Figure out who clicked the button.
user = interaction.user
# Get the role this button is for (stored in the custom ID).
role = interaction.guild.get_role(int(self.custom_id))
if role is None:
# If the specified role does not exist, return nothing.
# Error handling could be done here.
return
# Add the role and send a response to the uesr ephemerally (hidden to other users).
if role not in user.roles:
# Give the user the role if they don't already have it.
await user.add_roles(role)
await interaction.response.send_message(f"🎉 You have been given the role {role.mention}", ephemeral=True)
else:
# Else, Take the role from the user
await user.remove_roles(role)
await interaction.response.send_message(
f"❌ The {role.mention} role has been taken from you", ephemeral=True
)
#--------------------------------------------Bot Roles---------------------------------------------------------------------------
bot_role_ids = [945965479816744961]
class RoleButtonBot(discord.ui.Button):
def __init__(self, role: discord.Role):
"""
A button for one role. `custom_id` is needed for persistent views.
"""
super().__init__(
label=role.name,
style=discord.enums.ButtonStyle.primary,
custom_id=str(role.id),
)
async def callback(self, interaction: discord.Interaction):
"""This function will be called any time a user clicks on this button.
Parameters
----------
interaction : discord.Interaction
The interaction object that was created when a user clicks on a button.
"""
# Figure out who clicked the button.
user = interaction.user
# Get the role this button is for (stored in the custom ID).
role = interaction.guild.get_role(int(self.custom_id))
if role is None:
# If the specified role does not exist, return nothing.
# Error handling could be done here.
return
# Add the role and send a response to the uesr ephemerally (hidden to other users).
if role not in user.roles:
# Give the user the role if they don't already have it.
await user.add_roles(role)
await interaction.response.send_message(f"🎉 You have been given the role {role.mention}", ephemeral=True)
else:
# Else, Take the role from the user
await user.remove_roles(role)
await interaction.response.send_message(
f"❌ The {role.mention} role has been taken from you", ephemeral=True
)
#--------------------------------------------Gender Roles---------------------------------------------------------------------------
gender_role_ids = [953386730357141575, 953386719628128276, 953386828914892890]
class RoleButtonGender(discord.ui.Button):
def __init__(self, role: discord.Role):
"""
A button for one role. `custom_id` is needed for persistent views.
"""
super().__init__(
label=role.name,
style=discord.enums.ButtonStyle.primary,
custom_id=str(role.id),
)
async def callback(self, interaction: discord.Interaction):
"""This function will be called any time a user clicks on this button.
Parameters
----------
interaction : discord.Interaction
The interaction object that was created when a user clicks on a button.
"""
# Figure out who clicked the button.
user = interaction.user
# Get the role this button is for (stored in the custom ID).
role = interaction.guild.get_role(int(self.custom_id))
if role is None:
# If the specified role does not exist, return nothing.
# Error handling could be done here.
return
# Add the role and send a response to the uesr ephemerally (hidden to other users).
if role not in user.roles:
# Give the user the role if they don't already have it.
await user.add_roles(role)
await interaction.response.send_message(f"🎉 You have been given the role {role.mention}", ephemeral=True)
else:
# Else, Take the role from the user
await user.remove_roles(role)
await interaction.response.send_message(
f"❌ The {role.mention} role has been taken from you", ephemeral=True
)
#--------------------------------------------Game Roles---------------------------------------------------------------------------
game_role_ids = [954080200239480833, 952950149678780486, 954080196951146516]
class RoleButtonGame(discord.ui.Button):
def __init__(self, role: discord.Role):
"""
A button for one role. `custom_id` is needed for persistent views.
"""
super().__init__(
label=role.name,
style=discord.enums.ButtonStyle.primary,
custom_id=str(role.id),
)
async def callback(self, interaction: discord.Interaction):
"""This function will be called any time a user clicks on this button.
Parameters
----------
interaction : discord.Interaction
The interaction object that was created when a user clicks on a button.
"""
# Figure out who clicked the button.
user = interaction.user
# Get the role this button is for (stored in the custom ID).
role = interaction.guild.get_role(int(self.custom_id))
if role is None:
# If the specified role does not exist, return nothing.
# Error handling could be done here.
return
# Add the role and send a response to the uesr ephemerally (hidden to other users).
if role not in user.roles:
# Give the user the role if they don't already have it.
await user.add_roles(role)
await interaction.response.send_message(f"🎉 You have been given the role {role.mention}", ephemeral=True)
else:
# Else, Take the role from the user
await user.remove_roles(role)
await interaction.response.send_message(
f"❌ The {role.mention} role has been taken from you", ephemeral=True
)
class ButtonRoleCog(commands.Cog):
"""A cog with a slash command for posting the message with buttons
and to initialize the view again when the bot is restarted.
"""
def __init__(self, bot):
self.bot = bot
# Make sure to provide a list of guild ids in the guild_ids kwarg argument.
@slash_command(guild_ids=[918748880705839105], description="Get the age roles")
async def rolesage(self, ctx: commands.Context):
"""Slash command to post a new view with a button for each role."""
embed = discord.Embed(title="Choose your age", description="<@&953386730357141575>\n<@&953386719628128276>\n<@&953386828914892890>")
# timeout is None because we want this view to be persistent.
view = discord.ui.View(timeout=None)
# Loop through the list of roles and add a new button to the view for each role.
for role_id in age_role_ids:
# Get the role from the guild by ID.
role = ctx.guild.get_role(role_id)
view.add_item(RoleButtonAge(role))
await ctx.respond(embed=embed, view=view)
@slash_command(guild_ids=[918748880705839105], description="Get the gender roles")
async def rolesgender(self, ctx: commands.Context):
embed = discord.Embed(title="Choose your gender", description="<@&953386730357141575>\n<@&953386719628128276>\n<@&953386828914892890>")
view = discord.ui.View(timeout=None)
for role_id in gender_role_ids:
role = ctx.guild.get_role(role_id)
view.add_item(RoleButtonGender(role))
await ctx.respond(embed=embed, view=view)
@slash_command(guild_ids=[918748880705839105], description="Get the ping roles")
async def rolesping(self, ctx: commands.Context):
embed = discord.Embed(title="Choose your ping frequency", description="<@&919969168789504011>\n<@&919968883757158431>\n<@&919968808700104744>")
view = discord.ui.View(timeout=None)
for role_id in ping_role_ids:
role = ctx.guild.get_role(role_id)
view.add_item(RoleButtonPing(role))
await ctx.respond(embed=embed, view=view)
@slash_command(guild_ids=[918748880705839105], description="Get the suggestion roles")
async def rolessuggestion(self, ctx: commands.Context):
embed = discord.Embed(title="Choose your advisory method", description="<@&920715519710076948>\n<@&920715698739757127>")
view = discord.ui.View(timeout=None)
for role_id in suggestion_role_ids:
role = ctx.guild.get_role(role_id)
view.add_item(RoleButtonSuggestion(role))
await ctx.respond(embed=embed, view=view)
@slash_command(guild_ids=[918748880705839105], description="Get the anime roles")
async def rolesanime(self, ctx: commands.Context):
embed = discord.Embed(title="Choose if you like anime", description="<@&929615457609191473>")
view = discord.ui.View(timeout=None)
for role_id in anime_role_ids:
role = ctx.guild.get_role(role_id)
view.add_item(RoleButtonAnime(role))
await ctx.respond(embed=embed, view=view)
@slash_command(guild_ids=[918748880705839105], description="Get the indian roles")
async def rolesindian(self, ctx: commands.Context):
embed = discord.Embed(title="Are you indian? choose this for festive roles <:pepeHmmm:919825231965720586>", description="<@&931778093977313320>")
view = discord.ui.View(timeout=None)
for role_id in indian_role_ids:
role = ctx.guild.get_role(role_id)
view.add_item(RoleButtonIndian(role))
await ctx.respond(embed=embed, view=view)
@slash_command(guild_ids=[918748880705839105], description="Get the bot roles")
async def rolesbot(self, ctx: commands.Context):
embed = discord.Embed(title="Dont shout at betches on pings now <:EEEEEEEE:948472349286621286>", description="<@&945965479816744961>")
view = discord.ui.View(timeout=None)
for role_id in bot_role_ids:
role = ctx.guild.get_role(role_id)
view.add_item(RoleButtonBot(role))
await ctx.respond(embed=embed, view=view)
@slash_command(guild_ids=[918748880705839105], description="Get the game roles")
async def rolesgame(self, ctx: commands.Context):
embed = discord.Embed(title="what are your favourite games?", description="<@&954080200239480833>\n<@&952950149678780486>\n<@&954080196951146516>")
view = discord.ui.View(timeout=None)
for role_id in game_role_ids:
role = ctx.guild.get_role(role_id)
view.add_item(RoleButtonGame(role))
await ctx.respond(embed=embed, view=view)
@commands.Cog.listener()
async def on_ready(self):
"""This method is called every time the bot restarts.
If a view was already created before (with the same custom IDs for buttons)
it will be loaded and the bot will start watching for button clicks again.
"""
# We recreate the view as we did in the /post command.
view = discord.ui.View(timeout=None)
# Make sure to set the guild ID here to whatever server you want the buttons in!
guild = self.bot.get_guild(918748880705839105)
for role_id in ping_role_ids:
role = guild.get_role(role_id)
view.add_item(RoleButtonPing(role))
for role_id in anime_role_ids:
role = guild.get_role(role_id)
view.add_item(RoleButtonAnime(role))
for role_id in indian_role_ids:
role = guild.get_role(role_id)
view.add_item(RoleButtonIndian(role))
for role_id in bot_role_ids:
role = guild.get_role(role_id)
view.add_item(RoleButtonBot(role))
for role_id in age_role_ids:
role = guild.get_role(role_id)
view.add_item(RoleButtonAge(role))
for role_id in suggestion_role_ids:
role = guild.get_role(role_id)
view.add_item(RoleButtonSuggestion(role))
for role_id in gender_role_ids:
role = guild.get_role(role_id)
view.add_item(RoleButtonGender(role))
for role_id in game_role_ids:
role = guild.get_role(role_id)
view.add_item(RoleButtonGame(role))
# Add the view to the bot so it will watch for button interactions.
self.bot.add_view(view)
def setup(bot):
bot.add_cog(ButtonRoleCog(bot)) | 40.292453 | 155 | 0.603653 | 2,612 | 21,355 | 4.839587 | 0.086141 | 0.027134 | 0.022783 | 0.016454 | 0.820346 | 0.820346 | 0.802785 | 0.802785 | 0.770192 | 0.766237 | 0 | 0.052036 | 0.271084 | 21,355 | 530 | 156 | 40.292453 | 0.759026 | 0.232779 | 0 | 0.747212 | 0 | 0 | 0.113943 | 0.032638 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037175 | false | 0 | 0.011152 | 0 | 0.111524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
07ef1ea797132967027e2ee9cb03d87880d15eb0 | 596 | py | Python | udb/forms.py | defzzd/UserDataBase-Heroku | cd41135db00b8ab8af60a40f4859f0cefb1ff4c5 | [
"MIT"
] | null | null | null | udb/forms.py | defzzd/UserDataBase-Heroku | cd41135db00b8ab8af60a40f4859f0cefb1ff4c5 | [
"MIT"
] | null | null | null | udb/forms.py | defzzd/UserDataBase-Heroku | cd41135db00b8ab8af60a40f4859f0cefb1ff4c5 | [
"MIT"
] | null | null | null | from django import forms
class CreateUserForm(forms.Form):
first_name = forms.CharField(label='First name', max_length=100)
last_name = forms.CharField(label='Last name', max_length=100, required=False)
email_address = forms.EmailField(label='Email address', max_length=100)
class EditUserForm(forms.Form):
first_name = forms.CharField(label='First name', max_length=100, required=False)
last_name = forms.CharField(label='Last name', max_length=100, required=False)
email_address = forms.EmailField(label='Email address', max_length=100, required=False)
| 39.733333 | 91 | 0.743289 | 80 | 596 | 5.3875 | 0.2625 | 0.12529 | 0.167053 | 0.213457 | 0.867749 | 0.837587 | 0.807425 | 0.807425 | 0.807425 | 0.807425 | 0 | 0.035088 | 0.139262 | 596 | 15 | 92 | 39.733333 | 0.805068 | 0 | 0 | 0.222222 | 0 | 0 | 0.107203 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 8 |
07f89a9d201d9c0453778e31f8b10933460ce09e | 216,646 | py | Python | tccli/services/vpc/vpc_client.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | tccli/services/vpc/vpc_client.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | tccli/services/vpc/vpc_client.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import json
import tccli.options_define as OptionsDefine
import tccli.format_output as FormatOutput
from tccli.nice_command import NiceCommand
import tccli.error_msg as ErrorMsg
import tccli.help_template as HelpTemplate
from tccli import __version__
from tccli.utils import Utils
from tccli.configure import Configure
from tencentcloud.common import credential
from tencentcloud.common.profile.http_profile import HttpProfile
from tencentcloud.common.profile.client_profile import ClientProfile
from tencentcloud.vpc.v20170312 import vpc_client as vpc_client_v20170312
from tencentcloud.vpc.v20170312 import models as models_v20170312
from tccli.services.vpc import v20170312
from tccli.services.vpc.v20170312 import help as v20170312_help
def doDownloadCustomerGatewayConfiguration(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DownloadCustomerGatewayConfiguration", g_param[OptionsDefine.Version])
return
param = {
"VpnGatewayId": Utils.try_to_json(argv, "--VpnGatewayId"),
"VpnConnectionId": Utils.try_to_json(argv, "--VpnConnectionId"),
"CustomerGatewayVendor": Utils.try_to_json(argv, "--CustomerGatewayVendor"),
"InterfaceName": Utils.try_to_json(argv, "--InterfaceName"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DownloadCustomerGatewayConfigurationRequest()
model.from_json_string(json.dumps(param))
rsp = client.DownloadCustomerGatewayConfiguration(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeCustomerGateways(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeCustomerGateways", g_param[OptionsDefine.Version])
return
param = {
"CustomerGatewayIds": Utils.try_to_json(argv, "--CustomerGatewayIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeCustomerGatewaysRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeCustomerGateways(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doReplaceSecurityGroupPolicy(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ReplaceSecurityGroupPolicy", g_param[OptionsDefine.Version])
return
param = {
"SecurityGroupId": Utils.try_to_json(argv, "--SecurityGroupId"),
"SecurityGroupPolicySet": Utils.try_to_json(argv, "--SecurityGroupPolicySet"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ReplaceSecurityGroupPolicyRequest()
model.from_json_string(json.dumps(param))
rsp = client.ReplaceSecurityGroupPolicy(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeServiceTemplateGroups(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeServiceTemplateGroups", g_param[OptionsDefine.Version])
return
param = {
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeServiceTemplateGroupsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeServiceTemplateGroups(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeRouteTables(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeRouteTables", g_param[OptionsDefine.Version])
return
param = {
"RouteTableIds": Utils.try_to_json(argv, "--RouteTableIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeRouteTablesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeRouteTables(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateBandwidthPackage(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateBandwidthPackage", g_param[OptionsDefine.Version])
return
param = {
"NetworkType": Utils.try_to_json(argv, "--NetworkType"),
"ChargeType": Utils.try_to_json(argv, "--ChargeType"),
"BandwidthPackageName": Utils.try_to_json(argv, "--BandwidthPackageName"),
"BandwidthPackageCount": Utils.try_to_json(argv, "--BandwidthPackageCount"),
"InternetMaxBandwidth": Utils.try_to_json(argv, "--InternetMaxBandwidth"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateBandwidthPackageRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateBandwidthPackage(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateRouteTable(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateRouteTable", g_param[OptionsDefine.Version])
return
param = {
"VpcId": Utils.try_to_json(argv, "--VpcId"),
"RouteTableName": Utils.try_to_json(argv, "--RouteTableName"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateRouteTableRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateRouteTable(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doReplaceRouteTableAssociation(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ReplaceRouteTableAssociation", g_param[OptionsDefine.Version])
return
param = {
"SubnetId": Utils.try_to_json(argv, "--SubnetId"),
"RouteTableId": Utils.try_to_json(argv, "--RouteTableId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ReplaceRouteTableAssociationRequest()
model.from_json_string(json.dumps(param))
rsp = client.ReplaceRouteTableAssociation(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doEnableCcnRoutes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("EnableCcnRoutes", g_param[OptionsDefine.Version])
return
param = {
"CcnId": Utils.try_to_json(argv, "--CcnId"),
"RouteIds": Utils.try_to_json(argv, "--RouteIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.EnableCcnRoutesRequest()
model.from_json_string(json.dumps(param))
rsp = client.EnableCcnRoutes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyServiceTemplateGroupAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyServiceTemplateGroupAttribute", g_param[OptionsDefine.Version])
return
param = {
"ServiceTemplateGroupId": Utils.try_to_json(argv, "--ServiceTemplateGroupId"),
"ServiceTemplateGroupName": Utils.try_to_json(argv, "--ServiceTemplateGroupName"),
"ServiceTemplateIds": Utils.try_to_json(argv, "--ServiceTemplateIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyServiceTemplateGroupAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyServiceTemplateGroupAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeCcnAttachedInstances(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeCcnAttachedInstances", g_param[OptionsDefine.Version])
return
param = {
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"CcnId": Utils.try_to_json(argv, "--CcnId"),
"OrderField": Utils.try_to_json(argv, "--OrderField"),
"OrderDirection": Utils.try_to_json(argv, "--OrderDirection"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeCcnAttachedInstancesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeCcnAttachedInstances(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doResetRoutes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ResetRoutes", g_param[OptionsDefine.Version])
return
param = {
"RouteTableId": Utils.try_to_json(argv, "--RouteTableId"),
"RouteTableName": Utils.try_to_json(argv, "--RouteTableName"),
"Routes": Utils.try_to_json(argv, "--Routes"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ResetRoutesRequest()
model.from_json_string(json.dumps(param))
rsp = client.ResetRoutes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyPrivateIpAddressesAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyPrivateIpAddressesAttribute", g_param[OptionsDefine.Version])
return
param = {
"NetworkInterfaceId": Utils.try_to_json(argv, "--NetworkInterfaceId"),
"PrivateIpAddresses": Utils.try_to_json(argv, "--PrivateIpAddresses"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyPrivateIpAddressesAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyPrivateIpAddressesAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeGatewayFlowMonitorDetail(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeGatewayFlowMonitorDetail", g_param[OptionsDefine.Version])
return
param = {
"TimePoint": Utils.try_to_json(argv, "--TimePoint"),
"VpnId": Utils.try_to_json(argv, "--VpnId"),
"DirectConnectGatewayId": Utils.try_to_json(argv, "--DirectConnectGatewayId"),
"PeeringConnectionId": Utils.try_to_json(argv, "--PeeringConnectionId"),
"NatId": Utils.try_to_json(argv, "--NatId"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
"OrderField": Utils.try_to_json(argv, "--OrderField"),
"OrderDirection": Utils.try_to_json(argv, "--OrderDirection"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeGatewayFlowMonitorDetailRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeGatewayFlowMonitorDetail(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteVpnConnection(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteVpnConnection", g_param[OptionsDefine.Version])
return
param = {
"VpnGatewayId": Utils.try_to_json(argv, "--VpnGatewayId"),
"VpnConnectionId": Utils.try_to_json(argv, "--VpnConnectionId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteVpnConnectionRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteVpnConnection(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyAddressTemplateGroupAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyAddressTemplateGroupAttribute", g_param[OptionsDefine.Version])
return
param = {
"AddressTemplateGroupId": Utils.try_to_json(argv, "--AddressTemplateGroupId"),
"AddressTemplateGroupName": Utils.try_to_json(argv, "--AddressTemplateGroupName"),
"AddressTemplateIds": Utils.try_to_json(argv, "--AddressTemplateIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyAddressTemplateGroupAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyAddressTemplateGroupAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeCustomerGatewayVendors(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeCustomerGatewayVendors", g_param[OptionsDefine.Version])
return
param = {
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeCustomerGatewayVendorsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeCustomerGatewayVendors(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeAddresses(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeAddresses", g_param[OptionsDefine.Version])
return
param = {
"AddressIds": Utils.try_to_json(argv, "--AddressIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeAddressesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeAddresses(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyServiceTemplateAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyServiceTemplateAttribute", g_param[OptionsDefine.Version])
return
param = {
"ServiceTemplateId": Utils.try_to_json(argv, "--ServiceTemplateId"),
"ServiceTemplateName": Utils.try_to_json(argv, "--ServiceTemplateName"),
"Services": Utils.try_to_json(argv, "--Services"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyServiceTemplateAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyServiceTemplateAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDetachCcnInstances(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DetachCcnInstances", g_param[OptionsDefine.Version])
return
param = {
"CcnId": Utils.try_to_json(argv, "--CcnId"),
"Instances": Utils.try_to_json(argv, "--Instances"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DetachCcnInstancesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DetachCcnInstances(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateDirectConnectGatewayCcnRoutes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateDirectConnectGatewayCcnRoutes", g_param[OptionsDefine.Version])
return
param = {
"DirectConnectGatewayId": Utils.try_to_json(argv, "--DirectConnectGatewayId"),
"Routes": Utils.try_to_json(argv, "--Routes"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateDirectConnectGatewayCcnRoutesRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateDirectConnectGatewayCcnRoutes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doRemoveBandwidthPackageResources(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("RemoveBandwidthPackageResources", g_param[OptionsDefine.Version])
return
param = {
"BandwidthPackageId": Utils.try_to_json(argv, "--BandwidthPackageId"),
"ResourceType": Utils.try_to_json(argv, "--ResourceType"),
"ResourceIds": Utils.try_to_json(argv, "--ResourceIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.RemoveBandwidthPackageResourcesRequest()
model.from_json_string(json.dumps(param))
rsp = client.RemoveBandwidthPackageResources(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doInquiryPriceRenewVpnGateway(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("InquiryPriceRenewVpnGateway", g_param[OptionsDefine.Version])
return
param = {
"VpnGatewayId": Utils.try_to_json(argv, "--VpnGatewayId"),
"InstanceChargePrepaid": Utils.try_to_json(argv, "--InstanceChargePrepaid"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.InquiryPriceRenewVpnGatewayRequest()
model.from_json_string(json.dumps(param))
rsp = client.InquiryPriceRenewVpnGateway(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doAssignPrivateIpAddresses(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("AssignPrivateIpAddresses", g_param[OptionsDefine.Version])
return
param = {
"NetworkInterfaceId": Utils.try_to_json(argv, "--NetworkInterfaceId"),
"PrivateIpAddresses": Utils.try_to_json(argv, "--PrivateIpAddresses"),
"SecondaryPrivateIpAddressCount": Utils.try_to_json(argv, "--SecondaryPrivateIpAddressCount"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.AssignPrivateIpAddressesRequest()
model.from_json_string(json.dumps(param))
rsp = client.AssignPrivateIpAddresses(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateSubnets(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateSubnets", g_param[OptionsDefine.Version])
return
param = {
"VpcId": Utils.try_to_json(argv, "--VpcId"),
"Subnets": Utils.try_to_json(argv, "--Subnets"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateSubnetsRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateSubnets(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeVpcs(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeVpcs", g_param[OptionsDefine.Version])
return
param = {
"VpcIds": Utils.try_to_json(argv, "--VpcIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeVpcsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeVpcs(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doInquiryPriceResetVpnGatewayInternetMaxBandwidth(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("InquiryPriceResetVpnGatewayInternetMaxBandwidth", g_param[OptionsDefine.Version])
return
param = {
"VpnGatewayId": Utils.try_to_json(argv, "--VpnGatewayId"),
"InternetMaxBandwidthOut": Utils.try_to_json(argv, "--InternetMaxBandwidthOut"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest()
model.from_json_string(json.dumps(param))
rsp = client.InquiryPriceResetVpnGatewayInternetMaxBandwidth(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteDirectConnectGatewayCcnRoutes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteDirectConnectGatewayCcnRoutes", g_param[OptionsDefine.Version])
return
param = {
"DirectConnectGatewayId": Utils.try_to_json(argv, "--DirectConnectGatewayId"),
"RouteIds": Utils.try_to_json(argv, "--RouteIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteDirectConnectGatewayCcnRoutesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteDirectConnectGatewayCcnRoutes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doRejectAttachCcnInstances(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("RejectAttachCcnInstances", g_param[OptionsDefine.Version])
return
param = {
"CcnId": Utils.try_to_json(argv, "--CcnId"),
"Instances": Utils.try_to_json(argv, "--Instances"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.RejectAttachCcnInstancesRequest()
model.from_json_string(json.dumps(param))
rsp = client.RejectAttachCcnInstances(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doMigrateNetworkInterface(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("MigrateNetworkInterface", g_param[OptionsDefine.Version])
return
param = {
"NetworkInterfaceId": Utils.try_to_json(argv, "--NetworkInterfaceId"),
"SourceInstanceId": Utils.try_to_json(argv, "--SourceInstanceId"),
"DestinationInstanceId": Utils.try_to_json(argv, "--DestinationInstanceId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.MigrateNetworkInterfaceRequest()
model.from_json_string(json.dumps(param))
rsp = client.MigrateNetworkInterface(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyAddressesBandwidth(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyAddressesBandwidth", g_param[OptionsDefine.Version])
return
param = {
"AddressIds": Utils.try_to_json(argv, "--AddressIds"),
"InternetMaxBandwidthOut": Utils.try_to_json(argv, "--InternetMaxBandwidthOut"),
"StartTime": Utils.try_to_json(argv, "--StartTime"),
"EndTime": Utils.try_to_json(argv, "--EndTime"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyAddressesBandwidthRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyAddressesBandwidth(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeVpnConnections(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeVpnConnections", g_param[OptionsDefine.Version])
return
param = {
"VpnConnectionIds": Utils.try_to_json(argv, "--VpnConnectionIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeVpnConnectionsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeVpnConnections(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateSubnet(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateSubnet", g_param[OptionsDefine.Version])
return
param = {
"VpcId": Utils.try_to_json(argv, "--VpcId"),
"SubnetName": Utils.try_to_json(argv, "--SubnetName"),
"CidrBlock": Utils.try_to_json(argv, "--CidrBlock"),
"Zone": Utils.try_to_json(argv, "--Zone"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateSubnetRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateSubnet(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyAddressTemplateAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyAddressTemplateAttribute", g_param[OptionsDefine.Version])
return
param = {
"AddressTemplateId": Utils.try_to_json(argv, "--AddressTemplateId"),
"AddressTemplateName": Utils.try_to_json(argv, "--AddressTemplateName"),
"Addresses": Utils.try_to_json(argv, "--Addresses"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyAddressTemplateAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyAddressTemplateAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doAcceptAttachCcnInstances(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("AcceptAttachCcnInstances", g_param[OptionsDefine.Version])
return
param = {
"CcnId": Utils.try_to_json(argv, "--CcnId"),
"Instances": Utils.try_to_json(argv, "--Instances"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.AcceptAttachCcnInstancesRequest()
model.from_json_string(json.dumps(param))
rsp = client.AcceptAttachCcnInstances(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteServiceTemplateGroup(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteServiceTemplateGroup", g_param[OptionsDefine.Version])
return
param = {
"ServiceTemplateGroupId": Utils.try_to_json(argv, "--ServiceTemplateGroupId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteServiceTemplateGroupRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteServiceTemplateGroup(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeIp6Translators(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeIp6Translators", g_param[OptionsDefine.Version])
return
param = {
"Ip6TranslatorIds": Utils.try_to_json(argv, "--Ip6TranslatorIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeIp6TranslatorsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeIp6Translators(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doResetAttachCcnInstances(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ResetAttachCcnInstances", g_param[OptionsDefine.Version])
return
param = {
"CcnId": Utils.try_to_json(argv, "--CcnId"),
"CcnUin": Utils.try_to_json(argv, "--CcnUin"),
"Instances": Utils.try_to_json(argv, "--Instances"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ResetAttachCcnInstancesRequest()
model.from_json_string(json.dumps(param))
rsp = client.ResetAttachCcnInstances(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateVpc(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateVpc", g_param[OptionsDefine.Version])
return
param = {
"VpcName": Utils.try_to_json(argv, "--VpcName"),
"CidrBlock": Utils.try_to_json(argv, "--CidrBlock"),
"EnableMulticast": Utils.try_to_json(argv, "--EnableMulticast"),
"DnsServers": Utils.try_to_json(argv, "--DnsServers"),
"DomainName": Utils.try_to_json(argv, "--DomainName"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateVpcRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateVpc(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyIp6Rule(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyIp6Rule", g_param[OptionsDefine.Version])
return
param = {
"Ip6TranslatorId": Utils.try_to_json(argv, "--Ip6TranslatorId"),
"Ip6RuleId": Utils.try_to_json(argv, "--Ip6RuleId"),
"Ip6RuleName": Utils.try_to_json(argv, "--Ip6RuleName"),
"Vip": Utils.try_to_json(argv, "--Vip"),
"Vport": Utils.try_to_json(argv, "--Vport"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyIp6RuleRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyIp6Rule(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doAddBandwidthPackageResources(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("AddBandwidthPackageResources", g_param[OptionsDefine.Version])
return
param = {
"ResourceIds": Utils.try_to_json(argv, "--ResourceIds"),
"BandwidthPackageId": Utils.try_to_json(argv, "--BandwidthPackageId"),
"NetworkType": Utils.try_to_json(argv, "--NetworkType"),
"ResourceType": Utils.try_to_json(argv, "--ResourceType"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.AddBandwidthPackageResourcesRequest()
model.from_json_string(json.dumps(param))
rsp = client.AddBandwidthPackageResources(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doAllocateAddresses(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("AllocateAddresses", g_param[OptionsDefine.Version])
return
param = {
"AddressCount": Utils.try_to_json(argv, "--AddressCount"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.AllocateAddressesRequest()
model.from_json_string(json.dumps(param))
rsp = client.AllocateAddresses(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doRenewVpnGateway(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("RenewVpnGateway", g_param[OptionsDefine.Version])
return
param = {
"VpnGatewayId": Utils.try_to_json(argv, "--VpnGatewayId"),
"InstanceChargePrepaid": Utils.try_to_json(argv, "--InstanceChargePrepaid"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.RenewVpnGatewayRequest()
model.from_json_string(json.dumps(param))
rsp = client.RenewVpnGateway(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doAttachCcnInstances(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("AttachCcnInstances", g_param[OptionsDefine.Version])
return
param = {
"CcnId": Utils.try_to_json(argv, "--CcnId"),
"Instances": Utils.try_to_json(argv, "--Instances"),
"CcnUin": Utils.try_to_json(argv, "--CcnUin"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.AttachCcnInstancesRequest()
model.from_json_string(json.dumps(param))
rsp = client.AttachCcnInstances(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doAssociateAddress(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("AssociateAddress", g_param[OptionsDefine.Version])
return
param = {
"AddressId": Utils.try_to_json(argv, "--AddressId"),
"InstanceId": Utils.try_to_json(argv, "--InstanceId"),
"NetworkInterfaceId": Utils.try_to_json(argv, "--NetworkInterfaceId"),
"PrivateIpAddress": Utils.try_to_json(argv, "--PrivateIpAddress"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.AssociateAddressRequest()
model.from_json_string(json.dumps(param))
rsp = client.AssociateAddress(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteCustomerGateway(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteCustomerGateway", g_param[OptionsDefine.Version])
return
param = {
"CustomerGatewayId": Utils.try_to_json(argv, "--CustomerGatewayId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteCustomerGatewayRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteCustomerGateway(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteSubnet(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteSubnet", g_param[OptionsDefine.Version])
return
param = {
"SubnetId": Utils.try_to_json(argv, "--SubnetId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteSubnetRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteSubnet(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doAttachClassicLinkVpc(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("AttachClassicLinkVpc", g_param[OptionsDefine.Version])
return
param = {
"VpcId": Utils.try_to_json(argv, "--VpcId"),
"InstanceIds": Utils.try_to_json(argv, "--InstanceIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.AttachClassicLinkVpcRequest()
model.from_json_string(json.dumps(param))
rsp = client.AttachClassicLinkVpc(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteDirectConnectGateway(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteDirectConnectGateway", g_param[OptionsDefine.Version])
return
param = {
"DirectConnectGatewayId": Utils.try_to_json(argv, "--DirectConnectGatewayId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteDirectConnectGatewayRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteDirectConnectGateway(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeDirectConnectGatewayCcnRoutes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeDirectConnectGatewayCcnRoutes", g_param[OptionsDefine.Version])
return
param = {
"DirectConnectGatewayId": Utils.try_to_json(argv, "--DirectConnectGatewayId"),
"CcnRouteType": Utils.try_to_json(argv, "--CcnRouteType"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeDirectConnectGatewayCcnRoutesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeDirectConnectGatewayCcnRoutes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateNetworkInterface(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateNetworkInterface", g_param[OptionsDefine.Version])
return
param = {
"VpcId": Utils.try_to_json(argv, "--VpcId"),
"NetworkInterfaceName": Utils.try_to_json(argv, "--NetworkInterfaceName"),
"SubnetId": Utils.try_to_json(argv, "--SubnetId"),
"NetworkInterfaceDescription": Utils.try_to_json(argv, "--NetworkInterfaceDescription"),
"SecondaryPrivateIpAddressCount": Utils.try_to_json(argv, "--SecondaryPrivateIpAddressCount"),
"SecurityGroupIds": Utils.try_to_json(argv, "--SecurityGroupIds"),
"PrivateIpAddresses": Utils.try_to_json(argv, "--PrivateIpAddresses"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateNetworkInterfaceRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateNetworkInterface(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteBandwidthPackage(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteBandwidthPackage", g_param[OptionsDefine.Version])
return
param = {
"BandwidthPackageId": Utils.try_to_json(argv, "--BandwidthPackageId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteBandwidthPackageRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteBandwidthPackage(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifySecurityGroupPolicies(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifySecurityGroupPolicies", g_param[OptionsDefine.Version])
return
param = {
"SecurityGroupId": Utils.try_to_json(argv, "--SecurityGroupId"),
"SecurityGroupPolicySet": Utils.try_to_json(argv, "--SecurityGroupPolicySet"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifySecurityGroupPoliciesRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifySecurityGroupPolicies(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeCcns(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeCcns", g_param[OptionsDefine.Version])
return
param = {
"CcnIds": Utils.try_to_json(argv, "--CcnIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeCcnsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeCcns(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteIp6Translators(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteIp6Translators", g_param[OptionsDefine.Version])
return
param = {
"Ip6TranslatorIds": Utils.try_to_json(argv, "--Ip6TranslatorIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteIp6TranslatorsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteIp6Translators(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteCcn(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteCcn", g_param[OptionsDefine.Version])
return
param = {
"CcnId": Utils.try_to_json(argv, "--CcnId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteCcnRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteCcn(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doHaVipDisassociateAddressIp(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("HaVipDisassociateAddressIp", g_param[OptionsDefine.Version])
return
param = {
"HaVipId": Utils.try_to_json(argv, "--HaVipId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.HaVipDisassociateAddressIpRequest()
model.from_json_string(json.dumps(param))
rsp = client.HaVipDisassociateAddressIp(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDetachNetworkInterface(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DetachNetworkInterface", g_param[OptionsDefine.Version])
return
param = {
"NetworkInterfaceId": Utils.try_to_json(argv, "--NetworkInterfaceId"),
"InstanceId": Utils.try_to_json(argv, "--InstanceId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DetachNetworkInterfaceRequest()
model.from_json_string(json.dumps(param))
rsp = client.DetachNetworkInterface(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteNetworkInterface(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteNetworkInterface", g_param[OptionsDefine.Version])
return
param = {
"NetworkInterfaceId": Utils.try_to_json(argv, "--NetworkInterfaceId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteNetworkInterfaceRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteNetworkInterface(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doReplaceRoutes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ReplaceRoutes", g_param[OptionsDefine.Version])
return
param = {
"RouteTableId": Utils.try_to_json(argv, "--RouteTableId"),
"Routes": Utils.try_to_json(argv, "--Routes"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ReplaceRoutesRequest()
model.from_json_string(json.dumps(param))
rsp = client.ReplaceRoutes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeRouteConflicts(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeRouteConflicts", g_param[OptionsDefine.Version])
return
param = {
"RouteTableId": Utils.try_to_json(argv, "--RouteTableId"),
"DestinationCidrBlocks": Utils.try_to_json(argv, "--DestinationCidrBlocks"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeRouteConflictsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeRouteConflicts(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDisableRoutes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DisableRoutes", g_param[OptionsDefine.Version])
return
param = {
"RouteTableId": Utils.try_to_json(argv, "--RouteTableId"),
"RouteIds": Utils.try_to_json(argv, "--RouteIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DisableRoutesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DisableRoutes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeCcnRegionBandwidthLimits(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeCcnRegionBandwidthLimits", g_param[OptionsDefine.Version])
return
param = {
"CcnId": Utils.try_to_json(argv, "--CcnId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeCcnRegionBandwidthLimitsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeCcnRegionBandwidthLimits(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doAddIp6Rules(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("AddIp6Rules", g_param[OptionsDefine.Version])
return
param = {
"Ip6TranslatorId": Utils.try_to_json(argv, "--Ip6TranslatorId"),
"Ip6RuleInfos": Utils.try_to_json(argv, "--Ip6RuleInfos"),
"Ip6RuleName": Utils.try_to_json(argv, "--Ip6RuleName"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.AddIp6RulesRequest()
model.from_json_string(json.dumps(param))
rsp = client.AddIp6Rules(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteServiceTemplate(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteServiceTemplate", g_param[OptionsDefine.Version])
return
param = {
"ServiceTemplateId": Utils.try_to_json(argv, "--ServiceTemplateId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteServiceTemplateRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteServiceTemplate(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doUnassignPrivateIpAddresses(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("UnassignPrivateIpAddresses", g_param[OptionsDefine.Version])
return
param = {
"NetworkInterfaceId": Utils.try_to_json(argv, "--NetworkInterfaceId"),
"PrivateIpAddresses": Utils.try_to_json(argv, "--PrivateIpAddresses"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.UnassignPrivateIpAddressesRequest()
model.from_json_string(json.dumps(param))
rsp = client.UnassignPrivateIpAddresses(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteAddressTemplateGroup(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteAddressTemplateGroup", g_param[OptionsDefine.Version])
return
param = {
"AddressTemplateGroupId": Utils.try_to_json(argv, "--AddressTemplateGroupId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteAddressTemplateGroupRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteAddressTemplateGroup(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeCcnRoutes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeCcnRoutes", g_param[OptionsDefine.Version])
return
param = {
"CcnId": Utils.try_to_json(argv, "--CcnId"),
"RouteIds": Utils.try_to_json(argv, "--RouteIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeCcnRoutesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeCcnRoutes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateIp6Translators(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateIp6Translators", g_param[OptionsDefine.Version])
return
param = {
"Ip6TranslatorName": Utils.try_to_json(argv, "--Ip6TranslatorName"),
"Ip6TranslatorCount": Utils.try_to_json(argv, "--Ip6TranslatorCount"),
"Ip6InternetServiceProvider": Utils.try_to_json(argv, "--Ip6InternetServiceProvider"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateIp6TranslatorsRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateIp6Translators(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateDefaultVpc(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateDefaultVpc", g_param[OptionsDefine.Version])
return
param = {
"Zone": Utils.try_to_json(argv, "--Zone"),
"Force": Utils.try_to_json(argv, "--Force"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateDefaultVpcRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateDefaultVpc(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doAttachNetworkInterface(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("AttachNetworkInterface", g_param[OptionsDefine.Version])
return
param = {
"NetworkInterfaceId": Utils.try_to_json(argv, "--NetworkInterfaceId"),
"InstanceId": Utils.try_to_json(argv, "--InstanceId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.AttachNetworkInterfaceRequest()
model.from_json_string(json.dumps(param))
rsp = client.AttachNetworkInterface(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doReplaceDirectConnectGatewayCcnRoutes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ReplaceDirectConnectGatewayCcnRoutes", g_param[OptionsDefine.Version])
return
param = {
"DirectConnectGatewayId": Utils.try_to_json(argv, "--DirectConnectGatewayId"),
"Routes": Utils.try_to_json(argv, "--Routes"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ReplaceDirectConnectGatewayCcnRoutesRequest()
model.from_json_string(json.dumps(param))
rsp = client.ReplaceDirectConnectGatewayCcnRoutes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteSecurityGroupPolicies(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteSecurityGroupPolicies", g_param[OptionsDefine.Version])
return
param = {
"SecurityGroupId": Utils.try_to_json(argv, "--SecurityGroupId"),
"SecurityGroupPolicySet": Utils.try_to_json(argv, "--SecurityGroupPolicySet"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteSecurityGroupPoliciesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteSecurityGroupPolicies(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifySecurityGroupAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifySecurityGroupAttribute", g_param[OptionsDefine.Version])
return
param = {
"SecurityGroupId": Utils.try_to_json(argv, "--SecurityGroupId"),
"GroupName": Utils.try_to_json(argv, "--GroupName"),
"GroupDescription": Utils.try_to_json(argv, "--GroupDescription"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifySecurityGroupAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifySecurityGroupAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteAddressTemplate(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteAddressTemplate", g_param[OptionsDefine.Version])
return
param = {
"AddressTemplateId": Utils.try_to_json(argv, "--AddressTemplateId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteAddressTemplateRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteAddressTemplate(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteVpnGateway(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteVpnGateway", g_param[OptionsDefine.Version])
return
param = {
"VpnGatewayId": Utils.try_to_json(argv, "--VpnGatewayId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteVpnGatewayRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteVpnGateway(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateServiceTemplate(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateServiceTemplate", g_param[OptionsDefine.Version])
return
param = {
"ServiceTemplateName": Utils.try_to_json(argv, "--ServiceTemplateName"),
"Services": Utils.try_to_json(argv, "--Services"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateServiceTemplateRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateServiceTemplate(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteRoutes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteRoutes", g_param[OptionsDefine.Version])
return
param = {
"RouteTableId": Utils.try_to_json(argv, "--RouteTableId"),
"Routes": Utils.try_to_json(argv, "--Routes"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteRoutesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteRoutes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyDirectConnectGatewayAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyDirectConnectGatewayAttribute", g_param[OptionsDefine.Version])
return
param = {
"DirectConnectGatewayId": Utils.try_to_json(argv, "--DirectConnectGatewayId"),
"DirectConnectGatewayName": Utils.try_to_json(argv, "--DirectConnectGatewayName"),
"CcnRouteType": Utils.try_to_json(argv, "--CcnRouteType"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyDirectConnectGatewayAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyDirectConnectGatewayAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifySubnetAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifySubnetAttribute", g_param[OptionsDefine.Version])
return
param = {
"SubnetId": Utils.try_to_json(argv, "--SubnetId"),
"SubnetName": Utils.try_to_json(argv, "--SubnetName"),
"EnableBroadcast": Utils.try_to_json(argv, "--EnableBroadcast"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifySubnetAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifySubnetAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeNetworkInterfaces(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeNetworkInterfaces", g_param[OptionsDefine.Version])
return
param = {
"NetworkInterfaceIds": Utils.try_to_json(argv, "--NetworkInterfaceIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeNetworkInterfacesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeNetworkInterfaces(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDisableCcnRoutes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DisableCcnRoutes", g_param[OptionsDefine.Version])
return
param = {
"CcnId": Utils.try_to_json(argv, "--CcnId"),
"RouteIds": Utils.try_to_json(argv, "--RouteIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DisableCcnRoutesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DisableCcnRoutes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doInquiryPriceCreateVpnGateway(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("InquiryPriceCreateVpnGateway", g_param[OptionsDefine.Version])
return
param = {
"InternetMaxBandwidthOut": Utils.try_to_json(argv, "--InternetMaxBandwidthOut"),
"InstanceChargeType": Utils.try_to_json(argv, "--InstanceChargeType"),
"InstanceChargePrepaid": Utils.try_to_json(argv, "--InstanceChargePrepaid"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.InquiryPriceCreateVpnGatewayRequest()
model.from_json_string(json.dumps(param))
rsp = client.InquiryPriceCreateVpnGateway(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doResetVpnConnection(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ResetVpnConnection", g_param[OptionsDefine.Version])
return
param = {
"VpnGatewayId": Utils.try_to_json(argv, "--VpnGatewayId"),
"VpnConnectionId": Utils.try_to_json(argv, "--VpnConnectionId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ResetVpnConnectionRequest()
model.from_json_string(json.dumps(param))
rsp = client.ResetVpnConnection(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateCustomerGateway(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateCustomerGateway", g_param[OptionsDefine.Version])
return
param = {
"CustomerGatewayName": Utils.try_to_json(argv, "--CustomerGatewayName"),
"IpAddress": Utils.try_to_json(argv, "--IpAddress"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateCustomerGatewayRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateCustomerGateway(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateAddressTemplateGroup(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateAddressTemplateGroup", g_param[OptionsDefine.Version])
return
param = {
"AddressTemplateGroupName": Utils.try_to_json(argv, "--AddressTemplateGroupName"),
"AddressTemplateIds": Utils.try_to_json(argv, "--AddressTemplateIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateAddressTemplateGroupRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateAddressTemplateGroup(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateAddressTemplate(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateAddressTemplate", g_param[OptionsDefine.Version])
return
param = {
"AddressTemplateName": Utils.try_to_json(argv, "--AddressTemplateName"),
"Addresses": Utils.try_to_json(argv, "--Addresses"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateAddressTemplateRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateAddressTemplate(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateSecurityGroup(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateSecurityGroup", g_param[OptionsDefine.Version])
return
param = {
"GroupName": Utils.try_to_json(argv, "--GroupName"),
"GroupDescription": Utils.try_to_json(argv, "--GroupDescription"),
"ProjectId": Utils.try_to_json(argv, "--ProjectId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateSecurityGroupRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateSecurityGroup(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyNetworkInterfaceAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyNetworkInterfaceAttribute", g_param[OptionsDefine.Version])
return
param = {
"NetworkInterfaceId": Utils.try_to_json(argv, "--NetworkInterfaceId"),
"NetworkInterfaceName": Utils.try_to_json(argv, "--NetworkInterfaceName"),
"NetworkInterfaceDescription": Utils.try_to_json(argv, "--NetworkInterfaceDescription"),
"SecurityGroupIds": Utils.try_to_json(argv, "--SecurityGroupIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyNetworkInterfaceAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyNetworkInterfaceAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeVpnGateways(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeVpnGateways", g_param[OptionsDefine.Version])
return
param = {
"VpnGatewayIds": Utils.try_to_json(argv, "--VpnGatewayIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeVpnGatewaysRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeVpnGateways(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteRouteTable(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteRouteTable", g_param[OptionsDefine.Version])
return
param = {
"RouteTableId": Utils.try_to_json(argv, "--RouteTableId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteRouteTableRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteRouteTable(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDisassociateAddress(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DisassociateAddress", g_param[OptionsDefine.Version])
return
param = {
"AddressId": Utils.try_to_json(argv, "--AddressId"),
"ReallocateNormalPublicIp": Utils.try_to_json(argv, "--ReallocateNormalPublicIp"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DisassociateAddressRequest()
model.from_json_string(json.dumps(param))
rsp = client.DisassociateAddress(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeDirectConnectGateways(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeDirectConnectGateways", g_param[OptionsDefine.Version])
return
param = {
"DirectConnectGatewayIds": Utils.try_to_json(argv, "--DirectConnectGatewayIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeDirectConnectGatewaysRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeDirectConnectGateways(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyIp6Translator(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyIp6Translator", g_param[OptionsDefine.Version])
return
param = {
"Ip6TranslatorId": Utils.try_to_json(argv, "--Ip6TranslatorId"),
"Ip6TranslatorName": Utils.try_to_json(argv, "--Ip6TranslatorName"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyIp6TranslatorRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyIp6Translator(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeAccountAttributes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeAccountAttributes", g_param[OptionsDefine.Version])
return
param = {
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeAccountAttributesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeAccountAttributes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doMigratePrivateIpAddress(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("MigratePrivateIpAddress", g_param[OptionsDefine.Version])
return
param = {
"SourceNetworkInterfaceId": Utils.try_to_json(argv, "--SourceNetworkInterfaceId"),
"DestinationNetworkInterfaceId": Utils.try_to_json(argv, "--DestinationNetworkInterfaceId"),
"PrivateIpAddress": Utils.try_to_json(argv, "--PrivateIpAddress"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.MigratePrivateIpAddressRequest()
model.from_json_string(json.dumps(param))
rsp = client.MigratePrivateIpAddress(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeServiceTemplates(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeServiceTemplates", g_param[OptionsDefine.Version])
return
param = {
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeServiceTemplatesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeServiceTemplates(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doHaVipAssociateAddressIp(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("HaVipAssociateAddressIp", g_param[OptionsDefine.Version])
return
param = {
"HaVipId": Utils.try_to_json(argv, "--HaVipId"),
"AddressIp": Utils.try_to_json(argv, "--AddressIp"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.HaVipAssociateAddressIpRequest()
model.from_json_string(json.dumps(param))
rsp = client.HaVipAssociateAddressIp(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doRemoveIp6Rules(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("RemoveIp6Rules", g_param[OptionsDefine.Version])
return
param = {
"Ip6TranslatorId": Utils.try_to_json(argv, "--Ip6TranslatorId"),
"Ip6RuleIds": Utils.try_to_json(argv, "--Ip6RuleIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.RemoveIp6RulesRequest()
model.from_json_string(json.dumps(param))
rsp = client.RemoveIp6Rules(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeHaVips(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeHaVips", g_param[OptionsDefine.Version])
return
param = {
"HaVipIds": Utils.try_to_json(argv, "--HaVipIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeHaVipsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeHaVips(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteHaVip(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteHaVip", g_param[OptionsDefine.Version])
return
param = {
"HaVipId": Utils.try_to_json(argv, "--HaVipId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteHaVipRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteHaVip(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyBandwidthPackageAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyBandwidthPackageAttribute", g_param[OptionsDefine.Version])
return
param = {
"BandwidthPackageId": Utils.try_to_json(argv, "--BandwidthPackageId"),
"BandwidthPackageName": Utils.try_to_json(argv, "--BandwidthPackageName"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyBandwidthPackageAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyBandwidthPackageAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeAddressQuota(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeAddressQuota", g_param[OptionsDefine.Version])
return
param = {
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeAddressQuotaRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeAddressQuota(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyVpnGatewayAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyVpnGatewayAttribute", g_param[OptionsDefine.Version])
return
param = {
"VpnGatewayId": Utils.try_to_json(argv, "--VpnGatewayId"),
"VpnGatewayName": Utils.try_to_json(argv, "--VpnGatewayName"),
"InstanceChargeType": Utils.try_to_json(argv, "--InstanceChargeType"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyVpnGatewayAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyVpnGatewayAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doResetVpnGatewayInternetMaxBandwidth(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ResetVpnGatewayInternetMaxBandwidth", g_param[OptionsDefine.Version])
return
param = {
"VpnGatewayId": Utils.try_to_json(argv, "--VpnGatewayId"),
"InternetMaxBandwidthOut": Utils.try_to_json(argv, "--InternetMaxBandwidthOut"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ResetVpnGatewayInternetMaxBandwidthRequest()
model.from_json_string(json.dumps(param))
rsp = client.ResetVpnGatewayInternetMaxBandwidth(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteVpc(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteVpc", g_param[OptionsDefine.Version])
return
param = {
"VpcId": Utils.try_to_json(argv, "--VpcId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteVpcRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteVpc(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeSubnets(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeSubnets", g_param[OptionsDefine.Version])
return
param = {
"SubnetIds": Utils.try_to_json(argv, "--SubnetIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeSubnetsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeSubnets(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateCcn(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateCcn", g_param[OptionsDefine.Version])
return
param = {
"CcnName": Utils.try_to_json(argv, "--CcnName"),
"CcnDescription": Utils.try_to_json(argv, "--CcnDescription"),
"QosLevel": Utils.try_to_json(argv, "--QosLevel"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateCcnRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateCcn(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyCustomerGatewayAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyCustomerGatewayAttribute", g_param[OptionsDefine.Version])
return
param = {
"CustomerGatewayId": Utils.try_to_json(argv, "--CustomerGatewayId"),
"CustomerGatewayName": Utils.try_to_json(argv, "--CustomerGatewayName"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyCustomerGatewayAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyCustomerGatewayAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyVpnConnectionAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyVpnConnectionAttribute", g_param[OptionsDefine.Version])
return
param = {
"VpnConnectionId": Utils.try_to_json(argv, "--VpnConnectionId"),
"VpnConnectionName": Utils.try_to_json(argv, "--VpnConnectionName"),
"PreShareKey": Utils.try_to_json(argv, "--PreShareKey"),
"SecurityPolicyDatabases": Utils.try_to_json(argv, "--SecurityPolicyDatabases"),
"IKEOptionsSpecification": Utils.try_to_json(argv, "--IKEOptionsSpecification"),
"IPSECOptionsSpecification": Utils.try_to_json(argv, "--IPSECOptionsSpecification"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyVpnConnectionAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyVpnConnectionAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeSecurityGroups(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeSecurityGroups", g_param[OptionsDefine.Version])
return
param = {
"SecurityGroupIds": Utils.try_to_json(argv, "--SecurityGroupIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeSecurityGroupsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeSecurityGroups(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateVpnGateway(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateVpnGateway", g_param[OptionsDefine.Version])
return
param = {
"VpcId": Utils.try_to_json(argv, "--VpcId"),
"VpnGatewayName": Utils.try_to_json(argv, "--VpnGatewayName"),
"InternetMaxBandwidthOut": Utils.try_to_json(argv, "--InternetMaxBandwidthOut"),
"InstanceChargeType": Utils.try_to_json(argv, "--InstanceChargeType"),
"InstanceChargePrepaid": Utils.try_to_json(argv, "--InstanceChargePrepaid"),
"Zone": Utils.try_to_json(argv, "--Zone"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateVpnGatewayRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateVpnGateway(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeSecurityGroupPolicies(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeSecurityGroupPolicies", g_param[OptionsDefine.Version])
return
param = {
"SecurityGroupId": Utils.try_to_json(argv, "--SecurityGroupId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeSecurityGroupPoliciesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeSecurityGroupPolicies(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateDirectConnectGateway(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateDirectConnectGateway", g_param[OptionsDefine.Version])
return
param = {
"DirectConnectGatewayName": Utils.try_to_json(argv, "--DirectConnectGatewayName"),
"NetworkType": Utils.try_to_json(argv, "--NetworkType"),
"NetworkInstanceId": Utils.try_to_json(argv, "--NetworkInstanceId"),
"GatewayType": Utils.try_to_json(argv, "--GatewayType"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateDirectConnectGatewayRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateDirectConnectGateway(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeClassicLinkInstances(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeClassicLinkInstances", g_param[OptionsDefine.Version])
return
param = {
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeClassicLinkInstancesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeClassicLinkInstances(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doTransformAddress(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("TransformAddress", g_param[OptionsDefine.Version])
return
param = {
"InstanceId": Utils.try_to_json(argv, "--InstanceId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.TransformAddressRequest()
model.from_json_string(json.dumps(param))
rsp = client.TransformAddress(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doEnableRoutes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("EnableRoutes", g_param[OptionsDefine.Version])
return
param = {
"RouteTableId": Utils.try_to_json(argv, "--RouteTableId"),
"RouteIds": Utils.try_to_json(argv, "--RouteIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.EnableRoutesRequest()
model.from_json_string(json.dumps(param))
rsp = client.EnableRoutes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doSetCcnRegionBandwidthLimits(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("SetCcnRegionBandwidthLimits", g_param[OptionsDefine.Version])
return
param = {
"CcnId": Utils.try_to_json(argv, "--CcnId"),
"CcnRegionBandwidthLimits": Utils.try_to_json(argv, "--CcnRegionBandwidthLimits"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.SetCcnRegionBandwidthLimitsRequest()
model.from_json_string(json.dumps(param))
rsp = client.SetCcnRegionBandwidthLimits(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateHaVip(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateHaVip", g_param[OptionsDefine.Version])
return
param = {
"VpcId": Utils.try_to_json(argv, "--VpcId"),
"SubnetId": Utils.try_to_json(argv, "--SubnetId"),
"HaVipName": Utils.try_to_json(argv, "--HaVipName"),
"Vip": Utils.try_to_json(argv, "--Vip"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateHaVipRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateHaVip(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDeleteSecurityGroup(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DeleteSecurityGroup", g_param[OptionsDefine.Version])
return
param = {
"SecurityGroupId": Utils.try_to_json(argv, "--SecurityGroupId"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DeleteSecurityGroupRequest()
model.from_json_string(json.dumps(param))
rsp = client.DeleteSecurityGroup(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyRouteTableAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyRouteTableAttribute", g_param[OptionsDefine.Version])
return
param = {
"RouteTableId": Utils.try_to_json(argv, "--RouteTableId"),
"RouteTableName": Utils.try_to_json(argv, "--RouteTableName"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyRouteTableAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyRouteTableAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateRoutes(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateRoutes", g_param[OptionsDefine.Version])
return
param = {
"RouteTableId": Utils.try_to_json(argv, "--RouteTableId"),
"Routes": Utils.try_to_json(argv, "--Routes"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateRoutesRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateRoutes(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeBandwidthPackageQuota(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeBandwidthPackageQuota", g_param[OptionsDefine.Version])
return
param = {
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeBandwidthPackageQuotaRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeBandwidthPackageQuota(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyHaVipAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyHaVipAttribute", g_param[OptionsDefine.Version])
return
param = {
"HaVipId": Utils.try_to_json(argv, "--HaVipId"),
"HaVipName": Utils.try_to_json(argv, "--HaVipName"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyHaVipAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyHaVipAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doReleaseAddresses(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ReleaseAddresses", g_param[OptionsDefine.Version])
return
param = {
"AddressIds": Utils.try_to_json(argv, "--AddressIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ReleaseAddressesRequest()
model.from_json_string(json.dumps(param))
rsp = client.ReleaseAddresses(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeBandwidthPackages(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeBandwidthPackages", g_param[OptionsDefine.Version])
return
param = {
"BandwidthPackageIds": Utils.try_to_json(argv, "--BandwidthPackageIds"),
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeBandwidthPackagesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeBandwidthPackages(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateServiceTemplateGroup(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateServiceTemplateGroup", g_param[OptionsDefine.Version])
return
param = {
"ServiceTemplateGroupName": Utils.try_to_json(argv, "--ServiceTemplateGroupName"),
"ServiceTemplateIds": Utils.try_to_json(argv, "--ServiceTemplateIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateServiceTemplateGroupRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateServiceTemplateGroup(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyCcnAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyCcnAttribute", g_param[OptionsDefine.Version])
return
param = {
"CcnId": Utils.try_to_json(argv, "--CcnId"),
"CcnName": Utils.try_to_json(argv, "--CcnName"),
"CcnDescription": Utils.try_to_json(argv, "--CcnDescription"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyCcnAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyCcnAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeVpcPrivateIpAddresses(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeVpcPrivateIpAddresses", g_param[OptionsDefine.Version])
return
param = {
"VpcId": Utils.try_to_json(argv, "--VpcId"),
"PrivateIpAddresses": Utils.try_to_json(argv, "--PrivateIpAddresses"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeVpcPrivateIpAddressesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeVpcPrivateIpAddresses(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeSecurityGroupAssociationStatistics(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeSecurityGroupAssociationStatistics", g_param[OptionsDefine.Version])
return
param = {
"SecurityGroupIds": Utils.try_to_json(argv, "--SecurityGroupIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeSecurityGroupAssociationStatisticsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeSecurityGroupAssociationStatistics(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeAddressTemplates(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeAddressTemplates", g_param[OptionsDefine.Version])
return
param = {
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeAddressTemplatesRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeAddressTemplates(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateVpnConnection(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateVpnConnection", g_param[OptionsDefine.Version])
return
param = {
"VpcId": Utils.try_to_json(argv, "--VpcId"),
"VpnGatewayId": Utils.try_to_json(argv, "--VpnGatewayId"),
"CustomerGatewayId": Utils.try_to_json(argv, "--CustomerGatewayId"),
"VpnConnectionName": Utils.try_to_json(argv, "--VpnConnectionName"),
"PreShareKey": Utils.try_to_json(argv, "--PreShareKey"),
"SecurityPolicyDatabases": Utils.try_to_json(argv, "--SecurityPolicyDatabases"),
"IKEOptionsSpecification": Utils.try_to_json(argv, "--IKEOptionsSpecification"),
"IPSECOptionsSpecification": Utils.try_to_json(argv, "--IPSECOptionsSpecification"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateVpnConnectionRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateVpnConnection(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyAddressAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyAddressAttribute", g_param[OptionsDefine.Version])
return
param = {
"AddressId": Utils.try_to_json(argv, "--AddressId"),
"AddressName": Utils.try_to_json(argv, "--AddressName"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyAddressAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyAddressAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeAddressTemplateGroups(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeAddressTemplateGroups", g_param[OptionsDefine.Version])
return
param = {
"Filters": Utils.try_to_json(argv, "--Filters"),
"Offset": Utils.try_to_json(argv, "--Offset"),
"Limit": Utils.try_to_json(argv, "--Limit"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeAddressTemplateGroupsRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeAddressTemplateGroups(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDetachClassicLinkVpc(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DetachClassicLinkVpc", g_param[OptionsDefine.Version])
return
param = {
"VpcId": Utils.try_to_json(argv, "--VpcId"),
"InstanceIds": Utils.try_to_json(argv, "--InstanceIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DetachClassicLinkVpcRequest()
model.from_json_string(json.dumps(param))
rsp = client.DetachClassicLinkVpc(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doCreateSecurityGroupPolicies(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("CreateSecurityGroupPolicies", g_param[OptionsDefine.Version])
return
param = {
"SecurityGroupId": Utils.try_to_json(argv, "--SecurityGroupId"),
"SecurityGroupPolicySet": Utils.try_to_json(argv, "--SecurityGroupPolicySet"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.CreateSecurityGroupPoliciesRequest()
model.from_json_string(json.dumps(param))
rsp = client.CreateSecurityGroupPolicies(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doModifyVpcAttribute(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("ModifyVpcAttribute", g_param[OptionsDefine.Version])
return
param = {
"VpcId": Utils.try_to_json(argv, "--VpcId"),
"VpcName": Utils.try_to_json(argv, "--VpcName"),
"EnableMulticast": Utils.try_to_json(argv, "--EnableMulticast"),
"DnsServers": Utils.try_to_json(argv, "--DnsServers"),
"DomainName": Utils.try_to_json(argv, "--DomainName"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.ModifyVpcAttributeRequest()
model.from_json_string(json.dumps(param))
rsp = client.ModifyVpcAttribute(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
def doDescribeIp6TranslatorQuota(argv, arglist):
g_param = parse_global_arg(argv)
if "help" in argv:
show_help("DescribeIp6TranslatorQuota", g_param[OptionsDefine.Version])
return
param = {
"Ip6TranslatorIds": Utils.try_to_json(argv, "--Ip6TranslatorIds"),
}
cred = credential.Credential(g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey])
http_profile = HttpProfile(
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
reqMethod="POST",
endpoint=g_param[OptionsDefine.Endpoint]
)
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
client = mod.VpcClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeIp6TranslatorQuotaRequest()
model.from_json_string(json.dumps(param))
rsp = client.DescribeIp6TranslatorQuota(model)
result = rsp.to_json_string()
jsonobj = None
try:
jsonobj = json.loads(result)
except TypeError as e:
jsonobj = json.loads(result.decode('utf-8')) # python3.3
FormatOutput.output("action", jsonobj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
CLIENT_MAP = {
"v20170312": vpc_client_v20170312,
}
MODELS_MAP = {
"v20170312": models_v20170312,
}
ACTION_MAP = {
"DownloadCustomerGatewayConfiguration": doDownloadCustomerGatewayConfiguration,
"DescribeCustomerGateways": doDescribeCustomerGateways,
"ReplaceSecurityGroupPolicy": doReplaceSecurityGroupPolicy,
"DescribeServiceTemplateGroups": doDescribeServiceTemplateGroups,
"DescribeRouteTables": doDescribeRouteTables,
"CreateBandwidthPackage": doCreateBandwidthPackage,
"CreateRouteTable": doCreateRouteTable,
"ReplaceRouteTableAssociation": doReplaceRouteTableAssociation,
"EnableCcnRoutes": doEnableCcnRoutes,
"ModifyServiceTemplateGroupAttribute": doModifyServiceTemplateGroupAttribute,
"DescribeCcnAttachedInstances": doDescribeCcnAttachedInstances,
"ResetRoutes": doResetRoutes,
"ModifyPrivateIpAddressesAttribute": doModifyPrivateIpAddressesAttribute,
"DescribeGatewayFlowMonitorDetail": doDescribeGatewayFlowMonitorDetail,
"DeleteVpnConnection": doDeleteVpnConnection,
"ModifyAddressTemplateGroupAttribute": doModifyAddressTemplateGroupAttribute,
"DescribeCustomerGatewayVendors": doDescribeCustomerGatewayVendors,
"DescribeAddresses": doDescribeAddresses,
"ModifyServiceTemplateAttribute": doModifyServiceTemplateAttribute,
"DetachCcnInstances": doDetachCcnInstances,
"CreateDirectConnectGatewayCcnRoutes": doCreateDirectConnectGatewayCcnRoutes,
"RemoveBandwidthPackageResources": doRemoveBandwidthPackageResources,
"InquiryPriceRenewVpnGateway": doInquiryPriceRenewVpnGateway,
"AssignPrivateIpAddresses": doAssignPrivateIpAddresses,
"CreateSubnets": doCreateSubnets,
"DescribeVpcs": doDescribeVpcs,
"InquiryPriceResetVpnGatewayInternetMaxBandwidth": doInquiryPriceResetVpnGatewayInternetMaxBandwidth,
"DeleteDirectConnectGatewayCcnRoutes": doDeleteDirectConnectGatewayCcnRoutes,
"RejectAttachCcnInstances": doRejectAttachCcnInstances,
"MigrateNetworkInterface": doMigrateNetworkInterface,
"ModifyAddressesBandwidth": doModifyAddressesBandwidth,
"DescribeVpnConnections": doDescribeVpnConnections,
"CreateSubnet": doCreateSubnet,
"ModifyAddressTemplateAttribute": doModifyAddressTemplateAttribute,
"AcceptAttachCcnInstances": doAcceptAttachCcnInstances,
"DeleteServiceTemplateGroup": doDeleteServiceTemplateGroup,
"DescribeIp6Translators": doDescribeIp6Translators,
"ResetAttachCcnInstances": doResetAttachCcnInstances,
"CreateVpc": doCreateVpc,
"ModifyIp6Rule": doModifyIp6Rule,
"AddBandwidthPackageResources": doAddBandwidthPackageResources,
"AllocateAddresses": doAllocateAddresses,
"RenewVpnGateway": doRenewVpnGateway,
"AttachCcnInstances": doAttachCcnInstances,
"AssociateAddress": doAssociateAddress,
"DeleteCustomerGateway": doDeleteCustomerGateway,
"DeleteSubnet": doDeleteSubnet,
"AttachClassicLinkVpc": doAttachClassicLinkVpc,
"DeleteDirectConnectGateway": doDeleteDirectConnectGateway,
"DescribeDirectConnectGatewayCcnRoutes": doDescribeDirectConnectGatewayCcnRoutes,
"CreateNetworkInterface": doCreateNetworkInterface,
"DeleteBandwidthPackage": doDeleteBandwidthPackage,
"ModifySecurityGroupPolicies": doModifySecurityGroupPolicies,
"DescribeCcns": doDescribeCcns,
"DeleteIp6Translators": doDeleteIp6Translators,
"DeleteCcn": doDeleteCcn,
"HaVipDisassociateAddressIp": doHaVipDisassociateAddressIp,
"DetachNetworkInterface": doDetachNetworkInterface,
"DeleteNetworkInterface": doDeleteNetworkInterface,
"ReplaceRoutes": doReplaceRoutes,
"DescribeRouteConflicts": doDescribeRouteConflicts,
"DisableRoutes": doDisableRoutes,
"DescribeCcnRegionBandwidthLimits": doDescribeCcnRegionBandwidthLimits,
"AddIp6Rules": doAddIp6Rules,
"DeleteServiceTemplate": doDeleteServiceTemplate,
"UnassignPrivateIpAddresses": doUnassignPrivateIpAddresses,
"DeleteAddressTemplateGroup": doDeleteAddressTemplateGroup,
"DescribeCcnRoutes": doDescribeCcnRoutes,
"CreateIp6Translators": doCreateIp6Translators,
"CreateDefaultVpc": doCreateDefaultVpc,
"AttachNetworkInterface": doAttachNetworkInterface,
"ReplaceDirectConnectGatewayCcnRoutes": doReplaceDirectConnectGatewayCcnRoutes,
"DeleteSecurityGroupPolicies": doDeleteSecurityGroupPolicies,
"ModifySecurityGroupAttribute": doModifySecurityGroupAttribute,
"DeleteAddressTemplate": doDeleteAddressTemplate,
"DeleteVpnGateway": doDeleteVpnGateway,
"CreateServiceTemplate": doCreateServiceTemplate,
"DeleteRoutes": doDeleteRoutes,
"ModifyDirectConnectGatewayAttribute": doModifyDirectConnectGatewayAttribute,
"ModifySubnetAttribute": doModifySubnetAttribute,
"DescribeNetworkInterfaces": doDescribeNetworkInterfaces,
"DisableCcnRoutes": doDisableCcnRoutes,
"InquiryPriceCreateVpnGateway": doInquiryPriceCreateVpnGateway,
"ResetVpnConnection": doResetVpnConnection,
"CreateCustomerGateway": doCreateCustomerGateway,
"CreateAddressTemplateGroup": doCreateAddressTemplateGroup,
"CreateAddressTemplate": doCreateAddressTemplate,
"CreateSecurityGroup": doCreateSecurityGroup,
"ModifyNetworkInterfaceAttribute": doModifyNetworkInterfaceAttribute,
"DescribeVpnGateways": doDescribeVpnGateways,
"DeleteRouteTable": doDeleteRouteTable,
"DisassociateAddress": doDisassociateAddress,
"DescribeDirectConnectGateways": doDescribeDirectConnectGateways,
"ModifyIp6Translator": doModifyIp6Translator,
"DescribeAccountAttributes": doDescribeAccountAttributes,
"MigratePrivateIpAddress": doMigratePrivateIpAddress,
"DescribeServiceTemplates": doDescribeServiceTemplates,
"HaVipAssociateAddressIp": doHaVipAssociateAddressIp,
"RemoveIp6Rules": doRemoveIp6Rules,
"DescribeHaVips": doDescribeHaVips,
"DeleteHaVip": doDeleteHaVip,
"ModifyBandwidthPackageAttribute": doModifyBandwidthPackageAttribute,
"DescribeAddressQuota": doDescribeAddressQuota,
"ModifyVpnGatewayAttribute": doModifyVpnGatewayAttribute,
"ResetVpnGatewayInternetMaxBandwidth": doResetVpnGatewayInternetMaxBandwidth,
"DeleteVpc": doDeleteVpc,
"DescribeSubnets": doDescribeSubnets,
"CreateCcn": doCreateCcn,
"ModifyCustomerGatewayAttribute": doModifyCustomerGatewayAttribute,
"ModifyVpnConnectionAttribute": doModifyVpnConnectionAttribute,
"DescribeSecurityGroups": doDescribeSecurityGroups,
"CreateVpnGateway": doCreateVpnGateway,
"DescribeSecurityGroupPolicies": doDescribeSecurityGroupPolicies,
"CreateDirectConnectGateway": doCreateDirectConnectGateway,
"DescribeClassicLinkInstances": doDescribeClassicLinkInstances,
"TransformAddress": doTransformAddress,
"EnableRoutes": doEnableRoutes,
"SetCcnRegionBandwidthLimits": doSetCcnRegionBandwidthLimits,
"CreateHaVip": doCreateHaVip,
"DeleteSecurityGroup": doDeleteSecurityGroup,
"ModifyRouteTableAttribute": doModifyRouteTableAttribute,
"CreateRoutes": doCreateRoutes,
"DescribeBandwidthPackageQuota": doDescribeBandwidthPackageQuota,
"ModifyHaVipAttribute": doModifyHaVipAttribute,
"ReleaseAddresses": doReleaseAddresses,
"DescribeBandwidthPackages": doDescribeBandwidthPackages,
"CreateServiceTemplateGroup": doCreateServiceTemplateGroup,
"ModifyCcnAttribute": doModifyCcnAttribute,
"DescribeVpcPrivateIpAddresses": doDescribeVpcPrivateIpAddresses,
"DescribeSecurityGroupAssociationStatistics": doDescribeSecurityGroupAssociationStatistics,
"DescribeAddressTemplates": doDescribeAddressTemplates,
"CreateVpnConnection": doCreateVpnConnection,
"ModifyAddressAttribute": doModifyAddressAttribute,
"DescribeAddressTemplateGroups": doDescribeAddressTemplateGroups,
"DetachClassicLinkVpc": doDetachClassicLinkVpc,
"CreateSecurityGroupPolicies": doCreateSecurityGroupPolicies,
"ModifyVpcAttribute": doModifyVpcAttribute,
"DescribeIp6TranslatorQuota": doDescribeIp6TranslatorQuota,
}
AVAILABLE_VERSION_LIST = [
v20170312.version,
]
AVAILABLE_VERSIONS = {
'v' + v20170312.version.replace('-', ''): {"help": v20170312_help.INFO,"desc": v20170312_help.DESC},
}
def vpc_action(argv, arglist):
if "help" in argv:
versions = sorted(AVAILABLE_VERSIONS.keys())
opt_v = "--" + OptionsDefine.Version
version = versions[-1]
if opt_v in argv:
version = 'v' + argv[opt_v].replace('-', '')
if version not in versions:
print("available versions: %s" % " ".join(AVAILABLE_VERSION_LIST))
return
action_str = ""
docs = AVAILABLE_VERSIONS[version]["help"]
desc = AVAILABLE_VERSIONS[version]["desc"]
for action, info in docs.items():
action_str += " %s\n" % action
action_str += Utils.split_str(" ", info["desc"], 120)
helpstr = HelpTemplate.SERVICE % {"name": "vpc", "desc": desc, "actions": action_str}
print(helpstr)
else:
print(ErrorMsg.FEW_ARG)
def version_merge():
help_merge = {}
for v in AVAILABLE_VERSIONS:
for action in AVAILABLE_VERSIONS[v]["help"]:
if action not in help_merge:
help_merge[action] = {}
help_merge[action]["cb"] = ACTION_MAP[action]
help_merge[action]["params"] = []
for param in AVAILABLE_VERSIONS[v]["help"][action]["params"]:
if param["name"] not in help_merge[action]["params"]:
help_merge[action]["params"].append(param["name"])
return help_merge
def register_arg(command):
cmd = NiceCommand("vpc", vpc_action)
command.reg_cmd(cmd)
cmd.reg_opt("help", "bool")
cmd.reg_opt(OptionsDefine.Version, "string")
help_merge = version_merge()
for actionName, action in help_merge.items():
c = NiceCommand(actionName, action["cb"])
cmd.reg_cmd(c)
c.reg_opt("help", "bool")
for param in action["params"]:
c.reg_opt("--" + param, "string")
for opt in OptionsDefine.ACTION_GLOBAL_OPT:
stropt = "--" + opt
c.reg_opt(stropt, "string")
def parse_global_arg(argv):
params = {}
for opt in OptionsDefine.ACTION_GLOBAL_OPT:
stropt = "--" + opt
if stropt in argv:
params[opt] = argv[stropt]
else:
params[opt] = None
if params[OptionsDefine.Version]:
params[OptionsDefine.Version] = "v" + params[OptionsDefine.Version].replace('-', '')
config_handle = Configure()
profile = config_handle.profile
if ("--" + OptionsDefine.Profile) in argv:
profile = argv[("--" + OptionsDefine.Profile)]
is_conexist, conf_path = config_handle._profile_existed(profile + "." + config_handle.configure)
is_creexist, cred_path = config_handle._profile_existed(profile + "." + config_handle.credential)
config = {}
cred = {}
if is_conexist:
config = config_handle._load_json_msg(conf_path)
if is_creexist:
cred = config_handle._load_json_msg(cred_path)
for param in params.keys():
if param == OptionsDefine.Version:
continue
if params[param] is None:
if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId]:
if param in cred:
params[param] = cred[param]
else:
raise Exception("%s is invalid" % param)
else:
if param in config:
params[param] = config[param]
elif param == OptionsDefine.Region:
raise Exception("%s is invalid" % OptionsDefine.Region)
try:
if params[OptionsDefine.Version] is None:
version = config["vpc"][OptionsDefine.Version]
params[OptionsDefine.Version] = "v" + version.replace('-', '')
if params[OptionsDefine.Endpoint] is None:
params[OptionsDefine.Endpoint] = config["vpc"][OptionsDefine.Endpoint]
except Exception as err:
raise Exception("config file:%s error, %s" % (conf_path, str(err)))
versions = sorted(AVAILABLE_VERSIONS.keys())
if params[OptionsDefine.Version] not in versions:
raise Exception("available versions: %s" % " ".join(AVAILABLE_VERSION_LIST))
return params
def show_help(action, version):
docs = AVAILABLE_VERSIONS[version]["help"][action]
desc = AVAILABLE_VERSIONS[version]["desc"]
docstr = ""
for param in docs["params"]:
docstr += " %s\n" % ("--" + param["name"])
docstr += Utils.split_str(" ", param["desc"], 120)
helpmsg = HelpTemplate.ACTION % {"name": action, "service": "vpc", "desc": desc, "params": docstr}
print(helpmsg)
def get_actions_info():
config = Configure()
new_version = max(AVAILABLE_VERSIONS.keys())
version = new_version
try:
profile = config._load_json_msg(os.path.join(config.cli_path, "default.configure"))
version = profile["vpc"]["version"]
version = "v" + version.replace('-', '')
except Exception:
pass
if version not in AVAILABLE_VERSIONS.keys():
version = new_version
return AVAILABLE_VERSIONS[version]["help"]
| 42.529643 | 105 | 0.712379 | 23,378 | 216,646 | 6.388613 | 0.029344 | 0.066527 | 0.193113 | 0.072071 | 0.837486 | 0.828822 | 0.820004 | 0.803372 | 0.802073 | 0.762663 | 0 | 0.007312 | 0.171829 | 216,646 | 5,093 | 106 | 42.537993 | 0.825109 | 0.006467 | 0 | 0.746841 | 0 | 0 | 0.096864 | 0.033653 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031922 | false | 0.002438 | 0.003769 | 0 | 0.067169 | 0.000887 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
58026e380e25575243fa35d7a68a0e658080f5bc | 16,832 | py | Python | airflow/providers/google/cloud/sensors/dataflow.py | wegamekinglc/incubator-airflow | fc174635b0729253a86e8c877d6d8551a815a2cb | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 3 | 2021-07-30T16:46:46.000Z | 2021-10-19T07:18:47.000Z | airflow/providers/google/cloud/sensors/dataflow.py | wegamekinglc/incubator-airflow | fc174635b0729253a86e8c877d6d8551a815a2cb | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 6 | 2019-03-16T02:09:30.000Z | 2019-06-27T03:27:34.000Z | airflow/providers/google/cloud/sensors/dataflow.py | wegamekinglc/incubator-airflow | fc174635b0729253a86e8c877d6d8551a815a2cb | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 2 | 2021-05-05T07:36:36.000Z | 2021-11-10T17:32:39.000Z | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
"""This module contains a Google Cloud Dataflow sensor."""
from typing import Callable, Optional, Sequence, Set, Union
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.hooks.dataflow import (
DEFAULT_DATAFLOW_LOCATION,
DataflowHook,
DataflowJobStatus,
)
from airflow.sensors.base import BaseSensorOperator
from airflow.utils.decorators import apply_defaults
class DataflowJobStatusSensor(BaseSensorOperator):
"""
Checks for the status of a job in Google Cloud Dataflow.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataflowJobStatusSensor`
:param job_id: ID of the job to be checked.
:type job_id: str
:param expected_statuses: The expected state of the operation.
See:
https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#Job.JobState
:type expected_statuses: Union[Set[str], str]
:param project_id: Optional, the Google Cloud project ID in which to start a job.
If set to None or missing, the default project_id from the Google Cloud connection is used.
:type project_id: str
:param location: The location of the Dataflow job (for example europe-west1). See:
https://cloud.google.com/dataflow/docs/concepts/regional-endpoints
:type location: str
:param gcp_conn_id: The connection ID to use connecting to Google Cloud.
:type gcp_conn_id: str
:param delegate_to: The account to impersonate using domain-wide delegation of authority,
if any. For this to work, the service account making the request must have
domain-wide delegation enabled. See:
https://developers.google.com/identity/protocols/oauth2/service-account#delegatingauthority
:type delegate_to: str
:param impersonation_chain: Optional service account to impersonate using short-term
credentials, or chained list of accounts required to get the access_token
of the last account in the list, which will be impersonated in the request.
If set as a string, the account must grant the originating account
the Service Account Token Creator IAM role.
If set as a sequence, the identities from the list must grant
Service Account Token Creator IAM role to the directly preceding identity, with first
account from the list granting this role to the originating account (templated).
:type impersonation_chain: Union[str, Sequence[str]]
"""
template_fields = ['job_id']
@apply_defaults
def __init__(
self,
*,
job_id: str,
expected_statuses: Union[Set[str], str],
project_id: Optional[str] = None,
location: str = DEFAULT_DATAFLOW_LOCATION,
gcp_conn_id: str = 'google_cloud_default',
delegate_to: Optional[str] = None,
impersonation_chain: Optional[Union[str, Sequence[str]]] = None,
**kwargs,
) -> None:
super().__init__(**kwargs)
self.job_id = job_id
self.expected_statuses = (
{expected_statuses} if isinstance(expected_statuses, str) else expected_statuses
)
self.project_id = project_id
self.location = location
self.gcp_conn_id = gcp_conn_id
self.delegate_to = delegate_to
self.impersonation_chain = impersonation_chain
self.hook: Optional[DataflowHook] = None
def poke(self, context: dict) -> bool:
self.log.info(
"Waiting for job %s to be in one of the states: %s.",
self.job_id,
", ".join(self.expected_statuses),
)
self.hook = DataflowHook(
gcp_conn_id=self.gcp_conn_id,
delegate_to=self.delegate_to,
impersonation_chain=self.impersonation_chain,
)
job = self.hook.get_job(
job_id=self.job_id,
project_id=self.project_id,
location=self.location,
)
job_status = job["currentState"]
self.log.debug("Current job status for job %s: %s.", self.job_id, job_status)
if job_status in self.expected_statuses:
return True
elif job_status in DataflowJobStatus.TERMINAL_STATES:
raise AirflowException(f"Job with id '{self.job_id}' is already in terminal state: {job_status}")
return False
class DataflowJobMetricsSensor(BaseSensorOperator):
"""
Checks the metrics of a job in Google Cloud Dataflow.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataflowJobMetricsSensor`
:param job_id: ID of the job to be checked.
:type job_id: str
:param callback: callback which is called with list of read job metrics
See:
https://cloud.google.com/dataflow/docs/reference/rest/v1b3/MetricUpdate
:type callback: callable
:param fail_on_terminal_state: If set to true sensor will raise Exception when
job is in terminal state
:type fail_on_terminal_state: bool
:param project_id: Optional, the Google Cloud project ID in which to start a job.
If set to None or missing, the default project_id from the Google Cloud connection is used.
:type project_id: str
:param location: The location of the Dataflow job (for example europe-west1). See:
https://cloud.google.com/dataflow/docs/concepts/regional-endpoints
:param gcp_conn_id: The connection ID to use connecting to Google Cloud.
:type gcp_conn_id: str
:param delegate_to: The account to impersonate using domain-wide delegation of authority,
if any. For this to work, the service account making the request must have
domain-wide delegation enabled.
:type delegate_to: str
:param impersonation_chain: Optional service account to impersonate using short-term
credentials, or chained list of accounts required to get the access_token
of the last account in the list, which will be impersonated in the request.
If set as a string, the account must grant the originating account
the Service Account Token Creator IAM role.
If set as a sequence, the identities from the list must grant
Service Account Token Creator IAM role to the directly preceding identity, with first
account from the list granting this role to the originating account (templated).
:type impersonation_chain: Union[str, Sequence[str]]
"""
template_fields = ['job_id']
@apply_defaults
def __init__(
self,
*,
job_id: str,
callback: Callable[[dict], bool],
fail_on_terminal_state: bool = True,
project_id: Optional[str] = None,
location: str = DEFAULT_DATAFLOW_LOCATION,
gcp_conn_id: str = 'google_cloud_default',
delegate_to: Optional[str] = None,
impersonation_chain: Optional[Union[str, Sequence[str]]] = None,
**kwargs,
) -> None:
super().__init__(**kwargs)
self.job_id = job_id
self.project_id = project_id
self.callback = callback
self.fail_on_terminal_state = fail_on_terminal_state
self.location = location
self.gcp_conn_id = gcp_conn_id
self.delegate_to = delegate_to
self.impersonation_chain = impersonation_chain
self.hook: Optional[DataflowHook] = None
def poke(self, context: dict) -> bool:
self.hook = DataflowHook(
gcp_conn_id=self.gcp_conn_id,
delegate_to=self.delegate_to,
impersonation_chain=self.impersonation_chain,
)
if self.fail_on_terminal_state:
job = self.hook.get_job(
job_id=self.job_id,
project_id=self.project_id,
location=self.location,
)
job_status = job["currentState"]
if job_status in DataflowJobStatus.TERMINAL_STATES:
raise AirflowException(
f"Job with id '{self.job_id}' is already in terminal state: {job_status}"
)
result = self.hook.fetch_job_metrics_by_id(
job_id=self.job_id,
project_id=self.project_id,
location=self.location,
)
return self.callback(result["metrics"])
class DataflowJobMessagesSensor(BaseSensorOperator):
"""
Checks for the job message in Google Cloud Dataflow.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataflowJobMessagesSensor`
:param job_id: ID of the job to be checked.
:type job_id: str
:param callback: callback which is called with list of read job metrics
See:
https://cloud.google.com/dataflow/docs/reference/rest/v1b3/MetricUpdate
:type callback: callable
:param fail_on_terminal_state: If set to true sensor will raise Exception when
job is in terminal state
:type fail_on_terminal_state: bool
:param project_id: Optional, the Google Cloud project ID in which to start a job.
If set to None or missing, the default project_id from the Google Cloud connection is used.
:type project_id: str
:param location: Job location.
:type location: str
:param gcp_conn_id: The connection ID to use connecting to Google Cloud.
:type gcp_conn_id: str
:param delegate_to: The account to impersonate using domain-wide delegation of authority,
if any. For this to work, the service account making the request must have
domain-wide delegation enabled.
:type delegate_to: str
:param impersonation_chain: Optional service account to impersonate using short-term
credentials, or chained list of accounts required to get the access_token
of the last account in the list, which will be impersonated in the request.
If set as a string, the account must grant the originating account
the Service Account Token Creator IAM role.
If set as a sequence, the identities from the list must grant
Service Account Token Creator IAM role to the directly preceding identity, with first
account from the list granting this role to the originating account (templated).
:type impersonation_chain: Union[str, Sequence[str]]
"""
template_fields = ['job_id']
@apply_defaults
def __init__(
self,
*,
job_id: str,
callback: Callable,
fail_on_terminal_state: bool = True,
project_id: Optional[str] = None,
location: str = DEFAULT_DATAFLOW_LOCATION,
gcp_conn_id: str = 'google_cloud_default',
delegate_to: Optional[str] = None,
impersonation_chain: Optional[Union[str, Sequence[str]]] = None,
**kwargs,
) -> None:
super().__init__(**kwargs)
self.job_id = job_id
self.project_id = project_id
self.callback = callback
self.fail_on_terminal_state = fail_on_terminal_state
self.location = location
self.gcp_conn_id = gcp_conn_id
self.delegate_to = delegate_to
self.impersonation_chain = impersonation_chain
self.hook: Optional[DataflowHook] = None
def poke(self, context: dict) -> bool:
self.hook = DataflowHook(
gcp_conn_id=self.gcp_conn_id,
delegate_to=self.delegate_to,
impersonation_chain=self.impersonation_chain,
)
if self.fail_on_terminal_state:
job = self.hook.get_job(
job_id=self.job_id,
project_id=self.project_id,
location=self.location,
)
job_status = job["currentState"]
if job_status in DataflowJobStatus.TERMINAL_STATES:
raise AirflowException(
f"Job with id '{self.job_id}' is already in terminal state: {job_status}"
)
result = self.hook.fetch_job_messages_by_id(
job_id=self.job_id,
project_id=self.project_id,
location=self.location,
)
return self.callback(result)
class DataflowJobAutoScalingEventsSensor(BaseSensorOperator):
"""
Checks for the job autoscaling event in Google Cloud Dataflow.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataflowJobAutoScalingEventsSensor`
:param job_id: ID of the job to be checked.
:type job_id: str
:param callback: callback which is called with list of read job metrics
See:
https://cloud.google.com/dataflow/docs/reference/rest/v1b3/MetricUpdate
:type callback: callable
:param fail_on_terminal_state: If set to true sensor will raise Exception when
job is in terminal state
:type fail_on_terminal_state: bool
:param project_id: Optional, the Google Cloud project ID in which to start a job.
If set to None or missing, the default project_id from the Google Cloud connection is used.
:type project_id: str
:param location: Job location.
:type location: str
:param gcp_conn_id: The connection ID to use connecting to Google Cloud.
:type gcp_conn_id: str
:param delegate_to: The account to impersonate using domain-wide delegation of authority,
if any. For this to work, the service account making the request must have
domain-wide delegation enabled.
:type delegate_to: str
:param impersonation_chain: Optional service account to impersonate using short-term
credentials, or chained list of accounts required to get the access_token
of the last account in the list, which will be impersonated in the request.
If set as a string, the account must grant the originating account
the Service Account Token Creator IAM role.
If set as a sequence, the identities from the list must grant
Service Account Token Creator IAM role to the directly preceding identity, with first
account from the list granting this role to the originating account (templated).
:type impersonation_chain: Union[str, Sequence[str]]
"""
template_fields = ['job_id']
@apply_defaults
def __init__(
self,
*,
job_id: str,
callback: Callable,
fail_on_terminal_state: bool = True,
project_id: Optional[str] = None,
location: str = DEFAULT_DATAFLOW_LOCATION,
gcp_conn_id: str = 'google_cloud_default',
delegate_to: Optional[str] = None,
impersonation_chain: Optional[Union[str, Sequence[str]]] = None,
**kwargs,
) -> None:
super().__init__(**kwargs)
self.job_id = job_id
self.project_id = project_id
self.callback = callback
self.fail_on_terminal_state = fail_on_terminal_state
self.location = location
self.gcp_conn_id = gcp_conn_id
self.delegate_to = delegate_to
self.impersonation_chain = impersonation_chain
self.hook: Optional[DataflowHook] = None
def poke(self, context: dict) -> bool:
self.hook = DataflowHook(
gcp_conn_id=self.gcp_conn_id,
delegate_to=self.delegate_to,
impersonation_chain=self.impersonation_chain,
)
if self.fail_on_terminal_state:
job = self.hook.get_job(
job_id=self.job_id,
project_id=self.project_id,
location=self.location,
)
job_status = job["currentState"]
if job_status in DataflowJobStatus.TERMINAL_STATES:
raise AirflowException(
f"Job with id '{self.job_id}' is already in terminal state: {job_status}"
)
result = self.hook.fetch_job_autoscaling_events_by_id(
job_id=self.job_id,
project_id=self.project_id,
location=self.location,
)
return self.callback(result)
| 41.560494 | 109 | 0.674311 | 2,202 | 16,832 | 4.993188 | 0.111262 | 0.020009 | 0.02292 | 0.031105 | 0.842383 | 0.83638 | 0.828922 | 0.828922 | 0.828922 | 0.828922 | 0 | 0.001201 | 0.258258 | 16,832 | 404 | 110 | 41.663366 | 0.879455 | 0.493643 | 0 | 0.770732 | 0 | 0 | 0.066179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039024 | false | 0 | 0.02439 | 0 | 0.126829 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
6af92cd5d71a934faab3e28258ad912ae847fa84 | 19,445 | py | Python | tests/integration/docusaurus/connecting_to_your_data/how_to_configure_a_configuredassetdataconnector.py | daccorti/great_expectations | d0ead37f85d1122040067b767d69fa4be18c2ca5 | [
"Apache-2.0"
] | null | null | null | tests/integration/docusaurus/connecting_to_your_data/how_to_configure_a_configuredassetdataconnector.py | daccorti/great_expectations | d0ead37f85d1122040067b767d69fa4be18c2ca5 | [
"Apache-2.0"
] | null | null | null | tests/integration/docusaurus/connecting_to_your_data/how_to_configure_a_configuredassetdataconnector.py | daccorti/great_expectations | d0ead37f85d1122040067b767d69fa4be18c2ca5 | [
"Apache-2.0"
] | null | null | null | from ruamel import yaml
import great_expectations as ge
from great_expectations.core.batch import BatchRequest
context = ge.get_context()
# YAML
datasource_yaml = """
name: taxi_datasource
class_name: Datasource
module_name: great_expectations.datasource
execution_engine:
module_name: great_expectations.execution_engine
class_name: PandasExecutionEngine
data_connectors:
default_configured_data_connector_name:
class_name: ConfiguredAssetFilesystemDataConnector
base_directory: <MY DIRECTORY>/
assets:
yellow_tripdata:
pattern: yellow_tripdata_(.*)\.csv
group_names:
- month
"""
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the yaml above.
datasource_yaml = datasource_yaml.replace(
"<MY DIRECTORY>/", "../data/single_directory_one_data_asset/"
)
test_yaml = context.test_yaml_config(datasource_yaml, return_mode="report_object")
# Python
datasource_config = {
"name": "taxi_datasource",
"class_name": "Datasource",
"module_name": "great_expectations.datasource",
"execution_engine": {
"module_name": "great_expectations.execution_engine",
"class_name": "PandasExecutionEngine",
},
"data_connectors": {
"default_configured_data_connector_name": {
"class_name": "ConfiguredAssetFilesystemDataConnector",
"base_directory": "<MY DIRECTORY>/",
"assets": {
"yellow_tripdata": {
"pattern": "yellow_tripdata_(.*)\.csv",
"group_names": ["month"],
}
},
},
},
}
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the code above.
datasource_config["data_connectors"]["default_configured_data_connector_name"][
"base_directory"
] = "../data/single_directory_one_data_asset/"
test_python = context.test_yaml_config(
yaml.dump(datasource_config), return_mode="report_object"
)
assert test_yaml == test_python
context.add_datasource(**datasource_config)
batch_request = BatchRequest(
datasource_name="taxi_datasource",
data_connector_name="default_configured_data_connector_name",
data_asset_name="yellow_tripdata",
)
context.create_expectation_suite(
expectation_suite_name="<MY EXPECTATION SUITE NAME>", overwrite_existing=True
)
validator = context.get_validator(
batch_request=batch_request,
expectation_suite_name="<MY EXPECTATION SUITE NAME>",
batch_identifiers={"month": "2019-02"},
)
print(validator.head())
# NOTE: The following code is only for testing and can be ignored by users.
assert isinstance(validator, ge.validator.validator.Validator)
assert [ds["name"] for ds in context.list_datasources()] == ["taxi_datasource"]
assert "yellow_tripdata" in set(
context.get_available_data_asset_names()["taxi_datasource"][
"default_configured_data_connector_name"
]
)
# YAML
datasource_yaml = """
name: taxi_datasource
class_name: Datasource
module_name: great_expectations.datasource
execution_engine:
module_name: great_expectations.execution_engine
class_name: PandasExecutionEngine
data_connectors:
default_inferred_data_connector_name:
class_name: InferredAssetS3DataConnector
bucket: <MY S3 BUCKET>/
prefix: <MY S3 BUCKET PREFIX>/
default_regex:
group_names:
- month
pattern: yellow_tripdata_(.*)\.csv
"""
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the yaml above.
datasource_yaml = datasource_yaml.replace("<MY S3 BUCKET>/", "superconductive-public")
datasource_yaml = datasource_yaml.replace(
"<MY S3 BUCKET PREFIX>/", "data/taxi_yellow_trip_data_samples/"
)
# TODO: Uncomment once S3 testing in Azure Pipelines is re-enabled
# test_yaml = context.test_yaml_config(datasource_yaml, return_mode="report_object")
# Python
datasource_config = {
"name": "taxi_datasource",
"class_name": "Datasource",
"module_name": "great_expectations.datasource",
"execution_engine": {
"module_name": "great_expectations.execution_engine",
"class_name": "PandasExecutionEngine",
},
"data_connectors": {
"default_inferred_data_connector_name": {
"class_name": "InferredAssetFilesystemDataConnector",
"bucket": "<MY S3 BUCKET>/",
"prefix": "<MY S3 BUCKET PREFIX>/",
"default_regex": {
"group_names": ["month"],
"pattern": "yellow_tripdata_(.*)\.csv",
},
},
},
}
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the code above.
datasource_config["data_connectors"]["default_inferred_data_connector_name"][
"bucket"
] = "superconductive-public"
datasource_config["data_connectors"]["default_inferred_data_connector_name"][
"prefix"
] = "data/taxi_yellow_trip_data_samples/"
# TODO: Uncomment once S3 testing in Azure Pipelines is re-enabled
# test_python = context.test_yaml_config(
# yaml.dump(datasource_config), return_mode="report_object"
# )
#
# assert test_yaml == test_python
#
# context.add_datasource(**datasource_config)
#
# assert [ds["name"] for ds in context.list_datasources()] == ["taxi_datasource"]
# assert "yellow_tripdata" in set(
# context.get_available_data_asset_names()["taxi_datasource"][
# "default_inferred_data_connector_name"
# ]
# )
# YAML
datasource_yaml = """
name: taxi_datasource
class_name: Datasource
module_name: great_expectations.datasource
execution_engine:
module_name: great_expectations.execution_engine
class_name: PandasExecutionEngine
data_connectors:
default_configured_data_connector_name:
class_name: ConfiguredAssetFilesystemDataConnector
base_directory: <MY DIRECTORY>/
assets:
yellow_tripdata:
pattern: (.*)\.csv
group_names:
- month
"""
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the yaml above.
datasource_yaml = datasource_yaml.replace(
"<MY DIRECTORY>/", "../data/single_directory_one_data_asset/"
)
test_yaml = context.test_yaml_config(datasource_yaml, return_mode="report_object")
# Python
datasource_config = {
"name": "taxi_datasource",
"class_name": "Datasource",
"module_name": "great_expectations.datasource",
"execution_engine": {
"module_name": "great_expectations.execution_engine",
"class_name": "PandasExecutionEngine",
},
"data_connectors": {
"default_configured_data_connector_name": {
"class_name": "ConfiguredAssetFilesystemDataConnector",
"base_directory": "<MY DIRECTORY>/",
"assets": {
"yellow_tripdata": {
"pattern": "yellow_tripdata_(.*)\.csv",
"group_names": ["month"],
}
},
},
},
}
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the code above.
datasource_config["data_connectors"]["default_configured_data_connector_name"][
"base_directory"
] = "../data/single_directory_one_data_asset/"
test_python = context.test_yaml_config(
yaml.dump(datasource_config), return_mode="report_object"
)
assert test_yaml == test_python
context.add_datasource(**datasource_config)
batch_request = BatchRequest(
datasource_name="taxi_datasource",
data_connector_name="default_configured_data_connector_name",
data_asset_name="yellow_tripdata",
)
validator = context.get_validator(
batch_request=batch_request,
expectation_suite_name="<MY EXPECTATION SUITE NAME>",
batch_identifiers={"month": "2019-02"},
)
# NOTE: The following code is only for testing and can be ignored by users.
assert isinstance(validator, ge.validator.validator.Validator)
assert [ds["name"] for ds in context.list_datasources()] == ["taxi_datasource"]
assert "yellow_tripdata" in set(
context.get_available_data_asset_names()["taxi_datasource"][
"default_configured_data_connector_name"
]
)
# YAML
datasource_yaml = """
name: taxi_datasource
class_name: Datasource
module_name: great_expectations.datasource
execution_engine:
module_name: great_expectations.execution_engine
class_name: PandasExecutionEngine
data_connectors:
default_configured_data_connector_name:
class_name: ConfiguredAssetFilesystemDataConnector
base_directory: <MY DIRECTORY>/
assets:
yellow_tripdata:
pattern: green_tripdata_(.*)\.csv
group_names:
- month
"""
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the yaml above.
datasource_yaml = datasource_yaml.replace(
"<MY DIRECTORY>/", "../data/single_directory_one_data_asset/"
)
test_yaml = context.test_yaml_config(datasource_yaml, return_mode="report_object")
# Python
datasource_config = {
"name": "taxi_datasource",
"class_name": "Datasource",
"module_name": "great_expectations.datasource",
"execution_engine": {
"module_name": "great_expectations.execution_engine",
"class_name": "PandasExecutionEngine",
},
"data_connectors": {
"default_configured_data_connector_name": {
"class_name": "ConfiguredAssetFilesystemDataConnector",
"base_directory": "<MY DIRECTORY>/",
"assets": {
"yellow_tripdata": {
"pattern": "green_tripdata_(.*)\.csv",
"group_names": ["month"],
}
},
},
},
}
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the code above.
datasource_config["data_connectors"]["default_configured_data_connector_name"][
"base_directory"
] = "../data/single_directory_one_data_asset/"
test_python = context.test_yaml_config(
yaml.dump(datasource_config), return_mode="report_object"
)
# NOTE: The following code is only for testing and can be ignored by users.
assert test_yaml == test_python
assert [ds["name"] for ds in context.list_datasources()] == ["taxi_datasource"]
assert "yellow_tripdata" in set(
context.get_available_data_asset_names()["taxi_datasource"][
"default_configured_data_connector_name"
]
)
# YAML
datasource_yaml = """
name: taxi_datasource
class_name: Datasource
module_name: great_expectations.datasource
execution_engine:
module_name: great_expectations.execution_engine
class_name: PandasExecutionEngine
data_connectors:
default_configured_data_connector_name:
class_name: ConfiguredAssetFilesystemDataConnector
base_directory: <MY DIRECTORY>/
assets:
yellow_tripdata:
pattern: yellow_tripdata_(\d{4})-(\d{2})\.csv
group_names:
- year
- month
green_tripdata:
pattern: green_tripdata_(\d{4})-(\d{2})\.csv
group_names:
- year
- month
"""
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the yaml above.
datasource_yaml = datasource_yaml.replace(
"<MY DIRECTORY>/", "../data/single_directory_two_data_assets/"
)
test_yaml = context.test_yaml_config(datasource_yaml, return_mode="report_object")
# Python
datasource_config = {
"name": "taxi_datasource",
"class_name": "Datasource",
"module_name": "great_expectations.datasource",
"execution_engine": {
"module_name": "great_expectations.execution_engine",
"class_name": "PandasExecutionEngine",
},
"data_connectors": {
"default_configured_data_connector_name": {
"class_name": "ConfiguredAssetFilesystemDataConnector",
"base_directory": "<MY DIRECTORY>/",
"assets": {
"yellow_tripdata": {
"pattern": "yellow_tripdata_(\d{4})-(\d{2})\.csv",
"group_names": ["year", "month"],
},
"green_tripdata": {
"pattern": "green_tripdata_(\d{4})-(\d{2})\.csv",
"group_names": ["year", "month"],
},
},
},
},
}
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the code above.
datasource_config["data_connectors"]["default_configured_data_connector_name"][
"base_directory"
] = "../data/single_directory_two_data_assets/"
test_python = context.test_yaml_config(
yaml.dump(datasource_config), return_mode="report_object"
)
# NOTE: The following code is only for testing and can be ignored by users.
# TODO: Uncomment the line below once ISSUE #3589 (https://github.com/great-expectations/great_expectations/issues/3589) is resolved
# assert test_yaml == test_python
assert [ds["name"] for ds in context.list_datasources()] == ["taxi_datasource"]
assert "yellow_tripdata" in set(
context.get_available_data_asset_names()["taxi_datasource"][
"default_configured_data_connector_name"
]
)
assert "green_tripdata" in set(
context.get_available_data_asset_names()["taxi_datasource"][
"default_configured_data_connector_name"
]
)
# YAML
datasource_yaml = """
name: taxi_datasource
class_name: Datasource
module_name: great_expectations.datasource
execution_engine:
module_name: great_expectations.execution_engine
class_name: PandasExecutionEngine
data_connectors:
default_configured_data_connector_name:
class_name: ConfiguredAssetFilesystemDataConnector
base_directory: <MY DIRECTORY>/
assets:
yellow_tripdata:
base_directory: yellow_tripdata/
pattern: yellow_tripdata_(\d{4})-(\d{2})\.csv
group_names:
- year
- month
green_tripdata:
base_directory: green_tripdata/
pattern: (\d{4})-(\d{2})\.csv
group_names:
- year
- month
"""
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the yaml above.
datasource_yaml = datasource_yaml.replace(
"<MY DIRECTORY>/", "../data/nested_directories_data_asset/"
)
test_yaml = context.test_yaml_config(datasource_yaml, return_mode="report_object")
# Python
datasource_config = {
"name": "taxi_datasource",
"class_name": "Datasource",
"module_name": "great_expectations.datasource",
"execution_engine": {
"module_name": "great_expectations.execution_engine",
"class_name": "PandasExecutionEngine",
},
"data_connectors": {
"default_configured_data_connector_name": {
"class_name": "ConfiguredAssetFilesystemDataConnector",
"base_directory": "<MY DIRECTORY>/",
"assets": {
"yellow_tripdata": {
"base_directory": "yellow_tripdata/",
"pattern": "yellow_tripdata_(\d{4})-(\d{2})\.csv",
"group_names": ["year", "month"],
},
"green_tripdata": {
"base_directory": "green_tripdata/",
"pattern": "(\d{4})-(\d{2})\.csv",
"group_names": ["year", "month"],
},
},
},
},
}
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the code above.
datasource_config["data_connectors"]["default_configured_data_connector_name"][
"base_directory"
] = "../data/nested_directories_data_asset/"
test_python = context.test_yaml_config(
yaml.dump(datasource_config), return_mode="report_object"
)
# NOTE: The following code is only for testing and can be ignored by users.
assert test_yaml == test_python
assert [ds["name"] for ds in context.list_datasources()] == ["taxi_datasource"]
assert "yellow_tripdata" in set(
context.get_available_data_asset_names()["taxi_datasource"][
"default_configured_data_connector_name"
]
)
assert "green_tripdata" in set(
context.get_available_data_asset_names()["taxi_datasource"][
"default_configured_data_connector_name"
]
)
# YAML
datasource_yaml = """
name: taxi_datasource
class_name: Datasource
module_name: great_expectations.datasource
execution_engine:
module_name: great_expectations.execution_engine
class_name: PandasExecutionEngine
data_connectors:
default_configured_data_connector_name:
class_name: ConfiguredAssetFilesystemDataConnector
base_directory: <MY DIRECTORY>/
default_regex:
pattern: (.*)_(\d{4})-(\d{2})\.(csv|txt)$
group_names:
- data_asset_name
- year
- month
assets:
yellow_tripdata:
base_directory: yellow/tripdata/
glob_directive: "*.txt"
green_tripdata:
base_directory: green_tripdata/
glob_directive: "*.csv"
"""
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the yaml above.
datasource_yaml = datasource_yaml.replace(
"<MY DIRECTORY>/", "../data/nested_directories_complex/"
)
test_yaml = context.test_yaml_config(datasource_yaml, return_mode="report_object")
# Python
datasource_config = {
"name": "taxi_datasource",
"class_name": "Datasource",
"module_name": "great_expectations.datasource",
"execution_engine": {
"module_name": "great_expectations.execution_engine",
"class_name": "PandasExecutionEngine",
},
"data_connectors": {
"default_configured_data_connector_name": {
"class_name": "ConfiguredAssetFilesystemDataConnector",
"base_directory": "<MY DIRECTORY>/",
"default_regex": {
"pattern": "(.*)_(\d{4})-(\d{2})\.(csv|txt)$",
"group_names": ["data_asset_name", "year", "month"],
},
"assets": {
"yellow_tripdata": {
"base_directory": "yellow/tripdata/",
"glob_directive": "*.txt",
},
"green_tripdata": {
"base_directory": "green_tripdata/",
"glob_directive": "*.csv",
},
},
},
},
}
# Please note this override is only to provide good UX for docs and tests.
# In normal usage you'd set your path directly in the code above.
datasource_config["data_connectors"]["default_configured_data_connector_name"][
"base_directory"
] = "../data/nested_directories_complex/"
test_python = context.test_yaml_config(
yaml.dump(datasource_config), return_mode="report_object"
)
# NOTE: The following code is only for testing and can be ignored by users.
assert test_yaml == test_python
assert [ds["name"] for ds in context.list_datasources()] == ["taxi_datasource"]
assert "yellow_tripdata" in set(
context.get_available_data_asset_names()["taxi_datasource"][
"default_configured_data_connector_name"
]
)
assert "green_tripdata" in set(
context.get_available_data_asset_names()["taxi_datasource"][
"default_configured_data_connector_name"
]
)
| 32.957627 | 132 | 0.686809 | 2,180 | 19,445 | 5.800917 | 0.064679 | 0.029891 | 0.048395 | 0.068796 | 0.968369 | 0.967737 | 0.96663 | 0.963309 | 0.957062 | 0.950182 | 0 | 0.003163 | 0.20324 | 19,445 | 589 | 133 | 33.013582 | 0.813077 | 0.166264 | 0 | 0.725702 | 0 | 0 | 0.567614 | 0.247538 | 0 | 0 | 0 | 0.001698 | 0.047516 | 1 | 0 | false | 0 | 0.006479 | 0 | 0.006479 | 0.00216 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
ed3144e8413f3c4a147b33d60f8666264845dd15 | 62,380 | py | Python | cogent/src/codes/kernels/tc_interface.py | Lcrypto/CGO2019-AE | cba7598b42f10eab655a8907a6db71094c1f558d | [
"BSD-4-Clause"
] | 4 | 2019-12-03T16:08:14.000Z | 2020-08-26T16:38:54.000Z | cogent/src/codes/kernels/tc_interface.py | Lcrypto/CGO2019-AE | cba7598b42f10eab655a8907a6db71094c1f558d | [
"BSD-4-Clause"
] | null | null | null | cogent/src/codes/kernels/tc_interface.py | Lcrypto/CGO2019-AE | cba7598b42f10eab655a8907a6db71094c1f558d | [
"BSD-4-Clause"
] | 1 | 2020-03-03T20:31:37.000Z | 2020-03-03T20:31:37.000Z | import src.generators.tc_helper as tc_helper
import src.codes.tc_code_etc as tc_code_etc
import src.codes.kernels.helper_interface as helper_interface
import src.codes.others.tc_pre_CUDA_Malloc as tc_pre_CUDA_Malloc
import src.codes.others.tc_post_HostDevice_Free as tc_post_HostDevice_Free
#
# A Caller for Kernel(s)
#
def tc_gen_code_kernel_caller(f, interface_name, kernel_name, l_interface_info,
l_external_index, l_internal_index,
l_mapping_TB_K,
l_var_thread_block, l_var_outputs, l_var_outputs_helpers, l_var_input_left, l_var_input_right, l_var_input_internal,
l_combined_var_input_left, l_combined_var_input_right, l_combined_var_outputs_helpers, l_combined_var_thread_block, l_combined_register_mappings,
l_internal_addrs,
l_combined_internal_addrs,
l_cuda_malloc, l_device_dynamic, l_host_dynamic,
l_t3_parameters, l_t2_parameters, l_v2_parameters,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters,
opt_pre_computed, opt_data_type):
#
# [0] Header
#
tc_gen_code_interface_Header(f, interface_name, l_interface_info, opt_data_type)
f.write("{\n")
#
# [1] Variables Used in the Caller
#
tc_gen_code_interface_Variables(f, l_combined_var_thread_block, l_var_outputs, l_combined_var_outputs_helpers, l_combined_var_input_left, l_combined_var_input_right, l_var_input_internal, opt_pre_computed)
#
if opt_pre_computed != -1:
#
# [2] Tile-Arroaches
#
tc_gen_code_interface_TileApproach(f, l_combined_var_outputs_helpers, l_interface_info)
#
# [3] Pre-Computed and In-Direction Arrays
#
tc_gen_code_interface_PreComputedArrays(f, l_combined_var_outputs_helpers, l_combined_var_input_left, l_combined_var_input_right, l_interface_info)
else:
#
# # of Thread Blocks
#
str_num_thread_blocks = ""
idx_count = 0
for each_idx in l_external_index:
if idx_count == 0:
str_num_thread_blocks = "CEIL(size_" + each_idx + ", SIZE_SLICE_1_" + each_idx.capitalize() + ")"
else:
str_num_thread_blocks = str_num_thread_blocks + " * CEIL(size_" + each_idx + ", SIZE_SLICE_1_" + each_idx.capitalize() + ")"
idx_count = idx_count + 1
f.write("\t" + l_combined_var_thread_block[0][0][1] + " = " + str_num_thread_blocks + ";\n")
#
# [4] cudaMalloc & cudaMemcpy
#
tc_pre_CUDA_Malloc.tc_gen_code_driver_CUDA_Malloc(f, l_cuda_malloc, l_device_dynamic, opt_pre_computed)
#
# [5] Related to Kernels
#
tc_gen_code_interface_RelatedKernels(f, l_combined_var_input_left, l_combined_var_thread_block, l_external_index, l_internal_index, l_combined_register_mappings, l_internal_addrs, l_combined_internal_addrs, l_mapping_TB_K, opt_data_type)
#
# Need One More Condition to Check if Register Transpose is Possible or not.
#
#
# [6] Decision Tree for Kernel Types
#
#tc_gen_code_interface_Force_Partial_Kernel(f, kernel_name, l_combined_var_thread_block, l_external_index, l_internal_index,
# l_combined_register_mappings, l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs, opt_pre_computed)
tc_gen_code_interface_DecisionTree(f, kernel_name, l_combined_var_thread_block, l_external_index, l_internal_index,
l_combined_register_mappings, l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs, opt_pre_computed)
#
# [7] Copy the Result from Device to Host
#
tc_gen_code_interface_MemcpyOutput(f, l_external_index, opt_data_type)
#
# [8] CudaFree
#
tc_gen_code_interface_CUDAFree(f, l_cuda_malloc, opt_pre_computed)
#
# [9] HostFree
#
print (">>>>>>> l_host_dynamic: ", l_host_dynamic)
f.write("\t// Shoule be Fixed\n")
tc_gen_code_interface_HostFree(f, l_host_dynamic)
#
# End of the Caller
#
f.write("}\n")
#
# [0] Header
#
def tc_gen_code_interface_Header(f, interface_name, l_interface_info, opt_data_type):
#
f.write("\n")
f.write("// written by tc_interface.tc_gen_code_interface_Header()\n")
f.write("extern \"C\"\n")
f.write("void " + interface_name + "(")
#
# l_interface_info: [0] All Index, [1] Output, [2] Inputs, [3] Conditions, [4] Options
# If the code generator supports multiple-output-groups, this should be corrected.
#
list_info_split_indices = l_interface_info[0][5]
# [0] All Index
idx_count = 0
for each_index in l_interface_info[0][0]:
if idx_count == 0:
f.write("int size_" + each_index)
else:
f.write(", int size_" + each_index)
idx_count = idx_count + 1
# [1] Output
if opt_data_type == "DOUBLE":
f.write(", double* " + l_interface_info[0][1])
else:
f.write(", float* " + l_interface_info[0][1])
# [2] Inputs
for each_pair_inputs in l_interface_info[0][2]:
for each_input in each_pair_inputs:
if opt_data_type == "DOUBLE":
f.write(", double* host_" + each_input)
else:
f.write(", float* host_" + each_input)
# [3] Conditions
for each_condition in l_interface_info[0][3]:
f.write(", int " + each_condition)
# [4] Option(s): (Currently) Only One Option for Register Transpose
f.write(", int " + l_interface_info[0][4])
f.write(")\n")
#
# [1] Variables
#
def tc_gen_code_interface_Variables(f, l_combined_var_thread_block, l_var_outputs, l_combined_var_outputs_helpers, l_combined_var_input_left, l_combined_var_input_right, l_var_input_internal, opt_pre_computed):
# 1. The Number of Thread Blocks per Kernel
for each_inner_group in l_combined_var_thread_block:
for each_var in each_inner_group:
f.write("\t" + each_var[0] + " " + each_var[1] + ";")
f.write("\n")
f.write("\n")
# 2. Outputs
for each_var in l_var_outputs:
f.write("\t" + each_var[0] + " " + each_var[1] + ";")
f.write("\n")
# 3. Outputs-Helpers
if opt_pre_computed != -1:
for each_inner_group in l_combined_var_outputs_helpers:
for each_var in each_inner_group:
f.write("\t" + each_var[0] + " " + each_var[1] + ";")
f.write("\n")
f.write("\n")
# 4. Input-Left
for each_inner_group in l_combined_var_input_left:
for each_var in each_inner_group:
if opt_pre_computed == -1:
if "addr" in each_var[1]:
continue
if "offset" in each_var[1]:
continue
#
f.write("\t" + each_var[0] + " " + each_var[1] + ";")
else:
f.write("\t" + each_var[0] + " " + each_var[1] + ";")
f.write("\n")
# 5. Input-Right
for each_inner_group in l_combined_var_input_right:
for each_var in each_inner_group:
if opt_pre_computed == -1:
if "addr" in each_var[1]:
continue
if "offset" in each_var[1]:
continue
#
f.write("\t" + each_var[0] + " " + each_var[1] + ";")
else:
f.write("\t" + each_var[0] + " " + each_var[1] + ";")
f.write("\n")
f.write("\n")
# 6. Input-Internal
for each_var in l_var_input_internal:
f.write("\t" + each_var[0] + " " + each_var[1] + ";\n")
f.write("\n")
#
# [2] (Pre-Computed Part) Tile-Approach
#
def tc_gen_code_interface_TileApproach(f, l_combined_var_outputs_helpers, l_interface_info):
f.write("\t// Tile-Approaches\n")
idx_count = 1
for each_inner_group in l_combined_var_outputs_helpers:
f.write("\tpre_TileApproach_" + str(idx_count) + "(")
# Parameters [1]
var_count = 0
for each_var in l_combined_var_outputs_helpers[idx_count - 1]:
if "host" in each_var[1]:
if "block" in each_var[1]:
if var_count == 0:
f.write(each_var[1])
else:
f.write(", " + each_var[1])
var_count = var_count + 1
# Parameters [2]
f.write(", &num_thread_blocks_kernel_" + str(idx_count))
# Parameters [3]
for each_index in l_interface_info[0][0]:
f.write(", size_" + each_index)
f.write(");\n")
idx_count = idx_count + 1
f.write("\n")
#
# [3] (Pre-Computed Part) Arrays
#
def tc_gen_code_interface_PreComputedArrays(f, l_combined_var_outputs_helpers, l_combined_var_input_left, l_combined_var_input_right, l_interface_info):
f.write("\t// Pre-Computed and In-Direction Arrays\n")
idx_count = 1
for each_inner_group in l_combined_var_outputs_helpers:
f.write("\tpre_PreComputedArray_" + str(idx_count) + "(")
# Parameters [1]
var_count = 0
for each_var in l_combined_var_outputs_helpers[idx_count - 1]:
if "host" in each_var[1]:
if not "range" in each_var[1]:
if var_count == 0:
f.write(each_var[1])
else:
f.write(", " + each_var[1])
var_count = var_count + 1
# Parameters [2]
f.write(", num_thread_blocks_kernel_" + str(idx_count))
# Parameters [3]
for each_var in l_combined_var_input_left[idx_count - 1]:
if "host" in each_var[1]:
f.write(", " + each_var[1])
# Parameters [4]
for each_var in l_combined_var_input_right[idx_count - 1]:
if "host" in each_var[1]:
f.write(", " + each_var[1])
# Parameters [5]
for each_index in l_interface_info[0][0]:
f.write(", size_" + each_index)
f.write(");\n")
idx_count = idx_count + 1
f.write("\n")
#
# [5] Related Kernels
#
def tc_gen_code_interface_RelatedKernels(f, l_combined_var_input_left, l_combined_var_thread_block, l_external_index, l_internal_index, l_combined_register_mappings, l_internal_addrs, l_combined_internal_addrs, l_mapping_TB_K, opt_data_type):
f.write("\t// Related to Kernels\n")
f.write("\t// There are " + str(len(l_combined_var_input_left)) + " Basic Kernels\n")
#
str_operations = ""
idx_count = 0
for each_idx in l_external_index:
if idx_count == 0:
str_operations = "size_" + each_idx
else:
str_operations = str_operations + " * size_" + each_idx
idx_count += 1
# assumption: # of external index > 0
for each_idx in l_internal_index:
str_operations = "(long long int)(" + str_operations + ") * size_" + each_idx
#
for idx_kernel in range(1, len(l_combined_var_thread_block) + 1):
if opt_data_type == "DOUBLE":
f.write("\tlong long int tmp_operations = 2 * " + str_operations + ";\n")
else:
f.write("\tlong long int tmp_operations = " + str_operations + ";\n")
#
f.write("\tprintf (\"========================================= fusedKernels =============================================\\n\");\n")
f.write("\tprintf (\"\t\tGrid Size : %6d (1D)\\n\", num_thread_blocks_kernel_" + str(idx_kernel) + ");\n")
f.write("\tprintf (\"\t\tBlock-size : %2d, %2d (2D)\\n\", SIZE_TB_" + str(idx_kernel) + "_X, SIZE_TB_" + str(idx_kernel) + "_Y);\n")
f.write("\tprintf (\"\t\tReg.-size : %2d, %2d (2D)\\n\", SIZE_REG_" + str(idx_kernel) + "_X, SIZE_REG_" + str(idx_kernel) + "_Y);\n")
f.write("\tprintf (\"\t\tA thread deals with (%d x %d) elements (basically)\\n\", SIZE_TB_" + str(idx_kernel) + "_X * SIZE_REG_" + str(idx_kernel) + "_X, SIZE_TB_" + str(idx_kernel) + "_Y * SIZE_REG_" + str(idx_kernel) + "_Y);\n")
f.write("\tprintf (\"\t\t# of Operations: %lld\\n\", tmp_operations);\n")
f.write("\tprintf (\"====================================================================================================\\n\");\n")
#
for idx_kernel in range(1, len(l_combined_var_thread_block) + 1):
# Grid-Size
f.write("\tdim3 gridsize_" + str(idx_kernel) + "(num_thread_blocks_kernel_" + str(idx_kernel) + ");\n")
# Block-Size
f.write("\tdim3 blocksize_" + str(idx_kernel) + "(SIZE_TB_" + str(idx_kernel) + "_X, SIZE_TB_" + str(idx_kernel) + "_Y);\n")
f.write("\n")
#
# Strides for Output's Address
#
idx_count = 0
str_prev_idx = ""
for each_ext_idx in l_external_index:
if idx_count == 0:
f.write("\tint stride_output_" + each_ext_idx + " = 1;\n")
else:
f.write("\tint stride_output_" + each_ext_idx + " = stride_output_" + str_prev_idx + " * size_" + str_prev_idx + ";\n")
str_prev_idx = each_ext_idx
idx_count = idx_count + 1
f.write("\n")
#
# Strides for Register Tiles from The Strides
#
idx_count = 1
for each_mapping in l_combined_register_mappings:
f.write("\tint stride_reg_x_" + str(idx_count) + " = stride_output_" + each_mapping[0] + ";\n")
f.write("\tint stride_reg_y_" + str(idx_count) + " = stride_output_" + each_mapping[1] + ";\n")
idx_count = idx_count + 1
f.write("\n")
#
#
#
str_prod_internal = ""
idx_count = 0
for each_idx in l_internal_index:
if idx_count == 0:
str_prod_internal = "size_" + each_idx
else:
str_prod_internal = str_prod_internal + " * size_" + each_idx
idx_count = idx_count + 1
f.write("\tint size_internal = " + str_prod_internal + ";\n")
f.write("\n")
#
# |K| > 1, To-Do: Multiple Tensor Contractions
#
if len(l_internal_index) > 1:
l_rev_internal_index = list(reversed(l_internal_index))
f.write("\t// (manually) " + str(l_mapping_TB_K) + "\n")
f.write("\thost_internal_left_offset \t= (int*)malloc(sizeof(int) * size_internal);\n")
f.write("\thost_internal_right_offset \t= (int*)malloc(sizeof(int) * size_internal);\n")
#
for each_int_idx in l_rev_internal_index:
f.write("\tfor (int idx_" + each_int_idx + " = 0; idx_" + each_int_idx + " < size_" + each_int_idx + "; idx_" + each_int_idx + "++)\n")
#
str_idx_common = ""
str_idx_prev = ""
idx_first = 0
for each_int_idx in l_mapping_TB_K:
if idx_first == 0:
str_idx_common = "idx_" + each_int_idx
str_idx_prev = each_int_idx
idx_first = 1
else:
str_idx_common = str_idx_common + " + (idx_" + each_int_idx + ") * size_" + str_idx_prev
str_idx_prev = each_int_idx
#
f.write("\t{\n")
# "l_internal_addrs" has currently one list.
# address_offset
str_addr_left = l_internal_addrs[0][0]
str_addr_right = l_internal_addrs[0][1]
#
f.write("\t\thost_internal_left_offset[" + str_idx_common + "] \t= " + str_addr_left + ";\n")
f.write("\t\thost_internal_right_offset[" + str_idx_common + "] \t= " + str_addr_right + ";\n")
#
f.write("\t}\n")
f.write("\n")
#
f.write("\tcudaMemcpyToSymbol(const_internal_t2_offset, host_internal_left_offset, sizeof(int) * size_internal);\n")
f.write("\tcudaMemcpyToSymbol(const_internal_v2_offset, host_internal_right_offset, sizeof(int) * size_internal);\n")
f.write("\n")
#
f.write("\tint* dev_internal_offset_t2;\n")
f.write("\tint* dev_internal_offset_v2;\n")
#
f.write("\t// cudaMalloc()\n")
tc_pre_CUDA_Malloc.tc_gen_code_helper_cudaMalloc(f, "dev_internal_offset_t2", "int", "size_internal")
tc_pre_CUDA_Malloc.tc_gen_code_helper_cudaMalloc(f, "dev_internal_offset_v2", "int", "size_internal")
f.write("\n")
#
f.write("\t// cudaMemcpy()\n")
# tc_gen_code_helper_cudaMemcpy(f, host_device[1], host_device[2], host_device[0], host_device[3], 1)
tc_pre_CUDA_Malloc.tc_gen_code_helper_cudaMemcpy(f, "dev_internal_offset_t2", "host_internal_left_offset", "int","size_internal", 1)
tc_pre_CUDA_Malloc.tc_gen_code_helper_cudaMemcpy(f, "dev_internal_offset_v2", "host_internal_right_offset", "int","size_internal", 1)
#
# |K| == 1,
#
elif len(l_internal_index) == 1:
for each_input_group in l_combined_internal_addrs:
for each_input in each_input_group:
#
#
#
f.write("\tint " + each_input[0] + " = " + each_input[1] + ";\n")
f.write("\tint " + each_input[2] + " = " + each_input[3] + ";\n")
#
f.write("\n")
#
#
#
def tc_gen_code_interface_Force_Partial_Kernel(f, kernel_name,
l_combined_var_thread_block, l_external_index, l_internal_index,
l_combined_register_mappings, l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
opt_pre_computed):
f.write("\t// New Caller\n")
'''
for each_inner_group in range(1, len(l_combined_var_thread_block) + 1):
steps_tab = 1
helper_interface.call_kernel(f, steps_tab, kernel_name + "_4_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
0, opt_pre_computed)
f.write("\n")
'''
for each_inner_group in range(1, len(l_combined_var_thread_block) + 1):
if len(l_internal_index) > 1:
f.write("\tif (size_internal > MAX_CONST_LEN)\n")
f.write("\t{\n")
steps_tab = 2
#helper_interface.call_kernel(f, steps_tab, kernel_name + "_1_tex_" + str(each_inner_group), each_inner_group,
helper_interface.call_kernel(f, steps_tab, kernel_name + "_4_tex_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
1, opt_pre_computed)
f.write("\t}\n")
f.write("\telse\n")
f.write("\t{\n")
#helper_interface.call_kernel(f, steps_tab, kernel_name + "_1_" + str(each_inner_group), each_inner_group,
helper_interface.call_kernel(f, steps_tab, kernel_name + "_4_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
0, opt_pre_computed)
f.write("\t}\n")
else:
steps_tab = 1
#helper_interface.call_kernel(f, steps_tab, kernel_name + "_1_" + str(each_inner_group), each_inner_group,
helper_interface.call_kernel(f, steps_tab, kernel_name + "_4_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
0, opt_pre_computed)
f.write("\n")
#
# [6] Decision Tree
#
def tc_gen_code_interface_DecisionTree(f, kernel_name, l_combined_var_thread_block, l_external_index, l_internal_index,
l_combined_register_mappings, l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
opt_pre_computed):
f.write("\t// Decision Tree for Kernel Types\n")
if len(l_combined_var_thread_block) > 1:
#
#
#
f.write("\tif (opt_register_transpose == 0)\n")
f.write("\t{\n")
f.write("\t\t// [1] Register Transpose: OFF\n")
# For Each Inner-Group,
for each_inner_group in range(1, len(l_combined_var_thread_block) + 1):
#
f.write("\t\tif (")
idx_count = 0
for ext_idx in l_external_index:
if idx_count == 0:
f.write( "size_" + ext_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + ext_idx.capitalize() + " == 0")
else:
f.write(" && size_" + ext_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + ext_idx.capitalize() + " == 0")
idx_count = idx_count + 1
f.write(")\n")
f.write("\t\t{\n")
f.write("\t\t\t// [2] Extenral Index: Full\n")
#
f.write("\t\t\tif (")
idx_count = 0
for int_idx in l_internal_index:
if idx_count == 0:
f.write( "size_" + int_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + int_idx.capitalize() + " == 0")
else:
f.write(" && size_" + int_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + int_idx.capitalize() + " == 0")
idx_count = idx_count + 1
f.write(")\n")
f.write("\t\t\t{\n")
f.write("\t\t\t\t// [3] Internal Index: Full\n")
#
#
#
f.write("\t\t\t\t// >>> External: Full && Internal: Full\n")
f.write("\t\t\t\tprintf (\"External: Full, Internal: Full\\n\");\n")
#
#
#
f.write("\t\t\t\tif (size_internal > 8192)\n")
f.write("\t\t\t\t\tprintf (\"size_internal: %d\n\", size_internal)\"\n;")
#for each_inner_group in range(1, len(l_combined_register_mappings) + 1):
f.write("\t\t\t\t// kernel_" + str(each_inner_group) + "\n")
f.write("\t\t\t\t" + kernel_name + "_" + str(each_inner_group) + "<<<")
f.write("gridsize_" + str(each_inner_group) + ", blocksize_" + str(each_inner_group) + ">>>")
f.write("(")
# related to "output"
par_count = 0
for each_par in l_combined_t3_parameters[each_inner_group - 1]:
print ("t3: ", each_par)
if par_count == 0:
f.write(each_par[0])
else:
f.write(", " + each_par[0])
par_count = par_count + 1
# related to "left"
for each_par in l_combined_t2_parameters[each_inner_group - 1]:
print ("t2: ", each_par)
f.write(", " + each_par[0])
# related to "right"
for each_par in l_combined_v2_parameters[each_inner_group - 1]:
print ("v2: ", each_par)
f.write(", " + each_par[0])
#
f.write(", stride_reg_x_" + str(each_inner_group))
f.write(", stride_reg_y_" + str(each_inner_group))
#
f.write(", size_internal")
f.write(");\n")
f.write("\n")
#idx_count = idx_count + 1
#
#
#
f.write("\t\t\t}\n")
f.write("\t\t\telse\n")
f.write("\t\t\t{\n")
f.write("\t\t\t\t// [4] Internal Index: Partial\n")
#
#
#
f.write("\t\t\t\t// >>> External: Full && Internal: Partial\n")
f.write("\t\t\t\tprintf (\"External: Full, Internal: Partial\\n\");\n")
#
#
#
#idx_count = 1
#for each_inner_group in range(1, len(l_combined_register_mappings) + 1):
f.write("\t\t\t\t// kernel_" + str(each_inner_group) + "\n")
f.write("\t\t\t\t" + kernel_name + "_1_" + str(each_inner_group) + "<<<")
f.write("gridsize_" + str(each_inner_group) + ", blocksize_" + str(each_inner_group) + ">>>")
f.write("(")
# related to "output"
par_count = 0
for each_par in l_combined_t3_parameters[each_inner_group - 1]:
if par_count == 0:
f.write(each_par[0])
else:
f.write(", " + each_par[0])
par_count = par_count + 1
# related to "left"
for each_par in l_combined_t2_parameters[each_inner_group - 1]:
f.write(", " + each_par[0])
# related to "right"
for each_par in l_combined_v2_parameters[each_inner_group - 1]:
f.write(", " + each_par[0])
#
# "opt_pre_computed" (temporally)
#
if opt_pre_computed == -1:
for each_idx in l_interface_info[0][0]:
print ("each_idx: ", each_idx)
f.write(", size_h3")
f.write(", size_h2")
f.write(", size_h1")
f.write(", size_p6")
f.write(", size_p5")
f.write(", size_p4")
f.write(", size_h7")
f.write(", CEIL(size_h3, SIZE_SLICE_1_H3)")
f.write(", CEIL(size_h2, SIZE_SLICE_1_H2)")
f.write(", CEIL(size_h1, SIZE_SLICE_1_H1)")
f.write(", CEIL(size_p6, SIZE_SLICE_1_P6)")
f.write(", CEIL(size_p5, SIZE_SLICE_1_P5)")
f.write(", CEIL(size_p4, SIZE_SLICE_1_P4)")
#
f.write(", stride_reg_x_" + str(each_inner_group))
f.write(", stride_reg_y_" + str(each_inner_group))
#
f.write(", size_internal")
f.write(");\n")
f.write("\n")
#idx_count = idx_count + 1
#
#
#
f.write("\t\t\t}\n")
f.write("\t\t}\n")
f.write("\t\telse\n")
f.write("\t\t{\n")
f.write("\t\t\t// [2] Extenral Index: Partial\n")
#
f.write("\t\t\tif (")
idx_count = 0
for int_idx in l_internal_index:
if idx_count == 0:
f.write( "size_" + int_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + int_idx.capitalize() + " == 0")
else:
f.write(" && size_" + int_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + int_idx.capitalize() + " == 0")
idx_count = idx_count + 1
f.write(")\n")
f.write("\t\t\t{\n")
f.write("\t\t\t\t// [3] Internal Index: Full\n")
#
#
#
f.write("\t\t\t\t// >>> External: Partial && Internal: Full\n")
f.write("\t\t\t\tprintf (\"External: Partial, Internal: Full\\n\");\n")
#
#
#
#idx_count = 1
#for each_inner_group in range(1, len(l_combined_register_mappings) + 1):
f.write("\t\t\t\t// kernel_" + str(each_inner_group) + "\n")
f.write("\t\t\t\t" + kernel_name + "_2_" + str(each_inner_group) + "<<<")
f.write("gridsize_" + str(each_inner_group) + ", blocksize_" + str(each_inner_group) + ">>>")
f.write("(")
# related to "output"
par_count = 0
for each_par in l_combined_t3_parameters[each_inner_group - 1]:
if par_count == 0:
f.write(each_par[0])
else:
f.write(", " + each_par[0])
par_count = par_count + 1
# related to "left"
for each_par in l_combined_t2_parameters[each_inner_group - 1]:
f.write(", " + each_par[0])
# related to "right"
for each_par in l_combined_v2_parameters[each_inner_group - 1]:
f.write(", " + each_par[0])
#
# "opt_pre_computed"
#
if opt_pre_computed == -1:
f.write(", size_h3")
f.write(", size_h2")
f.write(", size_h1")
f.write(", size_p6")
f.write(", size_p5")
f.write(", size_p4")
f.write(", size_h7")
f.write(", CEIL(size_h3, SIZE_SLICE_1_H3)")
f.write(", CEIL(size_h2, SIZE_SLICE_1_H2)")
f.write(", CEIL(size_h1, SIZE_SLICE_1_H1)")
f.write(", CEIL(size_p6, SIZE_SLICE_1_P6)")
f.write(", CEIL(size_p5, SIZE_SLICE_1_P5)")
f.write(", CEIL(size_p4, SIZE_SLICE_1_P4)")
#
f.write(", stride_reg_x_" + str(each_inner_group))
f.write(", stride_reg_y_" + str(each_inner_group))
#
f.write(", size_internal")
f.write(");\n")
f.write("\n")
#idx_count = idx_count + 1
#
#
#
f.write("\t\t\t}\n")
f.write("\t\t\telse\n")
f.write("\t\t\t{\n")
f.write("\t\t\t\t// [4] Internal Index: Partial\n")
#
#
#
f.write("\t\t\t\t// >>> External: Partial && Internal: Partial\n")
f.write("\t\t\t\tprintf (\"External: Partial, Internal: Partial\\n\");\n")
#
#
#
#idx_count = 1
#for each_inner_group in range(1, len(l_combined_register_mappings) + 1):
f.write("\t\t\t\t// kernel_" + str(each_inner_group) + "\n")
f.write("\t\t\t\t" + kernel_name + "_3_" + str(each_inner_group) + "<<<")
f.write("gridsize_" + str(each_inner_group) + ", blocksize_" + str(each_inner_group) + ">>>")
f.write("(")
# related to "output"
par_count = 0
for each_par in l_combined_t3_parameters[each_inner_group - 1]:
if par_count == 0:
f.write(each_par[0])
else:
f.write(", " + each_par[0])
par_count = par_count + 1
# related to "left"
for each_par in l_combined_t2_parameters[each_inner_group - 1]:
f.write(", " + each_par[0])
# related to "right"
for each_par in l_combined_v2_parameters[each_inner_group - 1]:
f.write(", " + each_par[0])
#
# "opt_pre_computed"
#
if opt_pre_computed == -1:
f.write(", size_h3")
f.write(", size_h2")
f.write(", size_h1")
f.write(", size_p6")
f.write(", size_p5")
f.write(", size_p4")
f.write(", size_h7")
f.write(", CEIL(size_h3, SIZE_SLICE_1_H3)")
f.write(", CEIL(size_h2, SIZE_SLICE_1_H2)")
f.write(", CEIL(size_h1, SIZE_SLICE_1_H1)")
f.write(", CEIL(size_p6, SIZE_SLICE_1_P6)")
f.write(", CEIL(size_p5, SIZE_SLICE_1_P5)")
f.write(", CEIL(size_p4, SIZE_SLICE_1_P4)")
#
f.write(", stride_reg_x_" + str(each_inner_group))
f.write(", stride_reg_y_" + str(each_inner_group))
#
f.write(", size_internal")
f.write(");\n")
f.write("\n")
#idx_count = idx_count + 1
#
#
#
f.write("\t\t\t}\n")
f.write("\t\t}\n")
f.write("\t}\n")
f.write("\telse\n")
f.write("\t{\n")
f.write("\t\t// [1] Register Transpose: ON\n")
#
f.write("\t\tif (")
idx_count = 0
for ext_idx in l_external_index:
if idx_count == 0:
f.write( "size_" + ext_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + ext_idx.capitalize() + " == 0")
else:
f.write(" && size_" + ext_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + ext_idx.capitalize() + " == 0")
idx_count = idx_count + 1
f.write(")\n")
f.write("\t\t{\n")
f.write("\t\t\t// [2] Extenral Index: Full\n")
#
f.write("\t\t\tif (")
idx_count = 0
for int_idx in l_internal_index:
if idx_count == 0:
f.write( "size_" + int_idx + " % SIZE_SLICE_" + str(1) + "_" + int_idx.capitalize() + " == 0")
else:
f.write(" && size_" + int_idx + " % SIZE_SLICE_" + str(1) + "_" + int_idx.capitalize() + " == 0")
idx_count = idx_count + 1
f.write(")\n")
f.write("\t\t\t{\n")
f.write("\t\t\t\t// [3] Internal Index: Full\n")
#
#
#
f.write("\t\t\t\t// >>> External: Full && Internal: Full\n") # <------------ -1 & -1
f.write("\t\t\t\t" + kernel_name + "_1_rt" + "<<<")
f.write("gridsize_" + str(1) + ", blocksize_" + str(1) + ">>>")
f.write("(")
#
inner_count = 0
for each_inner_group in l_combined_t3_parameters:
print ("t3: ", each_par)
par_count = 0
for each_par in each_inner_group:
if inner_count != 0 and par_count == 0:
par_count = par_count + 1
continue
if par_count == 0:
f.write(each_par[0])
else:
f.write(", " + each_par[0])
par_count = par_count + 1
inner_count = inner_count + 1
#
for each_inner_group in l_combined_t2_parameters:
print ("t2: ", each_par)
for each_par in each_inner_group:
f.write(", " + each_par[0])
#
for each_inner_group in l_combined_v2_parameters:
print ("v2: ", each_par)
for each_par in each_inner_group:
f.write(", " + each_par[0])
#
# "opt_pre_computed"
#
if opt_pre_computed == -1:
f.write(", size_h3")
f.write(", size_h2")
f.write(", size_h1")
f.write(", size_p6")
f.write(", size_p5")
f.write(", size_p4")
f.write(", size_h7")
f.write(", CEIL(size_h3, SIZE_SLICE_1_H3)")
f.write(", CEIL(size_h2, SIZE_SLICE_1_H2)")
f.write(", CEIL(size_h1, SIZE_SLICE_1_H1)")
f.write(", CEIL(size_p6, SIZE_SLICE_1_P6)")
f.write(", CEIL(size_p5, SIZE_SLICE_1_P5)")
f.write(", CEIL(size_p4, SIZE_SLICE_1_P4)")
#
f.write(", stride_reg_x_" + str(1))
f.write(", stride_reg_y_" + str(1))
#
f.write(", size_internal")
f.write(");\n")
f.write("\n")
#
#
#
f.write("\t\t\t}\n")
f.write("\t\t\telse\n")
f.write("\t\t\t{\n")
f.write("\t\t\t\t// [3] Internal Index: Partial\n")
#
#
#
f.write("\t\t\t\t// >>> External: Full && Internal: Partial\n") # <-------------
f.write("\t\t\t\t" + kernel_name + "_2_rt" + "<<<")
f.write("gridsize_" + str(1) + ", blocksize_" + str(1) + ">>>")
f.write("(")
#
inner_count = 0
for each_inner_group in l_combined_t3_parameters:
par_count = 0
for each_par in each_inner_group:
if inner_count != 0 and par_count == 0:
par_count = par_count + 1
continue
if par_count == 0:
f.write(each_par[0])
else:
f.write(", " + each_par[0])
par_count = par_count + 1
inner_count = inner_count + 1
#
for each_inner_group in l_combined_t2_parameters:
for each_par in each_inner_group:
f.write(", " + each_par[0])
#
for each_inner_group in l_combined_v2_parameters:
for each_par in each_inner_group:
f.write(", " + each_par[0])
#
# "opt_pre_computed"
#
if opt_pre_computed == -1:
f.write(", size_h3")
f.write(", size_h2")
f.write(", size_h1")
f.write(", size_p6")
f.write(", size_p5")
f.write(", size_p4")
f.write(", size_h7")
f.write(", CEIL(size_h3, SIZE_SLICE_1_H3)")
f.write(", CEIL(size_h2, SIZE_SLICE_1_H2)")
f.write(", CEIL(size_h1, SIZE_SLICE_1_H1)")
f.write(", CEIL(size_p6, SIZE_SLICE_1_P6)")
f.write(", CEIL(size_p5, SIZE_SLICE_1_P5)")
f.write(", CEIL(size_p4, SIZE_SLICE_1_P4)")
#
f.write(", stride_reg_x_" + str(1))
f.write(", stride_reg_y_" + str(1))
#
f.write(", size_internal")
f.write(");\n")
f.write("\n")
#
#
#
f.write("\t\t\t}\n")
f.write("\t\t}\n")
f.write("\t\telse\n")
f.write("\t\t{\n")
f.write("\t\t\t// [2] Extenral Index: Partial\n")
#
f.write("\t\t\tif (")
idx_count = 0
for int_idx in l_internal_index:
if idx_count == 0:
f.write( "size_" + int_idx + " % SIZE_SLICE_" + str(1) + "_" + int_idx.capitalize() + " == 0")
else:
f.write(" && size_" + int_idx + " % SIZE_SLICE_" + str(1) + "_" + int_idx.capitalize() + " == 0")
idx_count = idx_count + 1
f.write(")\n")
f.write("\t\t\t{\n")
f.write("\t\t\t\t// [3] Internal Index: Full\n")
#
#
#
f.write("\t\t\t\t// >>> External: Partial && Internal: Full\n") # <-------------
f.write("\t\t\t\t" + kernel_name + "_3_rt" + "<<<")
f.write("gridsize_" + str(1) + ", blocksize_" + str(1) + ">>>")
f.write("(")
#
inner_count = 0
for each_inner_group in l_combined_t3_parameters:
par_count = 0
for each_par in each_inner_group:
if inner_count != 0 and par_count == 0:
par_count = par_count + 1
continue
if par_count == 0:
f.write(each_par[0])
else:
f.write(", " + each_par[0])
par_count = par_count + 1
inner_count = inner_count + 1
#
for each_inner_group in l_combined_t2_parameters:
for each_par in each_inner_group:
f.write(", " + each_par[0])
#
for each_inner_group in l_combined_v2_parameters:
for each_par in each_inner_group:
f.write(", " + each_par[0])
#
# "opt_pre_computed"
#
if opt_pre_computed == -1:
f.write(", size_h3")
f.write(", size_h2")
f.write(", size_h1")
f.write(", size_p6")
f.write(", size_p5")
f.write(", size_p4")
f.write(", size_h7")
f.write(", CEIL(size_h3, SIZE_SLICE_1_H3)")
f.write(", CEIL(size_h2, SIZE_SLICE_1_H2)")
f.write(", CEIL(size_h1, SIZE_SLICE_1_H1)")
f.write(", CEIL(size_p6, SIZE_SLICE_1_P6)")
f.write(", CEIL(size_p5, SIZE_SLICE_1_P5)")
f.write(", CEIL(size_p4, SIZE_SLICE_1_P4)")
#
f.write(", stride_reg_x_" + str(1))
f.write(", stride_reg_y_" + str(1))
#
f.write(", size_internal")
f.write(");\n")
f.write("\n")
#
#
#
f.write("\t\t\t}\n")
f.write("\t\t\telse\n")
f.write("\t\t\t{\n")
f.write("\t\t\t\t// [3] Internal Index: Partial\n")
#
#
#
f.write("\t\t\t\t// >>> External: Partial && Internal: Partial\n") # <-------------
f.write("\t\t\t\t" + kernel_name + "_4_rt" + "<<<")
f.write("gridsize_" + str(1) + ", blocksize_" + str(1) + ">>>")
f.write("(")
#
inner_count = 0
for each_inner_group in l_combined_t3_parameters:
par_count = 0
for each_par in each_inner_group:
if inner_count != 0 and par_count == 0:
par_count = par_count + 1
continue
if par_count == 0:
f.write(each_par[0])
else:
f.write(", " + each_par[0])
par_count = par_count + 1
inner_count = inner_count + 1
#
for each_inner_group in l_combined_t2_parameters:
for each_par in each_inner_group:
f.write(", " + each_par[0])
#
for each_inner_group in l_combined_v2_parameters:
for each_par in each_inner_group:
f.write(", " + each_par[0])
#
# "opt_pre_computed"
#
if opt_pre_computed == -1:
f.write(", size_h3")
f.write(", size_h2")
f.write(", size_h1")
f.write(", size_p6")
f.write(", size_p5")
f.write(", size_p4")
f.write(", size_h7")
f.write(", CEIL(size_h3, SIZE_SLICE_1_H3)")
f.write(", CEIL(size_h2, SIZE_SLICE_1_H2)")
f.write(", CEIL(size_h1, SIZE_SLICE_1_H1)")
f.write(", CEIL(size_p6, SIZE_SLICE_1_P6)")
f.write(", CEIL(size_p5, SIZE_SLICE_1_P5)")
f.write(", CEIL(size_p4, SIZE_SLICE_1_P4)")
#
f.write(", stride_reg_x_" + str(1))
f.write(", stride_reg_y_" + str(1))
#
f.write(", size_internal")
f.write(");\n")
f.write("\n")
#
#
#
f.write("\t\t\t}\n")
f.write("\t\t}\n")
f.write("\t}\n")
else:
#
#
#
f.write("\t// No Chance to Utilize the Register Transpose\n")
for each_inner_group in range(1, len(l_combined_var_thread_block) + 1):
#
f.write("\tif (")
idx_count = 0
for ext_idx in l_external_index:
if idx_count == 0:
f.write( "size_" + ext_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + ext_idx.capitalize() + " == 0")
else:
f.write(" && size_" + ext_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + ext_idx.capitalize() + " == 0")
idx_count = idx_count + 1
f.write(")\n")
f.write("\t{\n")
f.write("\t\t// [2] Extenral Index: Full\n")
#
f.write("\t\tif (")
idx_count = 0
for int_idx in l_internal_index:
if idx_count == 0:
f.write( "size_" + int_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + int_idx.capitalize() + " == 0")
else:
f.write(" && size_" + int_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + int_idx.capitalize() + " == 0")
idx_count = idx_count + 1
f.write(")\n")
f.write("\t\t{\n")
f.write("\t\t\t// [3] Internal Index: Full\n")
#
#
#
f.write("\t\t\t// >>> External: Full && Internal: Full\n")
f.write("\t\t\tprintf (\"External: Full, Internal: Full\\n\");\n")
#
#
#
if len(l_internal_index) > 1:
f.write("\t\t\tif (size_internal > MAX_CONST_LEN)\n")
f.write("\t\t\t{\n")
#
steps_tab = 4
helper_interface.call_kernel(f, steps_tab, kernel_name + "_1_tex_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
1, opt_pre_computed)
f.write("\t\t\t}\n")
f.write("\t\t\telse\n")
f.write("\t\t\t{\n")
#
steps_tab = 4
helper_interface.call_kernel(f, steps_tab, kernel_name + "_1_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
0, opt_pre_computed)
f.write("\t\t\t}\n")
else:
#
steps_tab = 3
helper_interface.call_kernel(f, steps_tab, kernel_name + "_1_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
0, opt_pre_computed)
#
#
#
f.write("\t\t}\n")
f.write("\t\telse\n")
f.write("\t\t{\n")
f.write("\t\t\t// [4] Internal Index: Partial\n")
#
#
#
f.write("\t\t\t// >>> External: Full && Internal: Partial\n")
f.write("\t\t\tprintf (\"External: Full, Internal: Partial\\n\");\n")
#
#
#
if len(l_internal_index) > 1:
f.write("\t\t\tif (size_internal > MAX_CONST_LEN)\n")
f.write("\t\t\t{\n")
steps_tab = 4
helper_interface.call_kernel(f, steps_tab, kernel_name + "_2_tex_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
1, opt_pre_computed)
f.write("\t\t\t}\n")
f.write("\t\t\telse\n")
f.write("\t\t\t{\n")
helper_interface.call_kernel(f, steps_tab, kernel_name + "_2_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
0, opt_pre_computed)
f.write("\t\t\t}\n")
else:
steps_tab = 3
helper_interface.call_kernel(f, steps_tab, kernel_name + "_2_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
0, opt_pre_computed)
#
#
#
f.write("\t\t}\n")
f.write("\t}\n")
f.write("\telse\n")
f.write("\t{\n")
f.write("\t\t// [2] Extenral Index: Partial\n")
#
f.write("\t\tif (")
idx_count = 0
for int_idx in l_internal_index:
if idx_count == 0:
f.write( "size_" + int_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + int_idx.capitalize() + " == 0")
else:
f.write(" && size_" + int_idx + " % SIZE_SLICE_" + str(each_inner_group) + "_" + int_idx.capitalize() + " == 0")
idx_count = idx_count + 1
f.write(")\n")
f.write("\t\t{\n")
f.write("\t\t\t// [3] Internal Index: Full\n")
#
#
#
f.write("\t\t\t// >>> External: Partial && Internal: Full\n")
f.write("\t\t\tprintf (\"External: Partial, Internal: Full\\n\");\n")
#
#
#
if len(l_internal_index) > 1:
f.write("\t\t\tif (size_internal > MAX_CONST_LEN)\n")
f.write("\t\t\t{\n")
steps_tab = 4
helper_interface.call_kernel(f, steps_tab, kernel_name + "_3_tex_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
1, opt_pre_computed)
f.write("\t\t\t}\n")
f.write("\t\t\telse\n")
f.write("\t\t\t{\n")
helper_interface.call_kernel(f, steps_tab, kernel_name + "_3_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
0, opt_pre_computed)
f.write("\t\t\t}\n")
else:
steps_tab = 3
helper_interface.call_kernel(f, steps_tab, kernel_name + "_3_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
0, opt_pre_computed)
#
#
#
f.write("\t\t}\n")
f.write("\t\telse\n")
f.write("\t\t{\n")
f.write("\t\t\t// [4] Internal Index: Partial\n")
#
#
#
f.write("\t\t\t// >>> External: Partial && Internal: Partial\n")
f.write("\t\t\tprintf (\"External: Partial, Internal: Partial\\n\");\n")
#
#
#
if len(l_internal_index) > 1:
f.write("\t\t\tif (size_internal > MAX_CONST_LEN)\n")
f.write("\t\t\t{\n")
steps_tab = 4
helper_interface.call_kernel(f, steps_tab, kernel_name + "_4_tex_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
1, opt_pre_computed)
f.write("\t\t\t}\n")
f.write("\t\t\telse\n")
f.write("\t\t\t{\n")
helper_interface.call_kernel(f, steps_tab, kernel_name + "_4_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
0, opt_pre_computed)
f.write("\t\t\t}\n")
else:
steps_tab = 3
helper_interface.call_kernel(f, steps_tab, kernel_name + "_4_" + str(each_inner_group), each_inner_group,
l_combined_t3_parameters, l_combined_t2_parameters, l_combined_v2_parameters, l_combined_internal_addrs,
l_external_index, l_internal_index,
0, opt_pre_computed)
#
#
#
f.write("\t\t}\n")
f.write("\t}\n")
#
f.write("\n")
#
# [7] Copy the Result from Device to Host
#
def tc_gen_code_interface_MemcpyOutput(f, l_external_index, opt_data_type):
f.write("\t// Copy the Result from Device to Host\n")
#
if opt_data_type == "DOUBLE":
f.write("\tcudaMemcpy(t3, dev_t3, sizeof(double) * (")
else:
f.write("\tcudaMemcpy(t3, dev_t3, sizeof(float) * (")
idx_count = 0
str_size_output = ""
for each_idx in l_external_index:
if idx_count == 0:
str_size_output = "size_" + each_idx
else:
str_size_output = str_size_output + " * size_" + each_idx
idx_count = idx_count + 1
f.write(str_size_output)
f.write("), cudaMemcpyDeviceToHost);\n")
f.write("\n")
#
# [8] CudaFree
#
def tc_gen_code_interface_CUDAFree(f, l_cuda_malloc, opt_pre_computed):
f.write("\t// cudaFree()\n")
for each_dev_var in l_cuda_malloc:
if opt_pre_computed == -1:
if "range" in each_dev_var[0]:
continue
if "base" in each_dev_var[0]:
continue
if "offset" in each_dev_var[0]:
continue
if "addr" in each_dev_var[0]:
continue
#
tc_post_HostDevice_Free.tc_gen_code_helper_cudaFree_noline(f, each_dev_var[0])
else:
tc_post_HostDevice_Free.tc_gen_code_helper_cudaFree_noline(f, each_dev_var[0])
f.write("\n")
f.write("\n")
#
# [9] HostFree
#
def tc_gen_code_interface_HostFree(f, l_host_dynamic):
f.write("\t// HostFree\n")
for each_host_var in l_host_dynamic:
tc_post_HostDevice_Free.tc_gen_code_helper_hostFree_noline(f, each_host_var)
f.write("\n")
#
#
#
def tc_gen_code_main_new(f):
#
#
#
f.write("\n")
f.write("// (Temporally) For Test\n")
f.write("int main(int argc, char** argv)\n")
f.write("{\n")
#
f.write("\t// [1] Inputs Initialized by Random Values and an Empty Output\n")
f.write("\t// [2] To Call the Interface\n")
f.write("\t// [3] Correctness Check\n")
#
f.write("}\n")
#
# An Interface to Call the Above Caller.
#
def tc_gen_code_interface(f, interface_name, l_interface_info, l_tile_sizes, l_split_representative_problem_size, opt_data_type):
#
#
f.write("\n")
f.write("// This is written by tc_interface.tc_gen_code_interface()\n")
f.write("// This Interface Should be Called to Run the Kernels\n")
f.write("extern \"C\"\n")
f.write("void " + interface_name + "_(")
#
# l_interface_info: [0] All Index, [1] Output, [2] Inputs, [3] Conditions, [4] Options
# If the code generator supports multiple-output-groups, this should be corrected.
#
# [0] All Index
#
l_split_info = l_interface_info[0][5]
if len(l_interface_info[0][5]) > 0:
#
idx_count = 0
for each_index in l_interface_info[0][0]:
#
# Checking if this index is used for Split or not
#
is_skip = -1
for each_split_info in l_split_info:
#
if each_index == each_split_info[1]:
each_index = each_split_info[0]
elif each_index == each_split_info[2]:
is_skip = 1
#
#
#
if is_skip != 1:
if idx_count == 0:
f.write("int size_" + each_index)
else:
f.write(", int size_" + each_index)
idx_count = idx_count + 1
else:
is_skip == -1 # reset
else:
idx_count = 0
for each_index in l_interface_info[0][0]:
if idx_count == 0:
f.write("int size_" + each_index)
else:
f.write(", int size_" + each_index)
idx_count = idx_count + 1
# [1] Output
if opt_data_type == "DOUBLE":
f.write(", double* " + l_interface_info[0][1])
else:
f.write(", float* " + l_interface_info[0][1])
# [2] Inputs
for each_pair_inputs in l_interface_info[0][2]:
for each_input in each_pair_inputs:
#
if opt_data_type == "DOUBLE":
f.write(", double* " + each_input)
else:
f.write(", float* " + each_input)
# [3] Conditions
for each_condition in l_interface_info[0][3]:
f.write(", int " + each_condition)
# [4] Option(s): (Currently) Only One Option for Register Transpose
f.write(", int " + l_interface_info[0][4])
f.write(")\n")
f.write("{\n")
# [>] Pre-Processing
f.write("\t// Pre-Processing for Split\n")
f.write("\t// Based on Tile-Sizes and Problem-Size\n")
f.write("\t// Currently, one index can be split into two indices\n")
# l_split_info
for each_split in l_split_info:
print (">> each_split: ", each_split)
print (">> l_tile_sizes: ", l_tile_sizes)
print (">> l_split_representative_problem_size: ", l_split_representative_problem_size)
#
# Each Split-Infomation
#
tc_code_etc.tc_gen_code_write_line(f, 1, "int size_" + each_split[1] + ";")
tc_code_etc.tc_gen_code_write_line(f, 1, "int size_" + each_split[2] + ";")
#str_first_tile_size = str(tc_helper.tc_gen_helper_find(l_tile_sizes, each_split[1]))
#print ("~~~~~~: ", tc_helper.tc_gen_helper_find(l_split_representative_problem_size, each_split[1]))
str_first_tile_size = str(tc_helper.tc_gen_helper_find(l_split_representative_problem_size, each_split[1]))
#
# Pre-Processing
#
tc_code_etc.tc_gen_code_write_line(f, 0, "")
tc_code_etc.tc_gen_code_write_line(f, 1, "if (size_" + each_split[0] + " % " + str_first_tile_size + " == 0)")
tc_code_etc.tc_gen_code_write_line(f, 1, "{")
#
tc_code_etc.tc_gen_code_write_line(f, 2, "//")
tc_code_etc.tc_gen_code_write_line(f, 2, "size_" + each_split[1] + " = " + str_first_tile_size + ";")
tc_code_etc.tc_gen_code_write_line(f, 2, "size_" + each_split[2] + " = size_" + each_split[0] + " / " + str_first_tile_size + ";")
#
tc_code_etc.tc_gen_code_write_line(f, 1, "}")
tc_code_etc.tc_gen_code_write_line(f, 1, "else")
tc_code_etc.tc_gen_code_write_line(f, 1, "{")
#
tc_code_etc.tc_gen_code_write_line(f, 2, "//")
tc_code_etc.tc_gen_code_write_line(f, 2, "size_" + each_split[1] + " = size_" + each_split[0] + ";")
tc_code_etc.tc_gen_code_write_line(f, 2, "size_" + each_split[2] + " = 1;")
#
tc_code_etc.tc_gen_code_write_line(f, 1, "}")
f.write("\n")
f.write("\t// Call An Application\n")
f.write("\t" + interface_name + "(")
#
# [0] All Index (Split-Version)
#
idx_count = 0
for each_index in l_interface_info[0][0]:
if idx_count == 0:
f.write("size_" + each_index)
else:
f.write(", size_" + each_index)
idx_count = idx_count + 1
# [1] Output
f.write(", " + l_interface_info[0][1])
# [2] Inputs
for each_pair_inputs in l_interface_info[0][2]:
for each_input in each_pair_inputs:
f.write(", " + each_input)
# [3] Conditions
for each_condition in l_interface_info[0][3]:
f.write(", " + each_condition)
# [4] Option(s):
f.write(", " + l_interface_info[0][4])
f.write(");\n")
f.write("}\n")
#
#
#
def tc_interface_SMEM_Size(l_tensor_contractions, l_external_index, l_internal_index, l_tile_sizes, l_register_tiles):
#
#
#
for each_tc in l_tensor_contractions:
#
# Outputs
#
size_smem_left = 1
size_smem_right = 1
str_left = 1
str_right = 1
#
# each_tc[0][1]: Left Tensor
#
for each_idx in each_tc[0][1]:
#
# 2D SMEM (The Product of External Indices)
#
if tc_helper.tc_gen_helper_find_1d(l_internal_index, each_idx) == -1:
size_smem_left = size_smem_left * tc_helper.tc_gen_helper_find(l_tile_sizes, each_idx)
#
# Only external indices (except for one mapped on register tiles)
#
if tc_helper.tc_gen_helper_find_1d(l_external_index, each_idx) != -1:
if tc_helper.tc_gen_helper_find_1d(l_register_tiles, each_idx) == -1:
str_left = str_left * tc_helper.tc_gen_helper_find(l_tile_sizes, each_idx)
#
# each_tc[1][1]: Right Tensor
#
for each_idx in each_tc[1][1]:
#
# 2D SMEM (The Product of External Indices)
#
if tc_helper.tc_gen_helper_find_1d(l_internal_index, each_idx) == -1:
size_smem_right = size_smem_right * tc_helper.tc_gen_helper_find(l_tile_sizes, each_idx)
#
# Only external indices (except for one mapped on register tiles)
#
if tc_helper.tc_gen_helper_find_1d(l_external_index, each_idx) != -1:
if tc_helper.tc_gen_helper_find_1d(l_register_tiles, each_idx) == -1:
str_right = str_right * tc_helper.tc_gen_helper_find(l_tile_sizes, each_idx)
#
return size_smem_left, size_smem_right, str_left, str_right
#
#
#
def tc_interface_TB_Size(l_mapping_tb_x, l_mapping_tb_y, l_tile_sizes):
#
size_TB_X = 1
size_TB_Y = 1
#
for each_idx in l_mapping_tb_x:
size_TB_X = size_TB_X * tc_helper.tc_gen_helper_find(l_tile_sizes, each_idx)
#
for each_idx in l_mapping_tb_y:
size_TB_Y = size_TB_Y * tc_helper.tc_gen_helper_find(l_tile_sizes, each_idx)
#
return size_TB_X, size_TB_Y
| 37.33094 | 242 | 0.527573 | 8,144 | 62,380 | 3.666012 | 0.035486 | 0.100482 | 0.040561 | 0.03269 | 0.882871 | 0.846463 | 0.818696 | 0.78748 | 0.763398 | 0.747053 | 0 | 0.020824 | 0.337961 | 62,380 | 1,670 | 243 | 37.353293 | 0.702116 | 0.066848 | 0 | 0.752465 | 0 | 0 | 0.158443 | 0.013792 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014793 | false | 0 | 0.004931 | 0 | 0.021696 | 0.026627 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
ed56fb703a90152445a6bb55e02068290fc998fd | 2,853 | py | Python | scripts/graphql_queries.py | DocAdam/metrics | aaa4ac6453e38730f21f320ea99b1bb0f9e74d57 | [
"Apache-2.0"
] | 23 | 2020-10-14T06:44:00.000Z | 2022-01-12T21:55:56.000Z | scripts/graphql_queries.py | DocAdam/metrics | aaa4ac6453e38730f21f320ea99b1bb0f9e74d57 | [
"Apache-2.0"
] | 7 | 2020-10-14T17:57:21.000Z | 2022-02-26T12:30:00.000Z | scripts/graphql_queries.py | DocAdam/metrics | aaa4ac6453e38730f21f320ea99b1bb0f9e74d57 | [
"Apache-2.0"
] | 7 | 2020-10-14T14:56:47.000Z | 2022-03-21T00:56:50.000Z | org_all_repos = """
query ($owner: String!, $endCursor: String) {
organization(login: $owner) {
repositories(first: 100, after: $endCursor) {
pageInfo {
hasNextPage
endCursor
}
totalCount
edges {
node {
nameWithOwner
name
isPrivate
... RepoTotalCounts
... RepoDefaultBranch
}
}
}
}
}
fragment RepoTotalCounts on Repository {
issues {
totalCount
}
openIssues: issues(states: OPEN) {
totalCount
}
closedIssues: issues(states: CLOSED) {
totalCount
}
pullRequests {
totalCount
}
openPullRequests: pullRequests(states: OPEN) {
totalCount
}
mergedPullRequests: pullRequests(states: MERGED) {
totalCount
}
closedPullRequests: pullRequests(states: CLOSED) {
totalCount
}
forkCount
# GraphQL API bug: below does not give accurate count
# forks {
# totalCount
# }
stargazers {
totalCount
}
watchers {
totalCount
}
# Data on collaborators requires repository push access
# collaborators {
# totalCount
# }
# directCollaborators: collaborators(affiliation: DIRECT) {
# totalCount
# }
# outsideCollaborators: collaborators(affiliation: OUTSIDE) {
# totalCount
# }
}
fragment RepoDefaultBranch on Repository {
defaultBranchRef {
name
associatedPullRequests {
totalCount
}
target {
... on Commit {
history(first: 0) {
totalCount
}
}
}
}
}
"""
repo_wise = """
query ($owner:String!, $repo:String!) {
repository(owner: $owner, name: $repo) {
nameWithOwner
name
isPrivate
... RepoTotalCounts
... RepoDefaultBranch
}
}
fragment RepoTotalCounts on Repository {
issues {
totalCount
}
openIssues: issues(states: OPEN) {
totalCount
}
closedIssues: issues(states: CLOSED) {
totalCount
}
pullRequests {
totalCount
}
openPullRequests: pullRequests(states: OPEN) {
totalCount
}
mergedPullRequests: pullRequests(states: MERGED) {
totalCount
}
closedPullRequests: pullRequests(states: CLOSED) {
totalCount
}
forkCount
# GraphQL API bug: below does not give accurate count
# forks {
# totalCount
# }
stargazers {
totalCount
}
watchers {
totalCount
}
# Data on collaborators requires repository push access
# collaborators {
# totalCount
# }
# directCollaborators: collaborators(affiliation: DIRECT) {
# totalCount
# }
# outsideCollaborators: collaborators(affiliation: OUTSIDE) {
# totalCount
# }
}
fragment RepoDefaultBranch on Repository {
defaultBranchRef {
name
associatedPullRequests {
totalCount
}
target {
... on Commit {
history(first: 0) {
totalCount
}
}
}
}
}
"""
| 18.171975 | 63 | 0.619699 | 210 | 2,853 | 8.404762 | 0.32381 | 0.06119 | 0.045326 | 0.046459 | 0.88272 | 0.88272 | 0.88272 | 0.88272 | 0.88272 | 0.88272 | 0 | 0.002473 | 0.291272 | 2,853 | 156 | 64 | 18.288462 | 0.870425 | 0 | 0 | 0.655629 | 0 | 0 | 0.984928 | 0.066597 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
ed77f1f76b7234e5a7867914f5972334a333f3e9 | 184 | py | Python | interprocedural_analyses/taint/test/integration/colliding_class_names.py | terrorizer1980/pyre-check | 16659c7f6f19f3c364ba3a56e6c582371a8ff348 | [
"MIT"
] | 1 | 2020-08-08T16:01:55.000Z | 2020-08-08T16:01:55.000Z | interprocedural_analyses/taint/test/integration/colliding_class_names.py | terrorizer1980/pyre-check | 16659c7f6f19f3c364ba3a56e6c582371a8ff348 | [
"MIT"
] | 4 | 2022-02-15T02:42:33.000Z | 2022-02-28T01:30:07.000Z | interprocedural_analyses/taint/test/integration/colliding_class_names.py | terrorizer1980/pyre-check | 16659c7f6f19f3c364ba3a56e6c582371a8ff348 | [
"MIT"
] | 1 | 2020-11-22T12:08:51.000Z | 2020-11-22T12:08:51.000Z | from builtins import __test_source
class C:
def foo():
return __test_source()
class C:
def also_tainted_but_missing_from_analysis():
return __test_source()
| 15.333333 | 49 | 0.695652 | 24 | 184 | 4.75 | 0.625 | 0.263158 | 0.263158 | 0.280702 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23913 | 184 | 11 | 50 | 16.727273 | 0.814286 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0.285714 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
9c22fc069ca6d321d6d168907600390f4f3a232a | 65,817 | py | Python | src/cb_prefix_instructions.py | foxtrotzulu94/Yoji | fdae9fdfe050e76f01d209526ee6450600e19c8b | [
"MIT"
] | null | null | null | src/cb_prefix_instructions.py | foxtrotzulu94/Yoji | fdae9fdfe050e76f01d209526ee6450600e19c8b | [
"MIT"
] | null | null | null | src/cb_prefix_instructions.py | foxtrotzulu94/Yoji | fdae9fdfe050e76f01d209526ee6450600e19c8b | [
"MIT"
] | null | null | null | from .cpu_types import *
from .instructions import *
# The list below is every single opcode that we know is needed for emulating Game Boy
# Most of the info below was compiled from the very useful opcode sheet below
# https://www.pastraiser.com/cpu/gameboy/gameboy_opcodes.html
# Trying to read through this list is rather impossible, so searching by opcode or mnemonic is your best bet.
cb_prefix = [
Instruction(
0x00, "RLC B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.B, 1), Operand.reg(Registers.B, 1) ),
executor = RotateLeftWithCarry),
Instruction(
0x01, "RLC C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.C, 1), Operand.reg(Registers.C, 1) ),
executor = RotateLeftWithCarry),
Instruction(
0x02, "RLC D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.D, 1), Operand.reg(Registers.D, 1) ),
executor = RotateLeftWithCarry),
Instruction(
0x03, "RLC E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.E, 1), Operand.reg(Registers.E, 1) ),
executor = RotateLeftWithCarry),
Instruction(
0x04, "RLC H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.H, 1), Operand.reg(Registers.H, 1) ),
executor = RotateLeftWithCarry),
Instruction(
0x05, "RLC L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.L, 1), Operand.reg(Registers.L, 1) ),
executor = RotateLeftWithCarry),
Instruction(
0x06, "RLC (HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.regi(Registers.HL, 2), Operand.regi(Registers.HL, 2) ),
executor = RotateLeftWithCarry),
Instruction(
0x07, "RLC A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.A, 1), Operand.reg(Registers.A, 1) ),
executor = RotateLeftWithCarry),
Instruction(
0x08, "RRC B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.B, 1), Operand.reg(Registers.B, 1) ),
executor = RotateRightWithCarry),
Instruction(
0x09, "RRC C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.C, 1), Operand.reg(Registers.C, 1) ),
executor = RotateRightWithCarry),
Instruction(
0x0A, "RRC D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.D, 1), Operand.reg(Registers.D, 1) ),
executor = RotateRightWithCarry),
Instruction(
0x0B, "RRC E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.E, 1), Operand.reg(Registers.E, 1) ),
executor = RotateRightWithCarry),
Instruction(
0x0C, "RRC H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.H, 1), Operand.reg(Registers.H, 1) ),
executor = RotateRightWithCarry),
Instruction(
0x0D, "RRC L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.L, 1), Operand.reg(Registers.L, 1) ),
executor = RotateRightWithCarry),
Instruction(
0x0E, "RRC (HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.regi(Registers.HL, 2), Operand.regi(Registers.HL, 2) ),
executor = RotateRightWithCarry),
Instruction(
0x0F, "RRC A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.A, 1), Operand.reg(Registers.A, 1) ),
executor = RotateRightWithCarry),
Instruction(
0x10, "RL B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.B, 1), Operand.reg(Registers.B, 1) ),
executor = RotateLeft),
Instruction(
0x11, "RL C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.C, 1), Operand.reg(Registers.C, 1) ),
executor = RotateLeft),
Instruction(
0x12, "RL D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.D, 1), Operand.reg(Registers.D, 1) ),
executor = RotateLeft),
Instruction(
0x13, "RL E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.E, 1), Operand.reg(Registers.E, 1) ),
executor = RotateLeft),
Instruction(
0x14, "RL H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.H, 1), Operand.reg(Registers.H, 1) ),
executor = RotateLeft),
Instruction(
0x15, "RL L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.L, 1), Operand.reg(Registers.L, 1) ),
executor = RotateLeft),
Instruction(
0x16, "RL (HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.regi(Registers.HL, 2), Operand.regi(Registers.HL, 2) ),
executor = RotateLeft),
Instruction(
0x17, "RL A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.A, 1), Operand.reg(Registers.A, 1) ),
executor = RotateLeft),
Instruction(
0x18, "RR B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.B, 1), Operand.reg(Registers.B, 1) ),
executor = RotateRight),
Instruction(
0x19, "RR C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.C, 1), Operand.reg(Registers.C, 1) ),
executor = RotateRight),
Instruction(
0x1A, "RR D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.D, 1), Operand.reg(Registers.D, 1) ),
executor = RotateRight),
Instruction(
0x1B, "RR E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.E, 1), Operand.reg(Registers.E, 1) ),
executor = RotateRight),
Instruction(
0x1C, "RR H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.H, 1), Operand.reg(Registers.H, 1) ),
executor = RotateRight),
Instruction(
0x1D, "RR L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.L, 1), Operand.reg(Registers.L, 1) ),
executor = RotateRight),
Instruction(
0x1E, "RR (HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.regi(Registers.HL, 2), Operand.regi(Registers.HL, 2) ),
executor = RotateRight),
Instruction(
0x1F, "RR A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.A, 1), Operand.reg(Registers.A, 1) ),
executor = RotateRight),
Instruction(
0x20, "SLA B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.B, 1), Operand.reg(Registers.B, 1) ),
executor = ShiftLeft),
Instruction(
0x21, "SLA C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.C, 1), Operand.reg(Registers.C, 1) ),
executor = ShiftLeft),
Instruction(
0x22, "SLA D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.D, 1), Operand.reg(Registers.D, 1) ),
executor = ShiftLeft),
Instruction(
0x23, "SLA E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.E, 1), Operand.reg(Registers.E, 1) ),
executor = ShiftLeft),
Instruction(
0x24, "SLA H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.H, 1), Operand.reg(Registers.H, 1) ),
executor = ShiftLeft),
Instruction(
0x25, "SLA L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.L, 1), Operand.reg(Registers.L, 1) ),
executor = ShiftLeft),
Instruction(
0x26, "SLA (HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.regi(Registers.HL, 2), Operand.regi(Registers.HL, 2) ),
executor = ShiftLeft),
Instruction(
0x27, "SLA A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.A, 1), Operand.reg(Registers.A, 1) ),
executor = ShiftLeft),
Instruction(
0x28, "SRA B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.B, 1), Operand.reg(Registers.B, 1) ),
executor = ShiftRightArithmetic),
Instruction(
0x29, "SRA C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.C, 1), Operand.reg(Registers.C, 1) ),
executor = ShiftRightArithmetic),
Instruction(
0x2A, "SRA D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.D, 1), Operand.reg(Registers.D, 1) ),
executor = ShiftRightArithmetic),
Instruction(
0x2B, "SRA E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.E, 1), Operand.reg(Registers.E, 1) ),
executor = ShiftRightArithmetic),
Instruction(
0x2C, "SRA H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.H, 1), Operand.reg(Registers.H, 1) ),
executor = ShiftRightArithmetic),
Instruction(
0x2D, "SRA L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.L, 1), Operand.reg(Registers.L, 1) ),
executor = ShiftRightArithmetic),
Instruction(
0x2E, "SRA (HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.regi(Registers.HL, 2), Operand.regi(Registers.HL, 2) ),
executor = ShiftRightArithmetic),
Instruction(
0x2F, "SRA A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.A, 1), Operand.reg(Registers.A, 1) ),
executor = ShiftRightArithmetic),
Instruction(
0x30, "SWAP B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.B, 1), Operand.reg(Registers.B, 1) ),
executor = Swap),
Instruction(
0x31, "SWAP C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.C, 1), Operand.reg(Registers.C, 1) ),
executor = Swap),
Instruction(
0x32, "SWAP D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.D, 1), Operand.reg(Registers.D, 1) ),
executor = Swap),
Instruction(
0x33, "SWAP E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.E, 1), Operand.reg(Registers.E, 1) ),
executor = Swap),
Instruction(
0x34, "SWAP H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.H, 1), Operand.reg(Registers.H, 1) ),
executor = Swap),
Instruction(
0x35, "SWAP L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.L, 1), Operand.reg(Registers.L, 1) ),
executor = Swap),
Instruction(
0x36, "SWAP (HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.regi(Registers.HL, 2), Operand.regi(Registers.HL, 2) ),
executor = Swap),
Instruction(
0x37, "SWAP A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Reset },
operands = ( Operand.reg(Registers.A, 1), Operand.reg(Registers.A, 1) ),
executor = Swap),
Instruction(
0x38, "SRL B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.B, 1), Operand.reg(Registers.B, 1) ),
executor = ShiftRight),
Instruction(
0x39, "SRL C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.C, 1), Operand.reg(Registers.C, 1) ),
executor = ShiftRight),
Instruction(
0x3A, "SRL D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.D, 1), Operand.reg(Registers.D, 1) ),
executor = ShiftRight),
Instruction(
0x3B, "SRL E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.E, 1), Operand.reg(Registers.E, 1) ),
executor = ShiftRight),
Instruction(
0x3C, "SRL H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.H, 1), Operand.reg(Registers.H, 1) ),
executor = ShiftRight),
Instruction(
0x3D, "SRL L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.L, 1), Operand.reg(Registers.L, 1) ),
executor = ShiftRight),
Instruction(
0x3E, "SRL (HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.regi(Registers.HL, 2), Operand.regi(Registers.HL, 2) ),
executor = ShiftRight),
Instruction(
0x3F, "SRL A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Reset, Flag.c:Bit.Calculate },
operands = ( Operand.reg(Registers.A, 1), Operand.reg(Registers.A, 1) ),
executor = ShiftRight),
Instruction(
0x40, "BIT 0,B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(0), Operand.reg(Registers.B, 1) ),
executor = CheckBit),
Instruction(
0x41, "BIT 0,C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(0), Operand.reg(Registers.C, 1) ),
executor = CheckBit),
Instruction(
0x42, "BIT 0,D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(0), Operand.reg(Registers.D, 1) ),
executor = CheckBit),
Instruction(
0x43, "BIT 0,E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(0), Operand.reg(Registers.E, 1) ),
executor = CheckBit),
Instruction(
0x44, "BIT 0,H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(0), Operand.reg(Registers.H, 1) ),
executor = CheckBit),
Instruction(
0x45, "BIT 0,L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(0), Operand.reg(Registers.L, 1) ),
executor = CheckBit),
Instruction(
0x46, "BIT 0,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(0), Operand.regi(Registers.HL, 2) ),
executor = CheckBit),
Instruction(
0x47, "BIT 0,A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(0), Operand.reg(Registers.A, 1) ),
executor = CheckBit),
Instruction(
0x48, "BIT 1,B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(1), Operand.reg(Registers.B, 1) ),
executor = CheckBit),
Instruction(
0x49, "BIT 1,C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(1), Operand.reg(Registers.C, 1) ),
executor = CheckBit),
Instruction(
0x4A, "BIT 1,D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(1), Operand.reg(Registers.D, 1) ),
executor = CheckBit),
Instruction(
0x4B, "BIT 1,E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(1), Operand.reg(Registers.E, 1) ),
executor = CheckBit),
Instruction(
0x4C, "BIT 1,H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(1), Operand.reg(Registers.H, 1) ),
executor = CheckBit),
Instruction(
0x4D, "BIT 1,L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(1), Operand.reg(Registers.L, 1) ),
executor = CheckBit),
Instruction(
0x4E, "BIT 1,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(1), Operand.regi(Registers.HL, 2) ),
executor = CheckBit),
Instruction(
0x4F, "BIT 1,A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(1), Operand.reg(Registers.A, 1) ),
executor = CheckBit),
Instruction(
0x50, "BIT 2,B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(2), Operand.reg(Registers.B, 1) ),
executor = CheckBit),
Instruction(
0x51, "BIT 2,C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(2), Operand.reg(Registers.C, 1) ),
executor = CheckBit),
Instruction(
0x52, "BIT 2,D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(2), Operand.reg(Registers.D, 1) ),
executor = CheckBit),
Instruction(
0x53, "BIT 2,E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(2), Operand.reg(Registers.E, 1) ),
executor = CheckBit),
Instruction(
0x54, "BIT 2,H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(2), Operand.reg(Registers.H, 1) ),
executor = CheckBit),
Instruction(
0x55, "BIT 2,L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(2), Operand.reg(Registers.L, 1) ),
executor = CheckBit),
Instruction(
0x56, "BIT 2,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(2), Operand.regi(Registers.HL, 2) ),
executor = CheckBit),
Instruction(
0x57, "BIT 2,A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(2), Operand.reg(Registers.A, 1) ),
executor = CheckBit),
Instruction(
0x58, "BIT 3,B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(3), Operand.reg(Registers.B, 1) ),
executor = CheckBit),
Instruction(
0x59, "BIT 3,C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(3), Operand.reg(Registers.C, 1) ),
executor = CheckBit),
Instruction(
0x5A, "BIT 3,D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(3), Operand.reg(Registers.D, 1) ),
executor = CheckBit),
Instruction(
0x5B, "BIT 3,E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(3), Operand.reg(Registers.E, 1) ),
executor = CheckBit),
Instruction(
0x5C, "BIT 3,H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(3), Operand.reg(Registers.H, 1) ),
executor = CheckBit),
Instruction(
0x5D, "BIT 3,L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(3), Operand.reg(Registers.L, 1) ),
executor = CheckBit),
Instruction(
0x5E, "BIT 3,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(3), Operand.regi(Registers.HL, 2) ),
executor = CheckBit),
Instruction(
0x5F, "BIT 3,A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(3), Operand.reg(Registers.A, 1) ),
executor = CheckBit),
Instruction(
0x60, "BIT 4,B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(4), Operand.reg(Registers.B, 1) ),
executor = CheckBit),
Instruction(
0x61, "BIT 4,C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(4), Operand.reg(Registers.C, 1) ),
executor = CheckBit),
Instruction(
0x62, "BIT 4,D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(4), Operand.reg(Registers.D, 1) ),
executor = CheckBit),
Instruction(
0x63, "BIT 4,E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(4), Operand.reg(Registers.E, 1) ),
executor = CheckBit),
Instruction(
0x64, "BIT 4,H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(4), Operand.reg(Registers.H, 1) ),
executor = CheckBit),
Instruction(
0x65, "BIT 4,L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(4), Operand.reg(Registers.L, 1) ),
executor = CheckBit),
Instruction(
0x66, "BIT 4,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(4), Operand.regi(Registers.HL, 2) ),
executor = CheckBit),
Instruction(
0x67, "BIT 4,A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(4), Operand.reg(Registers.A, 1) ),
executor = CheckBit),
Instruction(
0x68, "BIT 5,B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(5), Operand.reg(Registers.B, 1) ),
executor = CheckBit),
Instruction(
0x69, "BIT 5,C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(5), Operand.reg(Registers.C, 1) ),
executor = CheckBit),
Instruction(
0x6A, "BIT 5,D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(5), Operand.reg(Registers.D, 1) ),
executor = CheckBit),
Instruction(
0x6B, "BIT 5,E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(5), Operand.reg(Registers.E, 1) ),
executor = CheckBit),
Instruction(
0x6C, "BIT 5,H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(5), Operand.reg(Registers.H, 1) ),
executor = CheckBit),
Instruction(
0x6D, "BIT 5,L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(5), Operand.reg(Registers.L, 1) ),
executor = CheckBit),
Instruction(
0x6E, "BIT 5,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(5), Operand.regi(Registers.HL, 2) ),
executor = CheckBit),
Instruction(
0x6F, "BIT 5,A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(5), Operand.reg(Registers.A, 1) ),
executor = CheckBit),
Instruction(
0x70, "BIT 6,B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(6), Operand.reg(Registers.B, 1) ),
executor = CheckBit),
Instruction(
0x71, "BIT 6,C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(6), Operand.reg(Registers.C, 1) ),
executor = CheckBit),
Instruction(
0x72, "BIT 6,D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(6), Operand.reg(Registers.D, 1) ),
executor = CheckBit),
Instruction(
0x73, "BIT 6,E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(6), Operand.reg(Registers.E, 1) ),
executor = CheckBit),
Instruction(
0x74, "BIT 6,H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(6), Operand.reg(Registers.H, 1) ),
executor = CheckBit),
Instruction(
0x75, "BIT 6,L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(6), Operand.reg(Registers.L, 1) ),
executor = CheckBit),
Instruction(
0x76, "BIT 6,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(6), Operand.regi(Registers.HL, 2) ),
executor = CheckBit),
Instruction(
0x77, "BIT 6,A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(6), Operand.reg(Registers.A, 1) ),
executor = CheckBit),
Instruction(
0x78, "BIT 7,B", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(7), Operand.reg(Registers.B, 1) ),
executor = CheckBit),
Instruction(
0x79, "BIT 7,C", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(7), Operand.reg(Registers.C, 1) ),
executor = CheckBit),
Instruction(
0x7A, "BIT 7,D", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(7), Operand.reg(Registers.D, 1) ),
executor = CheckBit),
Instruction(
0x7B, "BIT 7,E", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(7), Operand.reg(Registers.E, 1) ),
executor = CheckBit),
Instruction(
0x7C, "BIT 7,H", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(7), Operand.reg(Registers.H, 1) ),
executor = CheckBit),
Instruction(
0x7D, "BIT 7,L", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(7), Operand.reg(Registers.L, 1) ),
executor = CheckBit),
Instruction(
0x7E, "BIT 7,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(7), Operand.regi(Registers.HL, 2) ),
executor = CheckBit),
Instruction(
0x7F, "BIT 7,A", bus_width=1,
byte_size=2, cycles=8,
flags={ Flag.z:Bit.Calculate, Flag.n:Bit.Reset, Flag.h:Bit.Set, Flag.c:Bit.Ignore },
operands = ( Operand.const(7), Operand.reg(Registers.A, 1) ),
executor = CheckBit),
Instruction(
0x80, "RES 0,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(0), Operand.reg(Registers.B, 1) ),
executor = Reset),
Instruction(
0x81, "RES 0,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(0), Operand.reg(Registers.C, 1) ),
executor = Reset),
Instruction(
0x82, "RES 0,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(0), Operand.reg(Registers.D, 1) ),
executor = Reset),
Instruction(
0x83, "RES 0,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(0), Operand.reg(Registers.E, 1) ),
executor = Reset),
Instruction(
0x84, "RES 0,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(0), Operand.reg(Registers.H, 1) ),
executor = Reset),
Instruction(
0x85, "RES 0,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(0), Operand.reg(Registers.L, 1) ),
executor = Reset),
Instruction(
0x86, "RES 0,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.const(0), Operand.regi(Registers.HL, 2) ),
executor = Reset),
Instruction(
0x87, "RES 0,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(0), Operand.reg(Registers.A, 1) ),
executor = Reset),
Instruction(
0x88, "RES 1,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(1), Operand.reg(Registers.B, 1) ),
executor = Reset),
Instruction(
0x89, "RES 1,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(1), Operand.reg(Registers.C, 1) ),
executor = Reset),
Instruction(
0x8A, "RES 1,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(1), Operand.reg(Registers.D, 1) ),
executor = Reset),
Instruction(
0x8B, "RES 1,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(1), Operand.reg(Registers.E, 1) ),
executor = Reset),
Instruction(
0x8C, "RES 1,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(1), Operand.reg(Registers.H, 1) ),
executor = Reset),
Instruction(
0x8D, "RES 1,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(1), Operand.reg(Registers.L, 1) ),
executor = Reset),
Instruction(
0x8E, "RES 1,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.const(1), Operand.regi(Registers.HL, 2) ),
executor = Reset),
Instruction(
0x8F, "RES 1,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(1), Operand.reg(Registers.A, 1) ),
executor = Reset),
Instruction(
0x90, "RES 2,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(2), Operand.reg(Registers.B, 1) ),
executor = Reset),
Instruction(
0x91, "RES 2,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(2), Operand.reg(Registers.C, 1) ),
executor = Reset),
Instruction(
0x92, "RES 2,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(2), Operand.reg(Registers.D, 1) ),
executor = Reset),
Instruction(
0x93, "RES 2,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(2), Operand.reg(Registers.E, 1) ),
executor = Reset),
Instruction(
0x94, "RES 2,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(2), Operand.reg(Registers.H, 1) ),
executor = Reset),
Instruction(
0x95, "RES 2,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(2), Operand.reg(Registers.L, 1) ),
executor = Reset),
Instruction(
0x96, "RES 2,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.const(2), Operand.regi(Registers.HL, 2) ),
executor = Reset),
Instruction(
0x97, "RES 2,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(2), Operand.reg(Registers.A, 1) ),
executor = Reset),
Instruction(
0x98, "RES 3,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(3), Operand.reg(Registers.B, 1) ),
executor = Reset),
Instruction(
0x99, "RES 3,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(3), Operand.reg(Registers.C, 1) ),
executor = Reset),
Instruction(
0x9A, "RES 3,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(3), Operand.reg(Registers.D, 1) ),
executor = Reset),
Instruction(
0x9B, "RES 3,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(3), Operand.reg(Registers.E, 1) ),
executor = Reset),
Instruction(
0x9C, "RES 3,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(3), Operand.reg(Registers.H, 1) ),
executor = Reset),
Instruction(
0x9D, "RES 3,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(3), Operand.reg(Registers.L, 1) ),
executor = Reset),
Instruction(
0x9E, "RES 3,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.const(3), Operand.regi(Registers.HL, 2) ),
executor = Reset),
Instruction(
0x9F, "RES 3,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(3), Operand.reg(Registers.A, 1) ),
executor = Reset),
Instruction(
0xA0, "RES 4,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(4), Operand.reg(Registers.B, 1) ),
executor = Reset),
Instruction(
0xA1, "RES 4,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(4), Operand.reg(Registers.C, 1) ),
executor = Reset),
Instruction(
0xA2, "RES 4,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(4), Operand.reg(Registers.D, 1) ),
executor = Reset),
Instruction(
0xA3, "RES 4,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(4), Operand.reg(Registers.E, 1) ),
executor = Reset),
Instruction(
0xA4, "RES 4,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(4), Operand.reg(Registers.H, 1) ),
executor = Reset),
Instruction(
0xA5, "RES 4,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(4), Operand.reg(Registers.L, 1) ),
executor = Reset),
Instruction(
0xA6, "RES 4,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.const(4), Operand.regi(Registers.HL, 2) ),
executor = Reset),
Instruction(
0xA7, "RES 4,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(4), Operand.reg(Registers.A, 1) ),
executor = Reset),
Instruction(
0xA8, "RES 5,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(5), Operand.reg(Registers.B, 1) ),
executor = Reset),
Instruction(
0xA9, "RES 5,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(5), Operand.reg(Registers.C, 1) ),
executor = Reset),
Instruction(
0xAA, "RES 5,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(5), Operand.reg(Registers.D, 1) ),
executor = Reset),
Instruction(
0xAB, "RES 5,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(5), Operand.reg(Registers.E, 1) ),
executor = Reset),
Instruction(
0xAC, "RES 5,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(5), Operand.reg(Registers.H, 1) ),
executor = Reset),
Instruction(
0xAD, "RES 5,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(5), Operand.reg(Registers.L, 1) ),
executor = Reset),
Instruction(
0xAE, "RES 5,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.const(5), Operand.regi(Registers.HL, 2) ),
executor = Reset),
Instruction(
0xAF, "RES 5,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(5), Operand.reg(Registers.A, 1) ),
executor = Reset),
Instruction(
0xB0, "RES 6,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(6), Operand.reg(Registers.B, 1) ),
executor = Reset),
Instruction(
0xB1, "RES 6,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(6), Operand.reg(Registers.C, 1) ),
executor = Reset),
Instruction(
0xB2, "RES 6,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(6), Operand.reg(Registers.D, 1) ),
executor = Reset),
Instruction(
0xB3, "RES 6,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(6), Operand.reg(Registers.E, 1) ),
executor = Reset),
Instruction(
0xB4, "RES 6,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(6), Operand.reg(Registers.H, 1) ),
executor = Reset),
Instruction(
0xB5, "RES 6,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(6), Operand.reg(Registers.L, 1) ),
executor = Reset),
Instruction(
0xB6, "RES 6,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.const(6), Operand.regi(Registers.HL, 2) ),
executor = Reset),
Instruction(
0xB7, "RES 6,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(6), Operand.reg(Registers.A, 1) ),
executor = Reset),
Instruction(
0xB8, "RES 7,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(7), Operand.reg(Registers.B, 1) ),
executor = Reset),
Instruction(
0xB9, "RES 7,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(7), Operand.reg(Registers.C, 1) ),
executor = Reset),
Instruction(
0xBA, "RES 7,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(7), Operand.reg(Registers.D, 1) ),
executor = Reset),
Instruction(
0xBB, "RES 7,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(7), Operand.reg(Registers.E, 1) ),
executor = Reset),
Instruction(
0xBC, "RES 7,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(7), Operand.reg(Registers.H, 1) ),
executor = Reset),
Instruction(
0xBD, "RES 7,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(7), Operand.reg(Registers.L, 1) ),
executor = Reset),
Instruction(
0xBE, "RES 7,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.const(7), Operand.regi(Registers.HL, 2) ),
executor = Reset),
Instruction(
0xBF, "RES 7,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.const(7), Operand.reg(Registers.A, 1) ),
executor = Reset),
Instruction(
0xC0, "SET 0,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.B, 1), Operand.const(0) ),
executor = SetBit),
Instruction(
0xC1, "SET 0,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.C, 1), Operand.const(0) ),
executor = SetBit),
Instruction(
0xC2, "SET 0,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.D, 1), Operand.const(0) ),
executor = SetBit),
Instruction(
0xC3, "SET 0,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.E, 1), Operand.const(0) ),
executor = SetBit),
Instruction(
0xC4, "SET 0,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.H, 1), Operand.const(0) ),
executor = SetBit),
Instruction(
0xC5, "SET 0,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.L, 1), Operand.const(0) ),
executor = SetBit),
Instruction(
0xC6, "SET 0,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.regi(Registers.HL, 2), Operand.const(0) ),
executor = SetBit),
Instruction(
0xC7, "SET 0,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.A, 1), Operand.const(0) ),
executor = SetBit),
Instruction(
0xC8, "SET 1,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.B, 1), Operand.const(1) ),
executor = SetBit),
Instruction(
0xC9, "SET 1,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.C, 1), Operand.const(1) ),
executor = SetBit),
Instruction(
0xCA, "SET 1,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.D, 1), Operand.const(1) ),
executor = SetBit),
Instruction(
0xCB, "SET 1,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.E, 1), Operand.const(1) ),
executor = SetBit),
Instruction(
0xCC, "SET 1,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.H, 1), Operand.const(1) ),
executor = SetBit),
Instruction(
0xCD, "SET 1,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.L, 1), Operand.const(1) ),
executor = SetBit),
Instruction(
0xCE, "SET 1,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.regi(Registers.HL, 2), Operand.const(1) ),
executor = SetBit),
Instruction(
0xCF, "SET 1,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.A, 1), Operand.const(1) ),
executor = SetBit),
Instruction(
0xD0, "SET 2,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.B, 1), Operand.const(2) ),
executor = SetBit),
Instruction(
0xD1, "SET 2,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.C, 1), Operand.const(2) ),
executor = SetBit),
Instruction(
0xD2, "SET 2,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.D, 1), Operand.const(2) ),
executor = SetBit),
Instruction(
0xD3, "SET 2,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.E, 1), Operand.const(2) ),
executor = SetBit),
Instruction(
0xD4, "SET 2,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.H, 1), Operand.const(2) ),
executor = SetBit),
Instruction(
0xD5, "SET 2,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.L, 1), Operand.const(2) ),
executor = SetBit),
Instruction(
0xD6, "SET 2,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.regi(Registers.HL, 2), Operand.const(2) ),
executor = SetBit),
Instruction(
0xD7, "SET 2,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.A, 1), Operand.const(2) ),
executor = SetBit),
Instruction(
0xD8, "SET 3,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.B, 1), Operand.const(3) ),
executor = SetBit),
Instruction(
0xD9, "SET 3,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.C, 1), Operand.const(3) ),
executor = SetBit),
Instruction(
0xDA, "SET 3,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.D, 1), Operand.const(3) ),
executor = SetBit),
Instruction(
0xDB, "SET 3,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.E, 1), Operand.const(3) ),
executor = SetBit),
Instruction(
0xDC, "SET 3,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.H, 1), Operand.const(3) ),
executor = SetBit),
Instruction(
0xDD, "SET 3,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.L, 1), Operand.const(3) ),
executor = SetBit),
Instruction(
0xDE, "SET 3,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.regi(Registers.HL, 2), Operand.const(3) ),
executor = SetBit),
Instruction(
0xDF, "SET 3,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.A, 1), Operand.const(3) ),
executor = SetBit),
Instruction(
0xE0, "SET 4,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.B, 1), Operand.const(4) ),
executor = SetBit),
Instruction(
0xE1, "SET 4,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.C, 1), Operand.const(4) ),
executor = SetBit),
Instruction(
0xE2, "SET 4,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.D, 1), Operand.const(4) ),
executor = SetBit),
Instruction(
0xE3, "SET 4,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.E, 1), Operand.const(4) ),
executor = SetBit),
Instruction(
0xE4, "SET 4,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.H, 1), Operand.const(4) ),
executor = SetBit),
Instruction(
0xE5, "SET 4,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.L, 1), Operand.const(4) ),
executor = SetBit),
Instruction(
0xE6, "SET 4,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.regi(Registers.HL, 2), Operand.const(4) ),
executor = SetBit),
Instruction(
0xE7, "SET 4,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.A, 1), Operand.const(4) ),
executor = SetBit),
Instruction(
0xE8, "SET 5,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.B, 1), Operand.const(5) ),
executor = SetBit),
Instruction(
0xE9, "SET 5,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.C, 1), Operand.const(5) ),
executor = SetBit),
Instruction(
0xEA, "SET 5,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.D, 1), Operand.const(5) ),
executor = SetBit),
Instruction(
0xEB, "SET 5,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.E, 1), Operand.const(5) ),
executor = SetBit),
Instruction(
0xEC, "SET 5,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.H, 1), Operand.const(5) ),
executor = SetBit),
Instruction(
0xED, "SET 5,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.L, 1), Operand.const(5) ),
executor = SetBit),
Instruction(
0xEE, "SET 5,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.regi(Registers.HL, 2), Operand.const(5) ),
executor = SetBit),
Instruction(
0xEF, "SET 5,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.A, 1), Operand.const(5) ),
executor = SetBit),
Instruction(
0xF0, "SET 6,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.B, 1), Operand.const(6) ),
executor = SetBit),
Instruction(
0xF1, "SET 6,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.C, 1), Operand.const(6) ),
executor = SetBit),
Instruction(
0xF2, "SET 6,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.D, 1), Operand.const(6) ),
executor = SetBit),
Instruction(
0xF3, "SET 6,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.E, 1), Operand.const(6) ),
executor = SetBit),
Instruction(
0xF4, "SET 6,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.H, 1), Operand.const(6) ),
executor = SetBit),
Instruction(
0xF5, "SET 6,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.L, 1), Operand.const(6) ),
executor = SetBit),
Instruction(
0xF6, "SET 6,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.regi(Registers.HL, 2), Operand.const(6) ),
executor = SetBit),
Instruction(
0xF7, "SET 6,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.A, 1), Operand.const(6) ),
executor = SetBit),
Instruction(
0xF8, "SET 7,B", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.B, 1), Operand.const(7) ),
executor = SetBit),
Instruction(
0xF9, "SET 7,C", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.C, 1), Operand.const(7) ),
executor = SetBit),
Instruction(
0xFA, "SET 7,D", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.D, 1), Operand.const(7) ),
executor = SetBit),
Instruction(
0xFB, "SET 7,E", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.E, 1), Operand.const(7) ),
executor = SetBit),
Instruction(
0xFC, "SET 7,H", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.H, 1), Operand.const(7) ),
executor = SetBit),
Instruction(
0xFD, "SET 7,L", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.L, 1), Operand.const(7) ),
executor = SetBit),
Instruction(
0xFE, "SET 7,(HL)", bus_width=1,
byte_size=2, cycles=16,
flags=None,
operands = ( Operand.regi(Registers.HL, 2), Operand.const(7) ),
executor = SetBit),
Instruction(
0xFF, "SET 7,A", bus_width=1,
byte_size=2, cycles=8,
flags=None,
operands = ( Operand.reg(Registers.A, 1), Operand.const(7) ),
executor = SetBit),
]
| 36.483925 | 109 | 0.560053 | 8,707 | 65,817 | 4.174342 | 0.04215 | 0.077037 | 0.146371 | 0.091564 | 0.899934 | 0.899934 | 0.893798 | 0.854454 | 0.792825 | 0.792825 | 0 | 0.044381 | 0.28792 | 65,817 | 1,803 | 110 | 36.50416 | 0.731133 | 0.004984 | 0 | 0.78961 | 0 | 0 | 0.026755 | 0 | 0 | 0 | 0.015638 | 0 | 0 | 1 | 0 | false | 0 | 0.001299 | 0 | 0.001299 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
9c52d729db75290669383ff1063a7d8d21509eec | 158,413 | py | Python | urls/_old.py | ChrisKeefe/data.qiime2.org | 403bde1a1f4aa41e56e1cbffcafe726a12fee426 | [
"BSD-3-Clause"
] | null | null | null | urls/_old.py | ChrisKeefe/data.qiime2.org | 403bde1a1f4aa41e56e1cbffcafe726a12fee426 | [
"BSD-3-Clause"
] | null | null | null | urls/_old.py | ChrisKeefe/data.qiime2.org | 403bde1a1f4aa41e56e1cbffcafe726a12fee426 | [
"BSD-3-Clause"
] | null | null | null | # ----------------------------------------------------------------------------
# Copyright (c) 2016-2020, QIIME 2 development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# ----------------------------------------------------------------------------
# flake8: noqa
MAP_OLD = {
# ANCIENT :skull:
'distro/core/2.0.6':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime206-1484941248.zip',
'distro/core/qiime206.zip': # LEGACY, we can probably delete this
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime206-1484941248.zip',
'distro/core/2017.2':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20172-1486602522.zip',
'distro/core/qiime20172-1486602522.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20172-1486602522.zip',
'distro/core/qiime206-1479486933.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime206-1479486933.zip',
'distro/core/qiime206-1484941248.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime206-1484941248.zip',
'distro/core/qiime2-2017.2-conda-osx-64.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime2-2017.2-conda-osx-64.txt',
'distro/core/qiime2-2017.2-conda-linux-64.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime2-2017.2-conda-linux-64.txt',
# 2017.4 DISTRO
'distro/core/qiime2-2017.4-conda-osx-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.4/release/qiime2-2017.4-conda-osx-64.txt',
'distro/core/qiime2-2017.4-conda-linux-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.4/release/qiime2-2017.4-conda-linux-64.txt',
'distro/core/2017.4':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20174-1492814818.zip',
'distro/core/qiime20174-1492814818.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20174-1492814818.zip',
# 2017.5 DISTRO
'distro/core/qiime2-2017.5-conda-osx-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.5/release/qiime2-2017.5-conda-osx-64.txt',
'distro/core/qiime2-2017.5-conda-linux-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.5/release/qiime2-2017.5-conda-linux-64.txt',
'distro/core/2017.5':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20175-1495755264.zip',
'distro/core/qiime20175-1495755264.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20175-1495755264.zip',
# 2017.6 DISTRO
'distro/core/qiime2-2017.6-conda-osx-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.6/release/qiime2-2017.6-conda-osx-64.txt',
'distro/core/qiime2-2017.6-conda-linux-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.6/release/qiime2-2017.6-conda-linux-64.txt',
'distro/core/2017.6':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20176-1497566713.zip',
'distro/core/qiime20176-1497566713.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20176-1497566713.zip',
# 2017.7 DISTRO
'distro/core/qiime2-2017.7-conda-osx-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.7/release/qiime2-2017.7-conda-osx-64.txt',
'distro/core/qiime2-2017.7-conda-linux-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.7/release/qiime2-2017.7-conda-linux-64.txt',
'distro/core/2017.7':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20177-1501699215.zip',
'distro/core/qiime20177-1501699215.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20177-1501699215.zip',
# 2017.8 DISTRO
'distro/core/qiime2-2017.8-conda-osx-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.8/release/qiime2-2017.8-conda-osx-64.txt',
'distro/core/qiime2-2017.8-conda-linux-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.8/release/qiime2-2017.8-conda-linux-64.txt',
'distro/core/2017.8':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20178-1504187551.zip',
'distro/core/qiime20178-1504187551.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20178-1504187551.zip',
# 2017.9 DISTRO
'distro/core/qiime2-2017.9-conda-osx-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.9/release/qiime2-2017.9-conda-osx-64.txt',
'distro/core/qiime2-2017.9-conda-linux-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.9/release/qiime2-2017.9-conda-linux-64.txt',
'distro/core/2017.9':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20179-1506979645.zip',
'distro/core/qiime20179-1506979645.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20179-1506979645.zip',
# 2017.10 DISTRO
'distro/core/qiime2-2017.10-conda-osx-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.10/release/qiime2-2017.10-conda-osx-64.txt',
'distro/core/qiime2-2017.10-conda-linux-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.10/release/qiime2-2017.10-conda-linux-64.txt',
'distro/core/2017.10':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime201710-1509129582.zip',
'distro/core/qiime201710-1509129582.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime201710-1509129582.zip',
# 2017.11 DISTRO
'distro/core/qiime2-2017.11-conda-osx-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.11/release/qiime2-2017.11-conda-osx-64.txt',
'distro/core/qiime2-2017.11-conda-linux-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.11/release/qiime2-2017.11-conda-linux-64.txt',
'distro/core/2017.11':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime201711-1512067591.zip',
'distro/core/qiime201711-1512067591.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime201711-1512067591.zip',
# 2017.12 DISTRO
'distro/core/qiime2-2017.12-conda-osx-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.12/release/qiime2-2017.12-conda-osx-64.txt',
'distro/core/qiime2-2017.12-conda-linux-64.txt':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.12/release/qiime2-2017.12-conda-linux-64.txt',
'distro/core/qiime2-2017.12-py35-osx-conda.yml':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.12/release/qiime2-2017.12-py35-osx-conda.yml',
'distro/core/qiime2-2017.12-py35-linux-conda.yml':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2017.12/release/qiime2-2017.12-py35-linux-conda.yml',
'distro/core/2017.12':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime201712-1515769864.zip',
'distro/core/qiime201712-1515769864.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime201712-1515769864.zip',
'distro/core/qiime201712-1513890060.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime201712-1513890060.zip',
# 2018.2 DISTRO
'distro/core/qiime2-2018.2-py35-osx-conda.yml':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2018.2/release/qiime2-2018.2-py35-osx-conda.yml',
'distro/core/qiime2-2018.2-py35-linux-conda.yml':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2018.2/release/qiime2-2018.2-py35-linux-conda.yml',
'distro/core/2018.2':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20182-1518795793.zip',
'distro/core/qiime20182-1518795793.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20182-1518795793.zip',
# 2018.4 DISTRO
'distro/core/qiime2-2018.4-py35-osx-conda.yml':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2018.4/release/qiime2-2018.4-py35-osx-conda.yml',
'distro/core/qiime2-2018.4-py35-linux-conda.yml':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2018.4/release/qiime2-2018.4-py35-linux-conda.yml',
'distro/core/2018.4':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20184-1525276946.zip',
'distro/core/qiime20184-1525276946.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20184-1525276946.zip',
# 2018.6 DISTRO
'distro/core/qiime2-2018.6-py35-osx-conda.yml':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2018.6/release/qiime2-2018.6-py35-osx-conda.yml',
'distro/core/qiime2-2018.6-py35-linux-conda.yml':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2018.6/release/qiime2-2018.6-py35-linux-conda.yml',
'distro/core/2018.6':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20186-1530288895.zip',
'distro/core/qiime20186-1530288895.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20186-1530288895.zip',
'distro/core/qiime20186-1529697023.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20186-1529697023.zip',
# 2018.8 DISTRO
'distro/core/qiime2-2018.8-py35-osx-conda.yml':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2018.8/release/qiime2-2018.8-py35-osx-conda.yml',
'distro/core/qiime2-2018.8-py35-linux-conda.yml':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2018.8/release/qiime2-2018.8-py35-linux-conda.yml',
'distro/core/2018.8':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20188-1537275675.zip',
'distro/core/qiime20188-1537275675.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20188-1537275675.zip',
'distro/core/qiime20188-1536192502.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime20188-1536192502.zip',
# 2018.11 DISTRO
'distro/core/qiime2-2018.11-py35-osx-conda.yml':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2018.11/release/qiime2-2018.11-py35-osx-conda.yml',
'distro/core/qiime2-2018.11-py35-linux-conda.yml':
'https://raw.githubusercontent.com/qiime2/environment-files/master/2018.11/release/qiime2-2018.11-py35-linux-conda.yml',
'distro/core/2018.11':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime201811-1542146018.zip',
'distro/core/qiime201811-1542146018.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/distro/core/qiime201811-1542146018.zip',
# 2.0.5
'2.0.5/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/common/gg-13-8-99-515-806-nb-classifier.qza',
'2.0.5/tutorials/88soils/88soils-tutorial-demux-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/88soils/88soils-tutorial-demux-10p.qza',
'2.0.5/tutorials/88soils/88soils-tutorial-demux-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/88soils/88soils-tutorial-demux-1p.qza',
'2.0.5/tutorials/88soils/88soils-tutorial-demux-full.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/88soils/88soils-tutorial-demux-full.qza',
'2.0.5/tutorials/88soils/88soils-tutorial-raw-sequences.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/88soils/88soils-tutorial-raw-sequences.qza',
'2.0.5/tutorials/examples/feature-table.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/examples/feature-table.biom',
'2.0.5/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2.0.5/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2.0.5/tutorials/fmt/fmt-tutorial-demux-1-full.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/fmt/fmt-tutorial-demux-1-full.qza',
'2.0.5/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2.0.5/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2.0.5/tutorials/fmt/fmt-tutorial-demux-2-full.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/fmt/fmt-tutorial-demux-2-full.qza',
'2.0.5/tutorials/fmt/fmt-tutorial-raw-sequences-1.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/fmt/fmt-tutorial-raw-sequences-1.qza',
'2.0.5/tutorials/fmt/fmt-tutorial-raw-sequences-2.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/fmt/fmt-tutorial-raw-sequences-2.qza',
'2.0.5/tutorials/moving-pictures/raw-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/moving-pictures/raw-sequences/barcodes.fastq.gz',
'2.0.5/tutorials/moving-pictures/raw-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.5/tutorials/moving-pictures/raw-sequences/sequences.fastq.gz',
# 2.0.6
'2.0.6/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/common/gg-13-8-99-515-806-nb-classifier.qza',
'2.0.6/common/gg-13-8-99-full-length-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/common/gg-13-8-99-full-length-nb-classifier.qza',
'2.0.6/common/silva-119-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/common/silva-119-99-515-806-nb-classifier.qza',
'2.0.6/common/silva-119-99-full-length-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/common/silva-119-99-full-length-nb-classifier.qza',
'2.0.6/tutorials/88soils/88soils-tutorial-demux-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/88soils/88soils-tutorial-demux-10p.qza',
'2.0.6/tutorials/88soils/88soils-tutorial-demux-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/88soils/88soils-tutorial-demux-1p.qza',
'2.0.6/tutorials/88soils/88soils-tutorial-demux-full.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/88soils/88soils-tutorial-demux-full.qza',
'2.0.6/tutorials/88soils/88soils-tutorial-raw-sequences.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/88soils/88soils-tutorial-raw-sequences.qza',
'2.0.6/tutorials/examples/feature-table.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/examples/feature-table.biom',
'2.0.6/tutorials/filtering-feature-tables/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/filtering-feature-tables/table.qza',
'2.0.6/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2.0.6/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2.0.6/tutorials/fmt/fmt-tutorial-demux-1-full.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/fmt/fmt-tutorial-demux-1-full.qza',
'2.0.6/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2.0.6/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2.0.6/tutorials/fmt/fmt-tutorial-demux-2-full.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/fmt/fmt-tutorial-demux-2-full.qza',
'2.0.6/tutorials/fmt/fmt-tutorial-raw-sequences-1.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/fmt/fmt-tutorial-raw-sequences-1.qza',
'2.0.6/tutorials/fmt/fmt-tutorial-raw-sequences-2.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/fmt/fmt-tutorial-raw-sequences-2.qza',
'2.0.6/tutorials/importing-sequence-data/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/importing-sequence-data/casava-18-single-end-demultiplexed.zip',
'2.0.6/tutorials/moving-pictures/raw-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/moving-pictures/raw-sequences/barcodes.fastq.gz',
'2.0.6/tutorials/moving-pictures/raw-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/moving-pictures/raw-sequences/sequences.fastq.gz',
'2.0.6/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2.0.6/tutorials/training-feature-classifiers/aligned_85_otu_sequences.fasta.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/training-feature-classifiers/aligned_85_otu_sequences.fasta.gz',
'2.0.6/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2.0.6/tutorials/training-feature-classifiers/rep-seqs.qza',
# 2017.2
'2017.2/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/common/gg-13-8-99-515-806-nb-classifier.qza',
'2017.2/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/common/gg-13-8-99-nb-classifier.qza',
'2017.2/common/silva-119-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/common/silva-119-99-515-806-nb-classifier.qza',
'2017.2/common/silva-119-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/common/silva-119-99-nb-classifier.qza',
'2017.2/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2017.2/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/atacama-soils/10p/forward.fastq.gz',
'2017.2/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2017.2/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2017.2/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/atacama-soils/1p/forward.fastq.gz',
'2017.2/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2017.2/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/filtering/distance-matrix.qza',
'2017.2/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/filtering/table.qza',
'2017.2/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2017.2/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2017.2/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2017.2/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2017.2/tutorials/importing-sequence-data/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/importing-sequence-data/casava-18-paired-end-demultiplexed.zip',
'2017.2/tutorials/importing-sequence-data/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/importing-sequence-data/casava-18-single-end-demultiplexed.zip',
'2017.2/tutorials/importing-sequence-data/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/importing-sequence-data/feature-table-v100.biom',
'2017.2/tutorials/importing-sequence-data/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/importing-sequence-data/feature-table-v210.biom',
'2017.2/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2017.2/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2017.2/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2017.2/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/training-feature-classifiers/85_otus.fasta',
'2017.2/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.2/tutorials/training-feature-classifiers/rep-seqs.qza',
'2017.2/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1xMP1EjKZDrzdKLnQr7LGVAY35ongxrreT28k0EACtfg/export?gid=0&format=tsv',
'2017.2/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1xMP1EjKZDrzdKLnQr7LGVAY35ongxrreT28k0EACtfg/edit?usp=sharing',
'2017.2/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/197f9kTKhcvcwqIjQaSkDHqsWeLO5jNN2_LlAN3NuadI/export?gid=0&format=tsv',
'2017.2/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/197f9kTKhcvcwqIjQaSkDHqsWeLO5jNN2_LlAN3NuadI/edit?usp=sharing',
'2017.2/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1WwCnhP7VbiVXY5-XHLoYAT-wAU68ItEF117TYJeQCrg/export?gid=0&format=tsv',
'2017.2/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/1WwCnhP7VbiVXY5-XHLoYAT-wAU68ItEF117TYJeQCrg/edit?usp=sharing',
# 2017.4
'2017.4/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/common/gg-13-8-99-515-806-nb-classifier.qza',
'2017.4/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/common/gg-13-8-99-nb-classifier.qza',
'2017.4/common/silva-119-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/common/silva-119-99-515-806-nb-classifier.qza',
'2017.4/common/silva-119-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/common/silva-119-99-nb-classifier.qza',
'2017.4/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2017.4/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/atacama-soils/10p/forward.fastq.gz',
'2017.4/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2017.4/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2017.4/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/atacama-soils/1p/forward.fastq.gz',
'2017.4/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2017.4/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/exporting/feature-table.qza',
'2017.4/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/exporting/unrooted-tree.qza',
'2017.4/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/filtering/distance-matrix.qza',
'2017.4/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/filtering/table.qza',
'2017.4/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2017.4/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2017.4/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2017.4/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2017.4/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/importing/aligned-sequences.fna',
'2017.4/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2017.4/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2017.4/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/importing/feature-table-v100.biom',
'2017.4/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/importing/feature-table-v210.biom',
'2017.4/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/importing/pe-64-manifest',
'2017.4/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/importing/pe-64.zip',
'2017.4/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/importing/se-33-manifest',
'2017.4/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/importing/se-33.zip',
'2017.4/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/importing/sequences.fna',
'2017.4/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/importing/unrooted-tree.tre',
'2017.4/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2017.4/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2017.4/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2017.4/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/training-feature-classifiers/85_otus.fasta',
'2017.4/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.4/tutorials/training-feature-classifiers/rep-seqs.qza',
'2017.4/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1pDrxXdv87ln9WldEIBCG93eSXf3gfxNXlkeLodBlnOI/export?gid=0&format=tsv',
'2017.4/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1pDrxXdv87ln9WldEIBCG93eSXf3gfxNXlkeLodBlnOI/edit?usp=sharing',
'2017.4/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1Z2Egv1j6MrZntlOJsRfpspHEWFbHCDZxrWpKV5Fh8gU/export?gid=0&format=tsv',
'2017.4/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/1Z2Egv1j6MrZntlOJsRfpspHEWFbHCDZxrWpKV5Fh8gU/edit?usp=sharing',
'2017.4/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1kyK1g5e2KM7akG3Nc2XshkdGSlpBWOVGHmLorNthzfY/export?gid=0&format=tsv',
'2017.4/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/1kyK1g5e2KM7akG3Nc2XshkdGSlpBWOVGHmLorNthzfY/edit?usp=sharing',
# 2017.5
'2017.5/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/common/gg-13-8-99-515-806-nb-classifier.qza',
'2017.5/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/common/gg-13-8-99-nb-classifier.qza',
'2017.5/common/silva-119-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/common/silva-119-99-515-806-nb-classifier.qza',
'2017.5/common/silva-119-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/common/silva-119-99-nb-classifier.qza',
'2017.5/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2017.5/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/atacama-soils/10p/forward.fastq.gz',
'2017.5/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2017.5/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2017.5/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/atacama-soils/1p/forward.fastq.gz',
'2017.5/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2017.5/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/exporting/feature-table.qza',
'2017.5/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/exporting/unrooted-tree.qza',
'2017.5/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/filtering/distance-matrix.qza',
'2017.5/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/filtering/table.qza',
'2017.5/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2017.5/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2017.5/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2017.5/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2017.5/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/importing/aligned-sequences.fna',
'2017.5/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2017.5/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2017.5/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/importing/feature-table-v100.biom',
'2017.5/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/importing/feature-table-v210.biom',
'2017.5/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/importing/pe-64-manifest',
'2017.5/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/importing/pe-64.zip',
'2017.5/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/importing/se-33-manifest',
'2017.5/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/importing/se-33.zip',
'2017.5/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/importing/sequences.fna',
'2017.5/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/importing/unrooted-tree.tre',
'2017.5/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2017.5/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2017.5/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2017.5/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/training-feature-classifiers/85_otus.fasta',
'2017.5/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.5/tutorials/training-feature-classifiers/rep-seqs.qza',
'2017.5/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1GRaNc-Ik7_4K45EQjCjrML7dadxoz6l-w8CF4I4T7Ug/export?gid=0&format=tsv',
'2017.5/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1GRaNc-Ik7_4K45EQjCjrML7dadxoz6l-w8CF4I4T7Ug/edit?usp=sharing',
'2017.5/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1kv1pomvbr3WQiEUA8P2N6zyVHkue4XXRI_U_3UmJVvw/export?gid=0&format=tsv',
'2017.5/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/1kv1pomvbr3WQiEUA8P2N6zyVHkue4XXRI_U_3UmJVvw/edit?usp=sharing',
'2017.5/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1_cDVn4B1wjzxdirkSxoEvOEmWPGn0XyCqbQGpeyg4Uc/export?gid=0&format=tsv',
'2017.5/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/1_cDVn4B1wjzxdirkSxoEvOEmWPGn0XyCqbQGpeyg4Uc/edit?usp=sharing',
# 2017.6
'2017.6/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/common/gg-13-8-99-515-806-nb-classifier.qza',
'2017.6/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/common/gg-13-8-99-nb-classifier.qza',
'2017.6/common/silva-119-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/common/silva-119-99-515-806-nb-classifier.qza',
'2017.6/common/silva-119-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/common/silva-119-99-nb-classifier.qza',
'2017.6/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2017.6/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/atacama-soils/10p/forward.fastq.gz',
'2017.6/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2017.6/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2017.6/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/atacama-soils/1p/forward.fastq.gz',
'2017.6/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2017.6/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/exporting/feature-table.qza',
'2017.6/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/exporting/unrooted-tree.qza',
'2017.6/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/filtering/distance-matrix.qza',
'2017.6/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/filtering/table.qza',
'2017.6/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2017.6/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2017.6/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2017.6/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2017.6/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/importing/aligned-sequences.fna',
'2017.6/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2017.6/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2017.6/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/importing/feature-table-v100.biom',
'2017.6/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/importing/feature-table-v210.biom',
'2017.6/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/importing/pe-64-manifest',
'2017.6/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/importing/pe-64.zip',
'2017.6/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/importing/se-33-manifest',
'2017.6/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/importing/se-33.zip',
'2017.6/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/importing/sequences.fna',
'2017.6/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/importing/unrooted-tree.tre',
'2017.6/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2017.6/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2017.6/tutorials/metadata/faith_pd_vector.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/metadata/faith_pd_vector.qza',
'2017.6/tutorials/metadata/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/metadata/rep-seqs.qza',
'2017.6/tutorials/metadata/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/metadata/taxonomy.qza',
'2017.6/tutorials/metadata/unweighted_unifrac_pcoa_results.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/metadata/unweighted_unifrac_pcoa_results.qza',
'2017.6/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2017.6/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/training-feature-classifiers/85_otus.fasta',
'2017.6/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.6/tutorials/training-feature-classifiers/rep-seqs.qza',
'2017.6/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1RskGBPAx6ODMh882F1DbhFX7-HDzcXWi9ljZltuaDe0/export?gid=0&format=tsv',
'2017.6/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1RskGBPAx6ODMh882F1DbhFX7-HDzcXWi9ljZltuaDe0/edit?usp=sharing',
'2017.6/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1bKUwBXZju3wBQ29lh5MbM7Mu8XSE6JbG3DbMuSyBjYw/export?gid=0&format=tsv',
'2017.6/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/1bKUwBXZju3wBQ29lh5MbM7Mu8XSE6JbG3DbMuSyBjYw/edit?usp=sharing',
'2017.6/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1suEU6qcWbGHB09Nj7smBfW3v4Yl8_O6lTEI-GYWUltY/export?gid=0&format=tsv',
'2017.6/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/1suEU6qcWbGHB09Nj7smBfW3v4Yl8_O6lTEI-GYWUltY/edit?usp=sharing',
# 2017.7
'2017.7/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/common/gg-13-8-99-515-806-nb-classifier.qza',
'2017.7/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/common/gg-13-8-99-nb-classifier.qza',
'2017.7/common/silva-119-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/common/silva-119-99-515-806-nb-classifier.qza',
'2017.7/common/silva-119-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/common/silva-119-99-nb-classifier.qza',
'2017.7/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2017.7/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/atacama-soils/10p/forward.fastq.gz',
'2017.7/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2017.7/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2017.7/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/atacama-soils/1p/forward.fastq.gz',
'2017.7/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2017.7/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/exporting/feature-table.qza',
'2017.7/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/exporting/unrooted-tree.qza',
'2017.7/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/filtering/distance-matrix.qza',
'2017.7/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/filtering/table.qza',
'2017.7/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2017.7/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2017.7/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2017.7/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2017.7/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/importing/aligned-sequences.fna',
'2017.7/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2017.7/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2017.7/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/importing/feature-table-v100.biom',
'2017.7/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/importing/feature-table-v210.biom',
'2017.7/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/importing/pe-64-manifest',
'2017.7/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/importing/pe-64.zip',
'2017.7/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/importing/se-33-manifest',
'2017.7/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/importing/se-33.zip',
'2017.7/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/importing/sequences.fna',
'2017.7/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/importing/unrooted-tree.tre',
'2017.7/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2017.7/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2017.7/tutorials/metadata/faith_pd_vector.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/metadata/faith_pd_vector.qza',
'2017.7/tutorials/metadata/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/metadata/rep-seqs.qza',
'2017.7/tutorials/metadata/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/metadata/taxonomy.qza',
'2017.7/tutorials/metadata/unweighted_unifrac_pcoa_results.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/metadata/unweighted_unifrac_pcoa_results.qza',
'2017.7/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2017.7/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/training-feature-classifiers/85_otus.fasta',
'2017.7/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.7/tutorials/training-feature-classifiers/rep-seqs.qza',
'2017.7/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1cUf_GeDVpPFJLcth599MrhntChPhmxkXJmBbdAzAtSg/export?gid=0&format=tsv',
'2017.7/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1cUf_GeDVpPFJLcth599MrhntChPhmxkXJmBbdAzAtSg/edit?usp=sharing',
'2017.7/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1LujIPEKQpHGHxeNbzoHKm3xpAazd79f-Qb7aYG4zHVw/export?gid=0&format=tsv',
'2017.7/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/1LujIPEKQpHGHxeNbzoHKm3xpAazd79f-Qb7aYG4zHVw/edit?usp=sharing',
'2017.7/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1LnHBswZk6MFJWelQ6-A2TL7TH3tyG0NX7omM2pFyfyQ/export?gid=0&format=tsv',
'2017.7/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/1LnHBswZk6MFJWelQ6-A2TL7TH3tyG0NX7omM2pFyfyQ/edit?usp=sharing',
# 2017.8
'2017.8/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/common/gg-13-8-99-515-806-nb-classifier.qza',
'2017.8/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/common/gg-13-8-99-nb-classifier.qza',
'2017.8/common/silva-119-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/common/silva-119-99-515-806-nb-classifier.qza',
'2017.8/common/silva-119-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/common/silva-119-99-nb-classifier.qza',
'2017.8/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2017.8/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/atacama-soils/10p/forward.fastq.gz',
'2017.8/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2017.8/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2017.8/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/atacama-soils/1p/forward.fastq.gz',
'2017.8/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2017.8/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/exporting/feature-table.qza',
'2017.8/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/exporting/unrooted-tree.qza',
'2017.8/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/filtering/distance-matrix.qza',
'2017.8/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/filtering/table.qza',
'2017.8/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2017.8/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2017.8/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2017.8/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2017.8/tutorials/gneiss/sample-metadata.tsv':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/gneiss/sample-metadata.tsv',
'2017.8/tutorials/gneiss/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/gneiss/table.qza',
'2017.8/tutorials/gneiss/taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/gneiss/taxa.qza',
'2017.8/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/importing/aligned-sequences.fna',
'2017.8/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2017.8/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2017.8/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/importing/feature-table-v100.biom',
'2017.8/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/importing/feature-table-v210.biom',
'2017.8/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/importing/pe-64-manifest',
'2017.8/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/importing/pe-64.zip',
'2017.8/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/importing/se-33-manifest',
'2017.8/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/importing/se-33.zip',
'2017.8/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/importing/sequences.fna',
'2017.8/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/importing/unrooted-tree.tre',
'2017.8/tutorials/longitudinal/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/longitudinal/table.qza',
'2017.8/tutorials/longitudinal/observed_otus_vector.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/longitudinal/observed_otus_vector.qza',
'2017.8/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza',
'2017.8/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2017.8/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2017.8/tutorials/metadata/faith_pd_vector.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/metadata/faith_pd_vector.qza',
'2017.8/tutorials/metadata/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/metadata/rep-seqs.qza',
'2017.8/tutorials/metadata/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/metadata/taxonomy.qza',
'2017.8/tutorials/metadata/unweighted_unifrac_pcoa_results.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/metadata/unweighted_unifrac_pcoa_results.qza',
'2017.8/tutorials/sample-classifier/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/sample-classifier/atacama-table.qza',
'2017.8/tutorials/sample-classifier/moving-pictures-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/sample-classifier/moving-pictures-table.qza',
'2017.8/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2017.8/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/training-feature-classifiers/85_otus.fasta',
'2017.8/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.8/tutorials/training-feature-classifiers/rep-seqs.qza',
'2017.8/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1xfDp25wDgnGAHPffJRvsefAC_09vlZvcrNjTClId8QI/export?gid=0&format=tsv',
'2017.8/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1xfDp25wDgnGAHPffJRvsefAC_09vlZvcrNjTClId8QI/edit?usp=sharing',
'2017.8/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1hAAlr7pWzKBdKlzk_NN1vdIhsmepunkxSxSHl1Fcv4Y/export?gid=0&format=tsv',
'2017.8/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/1hAAlr7pWzKBdKlzk_NN1vdIhsmepunkxSxSHl1Fcv4Y/edit?usp=sharing',
'2017.8/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1h5tonfj9kIDPI2pwDInuEArn1_owGMWkr_1NlL1Evxk/export?gid=0&format=tsv',
'2017.8/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/1h5tonfj9kIDPI2pwDInuEArn1_owGMWkr_1NlL1Evxk/edit?usp=sharing',
# 2017.9
'2017.9/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/common/gg-13-8-99-515-806-nb-classifier.qza',
'2017.9/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/common/gg-13-8-99-nb-classifier.qza',
'2017.9/common/silva-119-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/common/silva-119-99-515-806-nb-classifier.qza',
'2017.9/common/silva-119-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/common/silva-119-99-nb-classifier.qza',
'2017.9/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2017.9/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/atacama-soils/10p/forward.fastq.gz',
'2017.9/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2017.9/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2017.9/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/atacama-soils/1p/forward.fastq.gz',
'2017.9/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2017.9/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/exporting/feature-table.qza',
'2017.9/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/exporting/unrooted-tree.qza',
'2017.9/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/filtering/distance-matrix.qza',
'2017.9/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/filtering/table.qza',
'2017.9/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2017.9/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2017.9/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2017.9/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2017.9/tutorials/gneiss/sample-metadata.tsv':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/gneiss/sample-metadata.tsv',
'2017.9/tutorials/gneiss/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/gneiss/table.qza',
'2017.9/tutorials/gneiss/taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/gneiss/taxa.qza',
'2017.9/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/importing/aligned-sequences.fna',
'2017.9/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2017.9/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2017.9/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/importing/feature-table-v100.biom',
'2017.9/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/importing/feature-table-v210.biom',
'2017.9/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/importing/pe-64-manifest',
'2017.9/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/importing/pe-64.zip',
'2017.9/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/importing/se-33-manifest',
'2017.9/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/importing/se-33.zip',
'2017.9/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/importing/sequences.fna',
'2017.9/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/importing/unrooted-tree.tre',
'2017.9/tutorials/longitudinal/ecam_table_taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/longitudinal/ecam_table_taxa.qza',
'2017.9/tutorials/longitudinal/ecam_shannon.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/longitudinal/ecam_shannon.qza',
'2017.9/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza',
'2017.9/tutorials/longitudinal/ecam_table_maturity.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/longitudinal/ecam_table_maturity.qza',
'2017.9/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2017.9/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2017.9/tutorials/metadata/faith_pd_vector.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/metadata/faith_pd_vector.qza',
'2017.9/tutorials/metadata/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/metadata/rep-seqs.qza',
'2017.9/tutorials/metadata/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/metadata/taxonomy.qza',
'2017.9/tutorials/metadata/unweighted_unifrac_pcoa_results.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/metadata/unweighted_unifrac_pcoa_results.qza',
'2017.9/tutorials/sample-classifier/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/sample-classifier/atacama-table.qza',
'2017.9/tutorials/sample-classifier/moving-pictures-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/sample-classifier/moving-pictures-table.qza',
'2017.9/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2017.9/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/training-feature-classifiers/85_otus.fasta',
'2017.9/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.9/tutorials/training-feature-classifiers/rep-seqs.qza',
'2017.9/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1InAF7-CQKYz6UhCs47uj8uLsOKqIKiDS0qyJJ4wdy3Y/export?gid=0&format=tsv',
'2017.9/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1InAF7-CQKYz6UhCs47uj8uLsOKqIKiDS0qyJJ4wdy3Y/edit?usp=sharing',
'2017.9/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/11XaCo3lraIz7VYw24iAyPbuZXMuITGM7nsY_-10IByo/export?gid=0&format=tsv',
'2017.9/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/11XaCo3lraIz7VYw24iAyPbuZXMuITGM7nsY_-10IByo/edit?usp=sharing',
'2017.9/tutorials/longitudinal/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/e/2PACX-1vRD2JQoOT8NsG3f0NqhEWe-54Lx8fkeTd09r6utj22RFe2EUA2eLptGPeUHqx3lrghhOLKVSMhx_bX0/pub?gid=1303657428&single=true&output=tsv',
'2017.9/tutorials/longitudinal/sample_metadata':
'https://docs.google.com/spreadsheets/d/1lWwMbbfKlYm5aUFjZHWXwiWvuAhdEK8bVp2kk7DlMNo/edit?usp=sharing',
'2017.9/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1eJ4VouEoCZFySm-REvJaNlH6RwuzjrZ9A10v9GI73QQ/export?gid=0&format=tsv',
'2017.9/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/1eJ4VouEoCZFySm-REvJaNlH6RwuzjrZ9A10v9GI73QQ/edit?usp=sharing',
# 2017.10
'2017.10/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/common/gg-13-8-99-515-806-nb-classifier.qza',
'2017.10/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/common/gg-13-8-99-nb-classifier.qza',
'2017.10/common/silva-119-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/common/silva-119-99-515-806-nb-classifier.qza',
'2017.10/common/silva-119-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/common/silva-119-99-nb-classifier.qza',
'2017.10/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2017.10/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/atacama-soils/10p/forward.fastq.gz',
'2017.10/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2017.10/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2017.10/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/atacama-soils/1p/forward.fastq.gz',
'2017.10/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2017.10/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/exporting/feature-table.qza',
'2017.10/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/exporting/unrooted-tree.qza',
'2017.10/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/filtering/distance-matrix.qza',
'2017.10/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/filtering/table.qza',
'2017.10/tutorials/filtering/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/filtering/taxonomy.qza',
'2017.10/tutorials/filtering/sequences.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/filtering/sequences.qza',
'2017.10/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2017.10/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2017.10/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2017.10/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2017.10/tutorials/gneiss/sample-metadata.tsv':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/gneiss/sample-metadata.tsv',
'2017.10/tutorials/gneiss/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/gneiss/table.qza',
'2017.10/tutorials/gneiss/taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/gneiss/taxa.qza',
'2017.10/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/importing/aligned-sequences.fna',
'2017.10/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2017.10/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2017.10/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/importing/feature-table-v100.biom',
'2017.10/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/importing/feature-table-v210.biom',
'2017.10/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/importing/pe-64-manifest',
'2017.10/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/importing/pe-64.zip',
'2017.10/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/importing/se-33-manifest',
'2017.10/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/importing/se-33.zip',
'2017.10/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/importing/sequences.fna',
'2017.10/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/importing/unrooted-tree.tre',
'2017.10/tutorials/longitudinal/ecam_table_taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/longitudinal/ecam_table_taxa.qza',
'2017.10/tutorials/longitudinal/ecam_shannon.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/longitudinal/ecam_shannon.qza',
'2017.10/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza',
'2017.10/tutorials/longitudinal/ecam_table_maturity.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/longitudinal/ecam_table_maturity.qza',
'2017.10/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2017.10/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2017.10/tutorials/metadata/faith_pd_vector.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/metadata/faith_pd_vector.qza',
'2017.10/tutorials/metadata/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/metadata/rep-seqs.qza',
'2017.10/tutorials/metadata/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/metadata/taxonomy.qza',
'2017.10/tutorials/metadata/unweighted_unifrac_pcoa_results.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/metadata/unweighted_unifrac_pcoa_results.qza',
'2017.10/tutorials/quality-control/query-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/quality-control/query-seqs.qza',
'2017.10/tutorials/quality-control/reference-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/quality-control/reference-seqs.qza',
'2017.10/tutorials/quality-control/query-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/quality-control/query-table.qza',
'2017.10/tutorials/sample-classifier/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/sample-classifier/atacama-table.qza',
'2017.10/tutorials/sample-classifier/moving-pictures-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/sample-classifier/moving-pictures-table.qza',
'2017.10/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2017.10/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/training-feature-classifiers/85_otus.fasta',
'2017.10/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.10/tutorials/training-feature-classifiers/rep-seqs.qza',
'2017.10/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1hr6MnA4iBg3ocEX3WlxQl3kfdQer6OLQga5GZRFoBHc/export?gid=0&format=tsv',
'2017.10/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1hr6MnA4iBg3ocEX3WlxQl3kfdQer6OLQga5GZRFoBHc/edit?usp=sharing',
'2017.10/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1_NmstnslMLx_uuEAi3PGU0UxyKLWM8UpFodBoUnttCg/export?gid=0&format=tsv',
'2017.10/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/1_NmstnslMLx_uuEAi3PGU0UxyKLWM8UpFodBoUnttCg/edit?usp=sharing',
'2017.10/tutorials/longitudinal/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/e/2PACX-1vTW-Z91dNYIcwtyutGts8zwySr3jdRJHRsq2ZQosUXPekBahFFNE5SKGCvbtUq647RlykS7kqyt0WM9/pub?gid=1303657428&single=true&output=tsv',
'2017.10/tutorials/longitudinal/sample_metadata':
'https://docs.google.com/spreadsheets/d/1ayAotUc5LnCeJgRROWEZ1Fyu1gqh9PZgdHAvz2__Ux8/edit?usp=sharing',
'2017.10/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1olhC9SljTb7Wqn4Pq87CCWL5U8l-oPg6a21_nPI63SA/export?gid=0&format=tsv',
'2017.10/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/1olhC9SljTb7Wqn4Pq87CCWL5U8l-oPg6a21_nPI63SA/edit?usp=sharing',
# 2017.11
'2017.11/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/common/gg-13-8-99-515-806-nb-classifier.qza',
'2017.11/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/common/gg-13-8-99-nb-classifier.qza',
'2017.11/common/silva-119-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/common/silva-119-99-515-806-nb-classifier.qza',
'2017.11/common/silva-119-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/common/silva-119-99-nb-classifier.qza',
'2017.11/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2017.11/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/atacama-soils/10p/forward.fastq.gz',
'2017.11/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2017.11/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2017.11/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/atacama-soils/1p/forward.fastq.gz',
'2017.11/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2017.11/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/exporting/feature-table.qza',
'2017.11/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/exporting/unrooted-tree.qza',
'2017.11/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/filtering/distance-matrix.qza',
'2017.11/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/filtering/table.qza',
'2017.11/tutorials/filtering/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/filtering/taxonomy.qza',
'2017.11/tutorials/filtering/sequences.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/filtering/sequences.qza',
'2017.11/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2017.11/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2017.11/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2017.11/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2017.11/tutorials/gneiss/sample-metadata.tsv':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/gneiss/sample-metadata.tsv',
'2017.11/tutorials/gneiss/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/gneiss/table.qza',
'2017.11/tutorials/gneiss/taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/gneiss/taxa.qza',
'2017.11/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/importing/aligned-sequences.fna',
'2017.11/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2017.11/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2017.11/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/importing/feature-table-v100.biom',
'2017.11/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/importing/feature-table-v210.biom',
'2017.11/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/importing/pe-64-manifest',
'2017.11/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/importing/pe-64.zip',
'2017.11/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/importing/se-33-manifest',
'2017.11/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/importing/se-33.zip',
'2017.11/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/importing/sequences.fna',
'2017.11/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/importing/unrooted-tree.tre',
'2017.11/tutorials/longitudinal/ecam_table_taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/longitudinal/ecam_table_taxa.qza',
'2017.11/tutorials/longitudinal/ecam_shannon.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/longitudinal/ecam_shannon.qza',
'2017.11/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza',
'2017.11/tutorials/longitudinal/ecam_table_maturity.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/longitudinal/ecam_table_maturity.qza',
'2017.11/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2017.11/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2017.11/tutorials/metadata/faith_pd_vector.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/metadata/faith_pd_vector.qza',
'2017.11/tutorials/metadata/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/metadata/rep-seqs.qza',
'2017.11/tutorials/metadata/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/metadata/taxonomy.qza',
'2017.11/tutorials/metadata/unweighted_unifrac_pcoa_results.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/metadata/unweighted_unifrac_pcoa_results.qza',
'2017.11/tutorials/quality-control/qc-mock-3-expected.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/quality-control/qc-mock-3-expected.qza',
'2017.11/tutorials/quality-control/qc-mock-3-observed.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/quality-control/qc-mock-3-observed.qza',
'2017.11/tutorials/quality-control/query-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/quality-control/query-seqs.qza',
'2017.11/tutorials/quality-control/reference-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/quality-control/reference-seqs.qza',
'2017.11/tutorials/quality-control/query-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/quality-control/query-table.qza',
'2017.11/tutorials/sample-classifier/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/sample-classifier/atacama-table.qza',
'2017.11/tutorials/sample-classifier/moving-pictures-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/sample-classifier/moving-pictures-table.qza',
'2017.11/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2017.11/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/training-feature-classifiers/85_otus.fasta',
'2017.11/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.11/tutorials/training-feature-classifiers/rep-seqs.qza',
'2017.11/tutorials/longitudinal/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/e/2PACX-1vQBO3snrJj1tBS3xhegwTFODYUgr5kct66npoXPxRyQ8CZXvxcszrXRVx-NXR-aJehapb1a6k6lZQNr/pub?gid=1303657428&single=true&output=tsv',
'2017.11/tutorials/longitudinal/sample_metadata':
'https://docs.google.com/spreadsheets/d/1B_mPluLmKWuDxZmH-gkpO1FnWfOGDP8JSUhpxBCJ0Gg/edit?usp=sharing',
'2017.11/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/13jmPk_QByAFZV5TRKYERdgf3OwuFbv90tbLLoCJSdFg/export?gid=0&format=tsv',
'2017.11/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/13jmPk_QByAFZV5TRKYERdgf3OwuFbv90tbLLoCJSdFg/edit?usp=sharing',
'2017.11/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1jZHIR6rAy-FTh-xeWna73ft0IljwoO_EWX9kqWleHis/export?gid=0&format=tsv',
'2017.11/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/1jZHIR6rAy-FTh-xeWna73ft0IljwoO_EWX9kqWleHis/edit?usp=sharing',
'2017.11/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/10EPtdAZBZFmPZz-89LDKf9VnOje1T1MxGQDYDzOQh1M/export?gid=0&format=tsv',
'2017.11/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/10EPtdAZBZFmPZz-89LDKf9VnOje1T1MxGQDYDzOQh1M/edit?usp=sharing',
# 2017.12
'2017.12/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/common/gg-13-8-99-515-806-nb-classifier.qza',
'2017.12/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/common/gg-13-8-99-nb-classifier.qza',
'2017.12/common/silva-119-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/common/silva-119-99-515-806-nb-classifier.qza',
'2017.12/common/silva-119-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/common/silva-119-99-nb-classifier.qza',
'2017.12/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2017.12/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/atacama-soils/10p/forward.fastq.gz',
'2017.12/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2017.12/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2017.12/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/atacama-soils/1p/forward.fastq.gz',
'2017.12/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2017.12/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/exporting/feature-table.qza',
'2017.12/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/exporting/unrooted-tree.qza',
'2017.12/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/filtering/distance-matrix.qza',
'2017.12/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/filtering/table.qza',
'2017.12/tutorials/filtering/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/filtering/taxonomy.qza',
'2017.12/tutorials/filtering/sequences.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/filtering/sequences.qza',
'2017.12/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2017.12/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2017.12/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2017.12/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2017.12/tutorials/gneiss/sample-metadata.tsv':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/gneiss/sample-metadata.tsv',
'2017.12/tutorials/gneiss/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/gneiss/table.qza',
'2017.12/tutorials/gneiss/taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/gneiss/taxa.qza',
'2017.12/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/importing/aligned-sequences.fna',
'2017.12/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2017.12/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2017.12/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/importing/feature-table-v100.biom',
'2017.12/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/importing/feature-table-v210.biom',
'2017.12/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/importing/pe-64-manifest',
'2017.12/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/importing/pe-64.zip',
'2017.12/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/importing/se-33-manifest',
'2017.12/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/importing/se-33.zip',
'2017.12/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/importing/sequences.fna',
'2017.12/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/importing/unrooted-tree.tre',
'2017.12/tutorials/longitudinal/ecam_table_taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/longitudinal/ecam_table_taxa.qza',
'2017.12/tutorials/longitudinal/ecam_shannon.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/longitudinal/ecam_shannon.qza',
'2017.12/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza',
'2017.12/tutorials/longitudinal/ecam_table_maturity.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/longitudinal/ecam_table_maturity.qza',
'2017.12/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2017.12/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2017.12/tutorials/metadata/faith_pd_vector.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/metadata/faith_pd_vector.qza',
'2017.12/tutorials/metadata/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/metadata/rep-seqs.qza',
'2017.12/tutorials/metadata/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/metadata/taxonomy.qza',
'2017.12/tutorials/metadata/unweighted_unifrac_pcoa_results.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/metadata/unweighted_unifrac_pcoa_results.qza',
'2017.12/tutorials/quality-control/qc-mock-3-expected.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/quality-control/qc-mock-3-expected.qza',
'2017.12/tutorials/quality-control/qc-mock-3-observed.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/quality-control/qc-mock-3-observed.qza',
'2017.12/tutorials/quality-control/query-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/quality-control/query-seqs.qza',
'2017.12/tutorials/quality-control/reference-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/quality-control/reference-seqs.qza',
'2017.12/tutorials/quality-control/query-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/quality-control/query-table.qza',
'2017.12/tutorials/sample-classifier/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/sample-classifier/atacama-table.qza',
'2017.12/tutorials/sample-classifier/moving-pictures-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/sample-classifier/moving-pictures-table.qza',
'2017.12/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2017.12/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/training-feature-classifiers/85_otus.fasta',
'2017.12/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2017.12/tutorials/training-feature-classifiers/rep-seqs.qza',
'2017.12/tutorials/longitudinal/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/e/2PACX-1vQX0izYlpMpVVCssgNsrvMsz---Hz2NmEvF3YrL8jz9FCKDVGlRMNoM4HWnzfd3MmjPzn2h6HfS4g-N/pub?gid=1303657428&single=true&output=tsv',
'2017.12/tutorials/longitudinal/sample_metadata':
'https://docs.google.com/spreadsheets/d/1nCmJGhrrzT58w2vVdUK8KFYEFTQqZjenYRdRYJny83s/edit?usp=sharing',
'2017.12/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1_fvnITwKxuKoT5oqHzFWWFhNMXYg94CKeKNCq30ryeM/export?gid=0&format=tsv',
'2017.12/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1_fvnITwKxuKoT5oqHzFWWFhNMXYg94CKeKNCq30ryeM/edit?usp=sharing',
'2017.12/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/149386JULm1MlQWf_E1ONSRiTHuDDb65ISp6UQwCzIzM/export?gid=0&format=tsv',
'2017.12/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/149386JULm1MlQWf_E1ONSRiTHuDDb65ISp6UQwCzIzM/edit?usp=sharing',
'2017.12/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1_aXfLx5zJhkNxvqJnG39WFwlKj5xWTVHe8eq7h1KFTA/export?gid=0&format=tsv',
'2017.12/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/1_aXfLx5zJhkNxvqJnG39WFwlKj5xWTVHe8eq7h1KFTA/edit?usp=sharing',
# 2018.2
'2018.2/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/common/gg-13-8-99-515-806-nb-classifier.qza',
'2018.2/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/common/gg-13-8-99-nb-classifier.qza',
'2018.2/common/silva-119-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/common/silva-119-99-515-806-nb-classifier.qza',
'2018.2/common/silva-119-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/common/silva-119-99-nb-classifier.qza',
'2018.2/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2018.2/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/atacama-soils/10p/forward.fastq.gz',
'2018.2/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2018.2/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2018.2/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/atacama-soils/1p/forward.fastq.gz',
'2018.2/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2018.2/tutorials/chimera/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/chimera/atacama-table.qza',
'2018.2/tutorials/chimera/atacama-rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/chimera/atacama-rep-seqs.qza',
'2018.2/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/exporting/feature-table.qza',
'2018.2/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/exporting/unrooted-tree.qza',
'2018.2/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/filtering/distance-matrix.qza',
'2018.2/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/filtering/table.qza',
'2018.2/tutorials/filtering/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/filtering/taxonomy.qza',
'2018.2/tutorials/filtering/sequences.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/filtering/sequences.qza',
'2018.2/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2018.2/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2018.2/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2018.2/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2018.2/tutorials/gneiss/sample-metadata.tsv':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/gneiss/sample-metadata.tsv',
'2018.2/tutorials/gneiss/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/gneiss/table.qza',
'2018.2/tutorials/gneiss/taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/gneiss/taxa.qza',
'2018.2/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/importing/aligned-sequences.fna',
'2018.2/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2018.2/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2018.2/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/importing/feature-table-v100.biom',
'2018.2/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/importing/feature-table-v210.biom',
'2018.2/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/importing/pe-64-manifest',
'2018.2/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/importing/pe-64.zip',
'2018.2/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/importing/se-33-manifest',
'2018.2/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/importing/se-33.zip',
'2018.2/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/importing/sequences.fna',
'2018.2/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/importing/unrooted-tree.tre',
'2018.2/tutorials/longitudinal/ecam_table_taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/longitudinal/ecam_table_taxa.qza',
'2018.2/tutorials/longitudinal/ecam_shannon.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/longitudinal/ecam_shannon.qza',
'2018.2/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza',
'2018.2/tutorials/longitudinal/ecam_table_maturity.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/longitudinal/ecam_table_maturity.qza',
'2018.2/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2018.2/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2018.2/tutorials/metadata/faith_pd_vector.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/metadata/faith_pd_vector.qza',
'2018.2/tutorials/metadata/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/metadata/rep-seqs.qza',
'2018.2/tutorials/metadata/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/metadata/taxonomy.qza',
'2018.2/tutorials/metadata/unweighted_unifrac_pcoa_results.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/metadata/unweighted_unifrac_pcoa_results.qza',
'2018.2/tutorials/quality-control/qc-mock-3-expected.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/quality-control/qc-mock-3-expected.qza',
'2018.2/tutorials/quality-control/qc-mock-3-observed.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/quality-control/qc-mock-3-observed.qza',
'2018.2/tutorials/quality-control/query-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/quality-control/query-seqs.qza',
'2018.2/tutorials/quality-control/reference-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/quality-control/reference-seqs.qza',
'2018.2/tutorials/quality-control/query-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/quality-control/query-table.qza',
'2018.2/tutorials/read-joining/atacama-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/read-joining/atacama-seqs.qza',
'2018.2/tutorials/read-joining/fj-joined.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/read-joining/fj-joined.zip',
'2018.2/tutorials/sample-classifier/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/sample-classifier/atacama-table.qza',
'2018.2/tutorials/sample-classifier/moving-pictures-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/sample-classifier/moving-pictures-table.qza',
'2018.2/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2018.2/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/training-feature-classifiers/85_otus.fasta',
'2018.2/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.2/tutorials/training-feature-classifiers/rep-seqs.qza',
'2018.2/tutorials/longitudinal/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/e/2PACX-1vScA4zHW801k_ghYkPD67zhoEfQX2bNlpIaaR7m8EXgEb06CfUjJtt8kiB2ubFmORr2BRiq0znTJIE_/pub?gid=1303657428&single=true&output=tsv',
'2018.2/tutorials/longitudinal/sample_metadata':
'https://docs.google.com/spreadsheets/d/1b7Y_3Pp7Sx4x_cqLiqOD46J7xc8dBt4SY1DCxTf5GYU/edit?usp=sharing',
'2018.2/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1mJcglEsQfVX2FNom_amXHNMxuvRkw0pdBzDzA7ceucY/export?gid=0&format=tsv',
'2018.2/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1mJcglEsQfVX2FNom_amXHNMxuvRkw0pdBzDzA7ceucY/edit?usp=sharing',
'2018.2/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1LpGUOdXwCs6m4xR9DoB8yOl_22v1hczjZHyA41DhDXg/export?gid=0&format=tsv',
'2018.2/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/1LpGUOdXwCs6m4xR9DoB8yOl_22v1hczjZHyA41DhDXg/edit?usp=sharing',
'2018.2/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1oXxzXONgBSyYBlgDd9quhIQ2JLD8Pjj_RCTKX5tUqpo/export?gid=0&format=tsv',
'2018.2/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/1oXxzXONgBSyYBlgDd9quhIQ2JLD8Pjj_RCTKX5tUqpo/edit?usp=sharing',
# 2018.4
'2018.4/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/common/gg-13-8-99-515-806-nb-classifier.qza',
'2018.4/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/common/gg-13-8-99-nb-classifier.qza',
'2018.4/common/silva-119-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/common/silva-119-99-515-806-nb-classifier.qza',
'2018.4/common/silva-119-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/common/silva-119-99-nb-classifier.qza',
'2018.4/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2018.4/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/atacama-soils/10p/forward.fastq.gz',
'2018.4/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2018.4/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2018.4/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/atacama-soils/1p/forward.fastq.gz',
'2018.4/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2018.4/tutorials/chimera/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/chimera/atacama-table.qza',
'2018.4/tutorials/chimera/atacama-rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/chimera/atacama-rep-seqs.qza',
'2018.4/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/exporting/feature-table.qza',
'2018.4/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/exporting/unrooted-tree.qza',
'2018.4/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/filtering/distance-matrix.qza',
'2018.4/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/filtering/table.qza',
'2018.4/tutorials/filtering/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/filtering/taxonomy.qza',
'2018.4/tutorials/filtering/sequences.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/filtering/sequences.qza',
'2018.4/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2018.4/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2018.4/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2018.4/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2018.4/tutorials/gneiss/sample-metadata.tsv':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/gneiss/sample-metadata.tsv',
'2018.4/tutorials/gneiss/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/gneiss/table.qza',
'2018.4/tutorials/gneiss/taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/gneiss/taxa.qza',
'2018.4/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/importing/aligned-sequences.fna',
'2018.4/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2018.4/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2018.4/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/importing/feature-table-v100.biom',
'2018.4/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/importing/feature-table-v210.biom',
'2018.4/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/importing/pe-64-manifest',
'2018.4/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/importing/pe-64.zip',
'2018.4/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/importing/se-33-manifest',
'2018.4/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/importing/se-33.zip',
'2018.4/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/importing/sequences.fna',
'2018.4/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/importing/unrooted-tree.tre',
'2018.4/tutorials/longitudinal/ecam_table_taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/longitudinal/ecam_table_taxa.qza',
'2018.4/tutorials/longitudinal/ecam_shannon.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/longitudinal/ecam_shannon.qza',
'2018.4/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza',
'2018.4/tutorials/longitudinal/ecam_table_maturity.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/longitudinal/ecam_table_maturity.qza',
'2018.4/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2018.4/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2018.4/tutorials/metadata/faith_pd_vector.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/metadata/faith_pd_vector.qza',
'2018.4/tutorials/metadata/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/metadata/rep-seqs.qza',
'2018.4/tutorials/metadata/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/metadata/taxonomy.qza',
'2018.4/tutorials/metadata/unweighted_unifrac_pcoa_results.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/metadata/unweighted_unifrac_pcoa_results.qza',
'2018.4/tutorials/otu-clustering/seqs.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/otu-clustering/seqs.fna',
'2018.4/tutorials/otu-clustering/85_otus.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/otu-clustering/85_otus.qza',
'2018.4/tutorials/quality-control/qc-mock-3-expected.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/quality-control/qc-mock-3-expected.qza',
'2018.4/tutorials/quality-control/qc-mock-3-observed.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/quality-control/qc-mock-3-observed.qza',
'2018.4/tutorials/quality-control/query-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/quality-control/query-seqs.qza',
'2018.4/tutorials/quality-control/reference-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/quality-control/reference-seqs.qza',
'2018.4/tutorials/quality-control/query-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/quality-control/query-table.qza',
'2018.4/tutorials/read-joining/atacama-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/read-joining/atacama-seqs.qza',
'2018.4/tutorials/read-joining/fj-joined.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/read-joining/fj-joined.zip',
'2018.4/tutorials/sample-classifier/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/sample-classifier/atacama-table.qza',
'2018.4/tutorials/sample-classifier/moving-pictures-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/sample-classifier/moving-pictures-table.qza',
'2018.4/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2018.4/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/training-feature-classifiers/85_otus.fasta',
'2018.4/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.4/tutorials/training-feature-classifiers/rep-seqs.qza',
'2018.4/tutorials/longitudinal/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/e/2PACX-1vRsGNzFuEjTRjPIsd0fp7kbFjFGuxvgl102PCyQfSbHlqWhpZ2rgIqIRpzKsU-8qrMMnPeaY7zNQ6y4/pub?gid=1303657428&single=true&output=tsv',
'2018.4/tutorials/longitudinal/sample_metadata':
'https://docs.google.com/spreadsheets/d/1HQvpJ256UpxguXPpg96yYEnuzECyYlURwYUJKiH3rsk/edit?usp=sharing',
'2018.4/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1zhEQgfW8Ur8UUmMOfiY1ORSuSGfvnqLtM7SaM2F1--c/export?gid=0&format=tsv',
'2018.4/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1zhEQgfW8Ur8UUmMOfiY1ORSuSGfvnqLtM7SaM2F1--c/edit?usp=sharing',
'2018.4/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1uhUaEDguO4rLX92k1Lewx7mXQ6b-KEtwG6r0Glnlvfw/export?gid=0&format=tsv',
'2018.4/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/1uhUaEDguO4rLX92k1Lewx7mXQ6b-KEtwG6r0Glnlvfw/edit?usp=sharing',
'2018.4/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1ANTZvIt0hP0GmtH0M9Voj7Q8rl8NYDrGdC2ONIhhw9Y/export?gid=0&format=tsv',
'2018.4/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/1ANTZvIt0hP0GmtH0M9Voj7Q8rl8NYDrGdC2ONIhhw9Y/edit?usp=sharing',
# 2018.6
'2018.6/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/common/gg-13-8-99-515-806-nb-classifier.qza',
'2018.6/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/common/gg-13-8-99-nb-classifier.qza',
'2018.6/common/silva-132-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/common/silva-132-99-515-806-nb-classifier.qza',
'2018.6/common/silva-132-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/common/silva-132-99-nb-classifier.qza',
'2018.6/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2018.6/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/atacama-soils/10p/forward.fastq.gz',
'2018.6/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2018.6/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2018.6/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/atacama-soils/1p/forward.fastq.gz',
'2018.6/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2018.6/tutorials/chimera/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/chimera/atacama-table.qza',
'2018.6/tutorials/chimera/atacama-rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/chimera/atacama-rep-seqs.qza',
'2018.6/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/exporting/feature-table.qza',
'2018.6/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/exporting/unrooted-tree.qza',
'2018.6/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/filtering/distance-matrix.qza',
'2018.6/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/filtering/table.qza',
'2018.6/tutorials/filtering/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/filtering/taxonomy.qza',
'2018.6/tutorials/filtering/sequences.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/filtering/sequences.qza',
'2018.6/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2018.6/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2018.6/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2018.6/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2018.6/tutorials/gneiss/sample-metadata.tsv':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/gneiss/sample-metadata.tsv',
'2018.6/tutorials/gneiss/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/gneiss/table.qza',
'2018.6/tutorials/gneiss/taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/gneiss/taxa.qza',
'2018.6/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/importing/aligned-sequences.fna',
'2018.6/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2018.6/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2018.6/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/importing/feature-table-v100.biom',
'2018.6/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/importing/feature-table-v210.biom',
'2018.6/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/importing/pe-64-manifest',
'2018.6/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/importing/pe-64.zip',
'2018.6/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/importing/se-33-manifest',
'2018.6/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/importing/se-33.zip',
'2018.6/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/importing/sequences.fna',
'2018.6/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/importing/unrooted-tree.tre',
'2018.6/tutorials/longitudinal/ecam_table_taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/longitudinal/ecam_table_taxa.qza',
'2018.6/tutorials/longitudinal/ecam_shannon.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/longitudinal/ecam_shannon.qza',
'2018.6/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza',
'2018.6/tutorials/longitudinal/ecam_table_maturity.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/longitudinal/ecam_table_maturity.qza',
'2018.6/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2018.6/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2018.6/tutorials/metadata/faith_pd_vector.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/metadata/faith_pd_vector.qza',
'2018.6/tutorials/metadata/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/metadata/rep-seqs.qza',
'2018.6/tutorials/metadata/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/metadata/taxonomy.qza',
'2018.6/tutorials/metadata/unweighted_unifrac_pcoa_results.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/metadata/unweighted_unifrac_pcoa_results.qza',
'2018.6/tutorials/otu-clustering/seqs.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/otu-clustering/seqs.fna',
'2018.6/tutorials/otu-clustering/85_otus.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/otu-clustering/85_otus.qza',
'2018.6/tutorials/quality-control/qc-mock-3-expected.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/quality-control/qc-mock-3-expected.qza',
'2018.6/tutorials/quality-control/qc-mock-3-observed.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/quality-control/qc-mock-3-observed.qza',
'2018.6/tutorials/quality-control/query-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/quality-control/query-seqs.qza',
'2018.6/tutorials/quality-control/reference-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/quality-control/reference-seqs.qza',
'2018.6/tutorials/quality-control/query-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/quality-control/query-table.qza',
'2018.6/tutorials/read-joining/atacama-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/read-joining/atacama-seqs.qza',
'2018.6/tutorials/read-joining/fj-joined.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/read-joining/fj-joined.zip',
'2018.6/tutorials/sample-classifier/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/sample-classifier/atacama-table.qza',
'2018.6/tutorials/sample-classifier/moving-pictures-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/sample-classifier/moving-pictures-table.qza',
'2018.6/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2018.6/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/training-feature-classifiers/85_otus.fasta',
'2018.6/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.6/tutorials/training-feature-classifiers/rep-seqs.qza',
'2018.6/tutorials/longitudinal/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/e/2PACX-1vTwZzx0CiLtF5BEYQi13T_ucANB-0iDpmqMvxTK82o0WkdIfoBiEgRXWxKVZyGRMC1g0memz7vMLDU1/pub?gid=1303657428&single=true&output=tsv',
'2018.6/tutorials/longitudinal/sample_metadata':
'https://docs.google.com/spreadsheets/d/1vHKwsMKXj7IgzTmfmyDfexrd6Zee6AeYDr0ejInrRM8/edit?usp=sharing',
'2018.6/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1X1UCLvcoGYeyBCPBbeEk-OIvEpxO2puAgXcT8bVNGnA/export?gid=0&format=tsv',
'2018.6/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1X1UCLvcoGYeyBCPBbeEk-OIvEpxO2puAgXcT8bVNGnA/edit?usp=sharing',
'2018.6/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/14q7ScySUpJqUDHbbSLkPXSTHd337dYuaQxWMsZJzSVo/export?gid=0&format=tsv',
'2018.6/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/14q7ScySUpJqUDHbbSLkPXSTHd337dYuaQxWMsZJzSVo/edit?usp=sharing',
'2018.6/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1uvxvnRNWeVy9skq64nkpBccdSkFXPSneEV-a_0K8dzw/export?gid=0&format=tsv',
'2018.6/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/1uvxvnRNWeVy9skq64nkpBccdSkFXPSneEV-a_0K8dzw/edit?usp=sharing',
# 2018.8
'2018.8/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/common/gg-13-8-99-515-806-nb-classifier.qza',
'2018.8/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/common/gg-13-8-99-nb-classifier.qza',
'2018.8/common/silva-132-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/common/silva-132-99-515-806-nb-classifier.qza',
'2018.8/common/silva-132-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/common/silva-132-99-nb-classifier.qza',
'2018.8/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2018.8/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/atacama-soils/10p/forward.fastq.gz',
'2018.8/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2018.8/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2018.8/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/atacama-soils/1p/forward.fastq.gz',
'2018.8/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2018.8/tutorials/chimera/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/chimera/atacama-table.qza',
'2018.8/tutorials/chimera/atacama-rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/chimera/atacama-rep-seqs.qza',
'2018.8/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/exporting/feature-table.qza',
'2018.8/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/exporting/unrooted-tree.qza',
'2018.8/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/filtering/distance-matrix.qza',
'2018.8/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/filtering/table.qza',
'2018.8/tutorials/filtering/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/filtering/taxonomy.qza',
'2018.8/tutorials/filtering/sequences.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/filtering/sequences.qza',
'2018.8/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2018.8/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2018.8/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2018.8/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2018.8/tutorials/gneiss/sample-metadata.tsv':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/gneiss/sample-metadata.tsv',
'2018.8/tutorials/gneiss/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/gneiss/table.qza',
'2018.8/tutorials/gneiss/taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/gneiss/taxa.qza',
'2018.8/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/importing/aligned-sequences.fna',
'2018.8/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2018.8/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2018.8/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/importing/feature-table-v100.biom',
'2018.8/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/importing/feature-table-v210.biom',
'2018.8/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/importing/pe-64-manifest',
'2018.8/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/importing/pe-64.zip',
'2018.8/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/importing/se-33-manifest',
'2018.8/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/importing/se-33.zip',
'2018.8/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/importing/sequences.fna',
'2018.8/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/importing/unrooted-tree.tre',
'2018.8/tutorials/longitudinal/ecam_table_taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/longitudinal/ecam_table_taxa.qza',
'2018.8/tutorials/longitudinal/ecam_shannon.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/longitudinal/ecam_shannon.qza',
'2018.8/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza',
'2018.8/tutorials/longitudinal/ecam_table_maturity.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/longitudinal/ecam_table_maturity.qza',
'2018.8/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2018.8/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2018.8/tutorials/metadata/faith_pd_vector.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/metadata/faith_pd_vector.qza',
'2018.8/tutorials/metadata/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/metadata/rep-seqs.qza',
'2018.8/tutorials/metadata/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/metadata/taxonomy.qza',
'2018.8/tutorials/metadata/unweighted_unifrac_pcoa_results.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/metadata/unweighted_unifrac_pcoa_results.qza',
'2018.8/tutorials/otu-clustering/seqs.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/otu-clustering/seqs.fna',
'2018.8/tutorials/otu-clustering/85_otus.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/otu-clustering/85_otus.qza',
'2018.8/tutorials/quality-control/qc-mock-3-expected.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/quality-control/qc-mock-3-expected.qza',
'2018.8/tutorials/quality-control/qc-mock-3-observed.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/quality-control/qc-mock-3-observed.qza',
'2018.8/tutorials/quality-control/query-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/quality-control/query-seqs.qza',
'2018.8/tutorials/quality-control/reference-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/quality-control/reference-seqs.qza',
'2018.8/tutorials/quality-control/query-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/quality-control/query-table.qza',
'2018.8/tutorials/read-joining/atacama-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/read-joining/atacama-seqs.qza',
'2018.8/tutorials/read-joining/fj-joined.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/read-joining/fj-joined.zip',
'2018.8/tutorials/sample-classifier/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/sample-classifier/atacama-table.qza',
'2018.8/tutorials/sample-classifier/moving-pictures-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/sample-classifier/moving-pictures-table.qza',
'2018.8/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2018.8/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/training-feature-classifiers/85_otus.fasta',
'2018.8/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.8/tutorials/training-feature-classifiers/rep-seqs.qza',
'2018.8/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/1SEtU6raRGD4GDV74x04zhEHKGA1NcdX1Iv5btIVKQiA/edit?usp=sharing',
'2018.8/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1SEtU6raRGD4GDV74x04zhEHKGA1NcdX1Iv5btIVKQiA/export?gid=0&format=tsv',
'2018.8/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/1bHXutGx07HnYUGE1O4lFn9yItt6BEXQEZn276xqPid0/edit?usp=sharing',
'2018.8/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1bHXutGx07HnYUGE1O4lFn9yItt6BEXQEZn276xqPid0/export?gid=0&format=tsv',
'2018.8/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1vBulpb2WKJhjxZKk4qdlnP4GPfm-kIlJzN9f-YLgwTM/edit?usp=sharing',
'2018.8/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1vBulpb2WKJhjxZKk4qdlnP4GPfm-kIlJzN9f-YLgwTM/export?gid=0&format=tsv',
'2018.8/tutorials/longitudinal/sample_metadata':
'https://docs.google.com/spreadsheets/d/1rQ1Z0YDbS4OvqG_l_OhjeHzl_WdCzWSOZJHvkHCQlfA/edit?usp=sharing',
# This is the weird one, it uses the *new* docs sharing menu, via "File -> Publish to the Web" dialog
'2018.8/tutorials/longitudinal/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/e/2PACX-1vSrzFMBIBTdfu77rkB3_l1afvo9Wq-ITJ-TtXgoEcrSp86Ifv7lOTcB2NwPrIwyvIu569ofdZiZMTVO/pub?gid=1303657428&single=true&output=tsv',
# 2018.11
'2018.11/common/gg-13-8-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/common/gg-13-8-99-515-806-nb-classifier.qza',
'2018.11/common/gg-13-8-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/common/gg-13-8-99-nb-classifier.qza',
'2018.11/common/silva-132-99-515-806-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/common/silva-132-99-515-806-nb-classifier.qza',
'2018.11/common/silva-132-99-nb-classifier.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/common/silva-132-99-nb-classifier.qza',
'2018.11/tutorials/atacama-soils/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/atacama-soils/10p/barcodes.fastq.gz',
'2018.11/tutorials/atacama-soils/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/atacama-soils/10p/forward.fastq.gz',
'2018.11/tutorials/atacama-soils/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/atacama-soils/10p/reverse.fastq.gz',
'2018.11/tutorials/atacama-soils/1p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/atacama-soils/1p/barcodes.fastq.gz',
'2018.11/tutorials/atacama-soils/1p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/atacama-soils/1p/forward.fastq.gz',
'2018.11/tutorials/atacama-soils/1p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/atacama-soils/1p/reverse.fastq.gz',
'2018.11/tutorials/chimera/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/chimera/atacama-table.qza',
'2018.11/tutorials/chimera/atacama-rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/chimera/atacama-rep-seqs.qza',
'2018.11/tutorials/exporting/feature-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/exporting/feature-table.qza',
'2018.11/tutorials/exporting/unrooted-tree.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/exporting/unrooted-tree.qza',
'2018.11/tutorials/filtering/distance-matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/filtering/distance-matrix.qza',
'2018.11/tutorials/filtering/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/filtering/table.qza',
'2018.11/tutorials/filtering/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/filtering/taxonomy.qza',
'2018.11/tutorials/filtering/sequences.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/filtering/sequences.qza',
'2018.11/tutorials/fmt/fmt-tutorial-demux-1-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/fmt/fmt-tutorial-demux-1-10p.qza',
'2018.11/tutorials/fmt/fmt-tutorial-demux-1-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/fmt/fmt-tutorial-demux-1-1p.qza',
'2018.11/tutorials/fmt/fmt-tutorial-demux-2-10p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/fmt/fmt-tutorial-demux-2-10p.qza',
'2018.11/tutorials/fmt/fmt-tutorial-demux-2-1p.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/fmt/fmt-tutorial-demux-2-1p.qza',
'2018.11/tutorials/fmt-cdiff/1p/seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/fmt-cdiff/1p/sequences_testing.qza',
'2018.11/tutorials/fmt-cdiff/10p/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/fmt-cdiff/10p/barcodes.fastq.gz',
'2018.11/tutorials/fmt-cdiff/10p/forward.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/fmt-cdiff/10p/forward.fastq.gz',
'2018.11/tutorials/fmt-cdiff/10p/reverse.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/fmt-cdiff/10p/reverse.fastq.gz',
'2018.11/tutorials/gneiss/sample-metadata.tsv':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/gneiss/sample-metadata.tsv',
'2018.11/tutorials/gneiss/table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/gneiss/table.qza',
'2018.11/tutorials/gneiss/taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/gneiss/taxa.qza',
'2018.11/tutorials/importing/aligned-sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/importing/aligned-sequences.fna',
'2018.11/tutorials/importing/casava-18-paired-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/importing/casava-18-paired-end-demultiplexed.zip',
'2018.11/tutorials/importing/casava-18-single-end-demultiplexed.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/importing/casava-18-single-end-demultiplexed.zip',
'2018.11/tutorials/importing/feature-table-v100.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/importing/feature-table-v100.biom',
'2018.11/tutorials/importing/feature-table-v210.biom':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/importing/feature-table-v210.biom',
'2018.11/tutorials/importing/pe-64-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/importing/pe-64-manifest',
'2018.11/tutorials/importing/pe-64.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/importing/pe-64.zip',
'2018.11/tutorials/importing/se-33-manifest':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/importing/se-33-manifest',
'2018.11/tutorials/importing/se-33.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/importing/se-33.zip',
'2018.11/tutorials/importing/sequences.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/importing/sequences.fna',
'2018.11/tutorials/importing/unrooted-tree.tre':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/importing/unrooted-tree.tre',
'2018.11/tutorials/longitudinal/ecam_table_taxa.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/longitudinal/ecam_table_taxa.qza',
'2018.11/tutorials/longitudinal/ecam_shannon.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/longitudinal/ecam_shannon.qza',
'2018.11/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/longitudinal/unweighted_unifrac_distance_matrix.qza',
'2018.11/tutorials/longitudinal/ecam_table_maturity.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/longitudinal/ecam_table_maturity.qza',
'2018.11/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz',
'2018.11/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz',
'2018.11/tutorials/metadata/faith_pd_vector.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/metadata/faith_pd_vector.qza',
'2018.11/tutorials/metadata/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/metadata/rep-seqs.qza',
'2018.11/tutorials/metadata/taxonomy.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/metadata/taxonomy.qza',
'2018.11/tutorials/metadata/unweighted_unifrac_pcoa_results.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/metadata/unweighted_unifrac_pcoa_results.qza',
'2018.11/tutorials/otu-clustering/seqs.fna':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/otu-clustering/seqs.fna',
'2018.11/tutorials/otu-clustering/85_otus.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/otu-clustering/85_otus.qza',
'2018.11/tutorials/quality-control/qc-mock-3-expected.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/quality-control/qc-mock-3-expected.qza',
'2018.11/tutorials/quality-control/qc-mock-3-observed.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/quality-control/qc-mock-3-observed.qza',
'2018.11/tutorials/quality-control/query-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/quality-control/query-seqs.qza',
'2018.11/tutorials/quality-control/reference-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/quality-control/reference-seqs.qza',
'2018.11/tutorials/quality-control/query-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/quality-control/query-table.qza',
'2018.11/tutorials/read-joining/atacama-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/read-joining/atacama-seqs.qza',
'2018.11/tutorials/read-joining/fj-joined.zip':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/read-joining/fj-joined.zip',
'2018.11/tutorials/sample-classifier/atacama-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/sample-classifier/atacama-table.qza',
'2018.11/tutorials/sample-classifier/moving-pictures-table.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/sample-classifier/moving-pictures-table.qza',
'2018.11/tutorials/training-feature-classifiers/85_otu_taxonomy.txt':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/training-feature-classifiers/85_otu_taxonomy.txt',
'2018.11/tutorials/training-feature-classifiers/85_otus.fasta':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/training-feature-classifiers/85_otus.fasta',
'2018.11/tutorials/training-feature-classifiers/rep-seqs.qza':
'https://s3-us-west-2.amazonaws.com/qiime2-data/2018.11/tutorials/training-feature-classifiers/rep-seqs.qza',
'2018.11/tutorials/fmt/sample_metadata':
'https://docs.google.com/spreadsheets/d/1gDLqE7jFs2eoir0kcBq8o_4ZtnPJxUcE3BB8pr3DOzo/edit?usp=sharing',
'2018.11/tutorials/fmt/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1gDLqE7jFs2eoir0kcBq8o_4ZtnPJxUcE3BB8pr3DOzo/export?gid=0&format=tsv',
'2018.11/tutorials/moving-pictures/sample_metadata':
'https://docs.google.com/spreadsheets/d/1jxi0Gw-4pwDyQAjMntNdE80BhsJXeLgaaSOlqaZQw0A/edit?usp=sharing',
'2018.11/tutorials/moving-pictures/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1jxi0Gw-4pwDyQAjMntNdE80BhsJXeLgaaSOlqaZQw0A/export?gid=0&format=tsv',
'2018.11/tutorials/atacama-soils/sample_metadata':
'https://docs.google.com/spreadsheets/d/1nLWnqynh4D1ov63CuWLUi3ErooqA2UX7wjT_dSZhs0E/edit?usp=sharing',
'2018.11/tutorials/atacama-soils/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/1nLWnqynh4D1ov63CuWLUi3ErooqA2UX7wjT_dSZhs0E/export?gid=0&format=tsv',
# The following tutorials are the "weird" ones, they use the *new* docs sharing menu, via "File -> Publish to the Web" dialog for TSV export.
'2018.11/tutorials/longitudinal/sample_metadata':
'https://docs.google.com/spreadsheets/d/1tqVdNpz0ga8qXOfUSBdAxdhYLoN3JdrdlSB3PLPQyeo/edit?usp=sharing',
'2018.11/tutorials/longitudinal/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/e/2PACX-1vQFT3me-h8efuyGnOwCDQqFICOf8Iv167y_lseVXXSks_91r5fe6l9YTl7XAhTZke7UzVaoEhpFhyI2/pub?gid=1303657428&single=true&output=tsv',
'2018.11/tutorials/fmt-cdiff/sample_metadata':
'https://docs.google.com/spreadsheets/d/15ePvSpdfvzoFz5o9sfbqIfMx9AG4G4hdhu9D_Adb1vQ/edit?usp=sharing',
'2018.11/tutorials/fmt-cdiff/sample_metadata.tsv':
'https://docs.google.com/spreadsheets/d/e/2PACX-1vQP2uJnmbdKUxVV8RwpYCMT2-xXPmYcbzesb92zPUcsqtedmzJ6K5G1qhmnVR8_u75ERRw6t0dt-m3l/pub?gid=283132897&single=true&output=tsv',
}
| 80.65835 | 180 | 0.730811 | 23,890 | 158,413 | 4.822394 | 0.015823 | 0.065074 | 0.062731 | 0.090611 | 0.985626 | 0.97804 | 0.961304 | 0.924944 | 0.875294 | 0.834984 | 0 | 0.112167 | 0.08553 | 158,413 | 1,963 | 181 | 80.69944 | 0.68311 | 0.00606 | 0 | 0.017479 | 0 | 0.527013 | 0.878743 | 0.2879 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.168432 | 0 | 0.168432 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
92e089dedb45b52802162e9ba31c5cbca369f8fb | 26,552 | py | Python | billforward/apis/cybersourcetokens_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 2 | 2016-11-23T17:32:37.000Z | 2022-02-24T05:13:20.000Z | billforward/apis/cybersourcetokens_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | null | null | null | billforward/apis/cybersourcetokens_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 1 | 2016-12-30T20:02:48.000Z | 2016-12-30T20:02:48.000Z | # coding: utf-8
"""
BillForward REST API
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
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 __future__ import absolute_import
import sys
import os
import re
# python 2 and python 3 compatibility library
from six import iteritems
from ..configuration import Configuration
from ..api_client import ApiClient
class CybersourcetokensApi(object):
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
config = Configuration()
if api_client:
self.api_client = api_client
else:
if not config.api_client:
config.api_client = ApiClient()
self.api_client = config.api_client
def create_cybersource_token(self, cybersource_token, **kwargs):
"""
Create a cybersource-token.
{\"nickname\":\"Create a cybersource-token\",\"request\":\"createCybersourceTokenRequest.html\",\"response\":\"createCybersourceTokenResponse.html\"}
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_cybersource_token(cybersource_token, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param MutableBillingEntity cybersource_token: The cybersource-token object to be created. (required)
:return: CybersourceTokenPagedMetadata
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.create_cybersource_token_with_http_info(cybersource_token, **kwargs)
else:
(data) = self.create_cybersource_token_with_http_info(cybersource_token, **kwargs)
return data
def create_cybersource_token_with_http_info(self, cybersource_token, **kwargs):
"""
Create a cybersource-token.
{\"nickname\":\"Create a cybersource-token\",\"request\":\"createCybersourceTokenRequest.html\",\"response\":\"createCybersourceTokenResponse.html\"}
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_cybersource_token_with_http_info(cybersource_token, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param MutableBillingEntity cybersource_token: The cybersource-token object to be created. (required)
:return: CybersourceTokenPagedMetadata
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['cybersource_token']
all_params.append('callback')
all_params.append('_return_http_data_only')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_cybersource_token" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'cybersource_token' is set
if ('cybersource_token' not in params) or (params['cybersource_token'] is None):
raise ValueError("Missing the required parameter `cybersource_token` when calling `create_cybersource_token`")
resource_path = '/cybersource-tokens'.replace('{format}', 'json')
path_params = {}
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'cybersource_token' in params:
body_params = params['cybersource_token']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['text/xml', 'application/xml', 'application/json'])
if not header_params['Accept']:
del header_params['Accept']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='CybersourceTokenPagedMetadata',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'))
def get_cybersource_token_by_id(self, token_id, **kwargs):
"""
Returns a single cybersource-token, specified by the token-ID parameter.
{\"nickname\":\"NICKNAME\",\"response\":\"getCybersourceTokenByID.html\"}
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_cybersource_token_by_id(token_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str token_id: The unique sting ID of the cybersource token. (required)
:param list[str] organizations: A list of organization-IDs used to restrict the scope of API calls.
:return: CybersourceTokenPagedMetadata
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.get_cybersource_token_by_id_with_http_info(token_id, **kwargs)
else:
(data) = self.get_cybersource_token_by_id_with_http_info(token_id, **kwargs)
return data
def get_cybersource_token_by_id_with_http_info(self, token_id, **kwargs):
"""
Returns a single cybersource-token, specified by the token-ID parameter.
{\"nickname\":\"NICKNAME\",\"response\":\"getCybersourceTokenByID.html\"}
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_cybersource_token_by_id_with_http_info(token_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str token_id: The unique sting ID of the cybersource token. (required)
:param list[str] organizations: A list of organization-IDs used to restrict the scope of API calls.
:return: CybersourceTokenPagedMetadata
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['token_id', 'organizations']
all_params.append('callback')
all_params.append('_return_http_data_only')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_cybersource_token_by_id" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'token_id' is set
if ('token_id' not in params) or (params['token_id'] is None):
raise ValueError("Missing the required parameter `token_id` when calling `get_cybersource_token_by_id`")
resource_path = '/cybersource-tokens/{token-ID}'.replace('{format}', 'json')
path_params = {}
if 'token_id' in params:
path_params['token-ID'] = params['token_id']
query_params = {}
if 'organizations' in params:
query_params['organizations'] = params['organizations']
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
if not header_params['Accept']:
del header_params['Accept']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['text/plain'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='CybersourceTokenPagedMetadata',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'))
def get_cybersource_token_by_recurring_subscription_id(self, recurring_subscription_id, **kwargs):
"""
Returns a single cybersource-token, specified by the recurring-subscription-ID parameter.
{\"nickname\":\"NICKNAME\",\"response\":\"getCybersourceTokenByID.html\"}
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_cybersource_token_by_recurring_subscription_id(recurring_subscription_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str recurring_subscription_id: The recurring-subscription-info-subscription-ID of the cybersource token. (required)
:param list[str] organizations: A list of organization-IDs used to restrict the scope of API calls.
:return: CybersourceTokenPagedMetadata
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.get_cybersource_token_by_recurring_subscription_id_with_http_info(recurring_subscription_id, **kwargs)
else:
(data) = self.get_cybersource_token_by_recurring_subscription_id_with_http_info(recurring_subscription_id, **kwargs)
return data
def get_cybersource_token_by_recurring_subscription_id_with_http_info(self, recurring_subscription_id, **kwargs):
"""
Returns a single cybersource-token, specified by the recurring-subscription-ID parameter.
{\"nickname\":\"NICKNAME\",\"response\":\"getCybersourceTokenByID.html\"}
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_cybersource_token_by_recurring_subscription_id_with_http_info(recurring_subscription_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str recurring_subscription_id: The recurring-subscription-info-subscription-ID of the cybersource token. (required)
:param list[str] organizations: A list of organization-IDs used to restrict the scope of API calls.
:return: CybersourceTokenPagedMetadata
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['recurring_subscription_id', 'organizations']
all_params.append('callback')
all_params.append('_return_http_data_only')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_cybersource_token_by_recurring_subscription_id" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'recurring_subscription_id' is set
if ('recurring_subscription_id' not in params) or (params['recurring_subscription_id'] is None):
raise ValueError("Missing the required parameter `recurring_subscription_id` when calling `get_cybersource_token_by_recurring_subscription_id`")
resource_path = '/cybersource-tokens/recurring-subscription-info/{recurring-subscription-ID}'.replace('{format}', 'json')
path_params = {}
if 'recurring_subscription_id' in params:
path_params['recurring-subscription-ID'] = params['recurring_subscription_id']
query_params = {}
if 'organizations' in params:
query_params['organizations'] = params['organizations']
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
if not header_params['Accept']:
del header_params['Accept']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['text/plain'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='CybersourceTokenPagedMetadata',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'))
def retire_cybersource_token(self, token_id, organizations, **kwargs):
"""
Retires the cybersource token specified by the token-ID parameter.
{\"nickname\":\"NICKNAME\",\"response\":\"deleteCybersourceToken.html\"}
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.retire_cybersource_token(token_id, organizations, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str token_id: ID of the cybersource-token. (required)
:param list[str] organizations: A list of organization-IDs used to restrict the scope of API calls. (required)
:return: CybersourceTokenPagedMetadata
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.retire_cybersource_token_with_http_info(token_id, organizations, **kwargs)
else:
(data) = self.retire_cybersource_token_with_http_info(token_id, organizations, **kwargs)
return data
def retire_cybersource_token_with_http_info(self, token_id, organizations, **kwargs):
"""
Retires the cybersource token specified by the token-ID parameter.
{\"nickname\":\"NICKNAME\",\"response\":\"deleteCybersourceToken.html\"}
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.retire_cybersource_token_with_http_info(token_id, organizations, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str token_id: ID of the cybersource-token. (required)
:param list[str] organizations: A list of organization-IDs used to restrict the scope of API calls. (required)
:return: CybersourceTokenPagedMetadata
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['token_id', 'organizations']
all_params.append('callback')
all_params.append('_return_http_data_only')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method retire_cybersource_token" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'token_id' is set
if ('token_id' not in params) or (params['token_id'] is None):
raise ValueError("Missing the required parameter `token_id` when calling `retire_cybersource_token`")
# verify the required parameter 'organizations' is set
if ('organizations' not in params) or (params['organizations'] is None):
raise ValueError("Missing the required parameter `organizations` when calling `retire_cybersource_token`")
resource_path = '/cybersource-tokens/{token-ID}'.replace('{format}', 'json')
path_params = {}
if 'token_id' in params:
path_params['token-ID'] = params['token_id']
query_params = {}
if 'organizations' in params:
query_params['organizations'] = params['organizations']
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
if not header_params['Accept']:
del header_params['Accept']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['text/plain'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='CybersourceTokenPagedMetadata',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'))
def update_cybersource_token(self, cybersource_token, **kwargs):
"""
Update a cybersource-token.
{\"nickname\":\"Update a cybersource-token\",\"request\":\"updateCybersourceTokenRequest.html\",\"response\":\"updateCybersourceTokenResponse.html\"}
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.update_cybersource_token(cybersource_token, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param MutableBillingEntity cybersource_token: The cybersource-token object to be updated. (required)
:return: CybersourceTokenPagedMetadata
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.update_cybersource_token_with_http_info(cybersource_token, **kwargs)
else:
(data) = self.update_cybersource_token_with_http_info(cybersource_token, **kwargs)
return data
def update_cybersource_token_with_http_info(self, cybersource_token, **kwargs):
"""
Update a cybersource-token.
{\"nickname\":\"Update a cybersource-token\",\"request\":\"updateCybersourceTokenRequest.html\",\"response\":\"updateCybersourceTokenResponse.html\"}
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.update_cybersource_token_with_http_info(cybersource_token, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param MutableBillingEntity cybersource_token: The cybersource-token object to be updated. (required)
:return: CybersourceTokenPagedMetadata
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['cybersource_token']
all_params.append('callback')
all_params.append('_return_http_data_only')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method update_cybersource_token" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'cybersource_token' is set
if ('cybersource_token' not in params) or (params['cybersource_token'] is None):
raise ValueError("Missing the required parameter `cybersource_token` when calling `update_cybersource_token`")
resource_path = '/cybersource-tokens'.replace('{format}', 'json')
path_params = {}
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'cybersource_token' in params:
body_params = params['cybersource_token']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['text/xml', 'application/xml', 'application/json'])
if not header_params['Accept']:
del header_params['Accept']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='CybersourceTokenPagedMetadata',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'))
| 45.23339 | 157 | 0.60809 | 2,697 | 26,552 | 5.765666 | 0.082684 | 0.097749 | 0.039936 | 0.023151 | 0.919421 | 0.909325 | 0.898971 | 0.885723 | 0.880257 | 0.868617 | 0 | 0.000545 | 0.30864 | 26,552 | 586 | 158 | 45.31058 | 0.846544 | 0.384378 | 0 | 0.776952 | 1 | 0 | 0.189666 | 0.076015 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040892 | false | 0 | 0.026022 | 0 | 0.126394 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
92f69018505272edddd06f5d95902f1f4fc37178 | 25,112 | py | Python | w2/finterstellar/visualization.py | finterstellar/lecture | fb14fb1c6a842e2ee2f79b0225ac9f4d11c3ca47 | [
"MIT"
] | 2 | 2020-05-14T05:53:15.000Z | 2020-09-29T03:45:59.000Z | w2/finterstellar/visualization.py | finterstellar/lecture | fb14fb1c6a842e2ee2f79b0225ac9f4d11c3ca47 | [
"MIT"
] | null | null | null | w2/finterstellar/visualization.py | finterstellar/lecture | fb14fb1c6a842e2ee2f79b0225ac9f4d11c3ca47 | [
"MIT"
] | 6 | 2020-03-01T13:50:23.000Z | 2022-03-29T05:47:28.000Z | import pandas as pd
import datetime as dt
import numpy as np
import matplotlib.pyplot as plt
import finterstellar as fs
pd.plotting.deregister_matplotlib_converters()
font = 'NanumSquareRound, AppleGothic, Malgun Gothic, DejaVu Sans'
class Visualize:
today = '(' + pd.to_datetime('today').date().strftime("%y%m%d") + ') '
today_str = pd.to_datetime('today').date().strftime("%Y%m%d")
def __init__(self):
plt.style.use('fivethirtyeight')
plt.rcParams['font.family'] = font
plt.rcParams['axes.unicode_minus'] = False
plt.rcParams['axes.grid'] = True
plt.rcParams['lines.linewidth'] = 1.5
plt.rcParams['grid.linestyle'] = '--'
plt.rcParams['grid.alpha'] = 0.7
plt.rcParams['lines.antialiased'] = True
plt.rcParams['figure.figsize'] = [15.0, 7.0]
plt.rcParams['savefig.dpi'] = 96
plt.rcParams['font.size'] = 12
plt.rcParams['legend.fontsize'] = 'medium'
plt.rcParams['figure.titlesize'] = 'medium'
def price_view(self, df, b_date, cd, size=(15,7), make_file=False):
cds = fs.str_list(cd)
fig, ax = plt.subplots(figsize=size)
x = df.loc[b_date:].index
for c in cds:
plt.plot(x, df.loc[b_date:, c], label=c)
plt.legend()
if make_file:
plt.savefig('./image/'+self.today+cds[0]+' price_view.png', bbox_inches='tight')
def index_view(self, df, b_date, cd, size=(15,7), make_file=False):
if isinstance(df.index[0], dt.date):
b_date = fs.check_base_date(df, b_date)
fig, ax = plt.subplots(figsize=size)
x = df.loc[b_date:].index
cds = fs.str_list(cd)
for c in cds:
plt.plot(x, df.loc[b_date:, c] / df.loc[b_date, c] * 100, label=c)
plt.legend()
if make_file:
plt.savefig('./image/'+self.today+cds[0]+' index_view.png', bbox_inches='tight')
def complex_view(self, df, b_date, cd_a, cd_b, size=(15,7), make_file=False):
cds_a = fs.str_list(cd_a)
cds_b = fs.str_list(cd_b)
fig, ax1 = plt.subplots(figsize=size)
x = df.loc[b_date:].index
i = 1
for c in cds_a:
if i==1:
ax1.plot(x, df.loc[b_date:, c], color='C'+str(i), lw=3, label=c)
else:
ax1.plot(x, df.loc[b_date:, c], color='C'+str(i), label=c)
i += 1
if cds_b:
ax2 = ax1.twinx()
i = 6
for c in cds_b:
ax2.fill_between(x, df.loc[b_date:, c], 0, facecolor='C'+str(i), alpha=0.3)
ax1.plot(np.nan, color='C'+str(i), label=c)
i += 1
ax1.legend(loc=0)
if make_file:
plt.savefig('./image/'+self.today+cds_a[0]+' complex_view.png', bbox_inches='tight')
def multi_line_view(self, df, b_date, cd_a, cd_b, size=(15,7), make_file=False):
cds_a = fs.str_list(cd_a)
cds_b = fs.str_list(cd_b)
fig, ax1 = plt.subplots(figsize=size)
x = df.loc[b_date:].index
i = 1
for c in cds_a:
if i==1:
ax1.plot(x, df.loc[b_date:, c], color='C'+str(i), lw=3, label=c)
pass
else:
ax1.plot(x, df.loc[b_date:, c], color='C'+str(i), label=c)
i += 1
if cds_b:
ax2 = ax1.twinx()
i = 6
for c in cds_b:
ax2.plot(x, df.loc[b_date:, c], color='C'+str(i), label=c, alpha=0.7)
ax1.plot(np.nan, color='C'+str(i), label=c)
i += 1
ax1.legend(loc=0)
if make_file:
plt.savefig('./image/'+self.today+cds_a[0]+' multi_line_view.png', bbox_inches='tight')
def position_view(self, df, cd, size=(15,1), make_file=False, file_name=''):
cds = fs.str_list(cd)
fig, ax = plt.subplots(figsize=size)
x = df.index
for c in cds:
df['ps'+c] = 0
df.loc[ df['p '+c] == 'll', ['ps'+c] ] = 1
df.loc[ df['p '+c] == 'sl', ['ps'+c] ] = 1
df.loc[ df['p '+c] == 'zl', ['ps'+c] ] = 1
df.loc[ df['p '+c] == 'ls', ['ps'+c] ] = -1
df.loc[ df['p '+c] == 'ss', ['ps'+c] ] = -1
df.loc[ df['p '+c] == 'zs', ['ps'+c] ] = -1
plt.fill_between(x, df['ps'+c], 0, label=c)
plt.yticks([-1, 0, 1], ["Short", "Zero", "Long"])
plt.legend()
if make_file:
f_name = file_name+'_position_view.png'
plt.savefig('./image/'+f_name, bbox_inches='tight')
def position_view_bar(self, df, cd, size=(15,1), make_file=False):
cds = fs.str_list(cd)
fig, ax = plt.subplots(figsize=size)
x = df.index
x_ticks = self.time_serial(df)
plt.xticks(x_ticks[0], x_ticks[1])
plt.autoscale(True, axis='x')
for c in cds:
df['ps'+c] = 0
df.loc[ df['p '+c] == 'll', ['ps'+c] ] = 1
df.loc[ df['p '+c] == 'sl', ['ps'+c] ] = 1
df.loc[ df['p '+c] == 'zl', ['ps'+c] ] = 1
df.loc[ df['p '+c] == 'ls', ['ps'+c] ] = -1
df.loc[ df['p '+c] == 'ss', ['ps'+c] ] = -1
df.loc[ df['p '+c] == 'zs', ['ps'+c] ] = -1
plt.bar(range(x.size), df['ps'+c], width=1, label=c)
plt.yticks([-1, 0, 1], ["Short", "Zero", "Long"])
plt.legend()
if make_file:
plt.savefig('./image/'+self.today+cds[0]+' position_view.png', bbox_inches='tight')
def pair_trend_index_view(self, df, trd, cd, size=(15,7), make_file=False, file_name=''):
fig, ax1 = plt.subplots(figsize=size)
x = df.index
ax1.fill_between(x, df[cd[1]+' expected']*(1+trd), df[cd[1]+' expected']*(1-trd), facecolor='sienna', alpha=0.2)
ax1.plot(x, df[cd[1]+' expected'], 'sienna', linestyle='--')
ax1.plot(x, df[cd[1]], 'C1', lw=3)
ax2 = ax1.twinx()
ax2.plot(x, df[cd[0]], 'C0', alpha=0.7)
ax1.plot(np.nan, 'C0', label=cd[0])
ax1.legend(loc=0)
if make_file:
f_name = file_name+'_pair_trend_view.png'
plt.savefig('./image/'+f_name, bbox_inches='tight')
return()
def pair_trend_price_view(self, df, trd, cd, size=(15,7), make_file=False):
fig, ax = plt.subplots(figsize=size)
x = df.index
plt.fill_between(x, df[cd[1]+' expected']*(1+trd), df[cd[1]+' expected']*(1-trd), facecolor='sienna', alpha=0.2)
plt.plot(x, df[cd[1]+' expected'], 'sienna', linestyle='--')
plt.plot(x, df[cd[0]], 'C0')
plt.plot(x, df[cd[1]], 'C1', lw=3)
plt.legend()
if make_file:
plt.savefig('./image/'+self.today+cd[0]+' pair_trend_price_view.png', bbox_inches='tight')
def BB_trend_view(self, df, cd, size=(15,7), make_file=False):
cds = fs.str_list(cd)
fig, ax = plt.subplots(figsize=size)
x = df.index
plt.fill_between(x, df['lb'], df['ub'], facecolor='sienna', alpha=0.2)
plt.plot(x, df['center'], color='sienna', linestyle='--', label='MA')
plt.plot(x, df[cds[0]], color='C0', linestyle='-', lw=3)
plt.legend()
if make_file:
plt.savefig('./image/'+self.today+cds[0]+' bb_trend_view.png', bbox_inches='tight')
def futures_basis_view(self, df, threshold, cd, size=(15,7), make_file=False):
cds = fs.str_list(cd)
fig, ax = plt.subplots(figsize=size)
x = df.index
plt.autoscale(True, axis='both')
plt.fill_between(x, df[cds[0]], df[cds[0]]+df['basis'], facecolor='sienna', alpha=0.2)
plt.plot(x, df[cds[0]], 'sienna', linestyle='--')
plt.plot(x, df[cds[1]], 'C1', lw=3)
plt.legend()
if make_file:
plt.savefig('./image/'+self.today+cds[0]+' futures_basis_view.png', bbox_inches='tight')
def value_at_expiry_view(self, x, make_file=False, size=(7,7), **y):
fig, ax = plt.subplots(figsize=size)
plt.axhline(y=0, color = 'k', linewidth=1) # x축
s = pd.Series(0 for _ in range(len(x)))
if len(y) > 1:
for key, value in y.items():
plt.plot(x, value, linestyle='--', linewidth=1, label=key)
s = s + pd.Series(value)
plt.plot(x, s, linewidth=3, color='red', label='Synthetic')
else:
for key, value in y.items():
plt.plot(x, value, linewidth=3, color='red', label=key)
step = ( x.max() - x.min() + 1 ) / 4
plt.yticks(np.arange(0-step*2, 0+step*3, step))
plt.ylim(0-step*2, 0+step*2)
plt.legend()
if make_file:
plt.savefig('./image/'+self.today+' value_at_expiry_view.png', bbox_inches='tight')
def square_one_to_one_view(self, x, make_file=False, size=(7,7), **y):
fig, ax = plt.subplots(figsize=size)
plt.axhline(y=0, color = 'k', linewidth=1) # x축
s = pd.Series(0 for _ in range(len(x)))
if len(y) > 1:
for key, value in y.items():
plt.plot(x, value, linestyle='--', linewidth=1, label=key)
s = s + pd.Series(value)
plt.plot(x, s, linewidth=3, color='red', label='Synthetic')
else:
for key, value in y.items():
plt.plot(x, value, linewidth=3, color='red', label=key)
step = ( x.max() - x.min() + 1 ) / 4
plt.yticks(np.arange(0-step*2, 0+step*3, step))
plt.ylim(0-step*2, 0+step*2)
plt.legend()
if make_file:
plt.savefig('./image/'+self.today+' square_one_to_one_view.png', bbox_inches='tight')
def square_free_plot_view(self, x, make_file=False, size=(7,7), **y):
fig, ax = plt.subplots(figsize=size)
plt.axhline(y=0, color = 'k', linewidth=1) # x축
s = pd.Series(0 for _ in range(len(x)))
if len(y) > 1:
for key, value in y.items():
plt.plot(x, value, linestyle='--', linewidth=1, label=key)
s = s + pd.Series(value)
plt.plot(x, s, linewidth=3, color='red', label='Synthetic')
else:
for key, value in y.items():
plt.plot(x, value, linewidth=3, color='red', label=key)
plt.legend()
if make_file:
plt.savefig('./image/'+Visualize.today+' square_free_plot_view.png', bbox_inches='tight')
def square_scatter_view(self, x, y, make_file=False, size=(7,7)):
fig, ax = plt.subplots(figsize=size)
plt.axhline(y=0, color = 'k', linewidth=1) # x축
plt.scatter(x, y, linewidth=3, color='red')
step = ( x.max() - x.min() + 1 ) / 4
plt.legend()
if make_file:
plt.savefig('./image/'+Visualize.today+' square_free_plot_view.png', bbox_inches='tight')
def time_serial(self, df):
chart = pd.DataFrame()
chart = df.copy()
chart.reset_index(inplace=True)
sequence = []
xlabels = []
if isinstance(chart.iloc[0, 0], dt.date):
first = chart.iloc[0, 0]
last = chart.iloc[-1, 0]
delta = last - first
if delta.days >= 730:
time_series = pd.date_range(first, last, freq='YS')
elif delta.days >= 365:
time_series = pd.date_range(first, last, freq='QS')
elif delta.days >= 180:
time_series = pd.date_range(first, last, freq='2MS')
elif delta.days >= 90:
time_series = pd.date_range(first, last, freq='MS')
elif delta.days >= 60:
time_series = pd.date_range(first, last, freq='SMS')
elif delta.days >= 30:
time_series = pd.date_range(first, last, freq='5B')
elif delta.days >= 10:
time_series = pd.date_range(first, last, freq='2B')
elif delta.days >= 5:
time_series = pd.date_range(first, last, freq='D')
else:
time_series = chart.iloc[:, 0]
sequence.append(first)
if delta.days >= 180:
xlabels.append(first.strftime('%y.%m.%d'))
else:
xlabels.append(first.strftime('%m.%d'))
for d in time_series:
d = fs.check_base_date(df, d)
s = chart[chart.iloc[:, 0]==d].iloc[0].tolist()
sequence.append(s[0])
l = d.strftime('%y.%m.%d')
if delta.days >= 180:
l = d.strftime('%y.%m.%d')
else:
l = d.strftime('%m.%d')
xlabels.append(l)
sequence.append(last)
if delta.days >= 180:
xlabels.append(last.strftime('%y.%m.%d'))
else:
xlabels.append(last.strftime('%m.%d'))
if sequence[0] == sequence[1]:
del sequence[0]
del xlabels[0]
if sequence[-1] == sequence[-2]:
del sequence[-1]
del xlabels[-1]
return(sequence, xlabels)
'''
intraday charting
'''
class VisualizeIntraday:
today = '(' + pd.to_datetime('today').date().strftime("%y%m%d") + ') '
def __init__(self):
plt.style.use('fivethirtyeight')
plt.rcParams['font.family'] = font
plt.rcParams['axes.unicode_minus'] = False
plt.rcParams['axes.grid'] = True
plt.rcParams['lines.linewidth'] = 1.5
plt.rcParams['grid.linestyle'] = '--'
plt.rcParams['grid.alpha'] = 0.7
plt.rcParams['lines.antialiased'] = True
plt.rcParams['figure.figsize'] = [15.0, 7.0]
plt.rcParams['savefig.dpi'] = 96
plt.rcParams['font.size'] = 12
plt.rcParams['legend.fontsize'] = 'medium'
plt.rcParams['figure.titlesize'] = 'medium'
def price_view(self, df, b_date, s_cd, size=(15,7), make_file=False):
cds = fs.str_list(s_cd)
fig, ax = plt.subplots(figsize=size)
x = df.loc[b_date:].index
plt.autoscale(True, axis='both')
for c in cds:
plt.plot(x, df.loc[b_date:, c], label=c)
x_length = len(x)
jump = int( x_length / 10 )
xs = list()
for i in range(10):
xs.append(x[jump*i])
xs.append(x[-1])
plt.xticks(np.arange(0, x_length+jump, jump), xs, rotation=45)
plt.legend()
if make_file:
plt.savefig('./image/'+VisualizeIntraday.today+cds[0]+' price_view.png', bbox_inches='tight')
def index_view(self, df, b_date, s_cd, size=(15,7), make_file=False):
fig, ax = plt.subplots(figsize=size)
x = df.loc[b_date:].index
plt.autoscale(True, axis='both')
cds = fs.str_list(s_cd)
for c in cds:
plt.plot(x, df.loc[b_date:, c] / df.loc[b_date, c] * 100, label=c)
x_length = len(x)
jump = int( x_length / 10 )
xs = list()
for i in range(10):
xs.append(x[jump*i])
xs.append(x[-1])
plt.xticks(np.arange(0, x_length+jump, jump), xs, rotation=45)
plt.legend()
if make_file:
plt.savefig('./image/'+Visualize.today+s_cd[0]+' index_view.png', bbox_inches='tight')
def complex_view(self, df, b_date, cd_set_a, cd_set_b=[], size=(15,7), make_file=False):
cds_a = fs.str_list(cd_set_a)
cds_b = fs.str_list(cd_set_b)
fig, ax1 = plt.subplots(figsize=size)
x = df.loc[b_date:].index
plt.autoscale(True, axis='both')
i = 1
for c in cds_a:
if i==1:
ax1.plot(x, df.loc[b_date:, c], color='C'+str(i), lw=3, label=c)
else:
ax1.plot(x, df.loc[b_date:, c], color='C'+str(i), label=c)
i += 1
if cds_b:
ax2 = ax1.twinx()
i = 6
for c in cds_b:
ax2.fill_between(x, df.loc[b_date:, c], 0, facecolor='C'+str(i), alpha=0.3)
ax1.plot(np.nan, color='C'+str(i), label=c)
i += 1
x_length = len(x)
jump = int( x_length / 10 )
xs = list()
for i in range(10):
xs.append(x[jump*i])
xs.append(x[-1])
ax1.set_xticks(np.arange(0, x_length+jump, jump))
ax1.set_xticklabels(xs, rotation=45)
ax2.set_xticks(np.arange(0, x_length+jump, jump))
ax2.set_xticklabels(xs, rotation=45)
ax1.legend(loc=0)
if make_file:
plt.savefig('./image/'+Visualize.today+cds_a[0]+' complex_view.png', bbox_inches='tight')
def multi_line_view(self, df, b_date, cd_set_a, cd_set_b=[], size=(15,7), make_file=False):
cds_a = fs.str_list(cd_set_a)
cds_b = fs.str_list(cd_set_b)
fig, ax1 = plt.subplots(figsize=size)
x = df.loc[b_date:].index
plt.autoscale(True, axis='both')
i = 1
for c in cds_a:
if i==1:
ax1.plot(x, df.loc[b_date:, c], color='C'+str(i), lw=3, label=c)
pass
else:
ax1.plot(x, df.loc[b_date:, c], color='C'+str(i), label=c)
i += 1
if cds_b:
ax2 = ax1.twinx()
i = 6
for c in cds_b:
ax2.plot(x, df.loc[b_date:, c], color='C'+str(i), label=c, alpha=0.7)
ax1.plot(np.nan, color='C'+str(i), label=c)
i += 1
x_length = len(x)
jump = int( x_length / 10 )
xs = list()
for i in range(10):
xs.append(x[jump*i])
xs.append(x[-1])
ax1.set_xticks(np.arange(0, x_length+jump, jump))
ax1.set_xticklabels(xs, rotation=45)
ax2.set_xticks(np.arange(0, x_length+jump, jump))
ax2.set_xticklabels(xs, rotation=45)
ax1.legend(loc=0)
if make_file:
plt.savefig('./image/'+Visualize.today+cds_a[0]+' multi_line_view.png', bbox_inches='tight')
def position_view(self, df, s_cd, size=(15,1), make_file=False):
cds = fs.str_list(s_cd)
fig, ax = plt.subplots(figsize=size)
x = df.index
for c in cds:
df['ps'+c] = 0
df.loc[ df['p '+c] == 'll', ['ps'+c] ] = 1
df.loc[ df['p '+c] == 'sl', ['ps'+c] ] = 1
df.loc[ df['p '+c] == 'zl', ['ps'+c] ] = 1
df.loc[ df['p '+c] == 'ls', ['ps'+c] ] = -1
df.loc[ df['p '+c] == 'ss', ['ps'+c] ] = -1
df.loc[ df['p '+c] == 'zs', ['ps'+c] ] = -1
plt.fill_between(x, df['ps'+c], 0, label=c)
plt.yticks([-1, 0, 1], ["Short", "Zero", "Long"])
x_length = len(x)
jump = int( x_length / 10 )
xs = list()
for i in range(10):
xs.append(x[jump*i])
xs.append(x[-1])
plt.xticks(np.arange(0, x_length+jump, jump), xs, rotation=45)
plt.legend()
if make_file:
plt.savefig('./image/'+VisualizeIntraday.today+cds[0]+' position_view.png', bbox_inches='tight')
def pair_trend_price_view(self, df, thd, s_cd, make_file=False, size=(15,7)):
fig, ax = plt.subplots(figsize=size)
x = df.index
plt.fill_between(x, df[s_cd[1]+' expected']*(1+thd), df[s_cd[1]+' expected']*(1-thd), facecolor='sienna', alpha=0.2)
plt.plot(x, df[s_cd[1]+' expected'], 'sienna', linestyle='--')
plt.plot(x, df[s_cd[0]], 'C0')
plt.plot(x, df[s_cd[1]], 'C1', lw=3)
plt.legend()
if make_file:
plt.savefig('./image/'+VisualizeIntraday.today+s_cd[0]+' pairs_trend_price_view.png', bbox_inches='tight')
def pair_trend_index_view(self, df, thd, s_cd, make_file=False, size=(15,7)):
fig, ax1 = plt.subplots(figsize=size)
x = df.index
ax1.fill_between(x, df[s_cd[1]+' expected']*(1+thd), df[s_cd[1]+' expected']*(1-thd), facecolor='sienna', alpha=0.2)
ax1.plot(x, df[s_cd[1]+' expected'], 'sienna', linestyle='--')
ax1.plot(x, df[s_cd[1]], 'C1', lw=3)
ax2 = ax1.twinx()
ax2.plot(x, df[s_cd[0]], 'C0', alpha=0.7)
ax1.plot(np.nan, 'C0', label=s_cd[0])
x_length = len(x)
jump = int( x_length / 10 )
xs = list()
for i in range(10):
xs.append(x[jump*i])
xs.append(x[-1])
ax1.set_xticks(np.arange(0, x_length+jump, jump))
ax1.set_xticklabels(xs, rotation=45)
ax2.set_xticks(np.arange(0, x_length+jump, jump))
ax2.set_xticklabels(xs, rotation=45)
ax1.legend(loc=0)
if make_file:
plt.savefig('./image/'+VisualizeIntraday.today+s_cd[0]+' pairs_trend_index_view.png', bbox_inches='tight')
def BB_trend_view(self, sample, sigma, s_cd, make_file=False, size=(15,7)):
cds = fs.str_list(s_cd)
fig, ax = plt.subplots(figsize=size)
x = sample.index
plt.fill_between(x, sample['lb'], sample['ub'], facecolor='sienna', alpha=0.2)
plt.plot(x, sample['center'], color='sienna', linestyle='--', label='MA')
plt.plot(x, sample[cds[0]], color='C0', linestyle='-', lw=3)
x_length = len(x)
jump = int( x_length / 10 )
xs = list()
for i in range(10):
xs.append(x[jump*i])
xs.append(x[-1])
plt.xticks(np.arange(0, x_length+jump, jump), xs, rotation=45)
plt.legend()
if make_file:
plt.savefig('./image/'+VisualizeIntraday.today+cds[0]+' bb_trend_view.png', bbox_inches='tight')
def futures_basis_view(self, df, threshold, s_cd, make_file=False, size=(15,7)):
cds = fs.str_list(s_cd)
fig, ax = plt.subplots(figsize=size)
x = df.index
plt.fill_between(x, df[cds[0]], df[cds[0]]+df['basis'], facecolor='sienna', alpha=0.2)
plt.plot(x, df[cds[0]], 'sienna', linestyle='--')
plt.plot(x, df[cds[1]], 'C1', lw=3)
x_length = len(x)
jump = int( x_length / 10 )
xs = list()
for i in range(10):
xs.append(x[jump*i])
xs.append(x[-1])
plt.xticks(np.arange(0, x_length+jump, jump), xs, rotation=45)
plt.legend()
if make_file:
plt.savefig('./image/'+VisualizeIntraday.today+cds[0]+' futures_basis_view.png', bbox_inches='tight')
class Visualize3D():
from mpl_toolkits.mplot3d import Axes3D
from matplotlib import cm
def __init__(self):
plt.style.use('fivethirtyeight')
plt.rcParams['font.family'] = font
plt.rcParams['axes.unicode_minus'] = False
plt.rcParams['axes.grid'] = True
plt.rcParams['lines.linewidth'] = 1.5
plt.rcParams['grid.linestyle'] = '--'
plt.rcParams['grid.alpha'] = 0.7
plt.rcParams['lines.antialiased'] = True
plt.rcParams['figure.figsize'] = [15.0, 7.0]
plt.rcParams['savefig.dpi'] = 96
plt.rcParams['font.size'] = 12
plt.rcParams['legend.fontsize'] = 'medium'
plt.rcParams['figure.titlesize'] = 'medium'
def surface_view(self, size=(10, 6), **points):
labels = []
values = []
for key, value in points.items():
labels.append(key)
values.append(value)
try:
fig = plt.figure(figsize=size)
ax = fig.gca(projection='3d')
surf = ax.plot_surface(values[0], values[1], values[2], cmap=self.cm.summer, linewidth=1, alpha=0.8)
ax.set_xlabel(labels[0])
ax.set_ylabel(labels[1])
ax.set_zlabel(labels[2])
fig.colorbar(surf, shrink=0.5, aspect=5)
except Exception as e:
print('x, y, z 각 축 입력값의 개수가 일치해야 합니다.')
print(e)
| 34.352941 | 124 | 0.494704 | 3,505 | 25,112 | 3.42796 | 0.075321 | 0.015231 | 0.018643 | 0.02164 | 0.86933 | 0.860341 | 0.847524 | 0.825968 | 0.800333 | 0.769455 | 0 | 0.032074 | 0.338245 | 25,112 | 730 | 125 | 34.4 | 0.690938 | 0.000438 | 0 | 0.709677 | 0 | 0 | 0.082459 | 0.008816 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053131 | false | 0.003795 | 0.013283 | 0 | 0.077799 | 0.003795 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
1325e4f5ccc025516c864f5c9b04e0172a9ff31b | 828 | py | Python | checkov/terraform/checks/resource/__init__.py | peaudecastor/checkov | a4804b61c1b1390b7abd44ab53285fcbc3e7e80b | [
"Apache-2.0"
] | null | null | null | checkov/terraform/checks/resource/__init__.py | peaudecastor/checkov | a4804b61c1b1390b7abd44ab53285fcbc3e7e80b | [
"Apache-2.0"
] | null | null | null | checkov/terraform/checks/resource/__init__.py | peaudecastor/checkov | a4804b61c1b1390b7abd44ab53285fcbc3e7e80b | [
"Apache-2.0"
] | null | null | null | from checkov.terraform.checks.resource.aws import * # noqa
from checkov.terraform.checks.resource.gcp import * # noqa
from checkov.terraform.checks.resource.azure import * # noqa
from checkov.terraform.checks.resource.github import * # noqa
from checkov.terraform.checks.resource.gitlab import * # noqa
from checkov.terraform.checks.resource.linode import * # noqa
from checkov.terraform.checks.resource.oci import * # noqa
from checkov.terraform.checks.resource.openstack import * # noqa
from checkov.terraform.checks.resource.panos import * # noqa
from checkov.terraform.checks.resource.digitalocean import * # noqa
from checkov.terraform.checks.resource.alicloud import * # noqa
from checkov.terraform.checks.resource.kubernetes import * # noqa
from checkov.terraform.checks.resource.yandexcloud import * # noqa
| 59.142857 | 68 | 0.795894 | 104 | 828 | 6.336538 | 0.192308 | 0.216995 | 0.394537 | 0.512898 | 0.852807 | 0.801214 | 0.801214 | 0 | 0 | 0 | 0 | 0 | 0.109903 | 828 | 13 | 69 | 63.692308 | 0.894166 | 0.077295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
1334c4cb2889e00a4cd06e68402069ca3b0e3864 | 118,046 | py | Python | sdks/python/appcenter_sdk/api/build_api.py | Brantone/appcenter-sdks | eeb063ecf79908b6e341fb00196d2cd9dc8f3262 | [
"MIT"
] | null | null | null | sdks/python/appcenter_sdk/api/build_api.py | Brantone/appcenter-sdks | eeb063ecf79908b6e341fb00196d2cd9dc8f3262 | [
"MIT"
] | 6 | 2019-10-23T06:38:53.000Z | 2022-01-22T07:57:58.000Z | sdks/python/appcenter_sdk/api/build_api.py | Brantone/appcenter-sdks | eeb063ecf79908b6e341fb00196d2cd9dc8f3262 | [
"MIT"
] | 2 | 2019-10-23T06:31:05.000Z | 2021-08-21T17:32:47.000Z | # coding: utf-8
"""
App Center Client
Microsoft Visual Studio App Center API # noqa: E501
OpenAPI spec version: preview
Contact: benedetto.abbenanti@gmail.com
Project Repository: https://github.com/b3nab/appcenter-sdks
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from appcenter_sdk.api_client import ApiClient
class buildApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def builds_webhook(self, **kwargs): # noqa: E501
"""builds_webhook # noqa: E501
Public webhook sink # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_webhook(async=True)
>>> result = thread.get()
:param async bool
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.builds_webhook_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.builds_webhook_with_http_info(**kwargs) # noqa: E501
return data
def builds_webhook_with_http_info(self, **kwargs): # noqa: E501
"""builds_webhook # noqa: E501
Public webhook sink # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_webhook_with_http_info(async=True)
>>> result = thread.get()
:param async bool
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method builds_webhook" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = [] # noqa: E501
return self.api_client.call_api(
'/v0.1/public/hooks', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ValidationErrorResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def builds_listXcodeVersions(self, owner_name, app_name, **kwargs): # noqa: E501
"""builds_listXcodeVersions # noqa: E501
Gets the Xcode versions available to this app # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_listXcodeVersions(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.builds_listXcodeVersions_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.builds_listXcodeVersions_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
return data
def builds_listXcodeVersions_with_http_info(self, owner_name, app_name, **kwargs): # noqa: E501
"""builds_listXcodeVersions # noqa: E501
Gets the Xcode versions available to this app # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_listXcodeVersions_with_http_info(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method builds_listXcodeVersions" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `builds_listXcodeVersions`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `builds_listXcodeVersions`") # noqa: E501
collection_formats = {}
path_params = {}
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/xcode_versions', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ValidationErrorResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def builds_listXamarinSDKBundles(self, owner_name, app_name, **kwargs): # noqa: E501
"""builds_listXamarinSDKBundles # noqa: E501
Gets the Xamarin SDK bundles available to this app # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_listXamarinSDKBundles(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.builds_listXamarinSDKBundles_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.builds_listXamarinSDKBundles_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
return data
def builds_listXamarinSDKBundles_with_http_info(self, owner_name, app_name, **kwargs): # noqa: E501
"""builds_listXamarinSDKBundles # noqa: E501
Gets the Xamarin SDK bundles available to this app # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_listXamarinSDKBundles_with_http_info(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method builds_listXamarinSDKBundles" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `builds_listXamarinSDKBundles`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `builds_listXamarinSDKBundles`") # noqa: E501
collection_formats = {}
path_params = {}
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/xamarin_sdk_bundles', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ValidationErrorResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def repositories_list(self, source_host, owner_name, app_name, **kwargs): # noqa: E501
"""repositories_list # noqa: E501
Gets the repositories available from the source code host # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.repositories_list(source_host, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string source_host: The source host (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:param string vstsAccountName: Filter repositories only for specified account and project, "vstsProjectId" is required(optional)
:param string vstsProjectId: Filter repositories only for specified account and project, "vstsAccountName" is required(optional)
:param string form: The selected form of the object(optional)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.repositories_list_with_http_info(source_host, owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.repositories_list_with_http_info(source_host, owner_name, app_name, **kwargs) # noqa: E501
return data
def repositories_list_with_http_info(self, source_host, owner_name, app_name, **kwargs): # noqa: E501
"""repositories_list # noqa: E501
Gets the repositories available from the source code host # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.repositories_list_with_http_info(source_host, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string source_host: The source host (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:param string vstsAccountName: Filter repositories only for specified account and project, "vstsProjectId" is required(optional)
:param string vstsProjectId: Filter repositories only for specified account and project, "vstsAccountName" is required(optional)
:param string form: The selected form of the object(optional)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['source_host', 'owner_name', 'app_name', 'vstsAccountName', 'vstsProjectId', 'form'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method repositories_list" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'source_host' is set
if ('source_host' not in params or
params['source_host'] is None):
raise ValueError("Missing the required parameter `source_host` when calling `repositories_list`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `repositories_list`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `repositories_list`") # noqa: E501
collection_formats = {}
path_params = {}
if 'source_host' in params:
path_params['source_host'] = params['source_host'] # noqa: E501
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
if 'vstsAccountName' in params:
query_params.append(('vstsAccountName', params['vstsAccountName'])) # noqa: E501
if 'vstsProjectId' in params:
query_params.append(('vstsProjectId', params['vstsProjectId'])) # noqa: E501
if 'form' in params:
query_params.append(('form', params['form'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/source_hosts/{source_host}/repositories', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ValidationErrorResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def repositoryConfigurations_list(self, owner_name, app_name, **kwargs): # noqa: E501
"""repositoryConfigurations_list # noqa: E501
Returns the repository build configuration status of the app # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.repositoryConfigurations_list(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:param boolean includeInactive: Include inactive configurations if none are active(optional)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.repositoryConfigurations_list_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.repositoryConfigurations_list_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
return data
def repositoryConfigurations_list_with_http_info(self, owner_name, app_name, **kwargs): # noqa: E501
"""repositoryConfigurations_list # noqa: E501
Returns the repository build configuration status of the app # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.repositoryConfigurations_list_with_http_info(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:param boolean includeInactive: Include inactive configurations if none are active(optional)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['owner_name', 'app_name', 'includeInactive'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method repositoryConfigurations_list" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `repositoryConfigurations_list`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `repositoryConfigurations_list`") # noqa: E501
collection_formats = {}
path_params = {}
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
if 'includeInactive' in params:
query_params.append(('includeInactive', params['includeInactive'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/repo_config', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ValidationErrorResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def repositoryConfigurations_createOrUpdate(self, owner_name, app_name, body, **kwargs): # noqa: E501
"""repositoryConfigurations_createOrUpdate # noqa: E501
Configures the repository for build # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.repositoryConfigurations_createOrUpdate(owner_name, app_name, body, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:param object body: The repository information (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.repositoryConfigurations_createOrUpdate_with_http_info(owner_name, app_name, body, **kwargs) # noqa: E501
else:
(data) = self.repositoryConfigurations_createOrUpdate_with_http_info(owner_name, app_name, body, **kwargs) # noqa: E501
return data
def repositoryConfigurations_createOrUpdate_with_http_info(self, owner_name, app_name, body, **kwargs): # noqa: E501
"""repositoryConfigurations_createOrUpdate # noqa: E501
Configures the repository for build # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.repositoryConfigurations_createOrUpdate_with_http_info(owner_name, app_name, body, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:param object body: The repository information (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['owner_name', 'app_name', 'body'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method repositoryConfigurations_createOrUpdate" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `repositoryConfigurations_createOrUpdate`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `repositoryConfigurations_createOrUpdate`") # noqa: E501
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `repositoryConfigurations_createOrUpdate`") # noqa: E501
collection_formats = {}
path_params = {}
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/repo_config', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ValidationErrorResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def repositoryConfigurations_delete(self, owner_name, app_name, **kwargs): # noqa: E501
"""repositoryConfigurations_delete # noqa: E501
Removes the configuration for the respository # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.repositoryConfigurations_delete(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.repositoryConfigurations_delete_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.repositoryConfigurations_delete_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
return data
def repositoryConfigurations_delete_with_http_info(self, owner_name, app_name, **kwargs): # noqa: E501
"""repositoryConfigurations_delete # noqa: E501
Removes the configuration for the respository # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.repositoryConfigurations_delete_with_http_info(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method repositoryConfigurations_delete" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `repositoryConfigurations_delete`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `repositoryConfigurations_delete`") # noqa: E501
collection_formats = {}
path_params = {}
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/repo_config', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ValidationErrorResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def fileAssets_create(self, owner_name, app_name, **kwargs): # noqa: E501
"""fileAssets_create # noqa: E501
Create a new asset to upload a file # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.fileAssets_create(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.fileAssets_create_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.fileAssets_create_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
return data
def fileAssets_create_with_http_info(self, owner_name, app_name, **kwargs): # noqa: E501
"""fileAssets_create # noqa: E501
Create a new asset to upload a file # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.fileAssets_create_with_http_info(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method fileAssets_create" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `fileAssets_create`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `fileAssets_create`") # noqa: E501
collection_formats = {}
path_params = {}
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/file_asset', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ValidationErrorResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def commits_listByShaList(self, hashes, owner_name, app_name, **kwargs): # noqa: E501
"""commits_listByShaList # noqa: E501
Returns commit information for a batch of shas # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.commits_listByShaList(hashes, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param array hashes: A collection of commit SHAs comma-delimited (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: CommitDetailsList
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.commits_listByShaList_with_http_info(hashes, owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.commits_listByShaList_with_http_info(hashes, owner_name, app_name, **kwargs) # noqa: E501
return data
def commits_listByShaList_with_http_info(self, hashes, owner_name, app_name, **kwargs): # noqa: E501
"""commits_listByShaList # noqa: E501
Returns commit information for a batch of shas # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.commits_listByShaList_with_http_info(hashes, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param array hashes: A collection of commit SHAs comma-delimited (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: CommitDetailsList
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['hashes', 'owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method commits_listByShaList" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'hashes' is set
if ('hashes' not in params or
params['hashes'] is None):
raise ValueError("Missing the required parameter `hashes` when calling `commits_listByShaList`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `commits_listByShaList`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `commits_listByShaList`") # noqa: E501
collection_formats = {}
path_params = {}
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
if 'hashes' in params:
query_params.append(('hashes', params['hashes'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/commits/batch', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='CommitDetailsList', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def builds_getLog(self, build_id, owner_name, app_name, **kwargs): # noqa: E501
"""builds_getLog # noqa: E501
Get the build log # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_getLog(build_id, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param integer build_id: The build ID (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: BuildLog
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.builds_getLog_with_http_info(build_id, owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.builds_getLog_with_http_info(build_id, owner_name, app_name, **kwargs) # noqa: E501
return data
def builds_getLog_with_http_info(self, build_id, owner_name, app_name, **kwargs): # noqa: E501
"""builds_getLog # noqa: E501
Get the build log # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_getLog_with_http_info(build_id, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param integer build_id: The build ID (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: BuildLog
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['build_id', 'owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method builds_getLog" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'build_id' is set
if ('build_id' not in params or
params['build_id'] is None):
raise ValueError("Missing the required parameter `build_id` when calling `builds_getLog`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `builds_getLog`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `builds_getLog`") # noqa: E501
collection_formats = {}
path_params = {}
if 'build_id' in params:
path_params['build_id'] = params['build_id'] # noqa: E501
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/builds/{build_id}/logs', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='BuildLog', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def builds_getDownloadUri(self, build_id, download_type, owner_name, app_name, **kwargs): # noqa: E501
"""builds_getDownloadUri # noqa: E501
Gets the download URI # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_getDownloadUri(build_id, download_type, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param integer build_id: The build ID (required)
:param string download_type: The download type (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: DownloadContainer
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.builds_getDownloadUri_with_http_info(build_id, download_type, owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.builds_getDownloadUri_with_http_info(build_id, download_type, owner_name, app_name, **kwargs) # noqa: E501
return data
def builds_getDownloadUri_with_http_info(self, build_id, download_type, owner_name, app_name, **kwargs): # noqa: E501
"""builds_getDownloadUri # noqa: E501
Gets the download URI # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_getDownloadUri_with_http_info(build_id, download_type, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param integer build_id: The build ID (required)
:param string download_type: The download type (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: DownloadContainer
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['build_id', 'download_type', 'owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method builds_getDownloadUri" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'build_id' is set
if ('build_id' not in params or
params['build_id'] is None):
raise ValueError("Missing the required parameter `build_id` when calling `builds_getDownloadUri`") # noqa: E501
# verify the required parameter 'download_type' is set
if ('download_type' not in params or
params['download_type'] is None):
raise ValueError("Missing the required parameter `download_type` when calling `builds_getDownloadUri`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `builds_getDownloadUri`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `builds_getDownloadUri`") # noqa: E501
collection_formats = {}
path_params = {}
if 'build_id' in params:
path_params['build_id'] = params['build_id'] # noqa: E501
if 'download_type' in params:
path_params['download_type'] = params['download_type'] # noqa: E501
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/builds/{build_id}/downloads/{download_type}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='DownloadContainer', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def builds_distribute(self, build_id, owner_name, app_name, body, **kwargs): # noqa: E501
"""builds_distribute # noqa: E501
Distribute a build # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_distribute(build_id, owner_name, app_name, body, async=True)
>>> result = thread.get()
:param async bool
:param integer build_id: The build ID (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:param object body: The distribution details (required)
:return: DistributionResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.builds_distribute_with_http_info(build_id, owner_name, app_name, body, **kwargs) # noqa: E501
else:
(data) = self.builds_distribute_with_http_info(build_id, owner_name, app_name, body, **kwargs) # noqa: E501
return data
def builds_distribute_with_http_info(self, build_id, owner_name, app_name, body, **kwargs): # noqa: E501
"""builds_distribute # noqa: E501
Distribute a build # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_distribute_with_http_info(build_id, owner_name, app_name, body, async=True)
>>> result = thread.get()
:param async bool
:param integer build_id: The build ID (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:param object body: The distribution details (required)
:return: DistributionResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['build_id', 'owner_name', 'app_name', 'body'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method builds_distribute" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'build_id' is set
if ('build_id' not in params or
params['build_id'] is None):
raise ValueError("Missing the required parameter `build_id` when calling `builds_distribute`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `builds_distribute`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `builds_distribute`") # noqa: E501
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `builds_distribute`") # noqa: E501
collection_formats = {}
path_params = {}
if 'build_id' in params:
path_params['build_id'] = params['build_id'] # noqa: E501
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/builds/{build_id}/distribute', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='DistributionResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def builds_get(self, build_id, owner_name, app_name, **kwargs): # noqa: E501
"""builds_get # noqa: E501
Returns the build detail for the given build ID # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_get(build_id, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param integer build_id: The build ID (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: Build
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.builds_get_with_http_info(build_id, owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.builds_get_with_http_info(build_id, owner_name, app_name, **kwargs) # noqa: E501
return data
def builds_get_with_http_info(self, build_id, owner_name, app_name, **kwargs): # noqa: E501
"""builds_get # noqa: E501
Returns the build detail for the given build ID # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_get_with_http_info(build_id, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param integer build_id: The build ID (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: Build
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['build_id', 'owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method builds_get" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'build_id' is set
if ('build_id' not in params or
params['build_id'] is None):
raise ValueError("Missing the required parameter `build_id` when calling `builds_get`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `builds_get`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `builds_get`") # noqa: E501
collection_formats = {}
path_params = {}
if 'build_id' in params:
path_params['build_id'] = params['build_id'] # noqa: E501
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/builds/{build_id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='Build', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def builds_update(self, build_id, owner_name, app_name, body, **kwargs): # noqa: E501
"""builds_update # noqa: E501
Cancels a build # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_update(build_id, owner_name, app_name, body, async=True)
>>> result = thread.get()
:param async bool
:param integer build_id: The build ID (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:param object body: (required)
:return: Build
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.builds_update_with_http_info(build_id, owner_name, app_name, body, **kwargs) # noqa: E501
else:
(data) = self.builds_update_with_http_info(build_id, owner_name, app_name, body, **kwargs) # noqa: E501
return data
def builds_update_with_http_info(self, build_id, owner_name, app_name, body, **kwargs): # noqa: E501
"""builds_update # noqa: E501
Cancels a build # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_update_with_http_info(build_id, owner_name, app_name, body, async=True)
>>> result = thread.get()
:param async bool
:param integer build_id: The build ID (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:param object body: (required)
:return: Build
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['build_id', 'owner_name', 'app_name', 'body'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method builds_update" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'build_id' is set
if ('build_id' not in params or
params['build_id'] is None):
raise ValueError("Missing the required parameter `build_id` when calling `builds_update`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `builds_update`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `builds_update`") # noqa: E501
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `builds_update`") # noqa: E501
collection_formats = {}
path_params = {}
if 'build_id' in params:
path_params['build_id'] = params['build_id'] # noqa: E501
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/builds/{build_id}', 'PATCH',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='Build', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def builds_getStatusByAppId(self, owner_name, app_name, **kwargs): # noqa: E501
"""builds_getStatusByAppId # noqa: E501
Application specific build service status # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_getStatusByAppId(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: BuildServiceStatus
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.builds_getStatusByAppId_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.builds_getStatusByAppId_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
return data
def builds_getStatusByAppId_with_http_info(self, owner_name, app_name, **kwargs): # noqa: E501
"""builds_getStatusByAppId # noqa: E501
Application specific build service status # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_getStatusByAppId_with_http_info(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: BuildServiceStatus
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method builds_getStatusByAppId" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `builds_getStatusByAppId`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `builds_getStatusByAppId`") # noqa: E501
collection_formats = {}
path_params = {}
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/build_service_status', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='BuildServiceStatus', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def builds_listToolsetProjects(self, branch, os, platform, owner_name, app_name, **kwargs): # noqa: E501
"""builds_listToolsetProjects # noqa: E501
Returns the projects in the repository for the branch, for all toolsets # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_listToolsetProjects(branch, os, platform, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string os: The desired OS for the project scan; normally the same as the app OS (required)
:param string platform: The desired platform for the project scan (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ToolsetProjects
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.builds_listToolsetProjects_with_http_info(branch, os, platform, owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.builds_listToolsetProjects_with_http_info(branch, os, platform, owner_name, app_name, **kwargs) # noqa: E501
return data
def builds_listToolsetProjects_with_http_info(self, branch, os, platform, owner_name, app_name, **kwargs): # noqa: E501
"""builds_listToolsetProjects # noqa: E501
Returns the projects in the repository for the branch, for all toolsets # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_listToolsetProjects_with_http_info(branch, os, platform, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string os: The desired OS for the project scan; normally the same as the app OS (required)
:param string platform: The desired platform for the project scan (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ToolsetProjects
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['branch', 'os', 'platform', 'owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method builds_listToolsetProjects" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'branch' is set
if ('branch' not in params or
params['branch'] is None):
raise ValueError("Missing the required parameter `branch` when calling `builds_listToolsetProjects`") # noqa: E501
# verify the required parameter 'os' is set
if ('os' not in params or
params['os'] is None):
raise ValueError("Missing the required parameter `os` when calling `builds_listToolsetProjects`") # noqa: E501
# verify the required parameter 'platform' is set
if ('platform' not in params or
params['platform'] is None):
raise ValueError("Missing the required parameter `platform` when calling `builds_listToolsetProjects`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `builds_listToolsetProjects`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `builds_listToolsetProjects`") # noqa: E501
collection_formats = {}
path_params = {}
if 'branch' in params:
path_params['branch'] = params['branch'] # noqa: E501
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
if 'os' in params:
query_params.append(('os', params['os'])) # noqa: E501
if 'platform' in params:
query_params.append(('platform', params['platform'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/branches/{branch}/toolset_projects', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ToolsetProjects', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def branchConfigurations_get(self, branch, owner_name, app_name, **kwargs): # noqa: E501
"""branchConfigurations_get # noqa: E501
Gets the branch configuration # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.branchConfigurations_get(branch, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.branchConfigurations_get_with_http_info(branch, owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.branchConfigurations_get_with_http_info(branch, owner_name, app_name, **kwargs) # noqa: E501
return data
def branchConfigurations_get_with_http_info(self, branch, owner_name, app_name, **kwargs): # noqa: E501
"""branchConfigurations_get # noqa: E501
Gets the branch configuration # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.branchConfigurations_get_with_http_info(branch, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['branch', 'owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method branchConfigurations_get" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'branch' is set
if ('branch' not in params or
params['branch'] is None):
raise ValueError("Missing the required parameter `branch` when calling `branchConfigurations_get`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `branchConfigurations_get`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `branchConfigurations_get`") # noqa: E501
collection_formats = {}
path_params = {}
if 'branch' in params:
path_params['branch'] = params['branch'] # noqa: E501
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/branches/{branch}/config', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ValidationErrorResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def branchConfigurations_create(self, branch, owner_name, app_name, **kwargs): # noqa: E501
"""branchConfigurations_create # noqa: E501
Configures the branch for build # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.branchConfigurations_create(branch, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: BranchConfiguration
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.branchConfigurations_create_with_http_info(branch, owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.branchConfigurations_create_with_http_info(branch, owner_name, app_name, **kwargs) # noqa: E501
return data
def branchConfigurations_create_with_http_info(self, branch, owner_name, app_name, **kwargs): # noqa: E501
"""branchConfigurations_create # noqa: E501
Configures the branch for build # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.branchConfigurations_create_with_http_info(branch, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: BranchConfiguration
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['branch', 'owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method branchConfigurations_create" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'branch' is set
if ('branch' not in params or
params['branch'] is None):
raise ValueError("Missing the required parameter `branch` when calling `branchConfigurations_create`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `branchConfigurations_create`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `branchConfigurations_create`") # noqa: E501
collection_formats = {}
path_params = {}
if 'branch' in params:
path_params['branch'] = params['branch'] # noqa: E501
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/branches/{branch}/config', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='BranchConfiguration', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def branchConfigurations_update(self, branch, owner_name, app_name, **kwargs): # noqa: E501
"""branchConfigurations_update # noqa: E501
Reconfigures the branch for build # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.branchConfigurations_update(branch, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: BranchConfiguration
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.branchConfigurations_update_with_http_info(branch, owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.branchConfigurations_update_with_http_info(branch, owner_name, app_name, **kwargs) # noqa: E501
return data
def branchConfigurations_update_with_http_info(self, branch, owner_name, app_name, **kwargs): # noqa: E501
"""branchConfigurations_update # noqa: E501
Reconfigures the branch for build # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.branchConfigurations_update_with_http_info(branch, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: BranchConfiguration
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['branch', 'owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method branchConfigurations_update" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'branch' is set
if ('branch' not in params or
params['branch'] is None):
raise ValueError("Missing the required parameter `branch` when calling `branchConfigurations_update`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `branchConfigurations_update`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `branchConfigurations_update`") # noqa: E501
collection_formats = {}
path_params = {}
if 'branch' in params:
path_params['branch'] = params['branch'] # noqa: E501
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/branches/{branch}/config', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='BranchConfiguration', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def branchConfigurations_delete(self, branch, owner_name, app_name, **kwargs): # noqa: E501
"""branchConfigurations_delete # noqa: E501
Deletes the branch build configuration # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.branchConfigurations_delete(branch, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: SuccessResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.branchConfigurations_delete_with_http_info(branch, owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.branchConfigurations_delete_with_http_info(branch, owner_name, app_name, **kwargs) # noqa: E501
return data
def branchConfigurations_delete_with_http_info(self, branch, owner_name, app_name, **kwargs): # noqa: E501
"""branchConfigurations_delete # noqa: E501
Deletes the branch build configuration # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.branchConfigurations_delete_with_http_info(branch, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: SuccessResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['branch', 'owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method branchConfigurations_delete" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'branch' is set
if ('branch' not in params or
params['branch'] is None):
raise ValueError("Missing the required parameter `branch` when calling `branchConfigurations_delete`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `branchConfigurations_delete`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `branchConfigurations_delete`") # noqa: E501
collection_formats = {}
path_params = {}
if 'branch' in params:
path_params['branch'] = params['branch'] # noqa: E501
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/branches/{branch}/config', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='SuccessResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def builds_listByBranch(self, branch, owner_name, app_name, **kwargs): # noqa: E501
"""builds_listByBranch # noqa: E501
Returns the list of builds for the branch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_listByBranch(branch, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: Builds
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.builds_listByBranch_with_http_info(branch, owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.builds_listByBranch_with_http_info(branch, owner_name, app_name, **kwargs) # noqa: E501
return data
def builds_listByBranch_with_http_info(self, branch, owner_name, app_name, **kwargs): # noqa: E501
"""builds_listByBranch # noqa: E501
Returns the list of builds for the branch # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_listByBranch_with_http_info(branch, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: Builds
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['branch', 'owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method builds_listByBranch" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'branch' is set
if ('branch' not in params or
params['branch'] is None):
raise ValueError("Missing the required parameter `branch` when calling `builds_listByBranch`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `builds_listByBranch`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `builds_listByBranch`") # noqa: E501
collection_formats = {}
path_params = {}
if 'branch' in params:
path_params['branch'] = params['branch'] # noqa: E501
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/branches/{branch}/builds', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='Builds', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def builds_create(self, branch, owner_name, app_name, **kwargs): # noqa: E501
"""builds_create # noqa: E501
Create a build # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_create(branch, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:param object body: Parameters of the build(optional)
:return: Build
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.builds_create_with_http_info(branch, owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.builds_create_with_http_info(branch, owner_name, app_name, **kwargs) # noqa: E501
return data
def builds_create_with_http_info(self, branch, owner_name, app_name, **kwargs): # noqa: E501
"""builds_create # noqa: E501
Create a build # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_create_with_http_info(branch, owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string branch: The branch name (required)
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:param object body: Parameters of the build(optional)
:return: Build
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['branch', 'owner_name', 'app_name', 'body'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method builds_create" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'branch' is set
if ('branch' not in params or
params['branch'] is None):
raise ValueError("Missing the required parameter `branch` when calling `builds_create`") # noqa: E501
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `builds_create`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `builds_create`") # noqa: E501
collection_formats = {}
path_params = {}
if 'branch' in params:
path_params['branch'] = params['branch'] # noqa: E501
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/branches/{branch}/builds', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='Build', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def builds_listBranches(self, owner_name, app_name, **kwargs): # noqa: E501
"""builds_listBranches # noqa: E501
Returns the list of Git branches for this application # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_listBranches(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.builds_listBranches_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
else:
(data) = self.builds_listBranches_with_http_info(owner_name, app_name, **kwargs) # noqa: E501
return data
def builds_listBranches_with_http_info(self, owner_name, app_name, **kwargs): # noqa: E501
"""builds_listBranches # noqa: E501
Returns the list of Git branches for this application # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.builds_listBranches_with_http_info(owner_name, app_name, async=True)
>>> result = thread.get()
:param async bool
:param string owner_name: The name of the owner (required)
:param string app_name: The name of the application (required)
:return: ValidationErrorResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['owner_name', 'app_name'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method builds_listBranches" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'owner_name' is set
if ('owner_name' not in params or
params['owner_name'] is None):
raise ValueError("Missing the required parameter `owner_name` when calling `builds_listBranches`") # noqa: E501
# verify the required parameter 'app_name' is set
if ('app_name' not in params or
params['app_name'] is None):
raise ValueError("Missing the required parameter `app_name` when calling `builds_listBranches`") # noqa: E501
collection_formats = {}
path_params = {}
if 'owner_name' in params:
path_params['owner_name'] = params['owner_name'] # noqa: E501
if 'app_name' in params:
path_params['app_name'] = params['app_name'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json', 'multipart/form-data', 'application/json-patch+json']) # noqa: E501
# Authentication setting
auth_settings = ['APIToken'] # noqa: E501
return self.api_client.call_api(
'/v0.1/apps/{owner_name}/{app_name}/branches', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ValidationErrorResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 44.394885 | 144 | 0.623587 | 13,636 | 118,046 | 5.174611 | 0.019581 | 0.051246 | 0.029932 | 0.039909 | 0.974022 | 0.965321 | 0.96396 | 0.95934 | 0.954451 | 0.953374 | 0 | 0.016691 | 0.284864 | 118,046 | 2,658 | 145 | 44.411588 | 0.819152 | 0.074039 | 0 | 0.809686 | 0 | 0 | 0.240098 | 0.06757 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.002729 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
136d50b82be2ccd99ab2d36dc7ba22118a93f569 | 902,490 | py | Python | python/phonenumbers/geodata/data8.py | ILMServices/python-phonenumbers | 317b0b128162b031e156b9de69ade9a5c8cf4844 | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/geodata/data8.py | ILMServices/python-phonenumbers | 317b0b128162b031e156b9de69ade9a5c8cf4844 | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/geodata/data8.py | ILMServices/python-phonenumbers | 317b0b128162b031e156b9de69ade9a5c8cf4844 | [
"Apache-2.0"
] | null | null | null | """Per-prefix data, mapping each prefix to a dict of locale:name.
Auto-generated file, do not edit by hand.
"""
from ..util import u
# Copyright (C) 2011-2014 The Libphonenumber Authors
#
# 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.
data = {
'861348443':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861348442':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861348441':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861348440':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861348447':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348446':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348445':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861348444':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348449':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861348448':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861339049':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861339048':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861339047':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861339046':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861339045':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861339044':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861339043':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861339042':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861339041':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861339040':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861348401':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861350420':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'86133849':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861350425':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861340618':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861340619':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861340616':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861340617':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861340614':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861340615':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861340612':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861340613':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861340610':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861340611':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861347048':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861347049':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861347046':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861347047':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861347044':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861347045':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861347042':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861347043':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861347040':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861347041':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861336543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861336542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861336541':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861336540':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861336547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861336546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861336545':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861336544':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861336549':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861336548':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861350358':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861350359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861350356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861350357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861350354':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861350355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861350352':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861350353':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861350350':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861350351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861340920':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861340921':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861340922':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861340923':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861340924':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861340925':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861340926':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861340927':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861340928':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861340929':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861344469':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344468':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861344461':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344460':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344463':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344462':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344465':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344464':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344467':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344466':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335368':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861335369':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861335362':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861335363':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861335360':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861335361':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861335366':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861335367':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861335364':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861335365':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861346311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861346310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861346313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861346312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861346315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861346314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861346317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861346316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861346319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861346318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861350970':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861350971':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861350976':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861350977':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861350974':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861350975':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861337144':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861337145':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861337630':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861337631':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861337140':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861337141':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861337142':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861337143':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861337638':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861337639':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861337148':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861337149':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861339911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861339910':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861339913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861339912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861339838':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861339915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861339839':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861339914':{'en': 'Shangzhou, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861339836':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861339917':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861339837':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861339916':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861339834':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861339835':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861339832':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861334513':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86134235':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'86134234':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134237':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134236':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134231':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861339830':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'86134233':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134232':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861339831':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'86134239':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134238':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861333315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861333314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861333317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861333737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861333736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861333735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861333734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861333733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861333732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861333731':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861333730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861333311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861350896':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861333739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861333738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861337751':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861333313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861337750':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861333312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861337201':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861337856':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5e02')},
'861337857':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5e02')},
'861337854':{'en': 'Duyun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u90fd\u5300\u5e02')},
'861337855':{'en': 'Kaili, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u51ef\u91cc\u5e02')},
'861337852':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861337853':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861337850':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861337851':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861343781':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861337207':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861343783':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861343782':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861343785':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861343784':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861337858':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861337859':{'en': 'Xingyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5174\u4e49\u5e02')},
'861337205':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861333319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861337204':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861333318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861345031':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861345030':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861345033':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861345032':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861345035':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861345034':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861345037':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861345036':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861345039':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861345038':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861344757':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861347128':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'86133612':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86133613':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86133610':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86133618':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133619':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861344756':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861339678':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861339679':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861339670':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861339671':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861339672':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861339673':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861339674':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861339675':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861339676':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861339677':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861335414':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861335415':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861335416':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861338509':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861338508':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861335417':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861338501':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861335410':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861338503':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861338502':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861338505':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861338504':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861338507':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861335411':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861335412':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861335413':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861335532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861339908':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u5e02')},
'861339909':{'en': 'Bole (Bortala), Xinjiang', 'zh': u('\u65b0\u7586\u535a\u4e50\u5e02')},
'861339458':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861339459':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861339454':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861339455':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861339456':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861339901':{'en': 'Tachung (Qoqek), Xinjiang', 'zh': u('\u65b0\u7586\u5854\u57ce\u5e02')},
'861339450':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861339451':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861339904':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861339453':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861348599':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861348598':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861344252':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344253':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344250':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344251':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344256':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344257':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861344254':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861344255':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861344258':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344259':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335177':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861335176':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335175':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335174':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335173':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861335172':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335171':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335170':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335179':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335178':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861338794':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861340559':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861340558':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861340009':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861340008':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861340003':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861340002':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861340001':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861340000':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861340007':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861340006':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861340005':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861340004':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861344076':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344077':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861344074':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861338795':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861344072':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861344073':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344070':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861344071':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861348634':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861348635':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861348636':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861348637':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861348630':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861348631':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861344078':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861344079':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861346615':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u5e02')},
'8613452':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861336158':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861336159':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861347787':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347786':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861347781':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861347780':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861347783':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861347782':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861336150':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861336151':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861336152':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861336153':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861336154':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861336155':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861336156':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861336157':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861336486':{'en': 'Aleitai, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u52d2\u6cf0\u5e02')},
'861336487':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5e02')},
'861336484':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861336485':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861336482':{'en': 'Bole (Bortala), Xinjiang', 'zh': u('\u65b0\u7586\u535a\u4e50\u5e02')},
'861336483':{'en': 'Tachung (Qoqek), Xinjiang', 'zh': u('\u65b0\u7586\u5854\u57ce\u5e02')},
'861336480':{'en': 'Yining, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861336481':{'en': 'Yining, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861336488':{'en': 'Kashi (Kaxgar), Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5e02')},
'861336489':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5e02')},
'861348542':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861347529':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861347528':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861347521':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861347520':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861347523':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861347522':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861347525':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861347524':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861347527':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861347526':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861348543':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861344065':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861336738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861336739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861344796':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861336734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861336735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861336736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861336737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861336730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861336731':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861336732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861336733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861350019':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861350018':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861344066':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861346788':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861346789':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861346786':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861344061':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861346784':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861346785':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861346782':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861346783':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861346780':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861346781':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861344063':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861344062':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861338884':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861338885':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861338886':{'en': 'Liuku, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6012\u6c5f\u5088\u50f3\u65cf\u81ea\u6cbb\u5dde')},
'861338887':{'en': 'Zhongdian, Yunnan', 'zh': u('\u4e91\u5357\u7701\u8fea\u5e86\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861338880':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861338881':{'en': 'Jinghong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861338882':{'en': 'Luxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861338883':{'en': 'Lincang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e34\u6ca7\u5e02')},
'861338888':{'en': 'Lijiang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e3d\u6c5f\u5e02')},
'861338889':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'86135118':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861337289':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861337288':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861337283':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861337282':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861337281':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861337280':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861337287':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861337286':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861337285':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861337284':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861350450':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861338088':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861338089':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861338084':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861338085':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861338086':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861338087':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861338080':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861338081':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861338082':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861338083':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861334411':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861334410':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861334416':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861334419':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861334418':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861339392':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861338260':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861338261':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861338262':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861338263':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861338264':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861338265':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861338266':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861338267':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861338268':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861338269':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861348545':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861344655':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'86134888':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861339390':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861348808':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348803':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348802':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348801':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861348800':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861348807':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861348806':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861348805':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861348804':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'86134886':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861348548':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'86134887':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861339025':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861339024':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861339027':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861339026':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861339021':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861339020':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861339023':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861339022':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861339029':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861339028':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'86133861':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133860':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861349042':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133862':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861349044':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349045':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861349046':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349047':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349048':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349049':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861340634':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861340635':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861340636':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861340637':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861340630':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861340631':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861340632':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861340633':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861340638':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861340639':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861341545':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341544':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861341547':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341546':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341541':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861341540':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861341543':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861341542':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861341549':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341548':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861340498':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u5e02')},
'861340499':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u5e02')},
'861350376':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861350377':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861350370':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861350371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861350372':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861350373':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861340490':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u5e02')},
'861340491':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u5e02')},
'861340492':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u5e02')},
'861340493':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u5e02')},
'861340494':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u5e02')},
'861340495':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u5e02')},
'861340496':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u5e02')},
'861340497':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u5e02')},
'861340946':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861340947':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861340944':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861340945':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861340942':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861340943':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861340940':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861340941':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861340948':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861340949':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861344449':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344448':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344447':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344446':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344445':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344444':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861344443':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344442':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344441':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344440':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335340':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861335341':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861335342':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861335343':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861335344':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861335345':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861335346':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861335347':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861335348':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861335349':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861339875':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861334585':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861334584':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861334587':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861337618':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861337619':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861346335':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861334586':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861346333':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861346332':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861346331':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861346330':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861337610':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861337611':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861337612':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861337613':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861337614':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861337615':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861337616':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861337617':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861336495':{'en': 'Kuytun, Xinjiang', 'zh': u('\u65b0\u7586\u594e\u5c6f\u5e02')},
'861334583':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861336494':{'en': 'Hami (Kumul), Xinjiang', 'zh': u('\u65b0\u7586\u54c8\u5bc6\u5e02')},
'861334582':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861336497':{'en': 'Shihezi, Xinjiang', 'zh': u('\u65b0\u7586\u77f3\u6cb3\u5b50\u5e02')},
'861336496':{'en': 'Kuytun, Xinjiang', 'zh': u('\u65b0\u7586\u594e\u5c6f\u5e02')},
'861336491':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u5e02')},
'861336490':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u5e02')},
'861336493':{'en': 'Hami (Kumul), Xinjiang', 'zh': u('\u65b0\u7586\u54c8\u5bc6\u5e02')},
'861336492':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5e02')},
'861350407':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861350405':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861334901':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861337878':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5e02')},
'861337879':{'en': 'Simao, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861334272':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861337874':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861337875':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861337876':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u5e02')},
'861337877':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861337870':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861337871':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861337872':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u5e02')},
'861337873':{'en': 'Gejiu, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861334270':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861334277':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861334904':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861334275':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861334906':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861350978':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861350979':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861345017':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861345016':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861345015':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861345014':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861345013':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861345012':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861345011':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861345010':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'86134958':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861345019':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861345018':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861338699':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861338698':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861350973':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861338691':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861338690':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861338693':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861338692':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861338695':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861338694':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861338697':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861338696':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861333276':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861338917':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861338914':{'en': 'Shangzhou, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861347983':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861333275':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861339618':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861339619':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861339616':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861339617':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861339614':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861339615':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861339612':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861339613':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861339610':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861339611':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861337632':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861333886':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861333270':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861337633':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'86133499':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861333271':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861337146':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861347986':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861337147':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861347985':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861338529':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861338528':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861338527':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861338526':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861338525':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861338524':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861338523':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861338522':{'en': 'Xiantao, Hubei', 'zh': u('\u6e56\u5317\u7701\u4ed9\u6843\u5e02')},
'861338521':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861338520':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861337634':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861337635':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861339920':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861339921':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861339922':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861339923':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861339924':{'en': 'Shangzhou, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861339925':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861339926':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861339927':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861339928':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861339929':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861333279':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861344278':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344279':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861340799':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861340798':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861340793':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861340792':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861340791':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861340790':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861340797':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861340796':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861340795':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861340794':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861350950':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861335119':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335118':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'86134807':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861335115':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861335114':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861335117':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861335116':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861335111':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335110':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335113':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861335112':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861334765':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861350951':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'86134618':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'86134613':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'86134612':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'86134611':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'86134610':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'86134617':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'86134616':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'86134614':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861340579':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861340578':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861340577':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861340576':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861340575':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861340574':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861340573':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861340572':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861340571':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861340570':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861334767':{'en': 'Guigang, Guangxi', 'zh': u('\u5e7f\u897f\u8d35\u6e2f\u5e02')},
'861350953':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'8613439':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861345909':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861345908':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861341971':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861345900':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861345903':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861345902':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861345905':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861345904':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861345907':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861345906':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861335809':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861335808':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861335807':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861335806':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861335805':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861335804':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861335803':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861335802':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861335801':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861335800':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861347509':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861347508':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861347507':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861347506':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861347505':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861347504':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861347503':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861347502':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861347501':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861347500':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861349848':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349849':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134902':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349840':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349841':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349842':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349843':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349844':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349845':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349846':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861349847':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861350959':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861340353':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861340352':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861340423':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861338062':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861338063':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861338060':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861338061':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861338066':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861338067':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861338064':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861338065':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861340357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861338068':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861338069':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861340424':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861346024':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861340427':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861340426':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'86135010':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861343558':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861343559':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861343550':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861343551':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861343552':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861343553':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861343554':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861343555':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861343556':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861343557':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861333566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861333567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861333564':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861333565':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861333562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861333563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861333560':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861333561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861333568':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861333569':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861334699':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861334698':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861334695':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861334694':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861334697':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861334696':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861334691':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861334690':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861334693':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861334692':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861333539':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86134371':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86134374':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134376':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86134377':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861347698':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861346023':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86135113':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861339559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861339558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861339009':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861339008':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861339551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861339550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861339001':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861339552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861339555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861339006':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861339557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861339004':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861348835':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861334537':{'en': 'Atushi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u5b5c\u52d2\u82cf\u67ef\u5c14\u514b\u5b5c\u81ea\u6cbb\u5dde')},
'861344293':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861333984':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861333985':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861333986':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861333987':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861333980':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861333981':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861333982':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861333983':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861333988':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861333989':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861348838':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348839':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'86133803':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86133802':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86133801':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86133800':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134230':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861347691':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861347690':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861340968':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861340969':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861340964':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861340965':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861340966':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861340967':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861340960':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861334059':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861340962':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861340963':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861334058':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861347697':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861334053':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861339532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861334723':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861347696':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861335638':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861335639':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861334722':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861335630':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861335631':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861335632':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861335633':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861335634':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861335635':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861335636':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861334724':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861335326':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861335327':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861335324':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861335325':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861335322':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861339535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861335320':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861335321':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861334054':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861335328':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861335329':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'86134599':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861337678':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861337679':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861337676':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861337677':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861337674':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861337675':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861337672':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861337673':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861337670':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861337671':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861334271':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861336859':{'en': 'Xingyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5174\u4e49\u5e02')},
'861336858':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861336855':{'en': 'Kaili, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u51ef\u91cc\u5e02')},
'861336854':{'en': 'Duyun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u90fd\u5300\u5e02')},
'861336857':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5e02')},
'861336856':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5e02')},
'861336851':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861336850':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861336853':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861336852':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861337098':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861337099':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861337092':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861337093':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861337090':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861337091':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861337096':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861337097':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861337094':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861337095':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861333773':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861333772':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861333771':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861333770':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861333777':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861333776':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861333775':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861333774':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861333779':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861333778':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861347037':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861337892':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861337893':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861337890':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861337891':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861337896':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861337897':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861337894':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861337895':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861337898':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861337899':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861343789':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861343788':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861341418':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861350464':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861343780':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861339634':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861339635':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861339636':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861339637':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861339630':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861339631':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861339632':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861339633':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861343786':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861339638':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861339639':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861338545':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861338544':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861338547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861338546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861338541':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861338540':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861338543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861338542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861338549':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861338548':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861339498':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5e02')},
'861339499':{'en': 'Yining, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861339490':{'en': 'Atushi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u5b5c\u52d2\u82cf\u67ef\u5c14\u514b\u5b5c\u81ea\u6cbb\u5dde')},
'861339491':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861339492':{'en': 'Kuytun, Xinjiang', 'zh': u('\u65b0\u7586\u594e\u5c6f\u5e02')},
'861339493':{'en': 'Shihezi, Xinjiang', 'zh': u('\u65b0\u7586\u77f3\u6cb3\u5b50\u5e02')},
'861339494':{'en': 'Kalamayi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'861339495':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5e02')},
'861339496':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u5e02')},
'861339497':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5e02')},
'861339946':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861339947':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861339944':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861339945':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861339942':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861339943':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861339940':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861339941':{'en': 'Hezuo, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861345075':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861345074':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861345077':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861345076':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861345071':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861345070':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861339948':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861339949':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861340771':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861340770':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861340773':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861340772':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861340775':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861340774':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861340777':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861340776':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861340779':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861340778':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861335133':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861335132':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335131':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335130':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335137':{'en': 'Jiagedaqi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'861335136':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861335135':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861335134':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335139':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335138':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861341794':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861341795':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861341796':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861341797':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861341790':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861341791':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861341792':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861341793':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861341978':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861341979':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861341798':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861341799':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'86135021':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86135020':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86135027':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861341419':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861335799':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861335798':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861335797':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861335796':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861335795':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861335794':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861335793':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861335792':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861335791':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861335790':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861350087':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861341415':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861336442':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336115':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861336440':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336117':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861336110':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861336111':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861336112':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861336113':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861336448':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336449':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861336118':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861336119':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861348716':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861350231':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'86134987':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861350233':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861350232':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861350235':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861350234':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861350237':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861350236':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861350239':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861350238':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861350585':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861350584':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861350583':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861350582':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861350581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861350580':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861335865':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861335864':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861335867':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861338654':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861335861':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861335860':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861335863':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861335862':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861335869':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861335868':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861347297':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347296':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347295':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347294':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347293':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347292':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347291':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347290':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347569':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861347568':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861347299':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861347298':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861350269':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861348753':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'8613412':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861350054':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'8613410':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861350056':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861350051':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861350050':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861350053':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861350052':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861350059':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861350058':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861338656':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861350263':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861337795':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861337794':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861337797':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861337796':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861337791':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861337790':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861337793':{'en': 'Xiantao, Hubei', 'zh': u('\u6e56\u5317\u7701\u4ed9\u6843\u5e02')},
'861337792':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861337799':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861337798':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861337249':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861337248':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861333096':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861333097':{'en': 'Xichang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u897f\u660c\u5e02')},
'861333094':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861333095':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861333092':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861333093':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861350089':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333098':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861333099':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861350972':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'86134030':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861342661':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861342660':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861342663':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861333348':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861342665':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861342664':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861342667':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861342666':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861342669':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861342668':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861348760':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'86134356':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861333349':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'86134354':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134353':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'86134350':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861345506':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'86134358':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'86134359':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861338048':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861338049':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861338040':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861338041':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861338042':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861338043':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861338044':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861338045':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861338046':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861338047':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861339799':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861339798':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861339793':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861339792':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861339791':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861339790':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861339797':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861339796':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861339795':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861339794':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861337939':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861337938':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861337931':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861337930':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861337933':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861337932':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861337935':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861337934':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861337937':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861337936':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861333238':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861338959':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861333548':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861333549':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861333232':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861333233':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861333230':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861333231':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861333236':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861333541':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861333234':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861333235':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861334019':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861334018':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861334017':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861339576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861339575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861334014':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861334013':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861334012':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861334011':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861334010':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861350082':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350083':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'86133359':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86133351':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86133350':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86133821':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86133820':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86133822':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861350088':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861341581':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861341580':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861341583':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861341582':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861341585':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861341584':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861341587':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861341586':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861341589':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861341588':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861338500':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861345509':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861338506':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861344159':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344158':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861340188':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861340189':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861340182':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861340183':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861340180':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861340181':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861340186':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861340187':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861340184':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861340185':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861351382':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861335308':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861335309':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861335658':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861335659':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861335656':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861335657':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861335306':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861335307':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861335300':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861335301':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861335302':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861335303':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861351383':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861346801':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861346800':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861346803':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861346802':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861346805':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861346804':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861346807':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861346806':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861346809':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861333345':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861350916':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861350917':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861350910':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861350911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861350912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861350913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861340230':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861337655':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861340232':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861340233':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861340234':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861337651':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861340236':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861337653':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861340238':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861340239':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861337658':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861337659':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861334831':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861334522':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861334833':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861339902':{'en': 'Hami (Kumul), Xinjiang', 'zh': u('\u65b0\u7586\u54c8\u5bc6\u5e02')},
'861334520':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861348368':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861339903':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5e02')},
'861348366':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861334835':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861348364':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861348365':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861348362':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861339900':{'en': 'Kalamayi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'861348360':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861334834':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861339457':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861334837':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861339906':{'en': 'Aleitai, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u52d2\u6cf0\u5e02')},
'861334524':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861350888':{'en': 'Lijiang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e3d\u6c5f\u5e02')},
'861339907':{'en': 'Bole (Bortala), Xinjiang', 'zh': u('\u65b0\u7586\u535a\u4e50\u5e02')},
'861336873':{'en': 'Gejiu, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861336872':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u5e02')},
'861336871':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861336870':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861336877':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861339452':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861336875':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861336874':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861336879':{'en': 'Simao, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861336878':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5e02')},
'861339809':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861339808':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861346999':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861350750':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861346998':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861346997':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861346996':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861350880':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861338826':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861350881':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861338827':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861350886':{'en': 'Liuku, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6012\u6c5f\u5088\u50f3\u65cf\u81ea\u6cbb\u5dde')},
'861338824':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861350887':{'en': 'Zhongdian, Yunnan', 'zh': u('\u4e91\u5357\u7701\u8fea\u5e86\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861338825':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861350884':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861338822':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861350885':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5e02')},
'861333303':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861343279':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861337214':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333300':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861337215':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861343271':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861343270':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861343273':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861333301':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861343275':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861337216':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861343277':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861343276':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861337217':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861345132':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861337210':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861337211':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861337744':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861337213':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861338828':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861333309':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861348580':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861333535':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861348581':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861348586':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861338569':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861338568':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861348587':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861338563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861338562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861338561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861338560':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861338567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861338566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861338565':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861338564':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861348585':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861348582':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861348583':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861339968':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861339969':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861339964':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861339965':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861339966':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861339967':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861339960':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861339961':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861339962':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861339963':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861345053':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861345052':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861345051':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861345050':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861345057':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861345056':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861345055':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861345054':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861345059':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861345058':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861340757':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861340756':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861340755':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861340754':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861340753':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861340752':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861340751':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861340750':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861348560':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861344899':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861348562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861348563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861344238':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861344239':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861340759':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861340758':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861348588':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861348589':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861341916':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861341917':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861341914':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861341915':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861341912':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861341913':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861341910':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861341911':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861333534':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861341919':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861339218':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861339219':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861339212':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861339213':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861339210':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861339211':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861339216':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861339217':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861339214':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861339215':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861336468':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336469':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336460':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336461':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336462':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336463':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336464':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336465':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861336466':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861336467':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861350890':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861344098':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861340551':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861340539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861340538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'86134909':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861340550':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861340533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861340532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861340531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861340537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861340536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861340535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861340534':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861347549':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861340552':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861347543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861340555':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861347541':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861347540':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861347547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861347546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861347545':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861340554':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861340557':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861336798':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861336799':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861336796':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861336797':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861336794':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861340556':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861336792':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861336793':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861336790':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861336791':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'86135126':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'86135127':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86135124':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'861344075':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861348638':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861348639':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86135120':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86135121':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861337229':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861337228':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861337225':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861337224':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861337227':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861337226':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861337221':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861337220':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861337223':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861337222':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861335849':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861335848':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861348632':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861335843':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861335842':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861335841':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861335840':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861335847':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861335846':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861335845':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861335844':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861334644':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86134011':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134010':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134013':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'86134015':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'86134017':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'86134016':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'86134019':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861343514':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861343515':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861343516':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861343517':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861343510':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861343511':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861343512':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861343513':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861351302':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861351303':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861351300':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861351301':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861343518':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861343519':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861351304':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861351305':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861350521':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'86134338':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'86134339':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134334':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86134335':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86134336':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134337':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'86134330':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134331':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134332':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134333':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861340955':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861348743':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861340954':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861340957':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861350520':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861340956':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861340951':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861340950':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861339771':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861339770':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861339773':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861339772':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861339775':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861339774':{'en': 'Hezhou, Guangxi', 'zh': u('\u5e7f\u897f\u8d3a\u5dde\u5e02')},
'861339777':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861339776':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861339779':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861339778':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861340952':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861334721':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861337919':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861337918':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861337917':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861337916':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861337915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861337914':{'en': 'Shangzhou, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861337913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861337912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861337911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861337910':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861334720':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861338970':{'en': 'Haiyan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5317\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861338971':{'en': 'GeErmu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861338972':{'en': 'PingAn, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861338973':{'en': 'Tongren, Qinghai', 'zh': u('\u9752\u6d77\u7701\u9ec4\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861338974':{'en': 'Gonghe, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861338791':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861338976':{'en': 'Yushu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u7389\u6811\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861338793':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861338978':{'en': 'GeErmu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861338979':{'en': 'Golmud, Qinghai', 'zh': u('\u9752\u6d77\u7701\u683c\u5c14\u6728\u5e02')},
'861338798':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861338799':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861334075':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861334074':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861334077':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861334076':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861334071':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861334070':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861334073':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861334072':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861334079':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861334078':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'86133594':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'86133592':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861345558':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861345559':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861334725':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861345552':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861345553':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861345550':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861345551':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861345556':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861345557':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861345554':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861345555':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861334303':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86133375':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86133376':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'861334301':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861334300':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861350526':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861334307':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861334306':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861334305':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861334656':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861334727':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861350684':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861350685':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861350686':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861350687':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350680':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861350681':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861350682':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861350683':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861350866':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861350688':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861350689':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861334726':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861347785':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861347784':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861344179':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344178':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344177':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344176':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344175':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344174':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344173':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344172':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861344171':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344170':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861348735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861348734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861348737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861348736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861348731':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861348730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861348733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861348732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861348739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861348738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861339370':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861346827':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861346826':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861346825':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861346824':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861346823':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861346822':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861346821':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861334597':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861347789':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861346829':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861344477':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861333858':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861333859':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861333852':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861333853':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861333850':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861333851':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861333856':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861333857':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861333854':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861333855':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861348344':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861348345':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861348346':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861348347':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861348340':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861348341':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861348342':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861348343':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861348348':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861348349':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861343701':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861343700':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861343703':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861343702':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861343705':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861343704':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861343707':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861343706':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861343709':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861343708':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861338581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861338580':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861338583':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861338582':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861338585':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861338584':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861338587':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861338586':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861338589':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861338588':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861340696':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340697':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861348508':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861348509':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861348506':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861348507':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861348504':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861348505':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861348502':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861348503':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861348500':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861348501':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861345845':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861337608':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861341938':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861341939':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861341934':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861341935':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861341936':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861341937':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861341930':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861341931':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861341932':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861341933':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861340698':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340699':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861350011':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861346787':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861350013':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'86133914':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861350012':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861350015':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861350014':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861340889':{'en': 'Lincang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e34\u6ca7\u5e02')},
'861340888':{'en': 'Lincang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e34\u6ca7\u5e02')},
'861340739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861340738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861340735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861340734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861340737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861340736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861340731':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861340730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861340733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861340732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'86135030':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861345407':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'8613366':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861345400':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861350091':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861350090':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350093':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861350092':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861350095':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861350094':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861350097':{'en': 'Meihekou, Jilin', 'zh': u('\u5409\u6797\u7701\u6885\u6cb3\u53e3\u5e02')},
'861350096':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861350099':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350098':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'86134822':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861350899':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861350898':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'86134823':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861350891':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'86134824':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861350893':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861350892':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861350895':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861350894':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861350897':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86134825':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861337203':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861337202':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861337753':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861337752':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861337755':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861337754':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861337757':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861337756':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861337759':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861337758':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861337209':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861337208':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861340344':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861335539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861335538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861335537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861335536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861335535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861335534':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861335533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861340430':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861335531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861335530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861340347':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861340436':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861340437':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861346610':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861346611':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861346612':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861346613':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861346614':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861340434':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861346616':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u5e02')},
'861346617':{'en': 'Simao, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861346618':{'en': 'Simao, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861346619':{'en': 'Simao, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861340343':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86134072':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'86134071':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86134078':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861351320':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861351321':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861351322':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861351323':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861351324':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861351325':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861351326':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861348338':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861351328':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861351329':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861345507':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'86134312':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134313':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134310':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134311':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134316':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134317':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'86134314':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861345501':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861345500':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'86133896':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861339757':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861339756':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861339755':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861339754':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861339753':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861339752':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861339751':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861339750':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'86133890':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'861334589':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861334588':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861339759':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861339758':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861337975':{'en': 'Kashi (Kaxgar), Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5e02')},
'861337974':{'en': 'Kashi (Kaxgar), Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5e02')},
'861337977':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861337976':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861337971':{'en': 'Hami (Kumul), Xinjiang', 'zh': u('\u65b0\u7586\u54c8\u5bc6\u5e02')},
'861337970':{'en': 'Atushi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u5b5c\u52d2\u82cf\u67ef\u5c14\u514b\u5b5c\u81ea\u6cbb\u5dde')},
'861337973':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5e02')},
'861337972':{'en': 'Kuytun, Xinjiang', 'zh': u('\u65b0\u7586\u594e\u5c6f\u5e02')},
'861337979':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861337978':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861333588':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861333589':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861348768':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861333580':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861333581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861333582':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861333583':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861333584':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861333585':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861333586':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861333587':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861338916':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861333277':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861333274':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861338915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861338912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861338913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861338910':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861338911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861338918':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861338919':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861348769':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'86133571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86133576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86133575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'86133574':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861345570':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861345571':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861345572':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861345573':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861345574':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861345575':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861345576':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861345577':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861345578':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861345579':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'86133312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86133311':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133310':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133319':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133318':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861334729':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861334728':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861339539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861339538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861339533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861334052':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861334051':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861339530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861339537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861339536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861334055':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861339534':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861344371':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344370':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344373':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344372':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861344375':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344374':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344377':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344376':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344379':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344378':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861348763':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861339528':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861334049':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861334732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861348719':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861348718':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861334733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861348713':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861348712':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861348711':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861348710':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861348717':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861334046':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861348715':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861348714':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861334731':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861334736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861334737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861348761':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861334042':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861334043':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861341414':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861348766':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861333870':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333871':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333872':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333873':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861333874':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861333875':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861333876':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861333877':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861333878':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861333879':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861348767':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861348764':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861336349':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861336348':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861336345':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861336344':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861336347':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861336346':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861336341':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861336340':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861336343':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861336342':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861346849':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861346848':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861346845':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861346844':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861346847':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861346846':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861346841':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861346840':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861346843':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861346842':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861351115':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861344884':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861343727':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861343726':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861343725':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861343724':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861343723':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861343722':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861343721':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861343720':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861343729':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861343728':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861350820':{'en': 'Xichang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861350821':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861350822':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861350823':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861350824':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861350825':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861337568':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861337569':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861350826':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861337562':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861337563':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861337560':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861337561':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861337566':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861337567':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861337564':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861337565':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861336446':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861334912':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861334913':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861334910':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861334911':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861334916':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861334917':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861334914':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861334915':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861334918':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861334919':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861336447':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861345769':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861345768':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861345765':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861345764':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861345767':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861345766':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861345761':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861345760':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861345763':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861345762':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861348524':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861348525':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861348526':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861348527':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861348520':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861348521':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861348522':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861348523':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861348528':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861348529':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861348809':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861339256':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861339257':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861339254':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861339255':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861339252':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861339253':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861339250':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861339251':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861339258':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861339259':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86135016':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86135017':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86135012':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86135013':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861347723':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347722':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347721':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347720':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347727':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347726':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347725':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347724':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347729':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861347728':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861336424':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861336425':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861336426':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861336427':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861336420':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861336421':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861336422':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861336423':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861350991':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861336428':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861336429':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'86135018':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86135019':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861350253':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861350252':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861350251':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861350250':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861350257':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861350256':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861350255':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861350254':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861350529':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861350528':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861350259':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861350258':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861351400':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861347587':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861347586':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861347585':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861347584':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861347583':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861347582':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861347581':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861347580':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861350523':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861347589':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861347588':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861350522':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861350525':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861350524':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861350625':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861344588':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861344589':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861350527':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861344582':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344583':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861344580':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344581':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344586':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344587':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344584':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861344585':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335731':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861335730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861335733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861335732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861335735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861335734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861335089':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861335088':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861335087':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861335086':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861335085':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861335084':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861335083':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861335082':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861335081':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861335080':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861336280':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861336281':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861336282':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861336283':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336284':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336285':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336286':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336287':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336288':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336289':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861346452':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861346453':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861346450':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861346451':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861346456':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861346457':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861346454':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861346455':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861346988':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861346989':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861346458':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861346459':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861335555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861335554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861335557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861335884':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861335551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861335550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861335881':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861335880':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861351128':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861351129':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861335559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861335558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861335889':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861335888':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86134059':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'86134058':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'86134056':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86134051':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86134050':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86134052':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861351346':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861351347':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861351344':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861351345':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861351342':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861351343':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861351340':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861351341':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861351348':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861351349':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861334016':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861344790':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861334015':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861337959':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861337958':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861337953':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861337952':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861337951':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861337950':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861337957':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861337956':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861337955':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861337954':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861339605':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861339604':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861339607':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861339606':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861333258':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861338939':{'en': 'Wudu, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861338288':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861338289':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861338286':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861338935':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861338936':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861338285':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861338930':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u5e02')},
'861338931':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861338280':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861338933':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861339603':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861339602':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'86133559':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861346392':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86133551':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86133550':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86133552':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861333552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861346396':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861333551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861339889':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861339888':{'en': 'Lijiang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e3d\u6c5f\u5e02')},
'861339739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861339738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861339883':{'en': 'Lincang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e34\u6ca7\u5e02')},
'861339882':{'en': 'Luxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861339881':{'en': 'Jinghong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861339736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861339731':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861339730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861339885':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861339732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861345516':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861345517':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861345514':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861345515':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861345512':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861345513':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86133889':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861345511':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861350629':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'86133336':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861343754':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861345518':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'86133880':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'861338428':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861338429':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861338422':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861338423':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861338420':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861338421':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861338426':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861338427':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861338424':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861338425':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861339083':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861339082':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861339081':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861339080':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861339087':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861339086':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861339085':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861339084':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861334707':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861334706':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861339089':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861339088':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861334703':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861334702':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861334701':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861334700':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861333538':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861344357':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344356':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344355':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861344354':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344353':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344352':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344351':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344350':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344359':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344358':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134732':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86134735':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86134736':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861344139':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861344138':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861344133':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344132':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861344131':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861335736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861344137':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344136':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344135':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344134':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861335738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861350753':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861340292':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861340293':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861340290':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861340291':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861340296':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861340297':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861340294':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861340295':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861340298':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861340299':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861333816':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861333817':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861333814':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861333815':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861333812':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861333813':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861333810':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861333811':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861333818':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861333819':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861339814':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861339815':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861334536':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5e02')},
'861347448':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861339817':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861347442':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861334530':{'en': 'Tachung (Qoqek), Xinjiang', 'zh': u('\u65b0\u7586\u5854\u57ce\u5e02')},
'861347440':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861347441':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861347446':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347447':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347444':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861339811':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861336363':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861336362':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861336361':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861336360':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861336367':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861339812':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861336365':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861336364':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861336369':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861336368':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861346982':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861346863':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861333333':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861346861':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346860':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346867':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346866':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346865':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861333332':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861350752':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861346984':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861346869':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861346868':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861350756':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861338811':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861333530':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861346985':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861338810':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861346986':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861339818':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861346987':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861334539':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u5e02')},
'861338815':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861333334':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861333533':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861347452':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861334315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861333532':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861336949':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861336948':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861336947':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861336946':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861336945':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861336944':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861336943':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861336942':{'en': 'Xifeng, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861336941':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861336940':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861344267':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344266':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861337540':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861337541':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861337542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861337543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861337544':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861337545':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861337546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861337547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861337548':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861337549':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861338637':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861338636':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861338635':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861338634':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861333621':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861338632':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861338631':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861338630':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861333629':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861333628':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861338639':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861338638':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861334938':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861334939':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861333537':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861334930':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861334931':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861334932':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861334933':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861334934':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861334935':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861334936':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861334937':{'en': 'Jiagedaqi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'861335887':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861335886':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861335885':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861333536':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861335556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861344269':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861348292':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861335883':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861348290':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861344268':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861348296':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861348297':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861348294':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861335882':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861349040':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861335553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861349041':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861335552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861349043':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134502':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134500':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134506':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134504':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134509':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86134508':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861350488':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'86134608':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'86134609':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861350489':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861339278':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861339279':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861339274':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861339275':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861339276':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861339277':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861339270':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861339271':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861339272':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861339273':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134600':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'86134601':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'86134603':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86134605':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'86135096':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134606':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'86134607':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'86135074':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861344049':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861344048':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86134954':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134955':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861334050':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861340542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861348394':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861340543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861340540':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861340017':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861334057':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861342538':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861340546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861340011':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861340544':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861340545':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861334056':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'8613492':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'8613493':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'8613491':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'8613496':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'8613497':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'8613494':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861350641':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86135093':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861340339':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861340338':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861337719':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861337718':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861340331':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861340330':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861340333':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861340332':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340335':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861340334':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861340337':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861340336':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861344656':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344657':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861335578':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861344652':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344653':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344650':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344651':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861335572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861335571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861335570':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861335577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861335576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861335575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861335574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861350374':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861350375':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861350754':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861350644':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861351368':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861351369':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861351364':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861351365':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861351366':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861351367':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861351360':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861351361':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861351362':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861351363':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861350645':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861350378':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861350379':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861350646':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86134170':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861347309':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861347308':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861347301':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861347300':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861347303':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861347302':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861347305':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861347304':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861347307':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861347306':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861336008':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861336009':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861336002':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861336003':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861336000':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861336001':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861336006':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861336007':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861336004':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861336005':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861350648':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861348392':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861350649':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86133533':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861336971':{'en': 'GeErmu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861351327':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861339861':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861339860':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861339863':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861339862':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861339865':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861339864':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861339867':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861339866':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861339869':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861339868':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861350981':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861338400':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861338401':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861338402':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861338403':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861338404':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861338405':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861338406':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861338407':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861338408':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861338409':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861334316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861334317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861334310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861334311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861334097':{'en': 'Xichang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u897f\u660c\u5e02')},
'861334096':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861334095':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861334094':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861334093':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861334092':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861334091':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861334090':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861334313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861334769':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861334768':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861334099':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861334098':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861344339':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344338':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861344335':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344334':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344337':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344336':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344331':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344330':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344333':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344332':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861345538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861345539':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'86134718':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861345534':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861345535':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861345536':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861345537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861345530':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861345531':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861345532':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861345533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861344483':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861344482':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344481':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344480':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344487':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861344486':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344485':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344484':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861344489':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344488':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335384':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861335385':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861335386':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861335387':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861335380':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861335381':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861335382':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861335383':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861335388':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861335389':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861348779':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861350768':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861333838':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861333839':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861333834':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861333835':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861333836':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861333837':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861333830':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861333831':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861333832':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861333833':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861335960':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335961':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335962':{'en': 'Jiagedaqi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'861335963':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335964':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335965':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861335966':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861335967':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861335968':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861335969':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861347460':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861347461':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861347462':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861347463':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861347464':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347465':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347466':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347467':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347468':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347469':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861351157':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861350770':{'en': 'Fangchenggang, Guangxi', 'zh': u('\u5e7f\u897f\u9632\u57ce\u6e2f\u5e02')},
'861350771':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861350772':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861350773':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861350774':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861350775':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861350776':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861350777':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'861350778':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861350779':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861350998':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861350999':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861351156':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861336925':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861336924':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861336927':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861336926':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861336921':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861336920':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861336923':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861336922':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861338938':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861336929':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861336928':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861333259':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'86134159':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861346336':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'86134150':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'86134151':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'86134152':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'86134153':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86134155':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134156':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861337526':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861337527':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861337524':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861337525':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861337522':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861337523':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861337520':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861337521':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861350954':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861338284':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861337528':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861337529':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861338937':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861350956':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861338282':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861350957':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861338283':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861350958':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861338932':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861334958':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861334959':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861334956':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861334957':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861334954':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861334955':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861334952':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861334953':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861334950':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861334951':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861346339':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861346338':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861342412':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861342413':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861342410':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861342411':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861342416':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342417':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342414':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861342415':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342418':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342419':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861333359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861333358':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861338659':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861338658':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861333351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861338870':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861333353':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861333352':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861333355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861333354':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861333357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861333356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861334378':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861334379':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861334372':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861334373':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861334370':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861334371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861334376':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861334377':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861334374':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861334375':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861341998':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861341999':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861341996':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861341997':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861341994':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861341995':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861341992':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861341993':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861341990':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861341991':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861351127':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861339292':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861339293':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861339290':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861339291':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861339296':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861339297':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861339294':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861339295':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861339298':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861339299':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861350453':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861350007':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861340829':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861340828':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861340825':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861340824':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861340827':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861340826':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861340821':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861340820':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861340823':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861340822':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861350867':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'86135050':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861341448':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861341449':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861341444':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861341445':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861341446':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861341447':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861341440':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861341441':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861341442':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861341443':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861350569':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861350568':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861350565':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861350564':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861350567':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861350566':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861350561':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861350560':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861350563':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861350562':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861351124':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'86135011':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861335779':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861335778':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861335775':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861335774':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861335777':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861335776':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861335771':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861335770':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861335773':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861335772':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861350587':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350389':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861350388':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'86134832':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861350381':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861350380':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861350383':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861350382':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861350385':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861350384':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861350387':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861350386':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861337733':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861337732':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861337731':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861337730':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861337737':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'861337736':{'en': 'Guigang, Guangxi', 'zh': u('\u5e7f\u897f\u8d35\u6e2f\u5e02')},
'861337735':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861337734':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861340317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861340316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861337739':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861340314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861340313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861340312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861340310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861351168':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861351169':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861351166':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861351167':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861351164':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861351165':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861351162':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861351163':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861351160':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861351161':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86134099':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'86134098':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'86134097':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861339735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861339734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861339737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861347099':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861347098':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861351380':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861339880':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861351386':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861351387':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861351384':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861351385':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861347091':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861339887':{'en': 'Zhongdian, Yunnan', 'zh': u('\u4e91\u5357\u7701\u8fea\u5e86\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861347093':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861347092':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861347095':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861347094':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861347097':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861339886':{'en': 'Liuku, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6012\u6c5f\u5088\u50f3\u65cf\u81ea\u6cbb\u5dde')},
'861339733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861339884':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861350669':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861345510':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861350338':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861336020':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861336021':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861336022':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861336023':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861336024':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861336025':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861336026':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861336027':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861336028':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861336029':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861345519':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861346877':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861345079':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861351309':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861345078':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861334567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861334566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861334565':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861334564':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861334563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861334562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861334561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861334560':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861334569':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861334568':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861338466':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861338467':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861338464':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861338465':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861338462':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861338463':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861338460':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861338461':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861338468':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861338469':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861334749':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861334748':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861339599':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861339598':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861334743':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861334742':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861334741':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861334740':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861334747':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861334746':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861334745':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861334744':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861345338':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861345339':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861345336':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861345337':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861345334':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861345335':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861345332':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861345333':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861345330':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861345331':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'86134774':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'86134776':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'86134770':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86134771':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861334709':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861334708':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861339339':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861339338':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861339331':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861339330':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861339333':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861339332':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861339335':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861334705':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861339337':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861339336':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861334704':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861346561':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861335655':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861348354':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861346569':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861340128':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861340129':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861340120':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861340121':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861340122':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861340123':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861340124':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861340125':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861340126':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861340127':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861335906':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861335907':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861335904':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861335905':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861335902':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861335903':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861335900':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861335901':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861335908':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861335909':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861347406':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347407':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347404':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861347405':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347402':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347403':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347400':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347401':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347408':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861347409':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861350460':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'8613510':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342948':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861342949':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861344193':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861345130':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861336909':{'en': 'Bole (Bortala), Xinjiang', 'zh': u('\u65b0\u7586\u535a\u4e50\u5e02')},
'861336908':{'en': 'Atushi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u5b5c\u52d2\u82cf\u67ef\u5c14\u514b\u5b5c\u81ea\u6cbb\u5dde')},
'861345131':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861336903':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5e02')},
'861336902':{'en': 'Hami (Kumul), Xinjiang', 'zh': u('\u65b0\u7586\u54c8\u5bc6\u5e02')},
'861336901':{'en': 'Tachung (Qoqek), Xinjiang', 'zh': u('\u65b0\u7586\u5854\u57ce\u5e02')},
'861336900':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u5e02')},
'861336907':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861336906':{'en': 'Aleitai, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u52d2\u6cf0\u5e02')},
'861336905':{'en': 'Kalamayi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'861336904':{'en': 'Yining, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861350671':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861350670':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861350673':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861350672':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861337508':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861337509':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'86134178':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861337504':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861337505':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861337506':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861337507':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861337500':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861337501':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861337502':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861337503':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861350677':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350676':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861345133':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861334974':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861334975':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861334976':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861334977':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861334970':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861334971':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861334972':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861334973':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861334978':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861334979':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861345134':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'86134549':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86134548':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86134547':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86134546':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86134545':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'86134544':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86134543':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861345136':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'86134541':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861338673':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861338672':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861338671':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861338670':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861338677':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861338676':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861333379':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861333378':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861333377':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861333376':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861333375':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861333374':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861333373':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861333372':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861333371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861333370':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861334350':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861334351':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861334352':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861334353':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861334354':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861334355':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861334356':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861334357':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861334358':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861334359':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861347737':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861351176':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861351171':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861344130':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'86133700':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133701':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133702':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133703':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86133704':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86133705':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86133707':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86133708':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861351172':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861350543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861350542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861350541':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861350540':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861350547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861350546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861350545':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861350544':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861350549':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861350548':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861350532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861350533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861350530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861350247':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861350536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861350537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861335021':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861335020':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861335023':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861335022':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861335025':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861335024':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861335027':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861335026':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861335029':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861335028':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861350535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861346434':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861346435':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861346436':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861346437':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861346430':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861346431':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861346432':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861346433':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861350819':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861350818':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861346928':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861346929':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861346438':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861346439':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861340375':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861340374':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861340377':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861340376':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861340371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861340370':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861340373':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861340372':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861344699':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5e02')},
'861340379':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861340378':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861333979':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861333978':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861351146':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861351147':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861351140':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861351141':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861351142':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861351143':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861333971':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861333970':{'en': 'Xiantao, Hubei', 'zh': u('\u6e56\u5317\u7701\u4ed9\u6843\u5e02')},
'861333973':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861333972':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861333975':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861333974':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861333977':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861333976':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861346956':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861336590':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861336591':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861336592':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861336593':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861336594':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861336595':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861336596':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861336597':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861336598':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861336599':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861347345':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347344':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347347':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347346':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347341':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347340':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347343':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347342':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861347349':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861347348':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861336046':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861336047':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861336044':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861336045':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861336042':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861336043':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861336040':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861336041':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861336048':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861336049':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861333272':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861348777':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861334509':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861334508':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861334505':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861339824':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861334507':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861339826':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861334501':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861334500':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861334503':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861334502':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861337319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861337318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861337311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861337310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861337313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861337312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861337315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861337314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861337317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861337316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861338338':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861338339':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861338448':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861338449':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861338332':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861338333':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861338330':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861338447':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861338440':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861338441':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861338442':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861338335':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861337139':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861337138':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86134284':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134285':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134287':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134280':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86134288':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134289':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344996':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861344990':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861344999':{'en': 'Hami (Kumul), Xinjiang', 'zh': u('\u65b0\u7586\u54c8\u5bc6\u5e02')},
'861335090':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'86134759':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861335091':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861335092':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'86134755':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861335093':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861335094':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861335095':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861348793':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861348792':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861348791':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861348790':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861348797':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861335096':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861348795':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861348794':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861348799':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861335097':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861339319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861339318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861339317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861339316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861339315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861339314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861339313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861339312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861339311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861339310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861342821':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861347648':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861347649':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861347640':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861347641':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861347642':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861347643':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861347644':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861347645':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861347646':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861347647':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861342820':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861350158':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861350159':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861350150':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350151':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350152':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350153':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350154':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350155':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861350156':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861350157':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861350486':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861350487':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861350484':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861350485':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861344199':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344198':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861340148':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861340149':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861340146':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861340147':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861340144':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861340145':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861340142':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861340143':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861340140':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861340141':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861347428':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861347429':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347424':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861347425':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861347426':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861347427':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861347420':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861347421':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861342826':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861347423':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861350738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861350739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861350734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861350735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861350736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861350737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861342825':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861350731':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861350732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861350733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861347449':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861342824':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861346599':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861346598':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861347443':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861346593':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861346592':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861346591':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861346590':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861346597':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861346596':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861346595':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861346594':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861344270':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335258':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861335259':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861344271':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335252':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335253':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861335250':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335251':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335256':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861335257':{'en': 'Jiagedaqi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'861335254':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335255':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861344273':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344274':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344275':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344276':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861346779':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861346778':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861346777':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861346776':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861346775':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861344277':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861346773':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861346772':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861346771':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861336366':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86134114':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'86134115':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'86134116':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86134117':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'86134112':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'86134119':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861342828':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861351256':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861351117':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861346862':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861350758':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861333171':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333170':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333173':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861333172':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333175':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333174':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333177':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333176':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333179':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861333178':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861351112':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861351111':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861346864':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'86134565':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'86134564':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86134567':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86134566':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86134561':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86134560':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86134563':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'86134562':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'86134569':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86134568':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861350751':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861350757':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861338835':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861338834':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861338837':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861333316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861338831':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861338830':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861338833':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861338832':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861350755':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861338839':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861338838':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861334336':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861334337':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861334334':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861334335':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861334332':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861334333':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861334330':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861334331':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861334338':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861334339':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861343859':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861343858':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861343851':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861343850':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861343853':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861343852':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861343855':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861343854':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861343857':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861343856':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861342108':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861342109':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861342104':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861342105':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861342106':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861342107':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861342100':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861342101':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861342102':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861342103':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861345101':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861345100':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861345103':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861345102':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861345105':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861345104':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861345107':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861345106':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861345109':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861345108':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'86133726':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86133727':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861344854':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861344855':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861344856':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861344857':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861350640':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861350318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861350319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861344054':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861344055':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861344056':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861344057':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861340685':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861340684':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861340687':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861340686':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861340681':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861340680':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861340683':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861340682':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861340689':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861340688':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861335007':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861335006':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861335005':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861335004':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861335003':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861335002':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861335001':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861335000':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861335009':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861335008':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861341488':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861341489':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861351372':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861341480':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861341481':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861341482':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861341483':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861341484':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861341485':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861341486':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861341487':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861340429':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861340428':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861340359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861340358':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861340421':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861340420':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861340351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861340350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861340425':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861340356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861340355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861340354':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861333959':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861333958':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861333957':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861333956':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861333955':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861333954':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861333953':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861333952':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861333951':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861333950':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861348752':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861336208':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861336209':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861351114':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861336200':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861336201':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861336202':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861336203':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861336204':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861336205':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861336206':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861336207':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861346908':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861346909':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861346900':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861346901':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861346902':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861346903':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861346904':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861346905':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861346906':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861346907':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861351113':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861336068':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861336069':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861336064':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861336065':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861336066':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861336067':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861336060':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861336061':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861336062':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861336063':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861343190':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861343191':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861343192':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861343193':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861343194':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861343195':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861343196':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861343197':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861343198':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861343199':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861351110':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'86134791':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861333788':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861333789':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861333782':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861333783':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861333780':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861333781':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861333786':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861333787':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861333784':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861333785':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861334523':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861334830':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861334521':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861334832':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861334527':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861339806':{'en': 'Naqu, Tibet', 'zh': u('\u897f\u85cf\u90a3\u66f2\u5730\u533a')},
'861334525':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861334836':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861334839':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861334838':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861334529':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861334528':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861337339':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861337338':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861337337':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861337336':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861337335':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861337334':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861337333':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861337332':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861337331':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861337330':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861338310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861338311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861338312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861338313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861338314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861338315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861338316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861338317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861338318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861338319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861342867':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342866':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342865':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342864':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861342863':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861342862':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861342861':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861342860':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861342869':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342868':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861334787':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861334786':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861334785':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861334784':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861334783':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861334782':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861334781':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861334780':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861334789':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861334788':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861348584':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861337688':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861339813':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861345598':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861345599':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861345596':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861345597':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861345594':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861345595':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861345592':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861345593':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861345590':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861345591':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861339353':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861344013':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861339352':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861339423':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861339350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861344156':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861339357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861351118':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861339356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861339375':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861339374':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861339377':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861339376':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861339371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861339355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861339373':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861339372':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861339354':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861339379':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861339378':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861344015':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861345901':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'86135094':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861333625':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861333898':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861333899':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861333896':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861333897':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861333894':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861333895':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861333892':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861333893':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861333890':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861333891':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861333626':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861345848':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861345849':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861345844':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861338633':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861345846':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861345847':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861345840':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861345841':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861345842':{'en': 'Kangding, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861333620':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'86133911':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133910':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133913':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133912':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133915':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861333623':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'86133917':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133916':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133919':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133918':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861333622':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861347194':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861347195':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861347196':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861347197':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861347190':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861347191':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861347192':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861347193':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861347198':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861347199':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861344783':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'861346571':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861346570':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861346573':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861346572':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861346575':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861346574':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861346577':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861346576':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861346579':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861346578':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861335270':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861335271':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861335272':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861335273':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861335274':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861335275':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861335276':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861335277':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861335278':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861335279':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86134460':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134138':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'86134139':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'86134461':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134132':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134133':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'86134130':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86134131':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86134136':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'86134137':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'86134135':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'86134463':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134464':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861345135':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861351405':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861351404':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861351401':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86134466':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861351403':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861351402':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861350921':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861345137':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861350920':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861350929':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861348298':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861350928':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861333157':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861333156':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861333155':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861333154':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333153':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861333152':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861333151':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861333150':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333159':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861333158':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861348293':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861338819':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861338818':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861338813':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861338812':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861333331':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861333330':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861338817':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861338816':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861333335':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861338814':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861348295':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861343879':{'en': 'MaErkang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861343878':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861343877':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861343876':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861343875':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861343874':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861343873':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861343872':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861343871':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861343870':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861345127':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861345126':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861345125':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861345124':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861345123':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861345122':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861345121':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861345120':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861345129':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861345128':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861338769':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861338768':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861345349':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861338761':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861338760':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861338763':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861338762':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861338765':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861338764':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861338767':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861338766':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861350444':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861334648':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861334649':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861334318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861334319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861334642':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861334643':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861334640':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861334641':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861334646':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861334647':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861334312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861334645':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861344229':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861335069':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861335068':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861335065':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861335064':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861335067':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861335066':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861335061':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861335060':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861335063':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861335062':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'86134594':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'86134806':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134831':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86134830':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861340409':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861340408':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861340407':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861340406':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861340405':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861340404':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861340403':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861340402':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861340401':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861340400':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'86134805':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86134802':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861333935':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861333934':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861333937':{'en': 'Jiagedaqi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'861333936':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861333931':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861333930':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861333933':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861333932':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861347539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86134801':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861333939':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861333938':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861335689':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861335688':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861343155':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861335681':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861335680':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861335683':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861335682':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861335685':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861335684':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861335687':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861335686':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861344787':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861350679':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861350678':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861350859':{'en': 'Xingyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5174\u4e49\u5e02')},
'861350858':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861346968':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861346969':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861346966':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861346967':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861346964':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861346965':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'86134595':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861346963':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861346960':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861346961':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861347381':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861347380':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861347383':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861347382':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861347385':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347384':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861347387':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347386':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347389':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347388':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861336082':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861336083':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861336080':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861336081':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861336086':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861336087':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861336084':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861336085':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861336088':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861336089':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861336888':{'en': 'Lijiang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e3d\u6c5f\u5e02')},
'861336889':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'86135029':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861336882':{'en': 'Luxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861336883':{'en': 'Lincang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e34\u6ca7\u5e02')},
'861336880':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861336881':{'en': 'Jinghong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861336886':{'en': 'Liuku, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6012\u6c5f\u5088\u50f3\u65cf\u81ea\u6cbb\u5dde')},
'861336887':{'en': 'Zhongdian, Yunnan', 'zh': u('\u4e91\u5357\u7701\u8fea\u5e86\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861336884':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861336885':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861346388':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861346389':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861346382':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861346383':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861346380':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861346381':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861346386':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861346387':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861346384':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861346385':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861337131':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861337130':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861337133':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861337132':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861337135':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861337134':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861337137':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861337136':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861337687':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861337686':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861337685':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861337684':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861337683':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337682':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337681':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337680':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'86134596':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861334817':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861334816':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861334815':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861334814':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861334813':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861334812':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861334811':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861334810':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861334819':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861334818':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861337355':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861337354':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861337357':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861337356':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861337351':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861337350':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861337353':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861337352':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861337359':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861337358':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861350393':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861338376':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861338377':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861338374':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861338375':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861338372':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861338373':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861338370':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861338371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861338378':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861338379':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'86134240':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134242':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134243':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134245':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86134246':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134247':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134248':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134249':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861339685':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861339684':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861339687':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861339686':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861339681':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861339680':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861339683':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861339682':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861339689':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861339688':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'86134796':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861334710':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'86134795':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'86134792':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'86134793':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861334711':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861334712':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'86134799':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861338488':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861338489':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861334713':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861338480':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861338481':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861338482':{'en': 'Wulanhaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861338483':{'en': 'Alashanzuoqi, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u963f\u62c9\u5584\u76df')},
'861338484':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861338485':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861338486':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861338487':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861339429':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861339428':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861339359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861339358':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861334716':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861339421':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861339420':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861339351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861339422':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861339425':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861339424':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861339427':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861339426':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'86133681':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86133680':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86133683':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86133682':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86133684':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86133689':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'861338864':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861344955':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861344954':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861344957':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861344956':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861350442':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350443':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350440':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350441':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350446':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350447':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'86133971':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861350445':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350448':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350449':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861338941':{'en': 'Hezuo, Gansu', 'zh': u('\u7518\u8083\u7701\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861335472':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861335473':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861335470':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861335471':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861335476':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861335477':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861335474':{'en': 'Ulan Hot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u6d69\u7279\u5e02')},
'861335475':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861335478':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861335479':{'en': 'Xilinhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u6d69\u7279\u5e02')},
'861342943':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861342944':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861350668':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861335216':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861335217':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861335214':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861335215':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861335212':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861335213':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861335210':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861335211':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861335218':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861335219':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861346739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861346738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861350848':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861346733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861338942':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861346731':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861346730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861346737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861346736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861346735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861346734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861350846':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861350847':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861350660':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861350661':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350842':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861350843':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861350840':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861350841':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861338947':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861333139':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861333138':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861333135':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861333134':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861333137':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861333136':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861333131':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861333130':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861333133':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861333132':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861336749':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861336748':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861346732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861336741':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861336740':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861336743':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861336742':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861336745':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861336744':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861336747':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861336746':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861338946':{'en': 'Xifeng, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861333683':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861333682':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861333681':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861333680':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861333687':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861333686':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861333685':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861333684':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861333689':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861333688':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861347391':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861344784':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'861340433':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'86135071':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861338749':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861338748':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861338747':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861338746':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861338745':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861338744':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861338743':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861338742':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861338741':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861338740':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'86134952':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861334660':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861334661':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861334662':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861334663':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861334664':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861334665':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861334666':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861334667':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861334668':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861334669':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861345149':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861345148':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861341118':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861341119':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861341116':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861341117':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861341114':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861341115':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861341112':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861341113':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861341110':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861341111':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861340641':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340640':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340643':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861340642':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861340645':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861340644':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861340647':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861340646':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861340649':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861340648':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861335043':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861335042':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861335041':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861335040':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861335047':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861335046':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861335045':{'en': 'Kangding, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861335044':{'en': 'MaErkang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861335049':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861335048':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861347476':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861338689':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861340465':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861340464':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861340467':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861340466':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861340461':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861340460':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861340463':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861340462':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861340469':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861340468':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861340399':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861340398':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861333919':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861333918':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861333913':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861333912':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861333911':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861333910':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861333917':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861333916':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861333915':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861333914':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'86134959':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861347011':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861347010':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861347013':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861347012':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861347015':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861347014':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861347017':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861347016':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861347019':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861347018':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861336532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861336533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861336530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861336247':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336240':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861336241':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861336242':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861336243':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861336539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861336248':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336249':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861346944':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861346945':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861346946':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861346947':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861346940':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861346941':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861346942':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861346943':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86134811':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'86134810':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'86134813':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'86134812':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861346948':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861346949':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861350651':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86134816':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861347470':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861339623':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861339622':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861339621':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861339620':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861339627':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861339626':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861339625':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861339624':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861347699':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861337117':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861337116':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861337115':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861337114':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861337113':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861337112':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861337111':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861337110':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861337119':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861337118':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861347693':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861334879':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861334878':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861347692':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861334875':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861334874':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861334877':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861334876':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861334871':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861334870':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861334873':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861334872':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861347533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861337122':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861337379':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861337378':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861337123':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861337373':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861337372':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861337371':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861337370':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861337377':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861337376':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861337375':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861337374':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861339003':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861337121':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861347695':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861348399':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861339002':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861348397':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861337126':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861348395':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861347694':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861348393':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861339553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861348391':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861337127':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861342531':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861342530':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861342533':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861339000':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861342535':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861337124':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861342289':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342288':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342287':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861339007':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861342285':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861337125':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861342283':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861342282':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861342281':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861339554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'8613499':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861339005':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861339556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'86134267':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'86134264':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861350864':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'86134262':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134263':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134260':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134261':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861351170':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'86134268':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861338535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861350865':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861337809':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861337808':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861337801':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861337800':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861337803':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861337802':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861337805':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861337804':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861337807':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861337806':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861338358':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861338359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861338354':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861338355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861338356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861338357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861338350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861338351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861338352':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861338353':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861339409':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861339408':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861339407':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861339406':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861339405':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861339404':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861334123':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861334122':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861339401':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861339400':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861347535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861333520':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861350860':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861350861':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861345888':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861345889':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861345880':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861345881':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861345882':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861345883':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861345884':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861345885':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861345886':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861345887':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861350468':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861350469':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861350862':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'86133403':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86133402':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861350462':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861350463':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'86133951':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861350465':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861350466':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861350467':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861339955':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861339954':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861335978':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861339957':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861339956':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861350863':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861339483':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861339482':{'en': 'Wulanhaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861339953':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861339480':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861335972':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861350798':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861350799':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861350796':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861350797':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861350794':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861350795':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861350792':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861350793':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861350790':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861350791':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861335458':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861335459':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861344287':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861344286':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344281':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344280':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344283':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861344282':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335450':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335451':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335452':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335453':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861335454':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335455':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861335456':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861335457':{'en': 'Jiagedaqi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'861335186':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335187':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861335184':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335185':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335182':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335183':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861335180':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335181':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86134597':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861335188':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335189':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861346539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861346538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861346535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861346534':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861346537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861346536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861346531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861346530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861346533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861346532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861344029':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861337715':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861337714':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861344021':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861344020':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861344023':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861344022':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861344025':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861337717':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861344027':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861344026':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861337716':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861335238':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861335239':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861335988':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861335989':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861335986':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335987':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335984':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335985':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335230':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861335983':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335980':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335981':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861337713':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861347488':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861347489':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861347486':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861347487':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861347484':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861337712':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861347482':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861347483':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861347480':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861347481':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861339853':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861340553':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861337341':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861344654':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861337584':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861337585':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861337586':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861337587':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861337580':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861337581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337582':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861337583':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861337588':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861337589':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861339854':{'en': 'Duyun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u90fd\u5300\u5e02')},
'861350869':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861350980':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861339855':{'en': 'Kaili, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u51ef\u91cc\u5e02')},
'861346774':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861348557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861348556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861348559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861350987':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861344658':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861348558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861344659':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861350983':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861346875':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861338862':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861336983':{'en': 'Bole (Bortala), Xinjiang', 'zh': u('\u65b0\u7586\u535a\u4e50\u5e02')},
'861336982':{'en': 'Yining, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861336981':{'en': 'Shihezi, Xinjiang', 'zh': u('\u65b0\u7586\u77f3\u6cb3\u5b50\u5e02')},
'861336980':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u5e02')},
'861336987':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5e02')},
'861336986':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861336985':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861336984':{'en': 'Atushi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u5b5c\u52d2\u82cf\u67ef\u5c14\u514b\u5b5c\u81ea\u6cbb\u5dde')},
'861336767':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'861336766':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861336989':{'en': 'Kashi (Kaxgar), Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5e02')},
'861336988':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5e02')},
'861336763':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861336762':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861336761':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861336760':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861350769':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861346873':{'en': 'Shangzhou, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861350985':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861350766':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861350635':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861342811':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861350989':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861350988':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861350763':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861350984':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861350762':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861350760':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861347459':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861338725':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861338724':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861338727':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861338726':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861338721':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861338720':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861338723':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861338722':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861338729':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861338728':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'86134256':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134254':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861334606':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861334607':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861334604':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861334605':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861334602':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861334603':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861334600':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861334601':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861334608':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861334609':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861341134':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861341135':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861341136':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861341137':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861341130':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861341131':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861341132':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861341133':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861341138':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861341139':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861344564':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344565':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861344566':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344567':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344560':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344561':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344562':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344563':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344568':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344569':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861350637':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861336518':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861336519':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861347035':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861347034':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861347033':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861347032':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861347031':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861347030':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861336510':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861336511':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861336512':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861336513':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861336514':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861336515':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861336516':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861336517':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'86134789':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86134788':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861340919':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861340918':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861340449':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861340448':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861350323':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861350322':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861350321':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861350320':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861340443':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861340442':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861340441':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861340440':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861340447':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861340446':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861340445':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861340444':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861340961':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861338877':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'86134782':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86134787':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86134786':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861334853':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861334852':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861334851':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861334850':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861334857':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861334856':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861334855':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861334854':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861334859':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861334858':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861337391':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861337390':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861337393':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861337392':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861337395':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861337394':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861337397':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861337396':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861337399':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861337398':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861350631':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861339418':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'86134208':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134209':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134204':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86134205':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'86134206':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134207':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134200':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86134201':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'86134202':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86134203':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861339641':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861339640':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861339643':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861339642':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861339645':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861339644':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861339647':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861339646':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861339649':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861339648':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861337829':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861337828':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861337827':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861337826':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861337825':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861337824':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861337823':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861337822':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861337821':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861337820':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861338790':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861339432':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861339433':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861339430':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861339465':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861339396':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861339467':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861339347':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861339461':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861339460':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861339391':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861339462':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861339436':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861339469':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861339468':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861339399':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861339398':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861351119':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861339434':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861339435':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861348771':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861348770':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861348773':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861348772':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861348775':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861348774':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'86133420':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86133422':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86133424':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861350408':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86133426':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86133429':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86133428':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350404':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861335637':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861350402':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861350403':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861350400':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861350401':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861335323':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861335438':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861335439':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861335436':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861335437':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861335434':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861335435':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861335432':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861335433':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861335430':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861335431':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861346513':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861346512':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861346511':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861346510':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861346517':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861346516':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861346515':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861346514':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861346519':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861346518':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861333254':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861344014':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861350849':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861344009':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861344008':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861344007':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861344006':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861344005':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861344004':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861344003':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861344002':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861344001':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861344000':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861333255':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861333256':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'86134196':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861345145':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861338792':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861345144':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861345147':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861345146':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861333257':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861345141':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861350844':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861345140':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861336161':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861336160':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861336163':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861336162':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861336165':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861336164':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861336167':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861336166':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861336169':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861336168':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861345142':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861333250':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861350845':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861347944':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861347200':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861347201':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861347202':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861333251':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861347204':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347205':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347206':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861347207':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861347208':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861347209':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861336705':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861336704':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861336707':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861336706':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861336701':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861336700':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861336703':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861336702':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861336709':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861336708':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861333252':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861333399':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861333398':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861333395':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861333394':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861333397':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861333396':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861333391':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861333390':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861333393':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861333253':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861345897':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861345896':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861348299':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861345892':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861348850':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861348851':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861348852':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861348853':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861348854':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861348855':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861348856':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861348857':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861348858':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861348859':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861345843':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861342184':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342185':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861342186':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861342187':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861342180':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342181':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342182':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342183':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861334444':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861334445':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861345899':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861345898':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861338259':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861338258':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861338709':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861338708':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861338703':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861338702':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861338253':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861338252':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861338707':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861338706':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861338257':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861338256':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861339873':{'en': 'Gejiu, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861334628':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861334629':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861334624':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861334625':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861334626':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861334627':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861334620':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861334621':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861334622':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861334623':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861339871':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861339876':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u5e02')},
'86134436':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134434':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134431':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134430':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134439':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861348478':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861348479':{'en': 'Xilinhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u6d69\u7279\u5e02')},
'861348476':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861348477':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861348474':{'en': 'Jining, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861348475':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861348472':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861348473':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861348470':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861348471':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861339078':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861339079':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861339072':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861339073':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861339070':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861339071':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861339076':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861339077':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861339074':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861339075':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861339874':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861340397':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861340396':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861340395':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861340394':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861340393':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'86134649':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861340392':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861334541':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u5e02')},
'861340391':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861334540':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u5e02')},
'861340390':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861334543':{'en': 'Hami (Kumul), Xinjiang', 'zh': u('\u65b0\u7586\u54c8\u5bc6\u5e02')},
'861334542':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5e02')},
'861340609':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861340608':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861340605':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861340604':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861340607':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861340606':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340601':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861340600':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861340603':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861340602':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861347059':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861334547':{'en': 'Kalamayi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'861347055':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861347054':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861347057':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861334546':{'en': 'Shihezi, Xinjiang', 'zh': u('\u65b0\u7586\u77f3\u6cb3\u5b50\u5e02')},
'861347051':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861347050':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861347053':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861347052':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861334549':{'en': 'Bole (Bortala), Xinjiang', 'zh': u('\u65b0\u7586\u535a\u4e50\u5e02')},
'861336578':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861336579':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861336576':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861336577':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861336574':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861336575':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861336572':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861336573':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861336570':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861336571':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861339878':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5e02')},
'861339577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350618':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861350349':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861350348':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861350345':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861350344':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861350347':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861350346':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861350341':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861350340':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861350343':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861350342':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'86134851':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861340939':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861340938':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861340937':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861340936':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861338714':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861340934':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861340933':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861340932':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861340931':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861339879':{'en': 'Simao, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861335379':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861335378':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861335371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861335370':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861335373':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861335372':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861335375':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861335374':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861335377':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861335376':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861346898':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861346899':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861346892':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346893':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346890':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861346891':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861346896':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861346897':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346894':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861346895':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861337621':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861337620':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861337623':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861337622':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861337625':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861337624':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861337627':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861337154':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861337629':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861337628':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861337159':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861337158':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861333339':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861333338':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861335195':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861335446':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861335445':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861350900':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861335444':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861335443':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861335442':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861335193':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861338230':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861335440':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'86134222':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134223':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134220':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134221':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134226':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'86134227':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'86134225':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'86134229':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861338237':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861333702':{'en': 'Wulanhaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861333703':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861333700':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861333701':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861333706':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861333707':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861333704':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861333705':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861333708':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861333709':{'en': 'Xilinhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u6d69\u7279\u5e02')},
'861338236':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861350905':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861337845':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861337844':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861337847':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861337846':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861337841':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861337840':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861337843':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861337842':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861337849':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861337848':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861338398':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861338399':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861334764':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861338390':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861338391':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861338392':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861338393':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861338394':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861338395':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861338396':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861338397':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861334766':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861334761':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861334760':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861334763':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861334762':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'86133623':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'86133622':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'86133621':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86133627':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86133626':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86133625':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'86133629':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861350638':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86133998':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861350424':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86133446':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861350426':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861350427':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'86133443':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'861350421':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861350422':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861350423':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861350428':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861350429':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861333337':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861339919':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861339918':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861339449':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861339448':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350559':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861339443':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861339442':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861339441':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861339440':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861339447':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861339446':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861339445':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861339444':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861336244':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336245':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336246':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861336536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861336537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861335142':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335143':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861335140':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335141':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335146':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861335147':{'en': 'Jiagedaqi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'861335144':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335145':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861335148':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861335149':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335418':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861335419':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861351250':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861351251':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861351252':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861351253':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861351254':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861351255':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861340036':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340037':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340034':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340035':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340032':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340033':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340030':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861340031':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861351257':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861344069':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861344068':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861340038':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340039':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86134819':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'86134818':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861350871':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861350870':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861350877':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861350876':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u5e02')},
'861350659':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861350658':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861350657':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350656':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350655':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350654':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86134815':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'86134814':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861336147':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861336146':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861336145':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861336144':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861336143':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861336142':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861336141':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861336140':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861350650':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861336499':{'en': 'Kalamayi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'861336498':{'en': 'Shihezi, Xinjiang', 'zh': u('\u65b0\u7586\u77f3\u6cb3\u5b50\u5e02')},
'861336149':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861336148':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861336729':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861336728':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861336723':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861336722':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861336721':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861336720':{'en': 'Xiantao, Hubei', 'zh': u('\u6e56\u5317\u7701\u4ed9\u6843\u5e02')},
'861336727':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861336726':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861336725':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861336724':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861346799':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861346798':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861346795':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861346794':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861346797':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861346796':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861346791':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861346790':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861346793':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861346792':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'86134717':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'86134714':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'86134715':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'86134713':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'86134710':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'86134711':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861347982':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861348836':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861348837':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861338099':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861338098':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861348832':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348833':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348830':{'en': 'Shangzhou, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861348831':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861338093':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861338092':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861338091':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861338090':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861338097':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861338096':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861338095':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861338094':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861348291':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86134897':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861338279':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861338278':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861338277':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861338276':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861338275':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861338274':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861338273':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861338272':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861338271':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861338270':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'86134896':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'86135060':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861350827':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861334394':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861334395':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861334396':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861334397':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861334390':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861334391':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861334392':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861334393':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861334398':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861334399':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861339531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861350513':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'86134411':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134410':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861348490':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348454':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348455':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348456':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861348457':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861348450':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861348451':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348452':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348453':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348458':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348459':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861339050':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861339051':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861339052':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861339053':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861339054':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861339055':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861339056':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861339057':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861339058':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861339059':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861333273':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861350432':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'86133875':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861340623':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861340622':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861340621':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861340620':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861340627':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861340626':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861340625':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861340624':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861340629':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861340628':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861347073':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861347072':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861347071':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861347070':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861347077':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861347076':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861347075':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861347074':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861347079':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861347078':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861336554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861336555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861336556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861336557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861336550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861336551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861336552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861336553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861336558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861336559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'86135128':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86135129':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'861350363':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861350362':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861350361':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861350360':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861350367':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861350366':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861350365':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861350364':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861350369':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861350368':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861340487':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861340486':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861340485':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861340484':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861340483':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861340482':{'en': 'Ulan Hot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u6d69\u7279\u5e02')},
'861340481':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861340480':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861340959':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861340958':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861340489':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861340488':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861344478':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344479':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344472':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861344473':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344470':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344471':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344476':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861338239':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861344474':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344475':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861333558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861335359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861335358':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861335357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861335356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861335355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861335354':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861335353':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861335352':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861335351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861335350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861347238':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861333553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861338940':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861338943':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861337607':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861337606':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861337605':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861337604':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861337603':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861337602':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861337601':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861337600':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861333557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861337609':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861338944':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861333555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861347688':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861333554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861333278':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861347689':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861350952':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861347234':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861347684':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861347685':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861347686':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861348331':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861348330':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861348333':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861347687':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861348335':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861348334':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861348337':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861348336':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861348339':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861347680':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861347681':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861339014':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861347682':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861339015':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861347683':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861339016':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861339017':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861339010':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861339011':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861339012':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861339013':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861333728':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861333729':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861333720':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861333721':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861333722':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861333723':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861333724':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861333725':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861333726':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861333727':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861337869':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861337868':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861337863':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861337862':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861337861':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861337860':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861337867':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861337866':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861337865':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861337864':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861343798':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861343799':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861343792':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861343793':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861343790':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861343791':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861343796':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861343797':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861343794':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861343795':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861334989':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861334988':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861339609':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861339608':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861334981':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861334980':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861334983':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861334982':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861334985':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861334984':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861334987':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861334986':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861339704':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861338518':{'en': 'Duyun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u90fd\u5300\u5e02')},
'861338519':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861338512':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861338513':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861338510':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861338511':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861338516':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861338517':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5e02')},
'861338514':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861338515':{'en': 'Kaili, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u51ef\u91cc\u5e02')},
'861345072':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861339939':{'en': 'Wudu, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861339938':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861339937':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861339936':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861339935':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861339934':{'en': 'Xifeng, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861339933':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861339932':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861339931':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861339930':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u5e02')},
'861335168':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335169':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861344265':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344264':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344263':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861344262':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344261':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344260':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335160':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335161':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335162':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335163':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861335164':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335165':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335166':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335167':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'86134580':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'86134586':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861341949':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861341948':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861345073':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861341941':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861341940':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861341943':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861341942':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861341945':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861341944':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861341947':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861341946':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'86134950':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134951':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861340548':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861340549':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861340018':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861340019':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86134956':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134957':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861340014':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861340015':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861340016':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340541':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340010':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861340547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861340012':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340013':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861340322':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340323':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861340320':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861340321':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861340326':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340327':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861340324':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861340325':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861350955':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861348398':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861348396':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861351179':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861351178':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861347796':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861347797':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861347794':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347795':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347792':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347793':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347790':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861347791':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861348540':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861347798':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861347799':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861351175':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861348541':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861351174':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861348546':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861348390':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861351177':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861333525':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861348547':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861342823':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861335838':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861335839':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861348544':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861342822':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861335832':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861335833':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861335830':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861335831':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861335836':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861335837':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861335834':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861335835':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861347538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861342532':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861351173':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861347532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861342827':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861347530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861347531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861347536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861347537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861347534':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861342534':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861350994':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861348549':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861342537':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861350995':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861342536':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861350996':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861342539':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861350008':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861350009':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861342286':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861350002':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350003':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350000':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350001':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350006':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342829':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861350004':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861350005':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342284':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861350992':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861350993':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861342280':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861337298':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861337299':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861337294':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861337295':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861337296':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861337297':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861337290':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861337291':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861337292':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861337293':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861338071':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861338070':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861338073':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861338072':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861338075':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861338074':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861338077':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861338076':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861338079':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861338078':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861333310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861341970':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861334400':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861334401':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861334402':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861334403':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861341972':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861341973':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861341974':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861348633':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861341975':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861333575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861333574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861333577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861333576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861333571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861333570':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861333573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861333572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861342940':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861342941':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861342942':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861341977':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861333579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861333578':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861342946':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861342947':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'86134389':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86134388':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86134381':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86134380':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86134383':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86134382':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861348818':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348819':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348814':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348815':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348816':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861348817':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861348810':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348811':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348812':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348813':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86134889':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861341579':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861341577':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861347572':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861339036':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861339037':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861339034':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861339035':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861339032':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861339033':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861339030':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861339031':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861339038':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861339039':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861333212':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'86135122':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'861333993':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861333992':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861333991':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861333990':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861333997':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861333996':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861333995':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861333994':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861333999':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861333998':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861333213':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'86135123':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86133814':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133815':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133816':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133817':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133810':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133811':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133812':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133813':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133818':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133819':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861347573':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861333216':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861333217':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861344450':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344451':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344452':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344453':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344454':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344455':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861344456':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344457':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861344458':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344459':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335627':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861335626':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861335625':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861335624':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861335623':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861335622':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861335621':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861335620':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861335629':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861335628':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861350433':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350925':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861350924':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861350927':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861350926':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861337669':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861337668':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861350923':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861350922':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861337665':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861337664':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861337667':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861337666':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861337661':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861337660':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861337663':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861337662':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861343154':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861334615':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861343156':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861343157':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861343150':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861343151':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861343152':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861343153':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861343158':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861343159':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861350414':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861350417':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861333748':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861333749':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861333746':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861333747':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861333744':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861333745':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861333742':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861333743':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861333740':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861333741':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861337881':{'en': 'Jinghong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde')},
'861337880':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861337883':{'en': 'Lincang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e34\u6ca7\u5e02')},
'861337882':{'en': 'Luxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde')},
'861337885':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861337884':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861337887':{'en': 'Zhongdian, Yunnan', 'zh': u('\u4e91\u5357\u7701\u8fea\u5e86\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861337886':{'en': 'Liuku, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6012\u6c5f\u5088\u50f3\u65cf\u81ea\u6cbb\u5dde')},
'861337889':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861337888':{'en': 'Lijiang, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4e3d\u6c5f\u5e02')},
'86134582':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861334129':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861334128':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861334127':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861334126':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861334125':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861336114':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861334124':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861336443':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861339403':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861336116':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861339402':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861338688':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861336441':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861334121':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861338682':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861338683':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861338680':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861338681':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861338686':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861338687':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861338684':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861338685':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861336444':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336445':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861350329':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861334211':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861334210':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861334213':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861334212':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861334215':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861334214':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861334217':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861334216':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861334219':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861334218':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861339629':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861339628':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861335311':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'86133482':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861335310':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861335317':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'86133489':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86133488':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861350586':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861335640':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861338530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861338531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861338532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861338533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861338534':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861335315':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861338536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861338537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861338538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861338539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861335314':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'86134585':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861350230':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861339487':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861339486':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861339485':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861339484':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861339951':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861339950':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861339481':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861339952':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'86134591':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'86134592':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'86134593':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861339959':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861339958':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861339489':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861339488':{'en': 'Ulan Hot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u6d69\u7279\u5e02')},
'861350589':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861350588':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861348551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861348550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861348553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861348552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861348555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861348554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861335108':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861335109':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335106':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861335107':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861335104':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861335105':{'en': 'Shuangyashan, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u53cc\u9e2d\u5c71\u5e02')},
'861335102':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335103':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861335100':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335101':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861339706':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'86134628':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'86134629':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'86134626':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'86134627':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'86134624':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'86134625':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'86134622':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'86134623':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'86134620':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'86134621':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861350328':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861335866':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861346349':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861350903':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861350902':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861350901':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861346345':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861350907':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861339701':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861350906':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861338647':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861350904':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861336451':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336450':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336453':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861336452':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336455':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861336454':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336457':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861336456':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861336459':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336458':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861347567':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861345401':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861338644':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861345402':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861347561':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861345403':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861347560':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861335810':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861335811':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861335812':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861335813':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861335814':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861335815':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861335816':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861335817':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861335818':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861335819':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861340228':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861347510':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861338645':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861347512':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861347513':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861347514':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861347515':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861347516':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861347517':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861347518':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861347519':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861340225':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861340224':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861334715':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861338642':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861350020':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861350021':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861350022':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350023':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861350024':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861350025':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861350026':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861350027':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861350028':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861350029':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861338643':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861348407':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861334717':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861348406':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861348405':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861348404':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861348403':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861348402':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861338057':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861338056':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861338055':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861338054':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861338053':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861338052':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861338051':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861338050':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861348400':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861338059':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861338058':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861333344':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861350461':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'86134028':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861350055':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'86134020':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86134021':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86134025':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86134026':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86134027':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861343529':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861343528':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861343525':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861343524':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861343527':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861343526':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861343521':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861343520':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861343523':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861343522':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861342698':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861342699':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861342694':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861342695':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861342696':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861342697':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861342690':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861342691':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861342692':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861342693':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861334688':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861334689':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861334686':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861334687':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861334684':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861334685':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861334682':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861334683':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861334680':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861334681':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'86134363':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134362':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86134361':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86134360':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'86134367':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134366':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134365':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134364':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134369':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134368':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861338949':{'en': 'Wudu, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861338948':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861333559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861338238':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861338233':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861338232':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861338231':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861333550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861338945':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861333556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861338235':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861338234':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861339548':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861339549':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861339018':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861339019':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861339542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861339543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861339540':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861339541':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861339546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861339547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861339544':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861339545':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86135028':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861347125':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861347124':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'86133343':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86133347':{'en': 'Simao, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861339872':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u5e02')},
'861339705':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861339870':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861339707':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861334556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861339877':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861341578':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861339702':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861341574':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341575':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861341576':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861334555':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861341570':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341571':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341572':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341573':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861338655':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861333350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861338657':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861338872':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u5e02')},
'861338651':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861338650':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861338653':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861338652':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337247':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861335319':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861335318':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861335649':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861335648':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861337246':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861335645':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861335644':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861335647':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861335646':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861335641':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861335316':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861335643':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861335642':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861339341':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861337244':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861337243':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861337242':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861344285':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861350909':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861350908':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861337241':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861346348':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861344284':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861346346':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861346347':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861346344':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861337240':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861346342':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861346343':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861346340':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861346341':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861337643':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861337642':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861337641':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861337640':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861337647':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861337646':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861337645':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861337644':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340227':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861340226':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861337649':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861337648':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861340223':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861340222':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340221':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340220':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340229':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861344289':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344288':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861348379':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861348378':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861348375':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861348374':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861348377':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861348376':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861348371':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861348370':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861348373':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861348372':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861347169':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861347168':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861347161':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861347160':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861347163':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861347162':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861347165':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861347164':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861347167':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861347166':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861347129':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861333237':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'86133640':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861344028':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861334237':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861334236':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861334235':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861334234':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861334233':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861334232':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861334231':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861334230':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861334239':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861334238':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861338556':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5e02')},
'861338557':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5e02')},
'861338554':{'en': 'Duyun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u90fd\u5300\u5e02')},
'861338555':{'en': 'Kaili, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u51ef\u91cc\u5e02')},
'861338552':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861338553':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861338550':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861338551':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861338558':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861338559':{'en': 'Xingyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5174\u4e49\u5e02')},
'861339979':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5e02')},
'861339978':{'en': 'Kashi (Kaxgar), Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5e02')},
'861339973':{'en': 'Tachung (Qoqek), Xinjiang', 'zh': u('\u65b0\u7586\u5854\u57ce\u5e02')},
'861339972':{'en': 'Bole (Bortala), Xinjiang', 'zh': u('\u65b0\u7586\u535a\u4e50\u5e02')},
'861339971':{'en': 'Hami (Kumul), Xinjiang', 'zh': u('\u65b0\u7586\u54c8\u5bc6\u5e02')},
'861339970':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u5e02')},
'861339977':{'en': 'Kashi (Kaxgar), Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5e02')},
'861339976':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861339975':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861339974':{'en': 'Aleitai, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u52d2\u6cf0\u5e02')},
'861344755':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861344754':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340762':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861340763':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861340760':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861340761':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861340766':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861340767':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861340764':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861340765':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861344887':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861340768':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861340769':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861344883':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861335124':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861335125':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861335126':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861335127':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335120':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335121':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335122':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335123':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861335128':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335129':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861348579':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861348578':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861341905':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861335234':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861341907':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861341906':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861341901':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861341900':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861341903':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861335235':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861341909':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861335236':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861344087':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344086':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344085':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335237':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861344083':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861344082':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861337689':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861344080':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335982':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861344089':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335231':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861339209':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861339208':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861342662':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861350882':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u5e02')},
'861335232':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861339201':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861339200':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861339203':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861339202':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861339205':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861339204':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861339207':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861339206':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861350312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861350313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861350642':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861350816':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861350883':{'en': 'Gejiu, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861350643':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861350316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861350317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861335780':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861335781':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861335782':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861335783':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861335784':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861335785':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861335786':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861335787':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861335788':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861335789':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861350647':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861347752':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861347753':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861347750':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861347751':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861347756':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861347757':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861347754':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861347755':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861347758':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861347759':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'86134866':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336477':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861336476':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861336475':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u5e02')},
'861336474':{'en': 'Kashi (Kaxgar), Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5e02')},
'861336473':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5e02')},
'861336472':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5e02')},
'861336471':{'en': 'Yining, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861336470':{'en': 'Kalamayi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'86134860':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336479':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861336478':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861350222':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861350223':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861350220':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861350221':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861350226':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86134862':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861350224':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350225':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861350228':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861350229':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861335876':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861335877':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861335874':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861335875':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861335872':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861335873':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861335870':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861335871':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861335878':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861335879':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861347576':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861347577':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861347574':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861347575':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861336789':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861336788':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861347570':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861347571':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861336785':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861336784':{'en': 'Hezhou, Guangxi', 'zh': u('\u5e7f\u897f\u8d3a\u5dde\u5e02')},
'861336787':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861336786':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861336781':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861336780':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861336783':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861336782':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'86134700':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861350046':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861350047':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861350044':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861350045':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861350042':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861350043':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861350040':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861350041':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861350048':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861350049':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'86134357':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86134706':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861337258':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861337259':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861346487':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861346486':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861346481':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861346480':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861346483':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861346482':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861337250':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337251':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337252':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337253':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337254':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337255':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337256':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337257':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337786':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861337787':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861337784':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861337785':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861337782':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861337783':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861337780':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861337781':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861337788':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861337789':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861346629':{'en': 'Gejiu, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861346628':{'en': 'Gejiu, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861346159':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861346158':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861346153':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861346152':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861346151':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861346150':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861346157':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861346156':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861346155':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861346154':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'86134008':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86134009':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'86134006':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'86134007':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'86134005':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861351319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861351318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861351311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861351310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861351313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861351312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861351315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861351314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861351317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861351316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'86135059':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86134349':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'86134348':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134341':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134340':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134343':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134342':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134345':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134344':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134347':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134346':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861347788':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861350531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861339788':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861339789':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861339784':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861339785':{'en': 'Guigang, Guangxi', 'zh': u('\u5e7f\u897f\u8d35\u6e2f\u5e02')},
'861339786':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861339787':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861339780':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861339781':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861339782':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861339783':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861338783':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861338782':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861338781':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861338780':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861338787':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861338786':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861338785':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861338784':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861338789':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861338788':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861334000':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861334001':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861334002':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861339563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861334004':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861339565':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861334006':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861334007':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861334008':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861334009':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'86133582':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861350534':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861345549':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861345548':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861345541':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861345540':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861345543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861345542':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861345545':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861345544':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861345547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861345546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861334734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'86133369':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86133366':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86133364':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86133360':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86133361':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861334735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861350693':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861350692':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861350691':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861350690':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861350697':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861350696':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861350695':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861350694':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861350699':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861350698':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861344148':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344149':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344142':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344143':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344140':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861344141':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344146':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344147':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344144':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344145':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335663':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861335662':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861335661':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861335660':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861335667':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861335666':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861335665':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861335664':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861348748':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861348749':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861335669':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861335668':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861338958':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861339601':{'en': 'Xiantao, Hubei', 'zh': u('\u6e56\u5317\u7701\u4ed9\u6843\u5e02')},
'861333239':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861346364':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861346365':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861346366':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861346367':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861346360':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861346361':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861346362':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861346363':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861346368':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861346369':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861339600':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861340245':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861340244':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861340247':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861340246':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861340241':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861340240':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861340243':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861340242':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861340249':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861340248':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861333849':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861333848':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861333547':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861333841':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861333840':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861333843':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861333842':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861333845':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861333844':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861333847':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861333846':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861338954':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861333543':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861348353':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861348352':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861348351':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861348350':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861348357':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861348356':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861348355':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861342998':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861348359':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861348358':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861339579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861339578':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861336864':{'en': 'Duyun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u90fd\u5300\u5e02')},
'861336865':{'en': 'Kaili, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u51ef\u91cc\u5e02')},
'861336310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861336311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861336860':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861336861':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861336862':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861336863':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861336318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861336319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861336868':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861336869':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861339574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861336769':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861339573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861336768':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861339572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861339571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861339570':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861336765':{'en': 'Guigang, Guangxi', 'zh': u('\u5e7f\u897f\u8d35\u6e2f\u5e02')},
'861336764':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861348594':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861346029':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861348597':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861346028':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861342243':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861342242':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861342241':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861342240':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861342247':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861342246':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861342245':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861342244':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861342249':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861342248':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861348591':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861348590':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861334259':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861334258':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861334255':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861334254':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861334257':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861334256':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861334251':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861334250':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861334253':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861334252':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861348593':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861338578':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861338579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861338574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861338575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861338576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861338577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861338570':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861338571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861338572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861338573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861348592':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861339991':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861339990':{'en': 'Kalamayi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'861339993':{'en': 'Shihezi, Xinjiang', 'zh': u('\u65b0\u7586\u77f3\u6cb3\u5b50\u5e02')},
'861339992':{'en': 'Kuytun, Xinjiang', 'zh': u('\u65b0\u7586\u594e\u5c6f\u5e02')},
'861339995':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5e02')},
'861339994':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u5e02')},
'861339997':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5e02')},
'861339996':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861339999':{'en': 'Yining, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861339998':{'en': 'Kashi (Kaxgar), Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5e02')},
'861346022':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86134891':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861341929':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861341928':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'86134890':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861341923':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861341922':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861341921':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861341920':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861341927':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861341926':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861341925':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861341924':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'86134892':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86134895':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86134894':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861344223':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861340319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861344222':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861340318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861344221':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134899':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861344220':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134898':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861344227':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861340315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861344226':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861337738':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861344225':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861344670':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344224':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861344671':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861340748':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861340749':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861344672':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861340740':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861340741':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861340742':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861340743':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861340744':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861340745':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861340746':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861340747':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861347778':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861347779':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861344228':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861347770':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861347771':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861347772':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861347773':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861347774':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861347775':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861347776':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861347777':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861336419':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861336418':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861336415':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861336414':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861336417':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861336416':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861336411':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861336410':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861336413':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861336412':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861348577':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861348576':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861348575':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861348574':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861348573':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'8613374':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861350730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861348572':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861342834':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861348571':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861342835':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861348570':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861333624':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861342836':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861342837':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861342830':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861342831':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861350068':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861342832':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861350064':{'en': 'Jining, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u5bdf\u5e03\u5e02')},
'861350065':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861333627':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861342833':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861350060':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861350061':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861350062':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861350063':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861337711':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861348361':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861337710':{'en': 'Fangchenggang, Guangxi', 'zh': u('\u5e7f\u897f\u9632\u57ce\u6e2f\u5e02')},
'861337238':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861337239':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861337236':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861337237':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861337234':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861337235':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861337232':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861337233':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861337230':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861337231':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861335858':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861335859':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861335854':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861335855':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861335856':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861335857':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861335850':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861335851':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861335852':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861335853':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'86134065':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86134066':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861341904':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'86134646':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'86134647':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861351339':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861351338':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861351337':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861351336':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861351335':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861351334':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861351333':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861351332':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861351331':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86134641':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'86134642':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861341902':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'86134329':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'86134328':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'86134326':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134325':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'86134324':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'86134323':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'86134322':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'86134321':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86134320':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861334069':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861341908':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861339762':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861339763':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861339760':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861339761':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861339766':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861339767':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861339764':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861339765':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861339768':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861339769':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861344084':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861344081':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861342658':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861342659':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861342650':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861342651':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861342652':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861342653':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861342654':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861342655':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861342656':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861342657':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861339506':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861339507':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861339504':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861339505':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861334062':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861339503':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861334060':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861339501':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861334068':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861339509':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'86133560':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'86133561':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861351381':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'86133567':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86133569':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861344088':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861348759':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861347090':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861351388':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861351389':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861344890':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348758':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861347096':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861348757':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861334714':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861348756':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861344388':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344389':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344384':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861344385':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344386':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344387':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344380':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344381':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344382':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344383':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861344893':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861348755':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861344894':{'en': 'Wudu, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861348754':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861344160':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344161':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861344162':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861344163':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861344164':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344165':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344166':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344167':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344168':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344169':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861348726':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861348727':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861348724':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861348725':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861348722':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861348723':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861348720':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861348721':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861348728':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861348729':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861333545':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861348751':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861333869':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333868':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333867':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333866':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333865':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333864':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333863':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861333862':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861333861':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861333860':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861334526':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861348750':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861336338':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861336339':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347127':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861347126':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861347121':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861347120':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861347123':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861347122':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861336330':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861336331':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861336332':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861336333':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861336334':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861336335':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861336336':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861336337':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861346838':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861346839':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861347511':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861346830':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861346831':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861346832':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861346833':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861346834':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861346835':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861346836':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861346837':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'86134149':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861339905':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5e02')},
'86134143':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134142':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861334130':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'86134140':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861350889':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861334131':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86134147':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861334132':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'86134146':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861344151':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861334133':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'86134145':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861344150':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861339414':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861344153':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861339415':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861344152':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861334136':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861344155':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861334137':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861344154':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861337579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861337578':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861344157':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861339419':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861337571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861337570':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861337573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861337572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861337575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861337574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861337577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861337576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861333678':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861333679':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861333672':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861333673':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861333670':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861333671':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861333676':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861333677':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861333674':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861333675':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861334273':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861334900':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861334903':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861334902':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861334905':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861334276':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861334907':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861334274':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861334909':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861334908':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861334279':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861334278':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861335304':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861335305':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861335654':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861338592':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861338593':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861338590':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861338591':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861338596':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861338597':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861338594':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861338595':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861335652':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861338598':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861338599':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861335653':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861335650':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861335651':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861350227':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861348533':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861348532':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861348531':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861348530':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861348537':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861348536':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861348535':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861348534':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861348539':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861348538':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86134681':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861333336':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861333540':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861339245':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861339244':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861339247':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861339246':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861339241':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861339240':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861339243':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861339242':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861350918':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861339249':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861339248':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350919':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'86134451':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86133799':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86133798':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86134450':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86133792':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86133790':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'86134453':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861350914':{'en': 'Shangzhou, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'86134452':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861346808':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86134454':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861336433':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861336432':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336431':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336430':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336437':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861336436':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861336435':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861336434':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861341417':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861341416':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861336439':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861336438':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861341413':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861341412':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861341411':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861341410':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861337654':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861350268':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861340231':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861350266':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861350267':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861350264':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861350265':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861350262':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861337656':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861350260':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861350261':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861337657':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861337650':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861351116':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861340235':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861337652':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861340237':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861344599':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344598':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861350080':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350081':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350086':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861336534':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861350084':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861350085':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861344591':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344590':{'en': 'Shangzhou, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861344593':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344592':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344595':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344594':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344597':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344596':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861347578':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861347579':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861336535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861346441':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861346440':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861346443':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861346442':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861346445':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861346444':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861346447':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861346446':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861346449':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861346448':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861346995':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861346994':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861346993':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861346992':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861346991':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861346990':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861337742':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861337743':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861337740':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861337741':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861337746':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861337747':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861337212':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861337745':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861337748':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861337749':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861337218':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861337219':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861346197':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861346196':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861346195':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861346194':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861346193':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861346192':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861346191':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861346190':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'86134047':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861346199':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861346198':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861333542':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861351355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861351354':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861351357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861351356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861351351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861351350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861351353':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861351352':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861350412':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861351359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861351358':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861335233':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'86134305':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134304':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134307':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134306':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134301':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'86134300':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'86134303':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134302':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134309':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134308':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861334596':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861333544':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861334594':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861334595':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861334592':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861334593':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861334590':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861334591':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861334598':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861334599':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861337966':{'en': 'Xingyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5174\u4e49\u5e02')},
'861337967':{'en': 'Xingyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5174\u4e49\u5e02')},
'861337964':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5e02')},
'861337965':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5e02')},
'861337962':{'en': 'Duyun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u90fd\u5300\u5e02')},
'861337963':{'en': 'Kaili, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u51ef\u91cc\u5e02')},
'861337960':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861337961':{'en': 'Duyun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u90fd\u5300\u5e02')},
'861337968':{'en': 'Xingyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5174\u4e49\u5e02')},
'861337969':{'en': 'Xingyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5174\u4e49\u5e02')},
'861338299':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861338298':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861338295':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861338294':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861338297':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861338296':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861338291':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861338290':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861338293':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861338292':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861334581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861348778':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861333546':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861345361':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861345360':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861345363':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861345362':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861345365':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861345364':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861345367':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861345366':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861345369':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861345368':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861334580':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'86133540':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86133549':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861339748':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861339749':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861339740':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861339741':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861339742':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861339743':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861339744':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861339745':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861339746':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861339747':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861345505':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861345504':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'86133328':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86133329':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86133898':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'86133899':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'861345503':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861345502':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'86133322':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86133320':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'861348369':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86133326':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861345508':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'86133892':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861338439':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861338438':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861348367':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861338431':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861338430':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861338433':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861338432':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861338435':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861338434':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861338437':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861338436':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861339847':{'en': 'Xichang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u897f\u660c\u5e02')},
'861339846':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861339845':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861348363':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861334738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861334739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861334048':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861339529':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861339524':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861339843':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861334730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861339527':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861339520':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861339521':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861339522':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861339523':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861346485':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861339841':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861346484':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861339840':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861338646':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861338863':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861338860':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861338861':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861338866':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861338867':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861339849':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861338865':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861346489':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861346488':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861348708':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861348709':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861348704':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861348705':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861348706':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861348707':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861348700':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861348701':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861348702':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861348703':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861336876':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u5e02')},
'861350057':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861344292':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335428':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861333805':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333804':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333807':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861333806':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861333801':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333800':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333803':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333802':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861333809':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861333808':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861333522':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861334120':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861335959':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335958':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861335426':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861335951':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335950':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335953':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861335952':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335955':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335954':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335957':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335956':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861333523':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861347458':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861344298':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861347451':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347450':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347453':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861344299':{'en': 'Tachung (Qoqek), Xinjiang', 'zh': u('\u65b0\u7586\u5854\u57ce\u5e02')},
'861347455':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861347454':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861347457':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861347456':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861336358':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'861336359':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861336356':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861336357':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861336354':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861336355':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861336352':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861336353':{'en': 'Yangquan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u9633\u6cc9\u5e02')},
'861336350':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861336351':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861346858':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861346859':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861346856':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861346857':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861346854':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861346855':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861346852':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861346853':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861346850':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861346851':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861337636':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861333521':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861348776':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861337637':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861333526':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861339595':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861339594':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861339597':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861339596':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861333527':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861339591':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861339590':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861346621':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861336978':{'en': 'GeErmu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861336979':{'en': 'Golmud, Qinghai', 'zh': u('\u9752\u6d77\u7701\u683c\u5c14\u6728\u5e02')},
'861339593':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861346620':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861336972':{'en': 'PingAn, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861336973':{'en': 'Tongren, Qinghai', 'zh': u('\u9752\u6d77\u7701\u9ec4\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861336970':{'en': 'Haiyan, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5317\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861339592':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861336976':{'en': 'GeErmu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861336977':{'en': 'GeErmu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861336974':{'en': 'Gonghe, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861336975':{'en': 'PingAn, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u4e1c\u5730\u533a')},
'861346622':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861333524':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861346625':{'en': 'Gejiu, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861346624':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861346627':{'en': 'Gejiu, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861337559':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861337558':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861337557':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861337556':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861337555':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861337554':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861337553':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861337552':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861337551':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861337550':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861333650':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861333651':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861333652':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861333653':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861333654':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861333655':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861333656':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861333657':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861333658':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861333659':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'86135083':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861334927':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861334926':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861334925':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861334924':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861334923':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861334922':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861334921':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861334920':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861334929':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861334928':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861343738':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861343739':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861343730':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861343731':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861343732':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861343733':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861343734':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'861343735':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861343736':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861343737':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861342179':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861342178':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861342171':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861342170':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861342173':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861342172':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861342175':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861342174':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861342177':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861342176':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861335313':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861344030':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861344031':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'86134515':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86134516':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86134517':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'86134518':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861335312':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861347038':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861334044':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861334045':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861343278':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861345198':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861345199':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861345192':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861345193':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861345190':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861345191':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861345196':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861345197':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861345194':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861345195':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861350327':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861350326':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861350325':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861340704':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861340705':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861340706':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861340707':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861340700':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861340701':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861340702':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861340703':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861334047':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861340708':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861340709':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861350630':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861347734':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861347735':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861347736':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861343272':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861347730':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861347731':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861347732':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861347733':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'86135003':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861350632':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861347738':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861347739':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86135007':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861343274':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861340911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861334040':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861340913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861350244':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350245':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350246':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861340912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861350240':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350241':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350242':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861350243':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861340915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861350538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861350539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861350248':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861350249':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861340914':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861334041':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861340916':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861350634':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861339829':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861334545':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861335722':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861335723':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861335720':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861335721':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861335726':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861335727':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861335724':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861335725':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861335098':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861335099':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861335728':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861335729':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861338836':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861350636':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861337768':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861337769':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861337760':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861337761':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861337762':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861337763':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861337764':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861337765':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861337766':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861337767':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861335898':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861335899':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861335890':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861335891':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861335892':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861335893':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861335894':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861335895':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861335896':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861335897':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861335546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861335547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861335544':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861335545':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861335542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861335543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861335540':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861335541':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861335548':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861335549':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861351379':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861351378':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861351373':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861350633':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861351371':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861351370':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861351377':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861351376':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861351375':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861351374':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861334548':{'en': 'Yining, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861348762':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861345343':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861336019':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861336018':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861336011':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861336010':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861336013':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861336012':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861336015':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861336014':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861336017':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861336016':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861337948':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861337949':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861345342':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861337944':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861337945':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861337946':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861337947':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861337940':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861337941':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861337942':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861337943':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861350575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861339334':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861345347':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861345346':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861345345':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861345344':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86133528':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86133529':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861345341':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861345340':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86133524':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86133526':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86133520':{'en': 'Tianjin', 'zh': u('\u5929\u6d25\u5e02')},
'86133522':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861345348':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861350639':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861339728':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861339729':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861339726':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861339727':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861339724':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861339725':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861339722':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861339723':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861339720':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861339721':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861338419':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861338418':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'861338417':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861338416':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861338415':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861338414':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861338413':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861338412':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861338411':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861338410':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861339094':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861339095':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861339096':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861339097':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861339090':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861339091':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861339092':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861339093':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861334718':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861334719':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861339098':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861339099':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861350874':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'86134728':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86134722':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86134721':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86134727':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86134726':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86134725':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86134724':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861344128':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861344129':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861344124':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344125':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344126':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344127':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344120':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344121':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344122':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344123':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861335393':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861335392':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861335391':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861335390':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861335397':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861335396':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861335395':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861335394':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861335399':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861335398':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861348332':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861333829':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861333828':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861333823':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861333822':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861333821':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861333820':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861333827':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861333826':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861333825':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861333824':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861345839':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861345838':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861345831':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861345830':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861345833':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861345832':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861345835':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861345834':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861345837':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861345836':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861339560':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861335979':{'en': 'Qitaihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4e03\u53f0\u6cb3\u5e02')},
'861339561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861335977':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861335976':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861335975':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335974':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335973':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861339562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861335971':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335970':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861334003':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861347479':{'en': 'Xilinhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u6d69\u7279\u5e02')},
'861347478':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861347477':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861339564':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861347475':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861347474':{'en': 'Xilinhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u6d69\u7279\u5e02')},
'861347473':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861347472':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861347471':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861334005':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861336994':{'en': 'Changji, Xinjiang', 'zh': u('\u65b0\u7586\u660c\u5409\u5e02')},
'861339566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861336995':{'en': 'Turpan, Xinjiang', 'zh': u('\u65b0\u7586\u5410\u9c81\u756a\u5e02')},
'861339567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861336772':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861346874':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861339568':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861346876':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861336997':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5e02')},
'861346870':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346871':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346872':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861339569':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861350767':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861336990':{'en': 'Kalamayi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'861350765':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861350764':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861346878':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861346879':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861350761':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861336775':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861336992':{'en': 'Kuytun, Xinjiang', 'zh': u('\u65b0\u7586\u594e\u5c6f\u5e02')},
'861336777':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'861340953':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861336950':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861336951':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861336952':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861336953':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861336954':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861336955':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861336956':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861336957':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861336958':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861336959':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861334302':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861337535':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861337534':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861337537':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861337536':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861337531':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861337530':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861337533':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861337532':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861337539':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861337538':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861333636':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861333637':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861333634':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861333635':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861333632':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861333633':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861333630':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861333631':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861333638':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861333639':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861334949':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861334948':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861334945':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861334944':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861334947':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861334946':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861334941':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861334940':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861334943':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861334942':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861343758':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861343759':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861343756':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861343757':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861339394':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861343755':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861343752':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861343753':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861343750':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861343751':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861350398':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861350399':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861350982':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134537':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'86134535':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'86134532':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'86134531':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'86134538':{'en': 'Lishi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5415\u6881\u5e02')},
'86134539':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861350392':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861341976':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861334369':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861334368':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861334361':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861334360':{'en': 'Shangqiu, Henan', 'zh': u('\u6cb3\u5357\u7701\u5546\u4e18\u5e02')},
'861334363':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861334362':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861334365':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861334364':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861334367':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861334366':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861341989':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861341988':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861341985':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861341984':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861341987':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861341986':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861341981':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861341980':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861341983':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861341982':{'en': 'Sanmenxia, Henan', 'zh': u('\u6cb3\u5357\u7701\u4e09\u95e8\u5ce1\u5e02')},
'861344683':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861344684':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861344234':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344687':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861344235':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861338934':{'en': 'Xifeng, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861341185':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861341184':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341187':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861341186':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861341181':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341180':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341183':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341182':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861344230':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861341189':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861341188':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344231':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861344232':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861344233':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861348561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861351153':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861351152':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861348564':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861351151':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861348565':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861350518':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861350519':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861351150':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861348566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861350510':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861350511':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861350512':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861348567':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861350514':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861350515':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861350516':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861350517':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861351155':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861351154':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861351159':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861351158':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861335708':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861335709':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861335700':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861335701':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861335702':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861335703':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861335704':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861335705':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861335706':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861335707':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861346409':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861346408':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861346405':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861346404':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861346407':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861346406':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861346401':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861346400':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861346403':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861346402':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861340328':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861340329':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861346980':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861337708':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861337709':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861337706':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861337707':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861337704':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861337705':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861337702':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861337703':{'en': 'Hezhou, Guangxi', 'zh': u('\u5e7f\u897f\u8d3a\u5dde\u5e02')},
'861337700':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861337701':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861348765':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861335568':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861335569':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861335564':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861335565':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861335566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861335567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861335560':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861335561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861335562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861335563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'86134086':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86134087':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'86134084':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86134085':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86134080':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'86134089':{'en': 'Gejiu, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861351391':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861351390':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861351393':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861351392':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861351395':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861351394':{'en': 'Puyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6fee\u9633\u5e02')},
'861351397':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861351396':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861351399':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861351398':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'86134655':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861350674':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861347318':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861347319':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861347312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861347313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861347310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861347311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861347317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861347314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861347315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861341918':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861336039':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861336038':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861336037':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861336036':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861336035':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861336034':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861336033':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861336032':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861336031':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861336030':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86133503':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861350986':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861334552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861334553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861334550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861334551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861339700':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861334557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861334554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861339703':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861334558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861334559':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861339708':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861339709':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861338475':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861338474':{'en': 'Ulan Hot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u6d69\u7279\u5e02')},
'861338477':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861338476':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861338471':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861338470':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861338473':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861338472':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861338479':{'en': 'Xilinhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u6d69\u7279\u5e02')},
'861338478':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861334088':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861334089':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861334080':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861334081':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861334082':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861334083':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861334084':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861334085':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861334086':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861334087':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861334776':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861334777':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861334774':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861334775':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861334772':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861334773':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861334770':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861334771':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861350653':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861334778':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861334779':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861344328':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344329':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861344326':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344327':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344324':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344325':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344322':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344323':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344320':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344321':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861350652':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350759':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861342999':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861341840':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341841':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341842':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341843':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341844':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341845':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861341846':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861341847':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861341848':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861341849':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861344494':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344495':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344496':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344497':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344490':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861344491':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344492':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344493':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344498':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344499':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861346983':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861342995':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861342994':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861347671':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861347670':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861347673':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861347672':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861347675':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861347674':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861347677':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861347676':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861347679':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861347678':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861345819':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861345818':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861345817':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861345816':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861345815':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861345814':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861345813':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861345812':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861345811':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861345810':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861335915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861335914':{'en': 'Shangzhou, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861335917':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861335916':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861335911':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861335910':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861335913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861335912':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861335919':{'en': 'Tongchuan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u94dc\u5ddd\u5e02')},
'861335918':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347415':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347414':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861347417':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347416':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347411':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347410':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347413':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347412':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347419':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861347418':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861350705':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861350704':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861350707':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861350706':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861350701':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861350700':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861350703':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861350702':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861350709':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861350708':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'86134176':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'86134177':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'86134174':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861339397':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'86134175':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861339464':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'86134172':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861339395':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'86134173':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861336936':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861336937':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861336934':{'en': 'Xifeng, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861336935':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861336932':{'en': 'Dingxi, Gansu', 'zh': u('\u7518\u8083\u7701\u5b9a\u897f\u5e02')},
'861336933':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861336930':{'en': 'Linxia, Gansu', 'zh': u('\u7518\u8083\u7701\u4e34\u590f\u5e02')},
'861336931':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861339393':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'86134171':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861336938':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861336939':{'en': 'Wudu, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'861337519':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861337518':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861339463':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861337513':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861337512':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861337511':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861337510':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861337517':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861337516':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861337515':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861337514':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861348740':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861348741':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861348742':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861334963':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861334962':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861334961':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861334960':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861334967':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861334966':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861334965':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861334964':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861348744':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861334969':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861334968':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861348745':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861348746':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861342945':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861348747':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861347948':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861345143':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86134556':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86134552':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861344099':{'en': 'Kalamayi, Xinjiang', 'zh': u('\u65b0\u7586\u514b\u62c9\u739b\u4f9d\u5e02')},
'861338868':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861338869':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861338648':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861338649':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861333342':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861333343':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861333340':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861333341':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861333346':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861333347':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861338640':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861338641':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'86134908':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861350010':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861344090':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344091':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344092':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344093':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861344094':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344095':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861344096':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344097':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861347548':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861340838':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861340839':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861340836':{'en': 'Xichang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861340837':{'en': 'MaErkang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'861340835':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861340832':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861340833':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861340830':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861340831':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861347542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'86134986':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861350578':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861350579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861350576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861350577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861347544':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861350572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861350573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861350570':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861350571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861350017':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861350016':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861336795':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861348489':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861348488':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348487':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861348486':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861348485':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861348484':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348483':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348482':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348481':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348480':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861344042':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861348467':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346931':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861346930':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861346933':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861346932':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861346935':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861346934':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861346937':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861346936':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861346939':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861346938':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861350390':{'en': 'Nanyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5357\u9633\u5e02')},
'861350391':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861350396':{'en': 'Zhumadian, Henan', 'zh': u('\u6cb3\u5357\u7701\u9a7b\u9a6c\u5e97\u5e02')},
'861350397':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861350394':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861350395':{'en': 'Luohe, Henan', 'zh': u('\u6cb3\u5357\u7701\u6f2f\u6cb3\u5e02')},
'861337724':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861337725':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861337726':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861337727':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'861337720':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861337721':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861337722':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861337723':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861344688':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861344041':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861337728':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861337729':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861335582':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861335583':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861335580':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861335581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861335586':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861335587':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861335584':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861335585':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861335588':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861335589':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861344040':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861346687':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861346686':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861346685':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861346684':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861346683':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861346682':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861346681':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861346680':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861350409':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861346689':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861346688':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861350406':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861348038':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861348039':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861348036':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861348037':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861348034':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861348035':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861348032':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861348033':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861348030':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861348031':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861347088':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861347089':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861347082':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861347083':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861347080':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861347081':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861347086':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861347087':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861347084':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861347085':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861336589':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861336588':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861336587':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861336586':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861336585':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861336584':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861336583':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861336582':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861336581':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861336580':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861347330':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861347331':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861347332':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861347333':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861347334':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861347335':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347336':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861347337':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347338':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347339':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861336055':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861336054':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861336057':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861336056':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861336051':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861336050':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861336053':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861336052':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861336059':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861336058':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861339858':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861334579':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861334578':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861339859':{'en': 'Xingyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5174\u4e49\u5e02')},
'861339850':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861334571':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861339852':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861334573':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861334574':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861334575':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861334576':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861334577':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861334570':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861339851':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861334572':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861338329':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861338328':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861338459':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861338458':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861338321':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861338320':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861338323':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861338322':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861338325':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861338324':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861338327':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861338326':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861339856':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5e02')},
'861339857':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5e02')},
'861334758':{'en': 'Hezhou, Guangxi', 'zh': u('\u5e7f\u897f\u8d3a\u5dde\u5e02')},
'861334759':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861339588':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861339589':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861339586':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861334755':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861334756':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861334757':{'en': 'Guigang, Guangxi', 'zh': u('\u5e7f\u897f\u8d35\u6e2f\u5e02')},
'861334750':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861334751':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861334752':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861334753':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861345303':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861345302':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861345301':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861345300':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861345307':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861345306':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861345305':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861345304':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861345309':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861345308':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861338675':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861338674':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861338857':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861338856':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861338679':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861338678':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861338853':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861338852':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86134766':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'86134763':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861338851':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'86134761':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86134760':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861338850':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861339328':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861339329':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861350675':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861339322':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861339323':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861339320':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861339321':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861339326':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861339327':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861339324':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861339325':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861336312':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861336313':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861336866':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861338453':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861336867':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5e02')},
'861338452':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861336316':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861338451':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861336317':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861338450':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861336314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861338457':{'en': 'Jiagedaqi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'861336315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861338456':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861347657':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861347656':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861347655':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861347654':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861347653':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861338455':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861347651':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861347650':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861338454':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861347659':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861347658':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'86133928':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861345874':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861345877':{'en': 'Xichang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861345876':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861345871':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861345870':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861345873':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861345872':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'86133922':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86133923':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861345879':{'en': 'Xichang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861345878':{'en': 'Xichang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'86133926':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350147':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350146':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861350145':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861350144':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861350143':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861350142':{'en': 'Chaozhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6f6e\u5dde\u5e02')},
'861350141':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861350140':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861350499':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861350498':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861350149':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'861350148':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861347439':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861347438':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861347433':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861347432':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861347431':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861347430':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861347437':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347436':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347435':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861347434':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861350729':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861350728':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861350723':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861350722':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861350721':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861350720':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861350727':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861350726':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861350725':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861350724':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861349538':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349539':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349530':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349531':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349532':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349533':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349534':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349535':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349536':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861349537':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861334754':{'en': 'Hezhou, Guangxi', 'zh': u('\u5e7f\u897f\u8d3a\u5dde\u5e02')},
'861335939':{'en': 'Jiuquan, Gansu', 'zh': u('\u7518\u8083\u7701\u9152\u6cc9\u5e02')},
'861335938':{'en': 'Tianshui, Gansu', 'zh': u('\u7518\u8083\u7701\u5929\u6c34\u5e02')},
'861339587':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861335933':{'en': 'Pingliang, Gansu', 'zh': u('\u7518\u8083\u7701\u5e73\u51c9\u5e02')},
'861335932':{'en': 'Baiyin, Gansu', 'zh': u('\u7518\u8083\u7701\u767d\u94f6\u5e02')},
'861335931':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861335930':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u91d1\u660c\u5e02')},
'861335937':{'en': 'Jiayuguan, Gansu', 'zh': u('\u7518\u8083\u7701\u5609\u5cea\u5173\u5e02')},
'861335936':{'en': 'Zhangye, Gansu', 'zh': u('\u7518\u8083\u7701\u5f20\u6396\u5e02')},
'861335935':{'en': 'Jinchang, Gansu', 'zh': u('\u7518\u8083\u7701\u6b66\u5a01\u5e02')},
'861335934':{'en': 'Xifeng, Gansu', 'zh': u('\u7518\u8083\u7701\u5e86\u9633\u5e02')},
'861339585':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861336918':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861336919':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861336914':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861336915':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861336916':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861336917':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861336910':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861336911':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861336912':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861336913':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861346748':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861346749':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861339580':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861346742':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861346743':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861346740':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861339581':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861346746':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861346747':{'en': 'Yongzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u6c38\u5dde\u5e02')},
'861346744':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861346745':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861337063':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861337062':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861337061':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861337060':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861337067':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861337066':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861337065':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861337064':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'86134169':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134168':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861337069':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861337068':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861347021':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861350324':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861347027':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'86134572':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'86134573':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'86134570':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'86134571':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'86134577':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'86134574':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'86134575':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'86134578':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'86134579':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861351308':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861338840':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861338665':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861338666':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861338667':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861338660':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861338661':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861338846':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861338663':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861338848':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861338849':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861338668':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861338669':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861334325':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861334324':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861334327':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861334326':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861334321':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861334320':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861334323':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861334322':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861334329':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861334328':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861351306':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861351307':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861342449':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861342448':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861342445':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861342444':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342447':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861342446':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861342441':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342440':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342443':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861342442':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861340910':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'86133717':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133716':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133719':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133718':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861340814':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861340815':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861340816':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861340817':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861340810':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861340811':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861340812':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861340813':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861340818':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861340819':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'86134841':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861350622':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861350623':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861350554':{'en': 'Huainan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5357\u5e02')},
'861340902':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861350556':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861350557':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861350550':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861350551':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861350552':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861340903':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861350558':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861340900':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861340901':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861340906':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861340907':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861350628':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861340905':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861340917':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'86134195':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'86134762':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861346917':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861346916':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861346915':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861346914':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861346913':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861346912':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861346911':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861346910':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861350808':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861350809':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861337200':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861346919':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861346918':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861340366':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861340367':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861340364':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861340365':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861340362':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861340363':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861340360':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861340361':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861348173':{'en': 'Fangchenggang, Guangxi', 'zh': u('\u5e7f\u897f\u9632\u57ce\u6e2f\u5e02')},
'861348172':{'en': 'Fangchenggang, Guangxi', 'zh': u('\u5e7f\u897f\u9632\u57ce\u6e2f\u5e02')},
'861348171':{'en': 'Fangchenggang, Guangxi', 'zh': u('\u5e7f\u897f\u9632\u57ce\u6e2f\u5e02')},
'861348170':{'en': 'Fangchenggang, Guangxi', 'zh': u('\u5e7f\u897f\u9632\u57ce\u6e2f\u5e02')},
'861348177':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861348176':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861340368':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861340369':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861333968':{'en': 'Liupanshui, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u516d\u76d8\u6c34\u5e02')},
'861333969':{'en': 'Xingyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5174\u4e49\u5e02')},
'861333962':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861333963':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'861333960':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861333961':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861333966':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5e02')},
'861333967':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5e02')},
'861333964':{'en': 'Duyun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u90fd\u5300\u5e02')},
'861333965':{'en': 'Kaili, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u51ef\u91cc\u5e02')},
'861337206':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861336079':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861336078':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861336073':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861336072':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861336071':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861336070':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861336077':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861336076':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'861336075':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861336074':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861343189':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861343188':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861343187':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861343186':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861343185':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'861343184':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861343183':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861343182':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861343181':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861343180':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861333799':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861333798':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861333791':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861333790':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861333793':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861333792':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861333795':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861333794':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861333797':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861333796':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861334314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861334518':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861334519':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861334516':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861334517':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861334514':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861334515':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861334512':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861339833':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861334510':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861334511':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861337308':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861337309':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861337302':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861337303':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861337300':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861337301':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861337306':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861337307':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861337304':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861337305':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861338309':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861338308':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861338307':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861338306':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861338305':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861338304':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861338303':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861338302':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861338301':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861338300':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861346962':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861344067':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'86134296':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86134295':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'86134293':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86134292':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86134291':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86134290':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'86134298':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861344987':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861344984':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861344983':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861338975':{'en': 'GeErmu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861345589':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861345588':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861345585':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861345584':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861345587':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861345586':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861345581':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861345580':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861345583':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861345582':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861348784':{'en': 'Zhangjiajie, Hunan', 'zh': u('\u6e56\u5357\u7701\u5f20\u5bb6\u754c\u5e02')},
'861348785':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861348786':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861348787':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861348780':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861348781':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861348782':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861348783':{'en': 'Jishou, Hunan', 'zh': u('\u6e56\u5357\u7701\u5409\u9996\u5e02')},
'861348788':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861348789':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861339300':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861339301':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861339302':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861339303':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861339304':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861339305':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861339306':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861339307':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861339308':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861339309':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861333210':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861333211':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861338796':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861338797':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861333214':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861333215':{'en': 'Benxi, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u672c\u6eaa\u5e02')},
'861347989':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861347988':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861333889':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861333888':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861333885':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861333884':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861333887':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861338977':{'en': 'GeErmu, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861333881':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861333880':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861333883':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861333882':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861333218':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861347203':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861333219':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861344188':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344189':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344186':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344187':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861344184':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861344185':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344182':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344183':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861344180':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344181':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861338287':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861335489':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861335488':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861335483':{'en': 'Alashanzuoqi, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u963f\u62c9\u5584\u76df')},
'861335482':{'en': 'Wulanhaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5174\u5b89\u76df')},
'861335481':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861335480':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861335487':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861335486':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861335485':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861335484':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861345875':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861348491':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348492':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348493':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348494':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348495':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348496':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'86135110':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861348497':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861348498':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348499':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861350495':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861350494':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861350497':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861350496':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861342817':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861350491':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861350490':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861344236':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861350493':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861350492':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861338281':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861344237':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861333162':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333163':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861333160':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333161':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333166':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333167':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333164':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333165':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333168':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333169':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861346922':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861346923':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861346920':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861347981':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861346921':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861346926':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861346927':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861346924':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861346925':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861347980':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861333306':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861333307':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861333304':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861333305':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861333302':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861338823':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861338820':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861338821':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861333392':{'en': 'Hebi, Henan', 'zh': u('\u6cb3\u5357\u7701\u9e64\u58c1\u5e02')},
'861333308':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861338829':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861347987':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861343848':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861343849':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861343842':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861343843':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861343840':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861343841':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861343846':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861343847':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861343844':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861343845':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861344693':{'en': 'Xigaze, Xinjiang', 'zh': u('\u897f\u85cf\u65e5\u5580\u5219\u5e02')},
'861344690':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'86134797':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861344697':{'en': 'Gonghe, Qinghai', 'zh': u('\u9752\u6d77\u7701\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861345112':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861345113':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861345110':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861345111':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861345116':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861345117':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861345114':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861345115':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861345118':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861345119':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861347984':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861334659':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861334658':{'en': 'Yunfu, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e91\u6d6e\u5e02')},
'861334309':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861334308':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861334651':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861334650':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861334653':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861334652':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861334655':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861334654':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861334657':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861334304':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861351144':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861351145':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861347565':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861347564':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861351148':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861351149':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861335018':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861335019':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861340694':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340695':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340692':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340693':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861340690':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861340691':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861335010':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861335011':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861335012':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861335013':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861335014':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861335015':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861335016':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861335017':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861347566':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861341349':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861341348':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861341343':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861341342':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861341341':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861341340':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861341347':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861341346':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861341345':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861341344':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'86134820':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86134821':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861340438':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861340439':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861340348':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861340349':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'86134826':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86134827':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861340432':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861340345':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861340346':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861340431':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861340340':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861340341':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861340342':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861340435':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'86134669':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'86134804':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861333940':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861333941':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861333942':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861333943':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861333944':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861333945':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861333946':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861333947':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861333948':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861333949':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'86133324':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86134663':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861347563':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'86134660':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'86134666':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134667':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134598':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'86134664':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861347562':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'86134665':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861350828':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861350829':{'en': 'Kangding, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861351120':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861346979':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861346978':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861346975':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861346974':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861346977':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861346976':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861346971':{'en': 'Suizhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u968f\u5dde\u5e02')},
'861346970':{'en': 'Tianmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u5929\u95e8\u5e02')},
'861346973':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861346972':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'86134800':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861351121':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861347378':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347379':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347374':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347375':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347376':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347377':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347370':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861347371':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861347372':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861347373':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861336091':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861336090':{'en': 'Shaoguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u97f6\u5173\u5e02')},
'861336093':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861336092':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861336095':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861336094':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861336097':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861336096':{'en': 'Meizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6885\u5dde\u5e02')},
'861336099':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861336098':{'en': 'Heyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6cb3\u6e90\u5e02')},
'861351126':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861342188':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861338859':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861342189':{'en': 'Shantou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5934\u5e02')},
'861346399':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861346398':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861339584':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861346391':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861346390':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861346393':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861338858':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861346395':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861346394':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861346397':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861339803':{'en': 'Naidong, Tibet', 'zh': u('\u897f\u85cf\u5c71\u5357\u5730\u533a')},
'861351125':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861333716':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861339802':{'en': 'Xigaze, Xinjiang', 'zh': u('\u897f\u85cf\u65e5\u5580\u5219\u5e02')},
'861334534':{'en': 'Kashi (Kaxgar), Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5e02')},
'861334535':{'en': 'Aksu, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u514b\u82cf\u5e02')},
'861339816':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861339582':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861339810':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861334531':{'en': 'Aleitai, Xinjiang', 'zh': u('\u65b0\u7586\u963f\u52d2\u6cf0\u5e02')},
'861334532':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861334533':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861346027':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861346026':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861346025':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861339801':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861334538':{'en': 'Hotan, Xinjiang', 'zh': u('\u65b0\u7586\u548c\u7530\u5e02')},
'861339819':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861346021':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861346020':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861337320':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861337321':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861337322':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861337323':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861337324':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861337325':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861337326':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861337327':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861337328':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861337329':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861338365':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861339583':{'en': 'Jiaxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5609\u5174\u5e02')},
'861338367':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861338366':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861338361':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861338360':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861338363':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861338362':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861339800':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861338369':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861338368':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861334798':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861334799':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861334790':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861334791':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861334792':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861334793':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861334794':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861334795':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861334796':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861334797':{'en': 'Huaian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6dee\u5b89\u5e02')},
'861338854':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861339807':{'en': 'GeEr, Tibet', 'zh': u('\u897f\u85cf\u963f\u91cc\u5730\u533a')},
'861333531':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861350854':{'en': 'Duyun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u90fd\u5300\u5e02')},
'861338250':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861338701':{'en': 'Yingtan, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u9e70\u6f6d\u5e02')},
'861338700':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861338255':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861338254':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861338705':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861338704':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861339805':{'en': 'Changdu, Tibet', 'zh': u('\u897f\u85cf\u660c\u90fd\u5730\u533a')},
'861339804':{'en': 'Linzhi, Tibet', 'zh': u('\u897f\u85cf\u6797\u829d\u5730\u533a')},
'861350626':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861339366':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861339367':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861339364':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861339365':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861339362':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861339363':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861339360':{'en': 'Laibin, Guangxi', 'zh': u('\u5e7f\u897f\u6765\u5bbe\u5e02')},
'861339361':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861343787':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861339368':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861339369':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'86133696':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861350451':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'86133965':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86133966':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861350452':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861350455':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861350454':{'en': 'Jiamusi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f73\u6728\u65af\u5e02')},
'861350457':{'en': 'Yichun, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u4f0a\u6625\u5e02')},
'861350456':{'en': 'Jiagedaqi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'861350459':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861350458':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861338952':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861350627':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861338953':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861346741':{'en': 'Huaihua, Hunan', 'zh': u('\u6e56\u5357\u7701\u6000\u5316\u5e02')},
'861335461':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861335460':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861335463':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861335462':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861335465':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861335464':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'861335467':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861335466':{'en': 'Yuxi, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7389\u6eaa\u5e02')},
'861335469':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5e02')},
'861335468':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861338950':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'86134161':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134160':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86134163':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861346562':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861346563':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861346560':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'86134162':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861346566':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861346567':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861346564':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861346565':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'86134165':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861346568':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861338951':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'86134164':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350856':{'en': 'Tongren, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u94dc\u4ec1\u5e02')},
'86134167':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134166':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861338956':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861334156':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861338855':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861334157':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861334154':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861334155':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861338957':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861334152':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861334153':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861334150':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861334151':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350624':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861338955':{'en': 'Zhongwei, Ningxia', 'zh': u('\u5b81\u590f\u4e2d\u536b\u5e02')},
'861334158':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861334159':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861333148':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861333149':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861333140':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861333141':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861333142':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861333143':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861333144':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861333145':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861333146':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861333147':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861333328':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861333329':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861333324':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861333325':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861333326':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861333327':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861333320':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861333321':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861333322':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861333323':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861343860':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861343861':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861343862':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861343863':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861343864':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861343865':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861343866':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861343867':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861343868':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861343869':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861345426':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861345427':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861345424':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861345425':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861345422':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861345423':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861345420':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861345421':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861345428':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861345429':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861338778':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861338779':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861338772':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861338773':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861338770':{'en': 'Fangchenggang, Guangxi', 'zh': u('\u5e7f\u897f\u9632\u57ce\u6e2f\u5e02')},
'861338771':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861338776':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861338777':{'en': 'Qinzhou, Guangxi', 'zh': u('\u5e7f\u897f\u94a6\u5dde\u5e02')},
'861338774':{'en': 'Hezhou, Guangxi', 'zh': u('\u5e7f\u897f\u8d3a\u5dde\u5e02')},
'861338775':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861346820':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'86135119':{'en': 'Guiyang, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u8d35\u9633\u5e02')},
'861334679':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861334678':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861334677':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861334676':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861334675':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861334674':{'en': 'Xinyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u4fe1\u9633\u5e02')},
'861334673':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861334672':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861334671':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'861334670':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'861346828':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861345138':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861345139':{'en': 'Ulan Hot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u6d69\u7279\u5e02')},
'861341109':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861341108':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861341105':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861341104':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341107':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861341106':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'861341101':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341100':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341103':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861341102':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861344559':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344558':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344555':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344554':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344557':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344556':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861344551':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344550':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344553':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344552':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335078':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861335079':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861335076':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861335077':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861335074':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861335075':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861335072':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861335073':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861335070':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861335071':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861340410':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861340411':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861340412':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861340413':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861340414':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861340415':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861340416':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861340417':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861340418':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861340419':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'86134808':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134809':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'861350069':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861333926':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861333927':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861333924':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861333925':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861333922':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861333923':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861333920':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861333921':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861333928':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861333929':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861350066':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861350067':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861350434':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861336521':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861336520':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861336523':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861336522':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861336525':{'en': 'Suqian, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5bbf\u8fc1\u5e02')},
'861336524':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861336527':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861336526':{'en': 'Lianyungang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u8fde\u4e91\u6e2f\u5e02')},
'861336529':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861336528':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861346953':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861346952':{'en': 'Shizuishan, Ningxia', 'zh': u('\u5b81\u590f\u77f3\u5634\u5c71\u5e02')},
'861346951':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861346950':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861346957':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861338879':{'en': 'Simao, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861346955':{'en': 'Wuzhong, Ningxia', 'zh': u('\u5b81\u590f\u5434\u5fe0\u5e02')},
'861346954':{'en': 'Guyuan, Ningxia', 'zh': u('\u5b81\u590f\u56fa\u539f\u5e02')},
'861350662':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350663':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861346959':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861346958':{'en': 'Yinchuan, Ningxia', 'zh': u('\u5b81\u590f\u94f6\u5ddd\u5e02')},
'861350666':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350667':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350664':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861350665':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861347392':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347393':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861347390':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861338878':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5e02')},
'861347396':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347397':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347394':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347395':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347398':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347399':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861337690':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861337691':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861337692':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861337693':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861337694':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861337695':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861337696':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861337697':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861337698':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861337699':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861337128':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861337129':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861334808':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861334809':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861334800':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861334801':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861334802':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861334803':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861334804':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861334805':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861334806':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861334807':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861346045':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861346044':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861346047':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861346046':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861346041':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861346040':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861346043':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861346042':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'86134828':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861346049':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861346048':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861337346':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861337347':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861337344':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861337345':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861337342':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861337343':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861337340':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861334504':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861339827':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861337348':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861337349':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861334506':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861342818':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861342819':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861342816':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861339821':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861342814':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861342815':{'en': 'Maoming, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8302\u540d\u5e02')},
'861342812':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861342813':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861342810':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861339820':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861339823':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861339822':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861338664':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86134251':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134250':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'86134257':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861338871':{'en': 'Kunming, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6606\u660e\u5e02')},
'86134255':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'861338841':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'86134259':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134258':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861338842':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861338843':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861338844':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861338845':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861338662':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861338847':{'en': 'Lishui, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u4e3d\u6c34\u5e02')},
'861339696':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861339697':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861339694':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861339695':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861339692':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861339693':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861339690':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861339691':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86134781':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86134780':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'86134783':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'86134675':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'86134785':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'86134784':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861339698':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861339699':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861338873':{'en': 'Gejiu, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861338349':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861338348':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861338343':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861338342':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861338341':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861338340':{'en': 'Xinzhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5ffb\u5dde\u5e02')},
'861338347':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861338346':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861338345':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861338344':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861339438':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861339439':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861339348':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861339349':{'en': 'Shuozhou, Shanxi', 'zh': u('\u5c71\u897f\u7701\u6714\u5dde\u5e02')},
'861339344':{'en': 'Yuci, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u4e2d\u5e02')},
'861339345':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861339346':{'en': 'Jincheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u664b\u57ce\u5e02')},
'861339431':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861339340':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861339437':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861339342':{'en': 'Datong, Shanxi', 'zh': u('\u5c71\u897f\u7701\u5927\u540c\u5e02')},
'861339343':{'en': 'Taiyuan, Shanxi', 'zh': u('\u5c71\u897f\u7701\u592a\u539f\u5e02')},
'861338875':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861348595':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861338364':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861339828':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861338444':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861338445':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861338874':{'en': 'Qujing, Yunnan', 'zh': u('\u4e91\u5357\u7701\u66f2\u9756\u5e02')},
'861338446':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861347947':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861347946':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861347945':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861338331':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861347943':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861347942':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861347941':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861347940':{'en': 'Fuzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u629a\u5dde\u5e02')},
'861338336':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861347949':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861338337':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'86133418':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133419':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861345895':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861345894':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861345893':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861338334':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861345891':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'861345890':{'en': 'GuangAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5b89\u5e02')},
'86133410':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133411':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861338443':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'86133414':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'86133416':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'86133417':{'en': 'Shanghai', 'zh': u('\u4e0a\u6d77\u5e02')},
'861350477':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350476':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350475':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350474':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861350473':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861350472':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861350471':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861350470':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350479':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350478':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861338876':{'en': 'Wenshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u6587\u5c71\u5e02')},
'861339825':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861350789':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861350788':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861350785':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861350784':{'en': 'Wuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u68a7\u5dde\u5e02')},
'861350787':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861350786':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861350781':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861350780':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861350783':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861350782':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'86134672':{'en': 'Yuncheng, Shanxi', 'zh': u('\u5c71\u897f\u7701\u8fd0\u57ce\u5e02')},
'861335447':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861335194':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861335197':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861335196':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861335191':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335190':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335441':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861335192':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861335199':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861335198':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335449':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861335448':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861346548':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861346549':{'en': 'Linyi, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e34\u6c82\u5e02')},
'861337245':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861346540':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861346541':{'en': 'Jinan, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02')},
'861346542':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861346543':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861346544':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861346545':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861346546':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861346547':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'861351258':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861351259':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861347908':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861335999':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335998':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861335995':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861335994':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861335997':{'en': 'Hegang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e64\u5c97\u5e02')},
'861335996':{'en': 'Jixi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9e21\u897f\u5e02')},
'861335991':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861335990':{'en': 'Jiagedaqi, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5174\u5b89\u5cad\u5730\u533a')},
'861335993':{'en': 'Heihe, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9ed1\u6cb3\u5e02')},
'861335992':{'en': 'Suihua, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7ee5\u5316\u5e02')},
'861347499':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861347498':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861347495':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861347494':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861347497':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861347496':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861347491':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861347490':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861347493':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861347492':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861350997':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861337593':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861337592':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861337591':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861337590':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861337597':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861337596':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861337595':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861337594':{'en': 'Putian, Fujian', 'zh': u('\u798f\u5efa\u7701\u8386\u7530\u5e02')},
'861337599':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861337598':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861347058':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861350990':{'en': 'Zhanjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e5b\u6c5f\u5e02')},
'861347056':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861347239':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861344010':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861344011':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861347231':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861347230':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861347233':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861347232':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861347235':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861344012':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861347237':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861347236':{'en': 'Langfang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5eca\u574a\u5e02')},
'861336758':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861336759':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861336752':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861336753':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861336750':{'en': 'Fangchenggang, Guangxi', 'zh': u('\u5e7f\u897f\u9632\u57ce\u6e2f\u5e02')},
'861336751':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861336756':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861336757':{'en': 'Guigang, Guangxi', 'zh': u('\u5e7f\u897f\u8d35\u6e2f\u5e02')},
'861336754':{'en': 'Hezhou, Guangxi', 'zh': u('\u5e7f\u897f\u8d3a\u5dde\u5e02')},
'861336755':{'en': 'Yulin, Guangxi', 'zh': u('\u5e7f\u897f\u7389\u6797\u5e02')},
'861344016':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861344017':{'en': 'MaErkang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde')},
'86134907':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861344024':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134906':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861350619':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'86134905':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861348596':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861350613':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861350612':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861351330':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861350611':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861337120':{'en': 'Jining, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6d4e\u5b81\u5e02')},
'86133777':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'861350610':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861350617':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861350616':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'86134903':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861350615':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861350614':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861340422':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861334614':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861334617':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861334616':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861334611':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861334610':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861334613':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861334612':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'861334619':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861334618':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'86134901':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861346981':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861340935':{'en': 'Xuchang, Henan', 'zh': u('\u6cb3\u5357\u7701\u8bb8\u660c\u5e02')},
'86134900':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861345408':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861345409':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861345404':{'en': 'Quzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u8862\u5dde\u5e02')},
'861345405':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861345406':{'en': 'Zhoushan, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u821f\u5c71\u5e02')},
'861340930':{'en': 'Pingdingshan, Henan', 'zh': u('\u6cb3\u5357\u7701\u5e73\u9876\u5c71\u5e02')},
'86134442':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134443':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134440':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134441':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344573':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344572':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861344571':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344570':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344577':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344576':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344575':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344574':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344579':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861344578':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335054':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861335055':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861335056':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861335057':{'en': 'Xichang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u897f\u660c\u5e02')},
'861335050':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861335051':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861335052':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861335053':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861335058':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861335059':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861348409':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861348408':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861344794':{'en': 'Wudu, Gansu', 'zh': u('\u7518\u8083\u7701\u9647\u5357\u5e02')},
'86134864':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861333908':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861333909':{'en': 'Huangshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9ec4\u5c71\u5e02')},
'861333904':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861333905':{'en': 'MaAnshan, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u9a6c\u978d\u5c71\u5e02')},
'861333906':{'en': 'Anqing, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5b89\u5e86\u5e02')},
'861333907':{'en': 'Suzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5bbf\u5dde\u5e02')},
'861333900':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'861333901':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861333902':{'en': 'Bengbu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u868c\u57e0\u5e02')},
'861333903':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861344793':{'en': 'Lhasa, Tibet', 'zh': u('\u897f\u85cf\u62c9\u8428\u5e02')},
'861344272':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134865':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861348796':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861336507':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861336506':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861336505':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861336504':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861336503':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861336502':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861336501':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861336500':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'86134867':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861336509':{'en': 'Nanping, Fujian', 'zh': u('\u798f\u5efa\u7701\u5357\u5e73\u5e02')},
'861336508':{'en': 'Longyan, Fujian', 'zh': u('\u798f\u5efa\u7701\u9f99\u5ca9\u5e02')},
'861340388':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861340389':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861350310':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861350311':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86134868':{'en': 'Taizhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u53f0\u5dde\u5e02')},
'86134869':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861350314':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861350315':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861340380':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861340381':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861340382':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861340383':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861340384':{'en': 'Anyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u5b89\u9633\u5e02')},
'861340385':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861340386':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861340387':{'en': 'Zhoukou, Henan', 'zh': u('\u6cb3\u5357\u7701\u5468\u53e3\u5e02')},
'861348798':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861350555':{'en': 'Chuzhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6ec1\u5dde\u5e02')},
'86134861':{'en': 'Hangzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u676d\u5dde\u5e02')},
'861347445':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861350553':{'en': 'Wuhu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u829c\u6e56\u5e02')},
'861337108':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861337109':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861337100':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861337101':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861337102':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861337103':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861337104':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861337105':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861337106':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861337107':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861334868':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861334869':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861334866':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861334867':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861334864':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861334865':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861334862':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861334863':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861334860':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861334861':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861337368':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861337369':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861337364':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861337365':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861337366':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861337367':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861337360':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861337361':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861337362':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861337363':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861348380':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861348381':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861348382':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861348383':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861348384':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861348385':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861348386':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861348387':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861348388':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861348389':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861342522':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861342523':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861342520':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861342521':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861342526':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861342527':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861342524':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861342525':{'en': 'Qingyuan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6e05\u8fdc\u5e02')},
'861342528':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861342529':{'en': 'Zhaoqing, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u8087\u5e86\u5e02')},
'861342838':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'861342839':{'en': 'Shunde, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4f5b\u5c71\u5e02')},
'86134279':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134278':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134271':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'86134270':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86134273':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'86134272':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'86134275':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134274':{'en': 'Jiangmen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c5f\u95e8\u5e02')},
'86134277':{'en': 'Zhuhai, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02')},
'86134276':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350873':{'en': 'Gejiu, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861337818':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'861337819':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861337812':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861337813':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861337810':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861337811':{'en': 'Chengdu, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6210\u90fd\u5e02')},
'861337816':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861337817':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861337814':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861337815':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861350872':{'en': 'Dali, Yunnan', 'zh': u('\u4e91\u5357\u7701\u5927\u7406\u5e02')},
'861339410':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861339411':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861339412':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861339413':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861334134':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861334135':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861339416':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861339417':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'861334138':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861334139':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861337153':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861337152':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861337151':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861337150':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861350419':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861350418':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861350415':{'en': 'Dandong, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u4e39\u4e1c\u5e02')},
'861337157':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'86133434':{'en': 'Wuhan, Hubei', 'zh': u('\u6e56\u5317\u7701\u6b66\u6c49\u5e02')},
'861350416':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861350411':{'en': 'Dalian, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u5927\u8fde\u5e02')},
'861350410':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861350413':{'en': 'Fushun, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u629a\u987a\u5e02')},
'861337156':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861337155':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861337626':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861334066':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861350875':{'en': 'Baoshan, Yunnan', 'zh': u('\u4e91\u5357\u7701\u4fdd\u5c71\u5e02')},
'861334067':{'en': 'Dazhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8fbe\u5dde\u5e02')},
'861334064':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861334065':{'en': 'Yibin, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5b9c\u5bbe\u5e02')},
'861339502':{'en': 'Xiamen, Fujian', 'zh': u('\u798f\u5efa\u7701\u53a6\u95e8\u5e02')},
'861334063':{'en': 'Suining, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u9042\u5b81\u5e02')},
'861344296':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344297':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344294':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344295':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335429':{'en': 'Huludao, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u846b\u82a6\u5c9b\u5e02')},
'861339500':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861344290':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861344291':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861335425':{'en': 'Anshan, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u978d\u5c71\u5e02')},
'861335424':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861335427':{'en': 'Panjin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u76d8\u9526\u5e02')},
'861334061':{'en': 'Bazhong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5df4\u4e2d\u5e02')},
'861335421':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861335420':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861335423':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861335422':{'en': 'Shenyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u6c88\u9633\u5e02')},
'861346528':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861346529':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861346526':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861346527':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861346524':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861346525':{'en': 'Dongying, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u4e1c\u8425\u5e02')},
'861346522':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861346523':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861346520':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861346521':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861344038':{'en': 'Tieling, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u94c1\u5cad\u5e02')},
'861344039':{'en': 'Jinzhou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u9526\u5dde\u5e02')},
'861339508':{'en': 'Fuzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u798f\u5dde\u5e02')},
'861340049':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340048':{'en': 'Hengshui, Hebei', 'zh': u('\u6cb3\u5317\u7701\u8861\u6c34\u5e02')},
'861340047':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
'861340046':{'en': 'Zhangjiakou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5f20\u5bb6\u53e3\u5e02')},
'861340045':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861340044':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340043':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340042':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340041':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861340040':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861350879':{'en': 'Simao, Yunnan', 'zh': u('\u4e91\u5357\u7701\u666e\u6d31\u5e02')},
'861350878':{'en': 'Chuxiong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u695a\u96c4\u5e02')},
'861350482':{'en': 'Qiqihar, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u9f50\u9f50\u54c8\u5c14\u5e02')},
'861350483':{'en': 'Mudanjiang, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u7261\u4e39\u6c5f\u5e02')},
'861350811':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861350480':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861350481':{'en': 'Harbin, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u54c8\u5c14\u6ee8\u5e02')},
'861344195':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344194':{'en': 'Lanzhou, Gansu', 'zh': u('\u7518\u8083\u7701\u5170\u5dde\u5e02')},
'861344197':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861350810':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861344196':{'en': 'Chongqing', 'zh': u('\u91cd\u5e86\u5e02')},
'861344191':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861344190':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861336770':{'en': 'Fangchenggang, Guangxi', 'zh': u('\u5e7f\u897f\u9632\u57ce\u6e2f\u5e02')},
'861336771':{'en': 'Nanning, Guangxi', 'zh': u('\u5e7f\u897f\u5357\u5b81\u5e02')},
'861336996':{'en': 'Korla, Xinjiang', 'zh': u('\u65b0\u7586\u5e93\u5c14\u52d2\u5e02')},
'861336773':{'en': 'Guilin, Guangxi', 'zh': u('\u5e7f\u897f\u6842\u6797\u5e02')},
'861336774':{'en': 'Hezhou, Guangxi', 'zh': u('\u5e7f\u897f\u8d3a\u5dde\u5e02')},
'861336991':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'861336776':{'en': 'Baise, Guangxi', 'zh': u('\u5e7f\u897f\u767e\u8272\u5e02')},
'861336993':{'en': 'Shihezi, Xinjiang', 'zh': u('\u65b0\u7586\u77f3\u6cb3\u5b50\u5e02')},
'861336778':{'en': 'Hechi, Guangxi', 'zh': u('\u5e7f\u897f\u6cb3\u6c60\u5e02')},
'861336779':{'en': 'Beihai, Guangxi', 'zh': u('\u5e7f\u897f\u5317\u6d77\u5e02')},
'861344192':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861336998':{'en': 'Kashi (Kaxgar), Xinjiang', 'zh': u('\u65b0\u7586\u5580\u4ec0\u5e02')},
'861336999':{'en': 'Yining, Xinjiang', 'zh': u('\u65b0\u7586\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde')},
'861350813':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861350802':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861350803':{'en': 'Luzhou, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6cf8\u5dde\u5e02')},
'861350800':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861340884':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861350801':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861350806':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861350812':{'en': 'Mianyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7ef5\u9633\u5e02')},
'861350807':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861350804':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861350805':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861350815':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861348849':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861348848':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348847':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348846':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348845':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861348844':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348843':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861348842':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861348841':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861348840':{'en': 'Xianyang, Shanxi', 'zh': u('\u9655\u897f\u7701\u54b8\u9633\u5e02')},
'861339466':{'en': 'Daqing, Heilongjiang', 'zh': u('\u9ed1\u9f99\u6c5f\u7701\u5927\u5e86\u5e02')},
'861347422':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861350814':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861348179':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861348178':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861350817':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861338736':{'en': 'Changde, Hunan', 'zh': u('\u6e56\u5357\u7701\u5e38\u5fb7\u5e02')},
'861338737':{'en': 'Yiyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u76ca\u9633\u5e02')},
'861338734':{'en': 'Hengyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u8861\u9633\u5e02')},
'861338735':{'en': 'Chenzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u90f4\u5dde\u5e02')},
'861338732':{'en': 'Xiangtan, Hunan', 'zh': u('\u6e56\u5357\u7701\u6e58\u6f6d\u5e02')},
'861338733':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u682a\u6d32\u5e02')},
'861338730':{'en': 'Yueyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u5cb3\u9633\u5e02')},
'861338731':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861342993':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861342992':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861342991':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861342990':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861342997':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861342996':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861338738':{'en': 'Loudi, Hunan', 'zh': u('\u6e56\u5357\u7701\u5a04\u5e95\u5e02')},
'861338739':{'en': 'Shaoyang, Hunan', 'zh': u('\u6e56\u5357\u7701\u90b5\u9633\u5e02')},
'861339844':{'en': 'Guangyuan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5e7f\u5143\u5e02')},
'861334639':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861334638':{'en': 'Yantai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u70df\u53f0\u5e02')},
'861334633':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861334632':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861334631':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861334630':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861334637':{'en': 'Zaozhuang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u67a3\u5e84\u5e02')},
'861334636':{'en': 'Weifang, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6f4d\u574a\u5e02')},
'861334635':{'en': 'Liaocheng, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u804a\u57ce\u5e02')},
'861334634':{'en': 'Laiwu, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83b1\u829c\u5e02')},
'861348175':{'en': 'Liuzhou, Guangxi', 'zh': u('\u5e7f\u897f\u67f3\u5dde\u5e02')},
'861348174':{'en': 'Fangchenggang, Guangxi', 'zh': u('\u5e7f\u897f\u9632\u57ce\u6e2f\u5e02')},
'86134893':{'en': 'Quanzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6cc9\u5dde\u5e02')},
'861339842':{'en': 'Nanchong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5357\u5145\u5e02')},
'86134424':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134420':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'86134421':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861348469':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861348468':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861348465':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861348464':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861346623':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861348466':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348461':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348460':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348463':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348462':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861339069':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861339068':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861339061':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861339060':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861339063':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861339062':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861339065':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861339064':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861339067':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861339066':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861351122':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'86134658':{'en': 'Qingdao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u9752\u5c9b\u5e02')},
'861340678':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861340679':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861340670':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861340671':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861340672':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861340673':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861340674':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861340675':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861340676':{'en': 'Weihai, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5a01\u6d77\u5e02')},
'861340677':{'en': 'Dezhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u5fb7\u5dde\u5e02')},
'861347028':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861347029':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'86134676':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861347020':{'en': 'Yingkou, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8425\u53e3\u5e02')},
'86134671':{'en': 'Linfen, Shanxi', 'zh': u('\u5c71\u897f\u7701\u4e34\u6c7e\u5e02')},
'861347022':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861347023':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861347024':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861347025':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'861347026':{'en': 'Chaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u671d\u9633\u5e02')},
'86134670':{'en': 'Changzhi, Shanxi', 'zh': u('\u5c71\u897f\u7701\u957f\u6cbb\u5e02')},
'861336569':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861336568':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861336565':{'en': 'Chaohu, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5de2\u6e56\u5e02')},
'861336564':{'en': 'LiuAn, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u516d\u5b89\u5e02')},
'861336567':{'en': 'Bozhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u4eb3\u5dde\u5e02')},
'861336566':{'en': 'Chizhou, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6c60\u5dde\u5e02')},
'861336561':{'en': 'Huaibei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u6dee\u5317\u5e02')},
'861336560':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861336563':{'en': 'Xuancheng, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5ba3\u57ce\u5e02')},
'861336562':{'en': 'Tongling, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u94dc\u9675\u5e02')},
'861346626':{'en': 'Gejiu, Yunnan', 'zh': u('\u4e91\u5357\u7701\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861350339':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'861350330':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861350331':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861350332':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861350333':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861350334':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861350335':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861350336':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861350337':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86134842':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'86134843':{'en': 'Shaoxing, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u7ecd\u5174\u5e02')},
'861340908':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861340909':{'en': 'Zibo, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6dc4\u535a\u5e02')},
'861340458':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861340459':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861350620':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861350621':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861340454':{'en': 'Meihekou, Jilin', 'zh': u('\u5409\u6797\u7701\u6885\u6cb3\u53e3\u5e02')},
'861340455':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861340456':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861340457':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861340450':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861340451':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861340904':{'en': 'Rizhao, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u65e5\u7167\u5e02')},
'861340453':{'en': 'Meihekou, Jilin', 'zh': u('\u5409\u6797\u7701\u6885\u6cb3\u53e3\u5e02')},
'861347036':{'en': 'Fuxin, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u961c\u65b0\u5e02')},
'86134462':{'en': 'Jingmen, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u95e8\u5e02')},
'861348568':{'en': 'Fuyang, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u961c\u9633\u5e02')},
'861350915':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861339848':{'en': 'Deyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5fb7\u9633\u5e02')},
'861346889':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861346888':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346881':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346880':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861346883':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346882':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346885':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346884':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861346887':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861346886':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861348569':{'en': 'Hefei, Anhui', 'zh': u('\u5b89\u5fbd\u7701\u5408\u80a5\u5e02')},
'861334844':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861334845':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861334846':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861334847':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861334840':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861334841':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861334842':{'en': 'Ningde, Fujian', 'zh': u('\u798f\u5efa\u7701\u5b81\u5fb7\u5e02')},
'861334843':{'en': 'Sanming, Fujian', 'zh': u('\u798f\u5efa\u7701\u4e09\u660e\u5e02')},
'861334848':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861334849':{'en': 'Zhangzhou, Fujian', 'zh': u('\u798f\u5efa\u7701\u6f33\u5dde\u5e02')},
'861337382':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861337383':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861337380':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861337381':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861337386':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861337387':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861337384':{'en': 'Jinhua, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u91d1\u534e\u5e02')},
'861337385':{'en': 'Wenzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e29\u5dde\u5e02')},
'861337388':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861337389':{'en': 'Ningbo, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u5b81\u6ce2\u5e02')},
'861333528':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'861333529':{'en': 'TaiAn, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6cf0\u5b89\u5e02')},
'86134219':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134216':{'en': 'Huizhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u60e0\u5dde\u5e02')},
'86134215':{'en': 'Shanwei, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6c55\u5c3e\u5e02')},
'86134214':{'en': 'Zhongshan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e2d\u5c71\u5e02')},
'86134213':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134212':{'en': 'Yangjiang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u9633\u6c5f\u5e02')},
'86134211':{'en': 'Jieyang, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u63ed\u9633\u5e02')},
'861350868':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861333711':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861333710':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861333713':{'en': 'Ulan Hot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u6d69\u7279\u5e02')},
'861333712':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861333715':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861333714':{'en': 'Ulan Hot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u6d69\u7279\u5e02')},
'861333717':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861338243':{'en': 'Yangzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u626c\u5dde\u5e02')},
'861333719':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861333718':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861338240':{'en': 'Nanjing, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u4eac\u5e02')},
'861338241':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861338246':{'en': 'Taizhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u6cf0\u5dde\u5e02')},
'861338711':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861337830':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u5185\u6c5f\u5e02')},
'861337831':{'en': 'Ziyang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u8d44\u9633\u5e02')},
'861337832':{'en': 'Zigong, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u81ea\u8d21\u5e02')},
'861337833':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861337834':{'en': 'Leshan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u4e50\u5c71\u5e02')},
'861337835':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861337836':{'en': 'Meishan, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7709\u5c71\u5e02')},
'861337837':{'en': 'Xichang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u897f\u660c\u5e02')},
'861337838':{'en': 'YaAn, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u96c5\u5b89\u5e02')},
'861337839':{'en': 'Panzhihua, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u6500\u679d\u82b1\u5e02')},
'861338245':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861338387':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861338386':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861338385':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861338384':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861338383':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861338382':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861338381':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861338380':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861338389':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861338388':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861339476':{'en': 'Chifeng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u8d64\u5cf0\u5e02')},
'861339477':{'en': 'Dongsheng, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9102\u5c14\u591a\u65af\u5e02')},
'861339474':{'en': 'Ulan Hot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u5170\u6d69\u7279\u5e02')},
'861339475':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'861339472':{'en': 'Baotou, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5305\u5934\u5e02')},
'861339473':{'en': 'Wuhai, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u4e4c\u6d77\u5e02')},
'861339470':{'en': 'Hailaer, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u4f26\u8d1d\u5c14\u5e02')},
'861339471':{'en': 'Huhehaote, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u547c\u548c\u6d69\u7279\u5e02')},
'861339478':{'en': 'Linhe, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u5df4\u5f66\u6dd6\u5c14\u5e02')},
'861339479':{'en': 'Xilinhot, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u9521\u6797\u6d69\u7279\u5e02')},
'86133630':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'86133632':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'86134985':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86133637':{'en': 'Xingtai, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90a2\u53f0\u5e02')},
'86133638':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'86133639':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861334544':{'en': 'Urumchi, Xinjiang', 'zh': u('\u65b0\u7586\u4e4c\u9c81\u6728\u9f50\u5e02')},
'86134983':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861340883':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861350431':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350430':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350437':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861350436':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861350435':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'861340882':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861347039':{'en': 'Liaoyang, Liaoning', 'zh': u('\u8fbd\u5b81\u7701\u8fbd\u9633\u5e02')},
'861350439':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861350438':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861340881':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'86133989':{'en': 'Haikou, Hainan', 'zh': u('\u6d77\u5357\u7701\u6d77\u53e3\u5e02')},
'861340880':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861340887':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'86134982':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861340886':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861339388':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861339389':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861340885':{'en': 'Zhaotong, Yunnan', 'zh': u('\u4e91\u5357\u7701\u662d\u901a\u5e02')},
'861339380':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861339381':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861339382':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861339383':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861339384':{'en': 'Kaifeng, Henan', 'zh': u('\u6cb3\u5357\u7701\u5f00\u5c01\u5e02')},
'861339385':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861339386':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'861339387':{'en': 'Jiaozuo, Henan', 'zh': u('\u6cb3\u5357\u7701\u7126\u4f5c\u5e02')},
'86134981':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861335151':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861335150':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861335153':{'en': 'Tonghua, Jilin', 'zh': u('\u5409\u6797\u7701\u901a\u5316\u5e02')},
'861335152':{'en': 'Baicheng, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u57ce\u5e02')},
'861335155':{'en': 'Songyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u677e\u539f\u5e02')},
'861335154':{'en': 'Helong, Jilin', 'zh': u('\u5409\u6797\u7701\u548c\u9f99\u5e02')},
'861335157':{'en': 'Yanji, Jilin', 'zh': u('\u5409\u6797\u7701\u5ef6\u5409\u5e02')},
'861335156':{'en': 'Liaoyuan, Jilin', 'zh': u('\u5409\u6797\u7701\u8fbd\u6e90\u5e02')},
'861335159':{'en': 'Baishan, Jilin', 'zh': u('\u5409\u6797\u7701\u767d\u5c71\u5e02')},
'861335158':{'en': 'Siping, Jilin', 'zh': u('\u5409\u6797\u7701\u56db\u5e73\u5e02')},
'86134980':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861347903':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861347902':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861347901':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861347900':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861347907':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861347906':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861347905':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861347904':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861347909':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861346770':{'en': 'Zhuzhou, Hunan', 'zh': u('\u6e56\u5357\u7701\u957f\u6c99\u5e02')},
'861346504':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861346505':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861346506':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861346507':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861346500':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861346501':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861346502':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861346503':{'en': 'Heze, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u83cf\u6cfd\u5e02')},
'861346508':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861346509':{'en': 'Binzhou, Shandong', 'zh': u('\u5c71\u4e1c\u7701\u6ee8\u5dde\u5e02')},
'861340025':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340024':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340027':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340026':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340021':{'en': 'Shijiazhuang, Hebei', 'zh': u('\u6cb3\u5317\u7701\u77f3\u5bb6\u5e84\u5e02')},
'861340020':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861340023':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340022':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861344018':{'en': 'Kangding, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde')},
'861344019':{'en': 'Xichang, Sichuan', 'zh': u('\u56db\u5ddd\u7701\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde')},
'861340029':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861340028':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'86134989':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'86134988':{'en': 'Beijing', 'zh': u('\u5317\u4eac\u5e02')},
'861338251':{'en': 'Suzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u82cf\u5dde\u5e02')},
'861347485':{'en': 'Tongliao, Inner Mongolia', 'zh': u('\u5185\u8499\u53e4\u901a\u8fbd\u5e02')},
'86134189':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134188':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134187':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134186':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134185':{'en': 'Shenzhen, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u6df1\u5733\u5e02')},
'86134183':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134182':{'en': 'Dongguan, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u4e1c\u839e\u5e02')},
'86134181':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'86134180':{'en': 'Guangzhou, Guangdong', 'zh': u('\u5e7f\u4e1c\u7701\u5e7f\u5dde\u5e02')},
'861350855':{'en': 'Kaili, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u51ef\u91cc\u5e02')},
'861338244':{'en': 'Changzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5e38\u5dde\u5e02')},
'861336172':{'en': 'Jiujiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e5d\u6c5f\u5e02')},
'861336173':{'en': 'Shangrao, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u4e0a\u9976\u5e02')},
'861336170':{'en': 'Xinyu, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u65b0\u4f59\u5e02')},
'861336171':{'en': 'Nanchang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5357\u660c\u5e02')},
'861336176':{'en': 'JiAn, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5409\u5b89\u5e02')},
'861336177':{'en': 'Ganzhou, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u8d63\u5dde\u5e02')},
'861336174':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861336175':{'en': 'Yichun, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u5b9c\u6625\u5e02')},
'861336178':{'en': 'Jingdezhen, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u666f\u5fb7\u9547\u5e02')},
'861336179':{'en': 'Pingxiang, Jiangxi', 'zh': u('\u6c5f\u897f\u7701\u840d\u4e61\u5e02')},
'861351123':{'en': 'Huzhou, Zhejiang', 'zh': u('\u6d59\u6c5f\u7701\u6e56\u5dde\u5e02')},
'861350857':{'en': 'Bijie, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u6bd5\u8282\u5e02')},
'861336716':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861336717':{'en': 'Yichang, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b9c\u660c\u5e02')},
'861336714':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861336715':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861336712':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861336713':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861336710':{'en': 'Xiangyang, Hubei', 'zh': u('\u6e56\u5317\u7701\u8944\u9633\u5e02')},
'861336711':{'en': 'Ezhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u9102\u5dde\u5e02')},
'861336718':{'en': 'Enshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u6069\u65bd\u5e02')},
'861336719':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861346337':{'en': 'Qinhuangdao, Hebei', 'zh': u('\u6cb3\u5317\u7701\u79e6\u7687\u5c9b\u5e02')},
'861350851':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'861333388':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861333389':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861333386':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861333387':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861333384':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861333385':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861333382':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861333383':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861333380':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861333381':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'86134630':{'en': 'Handan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u90af\u90f8\u5e02')},
'861350850':{'en': 'Duyun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u90fd\u5300\u5e02')},
'861347652':{'en': 'Xiaogan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5b5d\u611f\u5e02')},
'861348825':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861348824':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861348827':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348826':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348821':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348820':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861348823':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348822':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861348829':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861348828':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861348834':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861350853':{'en': 'Anshun, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u5b89\u987a\u5e02')},
'86134632':{'en': 'Baoding, Hebei', 'zh': u('\u6cb3\u5317\u7701\u4fdd\u5b9a\u5e02')},
'861346334':{'en': 'Chengde, Hebei', 'zh': u('\u6cb3\u5317\u7701\u627f\u5fb7\u5e02')},
'861350852':{'en': 'Zunyi, Guizhou', 'zh': u('\u8d35\u5dde\u7701\u9075\u4e49\u5e02')},
'86134635':{'en': 'Tangshan, Hebei', 'zh': u('\u6cb3\u5317\u7701\u5510\u5c71\u5e02')},
'861339525':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861338248':{'en': 'Nantong, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5357\u901a\u5e02')},
'861338249':{'en': 'Zhenjiang, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u9547\u6c5f\u5e02')},
'861338718':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861338719':{'en': 'Jingzhou, Hubei', 'zh': u('\u6e56\u5317\u7701\u8346\u5dde\u5e02')},
'861338242':{'en': 'Wuxi, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u65e0\u9521\u5e02')},
'861338715':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861338716':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861338717':{'en': 'Xianning, Hubei', 'zh': u('\u6e56\u5317\u7701\u54b8\u5b81\u5e02')},
'861338710':{'en': 'Huangshi, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u77f3\u5e02')},
'861338247':{'en': 'Yancheng, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u76d0\u57ce\u5e02')},
'861338712':{'en': 'Huanggang, Hubei', 'zh': u('\u6e56\u5317\u7701\u9ec4\u5188\u5e02')},
'861338713':{'en': 'Shiyan, Hubei', 'zh': u('\u6e56\u5317\u7701\u5341\u5830\u5e02')},
'861342971':{'en': 'YanAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5ef6\u5b89\u5e02')},
'861342970':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861342973':{'en': 'Weinan, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6e2d\u5357\u5e02')},
'861342972':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861342975':{'en': 'Ankang, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b89\u5eb7\u5e02')},
'861342974':{'en': 'Shangzhou, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5546\u6d1b\u5e02')},
'861342977':{'en': 'XiAn, Shaanxi', 'zh': u('\u9655\u897f\u7701\u897f\u5b89\u5e02')},
'861342976':{'en': 'Hanzhong, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6c49\u4e2d\u5e02')},
'861342979':{'en': 'Yulin, Shaanxi', 'zh': u('\u9655\u897f\u7701\u6986\u6797\u5e02')},
'861342978':{'en': 'Baoji, Shaanxi', 'zh': u('\u9655\u897f\u7701\u5b9d\u9e21\u5e02')},
'861339526':{'en': 'Xuzhou, Jiangsu', 'zh': u('\u6c5f\u82cf\u7701\u5f90\u5dde\u5e02')},
'861334383':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861334382':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861334381':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861334380':{'en': 'Xinxiang, Henan', 'zh': u('\u6cb3\u5357\u7701\u65b0\u4e61\u5e02')},
'861334387':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861334386':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861334385':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861334384':{'en': 'Zhengzhou, Henan', 'zh': u('\u6cb3\u5357\u7701\u90d1\u5dde\u5e02')},
'861334389':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'861334388':{'en': 'Luoyang, Henan', 'zh': u('\u6cb3\u5357\u7701\u6d1b\u9633\u5e02')},
'86134637':{'en': 'Cangzhou, Hebei', 'zh': u('\u6cb3\u5317\u7701\u6ca7\u5dde\u5e02')},
}
| 90.041904 | 131 | 0.644656 | 120,772 | 902,490 | 4.817309 | 0.089723 | 0.051564 | 0.020241 | 0.034918 | 0.845365 | 0.845167 | 0.845124 | 0.835332 | 0.835332 | 0.835332 | 0 | 0.317151 | 0.066639 | 902,490 | 10,022 | 132 | 90.050888 | 0.373532 | 0.000749 | 0 | 0 | 1 | 0.004199 | 0.722722 | 0.39933 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0001 | 0 | 0.0001 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
13816e5a5d1d53eade5b0c82283518e43a02d77f | 3,992 | py | Python | tests/segmentation/SemanticSegmentation_test.py | ruolinsss/InstantDL | c8c9cce96baafb1bafc3fb021ab37418785c6d8f | [
"MIT"
] | 1 | 2021-03-17T00:08:25.000Z | 2021-03-17T00:08:25.000Z | tests/segmentation/SemanticSegmentation_test.py | ruolinsss/InstantDL | c8c9cce96baafb1bafc3fb021ab37418785c6d8f | [
"MIT"
] | null | null | null | tests/segmentation/SemanticSegmentation_test.py | ruolinsss/InstantDL | c8c9cce96baafb1bafc3fb021ab37418785c6d8f | [
"MIT"
] | null | null | null | """
InstantDL
Utils for data evaluation
Written by Dominik Waibel
"""
from instantdl import GetPipeLine
import shutil
from instantdl.utils import *
def test_2DSegmentation():
os.makedirs(os.getcwd() + "/tests/segmentation/testimages/train/image/", exist_ok=True)
os.makedirs(os.getcwd() + "/tests/segmentation/testimages/train/groundtruth/", exist_ok=True)
os.makedirs(os.getcwd() + "/tests/segmentation/testimages/test/image/", exist_ok=True)
os.makedirs(os.getcwd() + "/tests/segmentation/testimages/test/groundtruth/", exist_ok=True)
X_true = np.ones((32, 32, 3))
Y_true = 255. * np.ones((32, 32, 3))
for i in range(0,20):
imsave(os.getcwd() + "/tests/segmentation/testimages/train/image/image"+str(i)+".jpg", X_true)
imsave(os.getcwd() + "/tests/segmentation/testimages/train/groundtruth/image"+str(i)+".jpg", Y_true)
for i in range(0,5):
imsave(os.getcwd() + "/tests/segmentation/testimages/test/image/image"+str(i)+".jpg", X_true)
imsave(os.getcwd() + "/tests/segmentation/testimages/test/groundtruth/image"+str(i)+".jpg", Y_true)
configs = {"use_algorithm": "SemanticSegmentation",
"path": "./tests/segmentation/testimages/",
"pretrained_weights": False,
"batchsize": 1,
"iterations_over_dataset": 1,
"image_size": False,
"evaluation": False}
pipeline = GetPipeLine(configs)
pipeline.run()
K.clear_session()
assert (os.path.isfile(os.getcwd() + "/tests/segmentation/testimages/logs/pretrained_weights.hdf5"))
# Make sure the networks has changed something
for i in range(0, 5):
assert (X_true != np.array((imread(os.getcwd() + "/tests/segmentation/testimages/results/image"+str(i)+".jpg_predict.tif")).astype("uint8"))).all
#Delete created test data
if os.path.exists(os.getcwd()+"/tests/segmentation/testimages") and os.path.isdir(os.getcwd()+"/tests/segmentation/testimages"):
shutil.rmtree(os.getcwd()+"/tests/segmentation/testimages")
def test_3DSegmentation():
os.makedirs(os.getcwd() + "/tests/segmentation/testimages/train/image/", exist_ok=True)
os.makedirs(os.getcwd() + "/tests/segmentation/testimages/train/groundtruth/", exist_ok=True)
os.makedirs(os.getcwd() + "/tests/segmentation/testimages/test/image/", exist_ok=True)
os.makedirs(os.getcwd() + "/tests/segmentation/testimages/test/groundtruth/", exist_ok=True)
X_true = np.ones((32, 32, 16))
Y_true = 255. * np.ones((32, 32, 16))
for i in range(0, 20):
imsave(os.getcwd() + "/tests/segmentation/testimages/train/image/image" + str(i) + ".tif", X_true)
imsave(os.getcwd() + "/tests/segmentation/testimages/train/groundtruth/image" + str(i) + ".tif", Y_true)
for i in range(0, 5):
imsave(os.getcwd() + "/tests/segmentation/testimages/test/image/image" + str(i) + ".tif", X_true)
imsave(os.getcwd() + "/tests/segmentation/testimages/test/groundtruth/image" + str(i) + ".tif", Y_true)
configs = {"use_algorithm": "SemanticSegmentation",
"path": "./tests/segmentation/testimages/",
"pretrained_weights": False,
"batchsize": 1,
"image_size": False,
"iterations_over_dataset": 1,
"evaluation": False}
pipeline = GetPipeLine(configs)
pipeline.run()
K.clear_session()
assert (os.path.isfile(os.getcwd() + "/tests/segmentation/testimages/logs/pretrained_weights.hdf5"))
# Make sure the networks has changed something
for i in range(0, 5):
assert (X_true != np.array((imread(os.getcwd() + "/tests/segmentation/testimages/results/image"+str(i)+".tif_predict.tif")).astype("uint8"))).all
#Delete created test data
if os.path.exists(os.getcwd()+"/tests/segmentation/testimages") and os.path.isdir(os.getcwd()+"/tests/segmentation/testimages"):
shutil.rmtree(os.getcwd()+"/tests/segmentation/testimages") == True | 51.844156 | 153 | 0.662074 | 500 | 3,992 | 5.206 | 0.182 | 0.182866 | 0.290434 | 0.249712 | 0.906646 | 0.904341 | 0.904341 | 0.885901 | 0.885901 | 0.885901 | 0 | 0.015677 | 0.169088 | 3,992 | 77 | 154 | 51.844156 | 0.769068 | 0.0501 | 0 | 0.644068 | 0 | 0 | 0.398202 | 0.334215 | 0 | 0 | 0 | 0 | 0.067797 | 1 | 0.033898 | false | 0 | 0.050847 | 0 | 0.084746 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
13baad5497f616171c206bbf469eb178a4199557 | 110,949 | py | Python | src/oci/email/email_client.py | Manny27nyc/oci-python-sdk | de60b04e07a99826254f7255e992f41772902df7 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/email/email_client.py | Manny27nyc/oci-python-sdk | de60b04e07a99826254f7255e992f41772902df7 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/email/email_client.py | Manny27nyc/oci-python-sdk | de60b04e07a99826254f7255e992f41772902df7 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
from __future__ import absolute_import
from oci._vendor import requests # noqa: F401
from oci._vendor import six
from oci import retry # noqa: F401
from oci.base_client import BaseClient
from oci.config import get_config_value_or_default, validate_config
from oci.signer import Signer
from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
from .models import email_type_mapping
missing = Sentinel("Missing")
class EmailClient(object):
"""
API for the Email Delivery service. Use this API to send high-volume, application-generated
emails. For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm).
**Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API.
If a subsequent read request fails to reflect your changes, wait a few minutes and try again.
"""
def __init__(self, config, **kwargs):
"""
Creates a new service client
:param dict config:
Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
the dict using :py:meth:`~oci.config.validate_config`
:param str service_endpoint: (optional)
The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
need to specify a service endpoint.
:param timeout: (optional)
The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
:type timeout: float or tuple(float, float)
:param signer: (optional)
The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
provided in the config parameter.
One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
:type signer: :py:class:`~oci.signer.AbstractBaseSigner`
:param obj retry_strategy: (optional)
A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
Any value provided at the operation level will override whatever is specified at the client level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
"""
validate_config(config, signer=kwargs.get('signer'))
if 'signer' in kwargs:
signer = kwargs['signer']
elif AUTHENTICATION_TYPE_FIELD_NAME in config:
signer = get_signer_from_authentication_type(config)
else:
signer = Signer(
tenancy=config["tenancy"],
user=config["user"],
fingerprint=config["fingerprint"],
private_key_file_location=config.get("key_file"),
pass_phrase=get_config_value_or_default(config, "pass_phrase"),
private_key_content=config.get("key_content")
)
base_client_init_kwargs = {
'regional_client': True,
'service_endpoint': kwargs.get('service_endpoint'),
'base_path': '/20170907',
'service_endpoint_template': 'https://ctrl.email.{region}.oci.{secondLevelDomain}',
'skip_deserialization': kwargs.get('skip_deserialization', False)
}
if 'timeout' in kwargs:
base_client_init_kwargs['timeout'] = kwargs.get('timeout')
self.base_client = BaseClient("email", config, signer, email_type_mapping, **base_client_init_kwargs)
self.retry_strategy = kwargs.get('retry_strategy')
def change_email_domain_compartment(self, email_domain_id, change_email_domain_compartment_details, **kwargs):
"""
Moves a email domain into a different compartment.
When provided, If-Match is checked against ETag value of the resource.
For information about moving resources between compartments, see
`Moving Resources to a Different Compartment`__.
**Note:** All Dkim objects associated with this email domain will also be moved into the provided compartment.
__ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
:param str email_domain_id: (required)
The `OCID`__ of this email domain.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param oci.email.models.ChangeEmailDomainCompartmentDetails change_email_domain_compartment_details: (required)
The configuration details for the move operation.
:param str if_match: (optional)
Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
has been deleted and purged from the system, then a retry of the original creation request
might be rejected.
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type None
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/change_email_domain_compartment.py.html>`__ to see an example of how to use change_email_domain_compartment API.
"""
resource_path = "/emailDomains/{emailDomainId}/actions/changeCompartment"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"if_match",
"opc_request_id",
"opc_retry_token"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"change_email_domain_compartment got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"emailDomainId": email_domain_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"if-match": kwargs.get("if_match", missing),
"opc-request-id": kwargs.get("opc_request_id", missing),
"opc-retry-token": kwargs.get("opc_retry_token", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
self.base_client.add_opc_retry_token_if_needed(header_params)
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
body=change_email_domain_compartment_details)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
body=change_email_domain_compartment_details)
def change_sender_compartment(self, sender_id, change_sender_compartment_details, **kwargs):
"""
Moves a sender into a different compartment. When provided, If-Match is checked against ETag values of the resource.
:param str sender_id: (required)
The unique OCID of the sender.
:param oci.email.models.ChangeSenderCompartmentDetails change_sender_compartment_details: (required)
Details for moving a sender into a different compartment.
:param str if_match: (optional)
Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type None
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/change_sender_compartment.py.html>`__ to see an example of how to use change_sender_compartment API.
"""
resource_path = "/senders/{senderId}/actions/changeCompartment"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"if_match",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"change_sender_compartment got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"senderId": sender_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"if-match": kwargs.get("if_match", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
body=change_sender_compartment_details)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
body=change_sender_compartment_details)
def create_dkim(self, create_dkim_details, **kwargs):
"""
Creates a new DKIM for a email domain.
This DKIM will sign all approved senders in the tenancy that are in this email domain.
Best security practices indicate to periodically rotate the DKIM that is doing the signing.
When a second DKIM is applied, all senders will seamlessly pick up the new key
without interruption in signing.
:param oci.email.models.CreateDkimDetails create_dkim_details: (required)
The DKIM details.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
has been deleted and purged from the system, then a retry of the original creation request
might be rejected.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.Dkim`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/create_dkim.py.html>`__ to see an example of how to use create_dkim API.
"""
resource_path = "/dkims"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_retry_token",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"create_dkim got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-retry-token": kwargs.get("opc_retry_token", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
self.base_client.add_opc_retry_token_if_needed(header_params)
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
header_params=header_params,
body=create_dkim_details,
response_type="Dkim")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
body=create_dkim_details,
response_type="Dkim")
def create_email_domain(self, create_email_domain_details, **kwargs):
"""
Creates a new email domain. Avoid entering confidential information.
:param oci.email.models.CreateEmailDomainDetails create_email_domain_details: (required)
The email domain to create.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
has been deleted and purged from the system, then a retry of the original creation request
might be rejected.
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.EmailDomain`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/create_email_domain.py.html>`__ to see an example of how to use create_email_domain API.
"""
resource_path = "/emailDomains"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id",
"opc_retry_token"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"create_email_domain got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing),
"opc-retry-token": kwargs.get("opc_retry_token", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
self.base_client.add_opc_retry_token_if_needed(header_params)
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
header_params=header_params,
body=create_email_domain_details,
response_type="EmailDomain")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
body=create_email_domain_details,
response_type="EmailDomain")
def create_sender(self, create_sender_details, **kwargs):
"""
Creates a sender for a tenancy in a given compartment.
:param oci.email.models.CreateSenderDetails create_sender_details: (required)
Create a sender.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.Sender`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/create_sender.py.html>`__ to see an example of how to use create_sender API.
"""
resource_path = "/senders"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"create_sender got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
header_params=header_params,
body=create_sender_details,
response_type="Sender")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
body=create_sender_details,
response_type="Sender")
def create_suppression(self, create_suppression_details, **kwargs):
"""
Adds recipient email addresses to the suppression list for a tenancy.
Addresses added to the suppression list via the API are denoted as
\"MANUAL\" in the `reason` field. *Note:* All email addresses added to the
suppression list are normalized to include only lowercase letters.
:param oci.email.models.CreateSuppressionDetails create_suppression_details: (required)
Adds a single email address to the suppression list for a compartment's tenancy.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.Suppression`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/create_suppression.py.html>`__ to see an example of how to use create_suppression API.
"""
resource_path = "/suppressions"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"create_suppression got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
header_params=header_params,
body=create_suppression_details,
response_type="Suppression")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
body=create_suppression_details,
response_type="Suppression")
def delete_dkim(self, dkim_id, **kwargs):
"""
Deletes a DKIM.
If this key is currently the active key for the email domain, deleting the key
will stop signing the domain's outgoing mail.
DKIM keys are left in DELETING state for about a day to allow DKIM signatures on
in-transit mail to be validated.
Consider instead of deletion creating a new DKIM for this domain so the signing can be rotated to it.
:param str dkim_id: (required)
The `OCID`__ of this DKIM.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param str if_match: (optional)
Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type None
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/delete_dkim.py.html>`__ to see an example of how to use delete_dkim API.
"""
resource_path = "/dkims/{dkimId}"
method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"if_match",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"delete_dkim got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"dkimId": dkim_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"if-match": kwargs.get("if_match", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params)
def delete_email_domain(self, email_domain_id, **kwargs):
"""
Deletes a email domain.
:param str email_domain_id: (required)
The `OCID`__ of this email domain.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param str if_match: (optional)
Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type None
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/delete_email_domain.py.html>`__ to see an example of how to use delete_email_domain API.
"""
resource_path = "/emailDomains/{emailDomainId}"
method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"if_match",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"delete_email_domain got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"emailDomainId": email_domain_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"if-match": kwargs.get("if_match", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params)
def delete_sender(self, sender_id, **kwargs):
"""
Deletes an approved sender for a tenancy in a given compartment for a
provided `senderId`.
:param str sender_id: (required)
The unique OCID of the sender.
:param str if_match: (optional)
Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type None
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/delete_sender.py.html>`__ to see an example of how to use delete_sender API.
"""
resource_path = "/senders/{senderId}"
method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"if_match",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"delete_sender got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"senderId": sender_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"if-match": kwargs.get("if_match", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params)
def delete_suppression(self, suppression_id, **kwargs):
"""
Removes a suppressed recipient email address from the suppression list
for a tenancy in a given compartment for a provided `suppressionId`.
:param str suppression_id: (required)
The unique OCID of the suppression.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type None
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/delete_suppression.py.html>`__ to see an example of how to use delete_suppression API.
"""
resource_path = "/suppressions/{suppressionId}"
method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"delete_suppression got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"suppressionId": suppression_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params)
def get_dkim(self, dkim_id, **kwargs):
"""
Retrieves the specified DKIM.
:param str dkim_id: (required)
The `OCID`__ of this DKIM.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.Dkim`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/get_dkim.py.html>`__ to see an example of how to use get_dkim API.
"""
resource_path = "/dkims/{dkimId}"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"get_dkim got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"dkimId": dkim_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
response_type="Dkim")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
response_type="Dkim")
def get_email_domain(self, email_domain_id, **kwargs):
"""
Retrieves the specified email domain.
:param str email_domain_id: (required)
The `OCID`__ of this email domain.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.EmailDomain`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/get_email_domain.py.html>`__ to see an example of how to use get_email_domain API.
"""
resource_path = "/emailDomains/{emailDomainId}"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"get_email_domain got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"emailDomainId": email_domain_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
response_type="EmailDomain")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
response_type="EmailDomain")
def get_sender(self, sender_id, **kwargs):
"""
Gets an approved sender for a given `senderId`.
:param str sender_id: (required)
The unique OCID of the sender.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.Sender`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/get_sender.py.html>`__ to see an example of how to use get_sender API.
"""
resource_path = "/senders/{senderId}"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"get_sender got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"senderId": sender_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
response_type="Sender")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
response_type="Sender")
def get_suppression(self, suppression_id, **kwargs):
"""
Gets the details of a suppressed recipient email address for a given
`suppressionId`. Each suppression is given a unique OCID.
:param str suppression_id: (required)
The unique OCID of the suppression.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.Suppression`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/get_suppression.py.html>`__ to see an example of how to use get_suppression API.
"""
resource_path = "/suppressions/{suppressionId}"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"get_suppression got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"suppressionId": suppression_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
response_type="Suppression")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
response_type="Suppression")
def get_work_request(self, work_request_id, **kwargs):
"""
Gets the status of the work request with the given ID.
:param str work_request_id: (required)
The ID of the asynchronous request.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.WorkRequest`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
"""
resource_path = "/workRequests/{workRequestId}"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"get_work_request got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"workRequestId": work_request_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
response_type="WorkRequest")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
response_type="WorkRequest")
def list_dkims(self, email_domain_id, **kwargs):
"""
Lists DKIMs for a email domain.
:param str email_domain_id: (required)
The `OCID`__ of the email domain to which this DKIM belongs.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param str id: (optional)
A filter to only return resources that match the given id exactly.
:param str name: (optional)
A filter to only return resources that match the given name exactly.
:param int limit: (optional)
For list pagination. The maximum number of results per page, or items to return in a
paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
how pagination works, see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param str page: (optional)
For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
For important details about how pagination works,
see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param str sort_order: (optional)
The sort order to use, either ascending or descending order.
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
Filter returned list by specified lifecycle state. This parameter is case-insensitive.
Allowed values are: "ACTIVE", "CREATING", "DELETING", "DELETED", "FAILED", "INACTIVE", "NEEDS_ATTENTION", "UPDATING"
:param str sort_by: (optional)
Specifies the attribute with which to sort the DKIMs.
Default: `TIMECREATED`
* **TIMECREATED:** Sorts by timeCreated.
* **NAME:** Sorts by name.
* **ID:** Sorts by id.
Allowed values are: "TIMECREATED", "ID", "NAME"
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.DkimCollection`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/list_dkims.py.html>`__ to see an example of how to use list_dkims API.
"""
resource_path = "/dkims"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id",
"id",
"name",
"limit",
"page",
"sort_order",
"lifecycle_state",
"sort_by"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"list_dkims got unknown kwargs: {!r}".format(extra_kwargs))
if 'sort_order' in kwargs:
sort_order_allowed_values = ["ASC", "DESC"]
if kwargs['sort_order'] not in sort_order_allowed_values:
raise ValueError(
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
)
if 'lifecycle_state' in kwargs:
lifecycle_state_allowed_values = ["ACTIVE", "CREATING", "DELETING", "DELETED", "FAILED", "INACTIVE", "NEEDS_ATTENTION", "UPDATING"]
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
raise ValueError(
"Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
)
if 'sort_by' in kwargs:
sort_by_allowed_values = ["TIMECREATED", "ID", "NAME"]
if kwargs['sort_by'] not in sort_by_allowed_values:
raise ValueError(
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
)
query_params = {
"emailDomainId": email_domain_id,
"id": kwargs.get("id", missing),
"name": kwargs.get("name", missing),
"limit": kwargs.get("limit", missing),
"page": kwargs.get("page", missing),
"sortOrder": kwargs.get("sort_order", missing),
"lifecycleState": kwargs.get("lifecycle_state", missing),
"sortBy": kwargs.get("sort_by", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
query_params=query_params,
header_params=header_params,
response_type="DkimCollection")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
query_params=query_params,
header_params=header_params,
response_type="DkimCollection")
def list_email_domains(self, compartment_id, **kwargs):
"""
Lists email domains in the specified compartment.
:param str compartment_id: (required)
The OCID for the compartment.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param str id: (optional)
A filter to only return resources that match the given id exactly.
:param str name: (optional)
A filter to only return resources that match the given name exactly.
:param int limit: (optional)
For list pagination. The maximum number of results per page, or items to return in a
paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
how pagination works, see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param str page: (optional)
For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
For important details about how pagination works,
see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param str sort_order: (optional)
The sort order to use, either ascending or descending order.
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
Filter returned list by specified lifecycle state. This parameter is case-insensitive.
Allowed values are: "ACTIVE", "CREATING", "DELETING", "DELETED", "FAILED", "UPDATING"
:param str sort_by: (optional)
Specifies the attribute with which to sort the email domains.
Default: `TIMECREATED`
* **TIMECREATED:** Sorts by timeCreated.
* **NAME:** Sorts by name.
* **ID:** Sorts by id.
Allowed values are: "TIMECREATED", "ID", "NAME"
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.EmailDomainCollection`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/list_email_domains.py.html>`__ to see an example of how to use list_email_domains API.
"""
resource_path = "/emailDomains"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id",
"id",
"name",
"limit",
"page",
"sort_order",
"lifecycle_state",
"sort_by"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"list_email_domains got unknown kwargs: {!r}".format(extra_kwargs))
if 'sort_order' in kwargs:
sort_order_allowed_values = ["ASC", "DESC"]
if kwargs['sort_order'] not in sort_order_allowed_values:
raise ValueError(
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
)
if 'lifecycle_state' in kwargs:
lifecycle_state_allowed_values = ["ACTIVE", "CREATING", "DELETING", "DELETED", "FAILED", "UPDATING"]
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
raise ValueError(
"Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
)
if 'sort_by' in kwargs:
sort_by_allowed_values = ["TIMECREATED", "ID", "NAME"]
if kwargs['sort_by'] not in sort_by_allowed_values:
raise ValueError(
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
)
query_params = {
"compartmentId": compartment_id,
"id": kwargs.get("id", missing),
"name": kwargs.get("name", missing),
"limit": kwargs.get("limit", missing),
"page": kwargs.get("page", missing),
"sortOrder": kwargs.get("sort_order", missing),
"lifecycleState": kwargs.get("lifecycle_state", missing),
"sortBy": kwargs.get("sort_by", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
query_params=query_params,
header_params=header_params,
response_type="EmailDomainCollection")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
query_params=query_params,
header_params=header_params,
response_type="EmailDomainCollection")
def list_senders(self, compartment_id, **kwargs):
"""
Gets a collection of approved sender email addresses and sender IDs.
:param str compartment_id: (required)
The OCID for the compartment.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param str lifecycle_state: (optional)
The current state of a sender.
Allowed values are: "CREATING", "ACTIVE", "DELETING", "DELETED"
:param str domain: (optional)
A filter to only return resources that match the given domain exactly.
:param str email_address: (optional)
The email address of the approved sender.
:param str page: (optional)
For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
For important details about how pagination works,
see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param int limit: (optional)
For list pagination. The maximum number of results per page, or items to return in a
paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
how pagination works, see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param str sort_by: (optional)
The field to sort by. The `TIMECREATED` value returns the list in in
descending order by default. The `EMAILADDRESS` value returns the list in
ascending order by default. Use the `SortOrderQueryParam` to change the
direction of the returned list of items.
Allowed values are: "TIMECREATED", "EMAILADDRESS"
:param str sort_order: (optional)
The sort order to use, either ascending or descending order.
Allowed values are: "ASC", "DESC"
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.email.models.SenderSummary`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/list_senders.py.html>`__ to see an example of how to use list_senders API.
"""
resource_path = "/senders"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id",
"lifecycle_state",
"domain",
"email_address",
"page",
"limit",
"sort_by",
"sort_order"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"list_senders got unknown kwargs: {!r}".format(extra_kwargs))
if 'lifecycle_state' in kwargs:
lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "DELETING", "DELETED"]
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
raise ValueError(
"Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
)
if 'sort_by' in kwargs:
sort_by_allowed_values = ["TIMECREATED", "EMAILADDRESS"]
if kwargs['sort_by'] not in sort_by_allowed_values:
raise ValueError(
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
)
if 'sort_order' in kwargs:
sort_order_allowed_values = ["ASC", "DESC"]
if kwargs['sort_order'] not in sort_order_allowed_values:
raise ValueError(
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
)
query_params = {
"compartmentId": compartment_id,
"lifecycleState": kwargs.get("lifecycle_state", missing),
"domain": kwargs.get("domain", missing),
"emailAddress": kwargs.get("email_address", missing),
"page": kwargs.get("page", missing),
"limit": kwargs.get("limit", missing),
"sortBy": kwargs.get("sort_by", missing),
"sortOrder": kwargs.get("sort_order", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
query_params=query_params,
header_params=header_params,
response_type="list[SenderSummary]")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
query_params=query_params,
header_params=header_params,
response_type="list[SenderSummary]")
def list_suppressions(self, compartment_id, **kwargs):
"""
Gets a list of suppressed recipient email addresses for a user. The
`compartmentId` for suppressions must be a tenancy OCID. The returned list
is sorted by creation time in descending order.
:param str compartment_id: (required)
The OCID for the compartment.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param str email_address: (optional)
The email address of the suppression.
:param datetime time_created_greater_than_or_equal_to: (optional)
Search for suppressions that were created within a specific date range,
using this parameter to specify the earliest creation date for the
returned list (inclusive). Specifying this parameter without the
corresponding `timeCreatedLessThan` parameter will retrieve suppressions created from the
given `timeCreatedGreaterThanOrEqualTo` to the current time, in \"YYYY-MM-ddThh:mmZ\" format with a
Z offset, as defined by RFC 3339.
**Example:** 2016-12-19T16:39:57.600Z
:param datetime time_created_less_than: (optional)
Search for suppressions that were created within a specific date range,
using this parameter to specify the latest creation date for the returned
list (exclusive). Specifying this parameter without the corresponding
`timeCreatedGreaterThanOrEqualTo` parameter will retrieve all suppressions created before the
specified end date, in \"YYYY-MM-ddThh:mmZ\" format with a Z offset, as
defined by RFC 3339.
**Example:** 2016-12-19T16:39:57.600Z
:param str page: (optional)
For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
For important details about how pagination works,
see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param int limit: (optional)
For list pagination. The maximum number of results per page, or items to return in a
paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
how pagination works, see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param str sort_by: (optional)
The field to sort by. The `TIMECREATED` value returns the list in in
descending order by default. The `EMAILADDRESS` value returns the list in
ascending order by default. Use the `SortOrderQueryParam` to change the
direction of the returned list of items.
Allowed values are: "TIMECREATED", "EMAILADDRESS"
:param str sort_order: (optional)
The sort order to use, either ascending or descending order.
Allowed values are: "ASC", "DESC"
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.email.models.SuppressionSummary`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/list_suppressions.py.html>`__ to see an example of how to use list_suppressions API.
"""
resource_path = "/suppressions"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id",
"email_address",
"time_created_greater_than_or_equal_to",
"time_created_less_than",
"page",
"limit",
"sort_by",
"sort_order"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"list_suppressions got unknown kwargs: {!r}".format(extra_kwargs))
if 'sort_by' in kwargs:
sort_by_allowed_values = ["TIMECREATED", "EMAILADDRESS"]
if kwargs['sort_by'] not in sort_by_allowed_values:
raise ValueError(
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
)
if 'sort_order' in kwargs:
sort_order_allowed_values = ["ASC", "DESC"]
if kwargs['sort_order'] not in sort_order_allowed_values:
raise ValueError(
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
)
query_params = {
"compartmentId": compartment_id,
"emailAddress": kwargs.get("email_address", missing),
"timeCreatedGreaterThanOrEqualTo": kwargs.get("time_created_greater_than_or_equal_to", missing),
"timeCreatedLessThan": kwargs.get("time_created_less_than", missing),
"page": kwargs.get("page", missing),
"limit": kwargs.get("limit", missing),
"sortBy": kwargs.get("sort_by", missing),
"sortOrder": kwargs.get("sort_order", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
query_params=query_params,
header_params=header_params,
response_type="list[SuppressionSummary]")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
query_params=query_params,
header_params=header_params,
response_type="list[SuppressionSummary]")
def list_work_request_errors(self, work_request_id, **kwargs):
"""
Return a (paginated) list of errors for a given work request.
:param str work_request_id: (required)
The ID of the asynchronous request.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param str page: (optional)
For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
For important details about how pagination works,
see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param int limit: (optional)
For list pagination. The maximum number of results per page, or items to return in a
paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
how pagination works, see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.WorkRequestErrorCollection`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
"""
resource_path = "/workRequests/{workRequestId}/errors"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id",
"page",
"limit"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"list_work_request_errors got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"workRequestId": work_request_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
query_params = {
"page": kwargs.get("page", missing),
"limit": kwargs.get("limit", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
query_params=query_params,
header_params=header_params,
response_type="WorkRequestErrorCollection")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
query_params=query_params,
header_params=header_params,
response_type="WorkRequestErrorCollection")
def list_work_request_logs(self, work_request_id, **kwargs):
"""
Return a (paginated) list of logs for a given work request.
:param str work_request_id: (required)
The ID of the asynchronous request.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param str page: (optional)
For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
For important details about how pagination works,
see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param int limit: (optional)
For list pagination. The maximum number of results per page, or items to return in a
paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
how pagination works, see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.WorkRequestLogEntryCollection`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
"""
resource_path = "/workRequests/{workRequestId}/logs"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id",
"page",
"limit"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"list_work_request_logs got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"workRequestId": work_request_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
query_params = {
"page": kwargs.get("page", missing),
"limit": kwargs.get("limit", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
query_params=query_params,
header_params=header_params,
response_type="WorkRequestLogEntryCollection")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
query_params=query_params,
header_params=header_params,
response_type="WorkRequestLogEntryCollection")
def list_work_requests(self, compartment_id, **kwargs):
"""
Lists the work requests in a compartment.
:param str compartment_id: (required)
The OCID for the compartment.
:param str work_request_id: (optional)
The ID of the asynchronous work request.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param str page: (optional)
For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
For important details about how pagination works,
see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param int limit: (optional)
For list pagination. The maximum number of results per page, or items to return in a
paginated \"List\" call. `1` is the minimum, `1000` is the maximum. For important details about
how pagination works, see `List Pagination`__.
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.WorkRequestSummaryCollection`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
"""
resource_path = "/workRequests"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"work_request_id",
"opc_request_id",
"page",
"limit"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"list_work_requests got unknown kwargs: {!r}".format(extra_kwargs))
query_params = {
"compartmentId": compartment_id,
"workRequestId": kwargs.get("work_request_id", missing),
"page": kwargs.get("page", missing),
"limit": kwargs.get("limit", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
query_params=query_params,
header_params=header_params,
response_type="WorkRequestSummaryCollection")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
query_params=query_params,
header_params=header_params,
response_type="WorkRequestSummaryCollection")
def update_dkim(self, dkim_id, update_dkim_details, **kwargs):
"""
Modifies a DKIM.
:param str dkim_id: (required)
The `OCID`__ of this DKIM.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param oci.email.models.UpdateDkimDetails update_dkim_details: (required)
The new DKIM attributes to apply.
:param str if_match: (optional)
Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type None
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/update_dkim.py.html>`__ to see an example of how to use update_dkim API.
"""
resource_path = "/dkims/{dkimId}"
method = "PUT"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"if_match",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"update_dkim got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"dkimId": dkim_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"if-match": kwargs.get("if_match", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
body=update_dkim_details)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
body=update_dkim_details)
def update_email_domain(self, email_domain_id, update_email_domain_details, **kwargs):
"""
Modifies a email domain.
:param str email_domain_id: (required)
The `OCID`__ of this email domain.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param oci.email.models.UpdateEmailDomainDetails update_email_domain_details: (required)
The new email domain attributes to apply.
:param str if_match: (optional)
Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type None
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/update_email_domain.py.html>`__ to see an example of how to use update_email_domain API.
"""
resource_path = "/emailDomains/{emailDomainId}"
method = "PUT"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"if_match",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"update_email_domain got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"emailDomainId": email_domain_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"if-match": kwargs.get("if_match", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
body=update_email_domain_details)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
body=update_email_domain_details)
def update_sender(self, sender_id, update_sender_details, **kwargs):
"""
Replaces the set of tags for a sender with the tags provided. If either freeform
or defined tags are omitted, the tags for that set remain the same. Each set must
include the full set of tags for the sender, partial updates are not permitted.
For more information about tagging, see `Resource Tags`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
:param str sender_id: (required)
The unique OCID of the sender.
:param oci.email.models.UpdateSenderDetails update_sender_details: (required)
update details for sender.
:param str if_match: (optional)
Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
The request ID for tracing from the system
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.Sender`
:rtype: :class:`~oci.response.Response`
:example:
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/email/update_sender.py.html>`__ to see an example of how to use update_sender API.
"""
resource_path = "/senders/{senderId}"
method = "PUT"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"if_match",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
"update_sender got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"senderId": sender_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
for (k, v) in six.iteritems(path_params):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"if-match": kwargs.get("if_match", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
body=update_sender_details,
response_type="Sender")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
body=update_sender_details,
response_type="Sender")
| 45.846694 | 245 | 0.633624 | 13,908 | 110,949 | 4.895456 | 0.041487 | 0.064154 | 0.017625 | 0.00658 | 0.891593 | 0.873777 | 0.863232 | 0.85511 | 0.851438 | 0.848912 | 0 | 0.001801 | 0.2793 | 110,949 | 2,419 | 246 | 45.865647 | 0.849689 | 0.445475 | 0 | 0.843234 | 0 | 0 | 0.162557 | 0.015617 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021452 | false | 0.000825 | 0.007426 | 0 | 0.070957 | 0.000825 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
13c5cee586ae15cfef1dcf9ffb20c680edce3279 | 26,440 | py | Python | tests/fortunes_algorithm/test_point_sites.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | 3 | 2021-11-12T17:43:08.000Z | 2022-01-03T02:47:34.000Z | tests/fortunes_algorithm/test_point_sites.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | 3 | 2021-11-19T20:12:31.000Z | 2021-11-19T20:14:39.000Z | tests/fortunes_algorithm/test_point_sites.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | null | null | null | """Test Algorithm using Point Sites."""
# Standard
from general_utils.numbers.numbers import are_close
from typing import List, Any
# Models
from voronoi_diagrams.models import Site, PointBisector, Point
# Algorithm
from voronoi_diagrams.fortunes_algorithm import FortunesAlgorithm
# Math
from decimal import Decimal
class TestPointSites:
"""Test formula."""
def _check_bisectors_and_vertex(
self,
voronoi_diagram: FortunesAlgorithm,
expected_bisectors: List[PointBisector],
expected_vertices: List[Point],
):
print(voronoi_diagram.bisectors_list)
print(voronoi_diagram.vertices_list)
# Bisectors.
assert len(voronoi_diagram.bisectors_list) == len(expected_bisectors)
for bisector in voronoi_diagram.bisectors_list:
assert bisector in expected_bisectors
# Vertex.
assert len(voronoi_diagram.vertices_list) == len(expected_vertices)
for vertex in voronoi_diagram.vertices_list:
for expected_vertex in expected_vertices:
if are_close(
vertex.x, expected_vertex.x, Decimal("0.00001")
) and are_close(vertex.y, expected_vertex.y, Decimal("0.00001")):
break
else:
assert False
def test_2_point_sites(self):
"""Test 2 point sites.
There are no intersections (vertex) in this test.
"""
p = Point(Decimal(0), Decimal(0))
q = Point(Decimal(2), Decimal(2))
site_p = Site(p.x, p.y)
site_q = Site(q.x, q.y)
points = (p, q)
bisector = PointBisector((site_p, site_q))
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(voronoi_diagram, [bisector], [])
def test_2_sites_same_x(self):
"""Test when all sites have same x coordinate."""
p = Point(Decimal(2), Decimal(-2))
q = Point(Decimal(2), Decimal(2))
site_p = Site(p.x, p.y)
site_q = Site(q.x, q.y)
points = (p, q)
bisector_p_q = PointBisector(sites=(site_p, site_q))
expected_bisectors = [bisector_p_q]
expected_vertices = []
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_intersection_right(self):
"""Create Diagram of 3 sites.
There is going to be one intersection.
"""
p = Point(Decimal(0), Decimal(0))
q = Point(Decimal(2), Decimal(2))
r = Point(Decimal(1), Decimal(-1))
site_p = Site(p.x, p.y)
site_q = Site(q.x, q.y)
site_r = Site(r.x, r.y)
points = (p, q, r)
bisector_p_q = PointBisector(sites=(site_p, site_q))
bisector_p_r = PointBisector(sites=(site_p, site_r))
bisector_q_r = PointBisector(sites=(site_q, site_r))
expected_bisectors = [bisector_p_q, bisector_p_r, bisector_q_r]
expected_vertices = [Point(Decimal(1.5), Decimal(0.5))]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_intersection_left(self):
"""Create Diagram of 3 sites.
There is going to be one intersection.
"""
p = Point(Decimal(0), Decimal(0))
q = Point(Decimal(-0.6), Decimal(2))
r = Point(Decimal(1), Decimal(-1))
site_p = Site(p.x, p.y)
site_q = Site(q.x, q.y)
site_r = Site(r.x, r.y)
points = (p, q, r)
bisector_p_q = PointBisector(sites=(site_p, site_q))
bisector_p_r = PointBisector(sites=(site_p, site_r))
bisector_q_r = PointBisector(sites=(site_q, site_r))
expected_bisectors = [bisector_p_q, bisector_p_r, bisector_q_r]
expected_vertices = [
Point(
Decimal("2.985714285714285657415106289"),
Decimal("1.985714285714285657415106289"),
)
]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_intersection_middle(self):
"""Create Diagram of 3 sites.
There is going to be one intersection.
"""
p = Point(Decimal(0), Decimal(0))
q = Point(Decimal(0.49), Decimal(1.716))
r = Point(Decimal(1), Decimal(-1))
site_p = Site(p.x, p.y)
site_q = Site(q.x, q.y)
site_r = Site(r.x, r.y)
points = (p, q, r)
bisector_p_q = PointBisector(sites=(site_p, site_q))
bisector_p_r = PointBisector(sites=(site_p, site_r))
bisector_q_r = PointBisector(sites=(site_q, site_r))
expected_bisectors = [bisector_p_q, bisector_p_r, bisector_q_r]
expected_vertices = [
Point(
Decimal("1.499718041704442417152644862"),
Decimal("0.4997180417044424171526448628"),
)
]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_intersection_up(self):
"""Create Diagram of 3 sites.
There is going to be one intersection.
"""
p = Point(Decimal(0), Decimal(0))
q = Point(Decimal(0), Decimal(2))
r = Point(Decimal(1), Decimal(-1))
site_p = Site(p.x, p.y)
site_q = Site(q.x, q.y)
site_r = Site(r.x, r.y)
points = (p, q, r)
bisector_p_q = PointBisector(sites=(site_p, site_q))
bisector_p_r = PointBisector(sites=(site_p, site_r))
bisector_q_r = PointBisector(sites=(site_q, site_r))
expected_bisectors = [bisector_p_q, bisector_p_r, bisector_q_r]
expected_vertices = [Point(Decimal(2), Decimal(1))]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_intersection_in_site(self):
"""Create Diagram of 3 sites.
There is going to be one intersection.
"""
p = Point(Decimal(0), Decimal(0))
q = Point(Decimal(2), Decimal(2))
r = Point(Decimal(2), Decimal(-2))
site_p = Site(p.x, p.y)
site_q = Site(q.x, q.y)
site_r = Site(r.x, r.y)
points = (p, q, r)
bisector_p_q = PointBisector(sites=(site_p, site_q))
bisector_p_r = PointBisector(sites=(site_p, site_r))
bisector_q_r = PointBisector(sites=(site_q, site_r))
expected_bisectors = [bisector_p_q, bisector_p_r, bisector_q_r]
expected_vertices = [Point(Decimal(2.0), Decimal(0))]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_3_sites_same_x(self):
"""Test when all sites have same x coordinate."""
p = Point(Decimal(2), Decimal(-2))
q = Point(Decimal(2), Decimal(0))
r = Point(Decimal(2), Decimal(2))
site_p = Site(p.x, p.y)
site_q = Site(q.x, q.y)
site_r = Site(r.x, r.y)
points = (p, q, r)
bisector_p_q = PointBisector(sites=(site_p, site_q))
bisector_q_r = PointBisector(sites=(site_q, site_r))
expected_bisectors = [bisector_p_q, bisector_q_r]
expected_vertices = []
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_3_sites_same_y(self):
"""Test when all sites have same x coordinate."""
p = Point(Decimal(-2), Decimal(2))
q = Point(Decimal(0), Decimal(2))
r = Point(Decimal(2), Decimal(2))
site_p = Site(p.x, p.y)
site_q = Site(q.x, q.y)
site_r = Site(r.x, r.y)
points = (p, q, r)
bisector_p_q = PointBisector(sites=(site_p, site_q))
bisector_q_r = PointBisector(sites=(site_q, site_r))
expected_bisectors = [bisector_p_q, bisector_q_r]
expected_vertices = []
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_4_sites(self):
"""Create Diagram of 4 sites.
There is going to be one intersection.
"""
p1 = Point(Decimal(0), Decimal(0))
p2 = Point(Decimal(0.49), Decimal(1.716))
p3 = Point(Decimal(1), Decimal(-1))
p4 = Point(Decimal(6.6), Decimal(5.44))
site_p1 = Site(p1.x, p1.y)
site_p2 = Site(p2.x, p2.y)
site_p3 = Site(p3.x, p3.y)
site_p4 = Site(p4.x, p4.y)
points = (p1, p2, p3, p4)
bisector_p1_p2 = PointBisector(sites=(site_p1, site_p2))
bisector_p1_p3 = PointBisector(sites=(site_p1, site_p3))
bisector_p2_p3 = PointBisector(sites=(site_p2, site_p3))
bisector_p2_p4 = PointBisector(sites=(site_p2, site_p4))
bisector_p3_p4 = PointBisector(sites=(site_p3, site_p4))
expected_bisectors = [
bisector_p1_p2,
bisector_p1_p3,
bisector_p2_p3,
bisector_p2_p4,
bisector_p3_p4,
]
expected_vertices = [
Point(
Decimal("1.499718041704442417152644862"),
Decimal("0.4997180417044424171526448628"),
),
Point(
Decimal("5.018474882664648148876445313"),
Decimal("1.160456623769871347338581763"),
),
]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_4_sites_up(self):
"""Create Diagram of 4 sites.
There is going to be one intersection.
"""
p1 = Point(Decimal(0), Decimal(0))
p2 = Point(Decimal(0.5), Decimal(1.7))
p3 = Point(Decimal(1), Decimal(-1))
p4 = Point(Decimal(0.5), Decimal(3))
site_p1 = Site(p1.x, p1.y)
site_p2 = Site(p2.x, p2.y)
site_p3 = Site(p3.x, p3.y)
site_p4 = Site(p4.x, p4.y)
points = (p1, p2, p3, p4)
bisector_p1_p2 = PointBisector(sites=(site_p1, site_p2))
bisector_p1_p3 = PointBisector(sites=(site_p1, site_p3))
bisector_p1_p4 = PointBisector(sites=(site_p1, site_p4))
bisector_p2_p3 = PointBisector(sites=(site_p2, site_p3))
bisector_p2_p4 = PointBisector(sites=(site_p2, site_p4))
bisector_p3_p4 = PointBisector(sites=(site_p3, site_p4))
expected_bisectors = [
bisector_p1_p2,
bisector_p1_p3,
bisector_p1_p4,
bisector_p2_p3,
bisector_p2_p4,
bisector_p3_p4,
]
expected_vertices = [
Point(
Decimal("1.486363636363636339138053920"),
Decimal("0.4863636363636363391380539193"),
),
Point(
Decimal("-4.849999999999999866773237046"),
Decimal("2.349999999999999977795539508"),
),
Point(
Decimal("11.54999999999999982236431606"),
Decimal("2.349999999999999977795539507"),
),
]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_4_sites_one_interception(self):
"""Create Diagram of 4 sites.
There is going to be one intersection.
"""
p1 = Point(Decimal(0.5), Decimal(1.7))
p2 = Point(Decimal(2.2), Decimal(2))
p3 = Point(Decimal(0.8), Decimal(0))
p4 = Point(Decimal(2.5), Decimal(0.3))
site_p1 = Site(p1.x, p1.y)
site_p2 = Site(p2.x, p2.y)
site_p3 = Site(p3.x, p3.y)
site_p4 = Site(p4.x, p4.y)
points = (p1, p2, p3, p4)
bisector_p1_p2 = PointBisector(sites=(site_p1, site_p2))
bisector_p1_p3 = PointBisector(sites=(site_p1, site_p3))
bisector_p1_p4 = PointBisector(sites=(site_p1, site_p4))
bisector_p2_p4 = PointBisector(sites=(site_p2, site_p4))
bisector_p3_p4 = PointBisector(sites=(site_p3, site_p4))
expected_bisectors = [
bisector_p1_p2,
bisector_p1_p3,
bisector_p1_p4,
bisector_p2_p4,
bisector_p3_p4,
]
# Precision errors in operations but we agree that is almost the same point.
expected_vertices = [
Point(
Decimal("1.500000000000000022167204686"),
Decimal("1.000000000000000003911859650"),
),
Point(
Decimal("1.500000000000000076933239794"),
Decimal("1.000000000000000082149052662"),
),
]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_4_sites_same_x(self):
"""Test when all sites have same x coordinate."""
p1 = Point(Decimal(0), Decimal(1))
p2 = Point(Decimal(0), Decimal(-1))
p3 = Point(Decimal(0), Decimal(0))
p4 = Point(Decimal(0), Decimal(0.3))
site_p1 = Site(p1.x, p1.y)
site_p2 = Site(p2.x, p2.y)
site_p3 = Site(p3.x, p3.y)
site_p4 = Site(p4.x, p4.y)
points = (p1, p2, p3, p4)
bisector_p2_p3 = PointBisector(sites=(site_p2, site_p3))
bisector_p3_p4 = PointBisector(sites=(site_p3, site_p4))
bisector_p1_p4 = PointBisector(sites=(site_p1, site_p4))
expected_bisectors = [bisector_p2_p3, bisector_p3_p4, bisector_p1_p4]
expected_vertices = []
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_4_sites_same_y(self):
"""Test when all sites have same y coordinate."""
p1 = Point(Decimal(1), Decimal(0))
p2 = Point(Decimal(-1), Decimal(0))
p3 = Point(Decimal(0), Decimal(0))
p4 = Point(Decimal(0.3), Decimal(0))
site_p1 = Site(p1.x, p1.y)
site_p2 = Site(p2.x, p2.y)
site_p3 = Site(p3.x, p3.y)
site_p4 = Site(p4.x, p4.y)
points = (p1, p2, p3, p4)
bisector_p2_p3 = PointBisector(sites=(site_p2, site_p3))
bisector_p3_p4 = PointBisector(sites=(site_p3, site_p4))
bisector_p1_p4 = PointBisector(sites=(site_p1, site_p4))
expected_bisectors = [bisector_p2_p3, bisector_p3_p4, bisector_p1_p4]
expected_vertices = []
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_4_sites_square(self):
"""Test when sites form a square."""
p1 = Point(Decimal(-1), Decimal(-1))
p2 = Point(Decimal(1), Decimal(-1))
p3 = Point(Decimal(-1), Decimal(1))
p4 = Point(Decimal(1), Decimal(1))
site_p1 = Site(p1.x, p1.y)
site_p2 = Site(p2.x, p2.y)
site_p3 = Site(p3.x, p3.y)
site_p4 = Site(p4.x, p4.y)
points = (p1, p2, p3, p4)
bisector_p1_p2 = PointBisector(sites=(site_p1, site_p2))
bisector_p1_p3 = PointBisector(sites=(site_p1, site_p3))
bisector_p2_p3 = PointBisector(sites=(site_p2, site_p3))
bisector_p2_p4 = PointBisector(sites=(site_p2, site_p4))
bisector_p3_p4 = PointBisector(sites=(site_p3, site_p4))
expected_bisectors = [
bisector_p1_p2,
bisector_p1_p3,
bisector_p2_p3,
bisector_p2_p4,
bisector_p3_p4,
]
expected_vertices = [Point(Decimal(0), Decimal(0))]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_4_sites_rhombus(self):
"""Test when sites form a rhombus."""
p1 = Point(Decimal(0), Decimal(-1))
p2 = Point(Decimal(1), Decimal(0))
p3 = Point(Decimal(-1), Decimal(0))
p4 = Point(Decimal(0), Decimal(1))
site_p1 = Site(p1.x, p1.y)
site_p2 = Site(p2.x, p2.y)
site_p3 = Site(p3.x, p3.y)
site_p4 = Site(p4.x, p4.y)
points = (p1, p2, p3, p4)
bisector_p1_p2 = PointBisector(sites=(site_p1, site_p2))
bisector_p1_p3 = PointBisector(sites=(site_p1, site_p3))
bisector_p2_p3 = PointBisector(sites=(site_p2, site_p3))
bisector_p2_p4 = PointBisector(sites=(site_p2, site_p4))
bisector_p3_p4 = PointBisector(sites=(site_p3, site_p4))
expected_bisectors = [
bisector_p1_p2,
bisector_p1_p3,
bisector_p2_p3,
bisector_p2_p4,
bisector_p3_p4,
]
expected_vertices = [Point(Decimal(0), Decimal(0))]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_5_sites_square_and_one(self):
"""Test when sites form a square."""
p1 = Point(Decimal(-1), Decimal(-1))
p2 = Point(Decimal(1), Decimal(-1))
p3 = Point(Decimal(-1), Decimal(1))
p4 = Point(Decimal(1), Decimal(1))
p5 = Point(Decimal(5), Decimal(5))
site_p1 = Site(p1.x, p1.y)
site_p2 = Site(p2.x, p2.y)
site_p3 = Site(p3.x, p3.y)
site_p4 = Site(p4.x, p4.y)
site_p5 = Site(p5.x, p5.y)
points = (p1, p2, p3, p4, p5)
bisector_p1_p2 = PointBisector(sites=(site_p1, site_p2))
bisector_p1_p3 = PointBisector(sites=(site_p1, site_p3))
bisector_p2_p3 = PointBisector(sites=(site_p2, site_p3))
bisector_p2_p4 = PointBisector(sites=(site_p2, site_p4))
bisector_p2_p5 = PointBisector(sites=(site_p2, site_p5))
bisector_p3_p4 = PointBisector(sites=(site_p3, site_p4))
bisector_p3_p5 = PointBisector(sites=(site_p3, site_p5))
bisector_p4_p5 = PointBisector(sites=(site_p4, site_p5))
expected_bisectors = [
bisector_p1_p2,
bisector_p1_p3,
bisector_p2_p3,
bisector_p2_p4,
bisector_p2_p5,
bisector_p3_p4,
bisector_p3_p5,
bisector_p4_p5,
]
expected_vertices = [
Point(Decimal(0), Decimal(0)),
Point(Decimal(6), Decimal(0)),
Point(Decimal(0), Decimal(6)),
]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_5_sites_rhombus_and_one(self):
"""Test when sites form a rhombus."""
p1 = Point(Decimal(0), Decimal(-1))
p2 = Point(Decimal(-1), Decimal(0))
p3 = Point(Decimal(1), Decimal(0))
p4 = Point(Decimal(0), Decimal(1))
p5 = Point(Decimal(0), Decimal(5))
site_p1 = Site(p1.x, p1.y)
site_p2 = Site(p2.x, p2.y)
site_p3 = Site(p3.x, p3.y)
site_p4 = Site(p4.x, p4.y)
site_p5 = Site(p5.x, p5.y)
points = (p1, p2, p3, p4, p5)
bisector_p1_p2 = PointBisector(sites=(site_p1, site_p2))
bisector_p1_p3 = PointBisector(sites=(site_p1, site_p3))
bisector_p2_p3 = PointBisector(sites=(site_p2, site_p3))
bisector_p2_p4 = PointBisector(sites=(site_p2, site_p4))
bisector_p2_p5 = PointBisector(sites=(site_p2, site_p5))
bisector_p3_p4 = PointBisector(sites=(site_p3, site_p4))
bisector_p3_p5 = PointBisector(sites=(site_p3, site_p5))
bisector_p4_p5 = PointBisector(sites=(site_p4, site_p5))
expected_bisectors = [
bisector_p1_p2,
bisector_p1_p3,
bisector_p2_p3,
bisector_p2_p4,
bisector_p2_p5,
bisector_p3_p4,
bisector_p3_p5,
bisector_p4_p5,
]
expected_vertices = [
Point(Decimal(0), Decimal(0)),
Point(Decimal(-3), Decimal(3)),
Point(Decimal(3), Decimal(3)),
]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_5_sites_rhombus_and_one_more_intersection(self):
"""Test when sites form a rhombus."""
p1 = Point(Decimal(0), Decimal(-1))
p2 = Point(Decimal(-1), Decimal(0))
p3 = Point(Decimal(1), Decimal(0))
p4 = Point(Decimal(0), Decimal(1))
p5 = Point(Decimal(4), Decimal(4))
site_p1 = Site(p1.x, p1.y)
site_p2 = Site(p2.x, p2.y)
site_p3 = Site(p3.x, p3.y)
site_p4 = Site(p4.x, p4.y)
site_p5 = Site(p5.x, p5.y)
points = (p1, p2, p3, p4, p5)
bisector_p1_p2 = PointBisector(sites=(site_p1, site_p2))
bisector_p1_p3 = PointBisector(sites=(site_p1, site_p3))
bisector_p2_p3 = PointBisector(sites=(site_p2, site_p3))
bisector_p2_p4 = PointBisector(sites=(site_p2, site_p4))
bisector_p3_p4 = PointBisector(sites=(site_p3, site_p4))
bisector_p3_p5 = PointBisector(sites=(site_p3, site_p5))
bisector_p4_p5 = PointBisector(sites=(site_p4, site_p5))
expected_bisectors = [
bisector_p1_p2,
bisector_p1_p3,
bisector_p2_p3,
bisector_p2_p4,
bisector_p3_p4,
bisector_p3_p5,
bisector_p4_p5,
]
expected_vertices = [
Point(Decimal(0), Decimal(0)),
Point(
Decimal("2.214285714285714285714285714"),
Decimal("2.214285714285714285714285714"),
),
]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_5_sites_square_in_middle(self):
"""Test when sites form a square area."""
p1 = Point(Decimal(0), Decimal(-1))
p2 = Point(Decimal(-1), Decimal(0))
p3 = Point(Decimal(1), Decimal(0))
p4 = Point(Decimal(0), Decimal(1))
p5 = Point(Decimal(0), Decimal(0))
site_p1 = Site(p1.x, p1.y)
site_p2 = Site(p2.x, p2.y)
site_p3 = Site(p3.x, p3.y)
site_p4 = Site(p4.x, p4.y)
site_p5 = Site(p5.x, p5.y)
points = (p1, p2, p3, p4, p5)
bisector_p1_p2 = PointBisector(sites=(site_p1, site_p2))
bisector_p1_p3 = PointBisector(sites=(site_p1, site_p3))
bisector_p1_p5 = PointBisector(sites=(site_p1, site_p5))
bisector_p2_p4 = PointBisector(sites=(site_p2, site_p4))
bisector_p2_p5 = PointBisector(sites=(site_p2, site_p5))
bisector_p3_p4 = PointBisector(sites=(site_p3, site_p4))
bisector_p3_p5 = PointBisector(sites=(site_p3, site_p5))
bisector_p4_p5 = PointBisector(sites=(site_p4, site_p5))
expected_bisectors = [
bisector_p1_p2,
bisector_p1_p3,
bisector_p1_p5,
bisector_p2_p4,
bisector_p2_p5,
bisector_p3_p4,
bisector_p3_p5,
bisector_p4_p5,
]
expected_vertices = [
Point(Decimal(-0.5), Decimal(-0.5)),
Point(Decimal(-0.5), Decimal(0.5)),
Point(Decimal(0.5), Decimal(-0.5)),
Point(Decimal(0.5), Decimal(0.5)),
]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
def test_5_sites_rhombus_in_middle(self):
"""Test when sites form a rhombus area."""
p1 = Point(Decimal(1), Decimal(-1))
p2 = Point(Decimal(-1), Decimal(-1))
p3 = Point(Decimal(1), Decimal(1))
p4 = Point(Decimal(-1), Decimal(1))
p5 = Point(Decimal(0), Decimal(0))
site_p1 = Site(p1.x, p1.y)
site_p2 = Site(p2.x, p2.y)
site_p3 = Site(p3.x, p3.y)
site_p4 = Site(p4.x, p4.y)
site_p5 = Site(p5.x, p5.y)
points = (p1, p2, p3, p4, p5)
bisector_p1_p2 = PointBisector(sites=(site_p1, site_p2))
bisector_p1_p3 = PointBisector(sites=(site_p1, site_p3))
bisector_p1_p5 = PointBisector(sites=(site_p1, site_p5))
bisector_p2_p4 = PointBisector(sites=(site_p2, site_p4))
bisector_p2_p5 = PointBisector(sites=(site_p2, site_p5))
bisector_p3_p4 = PointBisector(sites=(site_p3, site_p4))
bisector_p3_p5 = PointBisector(sites=(site_p3, site_p5))
bisector_p4_p5 = PointBisector(sites=(site_p4, site_p5))
expected_bisectors = [
bisector_p1_p2,
bisector_p1_p3,
bisector_p1_p5,
bisector_p2_p4,
bisector_p2_p5,
bisector_p3_p4,
bisector_p3_p5,
bisector_p4_p5,
]
expected_vertices = [
Point(Decimal(0), Decimal(-1)),
Point(Decimal(-1), Decimal(0)),
Point(Decimal(1), Decimal(0)),
Point(Decimal(0), Decimal(1)),
]
voronoi_diagram = FortunesAlgorithm.calculate_voronoi_diagram(points)
self._check_bisectors_and_vertex(
voronoi_diagram, expected_bisectors, expected_vertices
)
| 36.519337 | 84 | 0.60348 | 3,352 | 26,440 | 4.466885 | 0.03759 | 0.086556 | 0.133707 | 0.045415 | 0.884392 | 0.874107 | 0.871235 | 0.863688 | 0.85928 | 0.839845 | 0 | 0.080608 | 0.285401 | 26,440 | 723 | 85 | 36.569848 | 0.711866 | 0.046558 | 0 | 0.743945 | 0 | 0 | 0.023983 | 0.023422 | 0 | 0 | 0 | 0 | 0.00692 | 1 | 0.038062 | false | 0 | 0.008651 | 0 | 0.048443 | 0.00346 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
13e8369414222dd06b0194c0776aedea72dcd89b | 105 | py | Python | leo/tools/__init__.py | Leonardo-YXH/easytrader | 2216f2c45ad333afc13ab90ed4bfbc39708c31f5 | [
"MIT"
] | null | null | null | leo/tools/__init__.py | Leonardo-YXH/easytrader | 2216f2c45ad333afc13ab90ed4bfbc39708c31f5 | [
"MIT"
] | null | null | null | leo/tools/__init__.py | Leonardo-YXH/easytrader | 2216f2c45ad333afc13ab90ed4bfbc39708c31f5 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
"""
@author: leonardo
@created time: 2020-07-01
@last modified time:2020-07-01
""" | 17.5 | 30 | 0.638095 | 16 | 105 | 4.1875 | 0.75 | 0.238806 | 0.298507 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184783 | 0.12381 | 105 | 6 | 31 | 17.5 | 0.543478 | 0.914286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 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 | 7 |
b958664cb86d6970b7dad21507431dfe9ad0cbfc | 7,343 | py | Python | selfdrive/car/mazda/values.py | JoeOIVOV/ArnePilot | 82c71c6f5af1ba504b748940f22cc0ac98692662 | [
"MIT"
] | 116 | 2018-03-07T09:00:10.000Z | 2020-04-06T18:37:45.000Z | selfdrive/car/mazda/values.py | JoeOIVOV/ArnePilot | 82c71c6f5af1ba504b748940f22cc0ac98692662 | [
"MIT"
] | 66 | 2020-04-09T20:27:57.000Z | 2022-01-27T14:39:24.000Z | selfdrive/car/mazda/values.py | JoeOIVOV/ArnePilot | 82c71c6f5af1ba504b748940f22cc0ac98692662 | [
"MIT"
] | 154 | 2020-04-08T21:41:22.000Z | 2022-03-17T21:05:33.000Z | # flake8: noqa
from selfdrive.car import dbc_dict
from cereal import car
Ecu = car.CarParams.Ecu
# Steer torque limits
class SteerLimitParams:
STEER_MAX = 600 # max_steer 2048
STEER_STEP = 1 # how often we update the steer cmd
STEER_DELTA_UP = 10 # torque increase per refresh
STEER_DELTA_DOWN = 20 # torque decrease per refresh
STEER_DRIVER_ALLOWANCE = 15 # allowed driver torque before start limiting
STEER_DRIVER_MULTIPLIER = 1 # weight driver torque
STEER_DRIVER_FACTOR = 1 # from dbc
class CAR:
CX5 = "Mazda CX-5 2017"
CX9 = "Mazda CX-9 2017"
Mazda3 = "Mazda3 2017"
class LKAS_LIMITS:
STEER_THRESHOLD = 15
DISABLE_SPEED = 45 # kph
ENABLE_SPEED = 52 # kph
class Buttons:
NONE = 0
SET_PLUS = 1
SET_MINUS = 2
RESUME = 3
CANCEL = 4
FINGERPRINTS = {
CAR.CX5: [
# CX-5 2017 GT
{
64: 8, 70: 8, 80: 8, 117: 8, 118: 8, 120: 8, 121: 8, 130: 8, 134: 8, 145: 8, 154: 8, 155: 8, 157: 8, 158: 8, 159: 8, 253: 8, 304: 8, 305: 8, 357: 8, 358: 8, 359: 8, 512: 8, 514: 8, 515: 8, 529: 8, 533: 8, 535: 8, 539: 8, 540: 8, 541: 8, 542: 8, 543: 8, 552: 8, 576: 8, 577: 8, 578: 8, 579: 8, 580: 8, 581: 8, 582: 8, 605: 8, 606: 8, 607: 8, 608: 8, 628: 8, 832: 8, 836: 8, 863: 8, 865: 8, 866: 8, 867: 8, 868: 8, 869: 8, 870: 8, 976: 8, 977: 8, 978: 8, 1034: 8, 1045: 8, 1056: 8, 1061: 8, 1067: 8, 1070: 8, 1078: 8, 1080: 8, 1085: 8, 1086: 8, 1088: 8, 1093: 8, 1108: 8, 1114: 8, 1115: 8, 1116: 8, 1139: 8, 1143: 8, 1147: 8, 1154: 8, 1157: 8, 1160: 8, 1163: 8, 1166: 8, 1177: 8, 1178: 8, 1179: 8, 1180: 8, 1183: 8, 1233: 8, 1236: 8, 1237: 8, 1238: 8, 1239: 8, 1241: 8, 1242: 8, 1243: 8, 1244: 8, 1264: 8, 1266: 8, 1267: 8, 1269: 8, 1270: 8, 1271: 8, 1272: 8, 1274: 8, 1275: 8, 1277: 8, 1278: 8, 1409: 8, 1416: 8, 1425: 8, 1430: 8, 1435: 8, 1440: 8, 1446: 8, 1456: 8, 1479: 8
},
# CX-5 2019 GTR
{
64: 8, 70: 8, 80: 8, 117: 8, 118: 8, 120: 8, 121: 8, 130: 8, 134: 8, 145: 8, 154: 8, 155: 8, 157: 8, 158: 8, 159: 8, 253: 8, 254: 8, 304: 8, 305: 8, 357: 8, 358: 8, 359: 8, 512: 8, 514: 8, 515: 8, 529: 8, 533: 8, 535: 8, 539: 8, 540: 8, 541: 8, 542: 8, 543: 8, 552: 8, 576: 8, 577: 8, 578: 8, 579: 8, 580: 8, 581: 8, 582: 8, 605: 8, 606: 8, 607: 8, 608: 8, 628: 8, 736: 8, 832: 8, 836: 8, 863: 8, 865: 8, 866: 8, 867: 8, 868: 8, 869: 8, 870: 8, 976: 8, 977: 8, 978: 8, 1034: 8, 1045: 8, 1056: 8, 1061: 8, 1067: 8, 1078: 8, 1080: 8, 1085: 8, 1086: 8, 1088: 8, 1093: 8, 1108: 8, 1114: 8, 1115: 8, 1116: 8, 1139: 8, 1143: 8, 1147: 8, 1154: 8, 1157: 8, 1160: 8, 1163: 8, 1166: 8, 1170: 8, 1171: 8, 1173: 8, 1177: 8, 1178: 8, 1179: 8, 1180: 8, 1183: 8, 1233: 8, 1236: 8, 1237: 8, 1238: 8, 1239: 8, 1241: 8, 1242: 8, 1244: 8, 1260: 8, 1264: 8, 1266: 8, 1267: 8, 1269: 8, 1270: 8, 1271: 8, 1272: 8, 1274: 8, 1277: 8, 1278: 8, 1409: 8, 1416: 8, 1425: 8, 1430: 8, 1435: 8, 1440: 8, 1446: 8, 1456: 8, 1479: 8, 1776: 8, 1792: 8, 1872: 8, 1937: 8, 1953: 8, 1968: 8, 2015: 8, 2016: 8, 2024: 8
}
],
CAR.CX9: [
# CX-9 2017 Australia - old CAM connector
{
64: 8, 70: 8, 80: 8, 117: 8, 118: 8, 120: 8, 121: 8, 130: 8, 134: 8, 138: 8, 145: 8, 154: 8, 155: 8, 157: 8, 158: 8, 159: 8, 253: 8, 304: 8, 305: 8, 357: 8, 358: 8, 359: 8, 512: 8, 514: 8, 515: 8, 522: 8, 529: 8, 533: 8, 535: 8, 539: 8, 540: 8, 541: 8, 542: 8, 543: 8, 552: 8, 576: 8, 577: 8, 578: 8, 579: 8, 580: 8, 581: 8, 582: 8, 583: 8, 605: 8, 606: 8, 628: 8, 832: 8, 976: 8, 977: 8, 978: 8, 1034: 8, 1045: 8, 1056: 8, 1061: 8, 1067: 8, 1078: 8, 1085: 8, 1086: 8, 1088: 8, 1093: 8, 1108: 8, 1114: 8, 1115: 8, 1116: 8, 1139: 8, 1143: 8, 1147: 8, 1154: 8, 1157: 8, 1160: 8, 1163: 8, 1166: 8, 1170: 8, 1177: 8, 1180: 8, 1183: 8, 1233: 8, 1236: 8, 1237: 8, 1238: 8, 1239: 8, 1241: 8, 1242: 8, 1243: 8, 1244: 8, 1247: 8, 1264: 8, 1266: 8, 1267: 8, 1269: 8, 1271: 8, 1272: 8, 1274: 8, 1277: 8, 1278: 8, 1409: 8, 1416: 8, 1425: 8, 1430: 8, 1435: 8, 1440: 8, 1446: 8, 1456: 8, 1479: 8
},
# CX-9 2016 - old CAM connector
{
64: 8, 70: 8, 80: 8, 117: 8, 118: 8, 120: 8, 121: 8, 130: 8, 134: 8, 145: 8, 154: 8, 155: 8, 157: 8, 158: 8, 159: 8, 253: 8, 304: 8, 305: 8, 357: 8, 358: 8, 359: 8, 512: 8, 514: 8, 515: 8, 529: 8, 533: 8, 535: 8, 539: 8, 540: 8, 541: 8, 542: 8, 543: 8, 552: 8, 576: 8, 577: 8, 578: 8, 579: 8, 580: 8, 581: 8, 582: 8, 583: 8, 605: 8, 606: 8, 608: 8, 628: 8, 832: 8, 836: 8, 976: 8, 977: 8, 978: 8, 1034: 8, 1045: 8, 1056: 8, 1061: 8, 1067: 8, 1078: 8, 1080: 8, 1085: 8, 1086: 8, 1088: 8, 1093: 8, 1108: 8, 1114: 8, 1115: 8, 1116: 8, 1139: 8, 1143: 8, 1147: 8, 1154: 8, 1157: 8, 1160: 8, 1163: 8, 1166: 8, 1170: 8, 1177: 8, 1178: 8, 1179: 8, 1180: 8, 1181: 8, 1183: 8, 1233: 8, 1236: 8, 1237: 8, 1238: 8, 1239: 8, 1241: 8, 1242: 8, 1244: 8, 1264: 8, 1266: 8, 1267: 8, 1269: 8, 1271: 8, 1272: 8, 1274: 8, 1277: 8, 1278: 8, 1409: 8, 1416: 8, 1425: 8, 1430: 8, 1435: 8, 1440: 8, 1446: 8, 1456: 8, 1479: 8, 1792: 8, 1872: 8, 1937: 8, 1953: 8, 1968: 8, 1988: 8, 1996: 8, 2000: 8, 2001: 8, 2004: 8, 2015: 8, 2016: 8, 2017: 8, 2024: 8, 2025: 8
}
],
CAR.Mazda3: [
# Mazda 3 2017
{
19: 5, 80: 8, 117: 8, 118: 8, 120: 8, 121: 8, 130: 8, 134: 8, 145: 8, 154: 8, 155: 8, 157: 8, 158: 8, 159: 8, 253: 8, 304: 8, 305: 8, 357: 8, 358: 8, 359: 8, 512: 8, 514: 8, 515: 8, 529: 8, 533: 8, 535: 8, 539: 8, 540: 8, 541: 8, 542: 8, 543: 8, 552: 8, 576: 8, 577: 8, 578: 8, 579: 8, 580: 8, 581: 8, 582: 8, 605: 8, 606: 8, 607: 8, 628: 8, 832: 8, 863: 8, 865: 8, 866: 8, 867: 8, 868: 8, 869: 8, 870: 8, 976: 8, 977: 8, 978: 8, 1034: 8, 1045: 8, 1056: 8, 1061: 8, 1067: 8, 1070: 8, 1078: 8, 1086: 8, 1088: 8, 1093: 8, 1108: 8, 1114: 8, 1115: 8, 1116: 8, 1143: 8, 1147: 8, 1154: 8, 1157: 8, 1160: 8, 1163: 8, 1166: 8, 1169: 8, 1170: 8, 1173: 8, 1177: 8, 1180: 8, 1182: 8, 1183: 8, 1233: 8, 1236: 8, 1237: 8, 1238: 8, 1239: 8, 1241: 8, 1242: 8, 1243: 8, 1244: 8, 1264: 8, 1266: 8, 1267: 8, 1269: 8, 1270: 8, 1271: 8, 1272: 8, 1274: 8, 1275: 8, 1277: 8, 1278: 8, 1409: 8, 1416: 8, 1425: 8, 1430: 8, 1435: 8, 1440: 8, 1456: 8, 1479: 8, 2015: 8, 2024: 8, 2025: 8
},
# Mazda 6 2017 GT
{
64: 8, 70: 8, 80: 8, 117: 8, 118: 8, 120: 8, 121: 8, 130: 8, 134: 8, 145: 8, 154: 8, 155: 8, 157: 8, 158: 8, 159: 8, 253: 8, 304: 8, 305: 8, 357: 8, 358: 8, 359: 8, 512: 8, 514: 8, 515: 8, 529: 8, 533: 8, 535: 8, 539: 8, 540: 8, 541: 8, 542: 8, 543: 8, 552: 8, 576: 8, 577: 8, 578: 8, 579: 8, 580: 8, 581: 8, 582: 8, 605: 8, 606: 8, 607: 8, 628: 8, 832: 8, 836: 8, 863: 8, 865: 8, 866: 8, 867: 8, 868: 8, 869: 8, 870: 8, 976: 8, 977: 8, 978: 8, 1034: 8, 1045: 8, 1056: 8, 1061: 8, 1067: 8, 1070: 8, 1078: 8, 1080: 8, 1085: 8, 1086: 8, 1088: 8, 1093: 8, 1108: 8, 1114: 8, 1115: 8, 1116: 8, 1143: 8, 1147: 8, 1154: 8, 1157: 8, 1160: 8, 1163: 8, 1166: 8, 1177: 8, 1178: 8, 1179: 8, 1180: 8, 1182: 8, 1183: 8, 1233: 8, 1236: 8, 1237: 8, 1238: 8, 1239: 8, 1241: 8, 1242: 8, 1243: 8, 1244: 8, 1264: 8, 1266: 8, 1267: 8, 1269: 8, 1270: 8, 1271: 8, 1272: 8, 1274: 8, 1275: 8, 1277: 8, 1278: 8, 1409: 8, 1416: 8, 1425: 8, 1430: 8, 1435: 8, 1440: 8, 1456: 8, 1479: 8
}
],
}
ECU_FINGERPRINT = {
Ecu.fwdCamera: [579], # steer torque cmd
}
DBC = {
CAR.CX5: dbc_dict('mazda_2017', None),
CAR.CX9: dbc_dict('mazda_2017', None),
CAR.Mazda3: dbc_dict('mazda_2017', None),
}
GEN1 = [ CAR.CX5, CAR.CX9, CAR.Mazda3 ]
| 86.388235 | 1,085 | 0.540787 | 1,577 | 7,343 | 2.500951 | 0.145847 | 0.004564 | 0.009128 | 0.010649 | 0.799442 | 0.77789 | 0.766227 | 0.766227 | 0.766227 | 0.758621 | 0 | 0.587495 | 0.252894 | 7,343 | 84 | 1,086 | 87.416667 | 0.131425 | 0.049299 | 0 | 0.05 | 0 | 0 | 0.010198 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b971a39bf062ceebdc322632c37ee0763c871175 | 174,970 | py | Python | code/python/FactSetFunds/v1/fds/sdk/FactSetFunds/api/reference_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/FactSetFunds/v1/fds/sdk/FactSetFunds/api/reference_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/FactSetFunds/v1/fds/sdk/FactSetFunds/api/reference_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
FactSet Funds API
FactSet Mutual Funds data offers over 50 fund- and share class-specific data points for mutual funds listed in the United States. <p>FactSet Mutual Funds Reference provides fund-specific reference information as well as FactSet's proprietary classification system. It includes but is not limited to the following coverage * Fund descriptions * A seven-tier classification system * Leverage information * Fees and expenses * Portfolio managers FactSet Mutual Funds Time Series provides quantitative data items on a historical basis. It includes but is not limited to the following coverage * Net asset value * Fund flows * Assets under management * Total return # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: api@factset.com
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from multiprocessing.pool import ApplyResult
import typing
from fds.sdk.FactSetFunds.api_client import ApiClient, Endpoint as _Endpoint
from fds.sdk.FactSetFunds.model_utils import ( # noqa: F401
check_allowed_values,
check_validations,
date,
datetime,
file_type,
none_type,
validate_and_convert_types
)
from fds.sdk.FactSetFunds.exceptions import ApiException
from fds.sdk.FactSetFunds.model.benchmark_details_request import BenchmarkDetailsRequest
from fds.sdk.FactSetFunds.model.benchmark_details_response import BenchmarkDetailsResponse
from fds.sdk.FactSetFunds.model.classifications_request import ClassificationsRequest
from fds.sdk.FactSetFunds.model.classifications_response import ClassificationsResponse
from fds.sdk.FactSetFunds.model.costs_fees_request import CostsFeesRequest
from fds.sdk.FactSetFunds.model.costs_fees_response import CostsFeesResponse
from fds.sdk.FactSetFunds.model.error_response import ErrorResponse
from fds.sdk.FactSetFunds.model.managers_request import ManagersRequest
from fds.sdk.FactSetFunds.model.managers_response import ManagersResponse
from fds.sdk.FactSetFunds.model.related_funds_request import RelatedFundsRequest
from fds.sdk.FactSetFunds.model.related_funds_response import RelatedFundsResponse
from fds.sdk.FactSetFunds.model.summaries_request import SummariesRequest
from fds.sdk.FactSetFunds.model.summaries_response import SummariesResponse
class ReferenceApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
self.get_funds_benchmark_details_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (BenchmarkDetailsResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-funds/v1/benchmark-details',
'operation_id': 'get_funds_benchmark_details',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'ids',
],
'required': [
'ids',
],
'nullable': [
],
'enum': [
],
'validation': [
'ids',
]
},
root_map={
'validations': {
('ids',): {
'max_items': 1000,
'min_items': 1,
},
},
'allowed_values': {
},
'openapi_types': {
'ids':
([str],),
},
'attribute_map': {
'ids': 'ids',
},
'location_map': {
'ids': 'query',
},
'collection_format_map': {
'ids': 'csv',
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.get_funds_benchmark_details_for_list_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (BenchmarkDetailsResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-funds/v1/benchmark-details',
'operation_id': 'get_funds_benchmark_details_for_list',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'benchmark_details_request',
],
'required': [
'benchmark_details_request',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'benchmark_details_request':
(BenchmarkDetailsRequest,),
},
'attribute_map': {
},
'location_map': {
'benchmark_details_request': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)
self.get_funds_classifications_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (ClassificationsResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-funds/v1/classifications',
'operation_id': 'get_funds_classifications',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'ids',
],
'required': [
'ids',
],
'nullable': [
],
'enum': [
],
'validation': [
'ids',
]
},
root_map={
'validations': {
('ids',): {
'max_items': 1000,
'min_items': 1,
},
},
'allowed_values': {
},
'openapi_types': {
'ids':
([str],),
},
'attribute_map': {
'ids': 'ids',
},
'location_map': {
'ids': 'query',
},
'collection_format_map': {
'ids': 'csv',
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.get_funds_classifications_for_list_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (ClassificationsResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-funds/v1/classifications',
'operation_id': 'get_funds_classifications_for_list',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'classifications_request',
],
'required': [
'classifications_request',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'classifications_request':
(ClassificationsRequest,),
},
'attribute_map': {
},
'location_map': {
'classifications_request': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)
self.get_funds_costs_fees_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (CostsFeesResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-funds/v1/costs-fees',
'operation_id': 'get_funds_costs_fees',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'ids',
'date',
'currency',
],
'required': [
'ids',
],
'nullable': [
],
'enum': [
],
'validation': [
'ids',
]
},
root_map={
'validations': {
('ids',): {
'max_items': 200,
'min_items': 1,
},
},
'allowed_values': {
},
'openapi_types': {
'ids':
([str],),
'date':
(str,),
'currency':
(str,),
},
'attribute_map': {
'ids': 'ids',
'date': 'date',
'currency': 'currency',
},
'location_map': {
'ids': 'query',
'date': 'query',
'currency': 'query',
},
'collection_format_map': {
'ids': 'csv',
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.get_funds_costs_fees_for_list_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (CostsFeesResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-funds/v1/costs-fees',
'operation_id': 'get_funds_costs_fees_for_list',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'costs_fees_request',
],
'required': [
'costs_fees_request',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'costs_fees_request':
(CostsFeesRequest,),
},
'attribute_map': {
},
'location_map': {
'costs_fees_request': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)
self.get_funds_managers_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (ManagersResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-funds/v1/managers',
'operation_id': 'get_funds_managers',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'ids',
],
'required': [
'ids',
],
'nullable': [
],
'enum': [
],
'validation': [
'ids',
]
},
root_map={
'validations': {
('ids',): {
'max_items': 1000,
'min_items': 1,
},
},
'allowed_values': {
},
'openapi_types': {
'ids':
([str],),
},
'attribute_map': {
'ids': 'ids',
},
'location_map': {
'ids': 'query',
},
'collection_format_map': {
'ids': 'csv',
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.get_funds_managers_for_list_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (ManagersResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-funds/v1/managers',
'operation_id': 'get_funds_managers_for_list',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'managers_request',
],
'required': [
'managers_request',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'managers_request':
(ManagersRequest,),
},
'attribute_map': {
},
'location_map': {
'managers_request': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)
self.get_funds_summary_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (SummariesResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-funds/v1/summary',
'operation_id': 'get_funds_summary',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'ids',
],
'required': [
'ids',
],
'nullable': [
],
'enum': [
],
'validation': [
'ids',
]
},
root_map={
'validations': {
('ids',): {
'max_items': 1000,
'min_items': 1,
},
},
'allowed_values': {
},
'openapi_types': {
'ids':
([str],),
},
'attribute_map': {
'ids': 'ids',
},
'location_map': {
'ids': 'query',
},
'collection_format_map': {
'ids': 'csv',
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.get_funds_summary_for_list_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (SummariesResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-funds/v1/summary',
'operation_id': 'get_funds_summary_for_list',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'summaries_request',
],
'required': [
'summaries_request',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'summaries_request':
(SummariesRequest,),
},
'attribute_map': {
},
'location_map': {
'summaries_request': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)
self.get_related_funds_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (RelatedFundsResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-funds/v1/related-funds',
'operation_id': 'get_related_funds',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'ids',
],
'required': [
'ids',
],
'nullable': [
],
'enum': [
],
'validation': [
'ids',
]
},
root_map={
'validations': {
('ids',): {
'max_items': 1000,
'min_items': 1,
},
},
'allowed_values': {
},
'openapi_types': {
'ids':
([str],),
},
'attribute_map': {
'ids': 'ids',
},
'location_map': {
'ids': 'query',
},
'collection_format_map': {
'ids': 'csv',
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.get_related_funds_for_list_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (RelatedFundsResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-funds/v1/related-funds',
'operation_id': 'get_related_funds_for_list',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'related_funds_request',
],
'required': [
'related_funds_request',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'related_funds_request':
(RelatedFundsRequest,),
},
'attribute_map': {
},
'location_map': {
'related_funds_request': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)
@staticmethod
def apply_kwargs_defaults(kwargs, return_http_data_only, async_req):
kwargs["async_req"] = async_req
kwargs["_return_http_data_only"] = return_http_data_only
kwargs["_preload_content"] = kwargs.get("_preload_content", True)
kwargs["_request_timeout"] = kwargs.get("_request_timeout", None)
kwargs["_check_input_type"] = kwargs.get("_check_input_type", True)
kwargs["_check_return_type"] = kwargs.get("_check_return_type", True)
kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False)
kwargs["_content_type"] = kwargs.get("_content_type")
kwargs["_host_index"] = kwargs.get("_host_index")
def get_funds_benchmark_details(
self,
ids,
**kwargs
) -> BenchmarkDetailsResponse:
"""Get the Fund's Primary and Segment Benchmark Details # noqa: E501
Fetch the Fund's Benchmark and Segement Benchmark ids. These ids can be then used in the [Benchmarks API](https://developer.factset.com/api-catalog/factset-benchmarks-api) to fetch index-level prices, returns, constituents data. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
BenchmarkDetailsResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['ids'] = \
ids
return self.get_funds_benchmark_details_endpoint.call_with_http_info(**kwargs)
def get_funds_benchmark_details_with_http_info(
self,
ids,
**kwargs
) -> typing.Tuple[BenchmarkDetailsResponse, int, typing.MutableMapping]:
"""Get the Fund's Primary and Segment Benchmark Details # noqa: E501
Fetch the Fund's Benchmark and Segement Benchmark ids. These ids can be then used in the [Benchmarks API](https://developer.factset.com/api-catalog/factset-benchmarks-api) to fetch index-level prices, returns, constituents data. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
BenchmarkDetailsResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['ids'] = \
ids
return self.get_funds_benchmark_details_endpoint.call_with_http_info(**kwargs)
def get_funds_benchmark_details_async(
self,
ids,
**kwargs
) -> "ApplyResult[BenchmarkDetailsResponse]":
"""Get the Fund's Primary and Segment Benchmark Details # noqa: E501
Fetch the Fund's Benchmark and Segement Benchmark ids. These ids can be then used in the [Benchmarks API](https://developer.factset.com/api-catalog/factset-benchmarks-api) to fetch index-level prices, returns, constituents data. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[BenchmarkDetailsResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['ids'] = \
ids
return self.get_funds_benchmark_details_endpoint.call_with_http_info(**kwargs)
def get_funds_benchmark_details_with_http_info_async(
self,
ids,
**kwargs
) -> "ApplyResult[typing.Tuple[BenchmarkDetailsResponse, int, typing.MutableMapping]]":
"""Get the Fund's Primary and Segment Benchmark Details # noqa: E501
Fetch the Fund's Benchmark and Segement Benchmark ids. These ids can be then used in the [Benchmarks API](https://developer.factset.com/api-catalog/factset-benchmarks-api) to fetch index-level prices, returns, constituents data. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(BenchmarkDetailsResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['ids'] = \
ids
return self.get_funds_benchmark_details_endpoint.call_with_http_info(**kwargs)
def get_funds_benchmark_details_for_list(
self,
benchmark_details_request,
**kwargs
) -> BenchmarkDetailsResponse:
"""Get the Fund's Primary and Segment Benchmark details for large list of ids. # noqa: E501
Fetch the Fund's Benchmark and Segement Benchmark ids. These ids can be then used in the [Benchmarks API](https://developer.factset.com/api-catalog/factset-benchmarks-api) to fetch index-level prices, returns, constituents data. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
benchmark_details_request (BenchmarkDetailsRequest): The Benchmark Details request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
BenchmarkDetailsResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['benchmark_details_request'] = \
benchmark_details_request
return self.get_funds_benchmark_details_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_benchmark_details_for_list_with_http_info(
self,
benchmark_details_request,
**kwargs
) -> typing.Tuple[BenchmarkDetailsResponse, int, typing.MutableMapping]:
"""Get the Fund's Primary and Segment Benchmark details for large list of ids. # noqa: E501
Fetch the Fund's Benchmark and Segement Benchmark ids. These ids can be then used in the [Benchmarks API](https://developer.factset.com/api-catalog/factset-benchmarks-api) to fetch index-level prices, returns, constituents data. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
benchmark_details_request (BenchmarkDetailsRequest): The Benchmark Details request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
BenchmarkDetailsResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['benchmark_details_request'] = \
benchmark_details_request
return self.get_funds_benchmark_details_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_benchmark_details_for_list_async(
self,
benchmark_details_request,
**kwargs
) -> "ApplyResult[BenchmarkDetailsResponse]":
"""Get the Fund's Primary and Segment Benchmark details for large list of ids. # noqa: E501
Fetch the Fund's Benchmark and Segement Benchmark ids. These ids can be then used in the [Benchmarks API](https://developer.factset.com/api-catalog/factset-benchmarks-api) to fetch index-level prices, returns, constituents data. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
benchmark_details_request (BenchmarkDetailsRequest): The Benchmark Details request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[BenchmarkDetailsResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['benchmark_details_request'] = \
benchmark_details_request
return self.get_funds_benchmark_details_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_benchmark_details_for_list_with_http_info_async(
self,
benchmark_details_request,
**kwargs
) -> "ApplyResult[typing.Tuple[BenchmarkDetailsResponse, int, typing.MutableMapping]]":
"""Get the Fund's Primary and Segment Benchmark details for large list of ids. # noqa: E501
Fetch the Fund's Benchmark and Segement Benchmark ids. These ids can be then used in the [Benchmarks API](https://developer.factset.com/api-catalog/factset-benchmarks-api) to fetch index-level prices, returns, constituents data. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
benchmark_details_request (BenchmarkDetailsRequest): The Benchmark Details request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(BenchmarkDetailsResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['benchmark_details_request'] = \
benchmark_details_request
return self.get_funds_benchmark_details_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_classifications(
self,
ids,
**kwargs
) -> ClassificationsResponse:
"""Get basic Fund Classifications # noqa: E501
Fetch basic fund classification data, such as Asset Class, Category, Focus, Niche, Region, and more.<p> FactSet Mutual Funds Reference uses FactSet's proprietary Fund Classification System, which categorizes funds using a rules-based system that is derived from seven core classifications. This system evaluates the asset class, economic development level, and geographical region as described in each fund's prospectus and marketing materials. Fund exposure details are presented on successively granular levels- category, then focus, and then niche. Moreover, FactSet Fund Reference captures over 40 unique data points for U.S. mutual funds. All data items are grouped in one of two levels, either as a Fund or as a Share Class.</p><p>For more details regarding FactSet's Fund Classification, visit Online Assistant [21436](https://my.apps.factset.com/oa/pages/21436) or download - [FactSet Fund Classification System Rules & Methodology](https://my.apps.factset.com/oa/cms/oaAttachment/4547a2f4-5df5-4ec9-a0d3-7d51610dd637/26837)</p><p> |Classification Type|Description| |---|---| |Asset Class|The asset class of the fund (e.g. Equity, Fixed Income, Currency, Commodities, Asset Allocation, or Alternatives) based on the fund’s mandate.| |Category|The 1st of 3 asset-class-specific, hierarchical exposure tiers; the broadest category the fund falls under within its asset class (e.g., Size & Style, Sector, Precious Metals, Absolute Returns); based on the fund’s mandate.| |Focus|The 2nd of 3 asset-class-specific, hierarchical exposure tiers; the fund's classification within its category (e.g. Small Cap, Energy, Palladium, Long/Short); based on the fund’s mandate.| |Niche|The 3rd of 3 asset-class-specific, hierarchical exposure tiers; The fund's classification within its Focus. Most granular tier of exposure sort (e.g., Growth, Coal, Physically held, Merger Arbitrage); based on the fund’s mandate.| |Economic Development Level|The country development level of the fund (Developed, Emerging, Frontier, or Blended) based on the fund’s mandate.| |Region|The broad regional exposure of the fund (e.g., Latin America, Asia-Pacific, Global) based on the fund’s mandate.| |Specific Geography|The specific geographic exposure of the fund (e.g., Developed Europe, Chile, Asia-Pacific Ex-Japan) based on the fund’s mandate.| </p> # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ClassificationsResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['ids'] = \
ids
return self.get_funds_classifications_endpoint.call_with_http_info(**kwargs)
def get_funds_classifications_with_http_info(
self,
ids,
**kwargs
) -> typing.Tuple[ClassificationsResponse, int, typing.MutableMapping]:
"""Get basic Fund Classifications # noqa: E501
Fetch basic fund classification data, such as Asset Class, Category, Focus, Niche, Region, and more.<p> FactSet Mutual Funds Reference uses FactSet's proprietary Fund Classification System, which categorizes funds using a rules-based system that is derived from seven core classifications. This system evaluates the asset class, economic development level, and geographical region as described in each fund's prospectus and marketing materials. Fund exposure details are presented on successively granular levels- category, then focus, and then niche. Moreover, FactSet Fund Reference captures over 40 unique data points for U.S. mutual funds. All data items are grouped in one of two levels, either as a Fund or as a Share Class.</p><p>For more details regarding FactSet's Fund Classification, visit Online Assistant [21436](https://my.apps.factset.com/oa/pages/21436) or download - [FactSet Fund Classification System Rules & Methodology](https://my.apps.factset.com/oa/cms/oaAttachment/4547a2f4-5df5-4ec9-a0d3-7d51610dd637/26837)</p><p> |Classification Type|Description| |---|---| |Asset Class|The asset class of the fund (e.g. Equity, Fixed Income, Currency, Commodities, Asset Allocation, or Alternatives) based on the fund’s mandate.| |Category|The 1st of 3 asset-class-specific, hierarchical exposure tiers; the broadest category the fund falls under within its asset class (e.g., Size & Style, Sector, Precious Metals, Absolute Returns); based on the fund’s mandate.| |Focus|The 2nd of 3 asset-class-specific, hierarchical exposure tiers; the fund's classification within its category (e.g. Small Cap, Energy, Palladium, Long/Short); based on the fund’s mandate.| |Niche|The 3rd of 3 asset-class-specific, hierarchical exposure tiers; The fund's classification within its Focus. Most granular tier of exposure sort (e.g., Growth, Coal, Physically held, Merger Arbitrage); based on the fund’s mandate.| |Economic Development Level|The country development level of the fund (Developed, Emerging, Frontier, or Blended) based on the fund’s mandate.| |Region|The broad regional exposure of the fund (e.g., Latin America, Asia-Pacific, Global) based on the fund’s mandate.| |Specific Geography|The specific geographic exposure of the fund (e.g., Developed Europe, Chile, Asia-Pacific Ex-Japan) based on the fund’s mandate.| </p> # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ClassificationsResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['ids'] = \
ids
return self.get_funds_classifications_endpoint.call_with_http_info(**kwargs)
def get_funds_classifications_async(
self,
ids,
**kwargs
) -> "ApplyResult[ClassificationsResponse]":
"""Get basic Fund Classifications # noqa: E501
Fetch basic fund classification data, such as Asset Class, Category, Focus, Niche, Region, and more.<p> FactSet Mutual Funds Reference uses FactSet's proprietary Fund Classification System, which categorizes funds using a rules-based system that is derived from seven core classifications. This system evaluates the asset class, economic development level, and geographical region as described in each fund's prospectus and marketing materials. Fund exposure details are presented on successively granular levels- category, then focus, and then niche. Moreover, FactSet Fund Reference captures over 40 unique data points for U.S. mutual funds. All data items are grouped in one of two levels, either as a Fund or as a Share Class.</p><p>For more details regarding FactSet's Fund Classification, visit Online Assistant [21436](https://my.apps.factset.com/oa/pages/21436) or download - [FactSet Fund Classification System Rules & Methodology](https://my.apps.factset.com/oa/cms/oaAttachment/4547a2f4-5df5-4ec9-a0d3-7d51610dd637/26837)</p><p> |Classification Type|Description| |---|---| |Asset Class|The asset class of the fund (e.g. Equity, Fixed Income, Currency, Commodities, Asset Allocation, or Alternatives) based on the fund’s mandate.| |Category|The 1st of 3 asset-class-specific, hierarchical exposure tiers; the broadest category the fund falls under within its asset class (e.g., Size & Style, Sector, Precious Metals, Absolute Returns); based on the fund’s mandate.| |Focus|The 2nd of 3 asset-class-specific, hierarchical exposure tiers; the fund's classification within its category (e.g. Small Cap, Energy, Palladium, Long/Short); based on the fund’s mandate.| |Niche|The 3rd of 3 asset-class-specific, hierarchical exposure tiers; The fund's classification within its Focus. Most granular tier of exposure sort (e.g., Growth, Coal, Physically held, Merger Arbitrage); based on the fund’s mandate.| |Economic Development Level|The country development level of the fund (Developed, Emerging, Frontier, or Blended) based on the fund’s mandate.| |Region|The broad regional exposure of the fund (e.g., Latin America, Asia-Pacific, Global) based on the fund’s mandate.| |Specific Geography|The specific geographic exposure of the fund (e.g., Developed Europe, Chile, Asia-Pacific Ex-Japan) based on the fund’s mandate.| </p> # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[ClassificationsResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['ids'] = \
ids
return self.get_funds_classifications_endpoint.call_with_http_info(**kwargs)
def get_funds_classifications_with_http_info_async(
self,
ids,
**kwargs
) -> "ApplyResult[typing.Tuple[ClassificationsResponse, int, typing.MutableMapping]]":
"""Get basic Fund Classifications # noqa: E501
Fetch basic fund classification data, such as Asset Class, Category, Focus, Niche, Region, and more.<p> FactSet Mutual Funds Reference uses FactSet's proprietary Fund Classification System, which categorizes funds using a rules-based system that is derived from seven core classifications. This system evaluates the asset class, economic development level, and geographical region as described in each fund's prospectus and marketing materials. Fund exposure details are presented on successively granular levels- category, then focus, and then niche. Moreover, FactSet Fund Reference captures over 40 unique data points for U.S. mutual funds. All data items are grouped in one of two levels, either as a Fund or as a Share Class.</p><p>For more details regarding FactSet's Fund Classification, visit Online Assistant [21436](https://my.apps.factset.com/oa/pages/21436) or download - [FactSet Fund Classification System Rules & Methodology](https://my.apps.factset.com/oa/cms/oaAttachment/4547a2f4-5df5-4ec9-a0d3-7d51610dd637/26837)</p><p> |Classification Type|Description| |---|---| |Asset Class|The asset class of the fund (e.g. Equity, Fixed Income, Currency, Commodities, Asset Allocation, or Alternatives) based on the fund’s mandate.| |Category|The 1st of 3 asset-class-specific, hierarchical exposure tiers; the broadest category the fund falls under within its asset class (e.g., Size & Style, Sector, Precious Metals, Absolute Returns); based on the fund’s mandate.| |Focus|The 2nd of 3 asset-class-specific, hierarchical exposure tiers; the fund's classification within its category (e.g. Small Cap, Energy, Palladium, Long/Short); based on the fund’s mandate.| |Niche|The 3rd of 3 asset-class-specific, hierarchical exposure tiers; The fund's classification within its Focus. Most granular tier of exposure sort (e.g., Growth, Coal, Physically held, Merger Arbitrage); based on the fund’s mandate.| |Economic Development Level|The country development level of the fund (Developed, Emerging, Frontier, or Blended) based on the fund’s mandate.| |Region|The broad regional exposure of the fund (e.g., Latin America, Asia-Pacific, Global) based on the fund’s mandate.| |Specific Geography|The specific geographic exposure of the fund (e.g., Developed Europe, Chile, Asia-Pacific Ex-Japan) based on the fund’s mandate.| </p> # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(ClassificationsResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['ids'] = \
ids
return self.get_funds_classifications_endpoint.call_with_http_info(**kwargs)
def get_funds_classifications_for_list(
self,
classifications_request,
**kwargs
) -> ClassificationsResponse:
"""Get basic Fund Classifications for a large list of ids. # noqa: E501
Fetch basic fund classification data, such as Asset Class, Category, Focus, Niche, Region, and more.<p> FactSet Mutual Funds Reference uses FactSet's proprietary Fund Classification System, which categorizes funds using a rules-based system that is derived from seven core classifications. This system evaluates the asset class, economic development level, and geographical region as described in each fund's prospectus and marketing materials. Fund exposure details are presented on successively granular levels- category, then focus, and then niche. Moreover, FactSet Fund Reference captures over 40 unique data points for U.S. mutual funds. All data items are grouped in one of two levels, either as a Fund or as a Share Class.</p><p>For more details regarding FactSet's Fund Classification, visit Online Assistant [21436](https://my.apps.factset.com/oa/pages/21436) or download - [FactSet Fund Classification System Rules & Methodology](https://my.apps.factset.com/oa/cms/oaAttachment/4547a2f4-5df5-4ec9-a0d3-7d51610dd637/26837)</p><p> |Classification Type|Description| |---|---| |Asset Class|The asset class of the fund (e.g. Equity, Fixed Income, Currency, Commodities, Asset Allocation, or Alternatives) based on the fund’s mandate.| |Category|The 1st of 3 asset-class-specific, hierarchical exposure tiers; the broadest category the fund falls under within its asset class (e.g., Size & Style, Sector, Precious Metals, Absolute Returns); based on the fund’s mandate.| |Focus|The 2nd of 3 asset-class-specific, hierarchical exposure tiers; the fund's classification within its category (e.g. Small Cap, Energy, Palladium, Long/Short); based on the fund’s mandate.| |Niche|The 3rd of 3 asset-class-specific, hierarchical exposure tiers; The fund's classification within its Focus. Most granular tier of exposure sort (e.g., Growth, Coal, Physically held, Merger Arbitrage); based on the fund’s mandate.| |Economic Development Level|The country development level of the fund (Developed, Emerging, Frontier, or Blended) based on the fund’s mandate.| |Region|The broad regional exposure of the fund (e.g., Latin America, Asia-Pacific, Global) based on the fund’s mandate.| |Specific Geography|The specific geographic exposure of the fund (e.g., Developed Europe, Chile, Asia-Pacific Ex-Japan) based on the fund’s mandate.| </p> # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
classifications_request (ClassificationsRequest): The Classifications request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ClassificationsResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['classifications_request'] = \
classifications_request
return self.get_funds_classifications_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_classifications_for_list_with_http_info(
self,
classifications_request,
**kwargs
) -> typing.Tuple[ClassificationsResponse, int, typing.MutableMapping]:
"""Get basic Fund Classifications for a large list of ids. # noqa: E501
Fetch basic fund classification data, such as Asset Class, Category, Focus, Niche, Region, and more.<p> FactSet Mutual Funds Reference uses FactSet's proprietary Fund Classification System, which categorizes funds using a rules-based system that is derived from seven core classifications. This system evaluates the asset class, economic development level, and geographical region as described in each fund's prospectus and marketing materials. Fund exposure details are presented on successively granular levels- category, then focus, and then niche. Moreover, FactSet Fund Reference captures over 40 unique data points for U.S. mutual funds. All data items are grouped in one of two levels, either as a Fund or as a Share Class.</p><p>For more details regarding FactSet's Fund Classification, visit Online Assistant [21436](https://my.apps.factset.com/oa/pages/21436) or download - [FactSet Fund Classification System Rules & Methodology](https://my.apps.factset.com/oa/cms/oaAttachment/4547a2f4-5df5-4ec9-a0d3-7d51610dd637/26837)</p><p> |Classification Type|Description| |---|---| |Asset Class|The asset class of the fund (e.g. Equity, Fixed Income, Currency, Commodities, Asset Allocation, or Alternatives) based on the fund’s mandate.| |Category|The 1st of 3 asset-class-specific, hierarchical exposure tiers; the broadest category the fund falls under within its asset class (e.g., Size & Style, Sector, Precious Metals, Absolute Returns); based on the fund’s mandate.| |Focus|The 2nd of 3 asset-class-specific, hierarchical exposure tiers; the fund's classification within its category (e.g. Small Cap, Energy, Palladium, Long/Short); based on the fund’s mandate.| |Niche|The 3rd of 3 asset-class-specific, hierarchical exposure tiers; The fund's classification within its Focus. Most granular tier of exposure sort (e.g., Growth, Coal, Physically held, Merger Arbitrage); based on the fund’s mandate.| |Economic Development Level|The country development level of the fund (Developed, Emerging, Frontier, or Blended) based on the fund’s mandate.| |Region|The broad regional exposure of the fund (e.g., Latin America, Asia-Pacific, Global) based on the fund’s mandate.| |Specific Geography|The specific geographic exposure of the fund (e.g., Developed Europe, Chile, Asia-Pacific Ex-Japan) based on the fund’s mandate.| </p> # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
classifications_request (ClassificationsRequest): The Classifications request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ClassificationsResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['classifications_request'] = \
classifications_request
return self.get_funds_classifications_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_classifications_for_list_async(
self,
classifications_request,
**kwargs
) -> "ApplyResult[ClassificationsResponse]":
"""Get basic Fund Classifications for a large list of ids. # noqa: E501
Fetch basic fund classification data, such as Asset Class, Category, Focus, Niche, Region, and more.<p> FactSet Mutual Funds Reference uses FactSet's proprietary Fund Classification System, which categorizes funds using a rules-based system that is derived from seven core classifications. This system evaluates the asset class, economic development level, and geographical region as described in each fund's prospectus and marketing materials. Fund exposure details are presented on successively granular levels- category, then focus, and then niche. Moreover, FactSet Fund Reference captures over 40 unique data points for U.S. mutual funds. All data items are grouped in one of two levels, either as a Fund or as a Share Class.</p><p>For more details regarding FactSet's Fund Classification, visit Online Assistant [21436](https://my.apps.factset.com/oa/pages/21436) or download - [FactSet Fund Classification System Rules & Methodology](https://my.apps.factset.com/oa/cms/oaAttachment/4547a2f4-5df5-4ec9-a0d3-7d51610dd637/26837)</p><p> |Classification Type|Description| |---|---| |Asset Class|The asset class of the fund (e.g. Equity, Fixed Income, Currency, Commodities, Asset Allocation, or Alternatives) based on the fund’s mandate.| |Category|The 1st of 3 asset-class-specific, hierarchical exposure tiers; the broadest category the fund falls under within its asset class (e.g., Size & Style, Sector, Precious Metals, Absolute Returns); based on the fund’s mandate.| |Focus|The 2nd of 3 asset-class-specific, hierarchical exposure tiers; the fund's classification within its category (e.g. Small Cap, Energy, Palladium, Long/Short); based on the fund’s mandate.| |Niche|The 3rd of 3 asset-class-specific, hierarchical exposure tiers; The fund's classification within its Focus. Most granular tier of exposure sort (e.g., Growth, Coal, Physically held, Merger Arbitrage); based on the fund’s mandate.| |Economic Development Level|The country development level of the fund (Developed, Emerging, Frontier, or Blended) based on the fund’s mandate.| |Region|The broad regional exposure of the fund (e.g., Latin America, Asia-Pacific, Global) based on the fund’s mandate.| |Specific Geography|The specific geographic exposure of the fund (e.g., Developed Europe, Chile, Asia-Pacific Ex-Japan) based on the fund’s mandate.| </p> # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
classifications_request (ClassificationsRequest): The Classifications request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[ClassificationsResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['classifications_request'] = \
classifications_request
return self.get_funds_classifications_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_classifications_for_list_with_http_info_async(
self,
classifications_request,
**kwargs
) -> "ApplyResult[typing.Tuple[ClassificationsResponse, int, typing.MutableMapping]]":
"""Get basic Fund Classifications for a large list of ids. # noqa: E501
Fetch basic fund classification data, such as Asset Class, Category, Focus, Niche, Region, and more.<p> FactSet Mutual Funds Reference uses FactSet's proprietary Fund Classification System, which categorizes funds using a rules-based system that is derived from seven core classifications. This system evaluates the asset class, economic development level, and geographical region as described in each fund's prospectus and marketing materials. Fund exposure details are presented on successively granular levels- category, then focus, and then niche. Moreover, FactSet Fund Reference captures over 40 unique data points for U.S. mutual funds. All data items are grouped in one of two levels, either as a Fund or as a Share Class.</p><p>For more details regarding FactSet's Fund Classification, visit Online Assistant [21436](https://my.apps.factset.com/oa/pages/21436) or download - [FactSet Fund Classification System Rules & Methodology](https://my.apps.factset.com/oa/cms/oaAttachment/4547a2f4-5df5-4ec9-a0d3-7d51610dd637/26837)</p><p> |Classification Type|Description| |---|---| |Asset Class|The asset class of the fund (e.g. Equity, Fixed Income, Currency, Commodities, Asset Allocation, or Alternatives) based on the fund’s mandate.| |Category|The 1st of 3 asset-class-specific, hierarchical exposure tiers; the broadest category the fund falls under within its asset class (e.g., Size & Style, Sector, Precious Metals, Absolute Returns); based on the fund’s mandate.| |Focus|The 2nd of 3 asset-class-specific, hierarchical exposure tiers; the fund's classification within its category (e.g. Small Cap, Energy, Palladium, Long/Short); based on the fund’s mandate.| |Niche|The 3rd of 3 asset-class-specific, hierarchical exposure tiers; The fund's classification within its Focus. Most granular tier of exposure sort (e.g., Growth, Coal, Physically held, Merger Arbitrage); based on the fund’s mandate.| |Economic Development Level|The country development level of the fund (Developed, Emerging, Frontier, or Blended) based on the fund’s mandate.| |Region|The broad regional exposure of the fund (e.g., Latin America, Asia-Pacific, Global) based on the fund’s mandate.| |Specific Geography|The specific geographic exposure of the fund (e.g., Developed Europe, Chile, Asia-Pacific Ex-Japan) based on the fund’s mandate.| </p> # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
classifications_request (ClassificationsRequest): The Classifications request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(ClassificationsResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['classifications_request'] = \
classifications_request
return self.get_funds_classifications_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_costs_fees(
self,
ids,
**kwargs
) -> CostsFeesResponse:
"""Get the Fund's Costs, Investment minimums and Risk, and Fees. # noqa: E501
Fetch the Fund's Costs, Investment minimums and Risk, and Fees. This subcategory includes management fees, 12b-1 fees, expense ratios, and several other data items. The value for each specified share class is expressed as a percentage of the AUM. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
date (str): The date requested in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
currency (str): Controls the Currency conversion of the Fund. By default, the currency will use the funds local currency.. [optional] if omitted the server will use the default value of "LOCAL"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
CostsFeesResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['ids'] = \
ids
return self.get_funds_costs_fees_endpoint.call_with_http_info(**kwargs)
def get_funds_costs_fees_with_http_info(
self,
ids,
**kwargs
) -> typing.Tuple[CostsFeesResponse, int, typing.MutableMapping]:
"""Get the Fund's Costs, Investment minimums and Risk, and Fees. # noqa: E501
Fetch the Fund's Costs, Investment minimums and Risk, and Fees. This subcategory includes management fees, 12b-1 fees, expense ratios, and several other data items. The value for each specified share class is expressed as a percentage of the AUM. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
date (str): The date requested in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
currency (str): Controls the Currency conversion of the Fund. By default, the currency will use the funds local currency.. [optional] if omitted the server will use the default value of "LOCAL"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
CostsFeesResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['ids'] = \
ids
return self.get_funds_costs_fees_endpoint.call_with_http_info(**kwargs)
def get_funds_costs_fees_async(
self,
ids,
**kwargs
) -> "ApplyResult[CostsFeesResponse]":
"""Get the Fund's Costs, Investment minimums and Risk, and Fees. # noqa: E501
Fetch the Fund's Costs, Investment minimums and Risk, and Fees. This subcategory includes management fees, 12b-1 fees, expense ratios, and several other data items. The value for each specified share class is expressed as a percentage of the AUM. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
date (str): The date requested in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
currency (str): Controls the Currency conversion of the Fund. By default, the currency will use the funds local currency.. [optional] if omitted the server will use the default value of "LOCAL"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[CostsFeesResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['ids'] = \
ids
return self.get_funds_costs_fees_endpoint.call_with_http_info(**kwargs)
def get_funds_costs_fees_with_http_info_async(
self,
ids,
**kwargs
) -> "ApplyResult[typing.Tuple[CostsFeesResponse, int, typing.MutableMapping]]":
"""Get the Fund's Costs, Investment minimums and Risk, and Fees. # noqa: E501
Fetch the Fund's Costs, Investment minimums and Risk, and Fees. This subcategory includes management fees, 12b-1 fees, expense ratios, and several other data items. The value for each specified share class is expressed as a percentage of the AUM. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
date (str): The date requested in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
currency (str): Controls the Currency conversion of the Fund. By default, the currency will use the funds local currency.. [optional] if omitted the server will use the default value of "LOCAL"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(CostsFeesResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['ids'] = \
ids
return self.get_funds_costs_fees_endpoint.call_with_http_info(**kwargs)
def get_funds_costs_fees_for_list(
self,
costs_fees_request,
**kwargs
) -> CostsFeesResponse:
"""Get the Fund's Costs, Investment minimums and Risk, and Fees for large list of ids. # noqa: E501
Fetch the Fund's Costs, Investment minimums and Risk, and Fees. Data Items include Expense Ratios, investment minimums and maximums, swing prices, entry and exit expenses, and more. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
costs_fees_request (CostsFeesRequest): The Costs and Fees request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
CostsFeesResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['costs_fees_request'] = \
costs_fees_request
return self.get_funds_costs_fees_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_costs_fees_for_list_with_http_info(
self,
costs_fees_request,
**kwargs
) -> typing.Tuple[CostsFeesResponse, int, typing.MutableMapping]:
"""Get the Fund's Costs, Investment minimums and Risk, and Fees for large list of ids. # noqa: E501
Fetch the Fund's Costs, Investment minimums and Risk, and Fees. Data Items include Expense Ratios, investment minimums and maximums, swing prices, entry and exit expenses, and more. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
costs_fees_request (CostsFeesRequest): The Costs and Fees request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
CostsFeesResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['costs_fees_request'] = \
costs_fees_request
return self.get_funds_costs_fees_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_costs_fees_for_list_async(
self,
costs_fees_request,
**kwargs
) -> "ApplyResult[CostsFeesResponse]":
"""Get the Fund's Costs, Investment minimums and Risk, and Fees for large list of ids. # noqa: E501
Fetch the Fund's Costs, Investment minimums and Risk, and Fees. Data Items include Expense Ratios, investment minimums and maximums, swing prices, entry and exit expenses, and more. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
costs_fees_request (CostsFeesRequest): The Costs and Fees request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[CostsFeesResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['costs_fees_request'] = \
costs_fees_request
return self.get_funds_costs_fees_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_costs_fees_for_list_with_http_info_async(
self,
costs_fees_request,
**kwargs
) -> "ApplyResult[typing.Tuple[CostsFeesResponse, int, typing.MutableMapping]]":
"""Get the Fund's Costs, Investment minimums and Risk, and Fees for large list of ids. # noqa: E501
Fetch the Fund's Costs, Investment minimums and Risk, and Fees. Data Items include Expense Ratios, investment minimums and maximums, swing prices, entry and exit expenses, and more. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
costs_fees_request (CostsFeesRequest): The Costs and Fees request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(CostsFeesResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['costs_fees_request'] = \
costs_fees_request
return self.get_funds_costs_fees_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_managers(
self,
ids,
**kwargs
) -> ManagersResponse:
"""Get a list of Fund Managers and related details for a list of ids. # noqa: E501
Fetch basic Fund manager details, such as Title, Phone, Job Id and Name. NOTE - A subscription to FactSet's Ownership product is required to access formulas in this Asset Managers subcategory. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ManagersResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['ids'] = \
ids
return self.get_funds_managers_endpoint.call_with_http_info(**kwargs)
def get_funds_managers_with_http_info(
self,
ids,
**kwargs
) -> typing.Tuple[ManagersResponse, int, typing.MutableMapping]:
"""Get a list of Fund Managers and related details for a list of ids. # noqa: E501
Fetch basic Fund manager details, such as Title, Phone, Job Id and Name. NOTE - A subscription to FactSet's Ownership product is required to access formulas in this Asset Managers subcategory. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ManagersResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['ids'] = \
ids
return self.get_funds_managers_endpoint.call_with_http_info(**kwargs)
def get_funds_managers_async(
self,
ids,
**kwargs
) -> "ApplyResult[ManagersResponse]":
"""Get a list of Fund Managers and related details for a list of ids. # noqa: E501
Fetch basic Fund manager details, such as Title, Phone, Job Id and Name. NOTE - A subscription to FactSet's Ownership product is required to access formulas in this Asset Managers subcategory. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[ManagersResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['ids'] = \
ids
return self.get_funds_managers_endpoint.call_with_http_info(**kwargs)
def get_funds_managers_with_http_info_async(
self,
ids,
**kwargs
) -> "ApplyResult[typing.Tuple[ManagersResponse, int, typing.MutableMapping]]":
"""Get a list of Fund Managers and related details for a list of ids. # noqa: E501
Fetch basic Fund manager details, such as Title, Phone, Job Id and Name. NOTE - A subscription to FactSet's Ownership product is required to access formulas in this Asset Managers subcategory. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(ManagersResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['ids'] = \
ids
return self.get_funds_managers_endpoint.call_with_http_info(**kwargs)
def get_funds_managers_for_list(
self,
managers_request,
**kwargs
) -> ManagersResponse:
"""Get a list of Fund Managers and related details for a large list of ids. # noqa: E501
Fetch basic Fund manager details, such as Title, Phone, Job Id and Name. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
managers_request (ManagersRequest): The Funds Managers request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ManagersResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['managers_request'] = \
managers_request
return self.get_funds_managers_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_managers_for_list_with_http_info(
self,
managers_request,
**kwargs
) -> typing.Tuple[ManagersResponse, int, typing.MutableMapping]:
"""Get a list of Fund Managers and related details for a large list of ids. # noqa: E501
Fetch basic Fund manager details, such as Title, Phone, Job Id and Name. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
managers_request (ManagersRequest): The Funds Managers request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ManagersResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['managers_request'] = \
managers_request
return self.get_funds_managers_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_managers_for_list_async(
self,
managers_request,
**kwargs
) -> "ApplyResult[ManagersResponse]":
"""Get a list of Fund Managers and related details for a large list of ids. # noqa: E501
Fetch basic Fund manager details, such as Title, Phone, Job Id and Name. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
managers_request (ManagersRequest): The Funds Managers request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[ManagersResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['managers_request'] = \
managers_request
return self.get_funds_managers_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_managers_for_list_with_http_info_async(
self,
managers_request,
**kwargs
) -> "ApplyResult[typing.Tuple[ManagersResponse, int, typing.MutableMapping]]":
"""Get a list of Fund Managers and related details for a large list of ids. # noqa: E501
Fetch basic Fund manager details, such as Title, Phone, Job Id and Name. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
managers_request (ManagersRequest): The Funds Managers request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(ManagersResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['managers_request'] = \
managers_request
return self.get_funds_managers_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_summary(
self,
ids,
**kwargs
) -> SummariesResponse:
"""Get basic reference summary data for a Fund. # noqa: E501
Fetch basic reference data for the requested fund(s), including countryDomicile, shrClass, shrClassInceptDate, etc. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SummariesResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['ids'] = \
ids
return self.get_funds_summary_endpoint.call_with_http_info(**kwargs)
def get_funds_summary_with_http_info(
self,
ids,
**kwargs
) -> typing.Tuple[SummariesResponse, int, typing.MutableMapping]:
"""Get basic reference summary data for a Fund. # noqa: E501
Fetch basic reference data for the requested fund(s), including countryDomicile, shrClass, shrClassInceptDate, etc. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SummariesResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['ids'] = \
ids
return self.get_funds_summary_endpoint.call_with_http_info(**kwargs)
def get_funds_summary_async(
self,
ids,
**kwargs
) -> "ApplyResult[SummariesResponse]":
"""Get basic reference summary data for a Fund. # noqa: E501
Fetch basic reference data for the requested fund(s), including countryDomicile, shrClass, shrClassInceptDate, etc. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[SummariesResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['ids'] = \
ids
return self.get_funds_summary_endpoint.call_with_http_info(**kwargs)
def get_funds_summary_with_http_info_async(
self,
ids,
**kwargs
) -> "ApplyResult[typing.Tuple[SummariesResponse, int, typing.MutableMapping]]":
"""Get basic reference summary data for a Fund. # noqa: E501
Fetch basic reference data for the requested fund(s), including countryDomicile, shrClass, shrClassInceptDate, etc. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(SummariesResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['ids'] = \
ids
return self.get_funds_summary_endpoint.call_with_http_info(**kwargs)
def get_funds_summary_for_list(
self,
summaries_request,
**kwargs
) -> SummariesResponse:
"""Get basic reference data for a large list of Fund ids. # noqa: E501
Fetch basic reference data for the requested fund(s), including countryDomicile, shrClass, shrClassInceptDate, etc. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
summaries_request (SummariesRequest): The Funds Summary request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SummariesResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['summaries_request'] = \
summaries_request
return self.get_funds_summary_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_summary_for_list_with_http_info(
self,
summaries_request,
**kwargs
) -> typing.Tuple[SummariesResponse, int, typing.MutableMapping]:
"""Get basic reference data for a large list of Fund ids. # noqa: E501
Fetch basic reference data for the requested fund(s), including countryDomicile, shrClass, shrClassInceptDate, etc. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
summaries_request (SummariesRequest): The Funds Summary request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SummariesResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['summaries_request'] = \
summaries_request
return self.get_funds_summary_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_summary_for_list_async(
self,
summaries_request,
**kwargs
) -> "ApplyResult[SummariesResponse]":
"""Get basic reference data for a large list of Fund ids. # noqa: E501
Fetch basic reference data for the requested fund(s), including countryDomicile, shrClass, shrClassInceptDate, etc. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
summaries_request (SummariesRequest): The Funds Summary request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[SummariesResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['summaries_request'] = \
summaries_request
return self.get_funds_summary_for_list_endpoint.call_with_http_info(**kwargs)
def get_funds_summary_for_list_with_http_info_async(
self,
summaries_request,
**kwargs
) -> "ApplyResult[typing.Tuple[SummariesResponse, int, typing.MutableMapping]]":
"""Get basic reference data for a large list of Fund ids. # noqa: E501
Fetch basic reference data for the requested fund(s), including countryDomicile, shrClass, shrClassInceptDate, etc. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
summaries_request (SummariesRequest): The Funds Summary request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(SummariesResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['summaries_request'] = \
summaries_request
return self.get_funds_summary_for_list_endpoint.call_with_http_info(**kwargs)
def get_related_funds(
self,
ids,
**kwargs
) -> RelatedFundsResponse:
"""Get a list of Related Funds for a list of Fund ids. # noqa: E501
Fetch the five related fund share classes. Fund share classes can be related if they belong to the same Fund Classification segment, have the same share class type, have the same legal structure, and have the same country of primary exchange. Beyond the baseline criteria, the five most relevant funds are determined based on whether they follow the same benchmark, have the same maturity, and have the same selection strategy as the specified share class. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
RelatedFundsResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['ids'] = \
ids
return self.get_related_funds_endpoint.call_with_http_info(**kwargs)
def get_related_funds_with_http_info(
self,
ids,
**kwargs
) -> typing.Tuple[RelatedFundsResponse, int, typing.MutableMapping]:
"""Get a list of Related Funds for a list of Fund ids. # noqa: E501
Fetch the five related fund share classes. Fund share classes can be related if they belong to the same Fund Classification segment, have the same share class type, have the same legal structure, and have the same country of primary exchange. Beyond the baseline criteria, the five most relevant funds are determined based on whether they follow the same benchmark, have the same maturity, and have the same selection strategy as the specified share class. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
RelatedFundsResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['ids'] = \
ids
return self.get_related_funds_endpoint.call_with_http_info(**kwargs)
def get_related_funds_async(
self,
ids,
**kwargs
) -> "ApplyResult[RelatedFundsResponse]":
"""Get a list of Related Funds for a list of Fund ids. # noqa: E501
Fetch the five related fund share classes. Fund share classes can be related if they belong to the same Fund Classification segment, have the same share class type, have the same legal structure, and have the same country of primary exchange. Beyond the baseline criteria, the five most relevant funds are determined based on whether they follow the same benchmark, have the same maturity, and have the same selection strategy as the specified share class. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[RelatedFundsResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['ids'] = \
ids
return self.get_related_funds_endpoint.call_with_http_info(**kwargs)
def get_related_funds_with_http_info_async(
self,
ids,
**kwargs
) -> "ApplyResult[typing.Tuple[RelatedFundsResponse, int, typing.MutableMapping]]":
"""Get a list of Related Funds for a list of Fund ids. # noqa: E501
Fetch the five related fund share classes. Fund share classes can be related if they belong to the same Fund Classification segment, have the same share class type, have the same legal structure, and have the same country of primary exchange. Beyond the baseline criteria, the five most relevant funds are determined based on whether they follow the same benchmark, have the same maturity, and have the same selection strategy as the specified share class. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
ids ([str]): The requested fund identifier. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may lead to exceeding this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(RelatedFundsResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['ids'] = \
ids
return self.get_related_funds_endpoint.call_with_http_info(**kwargs)
def get_related_funds_for_list(
self,
related_funds_request,
**kwargs
) -> RelatedFundsResponse:
"""Get a list of Related Funds for a large list of Fund ids. # noqa: E501
Fetch the five related fund share classes. Fund share classes can be related if they belong to the same Fund Classification segment, have the same share class type, have the same legal structure, and have the same country of primary exchange. Beyond the baseline criteria, the five most relevant funds are determined based on whether they follow the same benchmark, have the same maturity, and have the same selection strategy as the specified share class. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
related_funds_request (RelatedFundsRequest): The Related Funds request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
RelatedFundsResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['related_funds_request'] = \
related_funds_request
return self.get_related_funds_for_list_endpoint.call_with_http_info(**kwargs)
def get_related_funds_for_list_with_http_info(
self,
related_funds_request,
**kwargs
) -> typing.Tuple[RelatedFundsResponse, int, typing.MutableMapping]:
"""Get a list of Related Funds for a large list of Fund ids. # noqa: E501
Fetch the five related fund share classes. Fund share classes can be related if they belong to the same Fund Classification segment, have the same share class type, have the same legal structure, and have the same country of primary exchange. Beyond the baseline criteria, the five most relevant funds are determined based on whether they follow the same benchmark, have the same maturity, and have the same selection strategy as the specified share class. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
related_funds_request (RelatedFundsRequest): The Related Funds request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
RelatedFundsResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['related_funds_request'] = \
related_funds_request
return self.get_related_funds_for_list_endpoint.call_with_http_info(**kwargs)
def get_related_funds_for_list_async(
self,
related_funds_request,
**kwargs
) -> "ApplyResult[RelatedFundsResponse]":
"""Get a list of Related Funds for a large list of Fund ids. # noqa: E501
Fetch the five related fund share classes. Fund share classes can be related if they belong to the same Fund Classification segment, have the same share class type, have the same legal structure, and have the same country of primary exchange. Beyond the baseline criteria, the five most relevant funds are determined based on whether they follow the same benchmark, have the same maturity, and have the same selection strategy as the specified share class. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
related_funds_request (RelatedFundsRequest): The Related Funds request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[RelatedFundsResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['related_funds_request'] = \
related_funds_request
return self.get_related_funds_for_list_endpoint.call_with_http_info(**kwargs)
def get_related_funds_for_list_with_http_info_async(
self,
related_funds_request,
**kwargs
) -> "ApplyResult[typing.Tuple[RelatedFundsResponse, int, typing.MutableMapping]]":
"""Get a list of Related Funds for a large list of Fund ids. # noqa: E501
Fetch the five related fund share classes. Fund share classes can be related if they belong to the same Fund Classification segment, have the same share class type, have the same legal structure, and have the same country of primary exchange. Beyond the baseline criteria, the five most relevant funds are determined based on whether they follow the same benchmark, have the same maturity, and have the same selection strategy as the specified share class. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
related_funds_request (RelatedFundsRequest): The Related Funds request body, allowing the user to specify a list of ids.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(RelatedFundsResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['related_funds_request'] = \
related_funds_request
return self.get_related_funds_for_list_endpoint.call_with_http_info(**kwargs)
| 57.784016 | 2,353 | 0.621449 | 21,157 | 174,970 | 5.03129 | 0.023538 | 0.02435 | 0.017586 | 0.017135 | 0.974203 | 0.970539 | 0.966509 | 0.962122 | 0.960544 | 0.95905 | 0 | 0.01021 | 0.313688 | 174,970 | 3,027 | 2,354 | 57.803105 | 0.876228 | 0.672578 | 0 | 0.748317 | 0 | 0 | 0.149301 | 0.060099 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042088 | false | 0 | 0.016835 | 0 | 0.100168 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b974b5b8b449aa1f74bb49e71c252e3bc598fbde | 33,634 | py | Python | tests/layers/test_layers_recurrent.py | vinhngx/tensorlayer | 6cb844d4782b19c24df3b5ea824b3a22ea6e86d4 | [
"Apache-2.0"
] | null | null | null | tests/layers/test_layers_recurrent.py | vinhngx/tensorlayer | 6cb844d4782b19c24df3b5ea824b3a22ea6e86d4 | [
"Apache-2.0"
] | null | null | null | tests/layers/test_layers_recurrent.py | vinhngx/tensorlayer | 6cb844d4782b19c24df3b5ea824b3a22ea6e86d4 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import unittest
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
import numpy as np
import tensorflow as tf
import tensorlayer as tl
from tests.utils import CustomTestCase
class Layer_RNN_Test(CustomTestCase):
@classmethod
def setUpClass(cls):
cls.batch_size = 2
cls.vocab_size = 20
cls.embedding_size = 4
cls.hidden_size = 8
cls.num_steps = 6
cls.data_x = np.random.random([cls.batch_size, cls.num_steps, cls.embedding_size]).astype(np.float32)
cls.data_y = np.zeros([cls.batch_size, 1]).astype(np.float32)
cls.data_y2 = np.zeros([cls.batch_size, cls.num_steps]).astype(np.float32)
map1 = np.random.random([1, cls.num_steps])
map2 = np.random.random([cls.embedding_size, 1])
for i in range(cls.batch_size):
cls.data_y[i] = np.matmul(map1, np.matmul(cls.data_x[i], map2))
cls.data_y2[i] = np.matmul(cls.data_x[i], map2)[:, 0]
@classmethod
def tearDownClass(cls):
pass
def test_basic_simplernn(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.RNN(
cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size, dropout=0.1), return_last_output=True,
return_seq_2d=False, return_last_state=True
)
rnn, rnn_state = rnnlayer(inputs)
outputs = tl.layers.Dense(n_units=1)(rnn)
rnn_model = tl.models.Model(inputs=inputs, outputs=[outputs, rnn_state[0]])
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
assert rnnlayer.is_train
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y, final_state = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_basic_simplernn_class(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.SimpleRNN(
units=self.hidden_size, dropout=0.1, return_last_output=True, return_seq_2d=False, return_last_state=True
)
rnn, rnn_state = rnnlayer(inputs)
outputs = tl.layers.Dense(n_units=1)(rnn)
rnn_model = tl.models.Model(inputs=inputs, outputs=[outputs, rnn_state[0]])
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
assert rnnlayer.is_train
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y, final_state = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_basic_simplernn2(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.RNN(
cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size, dropout=0.1), return_last_output=False,
return_seq_2d=True, return_last_state=False
)
rnn = rnnlayer(inputs)
outputs = tl.layers.Dense(n_units=1)(rnn)
rnn_model = tl.models.Model(inputs=inputs, outputs=[outputs, rnn])
print(rnn_model)
rnn_model.eval()
assert not rnnlayer.is_train
pred_y, rnn_y = rnn_model(self.data_x)
self.assertEqual(pred_y.get_shape().as_list(), [self.batch_size * self.num_steps, 1])
self.assertEqual(rnn_y.get_shape().as_list(), [self.batch_size * self.num_steps, self.hidden_size])
def test_basic_simplernn3(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.RNN(
cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size, dropout=0.1), return_last_output=False,
return_seq_2d=False, return_last_state=False
)
rnn = rnnlayer(inputs)
rnn_model = tl.models.Model(inputs=inputs, outputs=rnn)
print(rnn_model)
rnn_model.eval()
assert not rnnlayer.is_train
rnn_y = rnn_model(self.data_x)
self.assertEqual(rnn_y.get_shape().as_list(), [self.batch_size, self.num_steps, self.hidden_size])
def test_basic_simplernn_dynamic(self):
class CustomisedModel(tl.models.Model):
def __init__(self):
super(CustomisedModel, self).__init__()
self.rnnlayer = tl.layers.RNN(
cell=tf.keras.layers.SimpleRNNCell(units=8, dropout=0.1), in_channels=4, return_last_output=False,
return_seq_2d=False, return_last_state=False
)
self.dense = tl.layers.Dense(in_channels=8, n_units=1)
def forward(self, x):
z = self.rnnlayer(x)
z = self.dense(z[:, -1, :])
return z
rnn_model = CustomisedModel()
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_basic_simplernn_dynamic_class(self):
class CustomisedModel(tl.models.Model):
def __init__(self):
super(CustomisedModel, self).__init__()
self.rnnlayer = tl.layers.SimpleRNN(
units=8, dropout=0.1, in_channels=4, return_last_output=False, return_seq_2d=False,
return_last_state=False
)
self.dense = tl.layers.Dense(in_channels=8, n_units=1)
def forward(self, x):
z = self.rnnlayer(x)
z = self.dense(z[:, -1, :])
return z
rnn_model = CustomisedModel()
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_basic_simplernn_dynamic_2(self):
class CustomisedModel(tl.models.Model):
def __init__(self):
super(CustomisedModel, self).__init__()
self.rnnlayer = tl.layers.RNN(
cell=tf.keras.layers.SimpleRNNCell(units=8, dropout=0.1), in_channels=4, return_last_output=False,
return_seq_2d=False, return_last_state=False
)
self.dense = tl.layers.Dense(in_channels=8, n_units=1)
def forward(self, x):
z = self.rnnlayer(x, return_seq_2d=True)
z = self.dense(z[-2:, :])
return z
rnn_model = CustomisedModel()
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
assert rnn_model.rnnlayer.is_train
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_basic_simplernn_dynamic_3(self):
class CustomisedModel(tl.models.Model):
def __init__(self):
super(CustomisedModel, self).__init__()
self.rnnlayer1 = tl.layers.RNN(
cell=tf.keras.layers.SimpleRNNCell(units=8, dropout=0.1), in_channels=4, return_last_output=True,
return_last_state=True
)
self.rnnlayer2 = tl.layers.RNN(
cell=tf.keras.layers.SimpleRNNCell(units=8, dropout=0.1), in_channels=4, return_last_output=True,
return_last_state=False
)
self.dense = tl.layers.Dense(in_channels=8, n_units=1)
def forward(self, x):
_, state = self.rnnlayer1(x[:, :2, :])
z = self.rnnlayer2(x[:, 2:, :], initial_state=state)
z = self.dense(z)
return z
rnn_model = CustomisedModel()
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
assert rnn_model.rnnlayer1.is_train
assert rnn_model.rnnlayer2.is_train
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_basic_lstmrnn(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.RNN(
cell=tf.keras.layers.LSTMCell(units=self.hidden_size, dropout=0.1), return_last_output=True,
return_seq_2d=False, return_last_state=True
)
rnn, rnn_state = rnnlayer(inputs)
outputs = tl.layers.Dense(n_units=1)(rnn)
rnn_model = tl.models.Model(inputs=inputs, outputs=[outputs, rnn_state[0], rnn_state[1]])
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y, final_h, final_c = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_basic_lstmrnn_class(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.LSTMRNN(
units=self.hidden_size, dropout=0.1, return_last_output=True, return_seq_2d=False, return_last_state=True
)
rnn, rnn_state = rnnlayer(inputs)
outputs = tl.layers.Dense(n_units=1)(rnn)
rnn_model = tl.models.Model(inputs=inputs, outputs=[outputs, rnn_state[0], rnn_state[1]])
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y, final_h, final_c = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_basic_grurnn(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.RNN(
cell=tf.keras.layers.GRUCell(units=self.hidden_size, dropout=0.1), return_last_output=True,
return_seq_2d=False, return_last_state=True
)
rnn, rnn_state = rnnlayer(inputs)
outputs = tl.layers.Dense(n_units=1)(rnn)
rnn_model = tl.models.Model(inputs=inputs, outputs=[outputs, rnn_state[0]])
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y, final_h = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_basic_grurnn_class(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.GRURNN(
units=self.hidden_size, dropout=0.1, return_last_output=True, return_seq_2d=False, return_last_state=True
)
rnn, rnn_state = rnnlayer(inputs)
outputs = tl.layers.Dense(n_units=1)(rnn)
rnn_model = tl.models.Model(inputs=inputs, outputs=[outputs, rnn_state[0]])
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y, final_h = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_basic_birnn_simplernncell(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.BiRNN(
fw_cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size, dropout=0.1),
bw_cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size + 1,
dropout=0.1), return_seq_2d=True, return_last_state=True
)
rnn, rnn_fw_state, rnn_bw_state = rnnlayer(inputs)
dense = tl.layers.Dense(n_units=1)(rnn)
outputs = tl.layers.Reshape([-1, self.num_steps])(dense)
rnn_model = tl.models.Model(inputs=inputs, outputs=[outputs, rnn, rnn_fw_state[0], rnn_bw_state[0]])
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
assert rnnlayer.is_train
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y, r, rfw, rbw = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y2)
self.assertEqual(
r.get_shape().as_list(), [self.batch_size * self.num_steps, self.hidden_size + self.hidden_size + 1]
)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_basic_birnn_lstmcell(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.BiRNN(
fw_cell=tf.keras.layers.LSTMCell(units=self.hidden_size, dropout=0.1),
bw_cell=tf.keras.layers.LSTMCell(units=self.hidden_size + 1,
dropout=0.1), return_seq_2d=False, return_last_state=True
)
rnn, rnn_fw_state, rnn_bw_state = rnnlayer(inputs)
din = tl.layers.Reshape([-1, self.hidden_size + self.hidden_size + 1])(rnn)
dense = tl.layers.Dense(n_units=1)(din)
outputs = tl.layers.Reshape([-1, self.num_steps])(dense)
rnn_model = tl.models.Model(inputs=inputs, outputs=[outputs, rnn, rnn_fw_state[0], rnn_bw_state[0]])
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
assert rnnlayer.is_train
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y, r, rfw, rbw = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y2)
self.assertEqual(
r.get_shape().as_list(), [self.batch_size, self.num_steps, self.hidden_size + self.hidden_size + 1]
)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_basic_birnn_grucell(self):
class CustomisedModel(tl.models.Model):
def __init__(self):
super(CustomisedModel, self).__init__()
self.rnnlayer = tl.layers.BiRNN(
fw_cell=tf.keras.layers.GRUCell(units=8,
dropout=0.1), bw_cell=tf.keras.layers.GRUCell(units=8, dropout=0.1),
in_channels=4, return_seq_2d=False, return_last_state=False
)
self.dense = tl.layers.Dense(in_channels=16, n_units=1)
self.reshape = tl.layers.Reshape([-1, 6])
def forward(self, x):
z = self.rnnlayer(x, return_seq_2d=True)
z = self.dense(z)
z = self.reshape(z)
return z
rnn_model = CustomisedModel()
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_stack_simplernn(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer1 = tl.layers.RNN(
cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size, dropout=0.1), return_last_output=False,
return_seq_2d=False, return_last_state=False
)
rnn1 = rnnlayer1(inputs)
rnnlayer2 = tl.layers.RNN(
cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size, dropout=0.1), return_last_output=True,
return_seq_2d=False, return_last_state=False
)
rnn2 = rnnlayer2(rnn1)
outputs = tl.layers.Dense(n_units=1)(rnn2)
rnn_model = tl.models.Model(inputs=inputs, outputs=outputs)
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
assert rnnlayer1.is_train
assert rnnlayer2.is_train
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_stack_birnn_simplernncell(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.BiRNN(
fw_cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size, dropout=0.1),
bw_cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size + 1,
dropout=0.1), return_seq_2d=False, return_last_state=False
)
rnn = rnnlayer(inputs)
rnnlayer2 = tl.layers.BiRNN(
fw_cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size, dropout=0.1),
bw_cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size + 1,
dropout=0.1), return_seq_2d=True, return_last_state=False
)
rnn2 = rnnlayer2(rnn)
dense = tl.layers.Dense(n_units=1)(rnn2)
outputs = tl.layers.Reshape([-1, self.num_steps])(dense)
rnn_model = tl.models.Model(inputs=inputs, outputs=outputs)
print(rnn_model)
optimizer = tf.optimizers.Adam(learning_rate=0.01)
rnn_model.train()
assert rnnlayer.is_train
assert rnnlayer2.is_train
for epoch in range(50):
with tf.GradientTape() as tape:
pred_y = rnn_model(self.data_x)
loss = tl.cost.mean_squared_error(pred_y, self.data_y2)
gradients = tape.gradient(loss, rnn_model.trainable_weights)
optimizer.apply_gradients(zip(gradients, rnn_model.trainable_weights))
if (epoch + 1) % 10 == 0:
print("epoch %d, loss %f" % (epoch, loss))
def test_basic_simplernn_dropout_1(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.RNN(
cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size, dropout=0.5), return_last_output=True,
return_seq_2d=False, return_last_state=False
)
rnn = rnnlayer(inputs)
outputs = tl.layers.Dense(n_units=1)(rnn)
rnn_model = tl.models.Model(inputs=inputs, outputs=[outputs, rnn])
print(rnn_model)
rnn_model.train()
assert rnnlayer.is_train
pred_y, rnn_1 = rnn_model(self.data_x)
pred_y, rnn_2 = rnn_model(self.data_x)
self.assertFalse(np.allclose(rnn_1, rnn_2))
rnn_model.eval()
assert not rnnlayer.is_train
pred_y_1, rnn_1 = rnn_model(self.data_x)
pred_y_2, rnn_2 = rnn_model(self.data_x)
self.assertTrue(np.allclose(rnn_1, rnn_2))
def test_basic_simplernn_dropout_2(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.RNN(
cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size, recurrent_dropout=0.5), return_last_output=True,
return_seq_2d=False, return_last_state=False
)
rnn = rnnlayer(inputs)
outputs = tl.layers.Dense(n_units=1)(rnn)
rnn_model = tl.models.Model(inputs=inputs, outputs=[outputs, rnn])
print(rnn_model)
rnn_model.train()
assert rnnlayer.is_train
pred_y, rnn_1 = rnn_model(self.data_x)
pred_y, rnn_2 = rnn_model(self.data_x)
self.assertFalse(np.allclose(rnn_1, rnn_2))
rnn_model.eval()
assert not rnnlayer.is_train
pred_y_1, rnn_1 = rnn_model(self.data_x)
pred_y_2, rnn_2 = rnn_model(self.data_x)
self.assertTrue(np.allclose(rnn_1, rnn_2))
def test_basic_birnn_simplernn_dropout_1(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.BiRNN(
fw_cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size, dropout=0.5),
bw_cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size,
dropout=0.5), return_seq_2d=True, return_last_state=False
)
rnn = rnnlayer(inputs)
outputs = tl.layers.Dense(n_units=1)(rnn)
rnn_model = tl.models.Model(inputs=inputs, outputs=[outputs, rnn])
print(rnn_model)
rnn_model.train()
assert rnnlayer.is_train
pred_y, rnn_1 = rnn_model(self.data_x)
pred_y, rnn_2 = rnn_model(self.data_x)
self.assertFalse(np.allclose(rnn_1, rnn_2))
rnn_model.eval()
assert not rnnlayer.is_train
pred_y_1, rnn_1 = rnn_model(self.data_x)
pred_y_2, rnn_2 = rnn_model(self.data_x)
self.assertTrue(np.allclose(rnn_1, rnn_2))
def test_basic_birnn_simplernn_dropout_2(self):
inputs = tl.layers.Input([self.batch_size, self.num_steps, self.embedding_size])
rnnlayer = tl.layers.BiRNN(
fw_cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size, recurrent_dropout=0.5),
bw_cell=tf.keras.layers.SimpleRNNCell(units=self.hidden_size,
recurrent_dropout=0.5), return_seq_2d=True, return_last_state=False
)
rnn = rnnlayer(inputs)
outputs = tl.layers.Dense(n_units=1)(rnn)
rnn_model = tl.models.Model(inputs=inputs, outputs=[outputs, rnn])
print(rnn_model)
rnn_model.train()
assert rnnlayer.is_train
pred_y, rnn_1 = rnn_model(self.data_x)
pred_y, rnn_2 = rnn_model(self.data_x)
self.assertFalse(np.allclose(rnn_1, rnn_2))
rnn_model.eval()
assert not rnnlayer.is_train
pred_y_1, rnn_1 = rnn_model(self.data_x)
pred_y_2, rnn_2 = rnn_model(self.data_x)
self.assertTrue(np.allclose(rnn_1, rnn_2))
def test_sequence_length(self):
data = [[[1], [2], [0], [0], [0]], [[1], [2], [3], [0], [0]], [[1], [2], [6], [1], [0]]]
data = tf.convert_to_tensor(data, dtype=tf.float32)
length = tl.layers.retrieve_seq_length_op(data)
print(length)
data = [
[[1, 2], [2, 2], [1, 2], [1, 2], [0, 0]], [[2, 3], [2, 4], [3, 2], [0, 0], [0, 0]],
[[3, 3], [2, 2], [5, 3], [1, 2], [0, 0]]
]
data = tf.convert_to_tensor(data, dtype=tf.float32)
length = tl.layers.retrieve_seq_length_op(data)
print(length)
def test_sequence_length2(self):
data = [[1, 2, 0, 0, 0], [1, 2, 3, 0, 0], [1, 2, 6, 1, 0]]
data = tf.convert_to_tensor(data, dtype=tf.float32)
length = tl.layers.retrieve_seq_length_op2(data)
print(length)
def test_sequence_length3(self):
data = [[[1], [2], [0], [0], [0]], [[1], [2], [3], [0], [0]], [[1], [2], [6], [1], [0]]]
data = tf.convert_to_tensor(data, dtype=tf.float32)
length = tl.layers.retrieve_seq_length_op3(data)
print(length)
data = [
[[1, 2], [2, 2], [1, 2], [1, 2], [0, 0]], [[2, 3], [2, 4], [3, 2], [0, 0], [0, 0]],
[[3, 3], [2, 2], [5, 3], [1, 2], [0, 0]]
]
data = tf.convert_to_tensor(data, dtype=tf.float32)
length = tl.layers.retrieve_seq_length_op3(data)
print(length)
data = [[1, 2, 0, 0, 0], [1, 2, 3, 0, 0], [1, 2, 6, 1, 0]]
data = tf.convert_to_tensor(data, dtype=tf.float32)
length = tl.layers.retrieve_seq_length_op3(data)
print(length)
data = [
['hello', 'world', '', '', ''], ['hello', 'world', 'tensorlayer', '', ''],
['hello', 'world', 'tensorlayer', '2.0', '']
]
data = tf.convert_to_tensor(data, dtype=tf.string)
length = tl.layers.retrieve_seq_length_op3(data, pad_val='')
print(length)
try:
data = [1, 2, 0, 0, 0]
data = tf.convert_to_tensor(data, dtype=tf.float32)
length = tl.layers.retrieve_seq_length_op3(data)
print(length)
except Exception as e:
print(e)
try:
data = np.random.random([4, 2, 6, 2])
data = tf.convert_to_tensor(data, dtype=tf.float32)
length = tl.layers.retrieve_seq_length_op3(data)
print(length)
except Exception as e:
print(e)
def test_target_mask_op(self):
fail_flag = False
data = [
['hello', 'world', '', '', ''], ['hello', 'world', 'tensorlayer', '', ''],
['hello', 'world', 'tensorlayer', '2.0', '']
]
try:
tl.layers.target_mask_op(data, pad_val='')
fail_flag = True
except AttributeError as e:
print(e)
if fail_flag:
self.fail("Type error not raised")
data = tf.convert_to_tensor(data, dtype=tf.string)
mask = tl.layers.target_mask_op(data, pad_val='')
print(mask)
data = [[[1], [0], [0], [0], [0]], [[1], [2], [3], [0], [0]], [[1], [2], [0], [1], [0]]]
data = tf.convert_to_tensor(data, dtype=tf.float32)
mask = tl.layers.target_mask_op(data)
print(mask)
data = [
[[0, 0], [2, 2], [1, 2], [1, 2], [0, 0]], [[2, 3], [2, 4], [3, 2], [1, 0], [0, 0]],
[[3, 3], [0, 1], [5, 3], [1, 2], [0, 0]]
]
data = tf.convert_to_tensor(data, dtype=tf.float32)
mask = tl.layers.target_mask_op(data)
print(mask)
fail_flag = False
try:
data = [1, 2, 0, 0, 0]
data = tf.convert_to_tensor(data, dtype=tf.float32)
tl.layers.target_mask_op(data)
fail_flag = True
except ValueError as e:
print(e)
if fail_flag:
self.fail("Wrong data shape not detected.")
fail_flag = False
try:
data = np.random.random([4, 2, 6, 2])
data = tf.convert_to_tensor(data, dtype=tf.float32)
tl.layers.target_mask_op(data)
fail_flag = True
except ValueError as e:
print(e)
if fail_flag:
self.fail("Wrong data shape not detected.")
def test_dynamic_rnn(self):
batch_size = 3
num_steps = 5
embedding_size = 6
hidden_size = 4
inputs = tl.layers.Input([batch_size, num_steps, embedding_size])
rnn_layer = tl.layers.RNN(
cell=tf.keras.layers.LSTMCell(units=hidden_size, dropout=0.1), in_channels=embedding_size,
return_last_output=True, return_last_state=True
)
rnn_layer.is_train = False
print(tl.layers.retrieve_seq_length_op3(inputs))
_ = rnn_layer(inputs, sequence_length=tl.layers.retrieve_seq_length_op3(inputs))
_ = rnn_layer(inputs, sequence_length=np.array([5, 5, 5]))
# test exceptions
except_flag = False
try:
_ = rnn_layer(inputs, sequence_length=1)
except_flag = True
except TypeError as e:
print(e)
try:
_ = rnn_layer(inputs, sequence_length=["str", 1, 2])
except_flag = True
except TypeError as e:
print(e)
try:
_ = rnn_layer(inputs, sequence_length=[10, 2, 2])
except_flag = True
except ValueError as e:
print(e)
try:
_ = rnn_layer(inputs, sequence_length=[1])
except_flag = True
except ValueError as e:
print(e)
if except_flag:
self.fail("Exception not detected.")
# test warning
for _ in range(5):
_ = rnn_layer(inputs, sequence_length=[5, 5, 5], return_last_output=False, return_last_state=True)
_ = rnn_layer(inputs, sequence_length=[5, 5, 5], return_last_output=True, return_last_state=False)
x = rnn_layer(inputs, sequence_length=None, return_last_output=True, return_last_state=True)
y = rnn_layer(inputs, sequence_length=[5, 5, 5], return_last_output=True, return_last_state=True)
assert len(x) == 2
assert len(y) == 2
for i, j in zip(x, y):
self.assertTrue(np.allclose(i, j))
def test_dynamic_rnn_with_seq_len_op2(self):
data = [[[1], [2], [0], [0], [0]], [[1], [2], [3], [0], [0]], [[1], [2], [6], [1], [1]]]
data = tf.convert_to_tensor(data, dtype=tf.float32)
class DynamicRNNExample(tl.models.Model):
def __init__(self):
super(DynamicRNNExample, self).__init__()
self.rnnlayer = tl.layers.RNN(
cell=tf.keras.layers.SimpleRNNCell(units=6, dropout=0.1), in_channels=1, return_last_output=True,
return_last_state=True
)
def forward(self, x):
z0, s0 = self.rnnlayer(x, sequence_length=None)
z1, s1 = self.rnnlayer(x, sequence_length=tl.layers.retrieve_seq_length_op3(x))
z2, s2 = self.rnnlayer(x, sequence_length=tl.layers.retrieve_seq_length_op3(x), initial_state=s1)
print(z0)
print(z1)
print(z2)
print("===")
print(s0)
print(s1)
print(s2)
return z2, s2
model = DynamicRNNExample()
model.eval()
output, state = model(data)
print(output.shape)
print(state)
if __name__ == '__main__':
unittest.main()
| 38.571101 | 120 | 0.591842 | 4,447 | 33,634 | 4.242186 | 0.047448 | 0.056401 | 0.020991 | 0.027988 | 0.919109 | 0.905539 | 0.897217 | 0.888365 | 0.87119 | 0.854386 | 0 | 0.028264 | 0.286793 | 33,634 | 871 | 121 | 38.615385 | 0.758171 | 0.002111 | 0 | 0.707533 | 0 | 0 | 0.015018 | 0 | 0 | 0 | 0 | 0 | 0.054653 | 1 | 0.060561 | false | 0.001477 | 0.008863 | 0 | 0.088626 | 0.098966 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
dbe710918accea7fd4520e6cb7513d6299b41a87 | 6,279 | py | Python | cifar/models.py | helmholtz-perception/Helmholtz-DL | 15d750d1402fe149b107018c2e659a61dd104217 | [
"Apache-2.0"
] | 2 | 2018-04-15T03:50:57.000Z | 2018-04-15T03:52:00.000Z | cifar/models.py | wangjksjtu/Helmholtz-DL | 1ad1fce66fa69554f49515065b0381246f18098b | [
"Apache-2.0"
] | null | null | null | cifar/models.py | wangjksjtu/Helmholtz-DL | 1ad1fce66fa69554f49515065b0381246f18098b | [
"Apache-2.0"
] | null | null | null | from keras.models import Sequential
from keras.layers import Dropout, Dense, Flatten, Activation, Convolution2D, GlobalAveragePooling2D
from keras.utils import np_utils, plot_model
from keras.optimizers import SGD
model_list = ["all-cnns",
"cnns-dense-64",
"all-cnnsx2",
"cnns-x2-dense-128",
"cnns-dense-128",
"cnns-dense-128-256",
]
def save_summary(model, header, suffix):
assert(suffix.split(".")[0] == "")
with open(header + suffix, 'w') as fh:
# Pass the file handle in as a lambda functions to make it callable
model.summary(print_fn=lambda x: fh.write(x + '\n'))
def build_model(lr, decay, setting=0):
model = Sequential()
model.add(Convolution2D(32, (3, 3), padding = 'same', input_shape=(32, 32, 3)))
model.add(Activation('relu'))
model.add(Convolution2D(64, (3, 3), padding='same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same', strides = (2,2)))
model.add(Dropout(0.5))
if setting == 0:
# all-cnns
model.add(Convolution2D(128, (3, 3), padding = 'same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same', strides = (2,2)))
model.add(Dropout(0.5))
model.add(Convolution2D(128, (3, 3), padding = 'same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (1, 1), padding='valid'))
model.add(Activation('relu'))
model.add(Convolution2D(10, (1, 1), padding='valid'))
model.add(GlobalAveragePooling2D())
if setting == 1:
# cnns-dense-64
model.add(Convolution2D(128, (3, 3), padding = 'same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same', strides = (2,2)))
model.add(Dropout(0.5))
model.add(Flatten())
model.add(Dense(64, activation='relu'))
model.add(Dropout(0.5))
model.add(Dense(256, activation='relu'))
model.add(Dropout(0.5))
model.add(Dense(10, activation='relu'))
if setting == 2:
# all-cnnsx2
model.add(Convolution2D(128, (3, 3), padding = 'same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same', strides = (2,2)))
model.add(Dropout(0.5))
model.add(Convolution2D(128, (3, 3), padding = 'same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same', strides = (2,2)))
model.add(Dropout(0.5))
model.add(Convolution2D(128, (3, 3), padding = 'same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (1, 1), padding='valid'))
model.add(Activation('relu'))
model.add(Convolution2D(10, (1, 1), padding='valid'))
model.add(GlobalAveragePooling2D())
if setting == 3:
# cnns-x2-dense-128
model.add(Convolution2D(128, (3, 3), padding = 'same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same', strides = (2,2)))
model.add(Dropout(0.5))
model.add(Convolution2D(128, (3, 3), padding = 'same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same', strides = (2,2)))
model.add(Dropout(0.5))
model.add(Flatten())
model.add(Dense(128, activation='relu'))
model.add(Dropout(0.5))
model.add(Dense(256, activation='relu'))
model.add(Dropout(0.5))
model.add(Dense(10, activation='relu'))
if setting == 4:
# cnns-dense-128
model.add(Convolution2D(128, (3, 3), padding = 'same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same', strides = (2,2)))
model.add(Dropout(0.5))
model.add(Flatten())
model.add(Dense(128, activation='relu'))
model.add(Dropout(0.5))
model.add(Dense(256, activation='relu'))
model.add(Dropout(0.5))
model.add(Dense(10, activation='relu'))
if setting == 5:
# cnns-dense-128-256
model.add(Convolution2D(128, (3, 3), padding = 'same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same'))
model.add(Activation('relu'))
model.add(Convolution2D(128, (3, 3), padding='same', strides = (2,2)))
model.add(Dropout(0.5))
model.add(Flatten())
model.add(Dense(128, activation='relu'))
model.add(Dropout(0.5))
model.add(Dense(256, activation='relu'))
model.add(Dropout(0.5))
model.add(Dense(256, activation='relu'))
model.add(Dropout(0.5))
model.add(Dense(10, activation='relu'))
model.add(Activation('softmax'))
sgd = SGD(lr=lr, decay=decay, momentum=0.9, nesterov=True)
model.compile(loss='categorical_crossentropy', optimizer=sgd, metrics=['accuracy'])
# print (model.count_params())
# model.summary()
return model
settings = [i for i in range(6)]
if __name__ == "__main__":
models = []
parameters = []
for setting in settings:
model = build_model(0.01, 1e-6, setting)
save_summary(model, "parameters/model_" + str(model.count_params()) + "_" + model_list[setting], ".txt")
print model_list[setting] + ": " + str(model.count_params())
parameters.append(model.count_params())
models.append(model_list[setting])
# model.summary()
print models
print parameters
| 38.054545 | 112 | 0.59054 | 796 | 6,279 | 4.624372 | 0.130653 | 0.202119 | 0.188264 | 0.191252 | 0.719913 | 0.71122 | 0.71122 | 0.699538 | 0.699538 | 0.699538 | 0 | 0.070056 | 0.229336 | 6,279 | 164 | 113 | 38.286585 | 0.690639 | 0.033763 | 0 | 0.679389 | 0 | 0 | 0.071169 | 0.003963 | 0 | 0 | 0 | 0 | 0.007634 | 0 | null | null | 0 | 0.030534 | null | null | 0.030534 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e01b5c5f71c307acff72db59d4e0e003d05f6dea | 128 | py | Python | accessify/spotify/webapi/__init__.py | jscholes/accessify-prototype | 9cee5e6fff6621a6eb4dc1cf6e353669cd02d33b | [
"Apache-2.0"
] | null | null | null | accessify/spotify/webapi/__init__.py | jscholes/accessify-prototype | 9cee5e6fff6621a6eb4dc1cf6e353669cd02d33b | [
"Apache-2.0"
] | null | null | null | accessify/spotify/webapi/__init__.py | jscholes/accessify-prototype | 9cee5e6fff6621a6eb4dc1cf6e353669cd02d33b | [
"Apache-2.0"
] | null | null | null | from accessify.spotify.webapi.authorisation import AuthorisationAgent
from accessify.spotify.webapi.client import WebAPIClient
| 32 | 69 | 0.882813 | 14 | 128 | 8.071429 | 0.642857 | 0.230089 | 0.353982 | 0.460177 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070313 | 128 | 3 | 70 | 42.666667 | 0.94958 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
e05098d53efa12904c13fc652394216115c1fc2d | 9,369 | py | Python | server/utility.py | ksalokya/housify-cm | dd29c61bc6d4281a2a32cd6d56a00eb00bab58e5 | [
"MIT"
] | 5 | 2021-07-06T15:27:54.000Z | 2021-07-24T15:56:17.000Z | server/utility.py | ksalokya/housify-cm | dd29c61bc6d4281a2a32cd6d56a00eb00bab58e5 | [
"MIT"
] | null | null | null | server/utility.py | ksalokya/housify-cm | dd29c61bc6d4281a2a32cd6d56a00eb00bab58e5 | [
"MIT"
] | 4 | 2021-07-06T16:07:12.000Z | 2021-07-07T05:39:39.000Z | import pickle
import json
import numpy as np
__locations = None
__data_columns = None
__model = None
def get_estimated_price(location,sqft,bhk,bath):
try:
loc_index = __data_columns.index(location.lower())
except:
loc_index = -1
x = np.zeros(len(__data_columns))
x[0] = sqft
x[1] = bath
x[2] = bhk
if loc_index>=0:
x[loc_index] = 1
return round(__model.predict([x])[0],2)
def load_saved_artifacts():
print("loading saved artifacts...start")
global __data_columns
global __locations
__data_columns = ["total_sqft", "bath", "bhk", "1st block jayanagar", "1st phase jp nagar", "2nd phase judicial layout", "2nd stage nagarbhavi", "5th block hbr layout", "5th phase jp nagar", "6th phase jp nagar", "7th phase jp nagar", "8th phase jp nagar", "9th phase jp nagar", "aecs layout", "abbigere", "akshaya nagar", "ambalipura", "ambedkar nagar", "amruthahalli", "anandapura", "ananth nagar", "anekal", "anjanapura", "ardendale", "arekere", "attibele", "beml layout", "btm 2nd stage", "btm layout", "babusapalaya", "badavala nagar", "balagere", "banashankari", "banashankari stage ii", "banashankari stage iii", "banashankari stage v", "banashankari stage vi", "banaswadi", "banjara layout", "bannerghatta", "bannerghatta road", "basavangudi", "basaveshwara nagar", "battarahalli", "begur", "begur road", "bellandur", "benson town", "bharathi nagar", "bhoganhalli", "billekahalli", "binny pete", "bisuvanahalli", "bommanahalli", "bommasandra", "bommasandra industrial area", "bommenahalli", "brookefield", "budigere", "cv raman nagar", "chamrajpet", "chandapura", "channasandra", "chikka tirupathi", "chikkabanavar", "chikkalasandra", "choodasandra", "cooke town", "cox town", "cunningham road", "dasanapura", "dasarahalli", "devanahalli", "devarachikkanahalli", "dodda nekkundi", "doddaballapur", "doddakallasandra", "doddathoguru", "domlur", "dommasandra", "epip zone", "electronic city", "electronic city phase ii", "electronics city phase 1", "frazer town", "gm palaya", "garudachar palya", "giri nagar", "gollarapalya hosahalli", "gottigere", "green glen layout", "gubbalala", "gunjur", "hal 2nd stage", "hbr layout", "hrbr layout", "hsr layout", "haralur road", "harlur", "hebbal", "hebbal kempapura", "hegde nagar", "hennur", "hennur road", "hoodi", "horamavu agara", "horamavu banaswadi", "hormavu", "hosa road", "hosakerehalli", "hoskote", "hosur road", "hulimavu", "isro layout", "itpl", "iblur village", "indira nagar", "jp nagar", "jakkur", "jalahalli", "jalahalli east", "jigani", "judicial layout", "kr puram", "kadubeesanahalli", "kadugodi", "kaggadasapura", "kaggalipura", "kaikondrahalli", "kalena agrahara", "kalyan nagar", "kambipura", "kammanahalli", "kammasandra", "kanakapura", "kanakpura road", "kannamangala", "karuna nagar", "kasavanhalli", "kasturi nagar", "kathriguppe", "kaval byrasandra", "kenchenahalli", "kengeri", "kengeri satellite town", "kereguddadahalli", "kodichikkanahalli", "kodigehaali", "kodigehalli", "kodihalli", "kogilu", "konanakunte", "koramangala", "kothannur", "kothanur", "kudlu", "kudlu gate", "kumaraswami layout", "kundalahalli", "lb shastri nagar", "laggere", "lakshminarayana pura", "lingadheeranahalli", "magadi road", "mahadevpura", "mahalakshmi layout", "mallasandra", "malleshpalya", "malleshwaram", "marathahalli", "margondanahalli", "marsur", "mico layout", "munnekollal", "murugeshpalya", "mysore road", "ngr layout", "nri layout", "nagarbhavi", "nagasandra", "nagavara", "nagavarapalya", "narayanapura", "neeladri nagar", "nehru nagar", "ombr layout", "old airport road", "old madras road", "padmanabhanagar", "pai layout", "panathur", "parappana agrahara", "pattandur agrahara", "poorna pragna layout", "prithvi layout", "r.t. nagar", "rachenahalli", "raja rajeshwari nagar", "rajaji nagar", "rajiv nagar", "ramagondanahalli", "ramamurthy nagar", "rayasandra", "sahakara nagar", "sanjay nagar", "sarakki nagar", "sarjapur", "sarjapur road", "sarjapura - attibele road", "sector 2 hsr layout", "sector 7 hsr layout", "seegehalli", "shampura", "shivaji nagar", "singasandra", "somasundara palya", "sompura", "sonnenahalli", "subramanyapura", "sultan palaya", "tc palaya", "talaghattapura", "thanisandra", "thigalarapalya", "thubarahalli", "tindlu", "tumkur road", "ulsoor", "uttarahalli", "varthur", "varthur road", "vasanthapura", "vidyaranyapura", "vijayanagar", "vishveshwarya layout", "vishwapriya layout", "vittasandra", "whitefield", "yelachenahalli", "yelahanka", "yelahanka new town", "yelenahalli", "yeshwanthpur"]
__locations = ["1st block jayanagar", "1st phase jp nagar", "2nd phase judicial layout", "2nd stage nagarbhavi", "5th block hbr layout", "5th phase jp nagar", "6th phase jp nagar", "7th phase jp nagar", "8th phase jp nagar", "9th phase jp nagar", "aecs layout", "abbigere", "akshaya nagar", "ambalipura", "ambedkar nagar", "amruthahalli", "anandapura", "ananth nagar", "anekal", "anjanapura", "ardendale", "arekere", "attibele", "beml layout", "btm 2nd stage", "btm layout", "babusapalaya", "badavala nagar", "balagere", "banashankari", "banashankari stage ii", "banashankari stage iii", "banashankari stage v", "banashankari stage vi", "banaswadi", "banjara layout", "bannerghatta", "bannerghatta road", "basavangudi", "basaveshwara nagar", "battarahalli", "begur", "begur road", "bellandur", "benson town", "bharathi nagar", "bhoganhalli", "billekahalli", "binny pete", "bisuvanahalli", "bommanahalli", "bommasandra", "bommasandra industrial area", "bommenahalli", "brookefield", "budigere", "cv raman nagar", "chamrajpet", "chandapura", "channasandra", "chikka tirupathi", "chikkabanavar", "chikkalasandra", "choodasandra", "cooke town", "cox town", "cunningham road", "dasanapura", "dasarahalli", "devanahalli", "devarachikkanahalli", "dodda nekkundi", "doddaballapur", "doddakallasandra", "doddathoguru", "domlur", "dommasandra", "epip zone", "electronic city", "electronic city phase ii", "electronics city phase 1", "frazer town", "gm palaya", "garudachar palya", "giri nagar", "gollarapalya hosahalli", "gottigere", "green glen layout", "gubbalala", "gunjur", "hal 2nd stage", "hbr layout", "hrbr layout", "hsr layout", "haralur road", "harlur", "hebbal", "hebbal kempapura", "hegde nagar", "hennur", "hennur road", "hoodi", "horamavu agara", "horamavu banaswadi", "hormavu", "hosa road", "hosakerehalli", "hoskote", "hosur road", "hulimavu", "isro layout", "itpl", "iblur village", "indira nagar", "jp nagar", "jakkur", "jalahalli", "jalahalli east", "jigani", "judicial layout", "kr puram", "kadubeesanahalli", "kadugodi", "kaggadasapura", "kaggalipura", "kaikondrahalli", "kalena agrahara", "kalyan nagar", "kambipura", "kammanahalli", "kammasandra", "kanakapura", "kanakpura road", "kannamangala", "karuna nagar", "kasavanhalli", "kasturi nagar", "kathriguppe", "kaval byrasandra", "kenchenahalli", "kengeri", "kengeri satellite town", "kereguddadahalli", "kodichikkanahalli", "kodigehaali", "kodigehalli", "kodihalli", "kogilu", "konanakunte", "koramangala", "kothannur", "kothanur", "kudlu", "kudlu gate", "kumaraswami layout", "kundalahalli", "lb shastri nagar", "laggere", "lakshminarayana pura", "lingadheeranahalli", "magadi road", "mahadevpura", "mahalakshmi layout", "mallasandra", "malleshpalya", "malleshwaram", "marathahalli", "margondanahalli", "marsur", "mico layout", "munnekollal", "murugeshpalya", "mysore road", "ngr layout", "nri layout", "nagarbhavi", "nagasandra", "nagavara", "nagavarapalya", "narayanapura", "neeladri nagar", "nehru nagar", "ombr layout", "old airport road", "old madras road", "padmanabhanagar", "pai layout", "panathur", "parappana agrahara", "pattandur agrahara", "poorna pragna layout", "prithvi layout", "r.t. nagar", "rachenahalli", "raja rajeshwari nagar", "rajaji nagar", "rajiv nagar", "ramagondanahalli", "ramamurthy nagar", "rayasandra", "sahakara nagar", "sanjay nagar", "sarakki nagar", "sarjapur", "sarjapur road", "sarjapura - attibele road", "sector 2 hsr layout", "sector 7 hsr layout", "seegehalli", "shampura", "shivaji nagar", "singasandra", "somasundara palya", "sompura", "sonnenahalli", "subramanyapura", "sultan palaya", "tc palaya", "talaghattapura", "thanisandra", "thigalarapalya", "thubarahalli", "tindlu", "tumkur road", "ulsoor", "uttarahalli", "varthur", "varthur road", "vasanthapura", "vidyaranyapura", "vijayanagar", "vishveshwarya layout", "vishwapriya layout", "vittasandra", "whitefield", "yelachenahalli", "yelahanka", "yelahanka new town", "yelenahalli", "yeshwanthpur"]
# with open("./artifacts/columns.json", "r") as f:
# __data_columns = json.load(f)['data_columns']
# __locations = __data_columns[3:] # first 3 columns are sqft, bath, bhk
global __model
if __model is None:
with open('banglore_home_prices_model.pickle', 'rb') as f:
__model = pickle.load(f)
print("loading saved artifacts...done")
def get_location_names():
return __locations
def get_data_columns():
return __data_columns
if __name__ == '__main__':
load_saved_artifacts()
print(get_location_names())
print(get_estimated_price('1st Phase JP Nagar',1000, 3, 3))
print(get_estimated_price('1st Phase JP Nagar', 1000, 2, 2))
print(get_estimated_price('Kalhalli', 1000, 2, 2)) # other location
print(get_estimated_price('Ejipura', 1000, 2, 2)) # other location
| 170.345455 | 3,997 | 0.707653 | 996 | 9,369 | 6.575301 | 0.321285 | 0.017102 | 0.025653 | 0.009162 | 0.881356 | 0.875554 | 0.875554 | 0.875554 | 0.875554 | 0.863033 | 0 | 0.007994 | 0.118796 | 9,369 | 54 | 3,998 | 173.5 | 0.785247 | 0.021667 | 0 | 0 | 0 | 0 | 0.671034 | 0.003603 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.075 | 0.05 | 0.25 | 0.175 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0ee0ad0bf2c08c8e1bbc1cc3e923e61f4ebf3694 | 7,677 | py | Python | tests/test_opml.py | gentoo/venus | b15226aff01f491580ea5cfc515e2ef468c700a5 | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | tests/test_opml.py | gentoo/venus | b15226aff01f491580ea5cfc515e2ef468c700a5 | [
"CNRI-Python-GPL-Compatible"
] | 1 | 2020-02-25T13:00:07.000Z | 2020-02-25T13:00:07.000Z | tests/test_opml.py | aliceinwire/venus | b15226aff01f491580ea5cfc515e2ef468c700a5 | [
"CNRI-Python-GPL-Compatible"
] | 4 | 2015-07-14T14:35:43.000Z | 2020-12-06T21:43:38.000Z | #!/usr/bin/env python
import unittest
from planet.opml import opml2config
from ConfigParser import ConfigParser
class OpmlTest(unittest.TestCase):
"""
Test the opml2config function
"""
def setUp(self):
self.config = ConfigParser()
#
# Element
#
def test_outline_element(self):
opml2config('''<outline type="rss"
xmlUrl="http://example.com/feed.xml"
text="sample feed"/>''', self.config)
self.assertEqual('sample feed',
self.config.get("http://example.com/feed.xml", 'name'))
def test_wrong_element(self):
opml2config('''<feed type="rss"
xmlUrl="http://example.com/feed.xml"
text="sample feed"/>''', self.config)
self.assertFalse(
self.config.has_section(
"http://example.com/feed.xml"))
def test_illformed_xml_before(self):
opml2config('''<bad stuff before>
<outline type="rss"
xmlUrl="http://example.com/feed.xml"
text="sample feed"/>''', self.config)
self.assertEqual('sample feed',
self.config.get("http://example.com/feed.xml", 'name'))
def test_illformed_xml_after(self):
opml2config('''<outline type="rss"
xmlUrl="http://example.com/feed.xml"
text="sample feed"/>
<bad stuff after>''', self.config)
self.assertEqual('sample feed',
self.config.get("http://example.com/feed.xml", 'name'))
#
# Type
#
def test_type_missing(self):
opml2config('''<outline
xmlUrl="http://example.com/feed.xml"
text="sample feed"/>''', self.config)
self.assertEqual('sample feed',
self.config.get("http://example.com/feed.xml", 'name'))
def test_type_uppercase(self):
opml2config('''<outline type="RSS"
xmlUrl="http://example.com/feed.xml"
text="sample feed"/>''', self.config)
self.assertEqual('sample feed',
self.config.get("http://example.com/feed.xml", 'name'))
def test_type_atom(self):
opml2config('''<outline type="atom"
xmlUrl="http://example.com/feed.xml"
text="sample feed"/>''', self.config)
self.assertEqual('sample feed',
self.config.get("http://example.com/feed.xml", 'name'))
def test_wrong_type(self):
opml2config('''<outline type="other"
xmlUrl="http://example.com/feed.xml"
text="sample feed"/>''', self.config)
self.assertFalse(
self.config.has_section(
"http://example.com/feed.xml"))
def test_WordPress_link_manager(self):
# http://www.wasab.dk/morten/blog/archives/2006/10/22/wp-venus
opml2config('''<outline type="link"
xmlUrl="http://example.com/feed.xml"
text="sample feed"/>''', self.config)
self.assertEqual('sample feed',
self.config.get("http://example.com/feed.xml", 'name'))
#
# xmlUrl
#
def test_xmlurl_wrong_case(self):
opml2config('''<outline type="rss"
xmlurl="http://example.com/feed.xml"
text="sample feed"/>''', self.config)
self.assertEqual('sample feed',
self.config.get("http://example.com/feed.xml", 'name'))
def test_missing_xmlUrl(self):
opml2config('''<outline type="rss"
text="sample feed"/>''', self.config)
self.assertFalse(
self.config.has_section(
"http://example.com/feed.xml"))
def test_blank_xmlUrl(self):
opml2config('''<outline type="rss"
xmlUrl=""
text="sample feed"/>''', self.config)
self.assertFalse(self.config.has_section(""))
#
# text
#
def test_title_attribute(self):
opml2config('''<outline type="rss"
xmlUrl="http://example.com/feed.xml"
title="sample feed"/>''', self.config)
self.assertEqual('sample feed',
self.config.get("http://example.com/feed.xml", 'name'))
def test_missing_text(self):
opml2config('''<outline type="rss"
xmlUrl="http://example.com/feed.xml"
/>''', self.config)
self.assertFalse(
self.config.has_section(
"http://example.com/feed.xml"))
def test_blank_text_no_title(self):
opml2config('''<outline type="rss"
xmlUrl="http://example.com/feed.xml"
text=""/>''', self.config)
self.assertFalse(
self.config.has_section(
"http://example.com/feed.xml"))
def test_blank_text_with_title(self):
opml2config('''<outline type="rss"
xmlUrl="http://example.com/feed.xml"
text=""
title="sample feed"/>''', self.config)
self.assertEqual('sample feed',
self.config.get("http://example.com/feed.xml", 'name'))
def test_blank_text_blank_title(self):
opml2config('''<outline type="rss"
xmlUrl="http://example.com/feed.xml"
text=""
title=""/>''', self.config)
self.assertFalse(
self.config.has_section(
"http://example.com/feed.xml"))
def test_text_utf8(self):
opml2config('''<outline type="rss"
xmlUrl="http://example.com/feed.xml"
text="Se\xc3\xb1or Frog\xe2\x80\x99s"/>''',
self.config)
self.assertEqual('Se\xc3\xb1or Frog\xe2\x80\x99s',
self.config.get("http://example.com/feed.xml", 'name'))
def test_text_win_1252(self):
opml2config('''<outline type="rss"
xmlUrl="http://example.com/feed.xml"
text="Se\xf1or Frog\x92s"/>''', self.config)
self.assertEqual('Se\xc3\xb1or Frog\xe2\x80\x99s',
self.config.get("http://example.com/feed.xml", 'name'))
def test_text_entity(self):
opml2config('''<outline type="rss"
xmlUrl="http://example.com/feed.xml"
text="Señor Frog’s"/>''', self.config)
self.assertEqual('Se\xc3\xb1or Frog\xe2\x80\x99s',
self.config.get("http://example.com/feed.xml", 'name'))
def test_text_double_escaped(self):
opml2config('''<outline type="rss"
xmlUrl="http://example.com/feed.xml"
text="Se&ntilde;or Frog&rsquo;s"/>''', self.config)
self.assertEqual('Se\xc3\xb1or Frog\xe2\x80\x99s',
self.config.get("http://example.com/feed.xml", 'name'))
if __name__ == '__main__':
unittest.main()
| 39.984375 | 91 | 0.489514 | 761 | 7,677 | 4.847569 | 0.11958 | 0.116563 | 0.148008 | 0.190295 | 0.807807 | 0.807807 | 0.787205 | 0.787205 | 0.787205 | 0.781242 | 0 | 0.015148 | 0.363684 | 7,677 | 191 | 92 | 40.193717 | 0.74002 | 0.017715 | 0 | 0.65035 | 0 | 0 | 0.516507 | 0.002929 | 0 | 0 | 0 | 0 | 0.146853 | 1 | 0.153846 | false | 0 | 0.020979 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
0ef4fa7a5b9101904b1e7365aefc4adcd5ab0685 | 17,689 | py | Python | tests/test_grublock.py | bedapisl/tensorflow-onnx | 62f1e704928e18c96e8d1f167af6bc82298fb636 | [
"MIT"
] | 1 | 2021-10-13T05:38:36.000Z | 2021-10-13T05:38:36.000Z | tests/test_grublock.py | daquexian/tensorflow-onnx | cb016ef5b2483b78b0c0ceea23652d4a6a142cf0 | [
"MIT"
] | null | null | null | tests/test_grublock.py | daquexian/tensorflow-onnx | cb016ef5b2483b78b0c0ceea23652d4a6a142cf0 | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license.
"""Unit Tests for grublock."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import numpy as np
import tensorflow as tf
from tensorflow.python.ops import variable_scope
from backend_test_base import Tf2OnnxBackendTestBase
from common import unittest_main, check_gru_count, check_tf_max_version
from common import check_opset_after_tf_version
from tf2onnx.tf_loader import is_tf2
# pylint: disable=missing-docstring,invalid-name,unused-argument,using-constant-test
# pylint: disable=invalid-name
if is_tf2():
MultiRNNCell = tf.compat.v1.nn.rnn_cell.MultiRNNCell
dynamic_rnn = tf.compat.v1.nn.dynamic_rnn
bidirectional_dynamic_rnn = tf.compat.v1.nn.bidirectional_dynamic_rnn
else:
GRUBlockCell = tf.contrib.rnn.GRUBlockCell
MultiRNNCell = tf.contrib.rnn.MultiRNNCell
dynamic_rnn = tf.nn.dynamic_rnn
bidirectional_dynamic_rnn = tf.nn.bidirectional_dynamic_rnn
# pylint: enable=invalid-name
# TODO: as a workaround, set batch_size to 1 for now to bypass a onnxruntime bug, revert it when the bug is fixed
class GRUBlockTests(Tf2OnnxBackendTestBase):
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_single_dynamic_gru(self):
units = 5
batch_size = 1
x_val = np.array([[1., 1.], [2., 2.], [3., 3.], [4., 4.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
def func(x):
# no scope
cell = GRUBlockCell(
units)
outputs, cell_state = dynamic_rnn(
cell,
x,
dtype=tf.float32)
return tf.identity(outputs, name="output"), tf.identity(cell_state, name="cell_state")
input_names_with_port = ["input_1:0"]
feed_dict = {"input_1:0": x_val}
output_names_with_port = ["output:0", "cell_state:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, rtol=1e-3, atol=1e-06,
graph_validator=lambda g: check_gru_count(g, 1))
@check_opset_after_tf_version("1.15", 10, "might need ReverseV2")
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_multiple_dynamic_gru(self):
units = 5
batch_size = 1
x_val = np.array([[1., 1.], [2., 2.], [3., 3.], [4., 4.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
def func(x):
gru_output_list = []
gru_cell_state_list = []
# no scope
cell = GRUBlockCell(units)
outputs, cell_state = dynamic_rnn(cell, x, dtype=tf.float32)
gru_output_list.append(outputs)
gru_cell_state_list.append(cell_state)
# given scope
cell = GRUBlockCell(units)
with variable_scope.variable_scope("root1") as scope:
outputs, cell_state = dynamic_rnn(cell, x, dtype=tf.float32, sequence_length=[4], scope=scope)
gru_output_list.append(outputs)
gru_cell_state_list.append(cell_state)
return tf.identity(gru_output_list, name="output"), tf.identity(gru_cell_state_list, name="cell_state")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["output:0", "cell_state:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, rtol=1e-3, atol=1e-06,
graph_validator=lambda g: check_gru_count(g, 2))
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_single_dynamic_gru_seq_length_is_const(self):
units = 5
batch_size = 1
x_val = np.array([[1., 1.], [2., 2.], [3., 3.], [4., 4.], [5., 5.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
def func(x):
# no scope
cell = GRUBlockCell(
units)
outputs, cell_state = dynamic_rnn(
cell,
x,
dtype=tf.float32,
sequence_length=[5])
return tf.identity(outputs, name="output"), tf.identity(cell_state, name="cell_state")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["output:0", "cell_state:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, rtol=1e-3, atol=1e-06,
graph_validator=lambda g: check_gru_count(g, 1))
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_single_dynamic_gru_seq_length_is_not_const(self):
units = 5
batch_size = 1
x_val = np.array([[1., 1.], [2., 2.], [3., 3.], [4., 4.], [5., 5.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
y_val = np.array([5], dtype=np.int32)
def func(x, seq_length):
# no scope
cell = GRUBlockCell(
units)
outputs, cell_state = dynamic_rnn(
cell,
x,
dtype=tf.float32,
sequence_length=tf.identity(seq_length))
return tf.identity(outputs, name="output"), tf.identity(cell_state, name="cell_state")
feed_dict = {"input_1:0": x_val, "input_2:0": y_val}
input_names_with_port = ["input_1:0", "input_2:0"]
output_names_with_port = ["output:0", "cell_state:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, rtol=1e-03, atol=1e-06,
graph_validator=lambda g: check_gru_count(g, 1))
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_single_dynamic_gru_placeholder_input(self):
units = 5
x_val = np.array([[1., 1.], [2., 2.], [3., 3.], [4., 4.]], dtype=np.float32)
x_val = np.stack([x_val] * 1)
def func(x):
# no scope
cell = GRUBlockCell(
units)
outputs, cell_state = dynamic_rnn(
cell,
x,
dtype=tf.float32) # by default zero initializer is used
return tf.identity(outputs, name="output"), tf.identity(cell_state, name="cell_state")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["output:0", "cell_state:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, rtol=1e-3, atol=1e-06,
graph_validator=lambda g: check_gru_count(g, 1))
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_single_dynamic_gru_ch_zero_state_initializer(self):
units = 5
batch_size = 1
x_val = np.array([[1., 1.], [2., 2.], [3., 3.], [4., 4.], [5., 5.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
def func(x):
# no scope
cell = GRUBlockCell(
units)
# defining initial state
initial_state = cell.zero_state(batch_size, dtype=tf.float32)
outputs, cell_state = dynamic_rnn(
cell,
x,
initial_state=initial_state,
dtype=tf.float32)
return tf.identity(outputs, name="output"), tf.identity(cell_state, name="cell_state")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["output:0", "cell_state:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, rtol=1e-03, atol=1e-06,
graph_validator=lambda g: check_gru_count(g, 1))
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_single_dynamic_gru_random_weights(self):
hidden_size = 5
batch_size = 1
x_val = np.array([[1., 1.], [2., 2.], [3., 3.], [4., 4.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
def func(x):
# no scope
cell = GRUBlockCell(
hidden_size)
outputs, cell_state = dynamic_rnn(
cell,
x,
dtype=tf.float32)
return tf.identity(outputs, name="output"), tf.identity(cell_state, name="cell_state")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["output:0", "cell_state:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, 0.0001,
graph_validator=lambda g: check_gru_count(g, 1))
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_single_dynamic_gru_random_weights2(self):
hidden_size = 128
batch_size = 1
x_val = np.random.randn(1, 133).astype('f')
x_val = np.stack([x_val] * batch_size)
def func(x):
# no scope
cell = GRUBlockCell(
hidden_size)
outputs, cell_state = dynamic_rnn(
cell,
x,
dtype=tf.float32)
return tf.identity(outputs, name="output"), tf.identity(cell_state, name="cell_state")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["output:0", "cell_state:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, 0.01,
graph_validator=lambda g: check_gru_count(g, 1))
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_dynamic_gru_output_consumed_only(self):
units = 5
batch_size = 6
x_val = np.array([[1., 1.], [2., 2.], [3., 3.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
def func(x):
cell1 = GRUBlockCell(units)
outputs, _ = dynamic_rnn(cell1, x, dtype=tf.float32)
return tf.identity(outputs, name="output")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["output:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, 0.0001,
graph_validator=lambda g: check_gru_count(g, 1))
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_dynamic_gru_state_consumed_only(self):
units = 5
batch_size = 6
x_val = np.array([[1., 1.], [2., 2.], [3., 3.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
def func(x):
cell1 = GRUBlockCell(units)
_, cell_state = dynamic_rnn(cell1, x, dtype=tf.float32)
return tf.identity(cell_state, name="cell_state")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["cell_state:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, 0.0001,
graph_validator=lambda g: check_gru_count(g, 1))
@check_opset_after_tf_version("1.15", 10, "might need ReverseV2")
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_dynamic_bigru(self):
units = 5
batch_size = 1
x_val = np.array([[1., 1.], [2., 2.], [3., 3.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
def func(x):
# bigru, no scope
cell1 = GRUBlockCell(
units)
cell2 = GRUBlockCell(
units)
outputs, cell_state = bidirectional_dynamic_rnn(
cell1,
cell2,
x,
dtype=tf.float32)
return tf.identity(outputs, name="output"), tf.identity(cell_state, name="cell_state")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["output:0", "cell_state:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, rtol=1e-3, atol=1e-06,
graph_validator=lambda g: check_gru_count(g, 1))
@check_opset_after_tf_version("1.15", 10, "might need ReverseV2")
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_dynamic_bigru_output_consumed_only(self):
units = 5
batch_size = 1
x_val = np.array([[1., 1.], [2., 2.], [3., 3.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
def func(x):
# bigru, no scope
cell1 = GRUBlockCell(
units)
cell2 = GRUBlockCell(
units)
outputs, _ = bidirectional_dynamic_rnn(
cell1,
cell2,
x,
dtype=tf.float32)
return tf.identity(outputs, name="output")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["output:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, rtol=1e-3, atol=1e-06,
graph_validator=lambda g: check_gru_count(g, 1))
@check_opset_after_tf_version("1.15", 10, "might need ReverseV2")
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_dynamic_bigru_state_consumed_only(self):
units = 5
batch_size = 1
x_val = np.array([[1., 1.], [2., 2.], [3., 3.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
def func(x):
# bigru, no scope
cell1 = GRUBlockCell(
units)
cell2 = GRUBlockCell(
units)
_, cell_state = bidirectional_dynamic_rnn(
cell1,
cell2,
x,
dtype=tf.float32)
return tf.identity(cell_state, name="cell_state")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["cell_state:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, rtol=1e-3, atol=1e-06,
graph_validator=lambda g: check_gru_count(g, 1))
@check_opset_after_tf_version("1.15", 10, "might need ReverseV2")
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_dynamic_bidirectional_but_one_gru(self):
units = 5
batch_size = 1
x_val = np.array([[1., 1.], [2., 2.], [3., 3.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
def func(x):
# bigru, no scope
cell = GRUBlockCell(
units)
outputs, cell_state = bidirectional_dynamic_rnn(
cell,
cell,
x,
dtype=tf.float32)
return tf.identity(outputs, name="output"), tf.identity(cell_state, name="cell_state")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["output:0", "cell_state:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, rtol=1e-3, atol=1e-06,
graph_validator=lambda g: check_gru_count(g, 1))
@check_opset_after_tf_version("1.15", 10, "might need ReverseV2")
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_dynamic_bidirectional_but_one_gru_and_output_consumed_only(self):
units = 5
batch_size = 1
x_val = np.array([[1., 1.], [2., 2.], [3., 3.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
def func(x):
# bigru, no scope
cell = GRUBlockCell(
units)
outputs, _ = bidirectional_dynamic_rnn(
cell,
cell,
x,
dtype=tf.float32)
return tf.identity(outputs, name="output")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["output:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, rtol=1e-3, atol=1e-07,
graph_validator=lambda g: check_gru_count(g, 1))
@check_opset_after_tf_version("1.15", 10, "might need ReverseV2")
@check_tf_max_version("1.15", "no LSTMBlockCell in tf-2.x")
def test_dynamic_bidirectional_but_one_gru_and_state_consumed_only(self):
units = 5
batch_size = 1
x_val = np.array([[1., 1.], [2., 2.], [3., 3.]], dtype=np.float32)
x_val = np.stack([x_val] * batch_size)
def func(x):
# bigru, no scope
cell = GRUBlockCell(
units)
_, cell_state = bidirectional_dynamic_rnn(
cell,
cell,
x,
dtype=tf.float32)
return tf.identity(cell_state, name="cell_state")
feed_dict = {"input_1:0": x_val}
input_names_with_port = ["input_1:0"]
output_names_with_port = ["cell_state:0"]
self.run_test_case(func, feed_dict, input_names_with_port, output_names_with_port, rtol=1e-3, atol=1e-06,
graph_validator=lambda g: check_gru_count(g, 1))
if __name__ == '__main__':
unittest_main()
| 40.571101 | 115 | 0.590706 | 2,428 | 17,689 | 3.984349 | 0.074547 | 0.026463 | 0.086004 | 0.059541 | 0.854662 | 0.852181 | 0.847426 | 0.832024 | 0.827993 | 0.827993 | 0 | 0.043081 | 0.288767 | 17,689 | 435 | 116 | 40.664368 | 0.725856 | 0.034259 | 0 | 0.821326 | 0 | 0 | 0.084198 | 0 | 0 | 0 | 0 | 0.002299 | 0 | 1 | 0.092219 | false | 0 | 0.0317 | 0 | 0.172911 | 0.002882 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
161996062ab40d85b0c49e46f90c42ffddb7310a | 244 | py | Python | rastervision2/core/data/crs_transformer/__init__.py | alexchunet/raster-vision | 76e2965557fc8380e2ffc4aa7ab1f5dc45f79033 | [
"Apache-2.0"
] | 1 | 2020-10-10T12:32:43.000Z | 2020-10-10T12:32:43.000Z | rastervision2/core/data/crs_transformer/__init__.py | alexchunet/raster-vision | 76e2965557fc8380e2ffc4aa7ab1f5dc45f79033 | [
"Apache-2.0"
] | null | null | null | rastervision2/core/data/crs_transformer/__init__.py | alexchunet/raster-vision | 76e2965557fc8380e2ffc4aa7ab1f5dc45f79033 | [
"Apache-2.0"
] | 1 | 2021-12-02T08:07:21.000Z | 2021-12-02T08:07:21.000Z | # flake8: noqa
from rastervision2.core.data.crs_transformer.crs_transformer import *
from rastervision2.core.data.crs_transformer.identity_crs_transformer import *
from rastervision2.core.data.crs_transformer.rasterio_crs_transformer import *
| 40.666667 | 78 | 0.864754 | 31 | 244 | 6.548387 | 0.354839 | 0.413793 | 0.310345 | 0.369458 | 0.773399 | 0.773399 | 0.581281 | 0.581281 | 0.581281 | 0 | 0 | 0.017544 | 0.065574 | 244 | 5 | 79 | 48.8 | 0.872807 | 0.04918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 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 | 7 |
161a14505522be0bbf3422167d6734d9131dbc71 | 13,185 | py | Python | cytomine-applications/ldm_model_builder/add_software_local.py | Cytomine-ULiege/Cytomine-python-datamining | 16db995f175e8972b8731a8df9391625e1920288 | [
"Apache-2.0"
] | 19 | 2016-03-15T19:48:36.000Z | 2021-05-25T14:38:12.000Z | cytomine-applications/ldm_model_builder/add_software_local.py | Cytomine-ULiege/Cytomine-python-datamining | 16db995f175e8972b8731a8df9391625e1920288 | [
"Apache-2.0"
] | 1 | 2017-03-20T16:41:48.000Z | 2017-03-22T15:46:55.000Z | cytomine-applications/ldm_model_builder/add_software_local.py | Cytomine-ULiege/Cytomine-python-datamining | 16db995f175e8972b8731a8df9391625e1920288 | [
"Apache-2.0"
] | 14 | 2016-09-02T19:51:51.000Z | 2022-02-14T18:29:29.000Z | # -*- coding: utf-8 -*-
#
# * Copyright (c) 2009-2017. Authors: see NOTICE file.
# *
# * 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.
# */
__author__ = "Vandaele Rémy <remy.vandaele@ulg.ac.be>"
__contributors__ = ["Marée Raphaël <raphael.maree@ulg.ac.be>"]
__copyright__ = "Copyright 2010-2017 University of Liège, Belgium, http://www.cytomine.be/"
import cytomine
#connect to cytomine : parameters to set
cytomine_host="localhost-core"
cytomine_public_key="0050f072-3896-4bef-ab30-2639470f2a3a"
cytomine_private_key="1a782b09-4c01-46f3-9ac7-61bb4f0c4c82"
id_project=5290
conn = cytomine.Cytomine(cytomine_host, cytomine_public_key, cytomine_private_key, base_path = '/api/', working_path = '/tmp/', verbose= True)
"""
Generic Landmark model builder
"""
execute_command = "python /software_router/algo/ldm_model_builder/build_generic_model.py "+ \
"--cytomine_host $host "+ \
"--cytomine_public_key $publicKey "+ \
"--cytomine_private_key $privateKey " + \
"--cytomine_base_path /api/ " + \
"--cytomine_working_path /software_router/algo/ldm_model_builder/ " + \
"--cytomine_id_software $cytomine_id_software " + \
"--cytomine_id_project $cytomine_id_project " + \
"--cytomine_id_terms $cytomine_id_terms " + \
"--cytomine_training_images $cytomine_training_images " + \
"--image_type jpg " + \
"--model_njobs $model_njobs " + \
"--model_R $model_R " + \
"--model_RMAX $model_RMAX " + \
"--model_P $model_P " + \
"--model_npred $model_npred " + \
"--model_ntrees $model_ntrees " + \
"--model_ntimes $model_ntimes " + \
"--model_angle $model_angle " + \
"--model_depth $model_depth " + \
"--model_step $model_step " + \
"--model_wsize $model_wsize " + \
"--model_feature_type $model_feature_type " + \
"--model_feature_haar_n $model_feature_haar_n " + \
"--model_feature_gaussian_n $model_feature_gaussian_n " + \
"--model_feature_gaussian_std $model_feature_gaussian_std " + \
"--model_save_to /software_router/algo/ldm_model_builder/ " + \
"--model_name $model_name " + \
"--verbose true"
software = conn.add_software("GLM_Builder_Pigeon", "createRabbitJobWithArgsService","ValidateAnnotation", execute_command)
conn.add_software_parameter("cytomine_id_terms", software.id, "String", None, True, 1 , False)
conn.add_software_parameter("cytomine_training_images", software.id, "String", None, True, 2, False)
conn.add_software_parameter("model_name", software.id, "String", None, True, 3, False)
conn.add_software_parameter("model_njobs", software.id, "Number", None, True, 4 , False)
conn.add_software_parameter("model_R", software.id, "Number", None, True, 5 , False)
conn.add_software_parameter("model_RMAX", software.id, "Number", None, True, 6 , False)
conn.add_software_parameter("model_P", software.id, "Number", None, True, 7 , False)
conn.add_software_parameter("model_npred", software.id, "Number", None, True, 8 , False)
conn.add_software_parameter("model_ntimes", software.id, "Number", None, True, 9 , False)
conn.add_software_parameter("model_angle", software.id, "Number", None, True, 10, False)
conn.add_software_parameter("model_depth", software.id, "Number", None, True, 11, False)
conn.add_software_parameter("model_wsize", software.id, "Number", None, True, 12, False)
conn.add_software_parameter("model_ntrees", software.id, "Number", None, True, 13, False)
conn.add_software_parameter("model_step", software.id, "Number", None, True, 14, False)
conn.add_software_parameter("forest_max_features", software.id, "Number", None, True, 15, False)
conn.add_software_parameter("forest_min_samples_split", software.id, "Number", None, True, 16, False)
conn.add_software_parameter("model_feature_type", software.id, "String", None, True, 17, False)
conn.add_software_parameter("model_feature_haar_n", software.id, "Number", None, True, 18, False)
conn.add_software_parameter("model_feature_gaussian_n", software.id, "Number", None, True, 19, False)
conn.add_software_parameter("model_feature_gaussian_std", software.id, "Number", None, True, 20, False)
conn.add_software_parameter("cytomine_id_software", software.id, "Number", 0, True, 400, True)
conn.add_software_parameter("cytomine_id_project", software.id, "Number", 0, True, 500, True)
conn.add_software_project(id_project,software.id)
print "Generic Landmark Model Builder Software id is %d"%software.id
"""
DMBL
"""
execute_command = "python /software_router/algo/ldm_model_builder/build_dmbl_model.py "+ \
"--cytomine_host $host "+ \
"--cytomine_public_key $publicKey "+ \
"--cytomine_private_key $privateKey " + \
"--cytomine_base_path /api/ " + \
"--cytomine_working_path /software_router/algo/ldm_model_builder/ " + \
"--cytomine_id_software $cytomine_id_software " + \
"--cytomine_id_project $cytomine_id_project " + \
"--cytomine_id_terms $cytomine_id_terms " + \
"--cytomine_training_images $cytomine_training_images " + \
"--model_name $model_name " + \
"--image_type jpg " + \
"--model_save_to /software_router/algo/ldm_model_builder/ " + \
"--model_NT_P1 $model_NT_P1 " + \
"--model_F_P1 $model_F_P1 " + \
"--model_R_P1 $model_R_P1 " + \
"--model_sigma $model_sigma " + \
"--model_delta $model_delta " + \
"--model_P $model_P " + \
"--model_R_P2 $model_R_P2 " + \
"--model_ns_P2 $model_ns_P2 " + \
"--model_NT_P2 $model_NT_P2 " + \
"--model_F_P2 $model_F_P2 " + \
"--model_filter_size $model_filter_size " + \
"--model_beta $model_beta " + \
"--model_n_iterations $model_n_iterations " + \
"--model_ncandidates $model_ncandidates " + \
"--model_sde $model_sde " + \
"--model_T $model_T " + \
"--verbose true"
software = conn.add_software("DMBL_Landmark_Model_Builder_Pigeon", "createRabbitJobWithArgsService","ValidateAnnotation", execute_command)
conn.add_software_parameter("cytomine_id_terms", software.id, "String", None, True, 1 , False)
conn.add_software_parameter("cytomine_training_images", software.id, "String", None, True, 2 , False)
conn.add_software_parameter("model_name", software.id, "String", None, True, 3 , False)
conn.add_software_parameter("model_njobs", software.id, "Number", None, True, 4 , False)
conn.add_software_parameter("model_NT_P1", software.id, "Number", None, True, 5 , False)
conn.add_software_parameter("model_F_P1", software.id, "Number", None, True, 6 , False)
conn.add_software_parameter("model_R_P1", software.id, "Number", None, True, 7 , False)
conn.add_software_parameter("model_sigma", software.id, "Number", None, True, 8 , False)
conn.add_software_parameter("model_delta", software.id, "Number", None, True, 9 , False)
conn.add_software_parameter("model_P", software.id, "Number", None, True, 10 , False)
conn.add_software_parameter("model_R_P2", software.id, "Number", None, True, 11 , False)
conn.add_software_parameter("model_ns_P2", software.id, "Number", None, True, 12 , False)
conn.add_software_parameter("model_NT_P2", software.id, "Number", None, True, 13, False)
conn.add_software_parameter("model_F_P2", software.id, "Number", None, True, 14, False)
conn.add_software_parameter("model_filter_size", software.id, "Number", None, True, 15, False)
conn.add_software_parameter("model_beta", software.id, "Number", None, True, 16, False)
conn.add_software_parameter("model_n_iterations", software.id, "Number", None, True, 17, False)
conn.add_software_parameter("model_ncandidates", software.id, "Number", None, True, 18, False)
conn.add_software_parameter("model_sde", software.id, "Number", None, True, 19, False)
conn.add_software_parameter("model_T", software.id, "Number", None, True, 20, False)
conn.add_software_parameter("cytomine_id_software", software.id, "Number",0, True, 400, True)
conn.add_software_parameter("cytomine_id_project", software.id, "Number", 0, True, 500, True)
conn.add_software_project(id_project,software.id)
print "DMBL Software id is %d"%software.id
"""
LC
"""
execute_command = "python /software_router/algo/ldm_model_builder/build_lc_model.py " + \
"--cytomine_host $host "+ \
"--cytomine_public_key $publicKey " + \
"--cytomine_private_key $privateKey " + \
"--cytomine_base_path /api/ " + \
"--cytomine_working_path /software_router/algo/ldm_model_builder/ " + \
"--cytomine_id_software $cytomine_id_software " + \
"--cytomine_id_project $cytomine_id_project " + \
"--cytomine_id_terms $cytomine_id_terms " + \
"--cytomine_training_images $cytomine_training_images " + \
"--image_type jpg " + \
"--model_njobs $model_njobs " + \
"--model_D_MAX $model_D_MAX " + \
"--model_n_samples $model_n_samples " + \
"--model_W $model_W " + \
"--model_n $model_n " + \
"--model_T $model_T " + \
"--model_step $model_step " + \
"--model_n_reduc $model_n_reduc " + \
"--model_R_MAX $model_R_MAX " + \
"--model_R_MIN $model_R_MIN " + \
"--model_alpha $model_alpha " + \
"--model_save_to /software_router/algo/ldm_model_builder/ " + \
"--model_name $model_name " + \
"--verbose true"
software = conn.add_software("LC_Landmark_Model_Builder_Pigeon", "createRabbitJobWithArgsService","ValidateAnnotation", execute_command)
conn.add_software_parameter("cytomine_id_terms", software.id, "String", None, True, 1, False)
conn.add_software_parameter("cytomine_training_images", software.id, "String", None, True, 2, False)
conn.add_software_parameter("model_name", software.id, "String", None, True, 3, False)
conn.add_software_parameter("model_njobs", software.id, "Number", None, True, 4, False)
conn.add_software_parameter("model_D_MAX", software.id, "Number", None, True, 5, False)
conn.add_software_parameter("model_n_samples", software.id, "Number", None, True, 6, False)
conn.add_software_parameter("model_W", software.id, "Number", None, True, 7, False)
conn.add_software_parameter("model_n", software.id, "Number", None, True, 8, False)
conn.add_software_parameter("model_T", software.id, "Number", None, True, 9, False)
conn.add_software_parameter("model_step", software.id, "Number", None, True, 10, False)
conn.add_software_parameter("model_n_reduc", software.id, "Number", None, True, 11, False)
conn.add_software_parameter("model_R_MAX", software.id, "Number", None, True,12, False)
conn.add_software_parameter("model_R_MIN", software.id, "Number", None, True,13, False)
conn.add_software_parameter("model_alpha", software.id, "Number", None, True,14, False)
conn.add_software_parameter("cytomine_id_software", software.id, "Number",0, True, 400, True)
conn.add_software_parameter("cytomine_id_project", software.id, "Number", 0, True, 500, True)
conn.add_software_project(id_project,software.id)
print "LC Software id is %d"%software.id
| 66.590909 | 142 | 0.620174 | 1,532 | 13,185 | 4.999347 | 0.137728 | 0.09009 | 0.12926 | 0.188014 | 0.789398 | 0.751273 | 0.727771 | 0.723985 | 0.711842 | 0.700353 | 0 | 0.019793 | 0.252787 | 13,185 | 197 | 143 | 66.928934 | 0.757613 | 0.050284 | 0 | 0.419753 | 0 | 0 | 0.367326 | 0.123272 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.006173 | null | null | 0.018519 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
162e75ca1627f905e86bb3dfd17d5a5f9a9639d4 | 18,914 | py | Python | sdk/python/pulumi_vsphere/vapp_container.py | donovanmuller/pulumi-vsphere | 83c18fb177b41690416ef7517c512349b3da9be6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_vsphere/vapp_container.py | donovanmuller/pulumi-vsphere | 83c18fb177b41690416ef7517c512349b3da9be6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_vsphere/vapp_container.py | donovanmuller/pulumi-vsphere | 83c18fb177b41690416ef7517c512349b3da9be6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Dict, List, Mapping, Optional, Tuple, Union
from . import _utilities, _tables
__all__ = ['VappContainer']
class VappContainer(pulumi.CustomResource):
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
cpu_expandable: Optional[pulumi.Input[bool]] = None,
cpu_limit: Optional[pulumi.Input[float]] = None,
cpu_reservation: Optional[pulumi.Input[float]] = None,
cpu_share_level: Optional[pulumi.Input[str]] = None,
cpu_shares: Optional[pulumi.Input[float]] = None,
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
memory_expandable: Optional[pulumi.Input[bool]] = None,
memory_limit: Optional[pulumi.Input[float]] = None,
memory_reservation: Optional[pulumi.Input[float]] = None,
memory_share_level: Optional[pulumi.Input[str]] = None,
memory_shares: Optional[pulumi.Input[float]] = None,
name: Optional[pulumi.Input[str]] = None,
parent_folder_id: Optional[pulumi.Input[str]] = None,
parent_resource_pool_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[List[pulumi.Input[str]]]] = None,
__props__=None,
__name__=None,
__opts__=None):
"""
Create a VappContainer resource with the given unique name, props, and options.
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a vApp
container can grow beyond the specified value if the parent resource pool has
unreserved resources. Default: `true`
:param pulumi.Input[float] cpu_limit: The CPU utilization of a vApp container will not
exceed this limit, even if there are available resources. Set to `-1` for
unlimited.
Default: `-1`
:param pulumi.Input[float] cpu_reservation: Amount of CPU (MHz) that is guaranteed
available to the vApp container. Default: `0`
:param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
simplified view of shares. Levels map to a pre-determined set of numeric
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
`low`, `normal`, or `high` are specified values in `cpu_shares` will be
ignored. Default: `normal`
:param pulumi.Input[float] cpu_shares: The number of shares allocated for CPU. Used to
determine resource allocation in case of resource contention. If this is set,
`cpu_share_level` must be `custom`.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
:param pulumi.Input[bool] memory_expandable: Determines if the reservation on a vApp
container can grow beyond the specified value if the parent resource pool has
unreserved resources. Default: `true`
:param pulumi.Input[float] memory_limit: The CPU utilization of a vApp container will not
exceed this limit, even if there are available resources. Set to `-1` for
unlimited.
Default: `-1`
:param pulumi.Input[float] memory_reservation: Amount of CPU (MHz) that is guaranteed
available to the vApp container. Default: `0`
:param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
simplified view of shares. Levels map to a pre-determined set of numeric
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
`low`, `normal`, or `high` are specified values in `memory_shares` will be
ignored. Default: `normal`
:param pulumi.Input[float] memory_shares: The number of shares allocated for CPU. Used to
determine resource allocation in case of resource contention. If this is set,
`memory_share_level` must be `custom`.
:param pulumi.Input[str] name: The name of the vApp container.
:param pulumi.Input[str] parent_folder_id: The managed object ID of
the vApp container's parent folder.
:param pulumi.Input[str] parent_resource_pool_id: The managed object ID
of the parent resource pool. This can be the root resource pool for a cluster
or standalone host, or a resource pool itself. When moving a vApp container
from one parent resource pool to another, both must share a common root
resource pool or the move will fail.
:param pulumi.Input[List[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
"""
if __name__ is not None:
warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning)
resource_name = __name__
if __opts__ is not None:
warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning)
opts = __opts__
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = dict()
__props__['cpu_expandable'] = cpu_expandable
__props__['cpu_limit'] = cpu_limit
__props__['cpu_reservation'] = cpu_reservation
__props__['cpu_share_level'] = cpu_share_level
__props__['cpu_shares'] = cpu_shares
__props__['custom_attributes'] = custom_attributes
__props__['memory_expandable'] = memory_expandable
__props__['memory_limit'] = memory_limit
__props__['memory_reservation'] = memory_reservation
__props__['memory_share_level'] = memory_share_level
__props__['memory_shares'] = memory_shares
__props__['name'] = name
__props__['parent_folder_id'] = parent_folder_id
if parent_resource_pool_id is None:
raise TypeError("Missing required property 'parent_resource_pool_id'")
__props__['parent_resource_pool_id'] = parent_resource_pool_id
__props__['tags'] = tags
super(VappContainer, __self__).__init__(
'vsphere:index/vappContainer:VappContainer',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
cpu_expandable: Optional[pulumi.Input[bool]] = None,
cpu_limit: Optional[pulumi.Input[float]] = None,
cpu_reservation: Optional[pulumi.Input[float]] = None,
cpu_share_level: Optional[pulumi.Input[str]] = None,
cpu_shares: Optional[pulumi.Input[float]] = None,
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
memory_expandable: Optional[pulumi.Input[bool]] = None,
memory_limit: Optional[pulumi.Input[float]] = None,
memory_reservation: Optional[pulumi.Input[float]] = None,
memory_share_level: Optional[pulumi.Input[str]] = None,
memory_shares: Optional[pulumi.Input[float]] = None,
name: Optional[pulumi.Input[str]] = None,
parent_folder_id: Optional[pulumi.Input[str]] = None,
parent_resource_pool_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[List[pulumi.Input[str]]]] = None) -> 'VappContainer':
"""
Get an existing VappContainer resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a vApp
container can grow beyond the specified value if the parent resource pool has
unreserved resources. Default: `true`
:param pulumi.Input[float] cpu_limit: The CPU utilization of a vApp container will not
exceed this limit, even if there are available resources. Set to `-1` for
unlimited.
Default: `-1`
:param pulumi.Input[float] cpu_reservation: Amount of CPU (MHz) that is guaranteed
available to the vApp container. Default: `0`
:param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
simplified view of shares. Levels map to a pre-determined set of numeric
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
`low`, `normal`, or `high` are specified values in `cpu_shares` will be
ignored. Default: `normal`
:param pulumi.Input[float] cpu_shares: The number of shares allocated for CPU. Used to
determine resource allocation in case of resource contention. If this is set,
`cpu_share_level` must be `custom`.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
:param pulumi.Input[bool] memory_expandable: Determines if the reservation on a vApp
container can grow beyond the specified value if the parent resource pool has
unreserved resources. Default: `true`
:param pulumi.Input[float] memory_limit: The CPU utilization of a vApp container will not
exceed this limit, even if there are available resources. Set to `-1` for
unlimited.
Default: `-1`
:param pulumi.Input[float] memory_reservation: Amount of CPU (MHz) that is guaranteed
available to the vApp container. Default: `0`
:param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
simplified view of shares. Levels map to a pre-determined set of numeric
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
`low`, `normal`, or `high` are specified values in `memory_shares` will be
ignored. Default: `normal`
:param pulumi.Input[float] memory_shares: The number of shares allocated for CPU. Used to
determine resource allocation in case of resource contention. If this is set,
`memory_share_level` must be `custom`.
:param pulumi.Input[str] name: The name of the vApp container.
:param pulumi.Input[str] parent_folder_id: The managed object ID of
the vApp container's parent folder.
:param pulumi.Input[str] parent_resource_pool_id: The managed object ID
of the parent resource pool. This can be the root resource pool for a cluster
or standalone host, or a resource pool itself. When moving a vApp container
from one parent resource pool to another, both must share a common root
resource pool or the move will fail.
:param pulumi.Input[List[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = dict()
__props__["cpu_expandable"] = cpu_expandable
__props__["cpu_limit"] = cpu_limit
__props__["cpu_reservation"] = cpu_reservation
__props__["cpu_share_level"] = cpu_share_level
__props__["cpu_shares"] = cpu_shares
__props__["custom_attributes"] = custom_attributes
__props__["memory_expandable"] = memory_expandable
__props__["memory_limit"] = memory_limit
__props__["memory_reservation"] = memory_reservation
__props__["memory_share_level"] = memory_share_level
__props__["memory_shares"] = memory_shares
__props__["name"] = name
__props__["parent_folder_id"] = parent_folder_id
__props__["parent_resource_pool_id"] = parent_resource_pool_id
__props__["tags"] = tags
return VappContainer(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="cpuExpandable")
def cpu_expandable(self) -> pulumi.Output[Optional[bool]]:
"""
Determines if the reservation on a vApp
container can grow beyond the specified value if the parent resource pool has
unreserved resources. Default: `true`
"""
return pulumi.get(self, "cpu_expandable")
@property
@pulumi.getter(name="cpuLimit")
def cpu_limit(self) -> pulumi.Output[Optional[float]]:
"""
The CPU utilization of a vApp container will not
exceed this limit, even if there are available resources. Set to `-1` for
unlimited.
Default: `-1`
"""
return pulumi.get(self, "cpu_limit")
@property
@pulumi.getter(name="cpuReservation")
def cpu_reservation(self) -> pulumi.Output[Optional[float]]:
"""
Amount of CPU (MHz) that is guaranteed
available to the vApp container. Default: `0`
"""
return pulumi.get(self, "cpu_reservation")
@property
@pulumi.getter(name="cpuShareLevel")
def cpu_share_level(self) -> pulumi.Output[Optional[str]]:
"""
The CPU allocation level. The level is a
simplified view of shares. Levels map to a pre-determined set of numeric
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
`low`, `normal`, or `high` are specified values in `cpu_shares` will be
ignored. Default: `normal`
"""
return pulumi.get(self, "cpu_share_level")
@property
@pulumi.getter(name="cpuShares")
def cpu_shares(self) -> pulumi.Output[float]:
"""
The number of shares allocated for CPU. Used to
determine resource allocation in case of resource contention. If this is set,
`cpu_share_level` must be `custom`.
"""
return pulumi.get(self, "cpu_shares")
@property
@pulumi.getter(name="customAttributes")
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
"""
A list of custom attributes to set on this resource.
"""
return pulumi.get(self, "custom_attributes")
@property
@pulumi.getter(name="memoryExpandable")
def memory_expandable(self) -> pulumi.Output[Optional[bool]]:
"""
Determines if the reservation on a vApp
container can grow beyond the specified value if the parent resource pool has
unreserved resources. Default: `true`
"""
return pulumi.get(self, "memory_expandable")
@property
@pulumi.getter(name="memoryLimit")
def memory_limit(self) -> pulumi.Output[Optional[float]]:
"""
The CPU utilization of a vApp container will not
exceed this limit, even if there are available resources. Set to `-1` for
unlimited.
Default: `-1`
"""
return pulumi.get(self, "memory_limit")
@property
@pulumi.getter(name="memoryReservation")
def memory_reservation(self) -> pulumi.Output[Optional[float]]:
"""
Amount of CPU (MHz) that is guaranteed
available to the vApp container. Default: `0`
"""
return pulumi.get(self, "memory_reservation")
@property
@pulumi.getter(name="memoryShareLevel")
def memory_share_level(self) -> pulumi.Output[Optional[str]]:
"""
The CPU allocation level. The level is a
simplified view of shares. Levels map to a pre-determined set of numeric
values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
`low`, `normal`, or `high` are specified values in `memory_shares` will be
ignored. Default: `normal`
"""
return pulumi.get(self, "memory_share_level")
@property
@pulumi.getter(name="memoryShares")
def memory_shares(self) -> pulumi.Output[float]:
"""
The number of shares allocated for CPU. Used to
determine resource allocation in case of resource contention. If this is set,
`memory_share_level` must be `custom`.
"""
return pulumi.get(self, "memory_shares")
@property
@pulumi.getter
def name(self) -> pulumi.Output[str]:
"""
The name of the vApp container.
"""
return pulumi.get(self, "name")
@property
@pulumi.getter(name="parentFolderId")
def parent_folder_id(self) -> pulumi.Output[Optional[str]]:
"""
The managed object ID of
the vApp container's parent folder.
"""
return pulumi.get(self, "parent_folder_id")
@property
@pulumi.getter(name="parentResourcePoolId")
def parent_resource_pool_id(self) -> pulumi.Output[str]:
"""
The managed object ID
of the parent resource pool. This can be the root resource pool for a cluster
or standalone host, or a resource pool itself. When moving a vApp container
from one parent resource pool to another, both must share a common root
resource pool or the move will fail.
"""
return pulumi.get(self, "parent_resource_pool_id")
@property
@pulumi.getter
def tags(self) -> pulumi.Output[Optional[List[str]]]:
"""
The IDs of any tags to attach to this resource.
"""
return pulumi.get(self, "tags")
def translate_output_property(self, prop):
return _tables.CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop
def translate_input_property(self, prop):
return _tables.SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop
| 50.844086 | 134 | 0.643069 | 2,334 | 18,914 | 5.025707 | 0.089974 | 0.065644 | 0.042285 | 0.024297 | 0.824211 | 0.785422 | 0.768457 | 0.767945 | 0.762148 | 0.758909 | 0 | 0.001378 | 0.271122 | 18,914 | 371 | 135 | 50.981132 | 0.849485 | 0.473935 | 0 | 0.293413 | 1 | 0 | 0.135923 | 0.015751 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113772 | false | 0.005988 | 0.02994 | 0.011976 | 0.257485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
163bf95c612c863981bdfab5912289c7257184b1 | 113,588 | py | Python | parlai/mturk/core/test/integration_test/integration_test.py | marcotcr/ParlAI | 54c83b3de57ee4d7984d0f60a4cd09c9cda3f08e | [
"BSD-3-Clause"
] | null | null | null | parlai/mturk/core/test/integration_test/integration_test.py | marcotcr/ParlAI | 54c83b3de57ee4d7984d0f60a4cd09c9cda3f08e | [
"BSD-3-Clause"
] | null | null | null | parlai/mturk/core/test/integration_test/integration_test.py | marcotcr/ParlAI | 54c83b3de57ee4d7984d0f60a4cd09c9cda3f08e | [
"BSD-3-Clause"
] | 1 | 2019-11-24T00:59:39.000Z | 2019-11-24T00:59:39.000Z | # Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
"""
Script for testing complete functionality of the MTurk conversation backend.
Simulates agents and interactions and tests the outcomes of interacting with
the server to ensure that the messages that are recieved are as intended.
It pretends to act in the way that core.html is supposed to follow, both
related to what is sent and recieved, what fields are checked, etc. A change
to the core.html file will not be caught by this script.
Doesn't actually interact with Amazon MTurk as they don't offer a robust
testing framework as of September 2017, so interactions with MTurk and updating
HIT status and things of the sort are not yet supported in this testing.
"""
from parlai.core.params import ParlaiParser
from parlai.mturk.core.test.integration_test.worlds import TestOnboardWorld, \
TestSoloWorld, TestDuoWorld
from parlai.mturk.core.mturk_manager import MTurkManager, WORLD_START_TIMEOUT
from parlai.mturk.core.server_utils import setup_server, delete_server
from parlai.mturk.core.socket_manager import Packet, SocketManager
from parlai.mturk.core.worker_state import WorkerState, AssignState
from parlai.mturk.core.agents import MTURK_DISCONNECT_MESSAGE
import parlai.mturk.core.data_model as data_model
from parlai.mturk.core.mturk_utils import create_hit_config
from socketIO_client_nexus import SocketIO
import time
import os
import importlib
import copy
import uuid
import threading
from itertools import product
from joblib import Parallel, delayed
TEST_TASK_DESCRIPTION = 'This is a test task description'
MTURK_AGENT_IDS = ['TEST_USER_1', 'TEST_USER_2']
PORT = 443
FAKE_HIT_ID = 'FAKE_HIT_ID_{}'
TASK_GROUP_ID = 'TEST_TASK_GROUP_{}'
AGENT_1_ID = 'TEST_AGENT_1'
AGENT_2_ID = 'TEST_AGENT_2'
ASSIGN_1_ID = 'FAKE_ASSIGNMENT_ID_1'
HIT_1_ID = 'FAKE_HIT_ID_1'
SOCKET_TEST = 'SOCKET_TEST'
SOLO_ONBOARDING_TEST = 'SOLO_ONBOARDING_TEST'
SOLO_NO_ONBOARDING_TEST = 'SOLO_NO_ONBOARDING_TEST'
SOLO_REFRESH_TEST = 'SOLO_REFRESH_TEST'
DUO_ONBOARDING_TEST = 'DUO_ONBOARDING_TEST'
DUO_NO_ONBOARDING_TEST = 'DUO_NO_ONBOARDING_TEST'
DUO_VALID_RECONNECT_TEST = 'DUO_VALID_RECONNECT_TEST'
DUO_ONE_DISCONNECT_TEST = 'DUO_ONE_DISCONNECT_TEST'
COUNT_COMPLETE_TEST = 'COUNT_COMPLETE_TEST'
EXPIRE_HIT_TEST = 'EXPIRE_HIT_TEST'
ALLOWED_CONVERSATION_TEST = 'ALLOWED_CONVERSATION_TEST'
UNIQUE_CONVERSATION_TEST = 'UNIQUE_CONVERSATION_TEST'
FAKE_ASSIGNMENT_ID = 'FAKE_ASSIGNMENT_ID_{}_{}'
FAKE_WORKER_ID = 'FAKE_WORKER_ID_{}_{}'
DISCONNECT_WAIT_TIME = SocketManager.DEF_SOCKET_TIMEOUT + 1.5
completed_threads = {}
start_times = {}
def dummy(*args):
pass
class MockAgent(object):
"""Class that pretends to be an MTurk agent interacting through the
webpage by simulating the same commands that are sent from the core.html
file. Exposes methods to use for testing and checking status
"""
def __init__(self, opt, hit_id, assignment_id, worker_id, task_group_id):
self.conversation_id = None
self.id = None
self.assignment_id = assignment_id
self.hit_id = hit_id
self.worker_id = worker_id
self.some_agent_disconnected = False
self.disconnected = False
self.task_group_id = task_group_id
self.socketIO = None
self.always_beat = False
self.ready = False
self.wants_to_send = False
def send_packet(self, packet):
def callback(*args):
pass
event_name = data_model.SOCKET_ROUTE_PACKET_STRING
self.socketIO.emit(event_name, packet.as_dict())
def build_and_send_packet(self, packet_type, data, callback):
if not callback:
def callback(*args):
pass
msg = {
'id': str(uuid.uuid4()),
'type': packet_type,
'sender_id': self.worker_id,
'assignment_id': self.assignment_id,
'conversation_id': self.conversation_id,
'receiver_id': '[World_' + self.task_group_id + ']',
'data': data
}
event_name = data_model.SOCKET_ROUTE_PACKET_STRING
if (packet_type == Packet.TYPE_ALIVE):
event_name = data_model.SOCKET_AGENT_ALIVE_STRING
self.socketIO.emit(event_name, msg, callback)
def send_message(self, text, callback=dummy):
if not callback:
def callback(*args):
pass
data = {
'text': text,
'id': self.id,
'message_id': str(uuid.uuid4()),
'episode_done': False
}
self.wants_to_send = False
self.build_and_send_packet(Packet.TYPE_MESSAGE, data, callback)
def send_alive(self):
data = {
'hit_id': self.hit_id,
'assignment_id': self.assignment_id,
'worker_id': self.worker_id,
'conversation_id': self.conversation_id
}
self.build_and_send_packet(Packet.TYPE_ALIVE, data, None)
def setup_socket(self, server_url, message_handler):
"""Sets up a socket for an agent"""
def on_socket_open(*args):
self.send_alive()
def on_new_message(*args):
message_handler(args[0])
def on_disconnect(*args):
self.disconnected = True
self.socketIO = SocketIO(server_url, PORT)
# Register Handlers
self.socketIO.on(data_model.SOCKET_OPEN_STRING, on_socket_open)
self.socketIO.on(data_model.SOCKET_DISCONNECT_STRING, on_disconnect)
self.socketIO.on(data_model.SOCKET_NEW_PACKET_STRING, on_new_message)
# Start listening thread
self.listen_thread = threading.Thread(target=self.socketIO.wait)
self.listen_thread.daemon = True
self.listen_thread.start()
def send_heartbeat(self):
"""Sends a heartbeat to the world"""
hb = {
'id': str(uuid.uuid4()),
'receiver_id': '[World_' + self.task_group_id + ']',
'assignment_id': self.assignment_id,
'sender_id' : self.worker_id,
'conversation_id': self.conversation_id,
'type': Packet.TYPE_HEARTBEAT,
'data': None
}
self.socketIO.emit(data_model.SOCKET_ROUTE_PACKET_STRING, hb)
def wait_for_alive(self):
last_time = time.time()
while not self.ready:
self.send_alive()
time.sleep(0.5)
assert time.time() - last_time < 10, \
'Timed out wating for server to acknowledge {} alive'.format(
self.worker_id
)
def handle_setup(opt):
"""Prepare the heroku server without creating real hits"""
create_hit_config(
task_description=TEST_TASK_DESCRIPTION,
unique_worker=False,
is_sandbox=True
)
# Poplulate files to copy over to the server
task_files_to_copy = []
task_directory_path = os.path.join(
opt['parlai_home'],
'parlai',
'mturk',
'core',
'test',
'integration_test'
)
task_files_to_copy.append(
os.path.join(task_directory_path, 'html', 'cover_page.html'))
for mturk_agent_id in MTURK_AGENT_IDS + ['onboarding']:
task_files_to_copy.append(os.path.join(
task_directory_path,
'html',
'{}_index.html'.format(mturk_agent_id)
))
# Setup the server with a likely-unique app-name
task_name = '{}-{}'.format(str(uuid.uuid4())[:8], 'integration_test')
server_task_name = \
''.join(e for e in task_name if e.isalnum() or e == '-')
server_url = \
setup_server(server_task_name, task_files_to_copy)
return server_task_name, server_url
def handle_shutdown(server_task_name):
delete_server(server_task_name)
def wait_for_state_time(seconds, mturk_manager):
seconds_done = 0
while (seconds_done < seconds):
if mturk_manager.socket_manager.alive:
seconds_done += 0.1
time.sleep(0.1)
def run_solo_world(opt, mturk_manager, is_onboarded):
MTURK_SOLO_WORKER = 'MTURK_SOLO_WORKER'
# Runs the solo test world with or without onboarding
def run_onboard(worker):
world = TestOnboardWorld(opt=opt, mturk_agent=worker)
while not world.episode_done():
world.parley()
world.shutdown()
if is_onboarded:
mturk_manager.set_onboard_function(onboard_function=run_onboard)
else:
mturk_manager.set_onboard_function(onboard_function=None)
try:
mturk_manager.ready_to_accept_workers()
def check_worker_eligibility(worker):
return True
def assign_worker_roles(workers):
workers[0].id = MTURK_SOLO_WORKER
global run_conversation
def run_conversation(mturk_manager, opt, workers):
task = opt['task']
mturk_agent = workers[0]
world = TestSoloWorld(opt=opt, task=task, mturk_agent=mturk_agent)
while not world.episode_done():
world.parley()
world.shutdown()
mturk_manager.start_task(
eligibility_function=check_worker_eligibility,
assign_role_function=assign_worker_roles,
task_function=run_conversation
)
except:
raise
finally:
pass
def run_duo_world(opt, mturk_manager, is_onboarded):
MTURK_DUO_WORKER = 'MTURK_DUO_WORKER'
# Runs the solo test world with or without onboarding
def run_onboard(worker):
world = TestOnboardWorld(opt=opt, mturk_agent=worker)
while not world.episode_done():
world.parley()
world.shutdown()
if is_onboarded:
mturk_manager.set_onboard_function(onboard_function=run_onboard)
else:
mturk_manager.set_onboard_function(onboard_function=None)
try:
mturk_manager.ready_to_accept_workers()
def check_worker_eligibility(worker):
return True
def assign_worker_roles(workers):
for worker in workers:
worker.id = MTURK_DUO_WORKER
global run_conversation
def run_conversation(mturk_manager, opt, workers):
world = TestDuoWorld(opt=opt, agents=workers)
while not world.episode_done():
world.parley()
world.shutdown()
mturk_manager.start_task(
eligibility_function=check_worker_eligibility,
assign_role_function=assign_worker_roles,
task_function=run_conversation
)
except:
raise
finally:
pass
def make_packet_handler_cant_task(agent, on_ack, on_hb, on_msg):
"""A packet handler that is unable to switch into task worlds"""
def handler_mock(pkt):
if pkt['type'] == Packet.TYPE_ACK:
agent.ready = True
packet = Packet.from_dict(pkt)
on_ack(packet)
elif pkt['type'] == Packet.TYPE_HEARTBEAT:
packet = Packet.from_dict(pkt)
on_hb(packet)
time.sleep(1)
if agent.always_beat:
agent.send_heartbeat()
elif pkt['type'] == Packet.TYPE_MESSAGE:
packet = Packet.from_dict(pkt)
if agent.always_beat:
agent.send_packet(packet.get_ack())
on_msg(packet)
if packet.data['text'] == data_model.COMMAND_CHANGE_CONVERSATION:
if not agent.always_beat:
pass
elif not packet.data['conversation_id'].startswith('t_'):
agent.conversation_id = packet.data['conversation_id']
agent.id = packet.data['agent_id']
agent.send_alive()
else:
agent.always_beat = False
elif pkt['type'] == Packet.TYPE_ALIVE:
raise Exception('Invalid alive packet {}'.format(pkt))
else:
raise Exception('Invalid Packet type {} received in {}'.format(
pkt['type'],
pkt
))
return handler_mock
def make_packet_handler(agent, on_ack, on_hb, on_msg):
def handler_mock(pkt):
if pkt['type'] == Packet.TYPE_ACK:
agent.ready = True
packet = Packet.from_dict(pkt)
on_ack(packet)
elif pkt['type'] == Packet.TYPE_HEARTBEAT:
packet = Packet.from_dict(pkt)
on_hb(packet)
time.sleep(1)
if agent.always_beat:
agent.send_heartbeat()
elif pkt['type'] == Packet.TYPE_MESSAGE:
packet = Packet.from_dict(pkt)
agent.send_packet(packet.get_ack())
on_msg(packet)
if packet.data['text'] == data_model.COMMAND_CHANGE_CONVERSATION:
agent.conversation_id = packet.data['conversation_id']
agent.id = packet.data['agent_id']
agent.send_alive()
elif pkt['type'] == Packet.TYPE_ALIVE:
raise Exception('Invalid alive packet {}'.format(pkt))
else:
raise Exception('Invalid Packet type {} received in {}'.format(
pkt['type'],
pkt
))
return handler_mock
def check_status(input_status, desired_status):
assert input_status == desired_status, 'Expected to be in {}, was found ' \
'in {}'.format(desired_status, input_status)
def check_new_agent_setup(agent, mturk_manager,
status=AssignState.STATUS_ONBOARDING):
mturk_agent = mturk_manager.mturk_workers[agent.worker_id]
assert mturk_agent is not None, \
'MTurk manager did not make a worker state on alive'
mturk_assign = mturk_agent.agents[agent.assignment_id]
assert mturk_assign is not None, \
'MTurk manager did not make an assignment state on alive'
assert mturk_assign.state.status == status, \
'MTurk manager did not move the agent into {}, stuck in {}'.format(
status, mturk_assign.state.status
)
connection_id = mturk_assign.get_connection_id()
assert mturk_manager.socket_manager.socket_is_open(connection_id), \
'The socket manager didn\'t open a socket for this agent'
def test_socket_manager(opt, server_url):
global completed_threads
TEST_MESSAGE = 'This is a test'
task_group_id = TASK_GROUP_ID.format('TEST_SOCKET')
socket_manager = None
world_received_alive = False
world_received_message = False
agent_timed_out = False
def world_on_alive(pkt):
nonlocal world_received_alive
# Assert alive packets contain the right data
worker_id = pkt.data['worker_id']
assert worker_id == AGENT_1_ID, 'Worker id was {}'.format(worker_id)
hit_id = pkt.data['hit_id']
assert hit_id == HIT_1_ID, 'HIT id was {}'.format(hit_id)
assign_id = pkt.data['assignment_id']
assert assign_id == ASSIGN_1_ID, 'Assign id was {}'.format(assign_id)
conversation_id = pkt.data['conversation_id']
assert conversation_id == None, \
'Conversation id was {}'.format(conversation_id)
# Start a channel
socket_manager.open_channel(worker_id, assign_id)
# Note that alive was successful
world_received_alive = True
def world_on_new_message(pkt):
nonlocal world_received_message
text = pkt.data['text']
assert text == TEST_MESSAGE, 'Received text was {}'.format(text)
world_received_message = True
def world_on_socket_dead(worker_id, assign_id):
nonlocal agent_timed_out
assert worker_id == AGENT_1_ID, 'Worker id was {}'.format(worker_id)
assert assign_id == ASSIGN_1_ID, 'Assign id was {}'.format(assign_id)
agent_timed_out = True
return True
socket_manager = SocketManager(
server_url,
PORT,
world_on_alive,
world_on_new_message,
world_on_socket_dead,
task_group_id
)
agent_got_response_heartbeat = False
received_messages = 0
did_ack = False
agent = MockAgent(opt, HIT_1_ID, ASSIGN_1_ID, AGENT_1_ID, task_group_id)
connection_id = '{}_{}'.format(AGENT_1_ID, ASSIGN_1_ID)
def agent_on_message(pkt):
nonlocal agent_got_response_heartbeat
nonlocal received_messages
nonlocal agent
if pkt['type'] == Packet.TYPE_HEARTBEAT:
agent_got_response_heartbeat = True
elif pkt['type'] == Packet.TYPE_MESSAGE:
if received_messages != 0:
packet = Packet.from_dict(pkt)
agent.send_packet(packet.get_ack())
received_messages += 1
elif pkt['type'] == Packet.TYPE_ACK:
agent.ready = True
def manager_on_message_ack(pkt):
nonlocal did_ack
did_ack = True
agent.setup_socket(server_url, agent_on_message)
time.sleep(1)
# Wait for socket to open to begin testing
agent.wait_for_alive()
assert socket_manager.socket_is_open(connection_id), \
'Channel was not properly opened for connecting agent'
# send some content from the agent
time.sleep(1)
agent.send_heartbeat()
time.sleep(1)
agent.send_message(TEST_MESSAGE, None)
time.sleep(1)
# Send some content from the socket manager, don't ack the first
# time to ensure that resends work, and ensure the callback is
# eventually called
test_blocking_packet = Packet(
'Fake_id',
Packet.TYPE_MESSAGE,
socket_manager.get_my_sender_id(),
AGENT_1_ID,
ASSIGN_1_ID,
'',
None,
True,
True,
manager_on_message_ack
)
# Send packet and wait for it to arrive the first time
socket_manager.queue_packet(test_blocking_packet)
# Wait for socket to open to begin testing
last_time = time.time()
while received_messages == 0:
time.sleep(0.5)
assert time.time() - last_time < 10, \
'Timed out wating for server to send message'
assert socket_manager.get_status('Fake_id') == Packet.STATUS_SENT, \
'Packet sent but status never updated'
# wait for resend to occur
time.sleep(2.5)
assert did_ack, 'Socket_manager\'s message ack callback never fired'
assert socket_manager.get_status('Fake_id') == Packet.STATUS_ACK, \
'Packet recieved but status never updated'
# Ensure queues are properly set up and that reopening an open socket
# does nothing
assert len(socket_manager.queues) == 1, \
'More queues were opened than expected for the connecting agent'
socket_manager.open_channel(AGENT_1_ID, ASSIGN_1_ID)
assert len(socket_manager.queues) == 1, \
'Second open for the worker was not idempotent'
time.sleep(8.5)
# Ensure all states happened and that the agent eventually disconnected
assert world_received_alive, 'World never received alive message'
assert world_received_message, 'World never received test message'
assert agent_timed_out, 'Agent did not timeout'
assert agent_got_response_heartbeat, 'Agent never got response heartbeat'
# Close channels and move on
socket_manager.close_all_channels()
assert not socket_manager.socket_is_open(connection_id), \
'Channel was not closed with close_all_channels'
assert len(socket_manager.packet_map) == 0, \
'Packets were not cleared on close, {} found'.format(
len(socket_manager.packet_map)
)
assert len(socket_manager.queues) == 0, \
'Queues were not cleared on close, {} found'.format(
len(socket_manager.queues)
)
assert len(socket_manager.threads) == 0, \
'Threads were not cleared on close, {} found'.format(
len(socket_manager.threads)
)
# Test to make sure can't send a packet to a closed channel
test_packet = Packet(
'Fake_id',
Packet.TYPE_MESSAGE,
AGENT_1_ID,
socket_manager.get_my_sender_id(),
ASSIGN_1_ID,
''
)
socket_manager.queue_packet(test_packet)
assert len(socket_manager.packet_map) == 0, \
'Packets were not cleared on close, {} found'.format(
len(socket_manager.packet_map)
)
completed_threads[SOCKET_TEST] = True
def test_solo_with_onboarding(opt, server_url):
"""Tests solo task with onboarding to completion, as well as disconnect in
onboarding to ensure the agent is marked disconnected.
"""
global completed_threads
print('{} Starting'.format(SOLO_ONBOARDING_TEST))
opt['task'] = SOLO_ONBOARDING_TEST
hit_id = FAKE_HIT_ID.format(SOLO_ONBOARDING_TEST)
assign_id_1 = FAKE_ASSIGNMENT_ID.format(SOLO_ONBOARDING_TEST, 1)
assign_id_2 = FAKE_ASSIGNMENT_ID.format(SOLO_ONBOARDING_TEST, 2)
worker_id = FAKE_WORKER_ID.format(SOLO_ONBOARDING_TEST, 1)
connection_id_1 = '{}_{}'.format(worker_id, assign_id_1)
connection_id_2 = '{}_{}'.format(worker_id, assign_id_2)
last_command = None
message_num = 0
expected_messages = [
TestOnboardWorld.TEST_TEXT_1, TestOnboardWorld.TEST_TEXT_2,
TestSoloWorld.TEST_TEXT_1, TestSoloWorld.TEST_TEXT_2
]
mturk_agent_id = AGENT_1_ID
mturk_manager = MTurkManager(
opt=opt,
mturk_agent_ids = [mturk_agent_id]
)
mturk_manager.server_url = server_url
mturk_manager.start_new_run()
task_group_id = mturk_manager.task_group_id
world_thread = threading.Thread(target=run_solo_world,
args=(opt, mturk_manager, True))
world_thread.daemon = True
world_thread.start()
# Create an agent and set it up to connect
def msg_callback(packet):
nonlocal last_command
nonlocal message_num
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
last_command = packet
else:
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
test_agent_fail = \
MockAgent(opt, hit_id, assign_id_1, worker_id, task_group_id)
message_handler = \
make_packet_handler(test_agent_fail, dummy, dummy, msg_callback)
test_agent_fail.setup_socket(server_url, message_handler)
test_agent_fail.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_fail, mturk_manager)
mturk_manager_assign = \
mturk_manager.mturk_workers[worker_id].agents[assign_id_1]
assign_state = mturk_manager_assign.state
# Run through onboarding, then disconnect and reconnect
test_agent_fail.always_beat = True
test_agent_fail.send_heartbeat()
wait_for_state_time(3, mturk_manager)
assert test_agent_fail.conversation_id.startswith('o_'), \
'Mock agent didn\'t make it to onboarding'
assert last_command.data['text'] == data_model.COMMAND_SEND_MESSAGE, \
'Agent was not asked to send message {}'.format(message_num)
wait_for_state_time(2, mturk_manager)
test_agent_fail.send_message('Hello1', dummy)
test_agent_fail.always_beat = False
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
# Refresh the agent
test_agent_fail.conversation_id = None
test_agent_fail.send_alive()
wait_for_state_time(2, mturk_manager)
assert last_command.data['text'] == data_model.COMMAND_INACTIVE_HIT, \
'Agent disconnected in onboarding didn\'t get inactive hit'
assert assign_state.status == AssignState.STATUS_DISCONNECT, \
'Disconnected agent not marked as so in state'
assert mturk_manager_assign.disconnected == True, \
'Disconnected agent not marked as so in agent'
# Connect with a new agent and finish onboarding
last_command = None
message_num = 0
test_agent = MockAgent(opt, hit_id, assign_id_2, worker_id, task_group_id)
message_handler = \
make_packet_handler(test_agent, dummy, dummy, msg_callback)
test_agent.setup_socket(server_url, message_handler)
test_agent.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent, mturk_manager)
mturk_manager_assign = \
mturk_manager.mturk_workers[worker_id].agents[assign_id_2]
assign_state = mturk_manager_assign.state
# Run through onboarding
test_agent.always_beat = True
test_agent.send_heartbeat()
wait_for_state_time(3, mturk_manager)
assert test_agent.conversation_id.startswith('o_'), \
'Mock agent didn\'t make it to onboarding'
assert last_command.data['text'] == data_model.COMMAND_SEND_MESSAGE, \
'Agent was not asked to send message {}'.format(message_num)
wait_for_state_time(2, mturk_manager)
test_agent.send_message('Hello1', dummy)
wait_for_state_time(2, mturk_manager)
check_status(assign_state.status, AssignState.STATUS_ONBOARDING)
test_agent.send_message('Hello2', dummy)
wait_for_state_time(4, mturk_manager)
# Run through task
assert test_agent.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
last_time = time.time()
while message_num == 2:
# Wait for manager to catch up
time.sleep(0.2)
assert time.time() - last_time < 10, \
'Timed out wating for server to acknowledge alive'
wait_for_state_time(2, mturk_manager)
assert last_command.data['text'] == data_model.COMMAND_SEND_MESSAGE, \
'Agent was not asked to send message {}'.format(message_num)
test_agent.send_message('Hello3', dummy)
wait_for_state_time(2, mturk_manager)
check_status(assign_state.status, AssignState.STATUS_IN_TASK)
assert mturk_manager_assign.is_in_task(), 'Manager\'s copy of agent is ' \
'not aware that they are in a task, even though the state is'
assert len(assign_state.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state.messages))
test_agent.send_message('Hello4', dummy)
test_agent.always_beat = False
wait_for_state_time(3, mturk_manager)
check_status(assign_state.status, AssignState.STATUS_DONE)
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
check_status(assign_state.status, AssignState.STATUS_DONE)
assert mturk_manager_assign.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_1), \
'The socket manager didn\'t close the socket upon failure of ' \
'onboarding, though it should have'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_2), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
assert message_num == 4, 'Not all messages were successfully processed'
completed_threads[SOLO_ONBOARDING_TEST] = True
def test_solo_no_onboarding(opt, server_url):
"""Ensures a solo agent with no onboarding moves directly to a task world
and is able to complete the task and be marked as completed
"""
global completed_threads
print('{} Starting'.format(SOLO_NO_ONBOARDING_TEST))
opt['task'] = SOLO_NO_ONBOARDING_TEST
hit_id = FAKE_HIT_ID.format(SOLO_NO_ONBOARDING_TEST)
assign_id = FAKE_ASSIGNMENT_ID.format(SOLO_NO_ONBOARDING_TEST, 1)
worker_id = FAKE_WORKER_ID.format(SOLO_NO_ONBOARDING_TEST, 1)
last_command = None
message_num = 0
expected_messages = [
TestSoloWorld.TEST_TEXT_1, TestSoloWorld.TEST_TEXT_2
]
mturk_agent_id = AGENT_1_ID
mturk_manager = MTurkManager(
opt=opt,
mturk_agent_ids = [mturk_agent_id]
)
mturk_manager.server_url = server_url
mturk_manager.start_new_run()
task_group_id = mturk_manager.task_group_id
world_thread = threading.Thread(target=run_solo_world,
args=(opt, mturk_manager, False))
world_thread.daemon = True
world_thread.start()
# Create an agent and set it up to connect
def msg_callback(packet):
nonlocal last_command
nonlocal message_num
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
last_command = packet
else:
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
test_agent = MockAgent(opt, hit_id, assign_id, worker_id, task_group_id)
message_handler = \
make_packet_handler(test_agent, dummy, dummy, msg_callback)
test_agent.setup_socket(server_url, message_handler)
test_agent.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent, mturk_manager, AssignState.STATUS_IN_TASK)
mturk_manager_assign = \
mturk_manager.mturk_workers[worker_id].agents[assign_id]
assign_state = mturk_manager_assign.state
test_agent.always_beat = True
test_agent.send_heartbeat()
wait_for_state_time(3, mturk_manager)
# Run through task
assert test_agent.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
assert last_command.data['text'] == data_model.COMMAND_SEND_MESSAGE, \
'Agent was not asked to send message {}'.format(message_num)
test_agent.send_message('Hello1', dummy)
wait_for_state_time(2, mturk_manager)
check_status(assign_state.status, AssignState.STATUS_IN_TASK)
assert len(assign_state.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state.messages))
test_agent.send_message('Hello2', dummy)
wait_for_state_time(3, mturk_manager)
test_agent.always_beat = False
check_status(assign_state.status, AssignState.STATUS_DONE)
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
check_status(assign_state.status, AssignState.STATUS_DONE)
assert len(assign_state.messages) == 0, \
'Messages were not cleared upon completion of the task'
assert mturk_manager_assign.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert message_num == 2, 'Not all messages were successfully processed'
completed_threads[SOLO_NO_ONBOARDING_TEST] = True
def test_solo_refresh_in_middle(opt, server_url):
"""Tests refreshing in the middle of a solo task to make sure state is
properly restored
"""
global completed_threads
print('{} Starting'.format(SOLO_REFRESH_TEST))
opt['task'] = SOLO_REFRESH_TEST
hit_id = FAKE_HIT_ID.format(SOLO_REFRESH_TEST)
assign_id = FAKE_ASSIGNMENT_ID.format(SOLO_REFRESH_TEST, 1)
worker_id = FAKE_WORKER_ID.format(SOLO_REFRESH_TEST, 1)
last_command = None
message_num = 0
expected_messages = [
TestSoloWorld.TEST_TEXT_1, TestSoloWorld.TEST_TEXT_2
]
mturk_agent_id = AGENT_1_ID
mturk_manager = MTurkManager(
opt=opt,
mturk_agent_ids=[mturk_agent_id],
is_test=True
)
mturk_manager.server_url = server_url
mturk_manager.start_new_run()
task_group_id = mturk_manager.task_group_id
world_thread = threading.Thread(target=run_solo_world,
args=(opt, mturk_manager, False))
world_thread.daemon = True
world_thread.start()
# Create an agent and set it up to connect
def msg_callback(packet):
nonlocal last_command
nonlocal message_num
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
last_command = packet
else:
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
test_agent = MockAgent(opt, hit_id, assign_id, worker_id, task_group_id)
message_handler = \
make_packet_handler(test_agent, dummy, dummy, msg_callback)
test_agent.setup_socket(server_url, message_handler)
test_agent.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent, mturk_manager, AssignState.STATUS_IN_TASK)
mturk_manager_assign = \
mturk_manager.mturk_workers[worker_id].agents[assign_id]
assign_state = mturk_manager_assign.state
# Run through onboarding
test_agent.always_beat = True
test_agent.send_heartbeat()
wait_for_state_time(3, mturk_manager)
# Run through task
assert test_agent.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
assert last_command.data['text'] == data_model.COMMAND_SEND_MESSAGE, \
'Agent was not asked to send message {}'.format(message_num)
# Simulate a refresh
test_agent.conversation_id = None
test_agent.send_alive()
last_time = time.time()
while (last_command.data['text'] != data_model.COMMAND_RESTORE_STATE):
# Wait for the restore state command
time.sleep(1)
assert time.time() - last_time < 10, \
'Timed out wating for COMMAND_RESTORE_STATE to arrive'
# Check that the restore state had what we expected
assert test_agent.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it back to task world'
assert len(last_command.data['messages']) == 1, \
'State restored with more than the 1 message expected, got {}'.format(
len(last_command.data['messages'])
)
assert last_command.data['messages'][0]['text'] == expected_messages[0], \
'Message sent in restore state packet wasn\'t correct'
test_agent.send_message('Hello1', dummy)
wait_for_state_time(2, mturk_manager)
check_status(assign_state.status, AssignState.STATUS_IN_TASK)
assert len(assign_state.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 1'.format(len(assign_state.messages))
test_agent.send_message('Hello2', dummy)
test_agent.always_beat = False
wait_for_state_time(3, mturk_manager)
check_status(assign_state.status, AssignState.STATUS_DONE)
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
check_status(assign_state.status, AssignState.STATUS_DONE)
assert len(assign_state.messages) == 0, \
'Messages were not cleared upon completion of the task'
assert mturk_manager_assign.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
completed_threads[SOLO_REFRESH_TEST] = True
def test_duo_with_onboarding(opt, server_url):
"""Tests a solo task with onboarding to make sure the task doesn't begin
until both agents are ready to go. Also tests that a third agent is not
able to join after the conversation starts, as the HIT should be expired
"""
global completed_threads
print('{} Starting'.format(DUO_ONBOARDING_TEST))
opt['task'] = DUO_ONBOARDING_TEST
hit_id = FAKE_HIT_ID.format(DUO_ONBOARDING_TEST)
assign_id_1 = FAKE_ASSIGNMENT_ID.format(DUO_ONBOARDING_TEST, 1)
worker_id_1 = FAKE_WORKER_ID.format(DUO_ONBOARDING_TEST, 1)
assign_id_2 = FAKE_ASSIGNMENT_ID.format(DUO_ONBOARDING_TEST, 2)
# Repeat worker_id on purpose to test is_sandbox matching of unique workers
worker_id_2 = FAKE_WORKER_ID.format(DUO_ONBOARDING_TEST, 1)
assign_id_3 = FAKE_ASSIGNMENT_ID.format(DUO_ONBOARDING_TEST, 3)
worker_id_3 = FAKE_WORKER_ID.format(DUO_ONBOARDING_TEST, 3)
connection_id_1 = '{}_{}'.format(worker_id_1, assign_id_1)
connection_id_2 = '{}_{}'.format(worker_id_2, assign_id_2)
connection_id_3 = '{}_{}'.format(worker_id_3, assign_id_3)
last_command = None
message_num = 0
expected_messages = [
TestDuoWorld.MESSAGE_1, TestDuoWorld.MESSAGE_2,
TestDuoWorld.MESSAGE_3, TestDuoWorld.MESSAGE_4
]
mturk_agent_id_1 = AGENT_1_ID
mturk_agent_id_2 = AGENT_2_ID
mturk_manager = MTurkManager(
opt=opt,
mturk_agent_ids=[mturk_agent_id_1, mturk_agent_id_2],
is_test=True
)
mturk_manager.server_url = server_url
mturk_manager.start_new_run()
task_group_id = mturk_manager.task_group_id
world_thread = threading.Thread(target=run_duo_world,
args=(opt, mturk_manager, True))
world_thread.daemon = True
world_thread.start()
# create and set up the two agents
test_agent_1 = MockAgent(opt, hit_id, assign_id_1,
worker_id_1, task_group_id)
def msg_callback_1(packet):
nonlocal message_num
nonlocal test_agent_1
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_1.wants_to_send = True
elif test_agent_1.conversation_id.startswith('t_'):
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
test_agent_2 = MockAgent(opt, hit_id, assign_id_2,
worker_id_2, task_group_id)
def msg_callback_2(packet):
nonlocal message_num
nonlocal test_agent_2
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_2.wants_to_send = True
elif test_agent_2.conversation_id.startswith('t_'):
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
test_agent_3 = MockAgent(opt, hit_id, assign_id_3,
worker_id_3, task_group_id)
def msg_callback_3(packet):
nonlocal last_command
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
last_command = packet
message_handler_1 = \
make_packet_handler(test_agent_1, dummy, dummy, msg_callback_1)
message_handler_2 = \
make_packet_handler(test_agent_2, dummy, dummy, msg_callback_2)
message_handler_3 = \
make_packet_handler(test_agent_3, dummy, dummy, msg_callback_3)
test_agent_1.setup_socket(server_url, message_handler_1)
test_agent_2.setup_socket(server_url, message_handler_2)
test_agent_1.wait_for_alive()
test_agent_2.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_1, mturk_manager)
mturk_manager_assign_1 = \
mturk_manager.mturk_workers[worker_id_1].agents[assign_id_1]
assign_state_1 = mturk_manager_assign_1.state
check_new_agent_setup(test_agent_2, mturk_manager)
mturk_manager_assign_2 = \
mturk_manager.mturk_workers[worker_id_2].agents[assign_id_2]
assign_state_2 = mturk_manager_assign_2.state
check_new_agent_setup(test_agent_1, mturk_manager)
mturk_manager_assign_1 = \
mturk_manager.mturk_workers[worker_id_1].agents[assign_id_1]
assign_state_1 = mturk_manager_assign_1.state
check_new_agent_setup(test_agent_2, mturk_manager)
mturk_manager_assign_2 = \
mturk_manager.mturk_workers[worker_id_2].agents[assign_id_2]
assign_state_2 = mturk_manager_assign_2.state
# Start heartbeats
test_agent_1.always_beat = True
test_agent_1.send_heartbeat()
test_agent_2.always_beat = True
test_agent_2.send_heartbeat()
wait_for_state_time(3, mturk_manager)
# Run agent_1 through onboarding
assert test_agent_1.conversation_id.startswith('o_'), \
'Mock agent didn\'t make it to onboarding'
test_agent_1.send_message('Onboard1', dummy)
wait_for_state_time(2, mturk_manager)
check_status(assign_state_1.status, AssignState.STATUS_ONBOARDING)
test_agent_1.send_message('Onboard2', dummy)
wait_for_state_time(2, mturk_manager)
# Ensure agent 1 is sitting in a waiting world now
assert test_agent_1.conversation_id.startswith('w_'), \
'Mock agent didn\'t make it to waiting'
check_status(assign_state_1.status, AssignState.STATUS_WAITING)
# Run agent_2 through onboarding
assert test_agent_2.conversation_id.startswith('o_'), \
'Mock agent didn\'t make it to onboarding'
test_agent_2.send_message('Onboard1', dummy)
wait_for_state_time(2, mturk_manager)
check_status(assign_state_2.status, AssignState.STATUS_ONBOARDING)
test_agent_2.send_message('Onboard2', dummy)
wait_for_state_time(4, mturk_manager)
# Ensure both agents are in a task world
assert test_agent_1.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
check_status(assign_state_1.status, AssignState.STATUS_IN_TASK)
assert test_agent_2.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
check_status(assign_state_2.status, AssignState.STATUS_IN_TASK)
wait_for_state_time(2, mturk_manager)
first_agent = None
second_agent = None
assert test_agent_1.wants_to_send or test_agent_2.wants_to_send, \
'Neither agent is ready to send a message after arriving in task'
if test_agent_1.wants_to_send:
first_agent = test_agent_1
second_agent = test_agent_2
else:
second_agent = test_agent_1
first_agent = test_agent_2
# Step through the task
first_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
second_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
# Attempt to connect with agent 3
assert not mturk_manager.accepting_workers, \
'Manager shouldn\'t still be accepting workers after a conv started'
test_agent_3.setup_socket(server_url, message_handler_3)
test_agent_3.wait_for_alive()
wait_for_state_time(2, mturk_manager)
assert last_command.data['text'] == data_model.COMMAND_EXPIRE_HIT, \
'HIT was not immediately expired when connected'
# Finish the task
first_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
assert len(assign_state_1.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state_1.messages))
assert len(assign_state_2.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state_2.messages))
second_agent.send_message(expected_messages[message_num])
test_agent_1.always_beat = False
test_agent_2.always_beat = False
wait_for_state_time(3, mturk_manager)
check_status(assign_state_1.status, AssignState.STATUS_DONE)
check_status(assign_state_2.status, AssignState.STATUS_DONE)
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
check_status(assign_state_1.status, AssignState.STATUS_DONE)
check_status(assign_state_2.status, AssignState.STATUS_DONE)
assert mturk_manager.completed_conversations == 1, \
'Complete conversation not marked as complete'
assert mturk_manager_assign_1.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert mturk_manager_assign_2.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_1), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_2), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
completed_threads[DUO_ONBOARDING_TEST] = True
def test_duo_no_onboarding(opt, server_url):
"""Tests duo task to completion, as well as disconnect in
waiting to ensure the agent is marked disconnected and removed from pool.
It also tests disconnect in transitioning to a world to ensure the other
agent returns to waiting
"""
global completed_threads
print('{} Starting'.format(DUO_NO_ONBOARDING_TEST))
opt['task'] = DUO_NO_ONBOARDING_TEST
opt['count_complete'] = True
hit_id = FAKE_HIT_ID.format(DUO_NO_ONBOARDING_TEST)
assign_id_1 = FAKE_ASSIGNMENT_ID.format(DUO_NO_ONBOARDING_TEST, 1)
worker_id_1 = FAKE_WORKER_ID.format(DUO_NO_ONBOARDING_TEST, 1)
assign_id_2 = FAKE_ASSIGNMENT_ID.format(DUO_NO_ONBOARDING_TEST, 2)
worker_id_2 = FAKE_WORKER_ID.format(DUO_NO_ONBOARDING_TEST, 2)
assign_id_3 = FAKE_ASSIGNMENT_ID.format(DUO_NO_ONBOARDING_TEST, 3)
worker_id_3 = FAKE_WORKER_ID.format(DUO_NO_ONBOARDING_TEST, 3)
assign_id_4 = FAKE_ASSIGNMENT_ID.format(DUO_NO_ONBOARDING_TEST, 4)
worker_id_4 = FAKE_WORKER_ID.format(DUO_NO_ONBOARDING_TEST, 4)
connection_id_1 = '{}_{}'.format(worker_id_1, assign_id_1)
connection_id_2 = '{}_{}'.format(worker_id_2, assign_id_2)
connection_id_3 = '{}_{}'.format(worker_id_3, assign_id_3)
connection_id_4 = '{}_{}'.format(worker_id_4, assign_id_4)
message_num = 0
expected_messages = [
TestDuoWorld.MESSAGE_1, TestDuoWorld.MESSAGE_2,
TestDuoWorld.MESSAGE_3, TestDuoWorld.MESSAGE_4
]
mturk_agent_id_1 = AGENT_1_ID
mturk_agent_id_2 = AGENT_2_ID
mturk_manager = MTurkManager(
opt=opt,
mturk_agent_ids=[mturk_agent_id_1, mturk_agent_id_2],
is_test=True
)
mturk_manager.server_url = server_url
mturk_manager.start_new_run()
task_group_id = mturk_manager.task_group_id
world_thread = threading.Thread(target=run_duo_world,
args=(opt, mturk_manager, False))
world_thread.daemon = True
world_thread.start()
# create and set up an agent to disconnect when paired
test_agent_3 = MockAgent(opt, hit_id, assign_id_3,
worker_id_3, task_group_id)
def msg_callback_3(packet):
nonlocal message_num
nonlocal test_agent_3
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_3.wants_to_send = True
message_handler_3 = make_packet_handler_cant_task(
test_agent_3,
dummy,
dummy,
msg_callback_3
)
test_agent_3.always_beat = True
test_agent_3.setup_socket(server_url, message_handler_3)
test_agent_3.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_3, mturk_manager,
AssignState.STATUS_WAITING)
mturk_manager_assign_3 = \
mturk_manager.mturk_workers[worker_id_3].agents[assign_id_3]
assign_state_3 = mturk_manager_assign_3.state
# Start heartbeats for 3
test_agent_3.send_heartbeat()
wait_for_state_time(3, mturk_manager)
# Ensure agent 3 is sitting in a waiting world now
assert test_agent_3.conversation_id.startswith('w_'), \
'Mock agent didn\'t make it to waiting'
check_status(assign_state_3.status, AssignState.STATUS_WAITING)
assert len(mturk_manager.worker_pool) == 1, \
'Worker was not entered into pool'
# create and set up an agent to disconnect when returned to waiting
test_agent_4 = MockAgent(opt, hit_id, assign_id_4,
worker_id_4, task_group_id)
def msg_callback_4(packet):
nonlocal message_num
nonlocal test_agent_4
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_4.wants_to_send = True
message_handler_4 = \
make_packet_handler(test_agent_4, dummy, dummy, msg_callback_4)
test_agent_4.setup_socket(server_url, message_handler_4)
test_agent_4.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_4, mturk_manager,
AssignState.STATUS_IN_TASK)
mturk_manager_assign_4 = \
mturk_manager.mturk_workers[worker_id_4].agents[assign_id_4]
assign_state_4 = mturk_manager_assign_4.state
# Start heartbeats for 4
test_agent_4.always_beat = True
test_agent_4.send_heartbeat()
assert len(mturk_manager.worker_pool) == 0, \
'Workers were not removed from pool when assigned to a world'
check_status(assign_state_3.status, AssignState.STATUS_ASSIGNED)
# Wait for the world to give up on waiting
wait_for_state_time(WORLD_START_TIMEOUT + 2.5, mturk_manager)
# Assert that the agent is back in the waiting world
check_status(assign_state_4.status, AssignState.STATUS_WAITING)
assert len(mturk_manager.worker_pool) == 1, \
'Worker was not entered returned to pool'
# Assert that the disconnected agent is marked as so
wait_for_state_time(2, mturk_manager)
check_status(assign_state_3.status, AssignState.STATUS_DISCONNECT)
# Wait for 4 to disconnect as well
test_agent_4.always_beat = False
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
assert len(mturk_manager.worker_pool) == 0, \
'Workers were not removed from pool when disconnected'
check_status(assign_state_4.status, AssignState.STATUS_DISCONNECT)
# create and set up the first successful agent
test_agent_1 = MockAgent(opt, hit_id, assign_id_1,
worker_id_1, task_group_id)
def msg_callback_1(packet):
nonlocal message_num
nonlocal test_agent_1
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_1.wants_to_send = True
elif test_agent_1.conversation_id.startswith('t_'):
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
message_handler_1 = \
make_packet_handler(test_agent_1, dummy, dummy, msg_callback_1)
test_agent_1.setup_socket(server_url, message_handler_1)
test_agent_1.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_1, mturk_manager,
AssignState.STATUS_WAITING)
mturk_manager_assign_1 = \
mturk_manager.mturk_workers[worker_id_1].agents[assign_id_1]
assign_state_1 = mturk_manager_assign_1.state
# Start heartbeats for 1
test_agent_1.always_beat = True
test_agent_1.send_heartbeat()
wait_for_state_time(3, mturk_manager)
# Ensure agent 1 is sitting in a waiting world now
assert test_agent_1.conversation_id.startswith('w_'), \
'Mock agent didn\'t make it to waiting'
check_status(assign_state_1.status, AssignState.STATUS_WAITING)
# Set up the second agent
test_agent_2 = MockAgent(opt, hit_id, assign_id_2,
worker_id_2, task_group_id)
def msg_callback_2(packet):
nonlocal message_num
nonlocal test_agent_2
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_2.wants_to_send = True
elif test_agent_2.conversation_id.startswith('t_'):
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
message_handler_2 = \
make_packet_handler(test_agent_2, dummy, dummy, msg_callback_2)
test_agent_2.setup_socket(server_url, message_handler_2)
test_agent_2.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_2, mturk_manager,
AssignState.STATUS_IN_TASK)
mturk_manager_assign_2 = \
mturk_manager.mturk_workers[worker_id_2].agents[assign_id_2]
assign_state_2 = mturk_manager_assign_2.state
# Start heartbeats for 2
test_agent_2.always_beat = True
test_agent_2.send_heartbeat()
wait_for_state_time(3, mturk_manager)
# Ensure both agents are in a task world
assert test_agent_1.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
check_status(assign_state_1.status, AssignState.STATUS_IN_TASK)
assert test_agent_2.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
check_status(assign_state_1.status, AssignState.STATUS_IN_TASK)
first_agent = None
second_agent = None
assert test_agent_1.wants_to_send or test_agent_2.wants_to_send, \
'Neither agent is ready to send a message after arriving in task'
if test_agent_1.wants_to_send:
first_agent = test_agent_1
second_agent = test_agent_2
else:
second_agent = test_agent_1
first_agent = test_agent_2
# Step through the task
first_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
second_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
first_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
assert len(assign_state_1.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state_1.messages))
assert len(assign_state_2.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state_2.messages))
second_agent.send_message(expected_messages[message_num])
test_agent_1.always_beat = False
test_agent_2.always_beat = False
wait_for_state_time(3, mturk_manager)
check_status(assign_state_1.status, AssignState.STATUS_DONE)
check_status(assign_state_2.status, AssignState.STATUS_DONE)
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
check_status(assign_state_1.status, AssignState.STATUS_DONE)
check_status(assign_state_2.status, AssignState.STATUS_DONE)
assert mturk_manager.completed_conversations == 1, \
'Complete conversation not marked as complete'
assert mturk_manager_assign_1.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert mturk_manager_assign_2.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_1), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_2), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
completed_threads[DUO_NO_ONBOARDING_TEST] = True
def test_duo_valid_reconnects(opt, server_url):
"""Tests reconnects during the task which should reload the conversation
state, as well as completing a task after a reconnect.
"""
global completed_threads
print('{} Starting'.format(DUO_VALID_RECONNECT_TEST))
opt['task'] = DUO_VALID_RECONNECT_TEST
hit_id = FAKE_HIT_ID.format(DUO_VALID_RECONNECT_TEST)
assign_id_1 = FAKE_ASSIGNMENT_ID.format(DUO_VALID_RECONNECT_TEST, 1)
worker_id_1 = FAKE_WORKER_ID.format(DUO_VALID_RECONNECT_TEST, 1)
assign_id_2 = FAKE_ASSIGNMENT_ID.format(DUO_VALID_RECONNECT_TEST, 2)
worker_id_2 = FAKE_WORKER_ID.format(DUO_VALID_RECONNECT_TEST, 2)
connection_id_1 = '{}_{}'.format(worker_id_1, assign_id_1)
connection_id_2 = '{}_{}'.format(worker_id_2, assign_id_2)
message_num = 0
refresh_was_valid = False
expected_messages = [
TestDuoWorld.MESSAGE_1, TestDuoWorld.MESSAGE_2,
TestDuoWorld.MESSAGE_3, TestDuoWorld.MESSAGE_4
]
mturk_agent_id_1 = AGENT_1_ID
mturk_agent_id_2 = AGENT_2_ID
mturk_manager = MTurkManager(
opt=opt,
mturk_agent_ids=[mturk_agent_id_1, mturk_agent_id_2],
is_test=True
)
mturk_manager.server_url = server_url
mturk_manager.start_new_run()
task_group_id = mturk_manager.task_group_id
world_thread = threading.Thread(target=run_duo_world,
args=(opt, mturk_manager, False))
world_thread.daemon = True
world_thread.start()
# create and set up the first agent
test_agent_1 = MockAgent(opt, hit_id, assign_id_1,
worker_id_1, task_group_id)
def msg_callback_1(packet):
nonlocal message_num
nonlocal test_agent_1
nonlocal refresh_was_valid
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_1.wants_to_send = True
elif packet.data['text'] == data_model.COMMAND_RESTORE_STATE:
messages = packet.data['messages']
assert messages[0]['text'] == expected_messages[0], 'first ' \
'message in restore state {} not as expected {}'.format(
messages[0], expected_messages[0]
)
assert messages[1]['text'] == expected_messages[1], 'second ' \
'message in restore state {} not as expected {}'.format(
messages[1], expected_messages[1]
)
assert packet.data['last_command']['text'] == \
data_model.COMMAND_SEND_MESSAGE, 'restore state didn\'t '\
'include command to send a new message'
refresh_was_valid = True
elif test_agent_1.conversation_id.startswith('t_'):
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
message_handler_1 = \
make_packet_handler(test_agent_1, dummy, dummy, msg_callback_1)
test_agent_1.setup_socket(server_url, message_handler_1)
test_agent_1.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_1, mturk_manager,
AssignState.STATUS_WAITING)
mturk_manager_assign_1 = \
mturk_manager.mturk_workers[worker_id_1].agents[assign_id_1]
assign_state_1 = mturk_manager_assign_1.state
# Start heartbeats for 1
test_agent_1.always_beat = True
test_agent_1.send_heartbeat()
wait_for_state_time(2, mturk_manager)
# Ensure agent 1 is sitting in a waiting world now
assert test_agent_1.conversation_id.startswith('w_'), \
'Mock agent didn\'t make it to waiting'
check_status(assign_state_1.status, AssignState.STATUS_WAITING)
# Set up the second agent
test_agent_2 = MockAgent(opt, hit_id, assign_id_2,
worker_id_2, task_group_id)
def msg_callback_2(packet):
nonlocal message_num
nonlocal test_agent_2
nonlocal refresh_was_valid
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_2.wants_to_send = True
elif packet.data['text'] == data_model.COMMAND_RESTORE_STATE:
messages = packet.data['messages']
assert messages[0]['text'] == expected_messages[0], 'first ' \
'message in restore state {} not as expected {}'.format(
messages[0], expected_messages[0]
)
assert messages[1]['text'] == expected_messages[1], 'second ' \
'message in restore state {} not as expected {}'.format(
messages[1], expected_messages[1]
)
assert packet.data['last_command']['text'] == \
data_model.COMMAND_SEND_MESSAGE, 'restore state didn\'t '\
'include command to send a new message'
refresh_was_valid = True
elif test_agent_2.conversation_id.startswith('t_'):
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
message_handler_2 = \
make_packet_handler(test_agent_2, dummy, dummy, msg_callback_2)
test_agent_2.setup_socket(server_url, message_handler_2)
test_agent_2.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_2, mturk_manager,
AssignState.STATUS_IN_TASK)
mturk_manager_assign_2 = \
mturk_manager.mturk_workers[worker_id_2].agents[assign_id_2]
assign_state_2 = mturk_manager_assign_2.state
# Start heartbeats for 2
test_agent_2.always_beat = True
test_agent_2.send_heartbeat()
wait_for_state_time(2, mturk_manager)
# Ensure both agents are in a task world
assert test_agent_1.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
assert test_agent_2.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
check_status(assign_state_1.status, AssignState.STATUS_IN_TASK)
check_status(assign_state_2.status, AssignState.STATUS_IN_TASK)
first_agent = None
second_agent = None
assert test_agent_1.wants_to_send or test_agent_2.wants_to_send, \
'Neither agent is ready to send a message after arriving in task'
if test_agent_1.wants_to_send:
first_agent = test_agent_1
second_agent = test_agent_2
else:
second_agent = test_agent_1
first_agent = test_agent_2
# Step through the task
first_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
second_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
# Simulate a refresh, msg callback will verify it was valid
first_agent.conversation_id = None
first_agent.send_alive()
wait_for_state_time(4, mturk_manager)
assert refresh_was_valid, 'Information sent on refresh was invalid'
first_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
assert len(assign_state_1.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state_1.messages))
assert len(assign_state_2.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state_2.messages))
second_agent.send_message(expected_messages[message_num])
test_agent_1.always_beat = False
test_agent_2.always_beat = False
wait_for_state_time(3, mturk_manager)
check_status(assign_state_1.status, AssignState.STATUS_DONE)
check_status(assign_state_2.status, AssignState.STATUS_DONE)
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
check_status(assign_state_1.status, AssignState.STATUS_DONE)
check_status(assign_state_2.status, AssignState.STATUS_DONE)
assert mturk_manager.completed_conversations == 1, \
'Complete conversation not marked as complete'
assert mturk_manager_assign_1.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert mturk_manager_assign_2.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_1), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_2), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
completed_threads[DUO_VALID_RECONNECT_TEST] = True
def test_duo_one_disconnect(opt, server_url):
"""Tests whether disconnects properly cause a task to fail and let the
non-disconnecting partner complete the HIT. Also tests reconnecting after
a partner disconnect or after a disconnect.
"""
global completed_threads
print('{} Starting'.format(DUO_ONE_DISCONNECT_TEST))
opt['task'] = DUO_ONE_DISCONNECT_TEST
hit_id = FAKE_HIT_ID.format(DUO_ONE_DISCONNECT_TEST)
assign_id_1 = FAKE_ASSIGNMENT_ID.format(DUO_ONE_DISCONNECT_TEST, 1)
worker_id_1 = FAKE_WORKER_ID.format(DUO_ONE_DISCONNECT_TEST, 1)
assign_id_2 = FAKE_ASSIGNMENT_ID.format(DUO_ONE_DISCONNECT_TEST, 2)
worker_id_2 = FAKE_WORKER_ID.format(DUO_ONE_DISCONNECT_TEST, 2)
connection_id_1 = '{}_{}'.format(worker_id_1, assign_id_1)
connection_id_2 = '{}_{}'.format(worker_id_2, assign_id_2)
message_num = 0
partner_disconnects = 0
self_disconnects = 0
expected_messages = [
TestDuoWorld.MESSAGE_1, TestDuoWorld.MESSAGE_2,
MTURK_DISCONNECT_MESSAGE
]
mturk_agent_id_1 = AGENT_1_ID
mturk_agent_id_2 = AGENT_2_ID
mturk_manager = MTurkManager(
opt=opt,
mturk_agent_ids=[mturk_agent_id_1, mturk_agent_id_2],
is_test=True
)
mturk_manager.server_url = server_url
mturk_manager.start_new_run()
task_group_id = mturk_manager.task_group_id
world_thread = threading.Thread(target=run_duo_world,
args=(opt, mturk_manager, False))
world_thread.daemon = True
world_thread.start()
# create and set up the first agent
test_agent_1 = MockAgent(opt, hit_id, assign_id_1,
worker_id_1, task_group_id)
def msg_callback_1(packet):
nonlocal message_num
nonlocal test_agent_1
nonlocal partner_disconnects
nonlocal self_disconnects
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_1.wants_to_send = True
elif packet.data['text'] == data_model.COMMAND_INACTIVE_DONE:
partner_disconnects += 1
elif packet.data['text'] == data_model.COMMAND_INACTIVE_HIT:
self_disconnects += 1
elif test_agent_1.conversation_id is not None and \
test_agent_1.conversation_id.startswith('t_'):
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
message_handler_1 = \
make_packet_handler(test_agent_1, dummy, dummy, msg_callback_1)
test_agent_1.setup_socket(server_url, message_handler_1)
test_agent_1.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_1, mturk_manager,
AssignState.STATUS_WAITING)
mturk_manager_assign_1 = \
mturk_manager.mturk_workers[worker_id_1].agents[assign_id_1]
assign_state_1 = mturk_manager_assign_1.state
# Start heartbeats for 1
test_agent_1.always_beat = True
test_agent_1.send_heartbeat()
wait_for_state_time(2, mturk_manager)
# Ensure agent 1 is sitting in a waiting world now
assert test_agent_1.conversation_id.startswith('w_'), \
'Mock agent didn\'t make it to waiting'
check_status(assign_state_1.status, AssignState.STATUS_WAITING)
# Set up the second agent
test_agent_2 = MockAgent(opt, hit_id, assign_id_2,
worker_id_2, task_group_id)
def msg_callback_2(packet):
nonlocal message_num
nonlocal test_agent_2
nonlocal partner_disconnects
nonlocal self_disconnects
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_2.wants_to_send = True
elif packet.data['text'] == data_model.COMMAND_INACTIVE_DONE:
partner_disconnects += 1
elif packet.data['text'] == data_model.COMMAND_INACTIVE_HIT:
self_disconnects += 1
elif test_agent_2.conversation_id is not None and \
test_agent_2.conversation_id.startswith('t_'):
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
message_handler_2 = \
make_packet_handler(test_agent_2, dummy, dummy, msg_callback_2)
test_agent_2.setup_socket(server_url, message_handler_2)
test_agent_2.wait_for_alive()
wait_for_state_time(2.5, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_2, mturk_manager,
AssignState.STATUS_IN_TASK)
mturk_manager_assign_2 = \
mturk_manager.mturk_workers[worker_id_2].agents[assign_id_2]
assign_state_2 = mturk_manager_assign_2.state
# Start heartbeats for 2
test_agent_2.always_beat = True
test_agent_2.send_heartbeat()
wait_for_state_time(2.5, mturk_manager)
# Ensure both agents are in a task world
assert test_agent_1.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
assert test_agent_2.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
check_status(assign_state_1.status, AssignState.STATUS_IN_TASK)
check_status(assign_state_2.status, AssignState.STATUS_IN_TASK)
first_agent = None
second_agent = None
mturk_first_agent = None
mturk_second_agent = None
assert test_agent_1.wants_to_send or test_agent_2.wants_to_send, \
'Neither agent is ready to send a message after arriving in task'
if test_agent_1.wants_to_send:
first_agent = test_agent_1
second_agent = test_agent_2
mturk_first_agent = mturk_manager_assign_1
mturk_second_agent = mturk_manager_assign_2
else:
second_agent = test_agent_1
first_agent = test_agent_2
mturk_second_agent = mturk_manager_assign_1
mturk_first_agent = mturk_manager_assign_2
# Step through the task
first_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
second_agent.send_message(expected_messages[message_num])
# Disconnect the first agent
first_agent.always_beat = False
wait_for_state_time(2, mturk_manager)
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
assert partner_disconnects == 1, \
'Connected agent did not recieve an inactive_done command'
# Refresh the second agent
second_agent.conversation_id = None
second_agent.send_alive()
wait_for_state_time(2, mturk_manager)
assert partner_disconnects == 2, \
'Reconnected agent did not recieve an inactive_done command'
# Refresh the first agent
first_agent.conversation_id = None
first_agent.send_alive()
wait_for_state_time(2, mturk_manager)
assert self_disconnects == 1, \
'Disconnected agent did not recieve an inactive command'
# Disconnect the second agent
second_agent.always_beat = False
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
check_status(mturk_second_agent.state.status,
AssignState.STATUS_PARTNER_DISCONNECT)
check_status(mturk_first_agent.state.status,
AssignState.STATUS_DISCONNECT)
assert mturk_manager.completed_conversations == 0, \
'Incomplete conversation marked as complete'
assert mturk_second_agent.disconnected == False, \
'MTurk manager improperly marked the connected agent as disconnected'
assert mturk_first_agent.disconnected == True, \
'MTurk did not mark the disconnected agent as so'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_1), \
'The socket manager didn\'t close the socket upon failure of the ' \
'task, though it should have'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_2), \
'The socket manager didn\'t close the socket upon failure of the ' \
'task, though it should have'
completed_threads[DUO_ONE_DISCONNECT_TEST] = True
def test_count_complete(opt, server_url):
"""Starts two worlds even though only one is requested by using the
count_complete flag.
"""
global completed_threads
print('{} Starting'.format(COUNT_COMPLETE_TEST))
opt['task'] = COUNT_COMPLETE_TEST
opt['count_complete'] = True
opt['num_conversations'] = 1
hit_id = FAKE_HIT_ID.format(COUNT_COMPLETE_TEST)
assign_id_1 = FAKE_ASSIGNMENT_ID.format(COUNT_COMPLETE_TEST, 1)
worker_id_1 = FAKE_WORKER_ID.format(COUNT_COMPLETE_TEST, 1)
assign_id_2 = FAKE_ASSIGNMENT_ID.format(COUNT_COMPLETE_TEST, 2)
worker_id_2 = FAKE_WORKER_ID.format(COUNT_COMPLETE_TEST, 2)
last_command = None
message_num_1 = 0
message_num_2 = 0
expected_messages = [TestSoloWorld.TEST_TEXT_1, TestSoloWorld.TEST_TEXT_2]
mturk_agent_id = AGENT_1_ID
mturk_manager = MTurkManager(opt=opt,
mturk_agent_ids=[mturk_agent_id],
is_test=True)
mturk_manager.server_url = server_url
mturk_manager.start_new_run()
task_group_id = mturk_manager.task_group_id
world_thread = threading.Thread(target=run_solo_world,
args=(opt, mturk_manager, False))
world_thread.daemon = True
world_thread.start()
# Create an agent and set it up to connect
def msg_callback_1(packet):
nonlocal last_command
nonlocal message_num_1
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
last_command = packet
else:
assert packet.data['text'] == expected_messages[message_num_1], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num_1],
message_num_1,
packet.data['text']
)
message_num_1 += 1
test_agent_1 = \
MockAgent(opt, hit_id, assign_id_1, worker_id_1, task_group_id)
message_handler = \
make_packet_handler(test_agent_1, dummy, dummy, msg_callback_1)
test_agent_1.setup_socket(server_url, message_handler)
test_agent_1.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_1, mturk_manager,
AssignState.STATUS_IN_TASK)
mturk_manager_assign_1 = \
mturk_manager.mturk_workers[worker_id_1].agents[assign_id_1]
assign_state_1 = mturk_manager_assign_1.state
# Run through onboarding
test_agent_1.always_beat = True
test_agent_1.send_heartbeat()
wait_for_state_time(3, mturk_manager)
# Run through task
assert test_agent_1.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
assert last_command.data['text'] == data_model.COMMAND_SEND_MESSAGE, \
'Agent was not asked to send message {}'.format(message_num)
test_agent_1.send_message('Hello1', dummy)
wait_for_state_time(2, mturk_manager)
check_status(assign_state_1.status, AssignState.STATUS_IN_TASK)
assert len(assign_state_1.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state_1.messages))
# Start the second agent while the first is still waiting
def msg_callback_2(packet):
nonlocal last_command
nonlocal message_num_2
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
last_command = packet
else:
assert packet.data['text'] == expected_messages[message_num_2], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num_2],
message_num_2,
packet.data['text']
)
message_num_2 += 1
test_agent_2 = \
MockAgent(opt, hit_id, assign_id_2, worker_id_2, task_group_id)
message_handler = \
make_packet_handler(test_agent_2, dummy, dummy, msg_callback_2)
test_agent_2.setup_socket(server_url, message_handler)
test_agent_2.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_2, mturk_manager,
AssignState.STATUS_IN_TASK)
mturk_manager_assign_2 = \
mturk_manager.mturk_workers[worker_id_2].agents[assign_id_2]
assign_state_2 = mturk_manager_assign_2.state
# Run through onboarding
test_agent_2.always_beat = True
test_agent_2.send_heartbeat()
wait_for_state_time(3, mturk_manager)
# Run through task
assert test_agent_2.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
assert last_command.data['text'] == data_model.COMMAND_SEND_MESSAGE, \
'Agent was not asked to send message {}'.format(message_num)
test_agent_2.send_message('Hello1', dummy)
wait_for_state_time(2, mturk_manager)
check_status(assign_state_2.status, AssignState.STATUS_IN_TASK)
assert len(assign_state_2.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state_2.messages))
test_agent_2.send_message('Hello2', dummy)
test_agent_2.always_beat = False
# Finish agent 1's task
test_agent_1.send_message('Hello2', dummy)
test_agent_1.always_beat = False
wait_for_state_time(2, mturk_manager)
check_status(assign_state_1.status, AssignState.STATUS_DONE)
check_status(assign_state_2.status, AssignState.STATUS_DONE)
# Wait for both to disconnect
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
check_status(assign_state_1.status, AssignState.STATUS_DONE)
check_status(assign_state_2.status, AssignState.STATUS_DONE)
assert len(assign_state_1.messages) == 0, \
'Messages were not cleared upon completion of the task'
assert len(assign_state_2.messages) == 0, \
'Messages were not cleared upon completion of the task'
assert mturk_manager_assign_1.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert mturk_manager_assign_2.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert mturk_manager.started_conversations == 2, \
'At least one conversation wasn\'t successfully logged'
assert mturk_manager.completed_conversations == 2, \
'At least one conversation wasn\'t successfully logged'
assert message_num_1 == 2, 'Not all messages were successfully processed'
assert message_num_2 == 2, 'Not all messages were successfully processed'
completed_threads[COUNT_COMPLETE_TEST] = True
pass
def test_expire_hit(opt, server_url):
"""Tests force_expire_hit by creating 4 workers, leaving
one in onboarding and sending 3 to waiting, then ensuring that the
remaining waiting worker gets expired"""
global completed_threads
print('{} Starting'.format(EXPIRE_HIT_TEST))
opt['task'] = EXPIRE_HIT_TEST
opt['count_complete'] = True
hit_id = FAKE_HIT_ID.format(EXPIRE_HIT_TEST)
assign_id_1 = FAKE_ASSIGNMENT_ID.format(EXPIRE_HIT_TEST, 1)
worker_id_1 = FAKE_WORKER_ID.format(EXPIRE_HIT_TEST, 1)
assign_id_2 = FAKE_ASSIGNMENT_ID.format(EXPIRE_HIT_TEST, 2)
worker_id_2 = FAKE_WORKER_ID.format(EXPIRE_HIT_TEST, 2)
assign_id_3 = FAKE_ASSIGNMENT_ID.format(EXPIRE_HIT_TEST, 3)
worker_id_3 = FAKE_WORKER_ID.format(EXPIRE_HIT_TEST, 3)
assign_id_4 = FAKE_ASSIGNMENT_ID.format(EXPIRE_HIT_TEST, 4)
worker_id_4 = FAKE_WORKER_ID.format(EXPIRE_HIT_TEST, 4)
connection_id_1 = '{}_{}'.format(worker_id_1, assign_id_1)
connection_id_2 = '{}_{}'.format(worker_id_2, assign_id_2)
connection_id_3 = '{}_{}'.format(worker_id_3, assign_id_3)
connection_id_4 = '{}_{}'.format(worker_id_4, assign_id_4)
last_command_3 = None
last_command_4 = None
message_num = 0
expected_messages = [
TestDuoWorld.MESSAGE_1, TestDuoWorld.MESSAGE_2,
TestDuoWorld.MESSAGE_3, TestDuoWorld.MESSAGE_4
]
mturk_agent_id_1 = AGENT_1_ID
mturk_agent_id_2 = AGENT_2_ID
mturk_manager = MTurkManager(
opt=opt,
mturk_agent_ids=[mturk_agent_id_1, mturk_agent_id_2],
is_test=True
)
mturk_manager.server_url = server_url
mturk_manager.start_new_run()
task_group_id = mturk_manager.task_group_id
world_thread = threading.Thread(target=run_duo_world,
args=(opt, mturk_manager, True))
world_thread.daemon = True
world_thread.start()
# create and set up the two agents
test_agent_1 = MockAgent(opt, hit_id, assign_id_1,
worker_id_1, task_group_id)
def msg_callback_1(packet):
nonlocal message_num
nonlocal test_agent_1
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_1.wants_to_send = True
elif test_agent_1.conversation_id.startswith('t_'):
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
test_agent_2 = MockAgent(opt, hit_id, assign_id_2,
worker_id_2, task_group_id)
def msg_callback_2(packet):
nonlocal message_num
nonlocal test_agent_2
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_2.wants_to_send = True
elif test_agent_2.conversation_id.startswith('t_'):
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
test_agent_3 = MockAgent(opt, hit_id, assign_id_3,
worker_id_3, task_group_id)
def msg_callback_3(packet):
nonlocal last_command_3
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
last_command_3 = packet
test_agent_4 = MockAgent(opt, hit_id, assign_id_4,
worker_id_4, task_group_id)
def msg_callback_4(packet):
nonlocal last_command_4
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
last_command_4 = packet
message_handler_1 = \
make_packet_handler(test_agent_1, dummy, dummy, msg_callback_1)
message_handler_2 = \
make_packet_handler(test_agent_2, dummy, dummy, msg_callback_2)
message_handler_3 = \
make_packet_handler(test_agent_3, dummy, dummy, msg_callback_3)
message_handler_4 = \
make_packet_handler(test_agent_4, dummy, dummy, msg_callback_4)
test_agent_1.setup_socket(server_url, message_handler_1)
test_agent_2.setup_socket(server_url, message_handler_2)
test_agent_3.setup_socket(server_url, message_handler_3)
test_agent_4.setup_socket(server_url, message_handler_4)
test_agent_1.wait_for_alive()
test_agent_2.wait_for_alive()
test_agent_3.wait_for_alive()
test_agent_4.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_1, mturk_manager)
mturk_manager_assign_1 = \
mturk_manager.mturk_workers[worker_id_1].agents[assign_id_1]
assign_state_1 = mturk_manager_assign_1.state
check_new_agent_setup(test_agent_2, mturk_manager)
mturk_manager_assign_2 = \
mturk_manager.mturk_workers[worker_id_2].agents[assign_id_2]
assign_state_2 = mturk_manager_assign_2.state
check_new_agent_setup(test_agent_3, mturk_manager)
mturk_manager_assign_3 = \
mturk_manager.mturk_workers[worker_id_3].agents[assign_id_3]
assign_state_3 = mturk_manager_assign_3.state
check_new_agent_setup(test_agent_4, mturk_manager)
mturk_manager_assign_4 = \
mturk_manager.mturk_workers[worker_id_4].agents[assign_id_4]
assign_state_4 = mturk_manager_assign_4.state
# Start heartbeats
test_agent_1.always_beat = True
test_agent_1.send_heartbeat()
test_agent_2.always_beat = True
test_agent_2.send_heartbeat()
test_agent_3.always_beat = True
test_agent_3.send_heartbeat()
test_agent_4.always_beat = True
test_agent_4.send_heartbeat()
wait_for_state_time(2, mturk_manager)
# Run agent_1 through onboarding
assert test_agent_1.conversation_id.startswith('o_'), \
'Mock agent didn\'t make it to onboarding'
test_agent_1.send_message('Onboard1', dummy)
wait_for_state_time(2, mturk_manager)
check_status(assign_state_1.status, AssignState.STATUS_ONBOARDING)
test_agent_1.send_message('Onboard2', dummy)
wait_for_state_time(3, mturk_manager)
# Ensure agent 1 is sitting in a waiting world now
assert test_agent_1.conversation_id.startswith('w_'), \
'Mock agent didn\'t make it to waiting'
check_status(assign_state_1.status, AssignState.STATUS_WAITING)
# Run agent_2 through onboarding
assert test_agent_2.conversation_id.startswith('o_'), \
'Mock agent didn\'t make it to onboarding'
test_agent_2.send_message('Onboard1', dummy)
wait_for_state_time(2, mturk_manager)
check_status(assign_state_2.status, AssignState.STATUS_ONBOARDING)
test_agent_2.send_message('Onboard2', dummy)
wait_for_state_time(3, mturk_manager)
# Ensure both agents are in a task world
assert test_agent_1.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to waiting'
check_status(assign_state_1.status, AssignState.STATUS_IN_TASK)
assert test_agent_2.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to waiting'
check_status(assign_state_2.status, AssignState.STATUS_IN_TASK)
# Run agent_3 through onboarding
assert test_agent_3.conversation_id.startswith('o_'), \
'Mock agent didn\'t make it to onboarding'
test_agent_3.send_message('Onboard1', dummy)
wait_for_state_time(2, mturk_manager)
check_status(assign_state_3.status, AssignState.STATUS_ONBOARDING)
test_agent_3.send_message('Onboard2', dummy)
wait_for_state_time(2, mturk_manager)
# Ensure agent 3 is sitting in a waiting world now
assert test_agent_3.conversation_id.startswith('w_'), \
'Mock agent didn\'t make it to waiting'
check_status(assign_state_3.status, AssignState.STATUS_WAITING)
wait_for_state_time(2, mturk_manager)
first_agent = None
second_agent = None
assert test_agent_1.wants_to_send or test_agent_2.wants_to_send, \
'Neither agent is ready to send a message after arriving in task'
if test_agent_1.wants_to_send:
first_agent = test_agent_1
second_agent = test_agent_2
else:
second_agent = test_agent_1
first_agent = test_agent_2
# Step through the task
first_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
second_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
first_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
assert len(assign_state_1.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state_1.messages))
assert len(assign_state_2.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state_2.messages))
second_agent.send_message(expected_messages[message_num])
test_agent_1.always_beat = False
test_agent_2.always_beat = False
wait_for_state_time(5, mturk_manager)
# Assert that the two other agents were expired
check_status(assign_state_3.status, AssignState.STATUS_EXPIRED)
check_status(assign_state_4.status, AssignState.STATUS_EXPIRED)
assert last_command_3.data['text'] == data_model.COMMAND_EXPIRE_HIT, \
'Waiting world agent was not expired'
assert last_command_4.data['text'] == data_model.COMMAND_EXPIRE_HIT, \
'Onboarding world agent was not expired'
test_agent_3.always_beat = False
test_agent_4.always_beat = False
check_status(assign_state_1.status, AssignState.STATUS_DONE)
check_status(assign_state_2.status, AssignState.STATUS_DONE)
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
check_status(assign_state_1.status, AssignState.STATUS_DONE)
check_status(assign_state_2.status, AssignState.STATUS_DONE)
assert mturk_manager.completed_conversations == 1, \
'Complete conversation not marked as complete'
assert mturk_manager_assign_1.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert mturk_manager_assign_2.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert mturk_manager_assign_3.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert mturk_manager_assign_4.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert mturk_manager_assign_3.hit_is_expired == True, \
'MTurk manager failed to mark agent as expired'
assert mturk_manager_assign_4.hit_is_expired == True, \
'MTurk manager failed to mark agent as expired'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_1), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_2), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_3), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_4), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
completed_threads[EXPIRE_HIT_TEST] = True
def test_allowed_conversations(opt, server_url):
"""Test to ensure that an agent can't take part in two conversations at
the same time when only one concurrent conversation is allowed, but that
they're allowed to start it after finishing the first
"""
global completed_threads
print('{} Starting'.format(ALLOWED_CONVERSATION_TEST))
opt['allowed_conversations'] = 1
opt['num_conversations'] = 2
opt['task'] = ALLOWED_CONVERSATION_TEST
hit_id = FAKE_HIT_ID.format(ALLOWED_CONVERSATION_TEST)
assign_id = FAKE_ASSIGNMENT_ID.format(ALLOWED_CONVERSATION_TEST, 1)
assign_id_2 = FAKE_ASSIGNMENT_ID.format(ALLOWED_CONVERSATION_TEST, 2)
worker_id = FAKE_WORKER_ID.format(ALLOWED_CONVERSATION_TEST, 1)
last_command = None
message_num = 0
expected_messages = [
TestSoloWorld.TEST_TEXT_1, TestSoloWorld.TEST_TEXT_2
]
mturk_agent_id = AGENT_1_ID
mturk_manager = MTurkManager(
opt=opt,
mturk_agent_ids=[mturk_agent_id],
is_test=True
)
mturk_manager.server_url = server_url
mturk_manager.start_new_run()
task_group_id = mturk_manager.task_group_id
world_thread = threading.Thread(target=run_solo_world,
args=(opt, mturk_manager, False))
world_thread.daemon = True
world_thread.start()
# Create an agent and set it up to connect
def msg_callback(packet):
nonlocal last_command
nonlocal message_num
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
last_command = packet
else:
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
test_agent = MockAgent(opt, hit_id, assign_id, worker_id, task_group_id)
message_handler = \
make_packet_handler(test_agent, dummy, dummy, msg_callback)
test_agent.setup_socket(server_url, message_handler)
test_agent.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent, mturk_manager, AssignState.STATUS_IN_TASK)
mturk_manager_assign = \
mturk_manager.mturk_workers[worker_id].agents[assign_id]
assign_state = mturk_manager_assign.state
test_agent.always_beat = True
test_agent.send_heartbeat()
wait_for_state_time(3, mturk_manager)
# Run through task
assert test_agent.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
assert last_command.data['text'] == data_model.COMMAND_SEND_MESSAGE, \
'Agent was not asked to send message {}'.format(message_num)
test_agent.send_message('Hello1', dummy)
wait_for_state_time(2, mturk_manager)
check_status(assign_state.status, AssignState.STATUS_IN_TASK)
assert len(assign_state.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state.messages))
# Try to connect to second conversation
test_agent_2 = \
MockAgent(opt, hit_id, assign_id_2, worker_id, task_group_id)
message_handler = \
make_packet_handler(test_agent_2, dummy, dummy, msg_callback)
test_agent_2.setup_socket(server_url, message_handler)
test_agent_2.wait_for_alive()
wait_for_state_time(2, mturk_manager)
assert last_command.data['text'] == data_model.COMMAND_EXPIRE_HIT, \
'HIT was not immediately expired when connected'
# Finish first conversation
test_agent.send_message('Hello2', dummy)
test_agent.always_beat = False
wait_for_state_time(2, mturk_manager)
check_status(assign_state.status, AssignState.STATUS_DONE)
# Retry second conversation
last_command = None
message_num = 0
test_agent_2.send_alive()
test_agent_2.always_beat = False
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_2, mturk_manager, AssignState.STATUS_IN_TASK)
mturk_manager_assign_2 = \
mturk_manager.mturk_workers[worker_id].agents[assign_id_2]
assign_state_2 = mturk_manager_assign_2.state
test_agent_2.always_beat = True
test_agent_2.send_heartbeat()
wait_for_state_time(3, mturk_manager)
# Run through task
assert test_agent_2.conversation_id.startswith('t_'), \
'Mock agent didn\'t make it to task world'
assert last_command.data['text'] == data_model.COMMAND_SEND_MESSAGE, \
'Agent was not asked to send message {}'.format(message_num)
test_agent_2.send_message('Hello1', dummy)
wait_for_state_time(2, mturk_manager)
check_status(assign_state_2.status, AssignState.STATUS_IN_TASK)
assert len(assign_state_2.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state_2.messages))
test_agent_2.send_message('Hello2', dummy)
test_agent_2.always_beat = False
wait_for_state_time(2, mturk_manager)
check_status(assign_state_2.status, AssignState.STATUS_DONE)
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
check_status(assign_state.status, AssignState.STATUS_DONE)
assert len(assign_state.messages) == 0, \
'Messages were not cleared upon completion of the task'
assert mturk_manager_assign.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert message_num == 2, 'Not all messages were successfully processed'
completed_threads[ALLOWED_CONVERSATION_TEST] = True
def test_unique_workers_in_conversation(opt, server_url):
"""Ensures that a worker cannot start a conversation with themselves
when not in the sandbox
"""
global completed_threads
print('{} Starting'.format(UNIQUE_CONVERSATION_TEST))
opt['task'] = UNIQUE_CONVERSATION_TEST
opt['is_sandbox'] = False
opt['count_complete'] = True
hit_id = FAKE_HIT_ID.format(UNIQUE_CONVERSATION_TEST)
worker_id_1 = FAKE_WORKER_ID.format(UNIQUE_CONVERSATION_TEST, 1)
worker_id_2 = FAKE_WORKER_ID.format(UNIQUE_CONVERSATION_TEST, 2)
assign_id_1 = FAKE_ASSIGNMENT_ID.format(UNIQUE_CONVERSATION_TEST, 1)
assign_id_2 = FAKE_ASSIGNMENT_ID.format(UNIQUE_CONVERSATION_TEST, 2)
assign_id_3 = FAKE_ASSIGNMENT_ID.format(UNIQUE_CONVERSATION_TEST, 3)
connection_id_1 = '{}_{}'.format(worker_id_1, assign_id_1)
connection_id_2 = '{}_{}'.format(worker_id_1, assign_id_2)
connection_id_3 = '{}_{}'.format(worker_id_2, assign_id_3)
message_num = 0
expected_messages = [
TestDuoWorld.MESSAGE_1, TestDuoWorld.MESSAGE_2,
TestDuoWorld.MESSAGE_3, TestDuoWorld.MESSAGE_4
]
mturk_agent_id_1 = AGENT_1_ID
mturk_agent_id_2 = AGENT_2_ID
mturk_manager = MTurkManager(
opt=opt,
mturk_agent_ids=[mturk_agent_id_1, mturk_agent_id_2],
is_test=True
)
mturk_manager.server_url = server_url
mturk_manager.start_new_run()
task_group_id = mturk_manager.task_group_id
world_thread = threading.Thread(target=run_duo_world,
args=(opt, mturk_manager, False))
world_thread.daemon = True
world_thread.start()
# create and set up the two agents for the one worker
test_agent_1 = MockAgent(opt, hit_id, assign_id_1,
worker_id_1, task_group_id)
def msg_callback_1(packet):
nonlocal message_num
nonlocal test_agent_1
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_1.wants_to_send = True
elif test_agent_1.conversation_id.startswith('t_'):
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
message_handler_1 = \
make_packet_handler(test_agent_1, dummy, dummy, msg_callback_1)
test_agent_1.setup_socket(server_url, message_handler_1)
test_agent_1.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Assert that the state was properly set up
check_new_agent_setup(test_agent_1, mturk_manager,
AssignState.STATUS_WAITING)
mturk_manager_assign_1 = \
mturk_manager.mturk_workers[worker_id_1].agents[assign_id_1]
assign_state_1 = mturk_manager_assign_1.state
# Start heartbeats for 1
test_agent_1.always_beat = True
test_agent_1.send_heartbeat()
wait_for_state_time(3, mturk_manager)
# Ensure agent 1 is sitting in a waiting world now
assert test_agent_1.conversation_id.startswith('w_'), \
'Mock agent didn\'t make it to waiting'
check_status(assign_state_1.status, AssignState.STATUS_WAITING)
# Set up the second agent
test_agent_2 = MockAgent(opt, hit_id, assign_id_2,
worker_id_1, task_group_id)
def msg_callback_2(packet):
nonlocal message_num
nonlocal test_agent_2
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_2.wants_to_send = True
elif test_agent_2.conversation_id.startswith('t_'):
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
message_handler_2 = \
make_packet_handler(test_agent_2, dummy, dummy, msg_callback_2)
test_agent_2.setup_socket(server_url, message_handler_2)
test_agent_2.wait_for_alive()
wait_for_state_time(3, mturk_manager)
# Ensure no task has started yet
assert test_agent_2.conversation_id.startswith('w_'), \
'Mock agent didn\'t make it to waiting'
mturk_manager_assign_2 = \
mturk_manager.mturk_workers[worker_id_1].agents[assign_id_2]
assign_state_2 = mturk_manager_assign_2.state
check_status(assign_state_1.status, AssignState.STATUS_WAITING)
check_status(assign_state_2.status, AssignState.STATUS_WAITING)
# Start heartbeats for 2
test_agent_2.always_beat = True
test_agent_2.send_heartbeat()
wait_for_state_time(2, mturk_manager)
# Create third agent
test_agent_3 = MockAgent(opt, hit_id, assign_id_3,
worker_id_2, task_group_id)
def msg_callback_3(packet):
nonlocal message_num
nonlocal test_agent_3
if packet.data['type'] == data_model.MESSAGE_TYPE_COMMAND:
if packet.data['text'] == data_model.COMMAND_SEND_MESSAGE:
test_agent_3.wants_to_send = True
elif test_agent_1.conversation_id.startswith('t_'):
assert packet.data['text'] == expected_messages[message_num], \
'Expected {} for message {}, got {}'.format(
expected_messages[message_num],
message_num,
packet.data['text']
)
message_num += 1
message_handler_3 = \
make_packet_handler(test_agent_3, dummy, dummy, msg_callback_3)
test_agent_3.setup_socket(server_url, message_handler_3)
test_agent_3.wait_for_alive()
wait_for_state_time(2, mturk_manager)
# Start heartbeats for 3
test_agent_3.always_beat = True
test_agent_3.send_heartbeat()
# Assert that the state was properly set up
check_new_agent_setup(test_agent_3, mturk_manager,
AssignState.STATUS_IN_TASK)
mturk_manager_assign_3 = \
mturk_manager.mturk_workers[worker_id_2].agents[assign_id_3]
assign_state_3 = mturk_manager_assign_3.state
in_agent = None
in_assign = None
out_agent = None
out_assign = None
if assign_state_1.status == AssignState.STATUS_IN_TASK:
in_agent = test_agent_1
in_assign = mturk_manager_assign_1
out_agent = test_agent_2
out_assign = mturk_manager_assign_2
elif assign_state_2.status == AssignState.STATUS_IN_TASK:
out_agent = test_agent_1
out_assign = mturk_manager_assign_1
in_agent = test_agent_2
in_assign = mturk_manager_assign_2
else:
assert False, 'Neither agent moved into the task world'
wait_for_state_time(4, mturk_manager)
assert in_agent.wants_to_send or test_agent_3.wants_to_send, \
'Neither agent is ready to send a message after arriving in task'
first_agent = None
second_agent = None
if in_agent.wants_to_send:
first_agent = in_agent
second_agent = test_agent_3
else:
first_agent = test_agent_3
second_agent = in_agent
# Step through the task
first_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
second_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
first_agent.send_message(expected_messages[message_num])
wait_for_state_time(2, mturk_manager)
assert len(in_assign.state.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state_1.messages))
assert len(assign_state_3.messages) == 3, \
'Not all of the messages have been stored into the state, found {}' \
'when expecting 3'.format(len(assign_state_2.messages))
second_agent.send_message(expected_messages[message_num])
test_agent_1.always_beat = False
test_agent_2.always_beat = False
wait_for_state_time(3, mturk_manager)
check_status(in_assign.state.status, AssignState.STATUS_DONE)
check_status(out_assign.state.status, AssignState.STATUS_EXPIRED)
check_status(assign_state_3.status, AssignState.STATUS_DONE)
wait_for_state_time(DISCONNECT_WAIT_TIME, mturk_manager)
check_status(in_assign.state.status, AssignState.STATUS_DONE)
check_status(out_assign.state.status, AssignState.STATUS_EXPIRED)
check_status(assign_state_3.status, AssignState.STATUS_DONE)
assert mturk_manager.completed_conversations == 1, \
'Complete conversation not marked as complete'
assert in_assign.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert out_assign.disconnected == False, \
'MTurk manager improperly marked the agent as disconnected'
assert out_assign.hit_is_expired == True, \
'Expired HIT was not marked as such'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_1), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_2), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
assert not mturk_manager.socket_manager.socket_is_open(connection_id_3), \
'The socket manager didn\'t close the socket upon completion of the ' \
'task, though it should have'
completed_threads[UNIQUE_CONVERSATION_TEST] = True
# Map of tests to run to their testing function, slowest tests first reduces
# overall runtime
TESTS = {
DUO_NO_ONBOARDING_TEST: test_duo_no_onboarding,
SOLO_ONBOARDING_TEST: test_solo_with_onboarding,
DUO_ONBOARDING_TEST: test_duo_with_onboarding,
EXPIRE_HIT_TEST: test_expire_hit,
DUO_ONE_DISCONNECT_TEST: test_duo_one_disconnect,
DUO_VALID_RECONNECT_TEST: test_duo_valid_reconnects,
UNIQUE_CONVERSATION_TEST: test_unique_workers_in_conversation,
ALLOWED_CONVERSATION_TEST: test_allowed_conversations,
SOLO_REFRESH_TEST: test_solo_refresh_in_middle,
SOLO_NO_ONBOARDING_TEST: test_solo_no_onboarding,
COUNT_COMPLETE_TEST: test_count_complete,
SOCKET_TEST: test_socket_manager
}
# Runtime threads, MAX_THREADS is used on initial pass, RETEST_THREADS is used
# with flakey tests that failed under heavy load and thus may not have met
# the expected times for updating state
MAX_THREADS = 8
RETEST_THREADS = 2
def run_tests(tests_to_run, max_threads, base_opt, server_url):
global start_time
failed_tests = []
threads = {}
for test_name in tests_to_run:
while len(threads) >= max_threads:
new_threads = {}
for n in threads:
if threads[n].isAlive():
new_threads[n] = threads[n]
else:
if n in completed_threads:
print("{} Passed. Runtime - {} Seconds".format(
n,
time.time() - start_times[n]
))
else:
print("{} Failed. Runtime - {} Seconds".format(
n,
time.time() - start_times[n]
))
failed_tests.append(n)
threads = new_threads
time.sleep(1)
new_thread = threading.Thread(target=TESTS[test_name],
args=(base_opt.copy(), server_url))
new_thread.start()
start_times[test_name] = time.time()
threads[test_name] = new_thread
time.sleep(0.25)
while len(threads) > 0:
new_threads = {}
for n in threads:
if threads[n].isAlive():
new_threads[n] = threads[n]
else:
if n in completed_threads:
print("{} Passed. Runtime - {} Seconds".format(
n,
time.time() - start_times[n]
))
else:
print("{} Failed. Runtime - {} Seconds".format(
n,
time.time() - start_times[n]
))
failed_tests.append(n)
threads = new_threads
time.sleep(1)
return failed_tests
def main():
start_time = time.time()
argparser = ParlaiParser(False, False)
argparser.add_parlai_data_path()
argparser.add_mturk_args()
base_opt = argparser.parse_args()
base_opt['is_sandbox'] = True
base_opt['num_conversations'] = 1
base_opt['count_complete'] = False
task_name, server_url = handle_setup(base_opt)
print ("Setup time: {} seconds".format(time.time() - start_time))
start_time = time.time()
try:
failed_tests = run_tests(TESTS, MAX_THREADS, base_opt, server_url)
if len(failed_tests) == 0:
print("All tests passed, ParlAI MTurk is functioning")
else:
print("Some tests failed: ", failed_tests)
print("Retrying flakey tests with fewer threads")
flakey_tests = {}
for test_name in failed_tests:
flakey_tests[test_name] = TESTS[test_name]
failed_tests = run_tests(flakey_tests, RETEST_THREADS, \
base_opt, server_url)
if len(failed_tests) == 0:
print("All tests passed, ParlAI MTurk is functioning")
else:
print("Some tests failed even on retry: ", failed_tests)
test_duration = time.time() - start_time
print("Test duration: {} seconds".format(test_duration))
except:
raise
finally:
handle_shutdown(task_name)
if __name__ == '__main__':
main()
| 41.698972 | 82 | 0.689421 | 15,355 | 113,588 | 4.734419 | 0.034582 | 0.062231 | 0.016507 | 0.025531 | 0.824848 | 0.796003 | 0.771737 | 0.745285 | 0.725216 | 0.701322 | 0 | 0.0146 | 0.231794 | 113,588 | 2,723 | 83 | 41.714286 | 0.818517 | 0.070333 | 0 | 0.700492 | 0 | 0 | 0.107017 | 0.001967 | 0 | 0 | 0 | 0 | 0.089405 | 1 | 0.034421 | false | 0.005364 | 0.008046 | 0.000894 | 0.046044 | 0.009835 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
169033ad75e2979feda644824ebca382b40dc903 | 9,930 | py | Python | tests/manage.py | qevo/py_file_helper | 63162098c089757ffb747eda7d97b680edcff3b0 | [
"MIT"
] | null | null | null | tests/manage.py | qevo/py_file_helper | 63162098c089757ffb747eda7d97b680edcff3b0 | [
"MIT"
] | null | null | null | tests/manage.py | qevo/py_file_helper | 63162098c089757ffb747eda7d97b680edcff3b0 | [
"MIT"
] | null | null | null | """Tests for the file_helper.manage module"""
import os, sys, unittest, inspect
from re import IGNORECASE
from BaseTest import BaseTestWrapper
class FindFileTestCase(BaseTestWrapper.BaseTest):
"""manage.find_file() test cases"""
def test_this_file(self):
"""Test if this same file can be found by searching this same directory"""
path = os.path.abspath(inspect.getfile(inspect.currentframe()).replace('.pyc', '.py'))
name = os.path.basename(path)
args = {
"re_filter": ['*' + name],
"branch": os.path.dirname(path),
"recurse": False,
"depth": 0,
"get_file": True,
"get_dir": False,
"case_i": False
}
result = self._bt['func'](**args)
self.assertIn(path, result)
def test_this_file_case_i(self):
"""Test if this same file can be found by searching this same directory case insensitive"""
path = os.path.abspath(inspect.getfile(inspect.currentframe()).replace('.pyc', '.py'))
name = os.path.basename(path)
args = {
"re_filter": ['*' + name.upper()],
"branch": os.path.dirname(path),
"recurse": False,
"depth": 0,
"get_file": True,
"get_dir": False,
"case_i": True
}
result = self._bt['func'](**args)
self.assertIn(path, result)
def test_this_dir(self):
"""Test if the current working directory can be found by searching its parent directory"""
path = os.getcwd()
name = os.path.basename(path)
args = {
"re_filter": ['*' + name],
"branch": os.path.dirname(path),
"recurse": False,
"depth": 0,
"get_file": False,
"get_dir": True,
"case_i": False
}
result = self._bt['func'](**args)
self.assertEqual(path, ''.join(result))
def test_this_file_recurse(self):
"""Test if this same file can be found recursively"""
path = os.path.abspath(inspect.getfile(inspect.currentframe()).replace('.pyc', '.py'))
name = os.path.basename(path)
args = {
"re_filter": ['*' + name],
"branch": os.path.abspath(os.path.dirname(path) + '/..'),
"recurse": True,
"depth": 0,
"get_file": True,
"get_dir": False,
"case_i": False
}
result = self._bt['func'](**args)
# it is only because 'branch' is an absolute path that we can expect 'path' to be in 'result'
self.assertIn(path, result)
def test_this_dir_recurse(self):
"""Test if the current working directory can be found by searching its parent's parent directory"""
path = os.getcwd()
name = os.path.basename(path)
args = {
"re_filter": ['*' + name],
"branch": os.path.abspath(os.path.dirname(path) + '/..'),
"recurse": True,
"depth": 0,
"get_file": False,
"get_dir": True,
"case_i": False
}
result = self._bt['func'](**args)
self.assertIn(path, result)
def test_os_mod_file(self):
"""Test if this same file can be found"""
path = inspect.getfile(sys.modules['os'])
name = os.path.basename(path)
args = {
"re_filter": ['*' + name],
"branch": os.path.dirname(path),
"recurse": False,
"depth": 0,
"get_file": True,
"get_dir": False,
"case_i": False
}
result = self._bt['func'](**args)
self.assertEqual(path, ''.join(result))
class FindFileReTestCase(BaseTestWrapper.BaseTest):
"""manage.find_file_re() test cases"""
def test_this_file(self):
"""Test if this same file can be found by searching this same directory"""
path = os.path.abspath(inspect.getfile(inspect.currentframe()).replace('.pyc', '.py'))
name = os.path.basename(path)
args = {
"re_filter": ['^.*' + name + '$'],
"branch": os.path.dirname(path),
"recurse": False,
"depth": 0,
"get_file": True,
"get_dir": False,
"re_flag": 0
}
result = self._bt['func'](**args)
self.assertEqual(path, ''.join(result))
def test_this_file_case_i(self):
"""Test if this same file can be found by searching this same directory case insensitive"""
path = os.path.abspath(inspect.getfile(inspect.currentframe()).replace('.pyc', '.py'))
name = os.path.basename(path)
args = {
"re_filter": ['^.*' + name + '$'],
"branch": os.path.dirname(path),
"recurse": False,
"depth": 0,
"get_file": True,
"get_dir": False,
"re_flag": IGNORECASE
}
result = self._bt['func'](**args)
self.assertEqual(path, ''.join(result))
def test_this_dir(self):
"""Test if the current working directory can be found by searching its parent directory"""
path = os.getcwd()
name = os.path.basename(path)
args = {
"re_filter": ['^.*' + name + '$'],
"branch": os.path.dirname(path),
"recurse": False,
"depth": 0,
"get_file": False,
"get_dir": True,
"re_flag": 0
}
result = self._bt['func'](**args)
self.assertEqual(path, ''.join(result))
def test_this_file_recurse(self):
"""Test if this same file can be found recursively"""
path = os.path.abspath(inspect.getfile(inspect.currentframe()).replace('.pyc', '.py'))
name = os.path.basename(path)
args = {
"re_filter": ['^.*' + name + '$'],
"branch": os.path.abspath(os.path.dirname(path) + '/..'),
"recurse": True,
"depth": 0,
"get_file": True,
"get_dir": False,
"re_flag": 0
}
result = self._bt['func'](**args)
# it is only because 'branch' is an absolute path that we can expect 'path' to be in 'result'
self.assertIn(path, result)
def test_this_dir_recurse(self):
"""Test if the current working directory can be found by searching its parent's parent directory"""
path = os.getcwd()
name = os.path.basename(path)
args = {
"re_filter": ['^.*' + name + '$'],
"branch": os.path.abspath(os.path.dirname(path) + '/..'),
"recurse": True,
"depth": 0,
"get_file": False,
"get_dir": True,
"re_flag": 0
}
result = self._bt['func'](**args)
self.assertIn(path, result)
def test_os_mod_file(self):
"""Test if this same file can be found"""
path = inspect.getfile(sys.modules['os'])
name = os.path.basename(path)
args = {
"re_filter": ['^.*' + name + '$'],
"branch": os.path.dirname(path),
"recurse": False,
"depth": 0,
"get_file": True,
"get_dir": False,
"re_flag": 0
}
result = self._bt['func'](**args)
self.assertEqual(path, ''.join(result))
class ListDirTestCase(BaseTestWrapper.BaseTest):
"""manage.list_dir() test cases"""
def test_this_file(self):
"""Test if this same file can be found by searching this same directory"""
path = os.path.abspath(inspect.getfile(inspect.currentframe()).replace('.pyc', '.py'))
name = os.path.basename(path)
args = {
"dir": os.path.dirname(path),
"recurse": False,
"depth": 0,
"get_file": True,
"get_dir": False
}
result = self._bt['func'](**args)
self.assertIn(path, result)
def test_this_file_recurse(self):
"""Test if this same file can be found by recursively searching this same directory"""
path = os.path.abspath(inspect.getfile(inspect.currentframe()).replace('.pyc', '.py'))
name = os.path.basename(path)
args = {
"dir": os.path.dirname(path),
"recurse": True,
"depth": 1,
"get_file": True,
"get_dir": False
}
result = self._bt['func'](**args)
self.assertIn(path, result)
def test_this_dir(self):
"""Test if the current working directory can be found by searching its parent directory"""
path = os.getcwd()
name = os.path.basename(path)
args = {
"dir": os.path.dirname(path),
"recurse": False,
"depth": 0,
"get_file": False,
"get_dir": True
}
result = self._bt['func'](**args)
self.assertIn(path, result)
def test_this_dir_recurse(self):
"""Test if the current working directory can be found by recursively searching its parent directory"""
path = os.getcwd()
name = os.path.basename(path)
args = {
"dir": os.path.dirname(path),
"recurse": True,
"depth": 1,
"get_file": False,
"get_dir": True
}
result = self._bt['func'](**args)
self.assertIn(path, result)
loader = unittest.TestLoader()
suite = loader.loadTestsFromModule(sys.modules[__name__])
if __name__ == '__main__':
result = unittest.result.TestResult()
suite.run(result)
print result
for f in result.failures:
for t in f:
print t
print ''
for e in result.errors:
for t in e:
print t
print ''
| 28.699422 | 110 | 0.520242 | 1,116 | 9,930 | 4.509857 | 0.090502 | 0.052454 | 0.03179 | 0.057222 | 0.914961 | 0.900258 | 0.895887 | 0.895887 | 0.895887 | 0.895887 | 0 | 0.003174 | 0.333736 | 9,930 | 345 | 111 | 28.782609 | 0.757557 | 0.018429 | 0 | 0.851695 | 0 | 0 | 0.104986 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0 | null | null | 0 | 0.012712 | null | null | 0.021186 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
16c717e6c94ea0b9191b319f6480c1ad2def7e74 | 9,427 | py | Python | rohypnol/tests.py | GermanoGuerrini/django-rohypnol | 8f1b85177d75375d102f156105b60954e75c12b2 | [
"MIT"
] | null | null | null | rohypnol/tests.py | GermanoGuerrini/django-rohypnol | 8f1b85177d75375d102f156105b60954e75c12b2 | [
"MIT"
] | null | null | null | rohypnol/tests.py | GermanoGuerrini/django-rohypnol | 8f1b85177d75375d102f156105b60954e75c12b2 | [
"MIT"
] | null | null | null | import unittest
from django.test.utils import override_settings
from django.db import models
from django.dispatch import Signal
from django.core.cache import cache
from rohypnol.register import RohypnolRegister, rohypnol, connect_all_signals
mock_signal_0 = Signal()
mock_signal_1 = Signal()
class MockModelA(models.Model): pass
class MockModelB(models.Model): pass
class RegisterTest(unittest.TestCase):
def test_register(self):
r = RohypnolRegister()
r.register(MockModelA, 'k0', mock_signal_0)
self.assertEqual(r._registry, {
mock_signal_0: {MockModelA: set(['k0'])}
})
r.register(MockModelA, 'k0', mock_signal_1)
self.assertEqual(r._registry, {
mock_signal_0: {MockModelA: set(['k0'])},
mock_signal_1: {MockModelA: set(['k0'])}
})
r.register(MockModelA, 'k0', (mock_signal_0, mock_signal_1))
self.assertEqual(r._registry, {
mock_signal_0: {MockModelA: set(['k0'])},
mock_signal_1: {MockModelA: set(['k0'])}
})
r.register(MockModelA, 'k1', (mock_signal_0, mock_signal_1))
self.assertEqual(r._registry, {
mock_signal_0: {MockModelA: set(['k0', 'k1'])},
mock_signal_1: {MockModelA: set(['k0', 'k1'])},
})
r.register(MockModelA, ('k0', 'k2'), mock_signal_0)
self.assertEqual(r._registry, {
mock_signal_0: {MockModelA: set(['k0', 'k1', 'k2'])},
mock_signal_1: {MockModelA: set(['k0', 'k1'])},
})
r.register(MockModelB, ('k0', 'k2'), mock_signal_0)
self.assertEqual(r._registry, {
mock_signal_0: {MockModelA: set(['k0', 'k1', 'k2']), MockModelB: set(['k0', 'k2'])},
mock_signal_1: {MockModelA: set(['k0', 'k1'])},
})
r.register((MockModelA, MockModelB), ('k0', 'k2'), (mock_signal_0, mock_signal_1))
self.assertEqual(r._registry, {
mock_signal_0: {MockModelA: set(['k0', 'k1', 'k2']), MockModelB: set(['k0', 'k2'])},
mock_signal_1: {MockModelA: set(['k0', 'k1', 'k2']), MockModelB: set(['k0', 'k2'])},
})
@override_settings(DEBUG=True)
def test_wrong_signal(self):
r = RohypnolRegister()
self.assertRaises(AssertionError, r.register, MockModelA, 'k0', 'mock_signal_0')
@override_settings(DEBUG=True)
def test_wrong_model(self):
r = RohypnolRegister()
self.assertRaises(AssertionError, r.register, 'MockModelA', 'k0', mock_signal_0)
def test_delete(self):
k0, k1, k2 = 'k0', 'k1', 'k2'
v0, v1, v2 = 'v0', 'v1', 'v2'
cache_timeout = 10
r = RohypnolRegister()
def set_cache():
cache.set(k0, v0, cache_timeout)
cache.set(k1, v1, cache_timeout)
cache.set(k2, v2, cache_timeout)
r.disconnect()
set_cache()
r.register(MockModelA, k0, mock_signal_0)
r.register(MockModelB, k1, mock_signal_1)
r.connect()
mock_signal_0.send(sender=MockModelA)
self.assertIsNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_1.send(sender=MockModelB)
self.assertIsNone(cache.get(k0))
self.assertIsNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_0.send(sender=MockModelB)
self.assertIsNone(cache.get(k0))
self.assertIsNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
set_cache()
r.register(MockModelA, k0, (mock_signal_0, mock_signal_1))
r.connect()
mock_signal_0.send(sender=MockModelA)
self.assertIsNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_1.send(sender=MockModelA)
self.assertIsNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_0.send(sender=MockModelB)
self.assertIsNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_1.send(sender=MockModelB)
self.assertIsNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
set_cache()
r.register((MockModelA, MockModelB), (k0, k1), mock_signal_0)
r.connect()
mock_signal_0.send(sender=MockModelA)
self.assertIsNone(cache.get(k0))
self.assertIsNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_0.send(sender=MockModelB)
self.assertIsNone(cache.get(k0))
self.assertIsNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_1.send(sender=MockModelA)
self.assertIsNone(cache.get(k0))
self.assertIsNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
set_cache()
r.register((MockModelA, MockModelB), k0, (mock_signal_0, mock_signal_1))
r.connect()
mock_signal_0.send(sender=MockModelA)
self.assertIsNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_1.send(sender=MockModelA)
self.assertIsNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_0.send(sender=MockModelB)
self.assertIsNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_1.send(sender=MockModelB)
self.assertIsNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
set_cache()
r.register(MockModelA, (k0, k1), mock_signal_0)
r.register(MockModelB, (k0, k2), mock_signal_0)
r.connect()
mock_signal_1.send(sender=MockModelA)
self.assertIsNotNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_0.send(sender=MockModelA)
self.assertIsNone(cache.get(k0))
self.assertIsNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_0.send(sender=MockModelB)
self.assertIsNone(cache.get(k0))
self.assertIsNone(cache.get(k1))
self.assertIsNone(cache.get(k2))
set_cache()
r.register(MockModelA, (k0, k1), mock_signal_0)
r.register(MockModelB, (k0, k2), mock_signal_1)
r.connect()
mock_signal_0.send(sender=MockModelB)
self.assertIsNotNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_1.send(sender=MockModelA)
self.assertIsNotNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_1.send(sender=MockModelB)
self.assertIsNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNone(cache.get(k2))
set_cache()
r.register(MockModelA, k0, mock_signal_0)
r.register(MockModelA, k1, mock_signal_0)
r.register(MockModelA, k2, mock_signal_0)
r.connect()
mock_signal_0.send(sender=MockModelA)
self.assertIsNone(cache.get(k0))
self.assertIsNone(cache.get(k1))
self.assertIsNone(cache.get(k2))
set_cache()
r.register(MockModelA, k0, mock_signal_0)
r.register(MockModelA, k1, mock_signal_0)
r.register(MockModelA, k2, mock_signal_0)
r.connect()
mock_signal_0.send(sender=MockModelA)
self.assertIsNone(cache.get(k0))
self.assertIsNone(cache.get(k1))
self.assertIsNone(cache.get(k2))
set_cache()
r.register(MockModelA, k0, mock_signal_1)
r.register(MockModelA, k1, mock_signal_0)
r.register(MockModelA, k2, mock_signal_0)
r.connect()
mock_signal_0.send(sender=MockModelA)
self.assertIsNotNone(cache.get(k0))
self.assertIsNone(cache.get(k1))
self.assertIsNone(cache.get(k2))
mock_signal_0.send(sender=MockModelB)
self.assertIsNotNone(cache.get(k0))
self.assertIsNone(cache.get(k1))
self.assertIsNone(cache.get(k2))
def test_connect_all_signals(self):
k0, k1, k2 = 'k0', 'k1', 'k2'
v0, v1, v2 = 'v0', 'v1', 'v2'
cache_timeout = 10
def set_cache():
cache.set(k0, v0, cache_timeout)
cache.set(k1, v1, cache_timeout)
cache.set(k2, v2, cache_timeout)
rohypnol.disconnect()
set_cache()
rohypnol.register(MockModelA, k0, mock_signal_0)
rohypnol.register(MockModelB, k1, mock_signal_1)
connect_all_signals()
mock_signal_0.send(sender=MockModelA)
self.assertIsNone(cache.get(k0))
self.assertIsNotNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_1.send(sender=MockModelB)
self.assertIsNone(cache.get(k0))
self.assertIsNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
mock_signal_0.send(sender=MockModelB)
self.assertIsNone(cache.get(k0))
self.assertIsNone(cache.get(k1))
self.assertIsNotNone(cache.get(k2))
| 37.40873 | 96 | 0.630105 | 1,145 | 9,427 | 5.017467 | 0.048908 | 0.112794 | 0.093821 | 0.171279 | 0.920104 | 0.920104 | 0.896606 | 0.879547 | 0.87624 | 0.869278 | 0 | 0.036714 | 0.234327 | 9,427 | 251 | 97 | 37.557769 | 0.759213 | 0 | 0 | 0.815315 | 0 | 0 | 0.014108 | 0 | 0 | 0 | 0 | 0 | 0.405405 | 1 | 0.031532 | false | 0.009009 | 0.027027 | 0 | 0.072072 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
bc897583daefed99befe0e86a65f0624382e0087 | 9,643 | py | Python | tests/modules/contact/test_contact_update.py | bladeroot/heppy | b597916ff80890ca057b17cdd156e90bbbd9a87a | [
"BSD-3-Clause"
] | 20 | 2016-06-02T20:29:29.000Z | 2022-01-31T07:47:02.000Z | tests/modules/contact/test_contact_update.py | bladeroot/heppy | b597916ff80890ca057b17cdd156e90bbbd9a87a | [
"BSD-3-Clause"
] | 1 | 2018-10-09T16:09:24.000Z | 2018-10-10T08:17:42.000Z | tests/modules/contact/test_contact_update.py | bladeroot/heppy | b597916ff80890ca057b17cdd156e90bbbd9a87a | [
"BSD-3-Clause"
] | 7 | 2018-04-11T16:05:06.000Z | 2020-01-28T16:30:40.000Z | #!/usr/bin/env python
import unittest
from ..TestCase import TestCase
class TestContactCheck(TestCase):
def test_render_contact_update_request_min(self):
self.assertRequest('''<?xml version="1.0" ?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
<contact:update xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
<contact:id>sh8013</contact:id>
</contact:update>
</update>
<clTRID>XXXX-11</clTRID>
</command>
</epp>''', {
'command': 'contact:update',
'id': 'sh8013',
'clTRID': 'XXXX-11',
})
def test_render_contact_update_request_add(self):
self.assertRequest('''<?xml version="1.0" ?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
<contact:update xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
<contact:id>sh8013</contact:id>
<contact:add>
<contact:status s="clientHold">Payment overdue.</contact:status>
<contact:status s="clientUpdateProhibited"/>
</contact:add>
</contact:update>
</update>
<clTRID>XXXX-11</clTRID>
</command>
</epp>''', {
'command': 'contact:update',
'id': 'sh8013',
'add': {
'statuses': {
'clientHold': 'Payment overdue.',
'clientUpdateProhibited': None
}
},
'clTRID': 'XXXX-11',
})
def test_render_contact_update_request_rem(self):
self.assertRequest('''<?xml version="1.0" ?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
<contact:update xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
<contact:id>sh8013</contact:id>
<contact:rem>
<contact:status s="clientHold">Payment overdue.</contact:status>
<contact:status s="clientUpdateProhibited"/>
</contact:rem>
</contact:update>
</update>
<clTRID>XXXX-11</clTRID>
</command>
</epp>''', {
'command': 'contact:update',
'id': 'sh8013',
'rem': {
'statuses': {
'clientHold': 'Payment overdue.',
'clientUpdateProhibited': None
}
},
'clTRID': 'XXXX-11',
})
def test_render_contact_update_request_chg(self):
self.assertRequest('''<?xml version="1.0" ?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
<contact:update xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
<contact:id>sh8013</contact:id>
<contact:chg>
<contact:postalInfo type="int">
<contact:name>John Doe</contact:name>
<contact:org>Example Inc.</contact:org>
<contact:addr>
<contact:street>123 Example Dr.</contact:street>
<contact:street>Suite 100</contact:street>
<contact:city>Dulles</contact:city>
<contact:sp>VA</contact:sp>
<contact:pc>20166-6503</contact:pc>
<contact:cc>US</contact:cc>
</contact:addr>
</contact:postalInfo>
<contact:voice>+1.7035555555</contact:voice>
<contact:fax>+1.7035555556</contact:fax>
<contact:email>jdoe@example.com</contact:email>
<contact:authInfo>
<contact:pw>2fooBAR</contact:pw>
</contact:authInfo>
</contact:chg>
</contact:update>
</update>
<clTRID>XXXX-11</clTRID>
</command>
</epp>''', {
'command': 'contact:update',
'id': 'sh8013',
'chg': {
'name': 'John Doe',
'org': 'Example Inc.',
'city': 'Dulles',
'street1': '123 Example Dr.',
'street2': 'Suite 100',
'sp': 'VA',
'pc': '20166-6503',
'cc': 'US',
'voice': '+1.7035555555',
'fax': '+1.7035555556',
'email': 'jdoe@example.com',
'pw': '2fooBAR',
},
'clTRID': 'XXXX-11',
})
def test_render_contact_update_request(self):
self.assertRequest('''<?xml version="1.0" ?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
<contact:update xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
<contact:id>sh8013</contact:id>
<contact:add>
<contact:status s="clientHold">Payment overdue.</contact:status>
<contact:status s="clientUpdateProhibited"/>
</contact:add>
<contact:rem>
<contact:status s="clientHold">Payment overdue.</contact:status>
<contact:status s="clientUpdateProhibited"/>
</contact:rem>
<contact:chg>
<contact:postalInfo type="int">
<contact:name>John Doe</contact:name>
<contact:org>Example Inc.</contact:org>
<contact:addr>
<contact:street>123 Example Dr.</contact:street>
<contact:street>Suite 100</contact:street>
<contact:city>Dulles</contact:city>
<contact:sp>VA</contact:sp>
<contact:pc>20166-6503</contact:pc>
<contact:cc>US</contact:cc>
</contact:addr>
</contact:postalInfo>
<contact:voice>+1.7035555555</contact:voice>
<contact:fax>+1.7035555556</contact:fax>
<contact:email>jdoe@example.com</contact:email>
<contact:authInfo>
<contact:pw>2fooBAR</contact:pw>
</contact:authInfo>
</contact:chg>
</contact:update>
</update>
<clTRID>XXXX-11</clTRID>
</command>
</epp>''', {
'command': 'contact:update',
'id': 'sh8013',
'add': {
'statuses': {
'clientHold': 'Payment overdue.',
'clientUpdateProhibited': None
}
},
'rem': {
'statuses': {
'clientHold': 'Payment overdue.',
'clientUpdateProhibited': None
}
},
'chg': {
'name': 'John Doe',
'org': 'Example Inc.',
'city': 'Dulles',
'street1': '123 Example Dr.',
'street2': 'Suite 100',
'sp': 'VA',
'pc': '20166-6503',
'cc': 'US',
'voice': '+1.7035555555',
'fax': '+1.7035555556',
'email': 'jdoe@example.com',
'pw': '2fooBAR',
},
'clTRID': 'XXXX-11',
})
def test_parse_contact_update_response_success(self):
self.assertResponse({
'clTRID': 'XXXX-11',
'result_code': '1000',
'result_lang': 'en-US',
'result_msg': 'Command completed successfully',
'svTRID': 'SRW-425500000011139056'
}, '''<?xml version="1.0" ?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<response>
<result code="1000">
<msg lang="en-US">Command completed successfully</msg>
</result>
<trID>
<clTRID>XXXX-11</clTRID>
<svTRID>SRW-425500000011139056</svTRID>
</trID>
</response>
</epp>
''')
def test_parse_contact_update_response_fail(self):
self.assertResponse({
'clTRID': 'XXXX-11',
'result_code': '2004',
'result_lang': 'en-US',
'result_msg': 'Parameter value range error',
'result_reason': '2004:Parameter value range error (contact-status: clientHold)',
'svTRID': 'SRW-425500000011139080'
}, '''<?xml version="1.0" ?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<response>
<result code="2004">
<msg lang="en-US">Parameter value range error</msg>
<value xmlns:oxrs="urn:afilias:params:xml:ns:oxrs-1.1">
<oxrs:xcp>2004:Parameter value range error (contact-status: clientHold)</oxrs:xcp>
</value>
</result>
<trID>
<clTRID>XXXX-11</clTRID>
<svTRID>SRW-425500000011139080</svTRID>
</trID>
</response>
</epp>
''')
if __name__ == '__main__':
unittest.main()
| 38.265873 | 162 | 0.464067 | 871 | 9,643 | 5.081516 | 0.137773 | 0.010393 | 0.03728 | 0.05061 | 0.891324 | 0.891324 | 0.860145 | 0.845685 | 0.786037 | 0.769995 | 0 | 0.064035 | 0.387846 | 9,643 | 251 | 163 | 38.418327 | 0.685753 | 0.002074 | 0 | 0.839662 | 0 | 0.037975 | 0.710351 | 0.232072 | 0 | 0 | 0 | 0 | 0.029536 | 1 | 0.029536 | false | 0 | 0.008439 | 0 | 0.042194 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9121cfede2d2d070543939b140af458a5cc8c2ca | 38 | py | Python | gridworld/__init__.py | lzhyu/GridWorld | 43669fb1dd01df1a94bc8671d4ee6a466f6f49d0 | [
"MIT"
] | null | null | null | gridworld/__init__.py | lzhyu/GridWorld | 43669fb1dd01df1a94bc8671d4ee6a466f6f49d0 | [
"MIT"
] | null | null | null | gridworld/__init__.py | lzhyu/GridWorld | 43669fb1dd01df1a94bc8671d4ee6a466f6f49d0 | [
"MIT"
] | 2 | 2021-03-21T06:05:04.000Z | 2021-09-22T06:51:55.000Z | from . import envs
from . import utils | 19 | 19 | 0.763158 | 6 | 38 | 4.833333 | 0.666667 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 2 | 19 | 19 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
91527262a51014454c2176a0a63718a04093be2d | 8,616 | py | Python | diff_evolution/algo.py | rzepinskip/differential-evolution | 3de6cbef5463b19cf045452f4a8a2242d5390c9d | [
"MIT"
] | null | null | null | diff_evolution/algo.py | rzepinskip/differential-evolution | 3de6cbef5463b19cf045452f4a8a2242d5390c9d | [
"MIT"
] | null | null | null | diff_evolution/algo.py | rzepinskip/differential-evolution | 3de6cbef5463b19cf045452f4a8a2242d5390c9d | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from typing import Callable, List, Tuple
import numpy as np
from diff_evolution.algo_control import AlgorithmControl
def init_population_uniform(population_size, bounds: List[Tuple[float, float]]):
dimensions = len(bounds)
pop_norm = np.random.rand(population_size, dimensions)
min_b, max_b = np.asarray(bounds).T
diff = np.fabs(min_b - max_b)
pop = min_b + pop_norm * diff
return pop
def within_bounds(x, mn, mx):
return not ((x < mn) | (x > mx)).any()
# based on https://pablormier.github.io/2017/09/05/a-tutorial-on-differential-evolution-with-python/
class DifferentialEvolution(ABC):
def __init__(
self, mutation_factor, crossover, seed,
):
if seed:
np.random.seed(seed)
self.mutation_factor = mutation_factor
self.crossover = crossover
def run(
self,
algorithm_control: AlgorithmControl,
bounds: List[Tuple[float, float]],
population_initializer: Callable,
population_size=None,
):
dimensions = len(bounds)
if not population_size:
population_size = 4 * dimensions
pop = population_initializer(population_size, bounds)
fitness = np.asarray([algorithm_control.test_func(ind) for ind in pop])
best_idx = np.argmin(fitness)
algorithm_control.update_best_fitness(fitness[best_idx])
best = pop[best_idx]
self.population_history = [pop.copy()]
mn, mx = np.array(bounds).T
while algorithm_control.check_stop_criteria():
for j in range(population_size):
idxs = [idx for idx in range(population_size) if idx != j]
for retry in range(population_size):
a, b, c = pop[np.random.choice(idxs, 3, replace=False)]
mutation_factorant = a + self.mutation_factor * (b - c)
if within_bounds(mutation_factorant, mn, mx):
break
elif retry == population_size - 1:
mutation_factorant = np.clip(mutation_factorant, mn, mx,)
cross_points = np.random.rand(dimensions) < self.crossover
trial = np.where(cross_points, mutation_factorant, pop[j])
f = algorithm_control.test_func(trial)
if f is None:
break
if f < fitness[j]:
fitness[j] = f
pop[j] = trial
if f < fitness[best_idx]:
best_idx = j
best = trial
algorithm_control.update_best_fitness(f)
self.population_history += [pop.copy()]
return best
class ConstantDE(DifferentialEvolution):
def __init__(
self, mutation_factor=0.8, crossover=0.9, seed=None,
):
super().__init__(
mutation_factor=mutation_factor, crossover=crossover, seed=seed,
)
class ConstantSuccessRuleDE(DifferentialEvolution):
def __init__(
self, mutation_factor=0.8, crossover=0.9, seed=None,
):
super().__init__(
mutation_factor=mutation_factor, crossover=crossover, seed=seed,
)
def run(
self,
algorithm_control: AlgorithmControl,
bounds: List[Tuple[float, float]],
population_initializer: Callable,
population_size=None,
):
dimensions = len(bounds)
if not population_size:
population_size = 4 * dimensions
pop = population_initializer(population_size, bounds)
fitness = np.asarray([algorithm_control.test_func(ind) for ind in pop])
best_idx = np.argmin(fitness)
algorithm_control.update_best_fitness(fitness[best_idx])
best = pop[best_idx]
self.population_history = [pop.copy()]
mn, mx = np.array(bounds).T
while algorithm_control.check_stop_criteria():
mean_prev_pop_member = np.mean(pop, axis=0)
mean_prev_pop_member_fit = algorithm_control.test_func(mean_prev_pop_member)
if mean_prev_pop_member_fit is None:
break
for j in range(population_size):
idxs = [idx for idx in range(population_size) if idx != j]
for retry in range(population_size):
a, b, c = pop[np.random.choice(idxs, 3, replace=False)]
mutation_factorant = a + self.mutation_factor * (b - c)
if within_bounds(mutation_factorant, mn, mx):
break
elif retry == population_size - 1:
mutation_factorant = np.clip(mutation_factorant, mn, mx,)
cross_points = np.random.rand(dimensions) < self.crossover
trial = np.where(cross_points, mutation_factorant, pop[j])
f = algorithm_control.test_func(trial)
if f is None:
break
if f < fitness[j]:
fitness[j] = f
pop[j] = trial
if f < fitness[best_idx]:
best_idx = j
best = trial
algorithm_control.update_best_fitness(f)
self.population_history += [pop.copy()]
better_than_mean = sum(fitness < mean_prev_pop_member_fit)
if better_than_mean > 0.2 * population_size:
self.mutation_factor = 1.22 * self.mutation_factor
else:
self.mutation_factor = 0.82 * self.mutation_factor
self.mutation_factor = np.clip(self.mutation_factor, 0.5, 2.0)
return best
class RandomSuccessRuleDE(DifferentialEvolution):
def __init__(
self, mutation_factor=0.8, crossover=0.9, seed=None,
):
super().__init__(
mutation_factor=mutation_factor, crossover=crossover, seed=seed,
)
def run(
self,
algorithm_control: AlgorithmControl,
bounds: List[Tuple[float, float]],
population_initializer: Callable,
population_size=None,
):
dimensions = len(bounds)
if not population_size:
population_size = 4 * dimensions
pop = population_initializer(population_size, bounds)
fitness = np.asarray([algorithm_control.test_func(ind) for ind in pop])
best_idx = np.argmin(fitness)
algorithm_control.update_best_fitness(fitness[best_idx])
best = pop[best_idx]
self.population_history = [pop.copy()]
mn, mx = np.array(bounds).T
while algorithm_control.check_stop_criteria():
mean_prev_pop_member = np.mean(pop, axis=0)
mean_prev_pop_member_fit = algorithm_control.test_func(mean_prev_pop_member)
if mean_prev_pop_member_fit is None:
break
for j in range(population_size):
idxs = [idx for idx in range(population_size) if idx != j]
for retry in range(population_size):
a, b, c = pop[np.random.choice(idxs, 3, replace=False)]
mutation_factorant = a + self.mutation_factor * (b - c)
if within_bounds(mutation_factorant, mn, mx):
break
elif retry == population_size - 1:
mutation_factorant = np.clip(mutation_factorant, mn, mx,)
cross_points = np.random.rand(dimensions) < self.crossover
trial = np.where(cross_points, mutation_factorant, pop[j])
f = algorithm_control.test_func(trial)
if f is None:
break
if f < fitness[j]:
fitness[j] = f
pop[j] = trial
if f < fitness[best_idx]:
best_idx = j
best = trial
algorithm_control.update_best_fitness(f)
self.population_history += [pop.copy()]
better_than_mean = sum(fitness < mean_prev_pop_member_fit)
if better_than_mean > 0.2 * population_size:
self.mutation_factor = (
np.random.uniform(low=1.0, high=1.5) * self.mutation_factor
)
else:
self.mutation_factor = (
np.random.uniform(low=0.5, high=1.0) * self.mutation_factor
)
self.mutation_factor = np.clip(self.mutation_factor, 0.5, 2.0)
return best
| 37.137931 | 100 | 0.573584 | 977 | 8,616 | 4.816786 | 0.131013 | 0.083298 | 0.076498 | 0.036124 | 0.866128 | 0.855504 | 0.855504 | 0.830854 | 0.830854 | 0.830854 | 0 | 0.010018 | 0.339601 | 8,616 | 231 | 101 | 37.298701 | 0.817047 | 0.011374 | 0 | 0.84127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.021164 | 0.005291 | 0.116402 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
e69ac3f38e28b4274891ae72a0ba4cfd8c6cb6b5 | 9,744 | py | Python | ros-src/catkin_ws/install/lib/python2.7/dist-packages/gf_beacon/srv/_gf_encoding.py | geofrenzy/utm-mbsb | d2d1f2f7d07c2f39b5438a5486ce954947b873f5 | [
"Apache-2.0"
] | null | null | null | ros-src/catkin_ws/install/lib/python2.7/dist-packages/gf_beacon/srv/_gf_encoding.py | geofrenzy/utm-mbsb | d2d1f2f7d07c2f39b5438a5486ce954947b873f5 | [
"Apache-2.0"
] | null | null | null | ros-src/catkin_ws/install/lib/python2.7/dist-packages/gf_beacon/srv/_gf_encoding.py | geofrenzy/utm-mbsb | d2d1f2f7d07c2f39b5438a5486ce954947b873f5 | [
"Apache-2.0"
] | null | null | null | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from gf_beacon/gf_encodingRequest.msg. Do not edit."""
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
class gf_encodingRequest(genpy.Message):
_md5sum = "b4f5ff271c45bb829d5e504e08e16e34"
_type = "gf_beacon/gf_encodingRequest"
_has_header = False #flag to mark the presence of a Header object
_full_text = """float64 lng_deg
float64 lat_deg
float64 alt_agl_m
float64 speed_mph
float64 heading_deg
float64 battery_level
uint16 flying_state_on
uint16 return_to_home_state_on
uint16 forced_landing_state_on
"""
__slots__ = ['lng_deg','lat_deg','alt_agl_m','speed_mph','heading_deg','battery_level','flying_state_on','return_to_home_state_on','forced_landing_state_on']
_slot_types = ['float64','float64','float64','float64','float64','float64','uint16','uint16','uint16']
def __init__(self, *args, **kwds):
"""
Constructor. Any message fields that are implicitly/explicitly
set to None will be assigned a default value. The recommend
use is keyword arguments as this is more robust to future message
changes. You cannot mix in-order arguments and keyword arguments.
The available fields are:
lng_deg,lat_deg,alt_agl_m,speed_mph,heading_deg,battery_level,flying_state_on,return_to_home_state_on,forced_landing_state_on
:param args: complete set of field values, in .msg order
:param kwds: use keyword arguments corresponding to message field names
to set specific fields.
"""
if args or kwds:
super(gf_encodingRequest, self).__init__(*args, **kwds)
#message fields cannot be None, assign default values for those that are
if self.lng_deg is None:
self.lng_deg = 0.
if self.lat_deg is None:
self.lat_deg = 0.
if self.alt_agl_m is None:
self.alt_agl_m = 0.
if self.speed_mph is None:
self.speed_mph = 0.
if self.heading_deg is None:
self.heading_deg = 0.
if self.battery_level is None:
self.battery_level = 0.
if self.flying_state_on is None:
self.flying_state_on = 0
if self.return_to_home_state_on is None:
self.return_to_home_state_on = 0
if self.forced_landing_state_on is None:
self.forced_landing_state_on = 0
else:
self.lng_deg = 0.
self.lat_deg = 0.
self.alt_agl_m = 0.
self.speed_mph = 0.
self.heading_deg = 0.
self.battery_level = 0.
self.flying_state_on = 0
self.return_to_home_state_on = 0
self.forced_landing_state_on = 0
def _get_types(self):
"""
internal API method
"""
return self._slot_types
def serialize(self, buff):
"""
serialize message into buffer
:param buff: buffer, ``StringIO``
"""
try:
_x = self
buff.write(_get_struct_6d3H().pack(_x.lng_deg, _x.lat_deg, _x.alt_agl_m, _x.speed_mph, _x.heading_deg, _x.battery_level, _x.flying_state_on, _x.return_to_home_state_on, _x.forced_landing_state_on))
except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
def deserialize(self, str):
"""
unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``
"""
try:
end = 0
_x = self
start = end
end += 54
(_x.lng_deg, _x.lat_deg, _x.alt_agl_m, _x.speed_mph, _x.heading_deg, _x.battery_level, _x.flying_state_on, _x.return_to_home_state_on, _x.forced_landing_state_on,) = _get_struct_6d3H().unpack(str[start:end])
return self
except struct.error as e:
raise genpy.DeserializationError(e) #most likely buffer underfill
def serialize_numpy(self, buff, numpy):
"""
serialize message with numpy array types into buffer
:param buff: buffer, ``StringIO``
:param numpy: numpy python module
"""
try:
_x = self
buff.write(_get_struct_6d3H().pack(_x.lng_deg, _x.lat_deg, _x.alt_agl_m, _x.speed_mph, _x.heading_deg, _x.battery_level, _x.flying_state_on, _x.return_to_home_state_on, _x.forced_landing_state_on))
except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
def deserialize_numpy(self, str, numpy):
"""
unpack serialized message in str into this message instance using numpy for array types
:param str: byte array of serialized message, ``str``
:param numpy: numpy python module
"""
try:
end = 0
_x = self
start = end
end += 54
(_x.lng_deg, _x.lat_deg, _x.alt_agl_m, _x.speed_mph, _x.heading_deg, _x.battery_level, _x.flying_state_on, _x.return_to_home_state_on, _x.forced_landing_state_on,) = _get_struct_6d3H().unpack(str[start:end])
return self
except struct.error as e:
raise genpy.DeserializationError(e) #most likely buffer underfill
_struct_I = genpy.struct_I
def _get_struct_I():
global _struct_I
return _struct_I
_struct_6d3H = None
def _get_struct_6d3H():
global _struct_6d3H
if _struct_6d3H is None:
_struct_6d3H = struct.Struct("<6d3H")
return _struct_6d3H
# This Python file uses the following encoding: utf-8
"""autogenerated by genpy from gf_beacon/gf_encodingResponse.msg. Do not edit."""
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
class gf_encodingResponse(genpy.Message):
_md5sum = "d37e4f1e46761defdf5b003341acd010"
_type = "gf_beacon/gf_encodingResponse"
_has_header = False #flag to mark the presence of a Header object
_full_text = """string encoded
"""
__slots__ = ['encoded']
_slot_types = ['string']
def __init__(self, *args, **kwds):
"""
Constructor. Any message fields that are implicitly/explicitly
set to None will be assigned a default value. The recommend
use is keyword arguments as this is more robust to future message
changes. You cannot mix in-order arguments and keyword arguments.
The available fields are:
encoded
:param args: complete set of field values, in .msg order
:param kwds: use keyword arguments corresponding to message field names
to set specific fields.
"""
if args or kwds:
super(gf_encodingResponse, self).__init__(*args, **kwds)
#message fields cannot be None, assign default values for those that are
if self.encoded is None:
self.encoded = ''
else:
self.encoded = ''
def _get_types(self):
"""
internal API method
"""
return self._slot_types
def serialize(self, buff):
"""
serialize message into buffer
:param buff: buffer, ``StringIO``
"""
try:
_x = self.encoded
length = len(_x)
if python3 or type(_x) == unicode:
_x = _x.encode('utf-8')
length = len(_x)
buff.write(struct.pack('<I%ss'%length, length, _x))
except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
def deserialize(self, str):
"""
unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``
"""
try:
end = 0
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
self.encoded = str[start:end].decode('utf-8')
else:
self.encoded = str[start:end]
return self
except struct.error as e:
raise genpy.DeserializationError(e) #most likely buffer underfill
def serialize_numpy(self, buff, numpy):
"""
serialize message with numpy array types into buffer
:param buff: buffer, ``StringIO``
:param numpy: numpy python module
"""
try:
_x = self.encoded
length = len(_x)
if python3 or type(_x) == unicode:
_x = _x.encode('utf-8')
length = len(_x)
buff.write(struct.pack('<I%ss'%length, length, _x))
except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
def deserialize_numpy(self, str, numpy):
"""
unpack serialized message in str into this message instance using numpy for array types
:param str: byte array of serialized message, ``str``
:param numpy: numpy python module
"""
try:
end = 0
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
self.encoded = str[start:end].decode('utf-8')
else:
self.encoded = str[start:end]
return self
except struct.error as e:
raise genpy.DeserializationError(e) #most likely buffer underfill
_struct_I = genpy.struct_I
def _get_struct_I():
global _struct_I
return _struct_I
class gf_encoding(object):
_type = 'gf_beacon/gf_encoding'
_md5sum = '916bededc1f7b96442f9b7ace1020840'
_request_class = gf_encodingRequest
_response_class = gf_encodingResponse
| 35.95572 | 213 | 0.676006 | 1,408 | 9,744 | 4.421165 | 0.127131 | 0.033735 | 0.011245 | 0.027309 | 0.835502 | 0.80755 | 0.795823 | 0.788112 | 0.788112 | 0.788112 | 0 | 0.023068 | 0.212541 | 9,744 | 270 | 214 | 36.088889 | 0.788218 | 0.259134 | 0 | 0.754286 | 1 | 0 | 0.12209 | 0.03894 | 0 | 0 | 0.002928 | 0 | 0 | 1 | 0.085714 | false | 0 | 0.034286 | 0 | 0.28 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e6f8a4176ac5cbf836ec223c3729323026b2460b | 87 | py | Python | modules/ping.py | kmille/IRCme | a266e28214c8a08b6d548723564452528fd478ef | [
"Apache-2.0"
] | 1 | 2018-12-26T15:50:28.000Z | 2018-12-26T15:50:28.000Z | modules/ping.py | kmille/ebay-kleinanzeigen-bot | 1c53ac74189364e14c1164677aba1fc281fb1edf | [
"Apache-2.0"
] | 1 | 2021-06-01T23:12:45.000Z | 2021-06-01T23:12:45.000Z | modules/ping.py | kmille/IRCme | a266e28214c8a08b6d548723564452528fd478ef | [
"Apache-2.0"
] | null | null | null | import arrow
def go():
return "PING at {}".format(arrow.now().format("HH:mm:ss"))
| 17.4 | 62 | 0.62069 | 14 | 87 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 4 | 63 | 21.75 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
fc42000b91cc2b392e5018f675b5f9c0ba8f959c | 78 | py | Python | torch_metrics/__init__.py | Joffreybvn/torch-metrics | 587a4995730a7ec7b0370d6dd523d2c84129b255 | [
"MIT"
] | null | null | null | torch_metrics/__init__.py | Joffreybvn/torch-metrics | 587a4995730a7ec7b0370d6dd523d2c84129b255 | [
"MIT"
] | null | null | null | torch_metrics/__init__.py | Joffreybvn/torch-metrics | 587a4995730a7ec7b0370d6dd523d2c84129b255 | [
"MIT"
] | null | null | null | from torch_metrics import classification
from torch_metrics import regression
| 26 | 40 | 0.897436 | 10 | 78 | 6.8 | 0.6 | 0.264706 | 0.470588 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 41 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
5dafd1e20640f10ff3793b906730d81409bb2fc9 | 18,904 | py | Python | tests/integration_test_vensim_pathway.py | dianlutfiana/PSYD | bf1b1d03954e9ba5acac9ba4f1ada7cd93352eda | [
"MIT"
] | null | null | null | tests/integration_test_vensim_pathway.py | dianlutfiana/PSYD | bf1b1d03954e9ba5acac9ba4f1ada7cd93352eda | [
"MIT"
] | 1 | 2020-09-15T20:19:22.000Z | 2020-11-23T16:24:17.000Z | tests/integration_test_vensim_pathway.py | dianlutfiana/PSYD | bf1b1d03954e9ba5acac9ba4f1ada7cd93352eda | [
"MIT"
] | 1 | 2020-10-22T19:08:41.000Z | 2020-10-22T19:08:41.000Z |
"""
Note that this file is autogenerated by `integration_test_factory.py`
and changes are likely to be overwritten.
"""
import unittest
rtol = .05
class TestIntegrationExamples(unittest.TestCase):
def test_abs(self):
from .test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/abs/test_abs.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_active_initial(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/active_initial/test_active_initial.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_arguments(self):
from .test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/arguments/test_arguments.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_builtin_max(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/builtin_max/builtin_max.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_builtin_min(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/builtin_min/builtin_min.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_chained_initialization(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/chained_initialization/test_chained_initialization.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_constant_expressions(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/constant_expressions/test_constant_expressions.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_delay_parentheses(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/delay_parentheses/test_delay_parentheses.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('to be fixed')
def test_delay_pipeline(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/delay_pipeline/test_pipeline_delays.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('to be fixed')
def test_delays(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/delays/test_delays.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_euler_step_vs_saveper(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/euler_step_vs_saveper/test_euler_step_vs_saveper.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_exp(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/exp/test_exp.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_exponentiation(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/exponentiation/exponentiation.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_function_capitalization(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/function_capitalization/test_function_capitalization.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_game(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/game/test_game.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_if_stmt(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/if_stmt/if_stmt.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_initial_function(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/initial_function/test_initial.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_input_functions(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/input_functions/test_inputs.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_limits(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/limits/test_limits.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_line_breaks(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/line_breaks/test_line_breaks.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_line_continuation(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/line_continuation/test_line_continuation.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_ln(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/ln/test_ln.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_log(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/log/test_log.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_logicals(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/logicals/test_logicals.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_lookups(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/lookups/test_lookups.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_lookups_without_range(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/lookups_without_range/test_lookups_without_range.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_lookups_funcnames(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/lookups_funcnames/test_lookups_funcnames.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_lookups_inline(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/lookups_inline/test_lookups_inline.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_lookups_inline_bounded(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/lookups_inline_bounded/test_lookups_inline_bounded.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_lookups_with_expr(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/lookups_with_expr/test_lookups_with_expr.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_macro_cross_reference(self):
from .test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/macro_cross_reference/test_macro_cross_reference.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_macro_expression(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/macro_expression/test_macro_expression.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_macro_multi_expression(self):
from .test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/macro_multi_expression/test_macro_multi_expression.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_macro_multi_macros(self):
from .test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/macro_multi_macros/test_macro_multi_macros.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('working')
def test_macro_output(self):
from .test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/macro_output/test_macro_output.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_macro_stock(self):
from .test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/macro_stock/test_macro_stock.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('do we need this?')
def test_macro_trailing_definition(self):
from .test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/macro_trailing_definition/test_macro_trailing_definition.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_model_doc(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/model_doc/model_doc.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_number_handling(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/number_handling/test_number_handling.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_parentheses(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/parentheses/test_parens.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('low priority')
def test_reference_capitalization(self):
"""A properly formatted Vensim model should never create this failure"""
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/reference_capitalization/test_reference_capitalization.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('in branch')
def test_rounding(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/rounding/test_rounding.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_smooth(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/smooth/test_smooth.mdl')
assert_frames_close(output, canon, rtol=rtol)
#@unittest.skip('working')
def test_smooth_and_stock(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/smooth_and_stock/test_smooth_and_stock.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('in branch')
def test_special_characters(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/special_characters/test_special_variable_names.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_sqrt(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/sqrt/test_sqrt.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_subscript_multiples(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_multiples/test_multiple_subscripts.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_subscript_1d_arrays(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_1d_arrays/test_subscript_1d_arrays.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_subscript_2d_arrays(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_2d_arrays/test_subscript_2d_arrays.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_subscript_3d_arrays(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_3d_arrays/test_subscript_3d_arrays.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_subscript_3d_arrays_lengthwise(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_3d_arrays_lengthwise/test_subscript_3d_arrays_lengthwise.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_subscript_3d_arrays_widthwise(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_3d_arrays_widthwise/test_subscript_3d_arrays_widthwise.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('in branch')
def test_subscript_aggregation(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_aggregation/test_subscript_aggregation.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('in branch')
def test_subscript_constant_call(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_constant_call/test_subscript_constant_call.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_subscript_docs(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_docs/subscript_docs.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_subscript_individually_defined_1_of_2d_arrays(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_individually_defined_1_of_2d_arrays/subscript_individually_defined_1_of_2d_arrays.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_subscript_individually_defined_1_of_2d_arrays_from_floats(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_individually_defined_1_of_2d_arrays_from_floats/subscript_individually_defined_1_of_2d_arrays_from_floats.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_subscript_individually_defined_1d_arrays(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_individually_defined_1d_arrays/subscript_individually_defined_1d_arrays.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_subscript_individually_defined_stocks(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_individually_defined_stocks/test_subscript_individually_defined_stocks.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('in branch')
def test_subscript_mixed_assembly(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_mixed_assembly/test_subscript_mixed_assembly.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('in branch')
def test_subscript_selection(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_selection/subscript_selection.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('failing in py3')
def test_subscript_subranges(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_subranges/test_subscript_subrange.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('failing in py3')
def test_subscript_subranges_equal(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_subranges_equal/test_subscript_subrange_equal.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('in branch')
def test_subscript_switching(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_switching/subscript_switching.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('in branch')
def test_subscript_updimensioning(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscript_updimensioning/test_subscript_updimensioning.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('requires subscript updimensioning')
def test_subscripted_delays(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscripted_delays/test_subscripted_delays.mdl')
assert_frames_close(output, canon, rtol=rtol)
@unittest.skip('in branch')
def test_subscripted_flows(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/subscripted_flows/test_subscripted_flows.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_time(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/time/test_time.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_trend(self):
from .test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/trend/test_trend.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_trig(self):
from.test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/trig/test_trig.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_variable_ranges(self):
from .test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/variable_ranges/test_variable_ranges.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_unicode_characters(self):
from .test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/unicode_characters/unicode_test_model.mdl')
assert_frames_close(output, canon, rtol=rtol)
def test_xidz_zidz(self):
from .test_utils import runner, assert_frames_close
output, canon = runner('test-models/tests/xidz_zidz/xidz_zidz.mdl')
assert_frames_close(output, canon, rtol=rtol)
| 47.378446 | 171 | 0.740108 | 2,493 | 18,904 | 5.300842 | 0.06418 | 0.132577 | 0.187817 | 0.254105 | 0.817102 | 0.801967 | 0.801967 | 0.799622 | 0.79667 | 0.788876 | 0 | 0.002172 | 0.171815 | 18,904 | 398 | 172 | 47.497487 | 0.841914 | 0.010791 | 0 | 0.509615 | 1 | 0 | 0.244273 | 0.233622 | 0 | 0 | 0 | 0 | 0.467949 | 1 | 0.233974 | false | 0 | 0.237179 | 0 | 0.474359 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
5d076613c4212d4cf6a0292715745046dd593d78 | 42,743 | py | Python | docusign_admin/apis/bulk_exports_api.py | docusign/docusign-admin-python-client | 1b94d311e3203e99717f7e67446083ea4b399ea9 | [
"MIT"
] | 1 | 2021-11-14T17:01:17.000Z | 2021-11-14T17:01:17.000Z | docusign_admin/apis/bulk_exports_api.py | docusign/docusign-admin-python-client | 1b94d311e3203e99717f7e67446083ea4b399ea9 | [
"MIT"
] | null | null | null | docusign_admin/apis/bulk_exports_api.py | docusign/docusign-admin-python-client | 1b94d311e3203e99717f7e67446083ea4b399ea9 | [
"MIT"
] | 1 | 2021-11-14T17:01:11.000Z | 2021-11-14T17:01:11.000Z | # coding: utf-8
"""
DocuSign Admin API
An API for an organization administrator to manage organizations, accounts and users # noqa: E501
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import sys
import os
import re
# python 2 and python 3 compatibility library
from six import iteritems
from ..client.configuration import Configuration
from ..client.api_client import ApiClient
class BulkExportsApi(object):
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
config = Configuration()
if api_client:
self.api_client = api_client
else:
if not config.api_client:
config.api_client = ApiClient()
self.api_client = config.api_client
def create_account_settings_export(self, organization_id, request, **kwargs):
"""
Creates a new Account Setting Export request.
Required scopes: account_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_account_settings_export(organization_id, request, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:param OrganizationAccountsRequest request: Request body containing details about the accounts be compared (required)
:return: OrganizationExportResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.create_account_settings_export_with_http_info(organization_id, request, **kwargs)
else:
(data) = self.create_account_settings_export_with_http_info(organization_id, request, **kwargs)
return data
def create_account_settings_export_with_http_info(self, organization_id, request, **kwargs):
"""
Creates a new Account Setting Export request.
Required scopes: account_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_account_settings_export_with_http_info(organization_id, request, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:param OrganizationAccountsRequest request: Request body containing details about the accounts be compared (required)
:return: OrganizationExportResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['organization_id', 'request']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_account_settings_export" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'organization_id' is set
if ('organization_id' not in params) or (params['organization_id'] is None):
raise ValueError("Missing the required parameter `organization_id` when calling `create_account_settings_export`")
# verify the required parameter 'request' is set
if ('request' not in params) or (params['request'] is None):
raise ValueError("Missing the required parameter `request` when calling `create_account_settings_export`")
collection_formats = {}
resource_path = '/v2/organizations/{organizationId}/exports/account_settings'.replace('{format}', 'json')
path_params = {}
if 'organization_id' in params:
path_params['organizationId'] = params['organization_id']
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'request' in params:
body_params = params['request']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='OrganizationExportResponse',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def create_user_list_export(self, organization_id, request, **kwargs):
"""
Creates a new User List Export request.
Required scopes: user_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_user_list_export(organization_id, request, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:param OrganizationExportRequest request: Request body containing details about what is to be exported (required)
:return: OrganizationExportResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.create_user_list_export_with_http_info(organization_id, request, **kwargs)
else:
(data) = self.create_user_list_export_with_http_info(organization_id, request, **kwargs)
return data
def create_user_list_export_with_http_info(self, organization_id, request, **kwargs):
"""
Creates a new User List Export request.
Required scopes: user_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.create_user_list_export_with_http_info(organization_id, request, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:param OrganizationExportRequest request: Request body containing details about what is to be exported (required)
:return: OrganizationExportResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['organization_id', 'request']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_user_list_export" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'organization_id' is set
if ('organization_id' not in params) or (params['organization_id'] is None):
raise ValueError("Missing the required parameter `organization_id` when calling `create_user_list_export`")
# verify the required parameter 'request' is set
if ('request' not in params) or (params['request'] is None):
raise ValueError("Missing the required parameter `request` when calling `create_user_list_export`")
collection_formats = {}
resource_path = '/v2/organizations/{organizationId}/exports/user_list'.replace('{format}', 'json')
path_params = {}
if 'organization_id' in params:
path_params['organizationId'] = params['organization_id']
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'request' in params:
body_params = params['request']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='OrganizationExportResponse',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def delete_account_settings_export(self, organization_id, export_id, **kwargs):
"""
Deletes a single Account Settings Export request
Required scopes: account_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.delete_account_settings_export(organization_id, export_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:param str export_id: The export ID Guid for the request (required)
:return: object
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.delete_account_settings_export_with_http_info(organization_id, export_id, **kwargs)
else:
(data) = self.delete_account_settings_export_with_http_info(organization_id, export_id, **kwargs)
return data
def delete_account_settings_export_with_http_info(self, organization_id, export_id, **kwargs):
"""
Deletes a single Account Settings Export request
Required scopes: account_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.delete_account_settings_export_with_http_info(organization_id, export_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:param str export_id: The export ID Guid for the request (required)
:return: object
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['organization_id', 'export_id']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_account_settings_export" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'organization_id' is set
if ('organization_id' not in params) or (params['organization_id'] is None):
raise ValueError("Missing the required parameter `organization_id` when calling `delete_account_settings_export`")
# verify the required parameter 'export_id' is set
if ('export_id' not in params) or (params['export_id'] is None):
raise ValueError("Missing the required parameter `export_id` when calling `delete_account_settings_export`")
collection_formats = {}
resource_path = '/v2/organizations/{organizationId}/exports/account_settings/{exportId}'.replace('{format}', 'json')
path_params = {}
if 'organization_id' in params:
path_params['organizationId'] = params['organization_id']
if 'export_id' in params:
path_params['exportId'] = params['export_id']
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='object',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def delete_user_list_export(self, organization_id, export_id, **kwargs):
"""
Deletes a single User List Export request
Required scopes: user_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.delete_user_list_export(organization_id, export_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:param str export_id: The export ID Guid for the request (required)
:return: object
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.delete_user_list_export_with_http_info(organization_id, export_id, **kwargs)
else:
(data) = self.delete_user_list_export_with_http_info(organization_id, export_id, **kwargs)
return data
def delete_user_list_export_with_http_info(self, organization_id, export_id, **kwargs):
"""
Deletes a single User List Export request
Required scopes: user_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.delete_user_list_export_with_http_info(organization_id, export_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:param str export_id: The export ID Guid for the request (required)
:return: object
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['organization_id', 'export_id']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_user_list_export" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'organization_id' is set
if ('organization_id' not in params) or (params['organization_id'] is None):
raise ValueError("Missing the required parameter `organization_id` when calling `delete_user_list_export`")
# verify the required parameter 'export_id' is set
if ('export_id' not in params) or (params['export_id'] is None):
raise ValueError("Missing the required parameter `export_id` when calling `delete_user_list_export`")
collection_formats = {}
resource_path = '/v2/organizations/{organizationId}/exports/user_list/{exportId}'.replace('{format}', 'json')
path_params = {}
if 'organization_id' in params:
path_params['organizationId'] = params['organization_id']
if 'export_id' in params:
path_params['exportId'] = params['export_id']
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='object',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_account_settings_export(self, organization_id, export_id, **kwargs):
"""
Returns the details/metadata for a single Account Setting Export request
Required scopes: account_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_account_settings_export(organization_id, export_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:param str export_id: The export ID Guid for the request (required)
:return: OrganizationExportResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.get_account_settings_export_with_http_info(organization_id, export_id, **kwargs)
else:
(data) = self.get_account_settings_export_with_http_info(organization_id, export_id, **kwargs)
return data
def get_account_settings_export_with_http_info(self, organization_id, export_id, **kwargs):
"""
Returns the details/metadata for a single Account Setting Export request
Required scopes: account_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_account_settings_export_with_http_info(organization_id, export_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:param str export_id: The export ID Guid for the request (required)
:return: OrganizationExportResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['organization_id', 'export_id']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_account_settings_export" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'organization_id' is set
if ('organization_id' not in params) or (params['organization_id'] is None):
raise ValueError("Missing the required parameter `organization_id` when calling `get_account_settings_export`")
# verify the required parameter 'export_id' is set
if ('export_id' not in params) or (params['export_id'] is None):
raise ValueError("Missing the required parameter `export_id` when calling `get_account_settings_export`")
collection_formats = {}
resource_path = '/v2/organizations/{organizationId}/exports/account_settings/{exportId}'.replace('{format}', 'json')
path_params = {}
if 'organization_id' in params:
path_params['organizationId'] = params['organization_id']
if 'export_id' in params:
path_params['exportId'] = params['export_id']
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='OrganizationExportResponse',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_account_settings_exports(self, organization_id, **kwargs):
"""
Returns the details/metadata for Account Setting Export requests
Required scopes: account_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_account_settings_exports(organization_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:return: OrganizationExportsResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.get_account_settings_exports_with_http_info(organization_id, **kwargs)
else:
(data) = self.get_account_settings_exports_with_http_info(organization_id, **kwargs)
return data
def get_account_settings_exports_with_http_info(self, organization_id, **kwargs):
"""
Returns the details/metadata for Account Setting Export requests
Required scopes: account_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_account_settings_exports_with_http_info(organization_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:return: OrganizationExportsResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['organization_id']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_account_settings_exports" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'organization_id' is set
if ('organization_id' not in params) or (params['organization_id'] is None):
raise ValueError("Missing the required parameter `organization_id` when calling `get_account_settings_exports`")
collection_formats = {}
resource_path = '/v2/organizations/{organizationId}/exports/account_settings'.replace('{format}', 'json')
path_params = {}
if 'organization_id' in params:
path_params['organizationId'] = params['organization_id']
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='OrganizationExportsResponse',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_user_list_export(self, organization_id, export_id, **kwargs):
"""
Returns the details/metadata for a single User List Export request
Required scopes: user_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_user_list_export(organization_id, export_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:param str export_id: The export ID Guid for the request (required)
:return: OrganizationExportResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.get_user_list_export_with_http_info(organization_id, export_id, **kwargs)
else:
(data) = self.get_user_list_export_with_http_info(organization_id, export_id, **kwargs)
return data
def get_user_list_export_with_http_info(self, organization_id, export_id, **kwargs):
"""
Returns the details/metadata for a single User List Export request
Required scopes: user_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_user_list_export_with_http_info(organization_id, export_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:param str export_id: The export ID Guid for the request (required)
:return: OrganizationExportResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['organization_id', 'export_id']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_user_list_export" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'organization_id' is set
if ('organization_id' not in params) or (params['organization_id'] is None):
raise ValueError("Missing the required parameter `organization_id` when calling `get_user_list_export`")
# verify the required parameter 'export_id' is set
if ('export_id' not in params) or (params['export_id'] is None):
raise ValueError("Missing the required parameter `export_id` when calling `get_user_list_export`")
collection_formats = {}
resource_path = '/v2/organizations/{organizationId}/exports/user_list/{exportId}'.replace('{format}', 'json')
path_params = {}
if 'organization_id' in params:
path_params['organizationId'] = params['organization_id']
if 'export_id' in params:
path_params['exportId'] = params['export_id']
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='OrganizationExportResponse',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_user_list_exports(self, organization_id, **kwargs):
"""
Returns a list of existing User List Exports (requests and completed exports) and their details/metadata
Required scopes: user_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_user_list_exports(organization_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:return: OrganizationExportsResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.get_user_list_exports_with_http_info(organization_id, **kwargs)
else:
(data) = self.get_user_list_exports_with_http_info(organization_id, **kwargs)
return data
def get_user_list_exports_with_http_info(self, organization_id, **kwargs):
"""
Returns a list of existing User List Exports (requests and completed exports) and their details/metadata
Required scopes: user_read
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_user_list_exports_with_http_info(organization_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: The organization ID Guid (required)
:return: OrganizationExportsResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['organization_id']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_user_list_exports" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'organization_id' is set
if ('organization_id' not in params) or (params['organization_id'] is None):
raise ValueError("Missing the required parameter `organization_id` when calling `get_user_list_exports`")
collection_formats = {}
resource_path = '/v2/organizations/{organizationId}/exports/user_list'.replace('{format}', 'json')
path_params = {}
if 'organization_id' in params:
path_params['organizationId'] = params['organization_id']
query_params = {}
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])
# Authentication setting
auth_settings = []
return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='OrganizationExportsResponse',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 45.471277 | 126 | 0.599677 | 4,371 | 42,743 | 5.606497 | 0.043468 | 0.077695 | 0.018853 | 0.023504 | 0.976536 | 0.973966 | 0.972456 | 0.968416 | 0.967477 | 0.962989 | 0 | 0.000554 | 0.323726 | 42,743 | 939 | 127 | 45.519702 | 0.847229 | 0.328334 | 0 | 0.834052 | 0 | 0 | 0.201836 | 0.065964 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036638 | false | 0 | 0.015086 | 0 | 0.105603 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
5d258c96fe5f9cfe0d59a760a76fe41347845f54 | 1,439 | py | Python | hicdata/migrations/0035_auto_20200306_1614.py | hisham2k9/IMS-and-CAPA | 9f70988a6411c72ab4f0cbc818b84db58a28076f | [
"MIT"
] | null | null | null | hicdata/migrations/0035_auto_20200306_1614.py | hisham2k9/IMS-and-CAPA | 9f70988a6411c72ab4f0cbc818b84db58a28076f | [
"MIT"
] | 15 | 2021-03-19T03:43:56.000Z | 2022-03-12T00:30:55.000Z | hicdata/migrations/0035_auto_20200306_1614.py | hisham2k9/IMS-and-CAPA | 9f70988a6411c72ab4f0cbc818b84db58a28076f | [
"MIT"
] | null | null | null | # Generated by Django 3.0.3 on 2020-03-06 10:44
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('hicdata', '0034_auto_20200306_1603'),
]
operations = [
migrations.AddField(
model_name='antibiotic',
name='dateofdischarge',
field=models.DateField(blank=True, null=True),
),
migrations.AddField(
model_name='cauti',
name='dateofadmission',
field=models.DateField(default=datetime.date.today),
),
migrations.AddField(
model_name='cauti',
name='dateofdischarge',
field=models.DateField(blank=True, null=True),
),
migrations.AddField(
model_name='clabsi',
name='dateofadmission',
field=models.DateField(default=datetime.date.today),
),
migrations.AddField(
model_name='clabsi',
name='dateofdischarge',
field=models.DateField(blank=True, null=True),
),
migrations.AddField(
model_name='vap',
name='dateofadmission',
field=models.DateField(default=datetime.date.today),
),
migrations.AddField(
model_name='vap',
name='dateofdischarge',
field=models.DateField(blank=True, null=True),
),
]
| 28.78 | 64 | 0.565671 | 129 | 1,439 | 6.232558 | 0.333333 | 0.156716 | 0.200249 | 0.235075 | 0.75 | 0.75 | 0.715174 | 0.715174 | 0.715174 | 0.645522 | 0 | 0.031633 | 0.318972 | 1,439 | 49 | 65 | 29.367347 | 0.788776 | 0.031272 | 0 | 0.790698 | 1 | 0 | 0.124282 | 0.016523 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046512 | 0 | 0.116279 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5d5a7c8a3408a04a93d13f90afb74b022b37f898 | 3,700 | py | Python | scripts/avocado_knn_direct.run.py | frmunozz/irregular-bag-of-pattern | d1e118546aca89bff75036a06f74a76a2fdb1a82 | [
"MIT"
] | 1 | 2022-01-23T21:40:10.000Z | 2022-01-23T21:40:10.000Z | scripts/avocado_knn_direct.run.py | frmunozz/irregular-bag-of-pattern | d1e118546aca89bff75036a06f74a76a2fdb1a82 | [
"MIT"
] | null | null | null | scripts/avocado_knn_direct.run.py | frmunozz/irregular-bag-of-pattern | d1e118546aca89bff75036a06f74a76a2fdb1a82 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
if __name__ == '__main__':
base_run = "python -m sklearnex avocado_knn_direct.py"
for s1 in ["plasticc_train", "plasticc_augment_v3"]:
for s2 in [True, False]:
base_run2 = base_run + " %s plasticc_test --num_chunks=100" % s1
if s2:
base_run2 += " --use_metadata=True"
print(base_run2)
os.system(base_run2) # no-prototype, no-normalize, no-scaler
print(base_run2 + " --prototype=true")
os.system(base_run2 + " --prototype=true") # prototype no-normalize, no-scaler
print(base_run2 + " --scaler=true")
os.system(base_run2 + " --scaler=true") # no-prototype, no-normalize, scaler
print(base_run2 + " --normalizer=true")
os.system(base_run2 + " --normalizer=true") # no-prototype, normalize, no-scaler
print(base_run2 + " --scaler=true --normalizer=true")
os.system(base_run2 + " --scaler=true --normalizer=true") # no-protoype, normalize, scaler
# python avocado_knn_direct.py plasticc_augment_v3 plasticc_test --num_chunks=100 --prototype=true
# python avocado_knn_direct.py plasticc_augment_v3 plasticc_test --num_chunks=100 --scaler=true
# python avocado_knn_direct.py plasticc_augment_v3 plasticc_test --num_chunks=100 --normalizer=true
# python avocado_knn_direct.py plasticc_augment_v3 plasticc_test --num_chunks=100 --scaler=true --normalizer=true
# python avocado_knn_direct.py plasticc_augment_v3 plasticc_test --num_chunks=100
# python avocado_knn_direct.py plasticc_augment_v3 plasticc_test --num_chunks=100 --prototype=true
# python avocado_knn_direct.py plasticc_augment_v3 plasticc_test --num_chunks=100 --prototype=true --use_metadata=True
# python avocado_knn_direct.py plasticc_augment_v3 plasticc_test --num_chunks=100 --scaler=true --use_metadata=True
# python avocado_knn_direct.py plasticc_augment_v3 plasticc_test --num_chunks=100 --normalizer=true --use_metadata=True
# python avocado_knn_direct.py plasticc_augment_v3 plasticc_test --num_chunks=100 --scaler=true --normalizer=true --use_metadata=True
# python avocado_knn_direct.py plasticc_augment_v3 plasticc_test --num_chunks=100 --use_metadata=True
# python avocado_knn_direct.py plasticc_augment_v3 plasticc_test --num_chunks=100 --prototype=true --use_metadata=True
# python avocado_knn_direct.py plasticc_train plasticc_test --num_chunks=100 --prototype=true
# python avocado_knn_direct.py plasticc_train plasticc_test --num_chunks=100 --scaler=true
# python avocado_knn_direct.py plasticc_train plasticc_test --num_chunks=100 --normalizer=true
# python avocado_knn_direct.py plasticc_train plasticc_test --num_chunks=100 --scaler=true --normalizer=true
# python avocado_knn_direct.py plasticc_train plasticc_test --num_chunks=100
# python avocado_knn_direct.py plasticc_train plasticc_test --num_chunks=100 --prototype=true
# python avocado_knn_direct.py plasticc_train plasticc_test --num_chunks=100 --prototype=true --use_metadata=True
# python avocado_knn_direct.py plasticc_train plasticc_test --num_chunks=100 --scaler=true --use_metadata=True
# python avocado_knn_direct.py plasticc_train plasticc_test --num_chunks=100 --normalizer=true --use_metadata=True
# python avocado_knn_direct.py plasticc_train plasticc_test --num_chunks=100 --scaler=true --normalizer=true --use_metadata=True
# python avocado_knn_direct.py plasticc_train plasticc_test --num_chunks=100 --use_metadata=True
# python avocado_knn_direct.py plasticc_train plasticc_test --num_chunks=100 --prototype=true --use_metadata=True | 74 | 137 | 0.745676 | 512 | 3,700 | 5.048828 | 0.083984 | 0.096712 | 0.154739 | 0.174081 | 0.879691 | 0.862669 | 0.84178 | 0.820116 | 0.769052 | 0.769052 | 0 | 0.033461 | 0.151892 | 3,700 | 50 | 138 | 74 | 0.790312 | 0.725946 | 0 | 0 | 0 | 0 | 0.302846 | 0.021341 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0.277778 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
5383c9f1f9d2edaa6b6c3b3894d72f67b26cbfa7 | 6,520 | py | Python | week0/prefuncy.py | peacekeeper6/Python-Project | d27101dda4b977fcd1143c02670fd1b78759543f | [
"MIT"
] | null | null | null | week0/prefuncy.py | peacekeeper6/Python-Project | d27101dda4b977fcd1143c02670fd1b78759543f | [
"MIT"
] | 4 | 2022-03-14T21:40:34.000Z | 2022-03-28T21:46:17.000Z | week0/prefuncy.py | peacekeeper6/Python-Project | d27101dda4b977fcd1143c02670fd1b78759543f | [
"MIT"
] | 1 | 2022-03-14T21:31:59.000Z | 2022-03-14T21:31:59.000Z | #prefuncy.py
import time
import os
Color34 = "\u001b[34m"
Color37 = "\u001b[37m"
# As you can see, its not very optimal
def ship1():
print(" |\ ")
print(" |/ ")
print("\__ |__/ ")
print(" \____/ ")
print("\u001b[34m -------------------------------------------- \u001b[37m")
def ship2():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[37m")
def ship3():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[37m")
def ship4():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[37m")
def ship5():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m -------------------------------------------- \u001b[37m")
def ship6():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[37m")
def ship7():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[37m")
def ship8():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m -------------------------------------------- \u001b[37m")
def ship9():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[37m")
def ship10():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[37m")
def ship11():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m -------------------------------------------- \u001b[37m")
def ship12():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[37m")
def ship13():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[37m")
def ship14():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[37m")
def ship15():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m -------------------------------------------- \u001b[37m")
def ship16():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[37m")
def ship17():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m -------------------------------------------- \u001b[37m")
def ship18():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[37m")
def ship19():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m -------------------------------------------- \u001b[37m")
def ship20():
print(" |\ ")
print(" |/ ")
print(" \__ |__/ ")
print(" \____/ ")
print("\u001b[34m -------------------------------------------- \u001b[37m")
os.system("cls")
time.sleep(.1)
ship1()
time.sleep(.5)
os.system("cls")
ship2()
time.sleep(.5)
os.system("cls")
ship3()
time.sleep(.5)
os.system("cls")
ship4()
time.sleep(.5)
os.system("cls")
ship5()
time.sleep(.5)
os.system("cls")
ship6()
time.sleep(.5)
os.system("cls")
ship7()
time.sleep(.5)
os.system("cls")
ship8()
time.sleep(.5)
os.system("cls")
ship9()
time.sleep(.5)
os.system("cls")
ship10()
time.sleep(.5)
os.system("cls")
ship11()
time.sleep(.5)
os.system("cls")
ship12()
time.sleep(.5)
os.system("cls")
ship13()
time.sleep(.5)
os.system("cls")
ship14()
time.sleep(.5)
os.system("cls")
ship15()
time.sleep(.5)
os.system("cls")
ship16()
time.sleep(.5)
os.system("cls")
ship17()
time.sleep(.5)
os.system("cls")
ship18()
time.sleep(.5)
os.system("cls")
ship19()
time.sleep(.5)
os.system("cls")
ship20()
time.sleep(.5)
os.system("cls")
print("or so you thought...")
time.sleep(.5)
os.system("cls")
# loop control variables
start = 0 # start at zero
distance = 60 # how many times to repeat
step = 2 # count by 2
# loop purpose is to animate ship sailing
for position in range(start, distance, step):
ship_print(position) # call to function with parameter
time.sleep(.1)
| 26.396761 | 79 | 0.311656 | 442 | 6,520 | 4.233032 | 0.178733 | 0.427579 | 0.481026 | 0.427579 | 0.704436 | 0.704436 | 0.468733 | 0.468733 | 0.468733 | 0.44682 | 0 | 0.077729 | 0.400153 | 6,520 | 246 | 80 | 26.504065 | 0.400665 | 0.029755 | 0 | 0.74359 | 0 | 0 | 0.564508 | 0.139307 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.010256 | null | null | 0.523077 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
53e6a2e199de173614ac8563c109b5b4297b1035 | 1,211 | py | Python | pymtl3/stdlib/basic_rtl/registers.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 152 | 2020-06-03T02:34:11.000Z | 2022-03-30T04:16:45.000Z | pymtl3/stdlib/basic_rtl/registers.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 139 | 2019-05-29T00:37:09.000Z | 2020-05-17T16:49:26.000Z | pymtl3/stdlib/basic_rtl/registers.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 22 | 2020-05-18T13:42:05.000Z | 2022-03-11T08:37:51.000Z | from pymtl3 import *
class Reg( Component ):
def construct( s, Type ):
s.out = OutPort( Type )
s.in_ = InPort( Type )
@update_ff
def up_reg():
s.out <<= s.in_
def line_trace( s ):
return f"[{s.in_} > {s.out}]"
class RegEn( Component ):
def construct( s, Type ):
s.out = OutPort( Type )
s.in_ = InPort( Type )
s.en = InPort()
@update_ff
def up_regen():
if s.en:
s.out <<= s.in_
def line_trace( s ):
return f"[{'en' if s.en else ' '}|{s.in_} > {s.out}]"
class RegRst( Component ):
def construct( s, Type, reset_value=0 ):
s.out = OutPort( Type )
s.in_ = InPort( Type )
@update_ff
def up_regrst():
if s.reset: s.out <<= reset_value
else: s.out <<= s.in_
def line_trace( s ):
return f"[{'rst' if s.reset else ' '}|{s.in_} > {s.out}]"
class RegEnRst( Component ):
def construct( s, Type, reset_value=0 ):
s.out = OutPort( Type )
s.in_ = InPort( Type )
s.en = InPort()
@update_ff
def up_regenrst():
if s.reset: s.out <<= reset_value
elif s.en: s.out <<= s.in_
def line_trace( s ):
return f"[{'en' if s.en else ' '}|{s.in_} > {s.out}]"
| 19.532258 | 63 | 0.535921 | 187 | 1,211 | 3.320856 | 0.171123 | 0.090177 | 0.135266 | 0.141707 | 0.861514 | 0.84219 | 0.808374 | 0.73752 | 0.73752 | 0.73752 | 0 | 0.003509 | 0.293972 | 1,211 | 61 | 64 | 19.852459 | 0.722807 | 0 | 0 | 0.666667 | 0 | 0 | 0.128819 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.02381 | 0.095238 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
07499848727fb993812e3abf6e51140a4c3ec136 | 134,301 | py | Python | backend/tracim_backend/tests/library/test_content_api.py | lezardrouge/tracim | 713ff6066767554333e7e0b1de608ec1a7e4229c | [
"MIT"
] | null | null | null | backend/tracim_backend/tests/library/test_content_api.py | lezardrouge/tracim | 713ff6066767554333e7e0b1de608ec1a7e4229c | [
"MIT"
] | null | null | null | backend/tracim_backend/tests/library/test_content_api.py | lezardrouge/tracim | 713ff6066767554333e7e0b1de608ec1a7e4229c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import typing
import pytest
import transaction
# TODO - G.M - 28-03-2018 - [GroupApi] Re-enable GroupApi
# TODO - G.M - 28-03-2018 - [WorkspaceApi] Re-enable WorkspaceApi
# TODO - G.M - 28-03-2018 - [RoleApi] Re-enable RoleApi
from tracim_backend.app_models.contents import ContentType
from tracim_backend.app_models.contents import content_type_list
from tracim_backend.exceptions import ContentFilenameAlreadyUsedInFolder
from tracim_backend.exceptions import ContentInNotEditableState
from tracim_backend.exceptions import EmptyLabelNotAllowed
from tracim_backend.exceptions import SameValueError
from tracim_backend.exceptions import UnallowedSubContent
from tracim_backend.fixtures.users_and_groups import Test as FixtureTest
from tracim_backend.lib.core.content import ContentApi
from tracim_backend.lib.core.content import compare_content_for_sorting_by_type_and_name
from tracim_backend.lib.core.group import GroupApi
from tracim_backend.lib.core.user import UserApi
from tracim_backend.lib.core.workspace import RoleApi
from tracim_backend.lib.core.workspace import WorkspaceApi
from tracim_backend.models.auth import Group
from tracim_backend.models.auth import User
from tracim_backend.models.data import ActionDescription
from tracim_backend.models.data import Content
from tracim_backend.models.data import UserRoleInWorkspace
from tracim_backend.models.revision_protection import new_revision
from tracim_backend.tests import DefaultTest
from tracim_backend.tests import eq_
class TestContentApi(DefaultTest):
def test_compare_content_for_sorting_by_type(self):
c1 = Content()
c1.label = ""
c1.type = "file"
c2 = Content()
c2.label = ""
c2.type = "folder"
c11 = c1
eq_(1, compare_content_for_sorting_by_type_and_name(c1, c2))
eq_(-1, compare_content_for_sorting_by_type_and_name(c2, c1))
eq_(0, compare_content_for_sorting_by_type_and_name(c1, c11))
def test_compare_content_for_sorting_by_label(self):
c1 = Content()
c1.label = "bbb"
c1.type = "file"
c2 = Content()
c2.label = "aaa"
c2.type = "file"
c11 = c1
eq_(1, compare_content_for_sorting_by_type_and_name(c1, c2))
eq_(-1, compare_content_for_sorting_by_type_and_name(c2, c1))
eq_(0, compare_content_for_sorting_by_type_and_name(c1, c11))
def test_sort_by_label_or_filename(self):
c1 = Content()
c1.label = "ABCD"
c1.type = "file"
c2 = Content()
c2.label = ""
c2.type = "file"
c2.file_name = "AABC"
c3 = Content()
c3.label = "BCDE"
c3.type = "file"
items = [c1, c2, c3]
sorteds = ContentApi.sort_content(items)
eq_(sorteds[0], c2)
eq_(sorteds[1], c1)
eq_(sorteds[2], c3)
def test_sort_by_content_type(self):
c1 = Content()
c1.label = "AAAA"
c1.type = "file"
c2 = Content()
c2.label = "BBBB"
c2.type = "folder"
items = [c1, c2]
sorteds = ContentApi.sort_content(items)
eq_(
sorteds[0], c2, "value is {} instead of {}".format(sorteds[0].content_id, c2.content_id)
)
eq_(
sorteds[1], c1, "value is {} instead of {}".format(sorteds[1].content_id, c1.content_id)
)
def test_unit__create_content__OK_nominal_case(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
item = api.create(
content_type_slug=content_type_list.Folder.slug,
workspace=workspace,
parent=None,
label="not_deleted",
do_save=True,
)
assert isinstance(item, Content)
def test_unit__create_content__err_empty_label(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
with pytest.raises(EmptyLabelNotAllowed):
api.create(
content_type_slug=content_type_list.Thread.slug,
workspace=workspace,
parent=None,
label="",
do_save=True,
)
def test_unit__create_content__err_content_type_not_allowed_in_this_folder(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
folder = api.create(
content_type_slug=content_type_list.Folder.slug,
workspace=workspace,
parent=None,
label="plop",
do_save=False,
)
allowed_content_dict = {
content_type_list.Folder.slug: True,
content_type_list.File.slug: False,
}
api._set_allowed_content(folder, allowed_content_dict=allowed_content_dict)
api.save(content=folder)
# not in list -> do not allow
with pytest.raises(UnallowedSubContent):
api.create(
content_type_slug=content_type_list.Event.slug,
workspace=workspace,
parent=folder,
label="lapin",
do_save=True,
)
# in list but false -> do not allow
with pytest.raises(UnallowedSubContent):
api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=folder,
label="lapin",
do_save=True,
)
# in list and true -> allow
api.create(
content_type_slug=content_type_list.Folder.slug,
workspace=workspace,
parent=folder,
label="lapin",
do_save=True,
)
def test_unit__create_content__err_content_type_not_allowed_in_this_workspace(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
with pytest.raises(UnallowedSubContent):
api.create(
content_type_slug=content_type_list.Event.slug,
workspace=workspace,
parent=None,
label="lapin",
do_save=True,
)
def test_unit__create_content__err_same_label_as_another_content(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
api.create(
content_type_slug=content_type_list.Page.slug,
workspace=workspace,
parent=None,
label="file",
do_save=True,
)
with pytest.raises(ContentFilenameAlreadyUsedInFolder):
api.create(
content_type_slug=content_type_list.Page.slug,
workspace=workspace,
parent=None,
label="file",
do_save=True,
)
def test_unit__is_filename_available__ok__nominal_case(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
assert api._is_filename_available("test", workspace, parent=None) is True
content = Content()
content.label = "test"
content.owner = user
content.parent = None
content.workspace = workspace
content.type = content_type_list.Page.slug
content.revision_type = ActionDescription.CREATION
self.session.add(content)
api.save(content, ActionDescription.CREATION, do_notify=False)
assert api._is_filename_available("test", workspace, parent=None) is False
content = Content()
content.label = "test"
content.owner = user
content.parent = None
content.workspace = workspace
content.type = content_type_list.Page.slug
content.revision_type = ActionDescription.CREATION
self.session.add(content)
api.save(content, ActionDescription.CREATION, do_notify=False)
assert api._is_filename_available("test", workspace, parent=None) is False
def test_unit__is_filename_available__ok__different_workspace(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
workspace2 = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace2", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
assert api._is_filename_available("test", workspace, parent=None) is True
content = Content()
content.label = "test"
content.owner = user
content.parent = None
content.workspace = workspace2
content.type = content_type_list.Page.slug
content.revision_type = ActionDescription.CREATION
self.session.add(content)
api.save(content, ActionDescription.CREATION, do_notify=False)
assert api._is_filename_available("test", workspace, parent=None) is True
def test_unit__is_filename_available__ok__different_parent(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace2", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
folder = Content()
folder.label = "folder"
folder.owner = user
folder.parent = None
folder.workspace = workspace
folder.type = content_type_list.Folder.slug
folder.revision_type = ActionDescription.CREATION
self.session.add(folder)
folder2 = Content()
folder2.label = "folder2"
folder2.owner = user
folder2.parent = None
folder2.workspace = workspace
folder2.type = content_type_list.Folder.slug
folder2.revision_type = ActionDescription.CREATION
self.session.add(folder)
assert api._is_filename_available("test", workspace, parent=None) is True
content = Content()
content.label = "test"
content.owner = user
content.parent = folder
content.workspace = workspace
content.type = content_type_list.Page.slug
content.revision_type = ActionDescription.CREATION
self.session.add(content)
api.save(content, ActionDescription.CREATION, do_notify=False)
assert api._is_filename_available("test", workspace, parent=None) is True
content = Content()
content.label = "test"
content.owner = user
content.parent = folder2
content.workspace = workspace
content.type = content_type_list.Page.slug
content.revision_type = ActionDescription.CREATION
self.session.add(content)
api.save(content, ActionDescription.CREATION, do_notify=False)
assert api._is_filename_available("test", workspace, parent=None) is True
content = Content()
content.label = "test"
content.owner = user
content.parent = None
content.workspace = workspace
content.type = content_type_list.Page.slug
content.revision_type = ActionDescription.CREATION
self.session.add(content)
api.save(content, ActionDescription.CREATION, do_notify=False)
assert api._is_filename_available("test", workspace, parent=None) is False
def test_unit__set_allowed_content__ok__private_method(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
folder = api.create(
content_type_slug=content_type_list.Folder.slug,
workspace=workspace,
parent=None,
label="plop",
do_save=False,
)
allowed_content_dict = {
content_type_list.Folder.slug: True,
content_type_list.File.slug: False,
}
api._set_allowed_content(folder, allowed_content_dict=allowed_content_dict)
assert "allowed_content" in folder.properties
assert folder.properties["allowed_content"] == {
content_type_list.Folder.slug: True,
content_type_list.File.slug: False,
}
def test_unit__set_allowed_content__ok__nominal_case(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
folder = api.create(
content_type_slug=content_type_list.Folder.slug,
workspace=workspace,
parent=None,
label="plop",
do_save=False,
)
allowed_content_type_slug_list = [
content_type_list.Folder.slug,
content_type_list.File.slug,
]
api.set_allowed_content(
folder, allowed_content_type_slug_list=allowed_content_type_slug_list
)
assert "allowed_content" in folder.properties
assert folder.properties["allowed_content"] == {
content_type_list.Folder.slug: True,
content_type_list.File.slug: True,
}
def test_unit__restore_content_default_allowed_content__ok__nominal_case(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
folder = api.create(
content_type_slug=content_type_list.Folder.slug,
workspace=workspace,
parent=None,
label="plop",
do_save=False,
)
allowed_content_type_slug_list = [
content_type_list.Folder.slug,
content_type_list.File.slug,
]
api.set_allowed_content(
folder, allowed_content_type_slug_list=allowed_content_type_slug_list
)
assert "allowed_content" in folder.properties
assert folder.properties["allowed_content"] == {
content_type_list.Folder.slug: True,
content_type_list.File.slug: True,
}
api.restore_content_default_allowed_content(folder)
assert "allowed_content" in folder.properties
assert folder.properties[
"allowed_content"
] == content_type_list.default_allowed_content_properties(folder.type)
def test_unit__get_allowed_content_type__ok__html_document(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
allowed_content_type_dict = {"html-document": True, "file": False}
allowed_content_types = api._get_allowed_content_type(allowed_content_type_dict)
assert len(allowed_content_types) == 1
assert allowed_content_types[0] == content_type_list.get_one_by_slug("html-document")
def test_unit__get_allowed_content_type__ok__page_legacy_alias(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
allowed_content_type_dict = {"page": True, "file": False}
allowed_content_types = api._get_allowed_content_type(allowed_content_type_dict)
assert len(allowed_content_types) == 1
assert allowed_content_types[0] == content_type_list.get_one_by_slug("html-document")
def test_unit___check_valid_content_type_in_dir__ok__nominal(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
folder = api.create(
content_type_slug=content_type_list.Folder.slug,
workspace=workspace,
parent=None,
label="plop",
do_save=False,
)
allowed_content_type_slug_list = [content_type_list.Folder.slug]
api.set_allowed_content(
folder, allowed_content_type_slug_list=allowed_content_type_slug_list
)
api._check_valid_content_type_in_dir(
content_type=content_type_list.Folder, parent=folder, workspace=workspace
)
def test_unit___check_valid_content_type_in_dir__err__not_valid_in_folder(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
folder = api.create(
content_type_slug=content_type_list.Folder.slug,
workspace=workspace,
parent=None,
label="plop",
do_save=False,
)
allowed_content_type_slug_list = [content_type_list.Folder.slug]
api.set_allowed_content(
folder, allowed_content_type_slug_list=allowed_content_type_slug_list
)
with pytest.raises(UnallowedSubContent):
api._check_valid_content_type_in_dir(
content_type=content_type_list.File, parent=folder, workspace=workspace
)
def test_unit___check_valid_content_type_in_dir__err__not_valid_in_workspace(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
# INFO - G.M - 2019-01-16 - override get_allowed_content_types methods
# to allow setting allowed content types of workspaces as tracim doesn't
# support yet to change this.
def fake_get_allowed_content_types() -> typing.List[ContentType]:
return [content_type_list.File]
workspace.get_allowed_content_types = fake_get_allowed_content_types
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
api._check_valid_content_type_in_dir(
content_type=content_type_list.File, parent=None, workspace=workspace
)
with pytest.raises(UnallowedSubContent):
api._check_valid_content_type_in_dir(
content_type=content_type_list.Folder, parent=None, workspace=workspace
)
def test_delete(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
api.create(
content_type_slug=content_type_list.Folder.slug,
workspace=workspace,
parent=None,
label="not_deleted",
do_save=True,
)
api.create(
content_type_slug=content_type_list.Folder.slug,
workspace=workspace,
parent=None,
label="to_delete",
do_save=True,
)
uid = user.user_id
wid = workspace.workspace_id
transaction.commit()
# Refresh instances after commit
user = uapi.get_one(uid)
workspace_api = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
)
workspace = workspace_api.get_one(wid)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
items = api.get_all(None, content_type_list.Any_SLUG, workspace)
eq_(2, len(items))
items = api.get_all(None, content_type_list.Any_SLUG, workspace)
with new_revision(session=self.session, tm=transaction.manager, content=items[0]):
api.delete(items[0])
transaction.commit()
# Refresh instances after commit
user = uapi.get_one(uid)
workspace_api = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
)
workspace = workspace_api.get_one(wid)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
items = api.get_all(None, content_type_list.Any_SLUG, workspace)
eq_(1, len(items))
transaction.commit()
# Test that the item is still available if "show deleted" is activated
# Refresh instances after commit
user = uapi.get_one(uid)
workspace_api = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
)
api = ContentApi(
current_user=user, session=self.session, config=self.app_config, show_deleted=True
)
items = api.get_all(None, content_type_list.Any_SLUG, workspace)
eq_(2, len(items))
def test_archive(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace_api = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
)
workspace = workspace_api.create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
api.create(
content_type_slug=content_type_list.Folder.slug,
workspace=workspace,
parent=None,
label="not_archived",
do_save=True,
)
api.create(
content_type_slug=content_type_list.Folder.slug,
workspace=workspace,
parent=None,
label="to_archive",
do_save=True,
)
uid = user.user_id
wid = workspace.workspace_id
transaction.commit()
# Refresh instances after commit
user = uapi.get_one(uid)
workspace_api = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
)
api = ContentApi(session=self.session, current_user=user, config=self.app_config)
items = api.get_all(None, content_type_list.Any_SLUG, workspace)
eq_(2, len(items))
items = api.get_all(None, content_type_list.Any_SLUG, workspace)
with new_revision(session=self.session, tm=transaction.manager, content=items[0]):
api.archive(items[0])
transaction.commit()
# Refresh instances after commit
user = uapi.get_one(uid)
workspace_api = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
)
workspace = workspace_api.get_one(wid)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
items = api.get_all(None, content_type_list.Any_SLUG, workspace)
eq_(1, len(items))
transaction.commit()
# Refresh instances after commit
user = uapi.get_one(uid)
workspace_api = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
)
workspace = workspace_api.get_one(wid)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
# Test that the item is still available if "show deleted" is activated
api = ContentApi(
current_user=None, session=self.session, config=self.app_config, show_archived=True
)
items = api.get_all(None, content_type_list.Any_SLUG, workspace)
eq_(2, len(items))
def test_get_all_with_filter(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
api.create(
content_type_slug=content_type_list.Folder.slug,
workspace=workspace,
parent=None,
label="thefolder",
do_save=True,
)
api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=None,
label="thefile",
do_save=True,
)
uid = user.user_id
wid = workspace.workspace_id
transaction.commit()
# Refresh instances after commit
user = uapi.get_one(uid)
workspace_api = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
)
workspace = workspace_api.get_one(wid)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
items = api.get_all(None, content_type_list.Any_SLUG, workspace)
eq_(2, len(items))
items2 = api.get_all(None, content_type_list.File.slug, workspace)
eq_(1, len(items2))
eq_("thefile", items2[0].label)
items3 = api.get_all(None, content_type_list.Folder.slug, workspace)
eq_(1, len(items3))
eq_("thefolder", items3[0].label)
def test_get_all_with_parent_id(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
item = api.create(content_type_list.Folder.slug, workspace, None, "parent", do_save=True)
item2 = api.create(content_type_list.File.slug, workspace, item, "file1", do_save=True)
api.create(content_type_list.File.slug, workspace, None, "file2", do_save=True)
parent_id = item.content_id
child_id = item2.content_id
uid = user.user_id
wid = workspace.workspace_id
transaction.commit()
# Refresh instances after commit
user = uapi.get_one(uid)
workspace_api = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
)
workspace = workspace_api.get_one(wid)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
items = api.get_all(None, content_type_list.Any_SLUG, workspace)
eq_(3, len(items))
items2 = api.get_all([parent_id], content_type_list.File.slug, workspace)
eq_(1, len(items2))
eq_(child_id, items2[0].content_id)
def test_set_status_unknown_status(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
c = api.create(content_type_list.Folder.slug, workspace, None, "parent", "", True)
with new_revision(session=self.session, tm=transaction.manager, content=c):
with pytest.raises(ValueError):
api.set_status(c, "unknown-status")
def test_unit__set_status__ok__nominal_case(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
user2 = uapi.create_minimal_user(email="another@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user2, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
rapi = RoleApi(current_user=user2, session=self.session, config=self.app_config)
rapi.create_one(user, workspace, UserRoleInWorkspace.CONTENT_MANAGER, False)
api2 = ContentApi(current_user=user2, session=self.session, config=self.app_config)
c = api2.create(content_type_list.Folder.slug, workspace, None, "parent", "", True)
assert c.owner_id == user2.user_id
assert c.get_current_revision().owner_id == user2.user_id
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
with new_revision(session=self.session, tm=transaction.manager, content=c):
for new_status in [
"open",
"closed-validated",
"closed-unvalidated",
"closed-deprecated",
]:
api.set_status(c, new_status)
api.save(c)
assert new_status == c.status
assert ActionDescription.STATUS_UPDATE == c.revision_type
assert c.get_current_revision().owner_id == user.user_id
def test_create_comment_ok(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
p = api.create(content_type_list.Page.slug, workspace, None, "this_is_a_page", do_save=True)
c = api.create_comment(workspace, p, "this is the comment", True)
eq_(Content, c.__class__)
eq_(p.content_id, c.parent_id)
eq_(user, c.owner)
eq_(workspace, c.workspace)
eq_(content_type_list.Comment.slug, c.type)
eq_("this is the comment", c.description)
eq_("", c.label)
eq_(ActionDescription.COMMENT, c.revision_type)
def test_unit_move_file_with_comments__different_parent_same_workspace(self):
"""
Check if move of content does proper copy of subcontent.
"""
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="user1@user", groups=groups, save_now=True)
user2 = uapi.create_minimal_user(email="user2@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
RoleApi(current_user=user, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.WORKSPACE_MANAGER, with_notif=False
)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
foldera = api.create(content_type_list.Folder.slug, workspace, None, "folder a", "", True)
with self.session.no_autoflush:
text_file = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=foldera,
label="test_file",
do_save=False,
)
api.update_file_data(text_file, "test_file", "text/plain", b"test_content")
api.save(text_file, ActionDescription.CREATION)
api.create_comment(
workspace, parent=text_file, content="just a comment", do_save=True, do_notify=False
)
folderb = api.create(content_type_list.Folder.slug, workspace, None, "folder b", "", True)
comment_before_move_id = text_file.children[0].id
api2 = ContentApi(current_user=user2, session=self.session, config=self.app_config)
with new_revision(content=text_file, tm=transaction.manager, session=self.session):
api2.move(item=text_file, new_parent=folderb, new_workspace=text_file.workspace)
api2.save(text_file)
transaction.commit()
text_file_after_move = api2.get_one_by_label_and_parent("test_file", folderb)
comment_after_move = text_file_after_move.children[0]
assert text_file == text_file_after_move
assert comment_before_move_id == comment_after_move.id
assert text_file_after_move.revision_type == ActionDescription.MOVE
assert text_file_after_move.get_current_revision().owner_id == user2.user_id
def test_unit_move_file_with_comments__different_parent_different_workspace(self):
"""
Check if copy of content does proper copy of subcontent.
"""
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="user1@user", groups=groups, save_now=True)
user2 = uapi.create_minimal_user(email="user2@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
RoleApi(current_user=user, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.WORKSPACE_MANAGER, with_notif=False
)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
foldera = api.create(content_type_list.Folder.slug, workspace, None, "folder a", "", True)
with self.session.no_autoflush:
text_file = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=foldera,
label="test_file",
do_save=False,
)
api.update_file_data(text_file, "test_file", "text/plain", b"test_content")
api.save(text_file, ActionDescription.CREATION)
api.create_comment(
workspace, parent=text_file, content="just a comment", do_save=True, do_notify=False
)
comment_before_move_id = text_file.children[0].id
comment_before_move_workspace_id = text_file.children[0].workspace_id
assert text_file.children[0].description == "just a comment"
workspace2 = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace2", save_now=True)
folderb = api.create(content_type_list.Folder.slug, workspace2, None, "folder b", "", True)
with new_revision(content=text_file, tm=transaction.manager, session=self.session):
api.move(
item=text_file,
new_parent=folderb,
new_workspace=workspace2,
must_stay_in_same_workspace=False,
)
api.save(text_file)
transaction.commit()
api2 = ContentApi(current_user=user, session=self.session, config=self.app_config)
text_file_after_move = api2.get_one_by_label_and_parent("test_file", folderb)
assert text_file_after_move.children[0].description == "just a comment"
assert text_file_after_move.children[0].id == comment_before_move_id
assert text_file_after_move.children[0].workspace_id != comment_before_move_workspace_id
def test_unit_copy_file_different_label_different_parent_ok(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="user1@user", groups=groups, save_now=True)
user2 = uapi.create_minimal_user(email="user2@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
RoleApi(current_user=user, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.WORKSPACE_MANAGER, with_notif=False
)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
foldera = api.create(content_type_list.Folder.slug, workspace, None, "folder a", "", True)
with self.session.no_autoflush:
text_file = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=foldera,
label="test_file",
do_save=False,
)
api.update_file_data(text_file, "test_file", "text/plain", b"test_content")
api.save(text_file, ActionDescription.CREATION)
api2 = ContentApi(current_user=user2, session=self.session, config=self.app_config)
workspace2 = WorkspaceApi(
current_user=user2, session=self.session, config=self.app_config
).create_workspace("test workspace2", save_now=True)
folderb = api2.create(content_type_list.Folder.slug, workspace2, None, "folder b", "", True)
api2.copy(item=text_file, new_parent=folderb, new_label="test_file_copy")
transaction.commit()
text_file_copy = api2.get_one_by_label_and_parent("test_file_copy", folderb)
assert text_file != text_file_copy
assert text_file_copy.content_id != text_file.content_id
assert text_file_copy.workspace_id == workspace2.workspace_id
assert text_file_copy.depot_file.file.read() == text_file.depot_file.file.read()
assert text_file_copy.depot_file.path != text_file.depot_file.path
assert text_file_copy.label == "test_file_copy"
assert text_file_copy.type == text_file.type
assert text_file_copy.parent.content_id == folderb.content_id
assert text_file_copy.owner.user_id == user2.user_id
assert text_file_copy.get_current_revision().owner_id == user2.user_id
assert text_file_copy.description == text_file.description
assert text_file_copy.file_extension == text_file.file_extension
assert text_file_copy.file_mimetype == text_file.file_mimetype
assert text_file_copy.revision_type == ActionDescription.COPY
assert len(text_file_copy.revisions) == len(text_file.revisions) + 1
def test_unit_copy_file_with_comments_different_label_different_parent_ok(self):
"""
Check if copy of content does proper copy of subcontent.
"""
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="user1@user", groups=groups, save_now=True)
user2 = uapi.create_minimal_user(email="user2@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
RoleApi(current_user=user, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.WORKSPACE_MANAGER, with_notif=False
)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
foldera = api.create(content_type_list.Folder.slug, workspace, None, "folder a", "", True)
with self.session.no_autoflush:
text_file = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=foldera,
label="test_file",
do_save=False,
)
api.update_file_data(text_file, "test_file", "text/plain", b"test_content")
api.save(text_file, ActionDescription.CREATION)
api.create_comment(
workspace, parent=text_file, content="just a comment", do_save=True, do_notify=False
)
with new_revision(self.session, transaction.manager, content=text_file):
api.update_content(text_file, text_file.label, new_content="just a description")
api.save(
content=text_file, action_description=ActionDescription.EDITION, do_notify=False
)
api.create_comment(
workspace,
parent=text_file,
content="just another comment",
do_save=True,
do_notify=False,
)
api2 = ContentApi(current_user=user2, session=self.session, config=self.app_config)
workspace2 = WorkspaceApi(
current_user=user2, session=self.session, config=self.app_config
).create_workspace("test workspace2", save_now=True)
folderb = api2.create(content_type_list.Folder.slug, workspace2, None, "folder b", "", True)
api2.copy(item=text_file, new_parent=folderb, new_label="test_file_copy")
transaction.commit()
text_file_copy = api2.get_one_by_label_and_parent("test_file_copy", folderb)
assert len(text_file.children) == 2
assert len(text_file_copy.children) == 2
assert text_file.children[0].description == "just a comment"
assert text_file_copy.children[0].description == text_file.children[0].description
assert text_file_copy.children[0].id != text_file.children[0].id
assert text_file_copy.children[0].created == text_file.children[0].created
assert text_file.children[1].description == "just another comment"
assert text_file_copy.children[1].description == text_file.children[1].description
assert text_file_copy.children[1].id != text_file.children[1].id
assert text_file_copy.children[1].created == text_file.children[1].created
# INFO - G.M - 2019-04-30 - check if both recursive
# revision tree of content and copy are similar
assert len(text_file_copy.get_tree_revisions()) == len(text_file.get_tree_revisions()) + 3
for num, revision in enumerate(text_file_copy.get_tree_revisions()[:-3]):
assert (
text_file.get_tree_revisions()[num].revision_type
== text_file_copy.get_tree_revisions()[num].revision_type
)
# INFO - G.M - 2019-04-30 - check if all supplementary revision are copy one.
for revision in text_file_copy.get_tree_revisions()[-3:]:
assert revision.revision_type == ActionDescription.COPY
def test_unit_copy_file_different_label_different_parent__err__allowed_subcontent(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="user1@user", groups=groups, save_now=True)
user2 = uapi.create_minimal_user(email="user2@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
RoleApi(current_user=user, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.WORKSPACE_MANAGER, with_notif=False
)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
foldera = api.create(content_type_list.Folder.slug, workspace, None, "folder a", "", True)
with self.session.no_autoflush:
text_file = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=foldera,
label="test_file",
do_save=False,
)
api.update_file_data(text_file, "test_file", "text/plain", b"test_content")
api.save(text_file, ActionDescription.CREATION)
api2 = ContentApi(current_user=user2, session=self.session, config=self.app_config)
workspace2 = WorkspaceApi(
current_user=user2, session=self.session, config=self.app_config
).create_workspace("test workspace2", save_now=True)
folderb = api2.create(
content_type_list.Folder.slug, workspace2, None, "folder b", "", False
)
api2.set_allowed_content(folderb, [])
api2.save(folderb)
with pytest.raises(UnallowedSubContent):
api2.copy(item=text_file, new_parent=folderb, new_label="test_file_copy")
def test_unit_copy_file__same_label_different_parent_ok(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="user1@user", groups=groups, save_now=True)
user2 = uapi.create_minimal_user(email="user2@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
RoleApi(current_user=user, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.WORKSPACE_MANAGER, with_notif=False
)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
foldera = api.create(content_type_list.Folder.slug, workspace, None, "folder a", "", True)
with self.session.no_autoflush:
text_file = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=foldera,
label="test_file",
do_save=False,
)
api.update_file_data(text_file, "test_file", "text/plain", b"test_content")
api.save(text_file, ActionDescription.CREATION)
api2 = ContentApi(current_user=user2, session=self.session, config=self.app_config)
workspace2 = WorkspaceApi(
current_user=user2, session=self.session, config=self.app_config
).create_workspace("test workspace2", save_now=True)
folderb = api2.create(content_type_list.Folder.slug, workspace2, None, "folder b", "", True)
api2.copy(item=text_file, new_parent=folderb)
transaction.commit()
text_file_copy = api2.get_one_by_label_and_parent("test_file", folderb)
assert text_file != text_file_copy
assert text_file_copy.content_id != text_file.content_id
assert text_file_copy.workspace_id == workspace2.workspace_id
assert text_file_copy.depot_file.file.read() == text_file.depot_file.file.read()
assert text_file_copy.depot_file.path != text_file.depot_file.path
assert text_file_copy.label == text_file.label
assert text_file_copy.type == text_file.type
assert text_file_copy.parent.content_id == folderb.content_id
assert text_file_copy.owner.user_id == user2.user_id
assert text_file_copy.description == text_file.description
assert text_file_copy.file_extension == text_file.file_extension
assert text_file_copy.file_mimetype == text_file.file_mimetype
assert text_file_copy.revision_type == ActionDescription.COPY
assert len(text_file_copy.revisions) == len(text_file.revisions) + 1
def test_unit_copy_file_different_label_same_parent_ok(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="user1@user", groups=groups, save_now=True)
user2 = uapi.create_minimal_user(email="user2@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
RoleApi(current_user=user, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.WORKSPACE_MANAGER, with_notif=False
)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
foldera = api.create(content_type_list.Folder.slug, workspace, None, "folder a", "", True)
with self.session.no_autoflush:
text_file = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=foldera,
label="test_file",
do_save=False,
)
api.update_file_data(text_file, "test_file", "text/plain", b"test_content")
api.save(text_file, ActionDescription.CREATION)
api2 = ContentApi(current_user=user2, session=self.session, config=self.app_config)
api2.copy(item=text_file, new_label="test_file_copy")
transaction.commit()
text_file_copy = api2.get_one_by_label_and_parent("test_file_copy", foldera)
assert text_file != text_file_copy
assert text_file_copy.content_id != text_file.content_id
assert text_file_copy.workspace_id == workspace.workspace_id
assert text_file_copy.depot_file.file.read() == text_file.depot_file.file.read()
assert text_file_copy.depot_file.path != text_file.depot_file.path
assert text_file_copy.label == "test_file_copy"
assert text_file_copy.type == text_file.type
assert text_file_copy.parent.content_id == foldera.content_id
assert text_file_copy.owner.user_id == user2.user_id
assert text_file_copy.description == text_file.description
assert text_file_copy.file_extension == text_file.file_extension
assert text_file_copy.file_mimetype == text_file.file_mimetype
assert text_file_copy.revision_type == ActionDescription.COPY
assert len(text_file_copy.revisions) == len(text_file.revisions) + 1
def test_unit_copy_file_different_label_same_parent__err__subcontent_not_allowed(self):
"""
re
:return:
"""
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="user1@user", groups=groups, save_now=True)
user2 = uapi.create_minimal_user(email="user2@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
RoleApi(current_user=user, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.WORKSPACE_MANAGER, with_notif=False
)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
foldera = api.create(content_type_list.Folder.slug, workspace, None, "folder a", "", True)
with self.session.no_autoflush:
text_file = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=foldera,
label="test_file",
do_save=False,
)
api.update_file_data(text_file, "test_file", "text/plain", b"test_content")
api.save(text_file, ActionDescription.CREATION)
with new_revision(self.session, transaction.manager, foldera):
api.set_allowed_content(foldera, [])
api.save(foldera)
api2 = ContentApi(current_user=user2, session=self.session, config=self.app_config)
with pytest.raises(UnallowedSubContent):
api2.copy(item=text_file, new_label="test_file_copy")
def test_unit_copy_file_different_label_same_parent__err__label_already_used(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="user1@user", groups=groups, save_now=True)
user2 = uapi.create_minimal_user(email="user2@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
RoleApi(current_user=user, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.WORKSPACE_MANAGER, with_notif=False
)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
foldera = api.create(content_type_list.Folder.slug, workspace, None, "folder a", "", True)
already_exist = api.create(
content_type_list.Folder.slug, workspace, foldera, "already_exist", "", True
)
with self.session.no_autoflush:
text_file = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=foldera,
label="test_file",
do_save=False,
)
api.update_file_data(text_file, "test_file", "text/plain", b"test_content")
api.save(text_file, ActionDescription.CREATION)
api2 = ContentApi(current_user=user2, session=self.session, config=self.app_config)
with pytest.raises(ContentFilenameAlreadyUsedInFolder):
api2.copy(item=text_file, new_label="already_exist")
transaction.commit()
new_already_exist = api2.get_one_by_label_and_parent("already_exist", foldera)
# file has no changed
assert new_already_exist.content_id == already_exist.content_id
def test_mark_read__workspace(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user_a = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
user_b = uapi.create_minimal_user(
email="this.is@another.user", groups=groups, save_now=True
)
wapi = WorkspaceApi(current_user=user_a, session=self.session, config=self.app_config)
workspace1 = wapi.create_workspace("test workspace n°1", save_now=True)
workspace2 = wapi.create_workspace("test workspace n°2", save_now=True)
role_api1 = RoleApi(current_user=user_a, session=self.session, config=self.app_config)
role_api1.create_one(user_b, workspace1, UserRoleInWorkspace.READER, False)
role_api2 = RoleApi(current_user=user_b, session=self.session, config=self.app_config)
role_api2.create_one(user_b, workspace2, UserRoleInWorkspace.READER, False)
cont_api_a = ContentApi(current_user=user_a, session=self.session, config=self.app_config)
cont_api_b = ContentApi(current_user=user_b, session=self.session, config=self.app_config)
# Creates page_1 & page_2 in workspace 1
# and page_3 & page_4 in workspace 2
page_1 = cont_api_a.create(
content_type_list.Page.slug, workspace1, None, "this is a page", do_save=True
)
page_2 = cont_api_a.create(
content_type_list.Page.slug, workspace1, None, "this is page1", do_save=True
)
page_3 = cont_api_a.create(
content_type_list.Thread.slug, workspace2, None, "this is page2", do_save=True
)
page_4 = cont_api_a.create(
content_type_list.File.slug, workspace2, None, "this is page3", do_save=True
)
for rev in page_1.revisions:
eq_(user_b not in rev.read_by.keys(), True)
for rev in page_2.revisions:
eq_(user_b not in rev.read_by.keys(), True)
for rev in page_3.revisions:
eq_(user_b not in rev.read_by.keys(), True)
for rev in page_4.revisions:
eq_(user_b not in rev.read_by.keys(), True)
# Set as read the workspace n°1
cont_api_b.mark_read__workspace(workspace=workspace1)
for rev in page_1.revisions:
eq_(user_b in rev.read_by.keys(), True)
for rev in page_2.revisions:
eq_(user_b in rev.read_by.keys(), True)
for rev in page_3.revisions:
eq_(user_b not in rev.read_by.keys(), True)
for rev in page_4.revisions:
eq_(user_b not in rev.read_by.keys(), True)
# Set as read the workspace n°2
cont_api_b.mark_read__workspace(workspace=workspace2)
for rev in page_1.revisions:
eq_(user_b in rev.read_by.keys(), True)
for rev in page_2.revisions:
eq_(user_b in rev.read_by.keys(), True)
for rev in page_3.revisions:
eq_(user_b in rev.read_by.keys(), True)
for rev in page_4.revisions:
eq_(user_b in rev.read_by.keys(), True)
def test_mark_read(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user_a = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
user_b = uapi.create_minimal_user(
email="this.is@another.user", groups=groups, save_now=True
)
wapi = WorkspaceApi(current_user=user_a, session=self.session, config=self.app_config)
workspace = wapi.create_workspace("test workspace", save_now=True)
role_api = RoleApi(current_user=user_a, session=self.session, config=self.app_config)
role_api.create_one(user_b, workspace, UserRoleInWorkspace.READER, False)
cont_api_a = ContentApi(current_user=user_a, session=self.session, config=self.app_config)
cont_api_b = ContentApi(current_user=user_b, session=self.session, config=self.app_config)
page_1 = cont_api_a.create(
content_type_list.Page.slug, workspace, None, "this is a page", do_save=True
)
for rev in page_1.revisions:
eq_(user_b not in rev.read_by.keys(), True)
cont_api_b.mark_read(page_1)
for rev in page_1.revisions:
eq_(user_b in rev.read_by.keys(), True)
def test_mark_read__all(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user_a = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
user_b = uapi.create_minimal_user(
email="this.is@another.user", groups=groups, save_now=True
)
wapi = WorkspaceApi(current_user=user_a, session=self.session, config=self.app_config)
workspace = wapi.create_workspace("test workspace", save_now=True)
role_api = RoleApi(current_user=user_a, session=self.session, config=self.app_config)
role_api.create_one(user_b, workspace, UserRoleInWorkspace.READER, False)
cont_api_a = ContentApi(current_user=user_a, session=self.session, config=self.app_config)
cont_api_b = ContentApi(current_user=user_b, session=self.session, config=self.app_config)
page_2 = cont_api_a.create(
content_type_list.Page.slug, workspace, None, "this is page1", do_save=True
)
page_3 = cont_api_a.create(
content_type_list.Thread.slug, workspace, None, "this is page2", do_save=True
)
page_4 = cont_api_a.create(
content_type_list.File.slug, workspace, None, "this is page3", do_save=True
)
for rev in page_2.revisions:
eq_(user_b not in rev.read_by.keys(), True)
for rev in page_3.revisions:
eq_(user_b not in rev.read_by.keys(), True)
for rev in page_4.revisions:
eq_(user_b not in rev.read_by.keys(), True)
self.session.refresh(page_2)
self.session.refresh(page_3)
self.session.refresh(page_4)
cont_api_b.mark_read__all()
for rev in page_2.revisions:
eq_(user_b in rev.read_by.keys(), True)
for rev in page_3.revisions:
eq_(user_b in rev.read_by.keys(), True)
for rev in page_4.revisions:
eq_(user_b in rev.read_by.keys(), True)
def test_unit__update__ok__nominal_case(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user1 = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace_api = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api.create_workspace("test workspace", save_now=True)
wid = workspace.workspace_id
user2 = uapi.create_minimal_user("this.is@another.user")
uapi.save(user2)
RoleApi(current_user=user1, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.CONTENT_MANAGER, with_notif=False, flush=True
)
# Test starts here
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
p = api.create(
content_type_slug=content_type_list.Page.slug,
workspace=workspace,
parent=None,
label="this_is_a_page",
do_save=True,
)
u1id = user1.user_id
u2id = user2.user_id
pcid = p.content_id
poid = p.owner_id
transaction.commit()
# Refresh instances after commit
user1 = uapi.get_one(u1id)
workspace = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
).get_one(wid)
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
content = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(u1id, content.owner_id)
eq_(poid, content.owner_id)
u2 = UserApi(session=self.session, config=self.app_config, current_user=None).get_one(u2id)
api2 = ContentApi(current_user=u2, session=self.session, config=self.app_config)
content2 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
with new_revision(session=self.session, tm=transaction.manager, content=content2):
api2.update_content(content2, "this is an updated page", "new content")
api2.save(content2)
transaction.commit()
# Refresh instances after commit
user1 = uapi.get_one(u1id)
workspace = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
).get_one(wid)
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
updated = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(
u2id,
updated.owner_id,
"the owner id should be {} (found {})".format(u2id, updated.owner_id),
)
eq_("this is an updated page", updated.label)
eq_("new content", updated.description)
eq_(ActionDescription.EDITION, updated.revision_type)
def test_unit__update__err__status_closed(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user1 = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace_api = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api.create_workspace("test workspace", save_now=True)
wid = workspace.workspace_id
user2 = uapi.create_minimal_user("this.is@another.user")
uapi.save(user2)
RoleApi(current_user=user1, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.CONTENT_MANAGER, with_notif=False, flush=True
)
# Test starts here
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
p = api.create(
content_type_slug=content_type_list.Page.slug,
workspace=workspace,
parent=None,
label="this_is_a_page",
do_save=False,
)
p.status = "closed-validated"
api.save(p)
u1id = user1.user_id
u2id = user2.user_id
pcid = p.content_id
poid = p.owner_id
transaction.commit()
# Refresh instances after commit
user1 = uapi.get_one(u1id)
workspace = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
).get_one(wid)
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
content = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(u1id, content.owner_id)
eq_(poid, content.owner_id)
u2 = UserApi(session=self.session, config=self.app_config, current_user=None).get_one(u2id)
api2 = ContentApi(current_user=u2, session=self.session, config=self.app_config)
content2 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
content2_nb_rev = len(content2.revisions)
with pytest.raises(ContentInNotEditableState):
with new_revision(session=self.session, tm=transaction.manager, content=content2):
api2.update_content(content2, "this is an updated page", "new content")
content3 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
assert content3.label == "this_is_a_page"
assert content2_nb_rev == len(content3.revisions)
def test_unit__update__err__label_already_used(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user1 = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace_api = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api.create_workspace("test workspace", save_now=True)
wid = workspace.workspace_id
user2 = uapi.create_minimal_user("this.is@another.user")
uapi.save(user2)
RoleApi(current_user=user1, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.CONTENT_MANAGER, with_notif=False, flush=True
)
# Test starts here
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
p = api.create(
content_type_slug=content_type_list.Page.slug,
workspace=workspace,
parent=None,
label="this_is_a_page",
do_save=True,
)
api.create(
content_type_slug=content_type_list.Page.slug,
workspace=workspace,
parent=None,
label="this_is_a_page2",
do_save=True,
)
u1id = user1.user_id
u2id = user2.user_id
pcid = p.content_id
poid = p.owner_id
transaction.commit()
# Refresh instances after commit
user1 = uapi.get_one(u1id)
workspace = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
).get_one(wid)
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
content = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(u1id, content.owner_id)
eq_(poid, content.owner_id)
u2 = UserApi(session=self.session, config=self.app_config, current_user=None).get_one(u2id)
api2 = ContentApi(current_user=u2, session=self.session, config=self.app_config)
content2 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
content2_nb_rev = len(content2.revisions)
with pytest.raises(ContentFilenameAlreadyUsedInFolder):
with new_revision(session=self.session, tm=transaction.manager, content=content2):
api2.update_content(content2, "this_is_a_page2", "new content")
api2.save(content2)
content3 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
assert content3.label == "this_is_a_page"
assert content2_nb_rev == len(content3.revisions)
def test_unit__update__err__label_dont_change(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user1 = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace_api = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api.create_workspace("test workspace", save_now=True)
wid = workspace.workspace_id
user2 = uapi.create_minimal_user("this.is@another.user")
uapi.save(user2)
RoleApi(current_user=user1, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.CONTENT_MANAGER, with_notif=False, flush=True
)
# Test starts here
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
p = api.create(
content_type_slug=content_type_list.Page.slug,
workspace=workspace,
parent=None,
label="this_is_a_page",
do_save=True,
)
api.create(
content_type_slug=content_type_list.Page.slug,
workspace=workspace,
parent=None,
label="this_is_a_page2",
do_save=True,
)
u1id = user1.user_id
u2id = user2.user_id
pcid = p.content_id
poid = p.owner_id
transaction.commit()
# Refresh instances after commit
user1 = uapi.get_one(u1id)
workspace = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
).get_one(wid)
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
content = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(u1id, content.owner_id)
eq_(poid, content.owner_id)
u2 = UserApi(session=self.session, config=self.app_config, current_user=None).get_one(u2id)
api2 = ContentApi(current_user=u2, session=self.session, config=self.app_config)
content2 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
content2_nb_rev = len(content2.revisions)
with pytest.raises(SameValueError):
with new_revision(session=self.session, tm=transaction.manager, content=content2):
api2.update_content(content2, "this_is_a_page", "")
api2.save(content2)
content3 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
assert content3.label == "this_is_a_page"
assert content2_nb_rev == len(content3.revisions)
def test_update_file_data__ok_nominal(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user1 = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace_api = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api.create_workspace("test workspace", save_now=True)
wid = workspace.workspace_id
user2 = uapi.create_minimal_user("this.is@another.user")
uapi.save(user2)
RoleApi(current_user=user1, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.CONTENT_MANAGER, with_notif=True, flush=True
)
# Test starts here
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
p = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=None,
label="this_is_a_page",
do_save=True,
)
u1id = user1.user_id
u2id = user2.user_id
pcid = p.content_id
poid = p.owner_id
api.save(p)
transaction.commit()
# Refresh instances after commit
user1 = uapi.get_one(u1id)
workspace_api2 = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api2.get_one(wid)
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
content = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(u1id, content.owner_id)
eq_(poid, content.owner_id)
u2 = UserApi(current_user=None, session=self.session, config=self.app_config).get_one(u2id)
api2 = ContentApi(current_user=u2, session=self.session, config=self.app_config)
content2 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
with new_revision(session=self.session, tm=transaction.manager, content=content2):
api2.update_file_data(content2, "index.html", "text/html", b"<html>hello world</html>")
api2.save(content2)
transaction.commit()
# Refresh instances after commit
user1 = uapi.get_one(u1id)
workspace = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
).get_one(wid)
updated = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(
u2id,
updated.owner_id,
"the owner id should be {} (found {})".format(u2id, updated.owner_id),
)
eq_("index.html", updated.file_name)
eq_("text/html", updated.file_mimetype)
eq_(b"<html>hello world</html>", updated.depot_file.file.read())
eq_(ActionDescription.REVISION, updated.revision_type)
def test_update_file_data__err__content_status_closed(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user1 = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace_api = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api.create_workspace("test workspace", save_now=True)
wid = workspace.workspace_id
user2 = uapi.create_minimal_user("this.is@another.user")
uapi.save(user2)
RoleApi(current_user=user1, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.CONTENT_MANAGER, with_notif=True, flush=True
)
# Test starts here
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
p = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=None,
label="this_is_a_page",
do_save=False,
)
p.status = "closed-validated"
api.save(p)
u1id = user1.user_id
u2id = user2.user_id
pcid = p.content_id
poid = p.owner_id
api.save(p)
transaction.commit()
# Refresh instances after commit
user1 = uapi.get_one(u1id)
workspace_api2 = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api2.get_one(wid)
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
content = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(u1id, content.owner_id)
eq_(poid, content.owner_id)
u2 = UserApi(current_user=None, session=self.session, config=self.app_config).get_one(u2id)
api2 = ContentApi(current_user=u2, session=self.session, config=self.app_config)
content2 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
content2_nb_rev = len(content2.revisions)
with pytest.raises(ContentInNotEditableState):
with new_revision(session=self.session, tm=transaction.manager, content=content2):
api2.update_file_data(
content2, "index.html", "text/html", b"<html>hello world</html>"
)
content3 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
assert content3.label == "this_is_a_page"
assert content2_nb_rev == len(content3.revisions)
def test_update_file_data__err__content_archived(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user1 = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace_api = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api.create_workspace("test workspace", save_now=True)
wid = workspace.workspace_id
user2 = uapi.create_minimal_user("this.is@another.user")
uapi.save(user2)
RoleApi(current_user=user1, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.CONTENT_MANAGER, with_notif=True, flush=True
)
# Test starts here
api = ContentApi(
current_user=user1, session=self.session, config=self.app_config, show_archived=True
)
p = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=None,
label="this_is_a_page",
do_save=False,
)
p.is_archived = True
api.save(p)
u1id = user1.user_id
u2id = user2.user_id
pcid = p.content_id
poid = p.owner_id
api.save(p)
transaction.commit()
# Refresh instances after commit
user1 = uapi.get_one(u1id)
workspace_api2 = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api2.get_one(wid)
api = ContentApi(
current_user=user1, session=self.session, config=self.app_config, show_archived=True
)
content = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(u1id, content.owner_id)
eq_(poid, content.owner_id)
u2 = UserApi(current_user=None, session=self.session, config=self.app_config).get_one(u2id)
api2 = ContentApi(
current_user=u2, session=self.session, config=self.app_config, show_archived=True
)
content2 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
content2_nb_rev = len(content2.revisions)
with pytest.raises(ContentInNotEditableState):
with new_revision(session=self.session, tm=transaction.manager, content=content2):
api2.update_file_data(
content2, "index.html", "text/html", b"<html>hello world</html>"
)
content3 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
assert content3.label == "this_is_a_page"
assert content2_nb_rev == len(content3.revisions)
def test_update_file_data__err__content_deleted(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user1 = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace_api = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api.create_workspace("test workspace", save_now=True)
wid = workspace.workspace_id
user2 = uapi.create_minimal_user("this.is@another.user")
uapi.save(user2)
RoleApi(current_user=user1, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.CONTENT_MANAGER, with_notif=True, flush=True
)
# Test starts here
api = ContentApi(
current_user=user1, session=self.session, config=self.app_config, show_deleted=True
)
p = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=None,
label="this_is_a_page",
do_save=False,
)
p.is_deleted = True
api.save(p)
u1id = user1.user_id
u2id = user2.user_id
pcid = p.content_id
poid = p.owner_id
api.save(p)
transaction.commit()
# Refresh instances after commit
user1 = uapi.get_one(u1id)
workspace_api2 = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api2.get_one(wid)
api = ContentApi(
current_user=user1, session=self.session, config=self.app_config, show_deleted=True
)
content = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(u1id, content.owner_id)
eq_(poid, content.owner_id)
u2 = UserApi(current_user=None, session=self.session, config=self.app_config).get_one(u2id)
api2 = ContentApi(
current_user=u2, session=self.session, config=self.app_config, show_deleted=True
)
content2 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
content2_nb_rev = len(content2.revisions)
with pytest.raises(ContentInNotEditableState):
with new_revision(session=self.session, tm=transaction.manager, content=content2):
api2.update_file_data(
content2, "index.html", "text/html", b"<html>hello world</html>"
)
content3 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
assert content3.label == "this_is_a_page"
assert content2_nb_rev == len(content3.revisions)
@pytest.mark.xfail(reason="Broken feature dues to pyramid behaviour")
def test_update_no_change(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user1 = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace_api = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api.create_workspace("test workspace", save_now=True)
user2 = uapi.create_minimal_user("this.is@another.user")
uapi.save(user2)
RoleApi(current_user=user1, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.CONTENT_MANAGER, with_notif=False, flush=True
)
api = ContentApi(current_user=user1, session=self.session, config=self.app_config)
with self.session.no_autoflush:
page = api.create(
content_type_slug=content_type_list.Page.slug,
workspace=workspace,
label="same_content",
do_save=False,
)
api.update_file_data(page, "index.html", "text/html", b"<html>Same Content Here</html>")
api.save(page, ActionDescription.CREATION, do_notify=True)
transaction.commit()
api2 = ContentApi(current_user=user2, session=self.session, config=self.app_config)
content2 = api2.get_one(page.content_id, content_type_list.Any_SLUG, workspace)
content2_nb_rev = len(content2.revisions)
with new_revision(session=self.session, tm=transaction.manager, content=content2):
with pytest.raises(SameValueError):
api2.update_file_data(
page, "index.html", "text/html", b"<html>Same Content Here</html>"
)
api2.save(content2)
transaction.commit()
content3 = api2.get_one(page.content_id, content_type_list.Any_SLUG, workspace)
assert content3.label == "index"
assert content2_nb_rev == len(content3.revisions)
def test_archive_unarchive(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user1 = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
u1id = user1.user_id
workspace_api = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api.create_workspace("test workspace", save_now=True)
wid = workspace.workspace_id
user2 = uapi.create_minimal_user("this.is@another.user")
uapi.save(user2)
RoleApi(current_user=user1, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.CONTENT_MANAGER, with_notif=True, flush=True
)
# show archived is used at the top end of the test
api = ContentApi(
current_user=user1, session=self.session, show_archived=True, config=self.app_config
)
p = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=None,
label="this_is_a_page",
do_save=True,
)
u1id = user1.user_id
u2id = user2.user_id
pcid = p.content_id
poid = p.owner_id
transaction.commit()
####
# refresh after commit
user1 = UserApi(current_user=None, config=self.app_config, session=self.session).get_one(
u1id
)
workspace = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
).get_one(wid)
content = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(u1id, content.owner_id)
eq_(poid, content.owner_id)
u2api = UserApi(session=self.session, config=self.app_config, current_user=None)
u2 = u2api.get_one(u2id)
api2 = ContentApi(
current_user=u2, session=self.session, config=self.app_config, show_archived=True
)
content2 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
with new_revision(session=self.session, tm=transaction.manager, content=content2):
api2.archive(content2)
api2.save(content2)
transaction.commit()
# refresh after commit
user1 = UserApi(current_user=None, session=self.session, config=self.app_config).get_one(
u1id
)
workspace = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
).get_one(wid)
u2 = UserApi(current_user=None, session=self.session, config=self.app_config).get_one(u2id)
api = ContentApi(
current_user=user1, session=self.session, config=self.app_config, show_archived=True
)
api2 = ContentApi(
current_user=u2, session=self.session, config=self.app_config, show_archived=True
)
updated = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(
u2id,
updated.owner_id,
"the owner id should be {} (found {})".format(u2id, updated.owner_id),
)
eq_(True, updated.is_archived)
eq_(ActionDescription.ARCHIVING, updated.revision_type)
####
updated2 = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
with new_revision(session=self.session, tm=transaction.manager, content=updated):
api.unarchive(updated)
api.save(updated2)
eq_(False, updated2.is_archived)
eq_(ActionDescription.UNARCHIVING, updated2.revision_type)
eq_(u1id, updated2.owner_id)
def test_delete_undelete(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user1 = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
u1id = user1.user_id
workspace_api = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
)
workspace = workspace_api.create_workspace("test workspace", save_now=True)
wid = workspace.workspace_id
user2 = uapi.create_minimal_user("this.is@another.user")
uapi.save(user2)
RoleApi(current_user=user1, session=self.session, config=self.app_config).create_one(
user2, workspace, UserRoleInWorkspace.CONTENT_MANAGER, with_notif=True, flush=True
)
# show archived is used at the top end of the test
api = ContentApi(
current_user=user1, session=self.session, config=self.app_config, show_deleted=True
)
p = api.create(
content_type_slug=content_type_list.File.slug,
workspace=workspace,
parent=None,
label="this_is_a_page",
do_save=True,
)
u1id = user1.user_id
u2id = user2.user_id
pcid = p.content_id
poid = p.owner_id
transaction.commit()
####
user1 = UserApi(current_user=None, session=self.session, config=self.app_config).get_one(
u1id
)
workspace = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
).get_one(wid)
content = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(u1id, content.owner_id)
eq_(poid, content.owner_id)
u2 = UserApi(current_user=None, session=self.session, config=self.app_config).get_one(u2id)
api2 = ContentApi(
current_user=u2, session=self.session, config=self.app_config, show_deleted=True
)
content2 = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
with new_revision(session=self.session, tm=transaction.manager, content=content2):
api2.delete(content2)
api2.save(content2)
transaction.commit()
####
user1 = UserApi(current_user=None, session=self.session, config=self.app_config).get_one(
u1id
)
workspace = WorkspaceApi(
current_user=user1, session=self.session, config=self.app_config
).get_one(wid)
# show archived is used at the top end of the test
api = ContentApi(
current_user=user1, session=self.session, config=self.app_config, show_deleted=True
)
u2 = UserApi(current_user=None, session=self.session, config=self.app_config).get_one(u2id)
api2 = ContentApi(
current_user=u2, session=self.session, config=self.app_config, show_deleted=True
)
updated = api2.get_one(pcid, content_type_list.Any_SLUG, workspace)
eq_(
u2id,
updated.owner_id,
"the owner id should be {} (found {})".format(u2id, updated.owner_id),
)
eq_(True, updated.is_deleted)
eq_(ActionDescription.DELETION, updated.revision_type)
####
updated2 = api.get_one(pcid, content_type_list.Any_SLUG, workspace)
with new_revision(tm=transaction.manager, session=self.session, content=updated2):
api.undelete(updated2)
api.save(updated2)
eq_(False, updated2.is_deleted)
eq_(ActionDescription.UNDELETION, updated2.revision_type)
eq_(u1id, updated2.owner_id)
def test_unit__get_last_active__ok__nominal_case(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
workspace2 = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace2", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
main_folder_workspace2 = api.create(
content_type_list.Folder.slug, workspace2, None, "Hepla", "", True
)
main_folder = api.create(
content_type_list.Folder.slug, workspace, None, "this is randomized folder", "", True
)
# creation order test
firstly_created = api.create(
content_type_list.Page.slug, workspace, main_folder, "creation_order_test", "", True
)
secondly_created = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"another creation_order_test",
"",
True,
)
# update order test
firstly_created_but_recently_updated = api.create(
content_type_list.Page.slug, workspace, main_folder, "update_order_test", "", True
)
secondly_created_but_not_updated = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"another update_order_test",
"",
True,
)
with new_revision(
session=self.session,
tm=transaction.manager,
content=firstly_created_but_recently_updated,
):
firstly_created_but_recently_updated.description = "Just an update"
api.save(firstly_created_but_recently_updated)
# comment change order
firstly_created_but_recently_commented = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"this is randomized label content",
"",
True,
)
secondly_created_but_not_commented = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"this is another randomized label content",
"",
True,
)
api.create_comment(
workspace, firstly_created_but_recently_commented, "juste a super comment", True
)
content_workspace_2 = api.create(
content_type_list.Page.slug,
workspace2,
main_folder_workspace2,
"content_workspace_2",
"",
True,
)
last_actives = api.get_last_active()
assert len(last_actives) == 9
# workspace_2 content
assert last_actives[0] == content_workspace_2
# comment is newest than page2
assert last_actives[1] == firstly_created_but_recently_commented
assert last_actives[2] == secondly_created_but_not_commented
# last updated content is newer than other one despite creation
# of the other is more recent
assert last_actives[3] == firstly_created_but_recently_updated
assert last_actives[4] == secondly_created_but_not_updated
# creation order is inverted here as last created is last active
assert last_actives[5] == secondly_created
assert last_actives[6] == firstly_created
# folder subcontent modification does not change folder order
assert last_actives[7] == main_folder
# folder subcontent modification does not change folder order
# (workspace2)
assert last_actives[8] == main_folder_workspace2
def test_unit__get_last_active__ok__do_no_show_deleted_archived(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace2", save_now=True)
api = ContentApi(
current_user=user,
session=self.session,
config=self.app_config,
show_deleted=False,
show_archived=False,
)
main_folder = api.create(
content_type_list.Folder.slug, workspace, None, "this is randomized folder", "", True
)
archived = api.create(
content_type_list.Page.slug, workspace, main_folder, "archived", "", True
)
deleted = api.create(
content_type_list.Page.slug, workspace, main_folder, "deleted", "", True
)
api.create_comment(workspace, parent=archived, content="just a comment", do_save=True)
api.create_comment(workspace, parent=deleted, content="just a comment", do_save=True)
with new_revision(session=self.session, tm=transaction.manager, content=archived):
api.archive(archived)
api.save(archived)
with new_revision(session=self.session, tm=transaction.manager, content=deleted):
api.delete(deleted)
api.save(deleted)
normal = api.create(content_type_list.Page.slug, workspace, main_folder, "normal", "", True)
api.create_comment(workspace, parent=normal, content="just a comment", do_save=True)
last_actives = api.get_last_active()
assert len(last_actives) == 2
assert last_actives[0].content_id == normal.content_id
assert last_actives[1].content_id == main_folder.content_id
api._show_deleted = True
api._show_archived = False
last_actives = api.get_last_active()
assert len(last_actives) == 3
assert last_actives[0] == normal
assert last_actives[1] == deleted
assert last_actives[2] == main_folder
api._show_deleted = False
api._show_archived = True
last_actives = api.get_last_active()
assert len(last_actives) == 3
assert last_actives[0] == normal
assert last_actives[1] == archived
assert last_actives[2] == main_folder
api._show_deleted = True
api._show_archived = True
last_actives = api.get_last_active()
assert len(last_actives) == 4
assert last_actives[0] == normal
assert last_actives[1] == deleted
assert last_actives[2] == archived
assert last_actives[3] == main_folder
def test_unit__get_last_active__ok__workspace_filter_workspace_full(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
main_folder = api.create(
content_type_list.Folder.slug, workspace, None, "this is randomized folder", "", True
)
# creation order test
firstly_created = api.create(
content_type_list.Page.slug, workspace, main_folder, "creation_order_test", "", True
)
secondly_created = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"another creation_order_test",
"",
True,
)
# update order test
firstly_created_but_recently_updated = api.create(
content_type_list.Page.slug, workspace, main_folder, "update_order_test", "", True
)
secondly_created_but_not_updated = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"another update_order_test",
"",
True,
)
with new_revision(
session=self.session,
tm=transaction.manager,
content=firstly_created_but_recently_updated,
):
firstly_created_but_recently_updated.description = "Just an update"
api.save(firstly_created_but_recently_updated)
# comment change order
firstly_created_but_recently_commented = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"this is randomized label content",
"",
True,
)
secondly_created_but_not_commented = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"this is another randomized label content",
"",
True,
)
api.create_comment(
workspace, firstly_created_but_recently_commented, "juste a super comment", True
)
last_actives = api.get_last_active(workspace=workspace)
assert len(last_actives) == 7
# comment is newest than page2
assert last_actives[0] == firstly_created_but_recently_commented
assert last_actives[1] == secondly_created_but_not_commented
# last updated content is newer than other one despite creation
# of the other is more recent
assert last_actives[2] == firstly_created_but_recently_updated
assert last_actives[3] == secondly_created_but_not_updated
# creation order is inverted here as last created is last active
assert last_actives[4] == secondly_created
assert last_actives[5] == firstly_created
# folder subcontent modification does not change folder order
assert last_actives[6] == main_folder
def test_unit__get_last_active__ok__workspace_filter_workspace_content_ids(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
main_folder = api.create(
content_type_list.Folder.slug, workspace, None, "this is randomized folder", "", True
)
# creation order test
firstly_created = api.create(
content_type_list.Page.slug, workspace, main_folder, "creation_order_test", "", True
)
secondly_created = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"another creation_order_test",
"",
True,
)
# update order test
firstly_created_but_recently_updated = api.create(
content_type_list.Page.slug, workspace, main_folder, "update_order_test", "", True
)
secondly_created_but_not_updated = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"another update_order_test",
"",
True,
)
with new_revision(
session=self.session,
tm=transaction.manager,
content=firstly_created_but_recently_updated,
):
firstly_created_but_recently_updated.description = "Just an update"
api.save(firstly_created_but_recently_updated)
# comment change order
firstly_created_but_recently_commented = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"this is randomized label content",
"",
True,
)
secondly_created_but_not_commented = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"this is another randomized label content",
"",
True,
)
api.create_comment(
workspace, firstly_created_but_recently_commented, "juste a super comment", True
)
selected_contents = [
firstly_created_but_recently_commented,
firstly_created_but_recently_updated,
firstly_created,
main_folder,
]
content_ids = [content.content_id for content in selected_contents]
last_actives = api.get_last_active(workspace=workspace, content_ids=content_ids)
assert len(last_actives) == 4
# comment is newest than page2
assert last_actives[0] == firstly_created_but_recently_commented
assert secondly_created_but_not_commented not in last_actives
# last updated content is newer than other one despite creation
# of the other is more recent
assert last_actives[1] == firstly_created_but_recently_updated
assert secondly_created_but_not_updated not in last_actives
# creation order is inverted here as last created is last active
assert secondly_created not in last_actives
assert last_actives[2] == firstly_created
# folder subcontent modification does not change folder order
assert last_actives[3] == main_folder
def test_unit__get_last_active__ok__workspace_filter_workspace_limit_2_multiples_times(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
main_folder = api.create(
content_type_list.Folder.slug, workspace, None, "this is randomized folder", "", True
)
# creation order test
firstly_created = api.create(
content_type_list.Page.slug, workspace, main_folder, "creation_order_test", "", True
)
secondly_created = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"another creation_order_test",
"",
True,
)
# update order test
firstly_created_but_recently_updated = api.create(
content_type_list.Page.slug, workspace, main_folder, "update_order_test", "", True
)
secondly_created_but_not_updated = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"another update_order_test",
"",
True,
)
with new_revision(
session=self.session,
tm=transaction.manager,
content=firstly_created_but_recently_updated,
):
firstly_created_but_recently_updated.description = "Just an update"
api.save(firstly_created_but_recently_updated)
# comment change order
firstly_created_but_recently_commented = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"this is randomized label content",
"",
True,
)
secondly_created_but_not_commented = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"this is another randomized label content",
"",
True,
)
api.create_comment(
workspace, firstly_created_but_recently_commented, "juste a super comment", True
)
last_actives = api.get_last_active(workspace=workspace, limit=2)
assert len(last_actives) == 2
# comment is newest than page2
assert last_actives[0] == firstly_created_but_recently_commented
assert last_actives[1] == secondly_created_but_not_commented
last_actives = api.get_last_active(
workspace=workspace, limit=2, before_content=last_actives[1]
)
assert len(last_actives) == 2
# last updated content is newer than other one despite creation
# of the other is more recent
assert last_actives[0] == firstly_created_but_recently_updated
assert last_actives[1] == secondly_created_but_not_updated
last_actives = api.get_last_active(
workspace=workspace, limit=2, before_content=last_actives[1]
)
assert len(last_actives) == 2
# creation order is inverted here as last created is last active
assert last_actives[0] == secondly_created
assert last_actives[1] == firstly_created
last_actives = api.get_last_active(
workspace=workspace, limit=2, before_content=last_actives[1]
)
assert len(last_actives) == 1
# folder subcontent modification does not change folder order
assert last_actives[0] == main_folder
def test_unit__get_last_active__ok__workspace_filter_workspace_empty(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
workspace2 = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace2", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
main_folder = api.create(
content_type_list.Folder.slug, workspace, None, "this is randomized folder", "", True
)
# creation order test
api.create(
content_type_list.Page.slug, workspace, main_folder, "creation_order_test", "", True
)
api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"another creation_order_test",
"",
True,
)
# update order test
firstly_created_but_recently_updated = api.create(
content_type_list.Page.slug, workspace, main_folder, "update_order_test", "", True
)
api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"another update_order_test",
"",
True,
)
with new_revision(
session=self.session,
tm=transaction.manager,
content=firstly_created_but_recently_updated,
):
firstly_created_but_recently_updated.description = "Just an update"
api.save(firstly_created_but_recently_updated)
# comment change order
firstly_created_but_recently_commented = api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"this is randomized label content",
"",
True,
)
api.create(
content_type_list.Page.slug,
workspace,
main_folder,
"this is another randomized label content",
"",
True,
)
api.create_comment(
workspace, firstly_created_but_recently_commented, "juste a super comment", True
)
last_actives = api.get_last_active(workspace=workspace2)
assert len(last_actives) == 0
def test_unit__search_in_label__ok__nominal_case(self):
# HACK - D.A. - 2015-03-09
# This test is based on a bug which does NOT return results found
# at root of a workspace (eg a folder)
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
a = api.create(
content_type_list.Folder.slug, workspace, None, "this is randomized folder", "", True
)
p = api.create(content_type_list.Page.slug, workspace, a, "this is another thing", "", True)
with new_revision(session=self.session, tm=transaction.manager, content=p):
p.description = "This is some other test"
api.save(p)
original_id = a.content_id
res = api._search_query(["randomized"])
eq_(1, len(res.all()))
item = res.all()[0]
eq_(original_id, item.content_id)
def test_unit__search_in_filename__nominal_case(self):
uapi = UserApi(session=self.session, config=self.app_config, current_user=None)
group_api = GroupApi(current_user=None, session=self.session, config=self.app_config)
groups = [
group_api.get_one(Group.TIM_USER),
group_api.get_one(Group.TIM_MANAGER),
group_api.get_one(Group.TIM_ADMIN),
]
user = uapi.create_minimal_user(email="this.is@user", groups=groups, save_now=True)
workspace = WorkspaceApi(
current_user=user, session=self.session, config=self.app_config
).create_workspace("test workspace", save_now=True)
api = ContentApi(current_user=user, session=self.session, config=self.app_config)
a = api.create(
content_type_list.Folder.slug, workspace, None, "this is randomized folder", "", True
)
p = api.create(
content_type_list.Page.slug, workspace, a, "this is dummy label content", "", True
)
with new_revision(tm=transaction.manager, session=self.session, content=p):
p.description = "This is some amazing test"
api.save(p)
original_id = a.content_id
res = api._search_query(["this is randomized folder"])
eq_(1, len(res.all()))
item = res.all()[0]
eq_(original_id, item.content_id)
original_id = p.content_id
res = api._search_query(["this is dummy label content.document.html"])
eq_(1, len(res.all()))
item = res.all()[0]
eq_(original_id, item.content_id)
class TestContentApiSecurity(DefaultTest):
fixtures = [FixtureTest]
def test_unit__cant_get_non_access_content__ok__nominal_case(self):
admin = self.session.query(User).filter(User.email == "admin@admin.admin").one()
bob = self.session.query(User).filter(User.email == "bob@fsf.local").one()
bob_workspace = WorkspaceApi(
current_user=bob, session=self.session, config=self.app_config
).create_workspace("bob_workspace", save_now=True)
admin_workspace = WorkspaceApi(
current_user=admin, session=self.session, config=self.app_config
).create_workspace("admin_workspace", save_now=True)
ContentApi(current_user=bob, session=self.session, config=self.app_config).create(
content_type_slug=content_type_list.Page.slug,
workspace=bob_workspace,
label="bob_page",
do_save=True,
)
ContentApi(current_user=admin, session=self.session, config=self.app_config).create(
content_type_slug=content_type_list.Page.slug,
workspace=admin_workspace,
label="admin_page",
do_save=True,
)
bob_viewable = ContentApi(
current_user=bob, session=self.session, config=self.app_config
).get_all()
eq_(1, len(bob_viewable), "Bob should view only one content")
eq_(
"bob_page",
bob_viewable[0].label,
'Bob should not view "{0}" content'.format(bob_viewable[0].label),
)
| 43.760508 | 100 | 0.656399 | 16,586 | 134,301 | 5.029422 | 0.023273 | 0.051823 | 0.079407 | 0.077214 | 0.928637 | 0.913556 | 0.898535 | 0.882915 | 0.869153 | 0.857681 | 0 | 0.008493 | 0.24865 | 134,301 | 3,068 | 101 | 43.774772 | 0.818149 | 0.025823 | 0 | 0.741551 | 0 | 0 | 0.046279 | 0.000161 | 0 | 0 | 0 | 0.000326 | 0.061444 | 1 | 0.023041 | false | 0 | 0.009601 | 0.000384 | 0.034178 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
ab347caf8b232b0e168d3f6ded07ba09b225f804 | 32,030 | py | Python | angr_platforms/tricore/rrr2_instr.py | shahinsba/angr-platforms | 86f9ea90c396fb5561d0196a2d1a873e573b0294 | [
"BSD-2-Clause"
] | null | null | null | angr_platforms/tricore/rrr2_instr.py | shahinsba/angr-platforms | 86f9ea90c396fb5561d0196a2d1a873e573b0294 | [
"BSD-2-Clause"
] | null | null | null | angr_platforms/tricore/rrr2_instr.py | shahinsba/angr-platforms | 86f9ea90c396fb5561d0196a2d1a873e573b0294 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python3
""" rrr2_instr.py
Implementation of RRR2 format instructions.
"""
from pyvex.lifting.util import Type, Instruction
from .rtl import * # pylint: disable=[wildcard-import, unused-wildcard-import]
from .logger import log_this
class RRR2_MADD_32_Inst(Instruction):
""" Multiply-Add 32-bit instruction:
op = 0x03
op2 = 0x0A
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MADD_32'
op = "{0}{1}".format(bin(0)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(0)[2:].zfill(4))
op2_2 = "{0}".format(bin(0xa)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_d(self):
return self.get("d{0}".format(self.data['d']), Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b(), self.get_d_d()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d = args[2]
result = d_d + (d_a * d_b)
# set flags
c = 0
v = overflow(result)
av = advanced_overflow(result)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
return result
def commit_result(self, res):
self.put(res, self.get_dst_reg())
class RRR2_MADD_64_Inst(Instruction):
""" Multiply-Add 64-bit instruction:
op = 0x03
op2 = 0x6A
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MADD_64'
op = "{0}{1}".format(bin(0)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(6)[2:].zfill(4))
op2_2 = "{0}".format(bin(0xa)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d_1 = self.get("d{0}".format(self.data['d']), Type.int_32)
d_d_2 = self.get("d{0}".format(self.data['d']+1), Type.int_32)
e_d = self.constant(0, Type.int_64) # 64-bit object
e_d |= d_d_2.cast_to(Type.int_64)
e_d <<= 32
e_d |= d_d_1.cast_to(Type.int_64)
d_a_64bit = d_a.cast_to(Type.int_64)
d_b_64bit = d_b.cast_to(Type.int_64)
result = e_d + (d_a_64bit * d_b_64bit)
# put results
result_d_c_1 = result & 0xffffffff
result_d_c_2 = result >> 32
self.put(result_d_c_1, "d{0}".format(self.data['c']))
self.put(result_d_c_2, "d{0}".format(self.data['c']+1))
# set flags
c = 0
v = overflow_64(result).cast_to(Type.int_32)
av = advanced_overflow_64(result).cast_to(Type.int_32)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
return result
def commit_result(self, res):
self.put(res, self.get_dst_reg())
class RRR2_MADD_U_64_Inst(Instruction):
""" Multiply-Add Unsigned 64-bit instruction:
op = 0x03
op2 = 0x68
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MADD.U_64'
op = "{0}{1}".format(bin(0)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(6)[2:].zfill(4))
op2_2 = "{0}".format(bin(8)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d_1 = self.get("d{0}".format(self.data['d']), Type.int_32)
d_d_2 = self.get("d{0}".format(self.data['d']+1), Type.int_32)
e_d = self.constant(0, Type.int_64) # 64-bit object
e_d |= d_d_2.cast_to(Type.int_64)
e_d <<= 32
e_d |= d_d_1.cast_to(Type.int_64)
d_a_64bit = d_a.cast_to(Type.int_64)
d_b_64bit = d_b.cast_to(Type.int_64)
result = e_d + (d_a_64bit * d_b_64bit) # Unsigned
# put results
result_d_c_1 = result & 0xffffffff
result_d_c_2 = result >> 32
self.put(result_d_c_1, "d{0}".format(self.data['c']))
self.put(result_d_c_2, "d{0}".format(self.data['c']+1))
# set flags
c = 0
v = overflow_64(result).cast_to(Type.int_32)
av = advanced_overflow_64(result).cast_to(Type.int_32)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
return result
def commit_result(self, res):
self.put(res, self.get_dst_reg())
class RRR2_MADDS_32_Inst(Instruction):
""" Multiply-Add, Saturated 32-bit instruction:
op = 0x03
op2 = 0x8A
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MADDS_32'
op = "{0}{1}".format(bin(0)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(8)[2:].zfill(4))
op2_2 = "{0}".format(bin(0xa)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_d(self):
return self.get("d{0}".format(self.data['d']), Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b(), self.get_d_d()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d = args[2]
max_pos = self.constant(INT32_MAX_POS, Type.int_32)
max_neg = self.constant(INT32_MAX_NEG, Type.int_32)
result = ssov32(d_d + (d_a * d_b), max_pos, max_neg)
# set flags
c = 0
v = overflow(result)
av = advanced_overflow(result)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
return result
def commit_result(self, res):
self.put(res, self.get_dst_reg())
class RRR2_MADDS_64_Inst(Instruction):
""" Multiply-Add, Saturated 64-bit instruction:
op = 0x03
op2 = 0xEA
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MADDS_64'
op = "{0}{1}".format(bin(0)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(0xe)[2:].zfill(4))
op2_2 = "{0}".format(bin(0xa)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d_1 = self.get("d{0}".format(self.data['d']), Type.int_32)
d_d_2 = self.get("d{0}".format(self.data['d']+1), Type.int_32)
e_d = self.constant(0, Type.int_64) # 64-bit object
e_d |= d_d_2.cast_to(Type.int_64)
e_d <<= 32
e_d |= d_d_1.cast_to(Type.int_64)
d_a_64bit = d_a.cast_to(Type.int_64)
d_b_64bit = d_b.cast_to(Type.int_64)
result = ssov64(e_d + (d_a_64bit * d_b_64bit))
# put results
result_d_c_1 = result & 0xffffffff
result_d_c_2 = result >> 32
self.put(result_d_c_1, "d{0}".format(self.data['c']))
self.put(result_d_c_2, "d{0}".format(self.data['c']+1))
# set flags
c = 0
v = overflow_64(result).cast_to(Type.int_32)
av = advanced_overflow_64(result).cast_to(Type.int_32)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
return result
def commit_result(self, res):
self.put(res, self.get_dst_reg())
class RRR2_MADDS_U_32_Inst(Instruction):
""" Multiply-Add Unsigned, Saturated 32-bit instruction:
op = 0x03
op2 = 0x88
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MADDS.U_32'
op = "{0}{1}".format(bin(0)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(8)[2:].zfill(4))
op2_2 = "{0}".format(bin(8)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_d(self):
return self.get("d{0}".format(self.data['d']), Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b(), self.get_d_d()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d = args[2]
result = suov32(d_d + (d_a * d_b)) # Unsigned
# set flags
c = 0
v = overflow(result)
av = advanced_overflow(result)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
return result
def commit_result(self, res):
self.put(res, self.get_dst_reg())
class RRR2_MADDS_U_64_Inst(Instruction):
""" Multiply-Add Unsigned, Saturated 64-bit instruction:
op = 0x03
op2 = 0xE8
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MADDS.U_64'
op = "{0}{1}".format(bin(0)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(0xe)[2:].zfill(4))
op2_2 = "{0}".format(bin(8)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d_1 = self.get("d{0}".format(self.data['d']), Type.int_32)
d_d_2 = self.get("d{0}".format(self.data['d']+1), Type.int_32)
e_d = self.constant(0, Type.int_64) # 64-bit object
e_d |= d_d_2.cast_to(Type.int_64)
e_d <<= 32
e_d |= d_d_1.cast_to(Type.int_64)
d_a_64bit = d_a.cast_to(Type.int_64)
d_b_64bit = d_b.cast_to(Type.int_64)
result = suov64(e_d + (d_a_64bit * d_b_64bit))
# put results
result_d_c_1 = result & 0xffffffff
result_d_c_2 = result >> 32
self.put(result_d_c_1, "d{0}".format(self.data['c']))
self.put(result_d_c_2, "d{0}".format(self.data['c']+1))
# set flags
c = 0
v = overflow_64(result).cast_to(Type.int_32)
av = advanced_overflow_64(result).cast_to(Type.int_32)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
return result
def commit_result(self, res):
self.put(res, self.get_dst_reg())
class RRR2_MSUB_32_Inst(Instruction):
""" Multiply-Subtract 32-bit instruction:
op = 0x23
op2 = 0x0A
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MSUB_32'
op = "{0}{1}".format(bin(2)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(0)[2:].zfill(4))
op2_2 = "{0}".format(bin(0xa)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_d(self):
return self.get("d{0}".format(self.data['d']), Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b(), self.get_d_d()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d = args[2]
result = d_d - (d_a * d_b)
# set flags
c = 0
v = overflow(result)
av = advanced_overflow(result)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
return result
def commit_result(self, res):
self.put(res, self.get_dst_reg())
class RRR2_MSUB_64_Inst(Instruction):
""" Multiply-Subtract 64-bit instruction:
op = 0x23
op2 = 0x6A
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MSUB_64'
op = "{0}{1}".format(bin(2)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(6)[2:].zfill(4))
op2_2 = "{0}".format(bin(0xa)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d_1 = self.get("d{0}".format(self.data['d']), Type.int_32)
d_d_2 = self.get("d{0}".format(self.data['d']+1), Type.int_32)
e_d = self.constant(0, Type.int_64) # 64-bit object
e_d |= d_d_2.cast_to(Type.int_64)
e_d <<= 32
e_d |= d_d_1.cast_to(Type.int_64)
d_a_64bit = d_a.cast_to(Type.int_64)
d_b_64bit = d_b.cast_to(Type.int_64)
result = e_d - (d_a_64bit * d_b_64bit)
# put results
result_d_c_1 = result & 0xffffffff
result_d_c_2 = result >> 32
self.put(result_d_c_1, "d{0}".format(self.data['c']))
self.put(result_d_c_2, "d{0}".format(self.data['c']+1))
# set flags
c = 0
v = overflow_64(result).cast_to(Type.int_32)
av = advanced_overflow_64(result).cast_to(Type.int_32)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
return result
def commit_result(self, res):
self.put(res, self.get_dst_reg())
class RRR2_MSUBS_32_Inst(Instruction):
""" Multiply-Subtract, Saturated 32-bit instruction:
op = 0x23
op2 = 0x8A
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MSUBS_32'
op = "{0}{1}".format(bin(2)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(8)[2:].zfill(4))
op2_2 = "{0}".format(bin(0xa)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_d(self):
return self.get("d{0}".format(self.data['d']), Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b(), self.get_d_d()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d = args[2]
max_pos = self.constant(INT32_MAX_POS, Type.int_32)
max_neg = self.constant(INT32_MAX_NEG, Type.int_32)
result = ssov32(d_d - (d_a * d_b), max_pos, max_neg)
# set flags
c = 0
v = overflow(result)
av = advanced_overflow(result)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
return result
def commit_result(self, res):
self.put(res, self.get_dst_reg())
class RRR2_MSUBS_64_Inst(Instruction):
""" Multiply-Subtract, Saturated 64-bit instruction:
op = 0x23
op2 = 0xEA
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MSUBS_64'
op = "{0}{1}".format(bin(2)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(0xe)[2:].zfill(4))
op2_2 = "{0}".format(bin(0xa)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d_1 = self.get("d{0}".format(self.data['d']), Type.int_32)
d_d_2 = self.get("d{0}".format(self.data['d']+1), Type.int_32)
e_d = self.constant(0, Type.int_64) # 64-bit object
e_d |= d_d_2.cast_to(Type.int_64)
e_d <<= 32
e_d |= d_d_1.cast_to(Type.int_64)
d_a_64bit = d_a.cast_to(Type.int_64)
d_b_64bit = d_b.cast_to(Type.int_64)
result = ssov64(e_d - (d_a_64bit * d_b_64bit))
# put results
result_d_c_1 = result & 0xffffffff
result_d_c_2 = result >> 32
self.put(result_d_c_1, "d{0}".format(self.data['c']))
self.put(result_d_c_2, "d{0}".format(self.data['c']+1))
# set flags
c = 0
v = overflow_64(result).cast_to(Type.int_32)
av = advanced_overflow_64(result).cast_to(Type.int_32)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
return result
def commit_result(self, res):
self.put(res, self.get_dst_reg())
class RRR2_MSUB_U_64_Inst(Instruction):
""" Multiply-Subtract Unsigned 64-bit instruction:
op = 0x23
op2 = 0x68
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MSUB.U_64'
op = "{0}{1}".format(bin(2)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(6)[2:].zfill(4))
op2_2 = "{0}".format(bin(8)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d_1 = self.get("d{0}".format(self.data['d']), Type.int_32)
d_d_2 = self.get("d{0}".format(self.data['d']+1), Type.int_32)
e_d = self.constant(0, Type.int_64) # 64-bit object
e_d |= d_d_2.cast_to(Type.int_64)
e_d <<= 32
e_d |= d_d_1.cast_to(Type.int_64)
d_a_64bit = d_a.cast_to(Type.int_64)
d_b_64bit = d_b.cast_to(Type.int_64)
result = e_d - (d_a_64bit * d_b_64bit) # Unsigned operators
# put results
result_d_c_1 = result & 0xffffffff
result_d_c_2 = result >> 32
self.put(result_d_c_1, "d{0}".format(self.data['c']))
self.put(result_d_c_2, "d{0}".format(self.data['c']+1))
# set flags
c = 0
v = overflow_64(result).cast_to(Type.int_32)
av = advanced_overflow_64(result).cast_to(Type.int_32)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
return result
def commit_result(self, res):
self.put(res, self.get_dst_reg())
class RRR2_MSUBS_U_32_Inst(Instruction):
""" Multiply-Subtract Unsigned, Saturated 32-bit instruction:
op = 0x23
op2 = 0x88
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MSUBS.U_32'
op = "{0}{1}".format(bin(2)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(8)[2:].zfill(4))
op2_2 = "{0}".format(bin(8)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_d(self):
return self.get("d{0}".format(self.data['d']), Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b(), self.get_d_d()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d = args[2]
max_pos = self.constant(INT32_MAX_POS, Type.int_32)
max_neg = self.constant(INT32_MAX_NEG, Type.int_32)
result = ssov32(d_d - (d_a * d_b), max_pos, max_neg)
# convert to unsigned
unsigned_cond = extend_to_32_bits(result & 0x80000000 == 0x80000000)
result = result & (unsigned_cond ^ 0xffffffff)
# set flags
c = 0
v = overflow(result)
av = advanced_overflow(result)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
return result
def commit_result(self, res):
self.put(res, self.get_dst_reg())
class RRR2_MSUBS_U_64_Inst(Instruction):
""" Multiply-Subtract Unsigned, Saturated 64-bit instruction:
op = 0x23
op2 = 0xE8
User Status Flags: V, SV, AV, SAV
"""
name = 'RRR2_MSUBS.U_64'
op = "{0}{1}".format(bin(2)[2:].zfill(4), bin(3)[2:].zfill(4))
op2_1 = "{0}".format(bin(0xe)[2:].zfill(4))
op2_2 = "{0}".format(bin(8)[2:].zfill(4))
bin_format = op + 'b'*4 + 'a'*4 + op2_1 + op2_2 + 'c'*4 + 'd'*4
def parse(self, bitstrm):
data = Instruction.parse(self, bitstrm)
data = {"a": int(data['a'], 2),
"b": int(data['b'], 2),
"c": int(data['c'], 2),
"d": int(data['d'], 2)}
log_this(self.name, data, hex(self.addr))
return data
def get_dst_reg(self):
return "d{0}".format(self.data['c'])
def get_psw(self):
return self.get("psw", Type.int_32)
def get_d_b(self):
return self.get("d{0}".format(self.data['b']), Type.int_32)
def get_d_a(self):
return self.get("d{0}".format(self.data['a']), Type.int_32)
def fetch_operands(self):
return self.get_d_a(), self.get_d_b()
def compute_result(self, *args):
d_a = args[0]
d_b = args[1]
d_d_1 = self.get("d{0}".format(self.data['d']), Type.int_32)
d_d_2 = self.get("d{0}".format(self.data['d']+1), Type.int_32)
e_d = self.constant(0, Type.int_64) # 64-bit object
e_d |= d_d_2.cast_to(Type.int_64)
e_d <<= 32
e_d |= d_d_1.cast_to(Type.int_64)
d_a_64bit = d_a.cast_to(Type.int_64)
d_b_64bit = d_b.cast_to(Type.int_64)
result = ssov64(e_d - (d_a_64bit * d_b_64bit))
# prepare results for 32-bit registers
result_d_c_1 = result & 0xffffffff
result_d_c_2 = result >> 32
# convert to unsigned
unsigned_cond_1 = extend_to_32_bits(result_d_c_1 & 0x80000000 == 0x80000000)
result_d_c_1 = result_d_c_1 & (unsigned_cond_1 ^ 0xffffffff)
unsigned_cond_2 = extend_to_32_bits(result_d_c_2 & 0x80000000 == 0x80000000)
result_d_c_2 = result_d_c_2 & (unsigned_cond_2 ^ 0xffffffff)
self.put(result_d_c_1, "d{0}".format(self.data['c']))
self.put(result_d_c_2, "d{0}".format(self.data['c']+1))
# set flags
c = 0
v = overflow_64(result).cast_to(Type.int_32)
av = advanced_overflow_64(result).cast_to(Type.int_32)
psw = self.get_psw()
cond_sv = (v == 0)
cond_sav = (av == 0)
sv = ((psw & SV_MASK) & cond_sv) | (1 & (cond_sv^1))
sav = ((psw & ASV_MASK) & cond_sav) | (1 & (cond_sav^1))
psw = set_usb(psw, c, v, sv, av, sav)
self.put(psw, "psw")
| 31.90239 | 84 | 0.538776 | 5,264 | 32,030 | 3.06098 | 0.023936 | 0.054738 | 0.048036 | 0.059579 | 0.976168 | 0.951592 | 0.938497 | 0.910693 | 0.910693 | 0.910693 | 0 | 0.063099 | 0.279582 | 32,030 | 1,003 | 85 | 31.934197 | 0.63519 | 0.062317 | 0 | 0.938571 | 0 | 0 | 0.034169 | 0 | 0 | 0 | 0.006983 | 0 | 0 | 1 | 0.167143 | false | 0 | 0.004286 | 0.108571 | 0.438571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 8 |
ab5bae0229780c0c7ac4e56adb75d2206056bd6e | 139 | py | Python | tests/unit/test_general.py | equinor/omnia-timeseries-sdk-python | 9826963932df763f15e44e495ffbfa7a1bea33e3 | [
"MIT"
] | 7 | 2019-11-15T14:42:29.000Z | 2021-06-18T10:08:31.000Z | tests/unit/test_general.py | equinor/omnia-timeseries-sdk-python | 9826963932df763f15e44e495ffbfa7a1bea33e3 | [
"MIT"
] | 7 | 2019-11-25T11:59:24.000Z | 2021-11-12T11:14:23.000Z | tests/unit/test_general.py | equinor/omnia-timeseries-sdk-python | 9826963932df763f15e44e495ffbfa7a1bea33e3 | [
"MIT"
] | null | null | null | """
Test general stuff
"""
import omnia_timeseries_sdk
def test_version():
assert isinstance(omnia_timeseries_sdk.__version__, str)
| 13.9 | 60 | 0.769784 | 17 | 139 | 5.764706 | 0.705882 | 0.306122 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136691 | 139 | 9 | 61 | 15.444444 | 0.816667 | 0.129496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
ab629aaa3335e13ffb25ff627b4bb0a2c94a02d0 | 1,674 | py | Python | src/oscar/apps/order/migrations/0013_auto_20210427_0806.py | LucasDsaint/NNOSCAR | 09ae1adb4e3bffa942245e4578e4267819fb8a51 | [
"BSD-3-Clause"
] | null | null | null | src/oscar/apps/order/migrations/0013_auto_20210427_0806.py | LucasDsaint/NNOSCAR | 09ae1adb4e3bffa942245e4578e4267819fb8a51 | [
"BSD-3-Clause"
] | null | null | null | src/oscar/apps/order/migrations/0013_auto_20210427_0806.py | LucasDsaint/NNOSCAR | 09ae1adb4e3bffa942245e4578e4267819fb8a51 | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 3.1.6 on 2021-04-27 11:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('order', '0012_auto_20210326_1629'),
]
operations = [
migrations.AlterField(
model_name='billingaddress',
name='last_name',
field=models.CharField(blank=True, help_text='para onde devemos entregar o seu pedido?', max_length=255, verbose_name='Local'),
),
migrations.AlterField(
model_name='billingaddress',
name='line1',
field=models.CharField(help_text='Data que você deseja agendar', max_length=255, verbose_name='Data'),
),
migrations.AlterField(
model_name='billingaddress',
name='line2',
field=models.CharField(blank=True, help_text='Horario que você deseja agendar.', max_length=255, verbose_name='Horario'),
),
migrations.AlterField(
model_name='shippingaddress',
name='last_name',
field=models.CharField(blank=True, help_text='para onde devemos entregar o seu pedido?', max_length=255, verbose_name='Local'),
),
migrations.AlterField(
model_name='shippingaddress',
name='line1',
field=models.CharField(help_text='Data que você deseja agendar', max_length=255, verbose_name='Data'),
),
migrations.AlterField(
model_name='shippingaddress',
name='line2',
field=models.CharField(blank=True, help_text='Horario que você deseja agendar.', max_length=255, verbose_name='Horario'),
),
]
| 38.045455 | 139 | 0.621266 | 181 | 1,674 | 5.585635 | 0.320442 | 0.118694 | 0.148368 | 0.172107 | 0.85361 | 0.85361 | 0.710188 | 0.710188 | 0.710188 | 0.710188 | 0 | 0.04295 | 0.262843 | 1,674 | 43 | 140 | 38.930233 | 0.776337 | 0.026882 | 0 | 0.810811 | 1 | 0 | 0.236632 | 0.014136 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
db471dd1c29606891150f82549be620edddeb7b1 | 2,209 | py | Python | DIN/base_model/input.py | liuhongbing1220/recommend_system | 9571e21580b79adc1d42615649f4d2d89ffb15b2 | [
"Apache-2.0"
] | 6 | 2019-11-05T08:10:12.000Z | 2021-03-25T08:12:08.000Z | DIN/pnn/input.py | liuhongbing1220/recommend_system | 9571e21580b79adc1d42615649f4d2d89ffb15b2 | [
"Apache-2.0"
] | null | null | null | DIN/pnn/input.py | liuhongbing1220/recommend_system | 9571e21580b79adc1d42615649f4d2d89ffb15b2 | [
"Apache-2.0"
] | 1 | 2020-03-10T15:02:31.000Z | 2020-03-10T15:02:31.000Z | import numpy as np
class DataInput:
def __init__(self, data, batch_size):
self.batch_size = batch_size
self.data = data
self.epoch_size = len(self.data) // self.batch_size
if self.epoch_size * self.batch_size < len(self.data):
self.epoch_size += 1
self.i = 0
def __iter__(self):
return self
def next(self):
if self.i == self.epoch_size:
raise StopIteration
ts = self.data[self.i * self.batch_size : min((self.i+1) * self.batch_size,
len(self.data))]
self.i += 1
u, i, y, sl = [], [], [], []
for t in ts:
u.append(t[0])
i.append(t[2])
y.append(t[3])
sl.append(len(t[1]))
max_sl = max(sl)
hist_i = np.zeros([len(ts), max_sl], np.int64)
k = 0
for t in ts:
for l in range(len(t[1])):
hist_i[k][l] = t[1][l]
k += 1
return self.i, (u, i, y, hist_i, sl)
class DataInputTest:
def __init__(self, data, batch_size):
self.batch_size = batch_size
self.data = data
self.epoch_size = len(self.data) // self.batch_size
if self.epoch_size * self.batch_size < len(self.data):
self.epoch_size += 1
self.i = 0
def __iter__(self):
return self
def next(self):
if self.i == self.epoch_size:
raise StopIteration
ts = self.data[self.i * self.batch_size : min((self.i+1) * self.batch_size,
len(self.data))]
self.i += 1
u, i, j, sl = [], [], [], []
for t in ts:
u.append(t[0])
i.append(t[2][0])
j.append(t[2][1])
sl.append(len(t[1]))
max_sl = max(sl)
hist_i = np.zeros([len(ts), max_sl], np.int64)
k = 0
for t in ts:
for l in range(len(t[1])):
hist_i[k][l] = t[1][l]
k += 1
return self.i, (u, i, j, hist_i, sl)
| 26.939024 | 116 | 0.444092 | 304 | 2,209 | 3.069079 | 0.141447 | 0.135048 | 0.139335 | 0.096463 | 0.908896 | 0.908896 | 0.908896 | 0.908896 | 0.908896 | 0.908896 | 0 | 0.023529 | 0.422816 | 2,209 | 81 | 117 | 27.271605 | 0.708235 | 0 | 0 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098361 | false | 0 | 0.016393 | 0.032787 | 0.213115 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
dbc80c196a58ab40b8ce712b901214f4446c841c | 1,676 | py | Python | tests/snapshots/snap_test_status_cli.py | tdeschamps/ggshield | 621a6bb9c7ff9ca7f16c0f4fe383327db9fe22c8 | [
"MIT"
] | 136 | 2021-07-14T11:51:59.000Z | 2022-03-31T00:23:26.000Z | tests/snapshots/snap_test_status_cli.py | tdeschamps/ggshield | 621a6bb9c7ff9ca7f16c0f4fe383327db9fe22c8 | [
"MIT"
] | 83 | 2021-07-15T12:40:28.000Z | 2022-03-31T09:39:22.000Z | tests/snapshots/snap_test_status_cli.py | tdeschamps/ggshield | 621a6bb9c7ff9ca7f16c0f4fe383327db9fe22c8 | [
"MIT"
] | 26 | 2021-07-23T08:43:32.000Z | 2022-03-21T18:23:40.000Z | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots['test_api_status[test_health_check-False] 1'] = '''\x1b[97m\x1b[1m\x1b[22mAPI URL:\x1b[0m https://api.gitguardian.com/
\x1b[97m\x1b[1m\x1b[22mStatus:\x1b[0m \x1b[32m\x1b[22m\x1b[22mhealthy\x1b[0m
\x1b[97m\x1b[1m\x1b[22mApp version:\x1b[0m 1.32.0-rc.2
\x1b[97m\x1b[1m\x1b[22mSecrets engine version:\x1b[0m 2.56.0
'''
snapshots['test_api_status[test_health_check-True] 1'] = '''{"detail": "Valid API key.", "status_code": 200, "app_version": "1.32.0-rc.2", "secrets_engine_version": "2.56.0"}
'''
snapshots['test_api_status[test_health_check_error-False] 1'] = '''\x1b[97m\x1b[1m\x1b[22mAPI URL:\x1b[0m https://api.gitguardian.com/
\x1b[97m\x1b[1m\x1b[22mStatus:\x1b[0m \x1b[32m\x1b[22m\x1b[22mhealthy\x1b[0m
\x1b[97m\x1b[1m\x1b[22mApp version:\x1b[0m 1.32.0-rc.2
\x1b[97m\x1b[1m\x1b[22mSecrets engine version:\x1b[0m 2.56.0
'''
snapshots['test_quota[quota-False] 1'] = '''Quota available: \x1b[32m\x1b[22m\x1b[22m806\x1b[0m
Quota used in the last 30 days: 194
Total Quota of the workspace: 1000
'''
snapshots['test_quota[quota-True] 1'] = '''{"count": 194, "limit": 1000, "remaining": 806, "since": "2021-11-02"}
'''
snapshots['test_quota[quota_half_remaining-False] 1'] = '''Quota available: \x1b[32m\x1b[22m\x1b[22m806\x1b[0m
Quota used in the last 30 days: 194
Total Quota of the workspace: 1000
'''
snapshots['test_quota[quota_low_remaining-False] 1'] = '''Quota available: \x1b[32m\x1b[22m\x1b[22m806\x1b[0m
Quota used in the last 30 days: 194
Total Quota of the workspace: 1000
'''
| 35.659574 | 174 | 0.718974 | 290 | 1,676 | 4.051724 | 0.265517 | 0.055319 | 0.061277 | 0.074894 | 0.765957 | 0.76 | 0.76 | 0.728511 | 0.728511 | 0.728511 | 0 | 0.150757 | 0.093675 | 1,676 | 46 | 175 | 36.434783 | 0.622778 | 0.036993 | 0 | 0.655172 | 0 | 0.344828 | 0.832402 | 0.425822 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
91547f62d4c0ef7cafac9bc1a420fe2ed7db4811 | 64,934 | py | Python | plugins/sonicwall_capture_client/icon_sonicwall_capture_client/actions/get_agent_details/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/sonicwall_capture_client/icon_sonicwall_capture_client/actions/get_agent_details/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/sonicwall_capture_client/icon_sonicwall_capture_client/actions/get_agent_details/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
import insightconnect_plugin_runtime
import json
class Component:
DESCRIPTION = "Get details for an agent"
class Input:
AGENT = "agent"
class Output:
AGENT = "agent"
class GetAgentDetailsInput(insightconnect_plugin_runtime.Input):
schema = json.loads("""
{
"type": "object",
"title": "Variables",
"properties": {
"agent": {
"type": "string",
"title": "Agent",
"description": "Agent to retrieve device information from. Accepts IP address, MAC address, hostname, or device ID",
"order": 1
}
},
"required": [
"agent"
]
}
""")
def __init__(self):
super(self.__class__, self).__init__(self.schema)
class GetAgentDetailsOutput(insightconnect_plugin_runtime.Output):
schema = json.loads("""
{
"type": "object",
"title": "Variables",
"properties": {
"agent": {
"$ref": "#/definitions/agent_information",
"title": "Agent",
"description": "Information about an agent",
"order": 1
}
},
"required": [
"agent"
],
"definitions": {
"activeDirectory": {
"type": "object",
"title": "activeDirectory",
"properties": {
"computerMemberOf": {
"type": "array",
"title": "Computer Member of",
"description": "Computer member of",
"items": {
"type": "object"
},
"order": 1
},
"lastUserMemberOf": {
"type": "array",
"title": "Last User Member of",
"description": "Last user member of",
"items": {
"type": "object"
},
"order": 2
}
}
},
"agentPolicySettings": {
"type": "object",
"title": "agentPolicySettings",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"addToKeychain": {
"type": "boolean",
"title": "Add to Keychain",
"description": "Add to keychain",
"order": 2
},
"addToWindowsStore": {
"type": "boolean",
"title": "Add to Windows Store",
"description": "Add to windows store",
"order": 3
},
"certificates": {
"type": "array",
"title": "Certificates",
"description": "Certificates",
"items": {
"type": "object"
},
"order": 4
},
"firefoxStoreMac": {
"type": "string",
"title": "Firefox Store MAC",
"description": "Firefox store MAC",
"order": 5
},
"firefoxStoreWindows": {
"type": "string",
"title": "Firefox Store Windows",
"description": "Firefox store windows",
"order": 6
},
"keepAfterUninstallClient": {
"type": "boolean",
"title": "Keep After Uninstall Client",
"description": "Keep after uninstall client",
"order": 7
}
}
},
"agent_information": {
"type": "object",
"title": "agent_information",
"properties": {
"activeDirectory": {
"$ref": "#/definitions/activeDirectory",
"title": "Active Directory",
"description": "Active directory",
"order": 1
},
"activeThreats": {
"type": "integer",
"title": "Active Threats",
"description": "Active threats",
"order": 2
},
"agentVersion": {
"type": "string",
"title": "Agent Version",
"description": "Agent version",
"order": 3
},
"alerts": {
"type": "array",
"title": "Alerts",
"description": "Alerts",
"items": {
"type": "object"
},
"order": 4
},
"applications": {
"type": "array",
"title": "Applications",
"description": "Applications",
"items": {
"$ref": "#/definitions/applications"
},
"order": 5
},
"clientState": {
"type": "string",
"title": "Client State",
"description": "Client state",
"order": 6
},
"clientStateTs": {
"type": "integer",
"title": "Client State TS",
"description": "Clientstate TS",
"order": 7
},
"clientVersion": {
"type": "string",
"title": "Client Version",
"description": "Client version",
"order": 8
},
"createdAt": {
"type": "string",
"title": "Created At",
"description": "Created at",
"order": 9
},
"currentFirewallSn": {
"type": "string",
"title": "Current Firewall SN",
"description": "Current firewall SN",
"order": 10
},
"currentUser": {
"type": "string",
"title": "Current User",
"description": "Current user",
"order": 11
},
"deviceId": {
"type": "string",
"title": "Device ID",
"description": "Device ID",
"order": 12
},
"deviceSettingsTs": {
"type": "integer",
"title": "Device Settings TS",
"description": "Device settings TS",
"order": 13
},
"deviceType": {
"type": "string",
"title": "Device Type",
"description": "Device type",
"order": 14
},
"domain": {
"type": "string",
"title": "Domain",
"description": "Domain",
"order": 15
},
"encryptedApplications": {
"type": "boolean",
"title": "Encrypted Applications",
"description": "Encrypted applications",
"order": 16
},
"enforcedPolicy": {
"type": "array",
"title": "Enforced Policy",
"description": "Enforced policy",
"items": {
"$ref": "#/definitions/enforcedPolicy"
},
"order": 17
},
"externalIp": {
"type": "string",
"title": "External IP",
"description": "Externali IP",
"order": 18
},
"firewallProtectionMode": {
"type": "string",
"title": "Firewall Protection Mode",
"description": "Firewall protection mode",
"order": 19
},
"geoLocation": {
"$ref": "#/definitions/geoLocation",
"title": "GEO Location",
"description": "GEO Location",
"order": 20
},
"groups": {
"type": "array",
"title": "Groups",
"description": "Groups",
"items": {
"type": "object"
},
"order": 21
},
"hwModel": {
"type": "string",
"title": "HW Model",
"description": "HW model",
"order": 22
},
"infected": {
"type": "boolean",
"title": "Infected",
"description": "Infected",
"order": 23
},
"installToken": {
"type": "string",
"title": "Install Token",
"description": "Install token",
"order": 24
},
"ip": {
"type": "string",
"title": "IP",
"description": "IP",
"order": 25
},
"isActive": {
"type": "boolean",
"title": "Is Active",
"description": "Is active",
"order": 26
},
"isMobile": {
"type": "boolean",
"title": "Is Mobile",
"description": "Is mobile",
"order": 27
},
"isPendingUninstall": {
"type": "boolean",
"title": "Is Pending Uninstall",
"description": "Is pending uninstall",
"order": 28
},
"lastPolicyId": {
"type": "string",
"title": "Last Policy ID",
"description": "Last policy ID",
"order": 29
},
"lastPolicyUpdateTs": {
"type": "integer",
"title": "Last Policy Update TS",
"description": "Last policy update TS",
"order": 30
},
"licenses": {
"type": "array",
"title": "Licenses",
"description": "Licenses",
"items": {
"$ref": "#/definitions/licenses"
},
"order": 31
},
"localIp": {
"type": "string",
"title": "Local IP",
"description": "Local IP",
"order": 32
},
"location": {
"$ref": "#/definitions/location",
"title": "Location",
"description": "Location",
"order": 33
},
"locationTs": {
"type": "integer",
"title": "Location TS",
"description": "Location TS",
"order": 34
},
"macAddress": {
"type": "string",
"title": "MAC Address",
"description": "MAC address",
"order": 35
},
"mitigationMode": {
"type": "string",
"title": "Mitigation Mode",
"description": "Mitigation mode",
"order": 36
},
"mitigationModeSuspicious": {
"type": "string",
"title": "Mitigation Mode Suspicious",
"description": "Mitigation mode suspicious",
"order": 37
},
"name": {
"type": "string",
"title": "Name",
"description": "Name",
"order": 38
},
"network": {
"$ref": "#/definitions/network",
"title": "Network",
"description": "Network",
"order": 39
},
"networkStatus": {
"type": "string",
"title": "Network Status",
"description": "Network status",
"order": 40
},
"onlineStatus": {
"type": "string",
"title": "Online Status",
"description": "Online status",
"order": 41
},
"os": {
"type": "string",
"title": "OS",
"description": "OS",
"order": 42
},
"osVersion": {
"type": "string",
"title": "OS Version",
"description": "OS version",
"order": 43
},
"processTs": {
"type": "integer",
"title": "Process TS",
"description": "Process TS",
"order": 44
},
"processes": {
"type": "array",
"title": "Processes",
"description": "Processes",
"items": {
"$ref": "#/definitions/processes"
},
"order": 45
},
"processorType": {
"type": "string",
"title": "Processor Type",
"description": "Processor type",
"order": 46
},
"releaseGuids": {
"type": "array",
"title": "Release GUIDS",
"description": "Release GUIDS",
"items": {
"type": "object"
},
"order": 47
},
"s1AgentId": {
"type": "string",
"title": "S1 Agent ID",
"description": "S1 agent ID",
"order": 48
},
"s1GroupId": {
"type": "string",
"title": "S1 Group ID",
"description": "S1 group ID",
"order": 49
},
"s1Passphrase": {
"type": "string",
"title": "S1 Passphrase",
"description": "S1 passphrase",
"order": 50
},
"s1PassphraseTs": {
"type": "integer",
"title": "S1 Passphrase TS",
"description": "S1 passphrase TS",
"order": 51
},
"scanAbortedAt": {
"type": "string",
"title": "Scan Aborted At",
"description": "Scan aborted at",
"order": 52
},
"scanFinishedAt": {
"type": "string",
"title": "Scan Finished At",
"description": "Scan finished at",
"order": 53
},
"scanStartedAt": {
"type": "string",
"title": "Scan Started At",
"description": "Scan started at",
"order": 54
},
"scanStatus": {
"type": "string",
"title": "Scan Status",
"description": "Scan status",
"order": 55
},
"scanStatusTs": {
"type": "integer",
"title": "Scan Status TS",
"description": "Scan status TS",
"order": 56
},
"serverType": {
"type": "string",
"title": "Server Type",
"description": "Server type",
"order": 57
},
"telemetryTs": {
"type": "integer",
"title": "Telemetry TS",
"description": "Telemetry TS",
"order": 58
},
"tenant": {
"$ref": "#/definitions/tenant",
"title": "Tenant",
"description": "Tenant",
"order": 59
},
"timezoneName": {
"type": "string",
"title": "Timezone Name",
"description": "Timezone name",
"order": 60
},
"timezoneOffset": {
"type": "string",
"title": "Timezone Offset",
"description": "Timezone offset",
"order": 61
},
"uninstallPwd": {
"type": "string",
"title": "Uninstall PWD",
"description": "Uninstall PWD",
"order": 62
},
"updatedAt": {
"type": "string",
"title": "Updated At",
"description": "Updated at",
"order": 63
},
"userActionsNeeded": {
"type": "array",
"title": "User ctions Needed",
"description": "User actions needed",
"items": {
"type": "object"
},
"order": 64
},
"users": {
"type": "array",
"title": "Users",
"description": "Users",
"items": {
"$ref": "#/definitions/users"
},
"order": 65
}
},
"definitions": {
"activeDirectory": {
"type": "object",
"title": "activeDirectory",
"properties": {
"computerMemberOf": {
"type": "array",
"title": "Computer Member of",
"description": "Computer member of",
"items": {
"type": "object"
},
"order": 1
},
"lastUserMemberOf": {
"type": "array",
"title": "Last User Member of",
"description": "Last user member of",
"items": {
"type": "object"
},
"order": 2
}
}
},
"agentPolicySettings": {
"type": "object",
"title": "agentPolicySettings",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"addToKeychain": {
"type": "boolean",
"title": "Add to Keychain",
"description": "Add to keychain",
"order": 2
},
"addToWindowsStore": {
"type": "boolean",
"title": "Add to Windows Store",
"description": "Add to windows store",
"order": 3
},
"certificates": {
"type": "array",
"title": "Certificates",
"description": "Certificates",
"items": {
"type": "object"
},
"order": 4
},
"firefoxStoreMac": {
"type": "string",
"title": "Firefox Store MAC",
"description": "Firefox store MAC",
"order": 5
},
"firefoxStoreWindows": {
"type": "string",
"title": "Firefox Store Windows",
"description": "Firefox store windows",
"order": 6
},
"keepAfterUninstallClient": {
"type": "boolean",
"title": "Keep After Uninstall Client",
"description": "Keep after uninstall client",
"order": 7
}
}
},
"applications": {
"type": "object",
"title": "applications",
"properties": {
"installedDate": {
"type": "string",
"title": "Installed Date",
"description": "Installed date",
"order": 1
},
"name": {
"type": "string",
"title": "Name",
"description": "Name",
"order": 2
},
"publisher": {
"type": "string",
"title": "Publisher",
"description": "Publisher",
"order": 3
},
"size": {
"type": "integer",
"title": "Size",
"description": "Size",
"order": 4
},
"version": {
"type": "string",
"title": "Version",
"description": "Version",
"order": 5
}
}
},
"enforcedPolicy": {
"type": "object",
"title": "enforcedPolicy",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"policy": {
"$ref": "#/definitions/policy",
"title": "Policy",
"description": "Policy",
"order": 2
},
"policyTs": {
"type": "integer",
"title": "Policy TS",
"description": "Policy TS",
"order": 3
},
"type": {
"type": "string",
"title": "Type",
"description": "Type",
"order": 4
}
},
"definitions": {
"agentPolicySettings": {
"type": "object",
"title": "agentPolicySettings",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"addToKeychain": {
"type": "boolean",
"title": "Add to Keychain",
"description": "Add to keychain",
"order": 2
},
"addToWindowsStore": {
"type": "boolean",
"title": "Add to Windows Store",
"description": "Add to windows store",
"order": 3
},
"certificates": {
"type": "array",
"title": "Certificates",
"description": "Certificates",
"items": {
"type": "object"
},
"order": 4
},
"firefoxStoreMac": {
"type": "string",
"title": "Firefox Store MAC",
"description": "Firefox store MAC",
"order": 5
},
"firefoxStoreWindows": {
"type": "string",
"title": "Firefox Store Windows",
"description": "Firefox store windows",
"order": 6
},
"keepAfterUninstallClient": {
"type": "boolean",
"title": "Keep After Uninstall Client",
"description": "Keep after uninstall client",
"order": 7
}
}
},
"policy": {
"type": "object",
"title": "policy",
"properties": {
"agentPolicySettings": {
"$ref": "#/definitions/agentPolicySettings",
"title": "Agent Policy Settings",
"description": "Agent policy settings",
"order": 1
},
"enforced": {
"type": "boolean",
"title": "Enforced",
"description": "Enforced",
"order": 2
},
"name": {
"type": "string",
"title": "Name",
"description": "Name",
"order": 3
},
"policyId": {
"type": "string",
"title": "Policy ID",
"description": "Policy ID",
"order": 4
},
"policyTs": {
"type": "integer",
"title": "Policy TS",
"description": "Policy TS",
"order": 5
},
"releaseGuid": {
"type": "string",
"title": "Release GUID",
"description": "Release GUID",
"order": 6
},
"tenant": {
"type": "string",
"title": "Tenant",
"description": "Tenant",
"order": 7
},
"type": {
"type": "string",
"title": "Type",
"description": "Type",
"order": 8
},
"typeDescription": {
"type": "string",
"title": "Type Description",
"description": "Type description",
"order": 9
},
"uninstall": {
"type": "boolean",
"title": "Uninstall",
"description": "Uninstall",
"order": 10
}
},
"definitions": {
"agentPolicySettings": {
"type": "object",
"title": "agentPolicySettings",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"addToKeychain": {
"type": "boolean",
"title": "Add to Keychain",
"description": "Add to keychain",
"order": 2
},
"addToWindowsStore": {
"type": "boolean",
"title": "Add to Windows Store",
"description": "Add to windows store",
"order": 3
},
"certificates": {
"type": "array",
"title": "Certificates",
"description": "Certificates",
"items": {
"type": "object"
},
"order": 4
},
"firefoxStoreMac": {
"type": "string",
"title": "Firefox Store MAC",
"description": "Firefox store MAC",
"order": 5
},
"firefoxStoreWindows": {
"type": "string",
"title": "Firefox Store Windows",
"description": "Firefox store windows",
"order": 6
},
"keepAfterUninstallClient": {
"type": "boolean",
"title": "Keep After Uninstall Client",
"description": "Keep after uninstall client",
"order": 7
}
}
}
}
}
}
},
"geoLocation": {
"type": "object",
"title": "geoLocation",
"properties": {
"coordinates": {
"type": "array",
"title": "Coordinates",
"description": "Coordinates",
"items": {
"type": "number"
},
"order": 1
},
"type": {
"type": "string",
"title": "Type",
"description": "Type",
"order": 2
}
}
},
"interfaces": {
"type": "object",
"title": "interfaces",
"properties": {
"dnsServers": {
"type": "array",
"title": "DNS Servers",
"description": "DNS Servers",
"items": {
"type": "string"
},
"order": 1
},
"ipV4Addresses": {
"type": "array",
"title": "IPv4 Addresses",
"description": "IPv4 addresses",
"items": {
"type": "string"
},
"order": 2
},
"ipV6Addresses": {
"type": "array",
"title": "IPv6 Addresses",
"description": "IPv6 addresses",
"items": {
"type": "string"
},
"order": 3
},
"macAddress": {
"type": "string",
"title": "MAC Address",
"description": "MAC address",
"order": 4
},
"name": {
"type": "string",
"title": "Name",
"description": "Name",
"order": 5
}
}
},
"licenses": {
"type": "object",
"title": "licenses",
"properties": {
"__v": {
"type": "integer",
"title": "V",
"description": "V",
"order": 1
},
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 2
},
"createdAt": {
"type": "string",
"title": "Created At",
"description": "Created at",
"order": 3
},
"expiration": {
"type": "integer",
"title": "Expiration",
"description": "Expiration",
"order": 4
},
"level": {
"type": "string",
"title": "Level",
"description": "Level",
"order": 5
},
"licenseId": {
"type": "string",
"title": "License ID",
"description": "License ID",
"order": 6
},
"nbAvailable": {
"type": "integer",
"title": "NB Available",
"description": "NB available",
"order": 7
},
"nbTotal": {
"type": "integer",
"title": "NB Total",
"description": "NB total",
"order": 8
},
"startDate": {
"type": "integer",
"title": "Start Date",
"description": "Start date",
"order": 9
},
"tenant": {
"type": "string",
"title": "Tenant",
"description": "Tenant",
"order": 10
},
"trial": {
"type": "boolean",
"title": "Trial",
"description": "Trial",
"order": 11
},
"type": {
"type": "string",
"title": "Type",
"description": "Type",
"order": 12
},
"updatedAt": {
"type": "string",
"title": "Updated At",
"description": "Updated at",
"order": 13
},
"vendor": {
"type": "string",
"title": "Vendor",
"description": "Vendor",
"order": 14
}
}
},
"location": {
"type": "object",
"title": "location",
"properties": {
"city": {
"type": "string",
"title": "City",
"description": "City",
"order": 1
},
"country": {
"type": "string",
"title": "Country",
"description": "Country",
"order": 2
},
"countryCode": {
"type": "string",
"title": "Countrycode",
"description": "Countrycode",
"order": 3
}
}
},
"network": {
"type": "object",
"title": "network",
"properties": {
"__v": {
"type": "integer",
"title": "V",
"description": "v",
"order": 1
},
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 2
},
"device": {
"type": "string",
"title": "Device",
"description": "Device",
"order": 3
},
"interfaces": {
"type": "array",
"title": "Interfaces",
"description": "Interfaces",
"items": {
"$ref": "#/definitions/interfaces"
},
"order": 4
},
"routes": {
"type": "array",
"title": "Routes",
"description": "Routes",
"items": {
"$ref": "#/definitions/routes"
},
"order": 5
}
},
"definitions": {
"interfaces": {
"type": "object",
"title": "interfaces",
"properties": {
"dnsServers": {
"type": "array",
"title": "DNS Servers",
"description": "DNS Servers",
"items": {
"type": "string"
},
"order": 1
},
"ipV4Addresses": {
"type": "array",
"title": "IPv4 Addresses",
"description": "IPv4 addresses",
"items": {
"type": "string"
},
"order": 2
},
"ipV6Addresses": {
"type": "array",
"title": "IPv6 Addresses",
"description": "IPv6 addresses",
"items": {
"type": "string"
},
"order": 3
},
"macAddress": {
"type": "string",
"title": "MAC Address",
"description": "MAC address",
"order": 4
},
"name": {
"type": "string",
"title": "Name",
"description": "Name",
"order": 5
}
}
},
"routes": {
"type": "object",
"title": "routes",
"properties": {
"dst": {
"type": "string",
"title": "DST",
"description": "DST",
"order": 1
},
"gateway": {
"type": "string",
"title": "Gateway",
"description": "Gateway",
"order": 2
},
"interface": {
"type": "string",
"title": "Interface",
"description": "Interface",
"order": 3
}
}
}
}
},
"policy": {
"type": "object",
"title": "policy",
"properties": {
"agentPolicySettings": {
"$ref": "#/definitions/agentPolicySettings",
"title": "Agent Policy Settings",
"description": "Agent policy settings",
"order": 1
},
"enforced": {
"type": "boolean",
"title": "Enforced",
"description": "Enforced",
"order": 2
},
"name": {
"type": "string",
"title": "Name",
"description": "Name",
"order": 3
},
"policyId": {
"type": "string",
"title": "Policy ID",
"description": "Policy ID",
"order": 4
},
"policyTs": {
"type": "integer",
"title": "Policy TS",
"description": "Policy TS",
"order": 5
},
"releaseGuid": {
"type": "string",
"title": "Release GUID",
"description": "Release GUID",
"order": 6
},
"tenant": {
"type": "string",
"title": "Tenant",
"description": "Tenant",
"order": 7
},
"type": {
"type": "string",
"title": "Type",
"description": "Type",
"order": 8
},
"typeDescription": {
"type": "string",
"title": "Type Description",
"description": "Type description",
"order": 9
},
"uninstall": {
"type": "boolean",
"title": "Uninstall",
"description": "Uninstall",
"order": 10
}
},
"definitions": {
"agentPolicySettings": {
"type": "object",
"title": "agentPolicySettings",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"addToKeychain": {
"type": "boolean",
"title": "Add to Keychain",
"description": "Add to keychain",
"order": 2
},
"addToWindowsStore": {
"type": "boolean",
"title": "Add to Windows Store",
"description": "Add to windows store",
"order": 3
},
"certificates": {
"type": "array",
"title": "Certificates",
"description": "Certificates",
"items": {
"type": "object"
},
"order": 4
},
"firefoxStoreMac": {
"type": "string",
"title": "Firefox Store MAC",
"description": "Firefox store MAC",
"order": 5
},
"firefoxStoreWindows": {
"type": "string",
"title": "Firefox Store Windows",
"description": "Firefox store windows",
"order": 6
},
"keepAfterUninstallClient": {
"type": "boolean",
"title": "Keep After Uninstall Client",
"description": "Keep after uninstall client",
"order": 7
}
}
}
}
},
"processes": {
"type": "object",
"title": "processes",
"properties": {
"description": {
"type": "string",
"title": "Description",
"description": "Description",
"order": 1
},
"executablePath": {
"type": "string",
"title": "Executable Path",
"description": "Executable path",
"order": 2
},
"memoryUsage": {
"type": "integer",
"title": "Memory Usage",
"description": "Memory usage",
"order": 3
},
"pid": {
"type": "integer",
"title": "PID",
"description": "PID",
"order": 4
},
"processName": {
"type": "string",
"title": "Process Name",
"description": "Process name",
"order": 5
},
"startTime": {
"type": "integer",
"title": "Start Time",
"description": "Start time",
"order": 6
},
"version": {
"type": "string",
"title": "Version",
"description": "Version",
"order": 7
}
}
},
"routes": {
"type": "object",
"title": "routes",
"properties": {
"dst": {
"type": "string",
"title": "DST",
"description": "DST",
"order": 1
},
"gateway": {
"type": "string",
"title": "Gateway",
"description": "Gateway",
"order": 2
},
"interface": {
"type": "string",
"title": "Interface",
"description": "Interface",
"order": 3
}
}
},
"tenant": {
"type": "object",
"title": "tenant",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"s1Settings": {
"type": "string",
"title": "S1 Settings",
"description": "S1 settings",
"order": 2
},
"tenantId": {
"type": "string",
"title": "Tenant ID",
"description": "Tenant ID",
"order": 3
},
"tenantName": {
"type": "string",
"title": "Tenant Name",
"description": "Tenant name",
"order": 4
}
}
},
"tenant_0": {
"type": "object",
"title": "tenant_0",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"tenantId": {
"type": "string",
"title": "Tenant ID",
"description": "Tenant ID",
"order": 2
},
"tenantName": {
"type": "string",
"title": "Tenant Name",
"description": "Tenant Name",
"order": 3
}
}
},
"users": {
"type": "object",
"title": "users",
"properties": {
"fullName": {
"type": "string",
"title": "Full Name",
"description": "Full name",
"order": 1
},
"policies": {
"type": "array",
"title": "Policies",
"description": "Policies",
"items": {
"type": "object"
},
"order": 2
},
"tenant": {
"$ref": "#/definitions/tenant_0",
"title": "Tenant",
"description": "Tenant",
"order": 3
},
"userGroups": {
"type": "array",
"title": "User Groups",
"description": "User groups",
"items": {
"type": "object"
},
"order": 4
},
"userId": {
"type": "string",
"title": "User ID",
"description": "User ID",
"order": 5
},
"username": {
"type": "string",
"title": "Username",
"description": "Username",
"order": 6
}
},
"definitions": {
"tenant_0": {
"type": "object",
"title": "tenant_0",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"tenantId": {
"type": "string",
"title": "Tenant ID",
"description": "Tenant ID",
"order": 2
},
"tenantName": {
"type": "string",
"title": "Tenant Name",
"description": "Tenant Name",
"order": 3
}
}
}
}
}
}
},
"applications": {
"type": "object",
"title": "applications",
"properties": {
"installedDate": {
"type": "string",
"title": "Installed Date",
"description": "Installed date",
"order": 1
},
"name": {
"type": "string",
"title": "Name",
"description": "Name",
"order": 2
},
"publisher": {
"type": "string",
"title": "Publisher",
"description": "Publisher",
"order": 3
},
"size": {
"type": "integer",
"title": "Size",
"description": "Size",
"order": 4
},
"version": {
"type": "string",
"title": "Version",
"description": "Version",
"order": 5
}
}
},
"enforcedPolicy": {
"type": "object",
"title": "enforcedPolicy",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"policy": {
"$ref": "#/definitions/policy",
"title": "Policy",
"description": "Policy",
"order": 2
},
"policyTs": {
"type": "integer",
"title": "Policy TS",
"description": "Policy TS",
"order": 3
},
"type": {
"type": "string",
"title": "Type",
"description": "Type",
"order": 4
}
},
"definitions": {
"agentPolicySettings": {
"type": "object",
"title": "agentPolicySettings",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"addToKeychain": {
"type": "boolean",
"title": "Add to Keychain",
"description": "Add to keychain",
"order": 2
},
"addToWindowsStore": {
"type": "boolean",
"title": "Add to Windows Store",
"description": "Add to windows store",
"order": 3
},
"certificates": {
"type": "array",
"title": "Certificates",
"description": "Certificates",
"items": {
"type": "object"
},
"order": 4
},
"firefoxStoreMac": {
"type": "string",
"title": "Firefox Store MAC",
"description": "Firefox store MAC",
"order": 5
},
"firefoxStoreWindows": {
"type": "string",
"title": "Firefox Store Windows",
"description": "Firefox store windows",
"order": 6
},
"keepAfterUninstallClient": {
"type": "boolean",
"title": "Keep After Uninstall Client",
"description": "Keep after uninstall client",
"order": 7
}
}
},
"policy": {
"type": "object",
"title": "policy",
"properties": {
"agentPolicySettings": {
"$ref": "#/definitions/agentPolicySettings",
"title": "Agent Policy Settings",
"description": "Agent policy settings",
"order": 1
},
"enforced": {
"type": "boolean",
"title": "Enforced",
"description": "Enforced",
"order": 2
},
"name": {
"type": "string",
"title": "Name",
"description": "Name",
"order": 3
},
"policyId": {
"type": "string",
"title": "Policy ID",
"description": "Policy ID",
"order": 4
},
"policyTs": {
"type": "integer",
"title": "Policy TS",
"description": "Policy TS",
"order": 5
},
"releaseGuid": {
"type": "string",
"title": "Release GUID",
"description": "Release GUID",
"order": 6
},
"tenant": {
"type": "string",
"title": "Tenant",
"description": "Tenant",
"order": 7
},
"type": {
"type": "string",
"title": "Type",
"description": "Type",
"order": 8
},
"typeDescription": {
"type": "string",
"title": "Type Description",
"description": "Type description",
"order": 9
},
"uninstall": {
"type": "boolean",
"title": "Uninstall",
"description": "Uninstall",
"order": 10
}
},
"definitions": {
"agentPolicySettings": {
"type": "object",
"title": "agentPolicySettings",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"addToKeychain": {
"type": "boolean",
"title": "Add to Keychain",
"description": "Add to keychain",
"order": 2
},
"addToWindowsStore": {
"type": "boolean",
"title": "Add to Windows Store",
"description": "Add to windows store",
"order": 3
},
"certificates": {
"type": "array",
"title": "Certificates",
"description": "Certificates",
"items": {
"type": "object"
},
"order": 4
},
"firefoxStoreMac": {
"type": "string",
"title": "Firefox Store MAC",
"description": "Firefox store MAC",
"order": 5
},
"firefoxStoreWindows": {
"type": "string",
"title": "Firefox Store Windows",
"description": "Firefox store windows",
"order": 6
},
"keepAfterUninstallClient": {
"type": "boolean",
"title": "Keep After Uninstall Client",
"description": "Keep after uninstall client",
"order": 7
}
}
}
}
}
}
},
"geoLocation": {
"type": "object",
"title": "geoLocation",
"properties": {
"coordinates": {
"type": "array",
"title": "Coordinates",
"description": "Coordinates",
"items": {
"type": "number"
},
"order": 1
},
"type": {
"type": "string",
"title": "Type",
"description": "Type",
"order": 2
}
}
},
"interfaces": {
"type": "object",
"title": "interfaces",
"properties": {
"dnsServers": {
"type": "array",
"title": "DNS Servers",
"description": "DNS Servers",
"items": {
"type": "string"
},
"order": 1
},
"ipV4Addresses": {
"type": "array",
"title": "IPv4 Addresses",
"description": "IPv4 addresses",
"items": {
"type": "string"
},
"order": 2
},
"ipV6Addresses": {
"type": "array",
"title": "IPv6 Addresses",
"description": "IPv6 addresses",
"items": {
"type": "string"
},
"order": 3
},
"macAddress": {
"type": "string",
"title": "MAC Address",
"description": "MAC address",
"order": 4
},
"name": {
"type": "string",
"title": "Name",
"description": "Name",
"order": 5
}
}
},
"licenses": {
"type": "object",
"title": "licenses",
"properties": {
"__v": {
"type": "integer",
"title": "V",
"description": "V",
"order": 1
},
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 2
},
"createdAt": {
"type": "string",
"title": "Created At",
"description": "Created at",
"order": 3
},
"expiration": {
"type": "integer",
"title": "Expiration",
"description": "Expiration",
"order": 4
},
"level": {
"type": "string",
"title": "Level",
"description": "Level",
"order": 5
},
"licenseId": {
"type": "string",
"title": "License ID",
"description": "License ID",
"order": 6
},
"nbAvailable": {
"type": "integer",
"title": "NB Available",
"description": "NB available",
"order": 7
},
"nbTotal": {
"type": "integer",
"title": "NB Total",
"description": "NB total",
"order": 8
},
"startDate": {
"type": "integer",
"title": "Start Date",
"description": "Start date",
"order": 9
},
"tenant": {
"type": "string",
"title": "Tenant",
"description": "Tenant",
"order": 10
},
"trial": {
"type": "boolean",
"title": "Trial",
"description": "Trial",
"order": 11
},
"type": {
"type": "string",
"title": "Type",
"description": "Type",
"order": 12
},
"updatedAt": {
"type": "string",
"title": "Updated At",
"description": "Updated at",
"order": 13
},
"vendor": {
"type": "string",
"title": "Vendor",
"description": "Vendor",
"order": 14
}
}
},
"location": {
"type": "object",
"title": "location",
"properties": {
"city": {
"type": "string",
"title": "City",
"description": "City",
"order": 1
},
"country": {
"type": "string",
"title": "Country",
"description": "Country",
"order": 2
},
"countryCode": {
"type": "string",
"title": "Countrycode",
"description": "Countrycode",
"order": 3
}
}
},
"network": {
"type": "object",
"title": "network",
"properties": {
"__v": {
"type": "integer",
"title": "V",
"description": "v",
"order": 1
},
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 2
},
"device": {
"type": "string",
"title": "Device",
"description": "Device",
"order": 3
},
"interfaces": {
"type": "array",
"title": "Interfaces",
"description": "Interfaces",
"items": {
"$ref": "#/definitions/interfaces"
},
"order": 4
},
"routes": {
"type": "array",
"title": "Routes",
"description": "Routes",
"items": {
"$ref": "#/definitions/routes"
},
"order": 5
}
},
"definitions": {
"interfaces": {
"type": "object",
"title": "interfaces",
"properties": {
"dnsServers": {
"type": "array",
"title": "DNS Servers",
"description": "DNS Servers",
"items": {
"type": "string"
},
"order": 1
},
"ipV4Addresses": {
"type": "array",
"title": "IPv4 Addresses",
"description": "IPv4 addresses",
"items": {
"type": "string"
},
"order": 2
},
"ipV6Addresses": {
"type": "array",
"title": "IPv6 Addresses",
"description": "IPv6 addresses",
"items": {
"type": "string"
},
"order": 3
},
"macAddress": {
"type": "string",
"title": "MAC Address",
"description": "MAC address",
"order": 4
},
"name": {
"type": "string",
"title": "Name",
"description": "Name",
"order": 5
}
}
},
"routes": {
"type": "object",
"title": "routes",
"properties": {
"dst": {
"type": "string",
"title": "DST",
"description": "DST",
"order": 1
},
"gateway": {
"type": "string",
"title": "Gateway",
"description": "Gateway",
"order": 2
},
"interface": {
"type": "string",
"title": "Interface",
"description": "Interface",
"order": 3
}
}
}
}
},
"policy": {
"type": "object",
"title": "policy",
"properties": {
"agentPolicySettings": {
"$ref": "#/definitions/agentPolicySettings",
"title": "Agent Policy Settings",
"description": "Agent policy settings",
"order": 1
},
"enforced": {
"type": "boolean",
"title": "Enforced",
"description": "Enforced",
"order": 2
},
"name": {
"type": "string",
"title": "Name",
"description": "Name",
"order": 3
},
"policyId": {
"type": "string",
"title": "Policy ID",
"description": "Policy ID",
"order": 4
},
"policyTs": {
"type": "integer",
"title": "Policy TS",
"description": "Policy TS",
"order": 5
},
"releaseGuid": {
"type": "string",
"title": "Release GUID",
"description": "Release GUID",
"order": 6
},
"tenant": {
"type": "string",
"title": "Tenant",
"description": "Tenant",
"order": 7
},
"type": {
"type": "string",
"title": "Type",
"description": "Type",
"order": 8
},
"typeDescription": {
"type": "string",
"title": "Type Description",
"description": "Type description",
"order": 9
},
"uninstall": {
"type": "boolean",
"title": "Uninstall",
"description": "Uninstall",
"order": 10
}
},
"definitions": {
"agentPolicySettings": {
"type": "object",
"title": "agentPolicySettings",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"addToKeychain": {
"type": "boolean",
"title": "Add to Keychain",
"description": "Add to keychain",
"order": 2
},
"addToWindowsStore": {
"type": "boolean",
"title": "Add to Windows Store",
"description": "Add to windows store",
"order": 3
},
"certificates": {
"type": "array",
"title": "Certificates",
"description": "Certificates",
"items": {
"type": "object"
},
"order": 4
},
"firefoxStoreMac": {
"type": "string",
"title": "Firefox Store MAC",
"description": "Firefox store MAC",
"order": 5
},
"firefoxStoreWindows": {
"type": "string",
"title": "Firefox Store Windows",
"description": "Firefox store windows",
"order": 6
},
"keepAfterUninstallClient": {
"type": "boolean",
"title": "Keep After Uninstall Client",
"description": "Keep after uninstall client",
"order": 7
}
}
}
}
},
"processes": {
"type": "object",
"title": "processes",
"properties": {
"description": {
"type": "string",
"title": "Description",
"description": "Description",
"order": 1
},
"executablePath": {
"type": "string",
"title": "Executable Path",
"description": "Executable path",
"order": 2
},
"memoryUsage": {
"type": "integer",
"title": "Memory Usage",
"description": "Memory usage",
"order": 3
},
"pid": {
"type": "integer",
"title": "PID",
"description": "PID",
"order": 4
},
"processName": {
"type": "string",
"title": "Process Name",
"description": "Process name",
"order": 5
},
"startTime": {
"type": "integer",
"title": "Start Time",
"description": "Start time",
"order": 6
},
"version": {
"type": "string",
"title": "Version",
"description": "Version",
"order": 7
}
}
},
"routes": {
"type": "object",
"title": "routes",
"properties": {
"dst": {
"type": "string",
"title": "DST",
"description": "DST",
"order": 1
},
"gateway": {
"type": "string",
"title": "Gateway",
"description": "Gateway",
"order": 2
},
"interface": {
"type": "string",
"title": "Interface",
"description": "Interface",
"order": 3
}
}
},
"tenant": {
"type": "object",
"title": "tenant",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"s1Settings": {
"type": "string",
"title": "S1 Settings",
"description": "S1 settings",
"order": 2
},
"tenantId": {
"type": "string",
"title": "Tenant ID",
"description": "Tenant ID",
"order": 3
},
"tenantName": {
"type": "string",
"title": "Tenant Name",
"description": "Tenant name",
"order": 4
}
}
},
"tenant_0": {
"type": "object",
"title": "tenant_0",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"tenantId": {
"type": "string",
"title": "Tenant ID",
"description": "Tenant ID",
"order": 2
},
"tenantName": {
"type": "string",
"title": "Tenant Name",
"description": "Tenant Name",
"order": 3
}
}
},
"users": {
"type": "object",
"title": "users",
"properties": {
"fullName": {
"type": "string",
"title": "Full Name",
"description": "Full name",
"order": 1
},
"policies": {
"type": "array",
"title": "Policies",
"description": "Policies",
"items": {
"type": "object"
},
"order": 2
},
"tenant": {
"$ref": "#/definitions/tenant_0",
"title": "Tenant",
"description": "Tenant",
"order": 3
},
"userGroups": {
"type": "array",
"title": "User Groups",
"description": "User groups",
"items": {
"type": "object"
},
"order": 4
},
"userId": {
"type": "string",
"title": "User ID",
"description": "User ID",
"order": 5
},
"username": {
"type": "string",
"title": "Username",
"description": "Username",
"order": 6
}
},
"definitions": {
"tenant_0": {
"type": "object",
"title": "tenant_0",
"properties": {
"_id": {
"type": "string",
"title": "ID",
"description": "ID",
"order": 1
},
"tenantId": {
"type": "string",
"title": "Tenant ID",
"description": "Tenant ID",
"order": 2
},
"tenantName": {
"type": "string",
"title": "Tenant Name",
"description": "Tenant Name",
"order": 3
}
}
}
}
}
}
}
""")
def __init__(self):
super(self.__class__, self).__init__(self.schema)
| 27.761437 | 122 | 0.354514 | 3,859 | 64,934 | 5.946877 | 0.08396 | 0.083664 | 0.117652 | 0.01743 | 0.792017 | 0.786004 | 0.786004 | 0.786004 | 0.78413 | 0.779424 | 0 | 0.013061 | 0.489451 | 64,934 | 2,338 | 123 | 27.773311 | 0.679175 | 0.00057 | 0 | 0.695054 | 1 | 0.00043 | 0.99191 | 0.024347 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00086 | false | 0.002581 | 0.00086 | 0 | 0.006022 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9195aa315118f6e30b3543b2e9e62736c3288bec | 148 | py | Python | tests/test_is_it_bandcamp_friday.py | TR33HGR/bandcamp-friday | ce5530001ca0dd64ac0a8ef33d221f94ee78ba9f | [
"MIT"
] | null | null | null | tests/test_is_it_bandcamp_friday.py | TR33HGR/bandcamp-friday | ce5530001ca0dd64ac0a8ef33d221f94ee78ba9f | [
"MIT"
] | null | null | null | tests/test_is_it_bandcamp_friday.py | TR33HGR/bandcamp-friday | ce5530001ca0dd64ac0a8ef33d221f94ee78ba9f | [
"MIT"
] | null | null | null | from hamcrest import assert_that, is_
from bandcamp_friday.is_it_bandcamp_friday import is_true
def test():
assert_that(is_true(), is_(True))
| 21.142857 | 57 | 0.790541 | 24 | 148 | 4.458333 | 0.5 | 0.168224 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 148 | 6 | 58 | 24.666667 | 0.829457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
91d5cf49f4a04e4b40f3e83b61204f654acad032 | 19,236 | py | Python | sktime/transformations/tests/test_base.py | pandeykanad/sktime | 23530a37ad27be47edef69381abc0ae59c0f885b | [
"BSD-3-Clause"
] | null | null | null | sktime/transformations/tests/test_base.py | pandeykanad/sktime | 23530a37ad27be47edef69381abc0ae59c0f885b | [
"BSD-3-Clause"
] | null | null | null | sktime/transformations/tests/test_base.py | pandeykanad/sktime | 23530a37ad27be47edef69381abc0ae59c0f885b | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# copyright: sktime developers, BSD-3-Clause License (see LICENSE file)
"""Unit tests for base class conversion and vectorization functionality.
Each test covers a "decision path" in the base class boilerplate,
with a focus on frequently breaking paths in base class refactor and bugfixing.
The path taken depends on tags of a given transformer, and input data type.
Concrete transformer classes from sktime are imported to cover
different combinations of transformer tags.
Transformer scenarios cover different combinations of input data types.
"""
__author__ = ["fkiraly"]
__all__ = []
from inspect import isclass
from sktime.datatypes import check_is_scitype, mtype_to_scitype
from sktime.transformations.panel.padder import PaddingTransformer
from sktime.transformations.panel.tsfresh import (
TSFreshFeatureExtractor,
TSFreshRelevantFeatureExtractor,
)
from sktime.transformations.series.boxcox import BoxCoxTransformer
from sktime.transformations.series.exponent import ExponentTransformer
from sktime.transformations.series.summarize import SummaryTransformer
from sktime.utils._testing.scenarios_transformers import (
TransformerFitTransformHierarchicalUnivariate,
TransformerFitTransformPanelUnivariate,
TransformerFitTransformPanelUnivariateWithClassYOnlyFit,
TransformerFitTransformSeriesUnivariate,
)
# other scenarios that might be needed later in development:
# TransformerFitTransformSeriesMultivariate,
# TransformerFitTransformPanelUnivariateWithClassY,
# TransformerFitTransformSeriesMultivariate,
def inner_X_scitypes(est):
"""Return list of scitypes supported by class est, as list of str."""
if isclass(est):
X_inner_mtype = est.get_class_tag("X_inner_mtype")
else:
X_inner_mtype = est.get_tag("X_inner_mtype")
X_inner_scitypes = mtype_to_scitype(
X_inner_mtype, return_unique=True, coerce_to_list=True
)
return X_inner_scitypes
def test_series_in_series_out_supported():
"""Test that fit/transform runs and returns the correct output type.
Setting: transformer has tags
"scitype:transform-input" = "Series"
"scitype:transform-output" = "Series"
"fit-in-transform" = False
"X_inner_mtype" supports "Series
X input to fit/transform has Series scitype
X ouput from fit/transform should be Series
"""
# one example for a transformer which supports Series internally
cls = BoxCoxTransformer
est = cls.create_test_instance()
# ensure cls is a good example, if this fails, choose another example
# (if this changes, it may be due to implementing more scitypes)
# (then this is not a failure of cls, but we need to choose another example)
assert "Series" in inner_X_scitypes(est)
assert not est.get_tag("fit-in-transform")
assert est.get_tag("scitype:transform-input") == "Series"
assert est.get_tag("scitype:transform-output") == "Series"
# scenario in which series are passed to fit/transform
scenario = TransformerFitTransformSeriesUnivariate()
Xt = scenario.run(est, method_sequence=["fit", "transform"])
valid, _, _ = check_is_scitype(Xt, scitype="Series", return_metadata=True)
assert valid, "fit.transform does not return a Series when given a Series"
# todo: possibly, add mtype check, use metadata return
def test_series_in_series_out_supported_fit_in_transform():
"""Test that fit/transform runs and returns the correct output type.
Setting: transformer has tags
"scitype:transform-input" = "Series"
"scitype:transform-output" = "Series"
"fit-in-transform" = True
"X_inner_mtype" supports "Series"
X input to fit/transform has Series scitype
X output from fit/transform should be Series
"""
# one example for a transformer which supports Series internally
cls = ExponentTransformer
est = cls.create_test_instance()
# ensure cls is a good example, if this fails, choose another example
# (if this changes, it may be due to implementing more scitypes)
# (then this is not a failure of cls, but we need to choose another example)
assert "Series" in inner_X_scitypes(est)
assert est.get_class_tag("fit-in-transform")
assert est.get_class_tag("scitype:transform-input") == "Series"
assert est.get_class_tag("scitype:transform-output") == "Series"
# scenario in which series are passed to fit/transform
scenario = TransformerFitTransformSeriesUnivariate()
Xt = scenario.run(est, method_sequence=["fit", "transform"])
valid, _, _ = check_is_scitype(Xt, scitype="Series", return_metadata=True)
assert valid, "fit.transform does not return a Series when given a Series"
# todo: possibly, add mtype check, use metadata return
def test_series_in_series_out_not_supported_but_panel():
"""Test that fit/transform runs and returns the correct output type.
Setting: transformer has tags
"scitype:transform-input" = "Series"
"scitype:transform-output" = "Series"
"fit-in-transform" = False
"X_inner_mtype" does not support "Series" but does support "Panel"
i.e., none of the mtypes in the list is "Series" but some are "Panel"
X input to fit/transform has Series scitype
X output from fit/transform should be Series
"""
# one example for a transformer which supports Panel internally but not Series
cls = PaddingTransformer
est = cls.create_test_instance()
# ensure cls is a good example, if this fails, choose another example
# (if this changes, it may be due to implementing more scitypes)
# (then this is not a failure of cls, but we need to choose another example)
assert "Panel" in inner_X_scitypes(est)
assert "Series" not in inner_X_scitypes(est)
assert not est.get_tag("fit-in-transform")
assert est.get_tag("scitype:transform-input") == "Series"
assert est.get_tag("scitype:transform-output") == "Series"
# scenario in which series are passed to fit/transform
scenario = TransformerFitTransformSeriesUnivariate()
Xt = scenario.run(est, method_sequence=["fit", "transform"])
valid, _, _ = check_is_scitype(Xt, scitype="Series", return_metadata=True)
assert valid, "fit.transform does not return a Series when given a Series"
# todo: possibly, add mtype check, use metadata return
def test_panel_in_panel_out_supported():
"""Test that fit/transform runs and returns the correct output type.
Setting: transformer has tags
"scitype:transform-input" = "Series"
"scitype:transform-output" = "Series"
"fit-in-transform" = False
"X_inner_mtype" supports "Panel"
X input to fit/transform has Panel scitype
X output from fit/transform should be Panel
"""
# one example for a transformer which supports Panel internally
cls = PaddingTransformer
est = cls.create_test_instance()
# ensure cls is a good example, if this fails, choose another example
# (if this changes, it may be due to implementing more scitypes)
# (then this is not a failure of cls, but we need to choose another example)
assert "Panel" in inner_X_scitypes(est)
assert not est.get_tag("fit-in-transform")
assert est.get_tag("scitype:transform-input") == "Series"
assert est.get_tag("scitype:transform-output") == "Series"
# scenario in which series are passed to fit/transform
scenario = TransformerFitTransformPanelUnivariate()
Xt = scenario.run(est, method_sequence=["fit", "transform"])
valid, _, _ = check_is_scitype(Xt, scitype="Panel", return_metadata=True)
assert valid, "fit.transform does not return a Panel when given a Panel"
# todo: possibly, add mtype check, use metadata return
def test_panel_in_panel_out_not_supported_but_series():
"""Test that fit/transform runs and returns the correct output type.
Setting: transformer has tags
"scitype:transform-input" = "Series"
"scitype:transform-output" = "Series"
"fit-in-transform" = False
"X_inner_mtype" supports "Series" but not "Panel" and not "Hierarchical"
X input to fit/transform has Panel scitype
X output from fit/transform should be Panel
"""
# one example for a transformer which supports Series internally but not Panel
cls = BoxCoxTransformer
est = cls.create_test_instance()
# ensure cls is a good example, if this fails, choose another example
# (if this changes, it may be due to implementing more scitypes)
# (then this is not a failure of cls, but we need to choose another example)
assert "Series" in inner_X_scitypes(est)
assert "Panel" not in inner_X_scitypes(est)
assert "Hierarchical" not in inner_X_scitypes(est)
assert not est.get_tag("fit-in-transform")
assert est.get_tag("scitype:transform-input") == "Series"
assert est.get_tag("scitype:transform-output") == "Series"
# scenario in which series are passed to fit/transform
scenario = TransformerFitTransformPanelUnivariate()
Xt = scenario.run(est, method_sequence=["fit", "transform"])
valid, _, _ = check_is_scitype(Xt, scitype="Panel", return_metadata=True)
assert valid, "fit.transform does not return a Panel when given a Panel"
# todo: possibly, add mtype check, use metadata return
def test_series_in_primitives_out_supported_fit_in_transform():
"""Test that fit/transform runs and returns the correct output type.
Setting: transformer has tags
"scitype:transform-input" = "Series"
"scitype:transform-output" = "Primitives"
"fit-in-transform" = True
"X_inner_mtype" supports "Series"
X input to fit/transform has Series scitype
X output from fit/transform should be Table
"""
# one example for a transformer which supports Series internally
cls = SummaryTransformer
est = cls.create_test_instance()
# ensure cls is a good example, if this fails, choose another example
# (if this changes, it may be due to implementing more scitypes)
# (then this is not a failure of cls, but we need to choose another example)
assert "Series" in inner_X_scitypes(est)
assert est.get_tag("fit-in-transform")
assert est.get_tag("scitype:transform-input") == "Series"
assert est.get_tag("scitype:transform-output") == "Primitives"
# scenario in which series are passed to fit/transform
scenario = TransformerFitTransformSeriesUnivariate()
Xt = scenario.run(est, method_sequence=["fit", "transform"])
valid, _, _ = check_is_scitype(Xt, scitype="Table", return_metadata=True)
assert valid, "fit.transform does not return a Table when given a Table"
# todo: possibly, add mtype check, use metadata return
# length of Xt should be one, for a single series passed
assert len(Xt) == 1
def test_panel_in_primitives_out_not_supported_fit_in_transform():
"""Test that fit/transform runs and returns the correct output type.
Setting: transformer has tags
"scitype:transform-input" = "Series"
"scitype:transform-output" = "Primitives"
"fit-in-transform" = True
"X_inner_mtype" does not support "Panel", but does supports "Series"
X input to fit/transform has Panel scitype
X output from fit/transform should be Table
"""
# one example for a transformer which supports Series internally but not Panel
cls = SummaryTransformer
est = cls.create_test_instance()
# ensure cls is a good example, if this fails, choose another example
# (if this changes, it may be due to implementing more scitypes)
# (then this is not a failure of cls, but we need to choose another example)
assert "Series" in inner_X_scitypes(est)
assert "Panel" not in inner_X_scitypes(est)
assert "Hierarchical" not in inner_X_scitypes(est)
assert est.get_tag("fit-in-transform")
assert est.get_tag("scitype:transform-input") == "Series"
assert est.get_tag("scitype:transform-output") == "Primitives"
# scenario in which series are passed to fit/transform
scenario = TransformerFitTransformPanelUnivariate()
Xt = scenario.run(est, method_sequence=["fit", "transform"])
valid, _, _ = check_is_scitype(Xt, scitype="Table", return_metadata=True)
assert valid, "fit.transform does not return a Table when given a Table"
# todo: possibly, add mtype check, use metadata return
# length of Xt should be seven = number of samples in the scenario
assert len(Xt) == 7
def test_series_in_primitives_out_not_supported_fit_in_transform():
"""Test that fit/transform runs and returns the correct output type.
Setting: transformer has tags
"scitype:transform-input" = "Series"
"scitype:transform-output" = "Primitives"
"fit-in-transform" = True
"X_inner_mtype" supports "Panel" but does not support "Series"
X input to fit/transform has Series scitype
X output from fit/transform should be Table
"""
# one example for a transformer which supports Panel internally but not Series
cls = TSFreshFeatureExtractor
est = cls.create_test_instance()
# ensure cls is a good example, if this fails, choose another example
# (if this changes, it may be due to implementing more scitypes)
# (then this is not a failure of cls, but we need to choose another example)
assert "Panel" in inner_X_scitypes(est)
assert "Series" not in inner_X_scitypes(est)
assert est.get_tag("fit-in-transform")
assert est.get_tag("scitype:transform-input") == "Series"
assert est.get_tag("scitype:transform-output") == "Primitives"
# scenario in which series are passed to fit/transform
scenario = TransformerFitTransformSeriesUnivariate()
Xt = scenario.run(est, method_sequence=["fit", "transform"])
valid, _, _ = check_is_scitype(Xt, scitype="Table", return_metadata=True)
assert valid, "fit.transform does not return a Table when given a Table"
# todo: possibly, add mtype check, use metadata return
# length of Xt should be one, for a single series passed
assert len(Xt) == 1
def test_panel_in_primitives_out_supported_with_y_in_fit_but_not_transform():
"""Test that fit/transform runs and returns the correct output type.
Setting: transformer has tags
"scitype:transform-input" = "Series"
"scitype:transform-output" = "Primitives"
"fit-in-transform" = False
"requires_y" = True
"X_inner_mtype" supports "Panel"
X input to fit/transform has Panel scitype
X output from fit/transform should be Table
"""
# one example for a transformer which supports Panel internally
cls = TSFreshRelevantFeatureExtractor
est = cls.create_test_instance()
# ensure cls is a good example, if this fails, choose another example
# (if this changes, it may be due to implementing more scitypes)
# (then this is not a failure of cls, but we need to choose another example)
assert "Panel" in inner_X_scitypes(est)
assert not est.get_tag("fit-in-transform")
assert est.get_tag("requires_y")
assert est.get_tag("scitype:transform-input") == "Series"
assert est.get_tag("scitype:transform-output") == "Primitives"
# scenario in which series are passed to fit/transform
scenario = TransformerFitTransformPanelUnivariateWithClassYOnlyFit()
Xt = scenario.run(est, method_sequence=["fit", "transform"])
valid, _, _ = check_is_scitype(Xt, scitype="Table", return_metadata=True)
assert valid, "fit.transform does not return a Table when given a Table"
# todo: possibly, add mtype check, use metadata return
# length of Xt should be seven = number of samples in the scenario
assert len(Xt) == 7
def test_hierarchical_in_hierarchical_out_not_supported_but_series():
"""Test that fit/transform runs and returns the correct output type.
Setting: transformer has tags
"scitype:transform-input" = "Series"
"scitype:transform-output" = "Series"
"fit-in-transform" = False
"X_inner_mtype" supports "Series" but not "Panel" and not "Hierarchical
X input to fit/transform has Hierarchical scitype
X output from fit/transform should be Hierarchical
"""
# one example for a transformer which supports Series internally
cls = BoxCoxTransformer
est = cls.create_test_instance()
# ensure cls is a good example, if this fails, choose another example
# (if this changes, it may be due to implementing more scitypes)
# (then this is not a failure of cls, but we need to choose another example)
assert "Series" in inner_X_scitypes(est)
assert "Panel" not in inner_X_scitypes(est)
assert "Hierarchical" not in inner_X_scitypes(est)
assert not est.get_tag("fit-in-transform")
assert est.get_tag("scitype:transform-input") == "Series"
assert est.get_tag("scitype:transform-output") == "Series"
# scenario in which series are passed to fit/transform
scenario = TransformerFitTransformHierarchicalUnivariate()
Xt = scenario.run(est, method_sequence=["fit", "transform"])
valid, _, _ = check_is_scitype(Xt, scitype="Hierarchical", return_metadata=True)
assert valid, "fit.transform does not return a Table when given a Table"
# todo: possibly, add mtype check, use metadata return
# length of Xt should be number of hierarchy levels times number of time points
assert len(Xt) == 2 * 4 * 12
def test_hierarchical_in_hierarchical_out_not_supported_but_series_fit_in_transform():
"""Test that fit/transform runs and returns the correct output type.
Setting: transformer has tags
"scitype:transform-input" = "Series"
"scitype:transform-output" = "Series"
"fit-in-transform" = True
"X_inner_mtype" supports "Series" but not "Panel" and not "Hierarchical
X input to fit/transform has Hierarchical scitype
X output from fit/transform should be Hierarchical
"""
# one example for a transformer which supports Series internally
cls = ExponentTransformer
est = cls.create_test_instance()
# ensure cls is a good example, if this fails, choose another example
# (if this changes, it may be due to implementing more scitypes)
# (then this is not a failure of cls, but we need to choose another example)
assert "Series" in inner_X_scitypes(est)
assert "Panel" not in inner_X_scitypes(est)
assert "Hierarchical" not in inner_X_scitypes(est)
assert est.get_tag("fit-in-transform")
assert est.get_tag("scitype:transform-input") == "Series"
assert est.get_tag("scitype:transform-output") == "Series"
# scenario in which series are passed to fit/transform
scenario = TransformerFitTransformHierarchicalUnivariate()
Xt = scenario.run(est, method_sequence=["fit", "transform"])
valid, _, _ = check_is_scitype(Xt, scitype="Hierarchical", return_metadata=True)
assert valid, "fit.transform does not return a Table when given a Table"
# todo: possibly, add mtype check, use metadata return
# length of Xt should be number of hierarchy levels times number of time points
assert len(Xt) == 2 * 4 * 12
| 45.04918 | 86 | 0.722707 | 2,596 | 19,236 | 5.231895 | 0.075886 | 0.058312 | 0.021205 | 0.02761 | 0.868134 | 0.865263 | 0.861361 | 0.856575 | 0.852452 | 0.852452 | 0 | 0.000904 | 0.194947 | 19,236 | 426 | 87 | 45.15493 | 0.876146 | 0.494593 | 0 | 0.727273 | 0 | 0 | 0.201151 | 0.056153 | 0 | 0 | 0 | 0.025822 | 0.436364 | 1 | 0.072727 | false | 0 | 0.048485 | 0 | 0.127273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
91eea4f6000fea64b49a3c4790b931752e000ddd | 11,223 | py | Python | q2_diversity/tests/test_filter.py | ChrisKeefe/q2-diversity | 97e9cc466244edf94425de0e9f3d93c00d4dcac2 | [
"BSD-3-Clause"
] | null | null | null | q2_diversity/tests/test_filter.py | ChrisKeefe/q2-diversity | 97e9cc466244edf94425de0e9f3d93c00d4dcac2 | [
"BSD-3-Clause"
] | null | null | null | q2_diversity/tests/test_filter.py | ChrisKeefe/q2-diversity | 97e9cc466244edf94425de0e9f3d93c00d4dcac2 | [
"BSD-3-Clause"
] | null | null | null | # ----------------------------------------------------------------------------
# Copyright (c) 2016-2020, QIIME 2 development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# ----------------------------------------------------------------------------
import unittest
import numpy as np
import pandas as pd
import qiime2
import skbio
from q2_diversity import filter_distance_matrix
class TestFilterDistanceMatrix(unittest.TestCase):
def _sorted(self, dm):
ids = np.array(dm.ids)
order = np.argsort(ids)
return skbio.DistanceMatrix(dm[order][:, order], ids[order])
def test_without_where_no_filtering(self):
df = pd.DataFrame({'Subject': ['subject-1', 'subject-1', 'subject-2'],
'SampleType': ['gut', 'tongue', 'gut']},
index=pd.Index(['S1', 'S2', 'S3'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
filtered = filter_distance_matrix(dm, metadata)
# There is no guaranteed order to output. Sort by ID before comparing
# to expected.
self.assertEqual(self._sorted(filtered), dm)
def test_without_where_extra_ids(self):
df = pd.DataFrame(
{'Subject': ['subject-1', 'subject-1', 'subject-2', 'subject-2'],
'SampleType': ['gut', 'tongue', 'gut', 'tongue']},
index=pd.Index(['S1', 'S4', 'S2', 'S5'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
filtered = filter_distance_matrix(dm, metadata)
expected = skbio.DistanceMatrix([[0, 1], [1, 0]], ['S1', 'S2'])
self.assertEqual(self._sorted(filtered), expected)
def test_without_where_all_filtered(self):
df = pd.DataFrame({'Subject': ['subject-1', 'subject-1', 'subject-2'],
'SampleType': ['gut', 'tongue', 'gut']},
index=pd.Index(['S1', 'S2', 'S3'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S4', 'S5', 'S6'])
with self.assertRaisesRegex(ValueError, 'All samples.*filtered'):
filter_distance_matrix(dm, metadata)
def test_without_where_some_filtered(self):
df = pd.DataFrame({'Subject': ['subject-1', 'subject-1'],
'SampleType': ['gut', 'tongue']},
index=pd.Index(['S1', 'S2'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
filtered = filter_distance_matrix(dm, metadata)
expected = skbio.DistanceMatrix([[0, 1], [1, 0]], ['S1', 'S2'])
self.assertEqual(self._sorted(filtered), expected)
def test_with_where_no_filtering(self):
df = pd.DataFrame({'Subject': ['subject-1', 'subject-1', 'subject-2'],
'SampleType': ['gut', 'tongue', 'gut']},
index=pd.Index(['S1', 'S2', 'S3'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
filtered = filter_distance_matrix(
dm, metadata, where="SampleType='gut' OR SampleType='tongue'")
self.assertEqual(self._sorted(filtered), dm)
def test_with_where_extra_ids(self):
df = pd.DataFrame(
{'Subject': ['subject-1', 'subject-1', 'subject-2', 'subject-2'],
'SampleType': ['gut', 'tongue', 'gut', 'tongue']},
index=pd.Index(['S1', 'S4', 'S2', 'S5'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
filtered = filter_distance_matrix(
dm, metadata, where="SampleType='gut' OR SampleType='tongue'")
expected = skbio.DistanceMatrix([[0, 1], [1, 0]], ['S1', 'S2'])
self.assertEqual(self._sorted(filtered), expected)
def test_with_where_all_filtered(self):
df = pd.DataFrame({'Subject': ['subject-1', 'subject-1', 'subject-2'],
'SampleType': ['gut', 'tongue', 'gut']},
index=pd.Index(['S1', 'S2', 'S3'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
with self.assertRaisesRegex(ValueError, 'All samples.*filtered'):
filter_distance_matrix(dm, metadata, where="SampleType='palm'")
def test_with_where_some_filtered(self):
df = pd.DataFrame({'Subject': ['subject-1', 'subject-1', 'subject-2'],
'SampleType': ['gut', 'tongue', 'gut']},
index=pd.Index(['S1', 'S2', 'S3'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
filtered = filter_distance_matrix(dm, metadata,
where="Subject='subject-2'")
expected = skbio.DistanceMatrix([[0]], ['S3'])
self.assertEqual(filtered, expected)
def test_with_exclude_ids_filter_nothing(self):
df = pd.DataFrame({'Subject': ['subject-1'],
'SampleType': ['tongue']},
index=pd.Index(['S2000'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
filtered = filter_distance_matrix(dm, metadata,
where=None,
exclude_ids=True)
self.assertEqual(self._sorted(filtered), dm)
def test_with_exclude_ids_filter_one(self):
df = pd.DataFrame({'Subject': ['subject-1'],
'SampleType': ['tongue']},
index=pd.Index(['S2'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
filtered = filter_distance_matrix(dm, metadata,
where=None,
exclude_ids=True)
expected = skbio.DistanceMatrix([[0, 2], [2, 0]], ['S1', 'S3'])
self.assertEqual(self._sorted(filtered), expected)
def test_with_exclude_ids_filter_two(self):
df = pd.DataFrame({'Subject': ['subject-1', 'subject-1'],
'SampleType': ['gut', 'tongue']},
index=pd.Index(['S1', 'S2'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
filtered = filter_distance_matrix(dm, metadata,
where=None,
exclude_ids=True)
expected = skbio.DistanceMatrix([[0]], ['S3'])
self.assertEqual(self._sorted(filtered), expected)
def test_with_exclude_ids_filter_all(self):
df = pd.DataFrame({'Subject': ['subject-1', 'subject-1', 'subject-2'],
'SampleType': ['gut', 'tongue', 'gut']},
index=pd.Index(['S1', 'S2', 'S3'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
with self.assertRaisesRegex(ValueError, "All samples.*filtered"):
filter_distance_matrix(dm, metadata, where=None, exclude_ids=True)
def test_with_exclude_ids_where_filter_nothing(self):
df = pd.DataFrame({'Subject': ['subject-1', 'subject-1', 'subject-2'],
'SampleType': ['gut', 'tongue', 'gut']},
index=pd.Index(['S1', 'S2', 'S3'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
filtered = filter_distance_matrix(dm, metadata,
where="SampleType='toe'",
exclude_ids=True)
self.assertEqual(self._sorted(filtered), dm)
def test_with_exclude_ids_where_filter_one(self):
df = pd.DataFrame({'Subject': ['subject-1', 'subject-1', 'subject-2'],
'SampleType': ['gut', 'tongue', 'gut']},
index=pd.Index(['S1', 'S2', 'S3'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
filtered = filter_distance_matrix(dm, metadata,
where="SampleType='tongue'",
exclude_ids=True)
expected = skbio.DistanceMatrix([[0, 2], [2, 0]],
['S1', 'S3'])
self.assertEqual(self._sorted(filtered), expected)
def test_with_exclude_ids_where_filter_two(self):
df = pd.DataFrame({'Subject': ['subject-1', 'subject-1', 'subject-2'],
'SampleType': ['elbow', 'tongue', 'gut']},
index=pd.Index(['S1', 'S2', 'S3'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
where = "SampleType='tongue' OR SampleType='gut'"
filtered = filter_distance_matrix(dm, metadata,
where,
exclude_ids=True)
expected = skbio.DistanceMatrix([[0]], ['S1'])
self.assertEqual(filtered, expected)
def test_with_exclude_ids_where_filter_all(self):
df = pd.DataFrame({'Subject': ['subject-1', 'subject-1', 'subject-2'],
'SampleType': ['gut', 'tongue', 'gut']},
index=pd.Index(['S1', 'S2', 'S3'], name='id'))
metadata = qiime2.Metadata(df)
dm = skbio.DistanceMatrix([[0, 1, 2], [1, 0, 3], [2, 3, 0]],
['S1', 'S2', 'S3'])
where = "SampleType='tongue' OR SampleType='gut'"
with self.assertRaisesRegex(ValueError, "All samples.*filtered"):
filter_distance_matrix(dm, metadata,
where,
exclude_ids=True)
if __name__ == "__main__":
unittest.main()
| 43.165385 | 78 | 0.482224 | 1,177 | 11,223 | 4.480884 | 0.08921 | 0.045506 | 0.073948 | 0.075654 | 0.890595 | 0.890595 | 0.890595 | 0.87372 | 0.86386 | 0.82518 | 0 | 0.046397 | 0.333601 | 11,223 | 259 | 79 | 43.332046 | 0.658778 | 0.036978 | 0 | 0.764706 | 0 | 0 | 0.131506 | 0 | 0 | 0 | 0 | 0 | 0.085562 | 1 | 0.090909 | false | 0 | 0.032086 | 0 | 0.13369 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
532d935ef6eb2d595c5bd1b614b6a7175db271d9 | 45,854 | py | Python | infoblox_netmri/api/broker/v3_8_0/if_group_member_broker.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 12 | 2016-02-19T12:37:54.000Z | 2022-03-04T20:11:08.000Z | infoblox_netmri/api/broker/v3_8_0/if_group_member_broker.py | azinfoblox/infoblox-netmri | 02372c5231e2677ab6299cb659a73c9a41b4b0f4 | [
"Apache-2.0"
] | 18 | 2015-11-12T18:37:00.000Z | 2021-05-19T07:59:55.000Z | infoblox_netmri/api/broker/v3_8_0/if_group_member_broker.py | azinfoblox/infoblox-netmri | 02372c5231e2677ab6299cb659a73c9a41b4b0f4 | [
"Apache-2.0"
] | 18 | 2016-01-07T12:04:34.000Z | 2022-03-31T11:05:41.000Z | from ..broker import Broker
class IfGroupMemberBroker(Broker):
controller = "if_group_members"
def index(self, **kwargs):
"""Lists the available if group members. Any of the inputs listed may be be used to narrow the list; other inputs will be ignored. Of the various ways to query lists, using this method is most efficient.
**Inputs**
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param DeviceID: The internal NetMRI identifier for the device from which this data was collected.
:type DeviceID: Integer
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param DeviceID: The internal NetMRI identifier for the device from which this data was collected.
:type DeviceID: Array of Integer
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param GroupID: The internal NetMRI identifier for the interface group.
:type GroupID: Integer
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param GroupID: The internal NetMRI identifier for the interface group.
:type GroupID: Array of Integer
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param IfGroupMemberID: The internal NetMRI identifier for this interface group membership record.
:type IfGroupMemberID: Integer
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param IfGroupMemberID: The internal NetMRI identifier for this interface group membership record.
:type IfGroupMemberID: Array of Integer
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param InterfaceID: The Interface ID.
:type InterfaceID: Integer
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param InterfaceID: The Interface ID.
:type InterfaceID: Array of Integer
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param timestamp: The data returned will represent the if group members as of this date and time. If omitted, the result will indicate the most recently collected data.
:type timestamp: DateTime
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param methods: A list of if group member methods. The listed methods will be called on each if group member returned and included in the output. Available methods are: interface.
:type methods: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param include: A list of associated object types to include in the output. The listed associations will be returned as outputs named according to the association name (see outputs below). Available includes are: interface.
:type include: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` 0
:param start: The record number to return in the selected page of data. It will always appear, although it may not be the first record. See the :limit for more information.
:type start: Integer
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` 1000
:param limit: The size of the page of data, that is, the maximum number of records returned. The limit size will be used to break the data up into pages and the first page with the start record will be returned. So if you have 100 records and use a :limit of 10 and a :start of 10, you will get records 10-19. The maximum limit is 10000.
:type limit: Integer
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` IfGroupMemberID
:param sort: The data field(s) to use for sorting the output. Default is IfGroupMemberID. Valid values are IfGroupMemberID, GroupID, DeviceID, ifIndex, InterfaceID, ifGroupMemberStartTime, ifGroupMemberEndTime, ifGroupMemberChangedCols, ifGroupMemberTimestamp, DataSourceID.
:type sort: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` asc
:param dir: The direction(s) in which to sort the data. Default is 'asc'. Valid values are 'asc' and 'desc'.
:type dir: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param select: The list of attributes to return for each IfGroupMember. Valid values are IfGroupMemberID, GroupID, DeviceID, ifIndex, InterfaceID, ifGroupMemberStartTime, ifGroupMemberEndTime, ifGroupMemberChangedCols, ifGroupMemberTimestamp, DataSourceID. If empty or omitted, all attributes will be returned.
:type select: Array
| ``api version min:`` 2.8
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param goto_field: The field name for NIOS GOTO that is used for locating a row position of records.
:type goto_field: String
| ``api version min:`` 2.8
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param goto_value: The value of goto_field for NIOS GOTO that is used for locating a row position of records.
:type goto_value: String
**Outputs**
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:return if_group_members: An array of the IfGroupMember objects that match the specified input criteria.
:rtype if_group_members: Array of IfGroupMember
"""
return self.api_list_request(self._get_method_fullname("index"), kwargs)
def show(self, **kwargs):
"""Shows the details for the specified if group member.
**Inputs**
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` True
| ``default:`` None
:param IfGroupMemberID: The internal NetMRI identifier for this interface group membership record.
:type IfGroupMemberID: Integer
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param methods: A list of if group member methods. The listed methods will be called on each if group member returned and included in the output. Available methods are: interface.
:type methods: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param include: A list of associated object types to include in the output. The listed associations will be returned as outputs named according to the association name (see outputs below). Available includes are: interface.
:type include: Array of String
**Outputs**
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:return if_group_member: The if group member identified by the specified IfGroupMemberID.
:rtype if_group_member: IfGroupMember
"""
return self.api_request(self._get_method_fullname("show"), kwargs)
def search(self, **kwargs):
"""Lists the available if group members matching the input criteria. This method provides a more flexible search interface than the index method, but searching using this method is more demanding on the system and will not perform to the same level as the index method. The input fields listed below will be used as in the index method, to filter the result, along with the optional query string and XML filter described below.
**Inputs**
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param DataSourceID: The internal NetMRI identifier for the collector NetMRI that collected this data record.
:type DataSourceID: Integer
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param DataSourceID: The internal NetMRI identifier for the collector NetMRI that collected this data record.
:type DataSourceID: Array of Integer
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param DeviceID: The internal NetMRI identifier for the device from which this data was collected.
:type DeviceID: Integer
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param DeviceID: The internal NetMRI identifier for the device from which this data was collected.
:type DeviceID: Array of Integer
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param GroupID: The internal NetMRI identifier for the interface group.
:type GroupID: Integer
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param GroupID: The internal NetMRI identifier for the interface group.
:type GroupID: Array of Integer
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param IfGroupMemberID: The internal NetMRI identifier for this interface group membership record.
:type IfGroupMemberID: Integer
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param IfGroupMemberID: The internal NetMRI identifier for this interface group membership record.
:type IfGroupMemberID: Array of Integer
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param InterfaceID: The Interface ID.
:type InterfaceID: Integer
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param InterfaceID: The Interface ID.
:type InterfaceID: Array of Integer
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param ifGroupMemberChangedCols: The fields that changed between this revision of the record and the previous revision.
:type ifGroupMemberChangedCols: String
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param ifGroupMemberChangedCols: The fields that changed between this revision of the record and the previous revision.
:type ifGroupMemberChangedCols: Array of String
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param ifGroupMemberEndTime: The ending effective time of this record, or empty if still in effect.
:type ifGroupMemberEndTime: DateTime
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param ifGroupMemberEndTime: The ending effective time of this record, or empty if still in effect.
:type ifGroupMemberEndTime: Array of DateTime
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param ifGroupMemberStartTime: The starting effective time of this record.
:type ifGroupMemberStartTime: DateTime
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param ifGroupMemberStartTime: The starting effective time of this record.
:type ifGroupMemberStartTime: Array of DateTime
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param ifGroupMemberTimestamp: The date and time this record was collected or calculated.
:type ifGroupMemberTimestamp: DateTime
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param ifGroupMemberTimestamp: The date and time this record was collected or calculated.
:type ifGroupMemberTimestamp: Array of DateTime
| ``api version min:`` 2.4
| ``api version max:`` 2.4
| ``required:`` False
| ``default:`` None
:param ifIndex: The internal NetMRI identifier for the device from which this data was collected.
:type ifIndex: String
| ``api version min:`` 2.5
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param ifIndex: The internal NetMRI identifier for the device from which this data was collected.
:type ifIndex: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param timestamp: The data returned will represent the if group members as of this date and time. If omitted, the result will indicate the most recently collected data.
:type timestamp: DateTime
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param methods: A list of if group member methods. The listed methods will be called on each if group member returned and included in the output. Available methods are: interface.
:type methods: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param include: A list of associated object types to include in the output. The listed associations will be returned as outputs named according to the association name (see outputs below). Available includes are: interface.
:type include: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` 0
:param start: The record number to return in the selected page of data. It will always appear, although it may not be the first record. See the :limit for more information.
:type start: Integer
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` 1000
:param limit: The size of the page of data, that is, the maximum number of records returned. The limit size will be used to break the data up into pages and the first page with the start record will be returned. So if you have 100 records and use a :limit of 10 and a :start of 10, you will get records 10-19. The maximum limit is 10000.
:type limit: Integer
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` IfGroupMemberID
:param sort: The data field(s) to use for sorting the output. Default is IfGroupMemberID. Valid values are IfGroupMemberID, GroupID, DeviceID, ifIndex, InterfaceID, ifGroupMemberStartTime, ifGroupMemberEndTime, ifGroupMemberChangedCols, ifGroupMemberTimestamp, DataSourceID.
:type sort: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` asc
:param dir: The direction(s) in which to sort the data. Default is 'asc'. Valid values are 'asc' and 'desc'.
:type dir: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param select: The list of attributes to return for each IfGroupMember. Valid values are IfGroupMemberID, GroupID, DeviceID, ifIndex, InterfaceID, ifGroupMemberStartTime, ifGroupMemberEndTime, ifGroupMemberChangedCols, ifGroupMemberTimestamp, DataSourceID. If empty or omitted, all attributes will be returned.
:type select: Array
| ``api version min:`` 2.8
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param goto_field: The field name for NIOS GOTO that is used for locating a row position of records.
:type goto_field: String
| ``api version min:`` 2.8
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param goto_value: The value of goto_field for NIOS GOTO that is used for locating a row position of records.
:type goto_value: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param query: This value will be matched against if group members, looking to see if one or more of the listed attributes contain the passed value. You may also surround the value with '/' and '/' to perform a regular expression search rather than a containment operation. Any record that matches will be returned. The attributes searched are: DataSourceID, DeviceID, GroupID, IfGroupMemberID, InterfaceID, ifGroupMemberChangedCols, ifGroupMemberEndTime, ifGroupMemberStartTime, ifGroupMemberTimestamp, ifIndex.
:type query: String
| ``api version min:`` 2.3
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param xml_filter: A SetFilter XML structure to further refine the search. The SetFilter will be applied AFTER any search query or field values, but before any limit options. The limit and pagination will be enforced after the filter. Remind that this kind of filter may be costly and inefficient if not associated with a database filtering.
:type xml_filter: String
**Outputs**
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:return if_group_members: An array of the IfGroupMember objects that match the specified input criteria.
:rtype if_group_members: Array of IfGroupMember
"""
return self.api_list_request(self._get_method_fullname("search"), kwargs)
def find(self, **kwargs):
"""Lists the available if group members matching the input specification. This provides the most flexible search specification of all the query mechanisms, enabling searching using comparison operations other than equality. However, it is more complex to use and will not perform as efficiently as the index or search methods. In the input descriptions below, 'field names' refers to the following fields: DataSourceID, DeviceID, GroupID, IfGroupMemberID, InterfaceID, ifGroupMemberChangedCols, ifGroupMemberEndTime, ifGroupMemberStartTime, ifGroupMemberTimestamp, ifIndex.
**Inputs**
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param op_DataSourceID: The operator to apply to the field DataSourceID. Valid values are: =, <>, rlike, not rlike, >, >=, <, <=, like, not like, is null, is not null, between. DataSourceID: The internal NetMRI identifier for the collector NetMRI that collected this data record. For the between operator the value will be treated as an Array if comma delimited string is passed, and it must contain an even number of values.
:type op_DataSourceID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_f_DataSourceID: If op_DataSourceID is specified, the field named in this input will be compared to the value in DataSourceID using the specified operator. That is, the value in this input will be treated as another field name, rather than a constant value. Either this field or val_c_DataSourceID must be specified if op_DataSourceID is specified.
:type val_f_DataSourceID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_c_DataSourceID: If op_DataSourceID is specified, this value will be compared to the value in DataSourceID using the specified operator. The value in this input will be treated as an explicit constant value. Either this field or val_f_DataSourceID must be specified if op_DataSourceID is specified.
:type val_c_DataSourceID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param op_DeviceID: The operator to apply to the field DeviceID. Valid values are: =, <>, rlike, not rlike, >, >=, <, <=, like, not like, is null, is not null, between. DeviceID: The internal NetMRI identifier for the device from which this data was collected. For the between operator the value will be treated as an Array if comma delimited string is passed, and it must contain an even number of values.
:type op_DeviceID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_f_DeviceID: If op_DeviceID is specified, the field named in this input will be compared to the value in DeviceID using the specified operator. That is, the value in this input will be treated as another field name, rather than a constant value. Either this field or val_c_DeviceID must be specified if op_DeviceID is specified.
:type val_f_DeviceID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_c_DeviceID: If op_DeviceID is specified, this value will be compared to the value in DeviceID using the specified operator. The value in this input will be treated as an explicit constant value. Either this field or val_f_DeviceID must be specified if op_DeviceID is specified.
:type val_c_DeviceID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param op_GroupID: The operator to apply to the field GroupID. Valid values are: =, <>, rlike, not rlike, >, >=, <, <=, like, not like, is null, is not null, between. GroupID: The internal NetMRI identifier for the interface group. For the between operator the value will be treated as an Array if comma delimited string is passed, and it must contain an even number of values.
:type op_GroupID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_f_GroupID: If op_GroupID is specified, the field named in this input will be compared to the value in GroupID using the specified operator. That is, the value in this input will be treated as another field name, rather than a constant value. Either this field or val_c_GroupID must be specified if op_GroupID is specified.
:type val_f_GroupID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_c_GroupID: If op_GroupID is specified, this value will be compared to the value in GroupID using the specified operator. The value in this input will be treated as an explicit constant value. Either this field or val_f_GroupID must be specified if op_GroupID is specified.
:type val_c_GroupID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param op_IfGroupMemberID: The operator to apply to the field IfGroupMemberID. Valid values are: =, <>, rlike, not rlike, >, >=, <, <=, like, not like, is null, is not null, between. IfGroupMemberID: The internal NetMRI identifier for this interface group membership record. For the between operator the value will be treated as an Array if comma delimited string is passed, and it must contain an even number of values.
:type op_IfGroupMemberID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_f_IfGroupMemberID: If op_IfGroupMemberID is specified, the field named in this input will be compared to the value in IfGroupMemberID using the specified operator. That is, the value in this input will be treated as another field name, rather than a constant value. Either this field or val_c_IfGroupMemberID must be specified if op_IfGroupMemberID is specified.
:type val_f_IfGroupMemberID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_c_IfGroupMemberID: If op_IfGroupMemberID is specified, this value will be compared to the value in IfGroupMemberID using the specified operator. The value in this input will be treated as an explicit constant value. Either this field or val_f_IfGroupMemberID must be specified if op_IfGroupMemberID is specified.
:type val_c_IfGroupMemberID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param op_InterfaceID: The operator to apply to the field InterfaceID. Valid values are: =, <>, rlike, not rlike, >, >=, <, <=, like, not like, is null, is not null, between. InterfaceID: The Interface ID. For the between operator the value will be treated as an Array if comma delimited string is passed, and it must contain an even number of values.
:type op_InterfaceID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_f_InterfaceID: If op_InterfaceID is specified, the field named in this input will be compared to the value in InterfaceID using the specified operator. That is, the value in this input will be treated as another field name, rather than a constant value. Either this field or val_c_InterfaceID must be specified if op_InterfaceID is specified.
:type val_f_InterfaceID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_c_InterfaceID: If op_InterfaceID is specified, this value will be compared to the value in InterfaceID using the specified operator. The value in this input will be treated as an explicit constant value. Either this field or val_f_InterfaceID must be specified if op_InterfaceID is specified.
:type val_c_InterfaceID: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param op_ifGroupMemberChangedCols: The operator to apply to the field ifGroupMemberChangedCols. Valid values are: =, <>, rlike, not rlike, >, >=, <, <=, like, not like, is null, is not null, between. ifGroupMemberChangedCols: The fields that changed between this revision of the record and the previous revision. For the between operator the value will be treated as an Array if comma delimited string is passed, and it must contain an even number of values.
:type op_ifGroupMemberChangedCols: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_f_ifGroupMemberChangedCols: If op_ifGroupMemberChangedCols is specified, the field named in this input will be compared to the value in ifGroupMemberChangedCols using the specified operator. That is, the value in this input will be treated as another field name, rather than a constant value. Either this field or val_c_ifGroupMemberChangedCols must be specified if op_ifGroupMemberChangedCols is specified.
:type val_f_ifGroupMemberChangedCols: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_c_ifGroupMemberChangedCols: If op_ifGroupMemberChangedCols is specified, this value will be compared to the value in ifGroupMemberChangedCols using the specified operator. The value in this input will be treated as an explicit constant value. Either this field or val_f_ifGroupMemberChangedCols must be specified if op_ifGroupMemberChangedCols is specified.
:type val_c_ifGroupMemberChangedCols: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param op_ifGroupMemberEndTime: The operator to apply to the field ifGroupMemberEndTime. Valid values are: =, <>, rlike, not rlike, >, >=, <, <=, like, not like, is null, is not null, between. ifGroupMemberEndTime: The ending effective time of this record, or empty if still in effect. For the between operator the value will be treated as an Array if comma delimited string is passed, and it must contain an even number of values.
:type op_ifGroupMemberEndTime: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_f_ifGroupMemberEndTime: If op_ifGroupMemberEndTime is specified, the field named in this input will be compared to the value in ifGroupMemberEndTime using the specified operator. That is, the value in this input will be treated as another field name, rather than a constant value. Either this field or val_c_ifGroupMemberEndTime must be specified if op_ifGroupMemberEndTime is specified.
:type val_f_ifGroupMemberEndTime: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_c_ifGroupMemberEndTime: If op_ifGroupMemberEndTime is specified, this value will be compared to the value in ifGroupMemberEndTime using the specified operator. The value in this input will be treated as an explicit constant value. Either this field or val_f_ifGroupMemberEndTime must be specified if op_ifGroupMemberEndTime is specified.
:type val_c_ifGroupMemberEndTime: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param op_ifGroupMemberStartTime: The operator to apply to the field ifGroupMemberStartTime. Valid values are: =, <>, rlike, not rlike, >, >=, <, <=, like, not like, is null, is not null, between. ifGroupMemberStartTime: The starting effective time of this record. For the between operator the value will be treated as an Array if comma delimited string is passed, and it must contain an even number of values.
:type op_ifGroupMemberStartTime: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_f_ifGroupMemberStartTime: If op_ifGroupMemberStartTime is specified, the field named in this input will be compared to the value in ifGroupMemberStartTime using the specified operator. That is, the value in this input will be treated as another field name, rather than a constant value. Either this field or val_c_ifGroupMemberStartTime must be specified if op_ifGroupMemberStartTime is specified.
:type val_f_ifGroupMemberStartTime: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_c_ifGroupMemberStartTime: If op_ifGroupMemberStartTime is specified, this value will be compared to the value in ifGroupMemberStartTime using the specified operator. The value in this input will be treated as an explicit constant value. Either this field or val_f_ifGroupMemberStartTime must be specified if op_ifGroupMemberStartTime is specified.
:type val_c_ifGroupMemberStartTime: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param op_ifGroupMemberTimestamp: The operator to apply to the field ifGroupMemberTimestamp. Valid values are: =, <>, rlike, not rlike, >, >=, <, <=, like, not like, is null, is not null, between. ifGroupMemberTimestamp: The date and time this record was collected or calculated. For the between operator the value will be treated as an Array if comma delimited string is passed, and it must contain an even number of values.
:type op_ifGroupMemberTimestamp: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_f_ifGroupMemberTimestamp: If op_ifGroupMemberTimestamp is specified, the field named in this input will be compared to the value in ifGroupMemberTimestamp using the specified operator. That is, the value in this input will be treated as another field name, rather than a constant value. Either this field or val_c_ifGroupMemberTimestamp must be specified if op_ifGroupMemberTimestamp is specified.
:type val_f_ifGroupMemberTimestamp: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_c_ifGroupMemberTimestamp: If op_ifGroupMemberTimestamp is specified, this value will be compared to the value in ifGroupMemberTimestamp using the specified operator. The value in this input will be treated as an explicit constant value. Either this field or val_f_ifGroupMemberTimestamp must be specified if op_ifGroupMemberTimestamp is specified.
:type val_c_ifGroupMemberTimestamp: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param op_ifIndex: The operator to apply to the field ifIndex. Valid values are: =, <>, rlike, not rlike, >, >=, <, <=, like, not like, is null, is not null, between. ifIndex: The internal NetMRI identifier for the device from which this data was collected. For the between operator the value will be treated as an Array if comma delimited string is passed, and it must contain an even number of values.
:type op_ifIndex: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_f_ifIndex: If op_ifIndex is specified, the field named in this input will be compared to the value in ifIndex using the specified operator. That is, the value in this input will be treated as another field name, rather than a constant value. Either this field or val_c_ifIndex must be specified if op_ifIndex is specified.
:type val_f_ifIndex: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param val_c_ifIndex: If op_ifIndex is specified, this value will be compared to the value in ifIndex using the specified operator. The value in this input will be treated as an explicit constant value. Either this field or val_f_ifIndex must be specified if op_ifIndex is specified.
:type val_c_ifIndex: String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param timestamp: The data returned will represent the if group members as of this date and time. If omitted, the result will indicate the most recently collected data.
:type timestamp: DateTime
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param methods: A list of if group member methods. The listed methods will be called on each if group member returned and included in the output. Available methods are: interface.
:type methods: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param include: A list of associated object types to include in the output. The listed associations will be returned as outputs named according to the association name (see outputs below). Available includes are: interface.
:type include: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` 0
:param start: The record number to return in the selected page of data. It will always appear, although it may not be the first record. See the :limit for more information.
:type start: Integer
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` 1000
:param limit: The size of the page of data, that is, the maximum number of records returned. The limit size will be used to break the data up into pages and the first page with the start record will be returned. So if you have 100 records and use a :limit of 10 and a :start of 10, you will get records 10-19. The maximum limit is 10000.
:type limit: Integer
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` IfGroupMemberID
:param sort: The data field(s) to use for sorting the output. Default is IfGroupMemberID. Valid values are IfGroupMemberID, GroupID, DeviceID, ifIndex, InterfaceID, ifGroupMemberStartTime, ifGroupMemberEndTime, ifGroupMemberChangedCols, ifGroupMemberTimestamp, DataSourceID.
:type sort: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` asc
:param dir: The direction(s) in which to sort the data. Default is 'asc'. Valid values are 'asc' and 'desc'.
:type dir: Array of String
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param select: The list of attributes to return for each IfGroupMember. Valid values are IfGroupMemberID, GroupID, DeviceID, ifIndex, InterfaceID, ifGroupMemberStartTime, ifGroupMemberEndTime, ifGroupMemberChangedCols, ifGroupMemberTimestamp, DataSourceID. If empty or omitted, all attributes will be returned.
:type select: Array
| ``api version min:`` 2.8
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param goto_field: The field name for NIOS GOTO that is used for locating a row position of records.
:type goto_field: String
| ``api version min:`` 2.8
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param goto_value: The value of goto_field for NIOS GOTO that is used for locating a row position of records.
:type goto_value: String
| ``api version min:`` 2.3
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:param xml_filter: A SetFilter XML structure to further refine the search. The SetFilter will be applied AFTER any search query or field values, but before any limit options. The limit and pagination will be enforced after the filter. Remind that this kind of filter may be costly and inefficient if not associated with a database filtering.
:type xml_filter: String
**Outputs**
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:return if_group_members: An array of the IfGroupMember objects that match the specified input criteria.
:rtype if_group_members: Array of IfGroupMember
"""
return self.api_list_request(self._get_method_fullname("find"), kwargs)
def data_source(self, **kwargs):
"""The collector NetMRI that collected this data record.
**Inputs**
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` True
| ``default:`` None
:param IfGroupMemberID: The internal NetMRI identifier for this interface group membership record.
:type IfGroupMemberID: Integer
**Outputs**
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:return : The collector NetMRI that collected this data record.
:rtype : DataSource
"""
return self.api_request(self._get_method_fullname("data_source"), kwargs)
def interface(self, **kwargs):
"""IfGroup model access the interface method from API accessible.
**Inputs**
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` True
| ``default:`` None
:param IfGroupMemberID: The internal NetMRI identifier for this interface group membership record.
:type IfGroupMemberID: Integer
**Outputs**
| ``api version min:`` None
| ``api version max:`` None
| ``required:`` False
| ``default:`` None
:return : IfGroup model access the interface method from API accessible.
:rtype : Interface
"""
return self.api_request(self._get_method_fullname("interface"), kwargs)
| 51.637387 | 581 | 0.60987 | 5,420 | 45,854 | 5.114207 | 0.052399 | 0.073596 | 0.047837 | 0.05397 | 0.938273 | 0.937552 | 0.91284 | 0.902738 | 0.891699 | 0.885927 | 0 | 0.005134 | 0.307563 | 45,854 | 887 | 582 | 51.695603 | 0.867878 | 0.815829 | 0 | 0 | 0 | 0 | 0.065321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.066667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5364f29c63523eb1a2466028bc2a1903d99f8e22 | 108 | py | Python | torch_template/dataloader/__init__.py | misads/torch_template | 959be6d4bc368c1c3310c3902cc04271cca0941f | [
"MIT"
] | 4 | 2020-01-09T13:45:04.000Z | 2020-09-24T12:08:59.000Z | torch_template/dataloader/__init__.py | misads/torch_template | 959be6d4bc368c1c3310c3902cc04271cca0941f | [
"MIT"
] | null | null | null | torch_template/dataloader/__init__.py | misads/torch_template | 959be6d4bc368c1c3310c3902cc04271cca0941f | [
"MIT"
] | null | null | null | from .image_folder import get_data_loader_folder, get_paired_data_loader_folder
from .tta import OverlapTTA
| 36 | 79 | 0.888889 | 17 | 108 | 5.176471 | 0.588235 | 0.227273 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 108 | 2 | 80 | 54 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
53675bb907e07a14d886369c15929ee43ee65f59 | 29,464 | py | Python | stage/standard/test_azure_event_hub_origin.py | streamsets/datacollector-tests | 6c3e908768e1d4a586e9183e2141096921ecd5be | [
"Apache-2.0"
] | 14 | 2019-03-04T10:12:39.000Z | 2021-11-24T16:17:09.000Z | stage/standard/test_azure_event_hub_origin.py | Pragatibs/datacollector-tests | aac53b2f0e056009ef0e437c8430651e3cf4d502 | [
"Apache-2.0"
] | 48 | 2019-03-08T14:59:06.000Z | 2021-08-13T14:49:56.000Z | stage/standard/test_azure_event_hub_origin.py | Pragatibs/datacollector-tests | aac53b2f0e056009ef0e437c8430651e3cf4d502 | [
"Apache-2.0"
] | 23 | 2018-09-24T20:49:17.000Z | 2021-11-24T16:17:11.000Z | # Copyright 2021 StreamSets Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, 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.
import logging
import string
import json
import pytest
from streamsets.testframework.decorators import stub
from streamsets.testframework.markers import azure
from streamsets.testframework.utils import get_random_string
logger = logging.getLogger(__name__)
# To workaround the stage label tweak introduced in 3.0.1.0 (SDC-8077), we use the
# Azure IoT/Event Hub Consumer stage's full name in tests.
AZURE_IOT_EVENT_HUB_STAGE_NAME = 'com_streamsets_pipeline_stage_origin_eventhubs_EventHubConsumerDSource'
@azure('eventhub')
def test_data_types(sdc_builder, sdc_executor, azure):
pytest.skip("""Azure EventHub origin don't talk to a structured system, so we don't need to test each data type.""")
# Reference http://tinyurl.com/ya9y9mm6
EVENT_HUB_CONTAINERS_NAMES = [
('minsize', lambda: get_random_string(string.ascii_lowercase, 3)),
('maxsize', lambda: get_random_string(string.ascii_lowercase, 63)),
('lowercase', lambda: get_random_string(string.ascii_lowercase)),
('hypen', lambda: get_random_string(string.ascii_lowercase) + '-' + get_random_string(string.ascii_lowercase)),
('digits', lambda: get_random_string(string.digits)),
('hexadecimal', lambda: get_random_string(string.hexdigits).lower())
]
@azure('eventhub')
@pytest.mark.parametrize('container_name_category, index', EVENT_HUB_CONTAINERS_NAMES, ids=[i[0] for i in EVENT_HUB_CONTAINERS_NAMES])
def test_object_names_container(sdc_builder, sdc_executor, azure, container_name_category, index):
"""
Verify that we can respect all the documented containers names possible
"""
container_name = container_name_category
event_hub_name = get_random_string(string.ascii_lowercase, 10)
builder = sdc_builder.get_pipeline_builder()
azure_iot_event_hub_consumer = builder.add_stage(name=AZURE_IOT_EVENT_HUB_STAGE_NAME).set_attributes(
container_name=container_name,
data_format='JSON',
event_hub_name=event_hub_name)
wiretap = builder.add_wiretap()
azure_iot_event_hub_consumer >> wiretap.destination
consumer_origin_pipeline = builder.build().configure_for_environment(azure)
sdc_executor.add_pipeline(consumer_origin_pipeline)
try:
eh_service_bus = azure.event_hubs.service_bus
logger.info('Creating container %s on storage account %s', container_name, azure.storage.account_name)
assert azure.storage.create_blob_container(container_name)
logger.info('Creating event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
assert eh_service_bus.create_event_hub(event_hub_name)
send_records = [{'Body': f'Event {msg}'} for msg in range(10)]
eh_service_bus.send_event(event_hub_name, json.dumps(send_records))
sdc_executor.start_pipeline(consumer_origin_pipeline)
sdc_executor.wait_for_pipeline_metric(consumer_origin_pipeline, 'input_record_count', 1, timeout_sec=120)
sdc_executor.stop_pipeline(consumer_origin_pipeline)
results = [{key: value for key, value in record.items()} for record in wiretap.output_records[0].field]
assert results == send_records
finally:
try:
if sdc_executor.get_pipeline_status(consumer_origin_pipeline).response.json().get('status') == 'RUNNING':
sdc_executor.stop_pipeline(consumer_origin_pipeline)
except Exception as err:
logger.error('Could not stop pipeline. Reason found: %s', err)
try:
logger.info('Deleting event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
event_hub_exists = True
while event_hub_exists:
eh_service_bus.delete_event_hub(event_hub_name)
try:
eh_service_bus.get_event_hub(event_hub_name)
except Exception:
event_hub_exists = False
except Exception as err:
logger.error('Failure deleting event hub %s. Reason found: %s', event_hub_name, err)
try:
logger.info('Deleting container %s on storage account %s', container_name, azure.storage.account_name)
azure.storage.delete_blob_container(container_name)
except Exception as err:
logger.error('Failure deleting container %s. Reason found: %s', container_name, err)
EVENT_HUB_BLOB_NAMES = [
('minsize', lambda: get_random_string(string.ascii_lowercase, 1)),
('maxsize', lambda: get_random_string(string.ascii_lowercase, 1024)),
('lowercase', lambda: get_random_string(string.ascii_lowercase)),
('uppercase', lambda: get_random_string(string.ascii_uppercase)),
('hypen', lambda: get_random_string(string.ascii_lowercase) + '-' + get_random_string(string.ascii_lowercase)),
('period', lambda: get_random_string(string.ascii_lowercase) + '.' + get_random_string(string.ascii_lowercase)),
('start_period', lambda: get_random_string(string.ascii_lowercase) + '.' + get_random_string(string.ascii_lowercase)),
('forward_slash', lambda: get_random_string(string.ascii_lowercase) + '/' + get_random_string(string.ascii_lowercase)),
('start_forward_slash', lambda: get_random_string(string.ascii_lowercase) + '/' + get_random_string(string.ascii_lowercase)),
('digits', lambda: get_random_string(string.digits)),
('hexadecimal', lambda: get_random_string(string.hexdigits).lower())
]
@azure('eventhub')
@pytest.mark.parametrize('blob_name_category, index', EVENT_HUB_BLOB_NAMES, ids=[i[0] for i in EVENT_HUB_BLOB_NAMES])
def test_object_names_blob(sdc_builder, sdc_executor, azure, blob_name_category, index):
"""
Verify that we can respect all the documented containers names possible
"""
container_name = get_random_string(string.ascii_lowercase, 10)
event_hub_name = blob_name_category
builder = sdc_builder.get_pipeline_builder()
azure_iot_event_hub_consumer = builder.add_stage(name=AZURE_IOT_EVENT_HUB_STAGE_NAME).set_attributes(
container_name=container_name,
data_format='JSON',
event_hub_name=event_hub_name)
wiretap = builder.add_wiretap()
azure_iot_event_hub_consumer >> wiretap.destination
consumer_origin_pipeline = builder.build().configure_for_environment(azure)
sdc_executor.add_pipeline(consumer_origin_pipeline)
try:
eh_service_bus = azure.event_hubs.service_bus
logger.info('Creating container %s on storage account %s', container_name, azure.storage.account_name)
assert azure.storage.create_blob_container(container_name)
logger.info('Creating event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
assert eh_service_bus.create_event_hub(event_hub_name)
send_records = [{'Body': f'Event {msg}'} for msg in range(10)]
eh_service_bus.send_event(event_hub_name, json.dumps(send_records))
sdc_executor.start_pipeline(consumer_origin_pipeline)
sdc_executor.wait_for_pipeline_metric(consumer_origin_pipeline, 'input_record_count', 1, timeout_sec=120)
sdc_executor.stop_pipeline(consumer_origin_pipeline)
results = [{key: value for key, value in record.items()} for record in wiretap.output_records[0].field]
assert results == send_records
finally:
try:
if sdc_executor.get_pipeline_status(consumer_origin_pipeline).response.json().get('status') == 'RUNNING':
sdc_executor.stop_pipeline(consumer_origin_pipeline)
except Exception as err:
logger.error('Could not stop pipeline. Reason found: %s', err)
try:
logger.info('Deleting event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
eh_service_bus.delete_event_hub(event_hub_name)
except Exception as err:
event_hub_exists = True
while event_hub_exists:
eh_service_bus.delete_event_hub(event_hub_name)
try:
eh_service_bus.get_event_hub(event_hub_name)
except Exception:
event_hub_exists = False
try:
logger.info('Deleting container %s on storage account %s', container_name, azure.storage.account_name)
azure.storage.delete_blob_container(container_name)
except Exception as err:
logger.error('Failure deleting container %s. Reason found: %s', container_name, err)
@azure('eventhub')
def test_dataflow_events(sdc_builder, sdc_executor, azure):
pytest.skip("""Azure EventHub origin doesn't produce events, so we don't need to test dataflow events.""")
@azure('eventhub')
@pytest.mark.parametrize('number_batches', [1, 15, 20])
def test_multiple_batch(sdc_builder, sdc_executor, azure, number_batches):
"""
Test read multiple batches.
"""
container_name = get_random_string(string.ascii_lowercase, 10)
event_hub_name = get_random_string(string.ascii_lowercase, 10)
number_records = 1000
builder = sdc_builder.get_pipeline_builder()
azure_iot_event_hub_consumer = builder.add_stage(name=AZURE_IOT_EVENT_HUB_STAGE_NAME).set_attributes(
container_name=container_name,
data_format='JSON',
event_hub_name=event_hub_name)
wiretap = builder.add_wiretap()
azure_iot_event_hub_consumer >> wiretap.destination
consumer_origin_pipeline = builder.build().configure_for_environment(azure)
sdc_executor.add_pipeline(consumer_origin_pipeline)
try:
eh_service_bus = azure.event_hubs.service_bus
logger.info('Creating container %s on storage account %s', container_name, azure.storage.account_name)
assert azure.storage.create_blob_container(container_name)
logger.info('Creating event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
assert eh_service_bus.create_event_hub(event_hub_name)
total_send_records = []
for i in range(0, number_records):
send_records = [{'Body': get_random_string(string.ascii_lowercase, 10)}]
total_send_records.append(send_records)
eh_service_bus.send_event(event_hub_name, json.dumps(send_records))
sdc_executor.start_pipeline(consumer_origin_pipeline)
sdc_executor.wait_for_pipeline_metric(consumer_origin_pipeline, 'data_batch_count', number_batches,
timeout_sec=120)
sdc_executor.stop_pipeline(consumer_origin_pipeline)
records = [record.field for record in wiretap.output_records]
items = [r[0].items() for r in records]
assert len(items) >= number_batches
batches = wiretap.batches
len_records_in_batches = 0
for bat in batches:
len_records_in_batches = len_records_in_batches + len(bat)
assert len(items) == len_records_in_batches
finally:
try:
if sdc_executor.get_pipeline_status(consumer_origin_pipeline).response.json().get('status') == 'RUNNING':
sdc_executor.stop_pipeline(consumer_origin_pipeline)
except Exception as err:
logger.error('Could not stop pipeline. Reason found: %s', err)
try:
logger.info('Deleting event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
event_hub_exists = True
while event_hub_exists:
eh_service_bus.delete_event_hub(event_hub_name)
try:
eh_service_bus.get_event_hub(event_hub_name)
except Exception:
event_hub_exists = False
except Exception as err:
logger.error('Failure deleting event hub %s. Reason found: %s', event_hub_name, err)
try:
logger.info('Deleting container %s on storage account %s', container_name, azure.storage.account_name)
azure.storage.delete_blob_container(container_name)
except Exception as err:
logger.error('Failure deleting container %s. Reason found: %s', container_name, err)
@azure('eventhub')
def test_data_format_binary(sdc_builder, sdc_executor, azure):
"""
Test Azure EventHub origin parses Binary in a variety of data types.
"""
container_name = get_random_string(string.ascii_lowercase, 10)
event_hub_name = get_random_string(string.ascii_lowercase, 10)
MESSAGES = [b'message 1', b'message 2']
EXPECTED_OUTPUT = "[b'message 1', b'message 2']"
builder = sdc_builder.get_pipeline_builder()
azure_iot_event_hub_consumer = _get_azure_eventhub_consumer_stage(builder, container_name, event_hub_name, 'BINARY')
wiretap = builder.add_wiretap()
azure_iot_event_hub_consumer >> wiretap.destination
consumer_origin_pipeline = builder.build().configure_for_environment(azure)
sdc_executor.add_pipeline(consumer_origin_pipeline)
try:
eh_service_bus = azure.event_hubs.service_bus
logger.info('Creating container %s on storage account %s', container_name, azure.storage.account_name)
assert azure.storage.create_blob_container(container_name)
logger.info('Creating event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
assert eh_service_bus.create_event_hub(event_hub_name)
eh_service_bus.send_event(event_hub_name, MESSAGES)
sdc_executor.start_pipeline(consumer_origin_pipeline)
sdc_executor.wait_for_pipeline_metric(consumer_origin_pipeline, 'input_record_count', 1, timeout_sec=120)
sdc_executor.stop_pipeline(consumer_origin_pipeline)
results = wiretap.output_records[0].field.value.decode()
assert results == EXPECTED_OUTPUT
finally:
try:
if sdc_executor.get_pipeline_status(consumer_origin_pipeline).response.json().get('status') == 'RUNNING':
sdc_executor.stop_pipeline(consumer_origin_pipeline)
except Exception as err:
logger.error('Could not stop pipeline. Reason found: %s', err)
try:
logger.info('Deleting event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
event_hub_exists = True
while event_hub_exists:
eh_service_bus.delete_event_hub(event_hub_name)
try:
eh_service_bus.get_event_hub(event_hub_name)
except Exception:
event_hub_exists = False
except Exception as err:
logger.error('Failure deleting event hub %s. Reason found: %s', event_hub_name, err)
try:
logger.info('Deleting container %s on storage account %s', container_name, azure.storage.account_name)
azure.storage.delete_blob_container(container_name)
except Exception as err:
logger.error('Failure deleting container %s. Reason found: %s', container_name, err)
@azure('eventhub')
@pytest.mark.parametrize('data_type',
['ARRAY',
'ARRAY_OF_OBJECTS',
'OBJECT'
])
def test_data_format_json(sdc_builder, sdc_executor, azure, data_type):
"""Azure EventHub origin parses JSON in a variety of data types."""
container_name = get_random_string(string.ascii_lowercase, 10)
event_hub_name = get_random_string(string.ascii_lowercase, 10)
# We map data_type to input data as well as the expected output.
DATA_TYPE = {'ARRAY': ['Alex', 'Xavi'],
'ARRAY_OF_OBJECTS': [{'Alex': 'Developer'}, {'Xavi': 'Developer'}],
'OBJECT': {'Alex': 'Developer', 'Xavi': 'Developer'}}
expected_output = DATA_TYPE[data_type]
builder = sdc_builder.get_pipeline_builder()
azure_iot_event_hub_consumer = _get_azure_eventhub_consumer_stage(builder, container_name, event_hub_name, 'JSON')
wiretap = builder.add_wiretap()
azure_iot_event_hub_consumer >> wiretap.destination
consumer_origin_pipeline = builder.build().configure_for_environment(azure)
sdc_executor.add_pipeline(consumer_origin_pipeline)
try:
eh_service_bus = azure.event_hubs.service_bus
logger.info('Creating container %s on storage account %s', container_name, azure.storage.account_name)
assert azure.storage.create_blob_container(container_name)
logger.info('Creating event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
assert eh_service_bus.create_event_hub(event_hub_name)
eh_service_bus.send_event(event_hub_name, json.dumps(DATA_TYPE[data_type]))
sdc_executor.start_pipeline(consumer_origin_pipeline)
sdc_executor.wait_for_pipeline_metric(consumer_origin_pipeline, 'input_record_count', 1, timeout_sec=120)
sdc_executor.stop_pipeline(consumer_origin_pipeline)
assert [record.field for record in wiretap.output_records] == [expected_output]
finally:
try:
if sdc_executor.get_pipeline_status(consumer_origin_pipeline).response.json().get('status') == 'RUNNING':
sdc_executor.stop_pipeline(consumer_origin_pipeline)
except Exception as err:
logger.error('Could not stop pipeline. Reason found: %s', err)
try:
logger.info('Deleting event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
event_hub_exists = True
while event_hub_exists:
eh_service_bus.delete_event_hub(event_hub_name)
try:
eh_service_bus.get_event_hub(event_hub_name)
except Exception:
event_hub_exists = False
except Exception as err:
logger.error('Failure deleting event hub %s. Reason found: %s', event_hub_name, err)
try:
logger.info('Deleting container %s on storage account %s', container_name, azure.storage.account_name)
azure.storage.delete_blob_container(container_name)
except Exception as err:
logger.error('Failure deleting container %s. Reason found: %s', container_name, err)
@azure('eventhub')
def test_data_format_text(sdc_builder, sdc_executor, azure):
"""Azure EventHub origin parses Text in a variety of data types."""
container_name = get_random_string(string.ascii_lowercase, 10)
event_hub_name = get_random_string(string.ascii_lowercase, 10)
MESSAGE = 'Hello World!'
EXPECTED = {'text': 'Hello World!'}
builder = sdc_builder.get_pipeline_builder()
azure_iot_event_hub_consumer = _get_azure_eventhub_consumer_stage(builder, container_name, event_hub_name, 'TEXT')
wiretap = builder.add_wiretap()
azure_iot_event_hub_consumer >> wiretap.destination
consumer_origin_pipeline = builder.build().configure_for_environment(azure)
sdc_executor.add_pipeline(consumer_origin_pipeline)
try:
eh_service_bus = azure.event_hubs.service_bus
logger.info('Creating container %s on storage account %s', container_name, azure.storage.account_name)
assert azure.storage.create_blob_container(container_name)
logger.info('Creating event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
assert eh_service_bus.create_event_hub(event_hub_name)
eh_service_bus.send_event(event_hub_name, MESSAGE)
sdc_executor.start_pipeline(consumer_origin_pipeline)
sdc_executor.wait_for_pipeline_metric(consumer_origin_pipeline, 'input_record_count', 1, timeout_sec=120)
sdc_executor.stop_pipeline(consumer_origin_pipeline)
results = wiretap.output_records[0].field
assert results == EXPECTED
finally:
try:
if sdc_executor.get_pipeline_status(consumer_origin_pipeline).response.json().get('status') == 'RUNNING':
sdc_executor.stop_pipeline(consumer_origin_pipeline)
except Exception as err:
logger.error('Could not stop pipeline. Reason found: %s', err)
try:
logger.info('Deleting event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
event_hub_exists = True
while event_hub_exists:
eh_service_bus.delete_event_hub(event_hub_name)
try:
eh_service_bus.get_event_hub(event_hub_name)
except Exception:
event_hub_exists = False
except Exception as err:
logger.error('Failure deleting event hub %s. Reason found: %s', event_hub_name, err)
try:
logger.info('Deleting container %s on storage account %s', container_name, azure.storage.account_name)
azure.storage.delete_blob_container(container_name)
except Exception as err:
logger.error('Failure deleting container %s. Reason found: %s', container_name, err)
@stub
@azure('eventhub')
def test_data_format_sdc_record(sdc_builder, sdc_executor, azure, data_type):
pass
def _get_azure_eventhub_consumer_stage(builder, container_name, event_hub_name, data_format):
"""Create and return a Azure EventHub origin stage depending on execution mode for the pipeline."""
azure_iot_event_hub_consumer = builder.add_stage(name=AZURE_IOT_EVENT_HUB_STAGE_NAME).set_attributes(
container_name=container_name,
event_hub_name=event_hub_name)
azure_iot_event_hub_consumer.data_format = data_format
return azure_iot_event_hub_consumer
@azure('eventhub')
@pytest.mark.parametrize('max_threads', [1, 3])
def test_multithreading(sdc_builder, sdc_executor, azure, max_threads):
"""
Test that using multithreaded pipeline we can start our pipeline multiple times adding more objects in between
without reading any duplicated record neither missing them.
"""
container_name = get_random_string(string.ascii_lowercase, 10)
event_hub_name = get_random_string(string.ascii_lowercase, 10)
builder = sdc_builder.get_pipeline_builder()
azure_iot_event_hub_consumer = builder.add_stage(name=AZURE_IOT_EVENT_HUB_STAGE_NAME).set_attributes(
container_name=container_name,
data_format='JSON',
event_hub_name=event_hub_name,
max_threads=max_threads)
wiretap = builder.add_wiretap()
azure_iot_event_hub_consumer >> wiretap.destination
consumer_origin_pipeline = builder.build().configure_for_environment(azure)
sdc_executor.add_pipeline(consumer_origin_pipeline)
try:
eh_service_bus = azure.event_hubs.service_bus
logger.info('Creating container %s on storage account %s', container_name, azure.storage.account_name)
assert azure.storage.create_blob_container(container_name)
logger.info('Creating event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
assert eh_service_bus.create_event_hub(event_hub_name)
send_records = [{'Body': f'Event {msg}'} for msg in range(10)]
eh_service_bus.send_event(event_hub_name, json.dumps(send_records))
sdc_executor.start_pipeline(consumer_origin_pipeline)
sdc_executor.wait_for_pipeline_metric(consumer_origin_pipeline, 'input_record_count', 1, timeout_sec=120)
sdc_executor.stop_pipeline(consumer_origin_pipeline)
results = [{key: value for key, value in record.items()} for record in wiretap.output_records[0].field]
assert len(results) == 10
assert results == send_records
finally:
try:
if sdc_executor.get_pipeline_status(consumer_origin_pipeline).response.json().get('status') == 'RUNNING':
sdc_executor.stop_pipeline(consumer_origin_pipeline)
except Exception as err:
logger.error('Could not stop pipeline. Reason found: %s', err)
try:
logger.info('Deleting event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
event_hub_exists = True
while event_hub_exists:
eh_service_bus.delete_event_hub(event_hub_name)
try:
eh_service_bus.get_event_hub(event_hub_name)
except Exception:
event_hub_exists = False
except Exception as err:
logger.error('Failure deleting event hub %s. Reason found: %s', event_hub_name, err)
try:
logger.info('Deleting container %s on storage account %s', container_name, azure.storage.account_name)
azure.storage.delete_blob_container(container_name)
except Exception as err:
logger.error('Failure deleting container %s. Reason found: %s', container_name, err)
@azure('eventhub')
def test_resume_offset(sdc_builder, sdc_executor, azure):
"""
Test that we can start our pipeline multiple times without reading any duplicated record neither missing them.
"""
container_name = get_random_string(string.ascii_lowercase, 10)
event_hub_name = get_random_string(string.ascii_lowercase, 10)
builder = sdc_builder.get_pipeline_builder()
azure_iot_event_hub_consumer = builder.add_stage(name=AZURE_IOT_EVENT_HUB_STAGE_NAME).set_attributes(
container_name=container_name,
data_format='JSON',
event_hub_name=event_hub_name)
wiretap = builder.add_wiretap()
azure_iot_event_hub_consumer >> wiretap.destination
consumer_origin_pipeline = builder.build().configure_for_environment(azure)
sdc_executor.add_pipeline(consumer_origin_pipeline)
try:
eh_service_bus = azure.event_hubs.service_bus
logger.info('Creating container %s on storage account %s', container_name, azure.storage.account_name)
assert azure.storage.create_blob_container(container_name)
logger.info('Creating event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
assert eh_service_bus.create_event_hub(event_hub_name)
send_records = [{'Body': f'Event {msg}'} for msg in range(10)]
eh_service_bus.send_event(event_hub_name, json.dumps(send_records))
sdc_executor.start_pipeline(consumer_origin_pipeline)
sdc_executor.wait_for_pipeline_metric(consumer_origin_pipeline, 'input_record_count', 1, timeout_sec=120)
sdc_executor.stop_pipeline(consumer_origin_pipeline)
first_iteration_records = wiretap.output_records[0].field
assert len(first_iteration_records) != 0
results = [{key: value for key, value in record.items()} for record in first_iteration_records]
assert results == send_records
wiretap.reset()
# Try adding more data and resuming from the offset
send_records2 = [{'Body': f'Event {msg}'} for msg in range(10, 20)]
eh_service_bus.send_event(event_hub_name, json.dumps(send_records2))
sdc_executor.start_pipeline(consumer_origin_pipeline)
sdc_executor.wait_for_pipeline_metric(consumer_origin_pipeline, 'input_record_count', 1, timeout_sec=120)
sdc_executor.stop_pipeline(consumer_origin_pipeline)
second_iteration_records = wiretap.output_records[0].field
assert len(second_iteration_records) != 0
results = [{key: value for key, value in record.items()} for record in second_iteration_records]
assert results == send_records2
assert len(second_iteration_records) + len(first_iteration_records) == len(send_records) + len(send_records2)
finally:
try:
if sdc_executor.get_pipeline_status(consumer_origin_pipeline).response.json().get('status') == 'RUNNING':
sdc_executor.stop_pipeline(consumer_origin_pipeline)
except Exception as err:
logger.error('Could not stop pipeline. Reason found: %s', err)
try:
logger.info('Deleting event hub %s under event hub namespace %s', event_hub_name, azure.event_hubs.namespace)
event_hub_exists = True
while event_hub_exists:
eh_service_bus.delete_event_hub(event_hub_name)
try:
eh_service_bus.get_event_hub(event_hub_name)
except Exception:
event_hub_exists = False
except Exception as err:
logger.error('Failure deleting event hub %s. Reason found: %s', event_hub_name, err)
try:
logger.info('Deleting container %s on storage account %s', container_name, azure.storage.account_name)
azure.storage.delete_blob_container(container_name)
except Exception as err:
logger.error('Failure deleting container %s. Reason found: %s', container_name, err)
| 45.329231 | 134 | 0.708797 | 3,795 | 29,464 | 5.170224 | 0.074308 | 0.082361 | 0.049539 | 0.040671 | 0.881148 | 0.853371 | 0.842821 | 0.828041 | 0.813771 | 0.79736 | 0 | 0.005946 | 0.206557 | 29,464 | 649 | 135 | 45.399076 | 0.833348 | 0.053727 | 0 | 0.784783 | 0 | 0.002174 | 0.132305 | 0.003387 | 0 | 0 | 0 | 0 | 0.065217 | 1 | 0.026087 | false | 0.002174 | 0.015217 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
72691709339a7481fe10a046ac278b4b8196e30f | 22,527 | py | Python | isi_sdk_8_2_1/isi_sdk_8_2_1/api/protocols_hdfs_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 24 | 2018-06-22T14:13:23.000Z | 2022-03-23T01:21:26.000Z | isi_sdk_8_2_1/isi_sdk_8_2_1/api/protocols_hdfs_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 46 | 2018-04-30T13:28:22.000Z | 2022-03-21T21:11:07.000Z | isi_sdk_8_2_1/isi_sdk_8_2_1/api/protocols_hdfs_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 29 | 2018-06-19T00:14:04.000Z | 2022-02-08T17:51:19.000Z | # coding: utf-8
"""
Isilon SDK
Isilon SDK - Language bindings for the OneFS API # noqa: E501
OpenAPI spec version: 8
Contact: sdk@isilon.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from isi_sdk_8_2_1.api_client import ApiClient
class ProtocolsHdfsApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def create_proxyusers_name_member(self, proxyusers_name_member, name, **kwargs): # noqa: E501
"""create_proxyusers_name_member # noqa: E501
Add a member to the HDFS proxyuser. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_proxyusers_name_member(proxyusers_name_member, name, async_req=True)
>>> result = thread.get()
:param async_req bool
:param AuthAccessAccessItemFileGroup proxyusers_name_member: (required)
:param str name: (required)
:param str zone: Specifies which access zone to use.
:return: Empty
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_proxyusers_name_member_with_http_info(proxyusers_name_member, name, **kwargs) # noqa: E501
else:
(data) = self.create_proxyusers_name_member_with_http_info(proxyusers_name_member, name, **kwargs) # noqa: E501
return data
def create_proxyusers_name_member_with_http_info(self, proxyusers_name_member, name, **kwargs): # noqa: E501
"""create_proxyusers_name_member # noqa: E501
Add a member to the HDFS proxyuser. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_proxyusers_name_member_with_http_info(proxyusers_name_member, name, async_req=True)
>>> result = thread.get()
:param async_req bool
:param AuthAccessAccessItemFileGroup proxyusers_name_member: (required)
:param str name: (required)
:param str zone: Specifies which access zone to use.
:return: Empty
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['proxyusers_name_member', 'name', 'zone'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_proxyusers_name_member" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'proxyusers_name_member' is set
if ('proxyusers_name_member' not in params or
params['proxyusers_name_member'] is None):
raise ValueError("Missing the required parameter `proxyusers_name_member` when calling `create_proxyusers_name_member`") # noqa: E501
# verify the required parameter 'name' is set
if ('name' not in params or
params['name'] is None):
raise ValueError("Missing the required parameter `name` when calling `create_proxyusers_name_member`") # noqa: E501
if ('zone' in params and
len(params['zone']) > 255):
raise ValueError("Invalid value for parameter `zone` when calling `create_proxyusers_name_member`, length must be less than or equal to `255`") # noqa: E501
if ('zone' in params and
len(params['zone']) < 0):
raise ValueError("Invalid value for parameter `zone` when calling `create_proxyusers_name_member`, length must be greater than or equal to `0`") # noqa: E501
collection_formats = {}
path_params = {}
if 'name' in params:
path_params['Name'] = params['name'] # noqa: E501
query_params = []
if 'zone' in params:
query_params.append(('zone', params['zone'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'proxyusers_name_member' in params:
body_params = params['proxyusers_name_member']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/platform/1/protocols/hdfs/proxyusers/{Name}/members', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='Empty', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def delete_proxyusers_name_member(self, proxyusers_name_member_id, name, **kwargs): # noqa: E501
"""delete_proxyusers_name_member # noqa: E501
Remove a member from the HDFS proxyuser. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_proxyusers_name_member(proxyusers_name_member_id, name, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str proxyusers_name_member_id: Remove a member from the HDFS proxyuser. (required)
:param str name: (required)
:param str zone: Specifies which access zone to use.
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_proxyusers_name_member_with_http_info(proxyusers_name_member_id, name, **kwargs) # noqa: E501
else:
(data) = self.delete_proxyusers_name_member_with_http_info(proxyusers_name_member_id, name, **kwargs) # noqa: E501
return data
def delete_proxyusers_name_member_with_http_info(self, proxyusers_name_member_id, name, **kwargs): # noqa: E501
"""delete_proxyusers_name_member # noqa: E501
Remove a member from the HDFS proxyuser. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_proxyusers_name_member_with_http_info(proxyusers_name_member_id, name, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str proxyusers_name_member_id: Remove a member from the HDFS proxyuser. (required)
:param str name: (required)
:param str zone: Specifies which access zone to use.
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['proxyusers_name_member_id', 'name', 'zone'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_proxyusers_name_member" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'proxyusers_name_member_id' is set
if ('proxyusers_name_member_id' not in params or
params['proxyusers_name_member_id'] is None):
raise ValueError("Missing the required parameter `proxyusers_name_member_id` when calling `delete_proxyusers_name_member`") # noqa: E501
# verify the required parameter 'name' is set
if ('name' not in params or
params['name'] is None):
raise ValueError("Missing the required parameter `name` when calling `delete_proxyusers_name_member`") # noqa: E501
if ('zone' in params and
len(params['zone']) > 255):
raise ValueError("Invalid value for parameter `zone` when calling `delete_proxyusers_name_member`, length must be less than or equal to `255`") # noqa: E501
if ('zone' in params and
len(params['zone']) < 0):
raise ValueError("Invalid value for parameter `zone` when calling `delete_proxyusers_name_member`, length must be greater than or equal to `0`") # noqa: E501
collection_formats = {}
path_params = {}
if 'proxyusers_name_member_id' in params:
path_params['ProxyusersNameMemberId'] = params['proxyusers_name_member_id'] # noqa: E501
if 'name' in params:
path_params['Name'] = params['name'] # noqa: E501
query_params = []
if 'zone' in params:
query_params.append(('zone', params['zone'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/platform/1/protocols/hdfs/proxyusers/{Name}/members/{ProxyusersNameMemberId}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def list_proxyusers_name_members(self, name, **kwargs): # noqa: E501
"""list_proxyusers_name_members # noqa: E501
List all the members of the HDFS proxyuser. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_proxyusers_name_members(name, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str name: (required)
:param str zone: Specifies which access zone to use.
:return: ProxyusersNameMembers
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_proxyusers_name_members_with_http_info(name, **kwargs) # noqa: E501
else:
(data) = self.list_proxyusers_name_members_with_http_info(name, **kwargs) # noqa: E501
return data
def list_proxyusers_name_members_with_http_info(self, name, **kwargs): # noqa: E501
"""list_proxyusers_name_members # noqa: E501
List all the members of the HDFS proxyuser. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_proxyusers_name_members_with_http_info(name, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str name: (required)
:param str zone: Specifies which access zone to use.
:return: ProxyusersNameMembers
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['name', 'zone'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method list_proxyusers_name_members" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'name' is set
if ('name' not in params or
params['name'] is None):
raise ValueError("Missing the required parameter `name` when calling `list_proxyusers_name_members`") # noqa: E501
if ('zone' in params and
len(params['zone']) > 255):
raise ValueError("Invalid value for parameter `zone` when calling `list_proxyusers_name_members`, length must be less than or equal to `255`") # noqa: E501
if ('zone' in params and
len(params['zone']) < 0):
raise ValueError("Invalid value for parameter `zone` when calling `list_proxyusers_name_members`, length must be greater than or equal to `0`") # noqa: E501
collection_formats = {}
path_params = {}
if 'name' in params:
path_params['Name'] = params['name'] # noqa: E501
query_params = []
if 'zone' in params:
query_params.append(('zone', params['zone'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/platform/1/protocols/hdfs/proxyusers/{Name}/members', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ProxyusersNameMembers', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def update_proxyusers_name_member(self, proxyusers_name_member, proxyusers_name_member_id, name, **kwargs): # noqa: E501
"""update_proxyusers_name_member # noqa: E501
Create a new HDFS proxyuser. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_proxyusers_name_member(proxyusers_name_member, proxyusers_name_member_id, name, async_req=True)
>>> result = thread.get()
:param async_req bool
:param Empty proxyusers_name_member: (required)
:param str proxyusers_name_member_id: Create a new HDFS proxyuser. (required)
:param str name: (required)
:param str zone: Specifies which access zone to use.
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.update_proxyusers_name_member_with_http_info(proxyusers_name_member, proxyusers_name_member_id, name, **kwargs) # noqa: E501
else:
(data) = self.update_proxyusers_name_member_with_http_info(proxyusers_name_member, proxyusers_name_member_id, name, **kwargs) # noqa: E501
return data
def update_proxyusers_name_member_with_http_info(self, proxyusers_name_member, proxyusers_name_member_id, name, **kwargs): # noqa: E501
"""update_proxyusers_name_member # noqa: E501
Create a new HDFS proxyuser. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_proxyusers_name_member_with_http_info(proxyusers_name_member, proxyusers_name_member_id, name, async_req=True)
>>> result = thread.get()
:param async_req bool
:param Empty proxyusers_name_member: (required)
:param str proxyusers_name_member_id: Create a new HDFS proxyuser. (required)
:param str name: (required)
:param str zone: Specifies which access zone to use.
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['proxyusers_name_member', 'proxyusers_name_member_id', 'name', 'zone'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method update_proxyusers_name_member" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'proxyusers_name_member' is set
if ('proxyusers_name_member' not in params or
params['proxyusers_name_member'] is None):
raise ValueError("Missing the required parameter `proxyusers_name_member` when calling `update_proxyusers_name_member`") # noqa: E501
# verify the required parameter 'proxyusers_name_member_id' is set
if ('proxyusers_name_member_id' not in params or
params['proxyusers_name_member_id'] is None):
raise ValueError("Missing the required parameter `proxyusers_name_member_id` when calling `update_proxyusers_name_member`") # noqa: E501
# verify the required parameter 'name' is set
if ('name' not in params or
params['name'] is None):
raise ValueError("Missing the required parameter `name` when calling `update_proxyusers_name_member`") # noqa: E501
if ('zone' in params and
len(params['zone']) > 255):
raise ValueError("Invalid value for parameter `zone` when calling `update_proxyusers_name_member`, length must be less than or equal to `255`") # noqa: E501
if ('zone' in params and
len(params['zone']) < 0):
raise ValueError("Invalid value for parameter `zone` when calling `update_proxyusers_name_member`, length must be greater than or equal to `0`") # noqa: E501
collection_formats = {}
path_params = {}
if 'proxyusers_name_member_id' in params:
path_params['ProxyusersNameMemberId'] = params['proxyusers_name_member_id'] # noqa: E501
if 'name' in params:
path_params['Name'] = params['name'] # noqa: E501
query_params = []
if 'zone' in params:
query_params.append(('zone', params['zone'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'proxyusers_name_member' in params:
body_params = params['proxyusers_name_member']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['basicAuth'] # noqa: E501
return self.api_client.call_api(
'/platform/1/protocols/hdfs/proxyusers/{Name}/members/{ProxyusersNameMemberId}', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 44.785288 | 170 | 0.636214 | 2,665 | 22,527 | 5.117824 | 0.069043 | 0.11907 | 0.146638 | 0.048391 | 0.961287 | 0.957915 | 0.956082 | 0.938998 | 0.935919 | 0.935919 | 0 | 0.018072 | 0.275358 | 22,527 | 502 | 171 | 44.874502 | 0.817447 | 0.304923 | 0 | 0.787004 | 1 | 0.028881 | 0.272057 | 0.12121 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032491 | false | 0 | 0.01444 | 0 | 0.093863 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
72abc770b28b5d93ecaf05be5478840be43ac36e | 7,129 | py | Python | bs4/webscraping12.py | dirleif/aprendendo-scraping | 0850897c019402c897e9ec58160a13aec2e02665 | [
"MIT"
] | null | null | null | bs4/webscraping12.py | dirleif/aprendendo-scraping | 0850897c019402c897e9ec58160a13aec2e02665 | [
"MIT"
] | null | null | null | bs4/webscraping12.py | dirleif/aprendendo-scraping | 0850897c019402c897e9ec58160a13aec2e02665 | [
"MIT"
] | null | null | null | """
parseando arquivo html
buscando elementos com find_all
parser lxml
"""
# importando modulo BeautifulSoup do pacote bs4
from bs4 import BeautifulSoup
# abrir arquivo para leitura
with open('arquivo03.html','r') as f:
soup = BeautifulSoup(f, 'lxml')
tag_list = soup.find_all('ul')
print(tag_list)
"""
[<ul id="producers">
<li class="producerlist">
<div class="name">plants</div>
<div class="number">100000</div>
</li>
<li class="producerlist">
<div class="name">algae</div>
<div class="number">100000</div>
</li>
</ul>, <ul id="primaryconsumers">
<li class="primaryconsumerlist">
<div class="name">deer</div>
<div class="number">1000</div>
</li>
<li class="primaryconsumerlist">
<div class="name">rabbit</div>
<div class="number">2000</div>
</li>
</ul>, <ul id="secondaryconsumers">
<li class="secondaryconsumerlist">
<div class="name">fox</div>
<div class="number">100</div>
</li>
<li class="secondaryconsumerlist">
<div class="name">bear</div>
[ 28 ]
www.it-ebooks.infoChapter 3
<div class="number">100</div>
</li>
</ul>, <ul id="tertiaryconsumers">
<li class="tertiaryconsumerlist">
<div class="name">lion</div>
<div class="number">80</div>
</li>
<li class="tertiaryconsumerlist">
<div class="name">tiger</div>
<div class="number">50</div>
</li>
</ul>, <ul id="quaternaryconsumers">
<li class="quaternaryconsumerlist">
<div class="name animal">tutle</div>
<div class="number">1000</div>
</li>
<li class="quaternaryconsumerlist">
<div class="name animal">giraffe</div>
<div class="number">100</div>
</li>
</ul>]
"""
tag_list = soup.find_all(['ul','div'])
print(tag_list)
"""
[<div class="ecopyramid">
<ul id="producers">
<li class="producerlist">
<div class="name">plants</div>
<div class="number">100000</div>
</li>
<li class="producerlist">
<div class="name">algae</div>
<div class="number">100000</div>
</li>
</ul>
<ul id="primaryconsumers">
<li class="primaryconsumerlist">
<div class="name">deer</div>
<div class="number">1000</div>
</li>
<li class="primaryconsumerlist">
<div class="name">rabbit</div>
<div class="number">2000</div>
</li>
</ul>
<ul id="secondaryconsumers">
<li class="secondaryconsumerlist">
<div class="name">fox</div>
<div class="number">100</div>
</li>
<li class="secondaryconsumerlist">
<div class="name">bear</div>
[ 28 ]
www.it-ebooks.infoChapter 3
<div class="number">100</div>
</li>
</ul>
<ul id="tertiaryconsumers">
<li class="tertiaryconsumerlist">
<div class="name">lion</div>
<div class="number">80</div>
</li>
<li class="tertiaryconsumerlist">
<div class="name">tiger</div>
<div class="number">50</div>
</li>
</ul>
<ul id="quaternaryconsumers">
<li class="quaternaryconsumerlist">
<div class="name animal">tutle</div>
<div class="number">1000</div>
</li>
<li class="quaternaryconsumerlist">
<div class="name animal">giraffe</div>
<div class="number">100</div>
</li>
</ul>
</div>, <ul id="producers">
<li class="producerlist">
<div class="name">plants</div>
<div class="number">100000</div>
</li>
<li class="producerlist">
<div class="name">algae</div>
<div class="number">100000</div>
</li>
</ul>, <div class="name">plants</div>, <div class="number">100000</div>, <div class="name">algae</div>, <div class="number">100000</div>, <ul id="primaryconsumers">
<li class="primaryconsumerlist">
<div class="name">deer</div>
<div class="number">1000</div>
</li>
<li class="primaryconsumerlist">
<div class="name">rabbit</div>
<div class="number">2000</div>
</li>
</ul>, <div class="name">deer</div>, <div class="number">1000</div>, <div class="name">rabbit</div>, <div class="number">2000</div>, <ul id="secondaryconsumers">
<li class="secondaryconsumerlist">
<div class="name">fox</div>
<div class="number">100</div>
</li>
<li class="secondaryconsumerlist">
<div class="name">bear</div>
[ 28 ]
www.it-ebooks.infoChapter 3
<div class="number">100</div>
</li>
</ul>, <div class="name">fox</div>, <div class="number">100</div>, <div class="name">bear</div>, <div class="number">100</div>, <ul id="tertiaryconsumers">
<li class="tertiaryconsumerlist">
<div class="name">lion</div>
<div class="number">80</div>
</li>
<li class="tertiaryconsumerlist">
<div class="name">tiger</div>
<div class="number">50</div>
</li>
</ul>, <div class="name">lion</div>, <div class="number">80</div>, <div class="name">tiger</div>, <div class="number">50</div>, <ul id="quaternaryconsumers">
<li class="quaternaryconsumerlist">
<div class="name animal">tutle</div>
<div class="number">1000</div>
</li>
<li class="quaternaryconsumerlist">
<div class="name animal">giraffe</div>
<div class="number">100</div>
</li>
</ul>, <div class="name animal">tutle</div>, <div class="number">1000</div>, <div class="name animal">giraffe</div>, <div class="number">100</div>]
"""
tag_list = soup.find_all('ul',limit = 2)
print(tag_list)
"""
[<ul id="producers">
<li class="producerlist">
<div class="name">plants</div>
<div class="number">100000</div>
</li>
<li class="producerlist">
<div class="name">algae</div>
<div class="number">100000</div>
</li>
</ul>, <ul id="primaryconsumers">
<li class="primaryconsumerlist">
<div class="name">deer</div>
<div class="number">1000</div>
</li>
<li class="primaryconsumerlist">
<div class="name">rabbit</div>
<div class="number">2000</div>
</li>
</ul>]
"""
tag_list = soup.find_all(string = 'rabbit')
print(tag_list)
#['rabbit']
# retorna todos os textos
tag_list = soup.find_all(string=True)
print(tag_list)
#['html', '\n', '\n', '\n', '\n', '\n', 'plants', '\n', '100000', '\n', '\n', '\n', 'algae', '\n', '100000', '\n', '\n', '\n', '\n', '\n', 'deer', '\n', '1000', '\n', '\n', '\n', 'rabbit', '\n', '2000', '\n', '\n', '\n', '\n', '\n', 'fox', '\n', '100', '\n', '\n', '\n', 'bear', '\n\t\t\t\t[ 28 ]\n\t\t\t\twww.it-ebooks.infoChapter 3\n\t\t\t\t', '100', '\n', '\n', '\n', '\n', '\n', 'lion', '\n', '80', '\n', '\n', '\n', 'tiger', '\n', '50', '\n', '\n', '\n', '\n', '\n', 'tutle', '\n', '1000', '\n', '\n', '\n', 'giraffe', '\n', '100', '\n', '\n', '\n', '\n', '\n', '\n']
tag_list = soup.find_all(string=['rabbit','bear'])
print(tag_list)
#['rabbit', 'bear']
tag_list = soup.find_all(class_ = ['producerlist','primaryconsumerlist'])
print(tag_list)
"""
[<li class="producerlist">
<div class="name">plants</div>
<div class="number">100000</div>
</li>, <li class="producerlist">
<div class="name">algae</div>
<div class="number">100000</div>
</li>, <li class="primaryconsumerlist">
<div class="name">deer</div>
<div class="number">1000</div>
</li>, <li class="primaryconsumerlist">
<div class="name">rabbit</div>
<div class="number">2000</div>
</li>]
"""
tag_list = soup.ul.find_all('div')
print(tag_list)
#[<div class="name">plants</div>, <div class="number">100000</div>, <div class="name">algae</div>, <div class="number">100000</div>]
tag_list = soup.find_all('div', class_ = 'name')
print(tag_list)
#[<div class="name">plants</div>, <div class="name">algae</div>, <div class="name">deer</div>, <div class="name">rabbit</div>, <div class="name">fox</div>, <div class="name">bear</div>, <div class="name">lion</div>, <div class="name">tiger</div>, <div class="name animal">tutle</div>, <div class="name animal">giraffe</div>]
| 29.828452 | 572 | 0.647777 | 1,033 | 7,129 | 4.441433 | 0.080349 | 0.195292 | 0.148649 | 0.17415 | 0.898431 | 0.878814 | 0.848736 | 0.830209 | 0.786181 | 0.786181 | 0 | 0.039167 | 0.090335 | 7,129 | 238 | 573 | 29.953782 | 0.668311 | 0.170711 | 0 | 0.428571 | 0 | 0 | 0.125369 | 0 | 0 | 0 | 0 | 0.004202 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 0.428571 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
72cc0094194d286e85a87764c2e165a2cae64b1b | 16,786 | py | Python | fewshot_re_kit/sentence_encoder.py | adonis704/ucas_2021_hc_15 | 7308c3b32962ef5430d85ccfcb199ebe40bf4a7f | [
"MIT"
] | 6 | 2021-08-17T09:26:16.000Z | 2022-03-30T23:17:42.000Z | fewshot_re_kit/sentence_encoder.py | adonis704/ucas_2021_hc_15 | 7308c3b32962ef5430d85ccfcb199ebe40bf4a7f | [
"MIT"
] | 3 | 2021-08-17T09:42:47.000Z | 2021-09-27T05:56:38.000Z | fewshot_re_kit/sentence_encoder.py | adonis704/ucas_2021_hc_15 | 7308c3b32962ef5430d85ccfcb199ebe40bf4a7f | [
"MIT"
] | 5 | 2021-08-18T14:25:48.000Z | 2022-03-28T02:59:16.000Z | '''
This script is modified based on FewRel Toolkit
FewRel Toolkit Source Code: https://github.com/thunlp/FewRel
'''
import torch
import torch.nn as nn
import torch.nn.functional as F
import math
import numpy as np
import os
import sys
from torch import optim
from . import network
import transformers
#from . import knowledge_bert
def read_id2fea_dict(id2fea_path):
id2fea_dict = {}
count_num = 0
with open(id2fea_path,'r',encoding="utf8") as f:
for line in f:
line = line.strip('\n')
line = line.split(' ')
if len(line) <= 2:
continue
id2fea_dict.update({int(line[0]):torch.Tensor([float(i) for i in line[1:]])})
count_num += 1
fea_dim = len(line[1:])
print("Read id2fea dict done, ", count_num," nodes loaded")
return id2fea_dict, fea_dim
def read_ent2id_dict(ent2id_path):
ent2id_dict = {}
id2ent_dict = {}
count_num = 0
with open(ent2id_path,'r',encoding="utf8") as f:
for line in f:
line = line.strip('\n')
line = line.split(' ')
ent2id_dict.update({line[0]:int(line[1])})
id2ent_dict.update({int(line[1]):line[0]})
count_num += 1
print("Read ent2id dict done, ", count_num," nodes loaded")
return ent2id_dict, id2ent_dict
class BERTSentenceEncoder(nn.Module):
def __init__(self, pretrain_path, max_length):
nn.Module.__init__(self)
self.bert = transformers.BertModel.from_pretrained(pretrain_path)
self.max_length = max_length
self.tokenizer = transformers.BertTokenizer.from_pretrained('bert-base-uncased')
def forward(self, inputs):
_, x = self.bert(inputs['word'], attention_mask=inputs['mask'])
return x
def tokenize(self, raw_tokens, pos_head, pos_tail):
# token -> index
tokens = ['[CLS]']
cur_pos = 0
pos1_in_index = 1
pos2_in_index = 1
for token in raw_tokens:
token = token.lower()
if cur_pos == pos_head[0]:
tokens.append('[unused0]')
pos1_in_index = len(tokens)
if cur_pos == pos_tail[0]:
tokens.append('[unused1]')
pos2_in_index = len(tokens)
tokens += self.tokenizer.tokenize(token)
if cur_pos == pos_head[-1]:
tokens.append('[unused2]')
if cur_pos == pos_tail[-1]:
tokens.append('[unused3]')
cur_pos += 1
indexed_tokens = self.tokenizer.convert_tokens_to_ids(tokens)
# padding
while len(indexed_tokens) < self.max_length:
indexed_tokens.append(0)
indexed_tokens = indexed_tokens[:self.max_length]
# pos
pos1 = np.zeros((self.max_length), dtype=np.int32)
pos2 = np.zeros((self.max_length), dtype=np.int32)
for i in range(self.max_length):
pos1[i] = i - pos1_in_index + self.max_length
pos2[i] = i - pos2_in_index + self.max_length
# mask
mask = np.zeros((self.max_length), dtype=np.int32)
mask[:len(tokens)] = 1
pos1_in_index = min(self.max_length, pos1_in_index)
pos2_in_index = min(self.max_length, pos2_in_index)
return indexed_tokens, pos1_in_index - 1, pos2_in_index - 1, mask
class BERTSentenceEncoder_EntDesc(nn.Module):
def __init__(self, pretrain_path, max_length, id2desc_path, ent2id_path=None, kg_enrich=None, add_cnpt_node=False, kg_emb_dim=256, path_num=300, path_node=8, pad_num=0):
nn.Module.__init__(self)
self.bert = transformers.BertModel.from_pretrained(pretrain_path)
self.max_length = max_length
self.tokenizer = transformers.BertTokenizer.from_pretrained('bert-base-uncased')
self.id2desc_path = id2desc_path
self.id2fea_dict, self.fea_dim = read_id2fea_dict(id2desc_path)
if ent2id_path:
self.ent2id_dict, self.id2ent_dict = read_ent2id_dict(ent2id_path)
self.kg_enrich = kg_enrich
self.kg_emb_dim = kg_emb_dim
self.pad_num = pad_num
self.path_num = path_num
self.path_node = path_node
self.add_cnpt_node = add_cnpt_node
def get_concepts_mean_emb(self, ent):
cnpt_embs = self.kg_enrich.get_cnpt_emb(ent)
if cnpt_embs is not None:
cnpt_emb_mean = torch.mean(cnpt_embs, 0).reshape(1,self.kg_emb_dim)
else:
cnpt_emb_mean = torch.full((1,self.kg_emb_dim), float(self.pad_num))
return cnpt_emb_mean
def forward(self, inputs):
outputs = self.bert(inputs['word'], attention_mask=inputs['mask'])
sent_emb = None
cnpt_emb = None
for i in range(len(outputs[1])):
#get the sum of concepts emb & the concept path
if self.kg_enrich is not None:
head_cnpt_emb = inputs['head_cnpt_emb'][i]
tail_cnpt_emb = inputs['tail_cnpt_emb'][i]
cnpt_path_emb = inputs['cnpt_path_emb'][i]
head_id = inputs['pos1'][i][2].item()
tail_id = inputs['pos2'][i][2].item()
cnpt = torch.cat((head_cnpt_emb,tail_cnpt_emb),-1)
if cnpt_emb is not None:
cnpt_emb = torch.cat((cnpt_emb,cnpt),0)
else:
cnpt_emb = cnpt
head_fea = torch.zeros(self.fea_dim,dtype=torch.float)
tail_fea = torch.zeros(self.fea_dim,dtype=torch.float)
if torch.cuda.is_available():
head_fea = head_fea.cuda()
tail_fea = tail_fea.cuda()
if head_id in self.id2fea_dict:
head_fea = self.id2fea_dict[head_id]
if torch.cuda.is_available():
head_fea = head_fea.cuda()
if tail_id in self.id2fea_dict:
tail_fea = self.id2fea_dict[tail_id]
if torch.cuda.is_available():
tail_fea = tail_fea.cuda()
tmp_sent = torch.cat((outputs[1][i], head_fea, tail_fea), -1) # (s,h,t) (D+H+H)
if sent_emb is not None:
sent_emb = torch.cat((sent_emb, torch.unsqueeze(tmp_sent,0)),0)
else:
sent_emb = torch.unsqueeze(tmp_sent,0)
if torch.cuda.is_available():
sent_emb = sent_emb.cuda()
if cnpt_emb is not None:
cnpt_emb = cnpt_emb.cuda()
return sent_emb, cnpt_emb
def tokenize(self, raw_tokens, pos_head, pos_tail, head_cui, tail_cui):
# token -> index
tokens = ['[CLS]']
cur_pos = 0
head_pos1_in_index = 1
head_pos2_in_index = 1
tail_pos1_in_index = 1
tail_pos2_in_index = 1
for token in raw_tokens:
token = token.lower()
if cur_pos == pos_head[0]:
tokens.append('[unused0]')
head_pos1_in_index = len(tokens)
if cur_pos == pos_tail[0]:
tokens.append('[unused1]')
tail_pos1_in_index = len(tokens)
tokens += self.tokenizer.tokenize(token)
if cur_pos == pos_head[-1]:
tokens.append('[unused2]')
head_pos2_in_index = len(tokens)
if cur_pos == pos_tail[-1]:
tokens.append('[unused3]')
tail_pos2_in_index = len(tokens)
cur_pos += 1
indexed_tokens = self.tokenizer.convert_tokens_to_ids(tokens)
# padding
while len(indexed_tokens) < self.max_length:
indexed_tokens.append(0)
indexed_tokens = indexed_tokens[:self.max_length]
# pos
pos1 = np.zeros((self.max_length), dtype=np.int32)
pos2 = np.zeros((self.max_length), dtype=np.int32)
for i in range(self.max_length):
pos1[i] = i - head_pos1_in_index + self.max_length
pos2[i] = i - tail_pos1_in_index + self.max_length
# mask
mask = np.zeros((self.max_length), dtype=np.int32)
mask[:len(tokens)] = 1
head_pos1_in_index = min(self.max_length, head_pos1_in_index)
head_pos2_in_index = min(self.max_length, head_pos2_in_index)
tail_pos1_in_index = min(self.max_length, tail_pos1_in_index)
tail_pos2_in_index = min(self.max_length, tail_pos2_in_index)
head_id = -1
tail_id = -1
if head_cui in self.ent2id_dict:
head_id = self.ent2id_dict[head_cui]
if tail_cui in self.ent2id_dict:
tail_id = self.ent2id_dict[tail_cui]
if self.kg_enrich is not None and self.add_cnpt_node:
head_cnpt = self.get_concepts_mean_emb(head_cui) #(1, self.kg_emb_dim)
tail_cnpt = self.get_concepts_mean_emb(tail_cui) #(1, self.kg_emb_dim)
else:
head_cnpt = torch.full((1,self.kg_emb_dim), float(self.pad_num))
tail_cnpt = torch.full((1,self.kg_emb_dim), float(self.pad_num))
return indexed_tokens, [head_pos1_in_index-1, head_pos2_in_index-1, head_id] , [tail_pos1_in_index-1, tail_pos2_in_index-1,tail_id], mask, head_cnpt, tail_cnpt
class BERTSentenceEncoder_cnpt_id(nn.Module):
#get sent with cnpt id
def get_concepts_mean_emb(self, ent):
cnpt_embs = self.kg_enrich.get_cnpt_emb(ent)
if cnpt_embs is not None:
cnpt_emb_mean = torch.mean(cnpt_embs, 0).reshape(1,self.kg_emb_dim)
else:
cnpt_emb_mean = torch.full((1,self.kg_emb_dim), float(self.pad_num))
return cnpt_emb_mean
def __init__(self, pretrain_path, max_length, kg_enrich=None, kg_emb_dim=256, pad_num=0):
nn.Module.__init__(self)
self.bert = transformers.BertModel.from_pretrained(pretrain_path)
self.max_length = max_length
self.tokenizer = transformers.BertTokenizer.from_pretrained('bert-base-uncased')
self.id2fea_dict, self.fea_dim = kg_enrich.id2desc_fea, kg_enrich.fea_dim
self.ent2id_dict, self.id2ent_dict = kg_enrich.desc_ent2id, kg_enrich.desc_id2ent
self.kg_enrich = kg_enrich
self.kg_emb_dim = kg_emb_dim
self.pad_num = pad_num
def forward(self, N, K, inputs):
outputs = self.bert(inputs['word'], attention_mask=inputs['mask'])
origin_sent_emb = None
sent_emb = None
cnpt_emb = None
head = []
pair_list = []
pair_list_batch = []
for i in range(len(outputs[1])):
#get the sum of concepts emb & the concept path
if self.kg_enrich is not None:
head_cnpt_emb = inputs['head_cnpt_emb'][i]
tail_cnpt_emb = inputs['tail_cnpt_emb'][i]
head_id = inputs['pos1'][i][2].item()
tail_id = inputs['pos2'][i][2].item()
head_cnpt = None
tail_cnpt = None
if head_id in self.id2ent_dict:
head_ent = self.id2ent_dict[head_id]
if head_ent in self.kg_enrich.ent2cnpt:
head_cnpt = self.kg_enrich.ent2cnpt[head_ent]
if tail_id in self.id2ent_dict:
tail_ent = self.id2ent_dict[tail_id]
if tail_ent in self.kg_enrich.ent2cnpt:
tail_cnpt = self.kg_enrich.ent2cnpt[tail_ent]
if head_cnpt is not None and tail_cnpt is not None:
for h in head_cnpt:
for t in tail_cnpt:
if h in self.kg_enrich.ent2id and t in self.kg_enrich.ent2id:
pair_list.append((self.kg_enrich.ent2id[h], self.kg_enrich.ent2id[t]))
if (i+1) % K == 0:
pair_list_batch.append(pair_list)
pair_list = []
cnpt = torch.cat((head_cnpt_emb,tail_cnpt_emb),-1)
if cnpt_emb is not None:
cnpt_emb = torch.cat((cnpt_emb,cnpt),0)
else:
cnpt_emb = cnpt
head_fea = torch.zeros(self.fea_dim,dtype=torch.float)
tail_fea = torch.zeros(self.fea_dim,dtype=torch.float)
if torch.cuda.is_available():
head_fea = head_fea.cuda()
tail_fea = tail_fea.cuda()
if head_id in self.id2fea_dict:
head_fea = self.id2fea_dict[head_id]
if torch.cuda.is_available():
head_fea = head_fea.cuda()
if tail_id in self.id2fea_dict:
tail_fea = self.id2fea_dict[tail_id]
if torch.cuda.is_available():
tail_fea = tail_fea.cuda()
tmp_sent = torch.cat((outputs[1][i], head_fea, tail_fea), -1) # (s,h,t) (D+H+H)
if sent_emb is not None:
sent_emb = torch.cat((sent_emb, torch.unsqueeze(tmp_sent,0)),0)
else:
sent_emb = torch.unsqueeze(tmp_sent,0)
if origin_sent_emb is not None:
origin_sent_emb = torch.cat((origin_sent_emb, torch.unsqueeze(outputs[1][i],0)),0)
else:
origin_sent_emb = torch.unsqueeze(outputs[1][i],0)
if torch.cuda.is_available():
sent_emb = sent_emb.cuda()
if cnpt_emb is not None:
cnpt_emb = cnpt_emb.cuda()
if origin_sent_emb is not None:
origin_sent_emb = origin_sent_emb.cuda()
return sent_emb, cnpt_emb, pair_list_batch, origin_sent_emb
def tokenize(self, raw_tokens, pos_head, pos_tail, head_cui, tail_cui, rel_id=None):
# token -> index
tokens = ['[CLS]']
cur_pos = 0
head_pos1_in_index = 1
head_pos2_in_index = 1
tail_pos1_in_index = 1
tail_pos2_in_index = 1
for token in raw_tokens:
token = token.lower()
if cur_pos == pos_head[0]:
tokens.append('[unused0]')
head_pos1_in_index = len(tokens)
if cur_pos == pos_tail[0]:
tokens.append('[unused1]')
tail_pos1_in_index = len(tokens)
tokens += self.tokenizer.tokenize(token)
if cur_pos == pos_head[-1]:
tokens.append('[unused2]')
head_pos2_in_index = len(tokens)
if cur_pos == pos_tail[-1]:
tokens.append('[unused3]')
tail_pos2_in_index = len(tokens)
cur_pos += 1
indexed_tokens = self.tokenizer.convert_tokens_to_ids(tokens)
# padding
while len(indexed_tokens) < self.max_length:
indexed_tokens.append(0)
indexed_tokens = indexed_tokens[:self.max_length]
# pos
pos1 = np.zeros((self.max_length), dtype=np.int32)
pos2 = np.zeros((self.max_length), dtype=np.int32)
for i in range(self.max_length):
pos1[i] = i - head_pos1_in_index + self.max_length
pos2[i] = i - tail_pos1_in_index + self.max_length
# mask
mask = np.zeros((self.max_length), dtype=np.int32)
mask[:len(tokens)] = 1
head_pos1_in_index = min(self.max_length, head_pos1_in_index)
head_pos2_in_index = min(self.max_length, head_pos2_in_index)
tail_pos1_in_index = min(self.max_length, tail_pos1_in_index)
tail_pos2_in_index = min(self.max_length, tail_pos2_in_index)
head_id = -1
tail_id = -1
if head_cui in self.ent2id_dict:
head_id = self.ent2id_dict[head_cui]
if tail_cui in self.ent2id_dict:
tail_id = self.ent2id_dict[tail_cui]
if self.kg_enrich:
head_cnpt = self.get_concepts_mean_emb(head_cui) #(1, self.kg_emb_dim)
tail_cnpt = self.get_concepts_mean_emb(tail_cui) #(1, self.kg_emb_dim)
else:
head_cnpt = torch.full((1,self.kg_emb_dim), float(self.pad_num))
tail_cnpt = torch.full((1,self.kg_emb_dim), float(self.pad_num))
return indexed_tokens, [head_pos1_in_index-1, head_pos2_in_index-1, head_id] , [tail_pos1_in_index-1, tail_pos2_in_index-1,tail_id], mask, head_cnpt, tail_cnpt
| 38.063492 | 175 | 0.571369 | 2,255 | 16,786 | 3.937029 | 0.074501 | 0.044154 | 0.054179 | 0.018923 | 0.83476 | 0.811782 | 0.785199 | 0.759518 | 0.750845 | 0.722009 | 0 | 0.024898 | 0.330037 | 16,786 | 440 | 176 | 38.15 | 0.764539 | 0.027285 | 0 | 0.740061 | 0 | 0 | 0.023143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039755 | false | 0 | 0.030581 | 0 | 0.110092 | 0.006116 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
be757fe93fe9b2ca03b1eaa037acad897bf2a25a | 49 | py | Python | tests/test_smoke.py | messa/pypkgdemo | 4dc7c97a7834467b37ec7d31130f86df7edbd1f4 | [
"MIT"
] | null | null | null | tests/test_smoke.py | messa/pypkgdemo | 4dc7c97a7834467b37ec7d31130f86df7edbd1f4 | [
"MIT"
] | null | null | null | tests/test_smoke.py | messa/pypkgdemo | 4dc7c97a7834467b37ec7d31130f86df7edbd1f4 | [
"MIT"
] | null | null | null | def test_import():
import spline_reticulator
| 16.333333 | 29 | 0.77551 | 6 | 49 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 30 | 24.5 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
be76979bf59c39410910d82a87fb32b789843224 | 3,950 | py | Python | tests/unitary/GaugeController/test_vote.py | kozhevnikov-peter/curve-dao-contracts | ecd3f4443cc0bc27b316e21c35a8b7a22855568b | [
"MIT"
] | 1 | 2020-11-01T14:46:09.000Z | 2020-11-01T14:46:09.000Z | tests/unitary/GaugeController/test_vote.py | kozhevnikov-peter/curve-dao-contracts | ecd3f4443cc0bc27b316e21c35a8b7a22855568b | [
"MIT"
] | null | null | null | tests/unitary/GaugeController/test_vote.py | kozhevnikov-peter/curve-dao-contracts | ecd3f4443cc0bc27b316e21c35a8b7a22855568b | [
"MIT"
] | null | null | null | import brownie
import pytest
YEAR = 86400 * 365
@pytest.fixture(scope="module", autouse=True)
def gauge_vote_setup(accounts, chain, gauge_controller, three_gauges, voting_escrow, token):
gauge_controller.add_type(b'Insurance', {'from': accounts[0]})
gauge_controller.add_gauge(three_gauges[0], 0, {'from': accounts[0]})
gauge_controller.add_gauge(three_gauges[1], 1, {'from': accounts[0]})
token.approve(voting_escrow, 10 ** 24, {'from': accounts[0]})
voting_escrow.create_lock(10 ** 24, chain.time() + YEAR, {'from': accounts[0]})
def test_vote(accounts, gauge_controller, three_gauges):
gauge_controller.vote_for_gauge_weights(three_gauges[0], 10000, {'from': accounts[0]})
assert gauge_controller.vote_user_power(accounts[0]) == 10000
def test_vote_partial(accounts, gauge_controller, three_gauges):
gauge_controller.vote_for_gauge_weights(three_gauges[1], 1234, {'from': accounts[0]})
assert gauge_controller.vote_user_power(accounts[0]) == 1234
def test_vote_change(chain, accounts, gauge_controller, three_gauges):
gauge_controller.vote_for_gauge_weights(three_gauges[1], 1234, {'from': accounts[0]})
with brownie.reverts('Cannot vote so often'):
gauge_controller.vote_for_gauge_weights(three_gauges[1], 42, {'from': accounts[0]})
chain.sleep(10 * 86400)
gauge_controller.vote_for_gauge_weights(three_gauges[1], 42, {'from': accounts[0]})
assert gauge_controller.vote_user_power(accounts[0]) == 42
def test_vote_remove(chain, accounts, gauge_controller, three_gauges):
gauge_controller.vote_for_gauge_weights(three_gauges[1], 10000, {'from': accounts[0]})
with brownie.reverts('Cannot vote so often'):
gauge_controller.vote_for_gauge_weights(three_gauges[1], 0, {'from': accounts[0]})
chain.sleep(10 * 86400)
gauge_controller.vote_for_gauge_weights(three_gauges[1], 0, {'from': accounts[0]})
assert gauge_controller.vote_user_power(accounts[0]) == 0
def test_vote_multiple(accounts, gauge_controller, three_gauges):
gauge_controller.vote_for_gauge_weights(three_gauges[0], 4000, {'from': accounts[0]})
gauge_controller.vote_for_gauge_weights(three_gauges[1], 6000, {'from': accounts[0]})
assert gauge_controller.vote_user_power(accounts[0]) == 10000
def test_vote_no_balance(accounts, gauge_controller, three_gauges):
with brownie.reverts("Your token lock expires too soon"):
gauge_controller.vote_for_gauge_weights(three_gauges[0], 10000, {'from': accounts[1]})
def test_vote_expired(accounts, chain, gauge_controller, three_gauges):
chain.sleep(YEAR * 2)
with brownie.reverts("Your token lock expires too soon"):
gauge_controller.vote_for_gauge_weights(three_gauges[0], 10000, {'from': accounts[0]})
def test_invalid_gauge_id(accounts, gauge_controller, three_gauges):
with brownie.reverts("Gauge not added"):
gauge_controller.vote_for_gauge_weights(three_gauges[2], 10000, {'from': accounts[0]})
def test_over_user_weight(accounts, gauge_controller, three_gauges):
with brownie.reverts("You used all your voting power"):
gauge_controller.vote_for_gauge_weights(three_gauges[0], 10001, {'from': accounts[0]})
def test_over_weight_multiple(accounts, gauge_controller, three_gauges):
gauge_controller.vote_for_gauge_weights(three_gauges[0], 8000, {'from': accounts[0]})
with brownie.reverts('Used too much power'):
gauge_controller.vote_for_gauge_weights(three_gauges[1], 4000, {'from': accounts[0]})
def test_over_weight_adjust_existing(chain, accounts, gauge_controller, three_gauges):
gauge_controller.vote_for_gauge_weights(three_gauges[0], 6000, {'from': accounts[0]})
gauge_controller.vote_for_gauge_weights(three_gauges[1], 3000, {'from': accounts[0]})
chain.sleep(10 * 86400)
with brownie.reverts('Used too much power'):
gauge_controller.vote_for_gauge_weights(three_gauges[0], 8000, {'from': accounts[0]})
| 43.406593 | 94 | 0.74962 | 555 | 3,950 | 5.01982 | 0.144144 | 0.209978 | 0.163676 | 0.150036 | 0.840991 | 0.833812 | 0.792893 | 0.760589 | 0.694903 | 0.660804 | 0 | 0.051481 | 0.119747 | 3,950 | 90 | 95 | 43.888889 | 0.749784 | 0 | 0 | 0.368421 | 0 | 0 | 0.075443 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 1 | 0.210526 | false | 0 | 0.035088 | 0 | 0.245614 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
be7c55b197e5e13ee875d9701f56ba5100dffa3b | 72 | py | Python | testetravis.py | victoria-vargas/teste-travis | b480dd1d17df5d8768c03049497a6cf7f890f865 | [
"Apache-2.0"
] | null | null | null | testetravis.py | victoria-vargas/teste-travis | b480dd1d17df5d8768c03049497a6cf7f890f865 | [
"Apache-2.0"
] | null | null | null | testetravis.py | victoria-vargas/teste-travis | b480dd1d17df5d8768c03049497a6cf7f890f865 | [
"Apache-2.0"
] | null | null | null | def somar(x, y):
return x + y
def subtrair(x, y):
return x - y | 12 | 19 | 0.541667 | 14 | 72 | 2.785714 | 0.428571 | 0.205128 | 0.410256 | 0.461538 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.319444 | 72 | 6 | 20 | 12 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
be9c4c3a45c2a0fa89598739c3022555f7cdbd59 | 149 | py | Python | Algorithms/__init__.py | eeshannarula29/structlinks | 06c2ba2c9e0130deaa91ffb92758586361338a1c | [
"MIT"
] | 9 | 2021-04-09T21:20:46.000Z | 2022-03-25T12:14:43.000Z | Algorithms/__init__.py | eeshannarula29/NetLinks | 06c2ba2c9e0130deaa91ffb92758586361338a1c | [
"MIT"
] | 19 | 2021-03-22T07:52:39.000Z | 2021-04-07T20:04:05.000Z | Algorithms/__init__.py | eeshannarula29/structlinks | 06c2ba2c9e0130deaa91ffb92758586361338a1c | [
"MIT"
] | 7 | 2021-04-10T21:08:12.000Z | 2022-03-20T12:55:23.000Z | from structlinks.Algorithms.SearchingAlgorithms.SearchingAlgorithms import *
from structlinks.Algorithms.SortingAlgorithms.SortingAlgorithms import * | 74.5 | 76 | 0.899329 | 12 | 149 | 11.166667 | 0.5 | 0.223881 | 0.373134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04698 | 149 | 2 | 77 | 74.5 | 0.943662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
beaa0093da87787239066516b193ed82e0b20b82 | 7,265 | py | Python | tests/test_intersect_iter.py | aefalcon/iterable_collections | 8e3b4ea84083a100413f23af30ea27dfd4b838ff | [
"MIT"
] | 4 | 2018-06-05T14:07:56.000Z | 2021-04-17T12:09:23.000Z | tests/test_intersect_iter.py | aefalcon/iterable_collections | 8e3b4ea84083a100413f23af30ea27dfd4b838ff | [
"MIT"
] | 1 | 2018-07-10T19:53:54.000Z | 2018-07-10T19:58:38.000Z | tests/test_intersect_iter.py | aefalcon/iterable_collections | 8e3b4ea84083a100413f23af30ea27dfd4b838ff | [
"MIT"
] | 2 | 2020-01-29T10:51:11.000Z | 2021-11-11T21:37:24.000Z | import unittest
from iterable_collections import collect
class TestIntersectIter(unittest.TestCase):
def test_list_and_list(self):
c = collect(list(range(10))).intersect_iter(list(range(0, 5)))
self.assertEqual(c.iterable, set(range(10)) & set(list(range(0, 5))))
def test_list_and_set(self):
c = collect(list(range(10))).intersect_iter(set(range(0, 5)))
self.assertEqual(c.iterable, set(range(10)) & set(set(range(0, 5))))
def test_list_and_tuple(self):
c = collect(list(range(10))).intersect_iter(tuple(range(0, 5)))
self.assertEqual(c.iterable, set(range(10)) & set(tuple(range(0, 5))))
def test_list_and_iter(self):
c = collect(list(range(10))).intersect_iter(iter(range(0, 5)))
self.assertEqual(c.iterable, set(list(range(10))) & set(iter(range(0, 5))))
def test_list_and_dict(self):
c = collect(list(range(10))).intersect_iter({'a': 1, 'b': 2, 'c': 3})
self.assertEqual(c.iterable, set(list(range(10))) & set({'a': 1, 'b': 2, 'c': 3}))
def test_list_and_dict_keys(self):
c = collect(list(range(10))).intersect_iter({'a': 1, 'b': 2, 'c': 3}.keys())
self.assertEqual(c.iterable, set(range(10)) & set({'a': 1, 'b': 2, 'c': 3}.keys()))
def test_list_and_dict_items(self):
c = collect(list(range(10))).intersect_iter({'a': 1, 'b': 2, 'c': 3}.items())
self.assertEqual(c.iterable, set(range(10)) & set({'a': 1, 'b': 2, 'c': 3}.items()))
def test_set_and_list(self):
c = collect(set(range(10))).intersect_iter(list(range(0, 5)))
self.assertEqual(c.iterable, set(set(range(10))) & set(list(range(0, 5))))
def test_set_and_set(self):
c = collect(set(range(10))).intersect_iter(set(range(0, 5)))
self.assertEqual(c.iterable, set(set(range(10))) & set(set(range(0, 5))))
def test_set_and_tuple(self):
c = collect(set(range(10))).intersect_iter(tuple(range(0, 5)))
self.assertEqual(c.iterable, set(set(range(10))) & set(tuple(range(0, 5))))
def test_set_and_iter(self):
c = collect(set(range(10))).intersect_iter(iter(range(0, 5)))
self.assertEqual(c.iterable, set(set(range(10))) & set(iter(range(0, 5))))
def test_set_and_dict(self):
c = collect(set(range(10))).intersect_iter({'a': 1, 'b': 2, 'c': 3})
self.assertEqual(c.iterable, set(set(range(10))) & set({'a': 1, 'b': 2, 'c': 3}))
def test_set_and_dict_keys(self):
c = collect(set(range(10))).intersect_iter({'a': 1, 'b': 2, 'c': 3}.keys())
self.assertEqual(c.iterable, set(set(range(10))) & set({'a': 1, 'b': 2, 'c': 3}.keys()))
def test_set_and_dict_items(self):
c = collect(set(range(10))).intersect_iter({'a': 1, 'b': 2, 'c': 3}.items())
self.assertEqual(c.iterable, set(set(range(10))) & set({'a': 1, 'b': 2, 'c': 3}.items()))
def test_tuple_and_list(self):
c = collect(tuple(range(10))).intersect_iter(list(range(0, 5)))
self.assertEqual(c.iterable, set(tuple(range(10))) & set(list(range(0, 5))))
def test_tuple_and_set(self):
c = collect(tuple(range(10))).intersect_iter(set(range(0, 5)))
self.assertEqual(c.iterable, set(tuple(range(10))) & set(set(range(0, 5))))
def test_tuple_and_tuple(self):
c = collect(tuple(range(10))).intersect_iter(tuple(range(0, 5)))
self.assertEqual(c.iterable, set(tuple(range(10))) & set(tuple(range(0, 5))))
def test_tuple_and_iter(self):
c = collect(tuple(range(10))).intersect_iter(iter(range(0, 5)))
self.assertEqual(c.iterable, set(tuple(range(10))) & set(iter(range(0, 5))))
def test_tuple_and_dict(self):
c = collect(tuple(range(10))).intersect_iter({'a': 1, 'b': 2, 'c': 3})
self.assertEqual(c.iterable, set(tuple(range(10))) & set({'a': 1, 'b': 2, 'c': 3}))
def test_tuple_and_dict_keys(self):
c = collect(tuple(range(10))).intersect_iter({'a': 1, 'b': 2, 'c': 3}.keys())
self.assertEqual(c.iterable, set(tuple(range(10))) & set({'a': 1, 'b': 2, 'c': 3}.keys()))
def test_tuple_and_dict_items(self):
c = collect(tuple(range(10))).intersect_iter({'a': 1, 'b': 2, 'c': 3}.items())
self.assertEqual(c.iterable, set(tuple(range(10))) & set({'a': 1, 'b': 2, 'c': 3}.items()))
def test_iter_and_list(self):
c = collect(iter(range(10))).intersect_iter(list(range(0, 5)))
self.assertEqual(c.iterable, set(iter(range(10))) & set(list(range(0, 5))))
def test_iter_and_set(self):
c = collect(iter(range(10))).intersect_iter(set(range(0, 5)))
self.assertEqual(c.iterable, set(iter(range(10))) & set(set(range(0, 5))))
def test_iter_and_tuple(self):
c = collect(iter(range(10))).intersect_iter(tuple(range(0, 5)))
self.assertEqual(c.iterable, set(iter(range(10))) & set(tuple(range(0, 5))))
def test_iter_and_iter(self):
c = collect(iter(range(10))).intersect_iter(iter(range(0, 5)))
self.assertEqual(c.iterable, set(iter(range(10))) & set(iter(range(0, 5))))
def test_iter_and_dict(self):
c = collect(iter(range(10))).intersect_iter({'a': 1, 'b': 2, 'c': 3})
self.assertEqual(c.iterable, set(iter(range(10))) & set({'a': 1, 'b': 2, 'c': 3}))
def test_iter_and_dict_keys(self):
c = collect(iter(range(10))).intersect_iter({'a': 1, 'b': 2, 'c': 3}.keys())
self.assertEqual(c.iterable, set(iter(range(10))) & set({'a': 1, 'b': 2, 'c': 3}.keys()))
def test_iter_and_dict_items(self):
c = collect(iter(range(10))).intersect_iter({'a': 1, 'b': 2, 'c': 3}.items())
self.assertEqual(c.iterable, set(iter(range(10))) & set({'a': 1, 'b': 2, 'c': 3}.items()))
def test_dict_and_list(self):
c = collect({'a': 1, 'b': 2, 'c': 3}).intersect_iter(list(range(0, 5)))
self.assertEqual(c.iterable, set({'a': 1, 'b': 2, 'c': 3}) & set(list(range(0, 5))))
def test_dict_and_set(self):
c = collect({'a': 1, 'b': 2, 'c': 3}).intersect_iter(set(range(0, 5)))
self.assertEqual(c.iterable, set({'a': 1, 'b': 2, 'c': 3}) & set(set(range(0, 5))))
def test_dict_and_tuple(self):
c = collect({'a': 1, 'b': 2, 'c': 3}).intersect_iter(tuple(range(0, 5)))
self.assertEqual(c.iterable, set({'a': 1, 'b': 2, 'c': 3}) & set(tuple(range(0, 5))))
def test_dict_and_iter(self):
c = collect({'a': 1, 'b': 2, 'c': 3}).intersect_iter(iter(range(0, 5)))
self.assertEqual(c.iterable, set({'a': 1, 'b': 2, 'c': 3}) & set(iter(range(0, 5))))
def test_dict_and_dict(self):
c = collect({'a': 1, 'b': 2, 'c': 3}).intersect_iter({'a': 2, 'd': 4, 'e': 5})
self.assertEqual(c.iterable, set({'a': 1, 'b': 2, 'c': 3}) & set({'a': 2, 'd': 4, 'e': 5}))
def test_dict_and_dict_keys(self):
c = collect({'a': 1, 'b': 2, 'c': 3}).intersect_iter({'a': 1, 'b': 2, 'c': 3}.keys())
self.assertEqual(c.iterable, set({'a': 1, 'b': 2, 'c': 3}) & set({'a': 1, 'b': 2, 'c': 3}.keys()))
def test_dict_and_dict_items(self):
c = collect({'a': 1, 'b': 2, 'c': 3}).intersect_iter({'a': 1, 'b': 2, 'c': 3}.items())
self.assertEqual(c.iterable, set({'a': 1, 'b': 2, 'c': 3}) & set({'a': 1, 'b': 2, 'c': 3}.items()))
| 49.421769 | 107 | 0.582106 | 1,188 | 7,265 | 3.43266 | 0.029461 | 0.096126 | 0.030898 | 0.041197 | 0.9718 | 0.935753 | 0.901667 | 0.849681 | 0.785679 | 0.737126 | 0 | 0.054509 | 0.181831 | 7,265 | 146 | 108 | 49.760274 | 0.631561 | 0 | 0 | 0 | 0 | 0 | 0.018169 | 0 | 0 | 0 | 0 | 0 | 0.324074 | 1 | 0.324074 | false | 0 | 0.018519 | 0 | 0.351852 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fe54f7df7e9d6aeb47ab573b11abd7bbb9b35c18 | 17,389 | py | Python | hsstock/tushare/stock/fundamental.py | hsstock/hsstock | f8841331022e8844537a5c5b08d047e2cc328856 | [
"Apache-2.0"
] | 2 | 2018-10-04T08:04:24.000Z | 2021-01-21T06:58:30.000Z | hsstock/tushare/stock/fundamental.py | hsstock/hsstock | f8841331022e8844537a5c5b08d047e2cc328856 | [
"Apache-2.0"
] | null | null | null | hsstock/tushare/stock/fundamental.py | hsstock/hsstock | f8841331022e8844537a5c5b08d047e2cc328856 | [
"Apache-2.0"
] | 1 | 2018-10-20T09:39:50.000Z | 2018-10-20T09:39:50.000Z | # -*- coding:utf-8 -*-
"""
基本面数据接口
Created on 2015/01/18
@author: Jimmy Liu
@group : waditu
@contact: jimmysoa@sina.cn
"""
import pandas as pd
from hsstock.tushare.stock import cons as ct
import lxml.html
from lxml import etree
import re
import time
from pandas.compat import StringIO
from hsstock.tushare.util import dateu as du
try:
from urllib.request import urlopen, Request
except ImportError:
from urllib2 import urlopen, Request
def get_stock_basics(date=None):
"""
获取沪深上市公司基本情况
Parameters
date:日期YYYY-MM-DD,默认为上一个交易日,目前只能提供2016-08-09之后的历史数据
Return
--------
DataFrame
code,代码
name,名称
industry,细分行业
area,地区
pe,市盈率
outstanding,流通股本
totals,总股本(万)
totalAssets,总资产(万)
liquidAssets,流动资产
fixedAssets,固定资产
reserved,公积金
reservedPerShare,每股公积金
eps,每股收益
bvps,每股净资
pb,市净率
timeToMarket,上市日期
"""
wdate = du.last_tddate() if date is None else date
wdate = wdate.replace('-', '')
if wdate < '20160809':
return None
datepre = '' if date is None else wdate[0:4] + wdate[4:6] + '/'
request = Request(ct.ALL_STOCK_BASICS_FILE%(datepre, '' if date is None else wdate))
text = urlopen(request, timeout=10).read()
text = text.decode('GBK')
text = text.replace('--', '')
df = pd.read_csv(StringIO(text), dtype={'code':'object'})
df = df.set_index('code')
return df
def get_report_data(year, quarter):
"""
获取业绩报表数据
Parameters
--------
year:int 年度 e.g:2014
quarter:int 季度 :1、2、3、4,只能输入这4个季度
说明:由于是从网站获取的数据,需要一页页抓取,速度取决于您当前网络速度
Return
--------
DataFrame
code,代码
name,名称
eps,每股收益
eps_yoy,每股收益同比(%)
bvps,每股净资产
roe,净资产收益率(%)
epcf,每股现金流量(元)
net_profits,净利润(万元)
profits_yoy,净利润同比(%)
distrib,分配方案
report_date,发布日期
"""
if ct._check_input(year,quarter) is True:
ct._write_head()
df = _get_report_data(year, quarter, 1, pd.DataFrame())
if df is not None:
# df = df.drop_duplicates('code')
df['code'] = df['code'].map(lambda x:str(x).zfill(6))
return df
def _get_report_data(year, quarter, pageNo, dataArr,
retry_count=3, pause=0.001):
ct._write_console()
for _ in range(retry_count):
time.sleep(pause)
try:
request = Request(ct.REPORT_URL%(ct.P_TYPE['http'], ct.DOMAINS['vsf'], ct.PAGES['fd'],
year, quarter, pageNo, ct.PAGE_NUM[1]))
text = urlopen(request, timeout=10).read()
text = text.decode('GBK')
text = text.replace('--', '')
html = lxml.html.parse(StringIO(text))
res = html.xpath("//table[@class=\"list_table\"]/tr")
if ct.PY3:
sarr = [etree.tostring(node).decode('utf-8') for node in res]
else:
sarr = [etree.tostring(node) for node in res]
sarr = ''.join(sarr)
sarr = '<table>%s</table>'%sarr
df = pd.read_html(sarr)[0]
df = df.drop(11, axis=1)
df.columns = ct.REPORT_COLS
dataArr = dataArr.append(df, ignore_index=True)
nextPage = html.xpath('//div[@class=\"pages\"]/a[last()]/@onclick')
if len(nextPage)>0:
pageNo = re.findall(r'\d+', nextPage[0])[0]
return _get_report_data(year, quarter, pageNo, dataArr)
else:
return dataArr
except Exception as e:
pass
raise IOError(ct.NETWORK_URL_ERROR_MSG)
def get_profit_data(year, quarter):
"""
获取盈利能力数据
Parameters
--------
year:int 年度 e.g:2014
quarter:int 季度 :1、2、3、4,只能输入这4个季度
说明:由于是从网站获取的数据,需要一页页抓取,速度取决于您当前网络速度
Return
--------
DataFrame
code,代码
name,名称
roe,净资产收益率(%)
net_profit_ratio,净利率(%)
gross_profit_rate,毛利率(%)
net_profits,净利润(万元)
eps,每股收益
business_income,营业收入(百万元)
bips,每股主营业务收入(元)
"""
if ct._check_input(year, quarter) is True:
ct._write_head()
data = _get_profit_data(year, quarter, 1, pd.DataFrame())
if data is not None:
# data = data.drop_duplicates('code')
data['code'] = data['code'].map(lambda x:str(x).zfill(6))
return data
def _get_profit_data(year, quarter, pageNo, dataArr,
retry_count=3, pause=0.001):
ct._write_console()
for _ in range(retry_count):
time.sleep(pause)
try:
request = Request(ct.PROFIT_URL%(ct.P_TYPE['http'], ct.DOMAINS['vsf'],
ct.PAGES['fd'], year,
quarter, pageNo, ct.PAGE_NUM[1]))
text = urlopen(request, timeout=10).read()
text = text.decode('GBK')
text = text.replace('--', '')
html = lxml.html.parse(StringIO(text))
res = html.xpath("//table[@class=\"list_table\"]/tr")
if ct.PY3:
sarr = [etree.tostring(node).decode('utf-8') for node in res]
else:
sarr = [etree.tostring(node) for node in res]
sarr = ''.join(sarr)
sarr = '<table>%s</table>'%sarr
df = pd.read_html(sarr)[0]
df.columns=ct.PROFIT_COLS
dataArr = dataArr.append(df, ignore_index=True)
nextPage = html.xpath('//div[@class=\"pages\"]/a[last()]/@onclick')
if len(nextPage)>0:
pageNo = re.findall(r'\d+', nextPage[0])[0]
return _get_profit_data(year, quarter, pageNo, dataArr)
else:
return dataArr
except:
pass
raise IOError(ct.NETWORK_URL_ERROR_MSG)
def get_operation_data(year, quarter):
"""
获取营运能力数据
Parameters
--------
year:int 年度 e.g:2014
quarter:int 季度 :1、2、3、4,只能输入这4个季度
说明:由于是从网站获取的数据,需要一页页抓取,速度取决于您当前网络速度
Return
--------
DataFrame
code,代码
name,名称
arturnover,应收账款周转率(次)
arturndays,应收账款周转天数(天)
inventory_turnover,存货周转率(次)
inventory_days,存货周转天数(天)
currentasset_turnover,流动资产周转率(次)
currentasset_days,流动资产周转天数(天)
"""
if ct._check_input(year, quarter) is True:
ct._write_head()
data = _get_operation_data(year, quarter, 1, pd.DataFrame())
if data is not None:
# data = data.drop_duplicates('code')
data['code'] = data['code'].map(lambda x:str(x).zfill(6))
return data
def _get_operation_data(year, quarter, pageNo, dataArr,
retry_count=3, pause=0.001):
ct._write_console()
for _ in range(retry_count):
time.sleep(pause)
try:
request = Request(ct.OPERATION_URL%(ct.P_TYPE['http'], ct.DOMAINS['vsf'],
ct.PAGES['fd'], year,
quarter, pageNo, ct.PAGE_NUM[1]))
text = urlopen(request, timeout=10).read()
text = text.decode('GBK')
text = text.replace('--', '')
html = lxml.html.parse(StringIO(text))
res = html.xpath("//table[@class=\"list_table\"]/tr")
if ct.PY3:
sarr = [etree.tostring(node).decode('utf-8') for node in res]
else:
sarr = [etree.tostring(node) for node in res]
sarr = ''.join(sarr)
sarr = '<table>%s</table>'%sarr
df = pd.read_html(sarr)[0]
df.columns=ct.OPERATION_COLS
dataArr = dataArr.append(df, ignore_index=True)
nextPage = html.xpath('//div[@class=\"pages\"]/a[last()]/@onclick')
if len(nextPage)>0:
pageNo = re.findall(r'\d+', nextPage[0])[0]
return _get_operation_data(year, quarter, pageNo, dataArr)
else:
return dataArr
except Exception as e:
pass
raise IOError(ct.NETWORK_URL_ERROR_MSG)
def get_growth_data(year, quarter):
"""
获取成长能力数据
Parameters
--------
year:int 年度 e.g:2014
quarter:int 季度 :1、2、3、4,只能输入这4个季度
说明:由于是从网站获取的数据,需要一页页抓取,速度取决于您当前网络速度
Return
--------
DataFrame
code,代码
name,名称
mbrg,主营业务收入增长率(%)
nprg,净利润增长率(%)
nav,净资产增长率
targ,总资产增长率
epsg,每股收益增长率
seg,股东权益增长率
"""
if ct._check_input(year, quarter) is True:
ct._write_head()
data = _get_growth_data(year, quarter, 1, pd.DataFrame())
if data is not None:
# data = data.drop_duplicates('code')
data['code'] = data['code'].map(lambda x:str(x).zfill(6))
return data
def _get_growth_data(year, quarter, pageNo, dataArr,
retry_count=3, pause=0.001):
ct._write_console()
for _ in range(retry_count):
time.sleep(pause)
try:
request = Request(ct.GROWTH_URL%(ct.P_TYPE['http'], ct.DOMAINS['vsf'],
ct.PAGES['fd'], year,
quarter, pageNo, ct.PAGE_NUM[1]))
text = urlopen(request, timeout=50).read()
text = text.decode('GBK')
text = text.replace('--', '')
html = lxml.html.parse(StringIO(text))
res = html.xpath("//table[@class=\"list_table\"]/tr")
if ct.PY3:
sarr = [etree.tostring(node).decode('utf-8') for node in res]
else:
sarr = [etree.tostring(node) for node in res]
sarr = ''.join(sarr)
sarr = '<table>%s</table>'%sarr
df = pd.read_html(sarr)[0]
df.columns=ct.GROWTH_COLS
dataArr = dataArr.append(df, ignore_index=True)
nextPage = html.xpath('//div[@class=\"pages\"]/a[last()]/@onclick')
if len(nextPage)>0:
pageNo = re.findall(r'\d+', nextPage[0])[0]
return _get_growth_data(year, quarter, pageNo, dataArr)
else:
return dataArr
except Exception as e:
pass
raise IOError(ct.NETWORK_URL_ERROR_MSG)
def get_debtpaying_data(year, quarter):
"""
获取偿债能力数据
Parameters
--------
year:int 年度 e.g:2014
quarter:int 季度 :1、2、3、4,只能输入这4个季度
说明:由于是从网站获取的数据,需要一页页抓取,速度取决于您当前网络速度
Return
--------
DataFrame
code,代码
name,名称
currentratio,流动比率
quickratio,速动比率
cashratio,现金比率
icratio,利息支付倍数
sheqratio,股东权益比率
adratio,股东权益增长率
"""
if ct._check_input(year, quarter) is True:
ct._write_head()
df = _get_debtpaying_data(year, quarter, 1, pd.DataFrame())
if df is not None:
# df = df.drop_duplicates('code')
df['code'] = df['code'].map(lambda x:str(x).zfill(6))
return df
def _get_debtpaying_data(year, quarter, pageNo, dataArr,
retry_count=3, pause=0.001):
ct._write_console()
for _ in range(retry_count):
time.sleep(pause)
try:
request = Request(ct.DEBTPAYING_URL%(ct.P_TYPE['http'], ct.DOMAINS['vsf'],
ct.PAGES['fd'], year,
quarter, pageNo, ct.PAGE_NUM[1]))
text = urlopen(request, timeout=10).read()
text = text.decode('GBK')
html = lxml.html.parse(StringIO(text))
res = html.xpath("//table[@class=\"list_table\"]/tr")
if ct.PY3:
sarr = [etree.tostring(node).decode('utf-8') for node in res]
else:
sarr = [etree.tostring(node) for node in res]
sarr = ''.join(sarr)
sarr = '<table>%s</table>'%sarr
df = pd.read_html(sarr)[0]
df.columns = ct.DEBTPAYING_COLS
dataArr = dataArr.append(df, ignore_index=True)
nextPage = html.xpath('//div[@class=\"pages\"]/a[last()]/@onclick')
if len(nextPage)>0:
pageNo = re.findall(r'\d+', nextPage[0])[0]
return _get_debtpaying_data(year, quarter, pageNo, dataArr)
else:
return dataArr
except Exception as e:
pass
raise IOError(ct.NETWORK_URL_ERROR_MSG)
def get_cashflow_data(year, quarter):
"""
获取现金流量数据
Parameters
--------
year:int 年度 e.g:2014
quarter:int 季度 :1、2、3、4,只能输入这4个季度
说明:由于是从网站获取的数据,需要一页页抓取,速度取决于您当前网络速度
Return
--------
DataFrame
code,代码
name,名称
cf_sales,经营现金净流量对销售收入比率
rateofreturn,资产的经营现金流量回报率
cf_nm,经营现金净流量与净利润的比率
cf_liabilities,经营现金净流量对负债比率
cashflowratio,现金流量比率
"""
if ct._check_input(year, quarter) is True:
ct._write_head()
df = _get_cashflow_data(year, quarter, 1, pd.DataFrame())
if df is not None:
# df = df.drop_duplicates('code')
df['code'] = df['code'].map(lambda x:str(x).zfill(6))
return df
def _get_cashflow_data(year, quarter, pageNo, dataArr,
retry_count=3, pause=0.001):
ct._write_console()
for _ in range(retry_count):
time.sleep(pause)
try:
request = Request(ct.CASHFLOW_URL%(ct.P_TYPE['http'], ct.DOMAINS['vsf'],
ct.PAGES['fd'], year,
quarter, pageNo, ct.PAGE_NUM[1]))
text = urlopen(request, timeout=10).read()
text = text.decode('GBK')
text = text.replace('--', '')
html = lxml.html.parse(StringIO(text))
res = html.xpath("//table[@class=\"list_table\"]/tr")
if ct.PY3:
sarr = [etree.tostring(node).decode('utf-8') for node in res]
else:
sarr = [etree.tostring(node) for node in res]
sarr = ''.join(sarr)
sarr = '<table>%s</table>'%sarr
df = pd.read_html(sarr)[0]
df.columns = ct.CASHFLOW_COLS
dataArr = dataArr.append(df, ignore_index=True)
nextPage = html.xpath('//div[@class=\"pages\"]/a[last()]/@onclick')
if len(nextPage)>0:
pageNo = re.findall(r'\d+', nextPage[0])[0]
return _get_cashflow_data(year, quarter, pageNo, dataArr)
else:
return dataArr
except Exception as e:
pass
raise IOError(ct.NETWORK_URL_ERROR_MSG)
def _data_path():
import os
import inspect
caller_file = inspect.stack()[1][1]
pardir = os.path.abspath(os.path.join(os.path.dirname(caller_file), os.path.pardir))
return os.path.abspath(os.path.join(pardir, os.path.pardir))
def get_balance_sheet(code):
"""
获取某股票的历史所有时期资产负债表
Parameters
--------
code:str 股票代码 e.g:600518
Return
--------
DataFrame
行列名称为中文且数目较多,建议获取数据后保存到本地查看
"""
if code.isdigit():
request = Request(ct.SINA_BALANCESHEET_URL%(code))
text = urlopen(request, timeout=10).read()
text = text.decode('GBK')
text = text.replace('\t\n', '\r\n')
text = text.replace('\t', ',')
df = pd.read_csv(StringIO(text), dtype={'code':'object'})
return df
def get_profit_statement(code):
"""
获取某股票的历史所有时期利润表
Parameters
--------
code:str 股票代码 e.g:600518
Return
--------
DataFrame
行列名称为中文且数目较多,建议获取数据后保存到本地查看
"""
if code.isdigit():
request = Request(ct.SINA_PROFITSTATEMENT_URL%(code))
text = urlopen(request, timeout=10).read()
text = text.decode('GBK')
text = text.replace('\t\n', '\r\n')
text = text.replace('\t', ',')
df = pd.read_csv(StringIO(text), dtype={'code':'object'})
return df
def get_cash_flow(code):
"""
获取某股票的历史所有时期现金流表
Parameters
--------
code:str 股票代码 e.g:600518
Return
--------
DataFrame
行列名称为中文且数目较多,建议获取数据后保存到本地查看
"""
if code.isdigit():
request = Request(ct.SINA_CASHFLOW_URL%(code))
text = urlopen(request, timeout=10).read()
text = text.decode('GBK')
text = text.replace('\t\n', '\r\n')
text = text.replace('\t', ',')
df = pd.read_csv(StringIO(text), dtype={'code':'object'})
return df
| 33.440385 | 99 | 0.512565 | 1,973 | 17,389 | 4.400912 | 0.161176 | 0.045606 | 0.04146 | 0.029022 | 0.803179 | 0.796153 | 0.774617 | 0.758494 | 0.753772 | 0.743522 | 0 | 0.018848 | 0.356202 | 17,389 | 519 | 100 | 33.504817 | 0.756766 | 0.18621 | 0 | 0.756014 | 0 | 0 | 0.05854 | 0.019591 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058419 | false | 0.020619 | 0.044674 | 0 | 0.185567 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
229fd4891ae07659a6cb2cbac393b5c9dcd1ec14 | 79,364 | py | Python | msgraph-cli-extensions/beta/usersactions_beta/azext_usersactions_beta/vendored_sdks/usersactions/aio/operations/_users_managed_devices_operations.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/beta/usersactions_beta/azext_usersactions_beta/vendored_sdks/usersactions/aio/operations/_users_managed_devices_operations.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/beta/usersactions_beta/azext_usersactions_beta/vendored_sdks/usersactions/aio/operations/_users_managed_devices_operations.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | # 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.
# --------------------------------------------------------------------------
from typing import Any, Callable, Dict, Generic, Optional, TypeVar
import warnings
from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat
from ... import models
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
class UsersManagedDevicesOperations:
"""UsersManagedDevicesOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
:type models: ~users_actions.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
"""
models = models
def __init__(self, client, config, serializer, deserializer) -> None:
self._client = client
self._serialize = serializer
self._deserialize = deserializer
self._config = config
async def bypass_activation_lock(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action bypassActivationLock.
Invoke action bypassActivationLock.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.bypass_activation_lock.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
bypass_activation_lock.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.bypassActivationLock'} # type: ignore
async def clean_windows_device(
self,
user_id: str,
managed_device_id: str,
body: "models.Paths1Nos4SfUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphCleanwindowsdevicePostRequestbodyContentApplicationJsonSchema",
**kwargs
) -> None:
"""Invoke action cleanWindowsDevice.
Invoke action cleanWindowsDevice.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:param body: Action parameters.
:type body: ~users_actions.models.Paths1Nos4SfUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphCleanwindowsdevicePostRequestbodyContentApplicationJsonSchema
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self.clean_windows_device.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(body, 'Paths1Nos4SfUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphCleanwindowsdevicePostRequestbodyContentApplicationJsonSchema')
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
clean_windows_device.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.cleanWindowsDevice'} # type: ignore
async def create_device_log_collection_request(
self,
user_id: str,
managed_device_id: str,
body: "models.PathsN6Sp2AUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphCreatedevicelogcollectionrequestPostRequestbodyContentApplicationJsonSchema",
**kwargs
) -> "models.MicrosoftGraphDeviceLogCollectionResponse":
"""Invoke action createDeviceLogCollectionRequest.
Invoke action createDeviceLogCollectionRequest.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:param body: Action parameters.
:type body: ~users_actions.models.PathsN6Sp2AUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphCreatedevicelogcollectionrequestPostRequestbodyContentApplicationJsonSchema
:keyword callable cls: A custom type or function that will be passed the direct response
:return: MicrosoftGraphDeviceLogCollectionResponse, or the result of cls(response)
:rtype: ~users_actions.models.MicrosoftGraphDeviceLogCollectionResponse
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.MicrosoftGraphDeviceLogCollectionResponse"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self.create_device_log_collection_request.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(body, 'PathsN6Sp2AUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphCreatedevicelogcollectionrequestPostRequestbodyContentApplicationJsonSchema')
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
deserialized = self._deserialize('MicrosoftGraphDeviceLogCollectionResponse', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
create_device_log_collection_request.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.createDeviceLogCollectionRequest'} # type: ignore
async def delete_user_from_shared_apple_device(
self,
user_id: str,
managed_device_id: str,
body: "models.PathsWbtl2JUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphDeleteuserfromsharedappledevicePostRequestbodyContentApplicationJsonSchema",
**kwargs
) -> None:
"""Invoke action deleteUserFromSharedAppleDevice.
Invoke action deleteUserFromSharedAppleDevice.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:param body: Action parameters.
:type body: ~users_actions.models.PathsWbtl2JUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphDeleteuserfromsharedappledevicePostRequestbodyContentApplicationJsonSchema
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self.delete_user_from_shared_apple_device.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(body, 'PathsWbtl2JUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphDeleteuserfromsharedappledevicePostRequestbodyContentApplicationJsonSchema')
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
delete_user_from_shared_apple_device.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.deleteUserFromSharedAppleDevice'} # type: ignore
async def disable_lost_mode(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action disableLostMode.
Invoke action disableLostMode.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.disable_lost_mode.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
disable_lost_mode.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.disableLostMode'} # type: ignore
async def enable_lost_mode(
self,
user_id: str,
managed_device_id: str,
body: "models.PathsM5KcdlUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphEnablelostmodePostRequestbodyContentApplicationJsonSchema",
**kwargs
) -> None:
"""Invoke action enableLostMode.
Invoke action enableLostMode.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:param body: Action parameters.
:type body: ~users_actions.models.PathsM5KcdlUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphEnablelostmodePostRequestbodyContentApplicationJsonSchema
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self.enable_lost_mode.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(body, 'PathsM5KcdlUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphEnablelostmodePostRequestbodyContentApplicationJsonSchema')
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
enable_lost_mode.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.enableLostMode'} # type: ignore
async def locate_device(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action locateDevice.
Invoke action locateDevice.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.locate_device.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
locate_device.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.locateDevice'} # type: ignore
async def logout_shared_apple_device_active_user(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action logoutSharedAppleDeviceActiveUser.
Invoke action logoutSharedAppleDeviceActiveUser.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.logout_shared_apple_device_active_user.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
logout_shared_apple_device_active_user.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.logoutSharedAppleDeviceActiveUser'} # type: ignore
async def override_compliance_state(
self,
user_id: str,
managed_device_id: str,
body: "models.Paths11FbqvhUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphOverridecompliancestatePostRequestbodyContentApplicationJsonSchema",
**kwargs
) -> None:
"""Invoke action overrideComplianceState.
Invoke action overrideComplianceState.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:param body: Action parameters.
:type body: ~users_actions.models.Paths11FbqvhUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphOverridecompliancestatePostRequestbodyContentApplicationJsonSchema
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self.override_compliance_state.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(body, 'Paths11FbqvhUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphOverridecompliancestatePostRequestbodyContentApplicationJsonSchema')
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
override_compliance_state.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.overrideComplianceState'} # type: ignore
async def play_lost_mode_sound(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action playLostModeSound.
Invoke action playLostModeSound.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.play_lost_mode_sound.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
play_lost_mode_sound.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.playLostModeSound'} # type: ignore
async def reboot_now(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action rebootNow.
Invoke action rebootNow.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.reboot_now.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
reboot_now.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.rebootNow'} # type: ignore
async def recover_passcode(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action recoverPasscode.
Invoke action recoverPasscode.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.recover_passcode.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
recover_passcode.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.recoverPasscode'} # type: ignore
async def remote_lock(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action remoteLock.
Invoke action remoteLock.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.remote_lock.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
remote_lock.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.remoteLock'} # type: ignore
async def request_remote_assistance(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action requestRemoteAssistance.
Invoke action requestRemoteAssistance.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.request_remote_assistance.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
request_remote_assistance.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.requestRemoteAssistance'} # type: ignore
async def reset_passcode(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action resetPasscode.
Invoke action resetPasscode.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.reset_passcode.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
reset_passcode.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.resetPasscode'} # type: ignore
async def retire(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action retire.
Invoke action retire.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.retire.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
retire.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.retire'} # type: ignore
async def revoke_apple_vpp_licenses(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action revokeAppleVppLicenses.
Invoke action revokeAppleVppLicenses.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.revoke_apple_vpp_licenses.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
revoke_apple_vpp_licenses.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.revokeAppleVppLicenses'} # type: ignore
async def rotate_bit_locker_keys(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action rotateBitLockerKeys.
Invoke action rotateBitLockerKeys.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.rotate_bit_locker_keys.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
rotate_bit_locker_keys.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.rotateBitLockerKeys'} # type: ignore
async def rotate_file_vault_key(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action rotateFileVaultKey.
Invoke action rotateFileVaultKey.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.rotate_file_vault_key.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
rotate_file_vault_key.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.rotateFileVaultKey'} # type: ignore
async def send_custom_notification_to_company_portal(
self,
user_id: str,
managed_device_id: str,
body: "models.Paths1Cnuhc3UsersUserIdManageddevicesManageddeviceIdMicrosoftGraphSendcustomnotificationtocompanyportalPostRequestbodyContentApplicationJsonSchema",
**kwargs
) -> None:
"""Invoke action sendCustomNotificationToCompanyPortal.
Invoke action sendCustomNotificationToCompanyPortal.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:param body: Action parameters.
:type body: ~users_actions.models.Paths1Cnuhc3UsersUserIdManageddevicesManageddeviceIdMicrosoftGraphSendcustomnotificationtocompanyportalPostRequestbodyContentApplicationJsonSchema
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self.send_custom_notification_to_company_portal.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(body, 'Paths1Cnuhc3UsersUserIdManageddevicesManageddeviceIdMicrosoftGraphSendcustomnotificationtocompanyportalPostRequestbodyContentApplicationJsonSchema')
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
send_custom_notification_to_company_portal.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.sendCustomNotificationToCompanyPortal'} # type: ignore
async def set_device_name(
self,
user_id: str,
managed_device_id: str,
body: "models.Paths1Lr0Hk2UsersUserIdManageddevicesManageddeviceIdMicrosoftGraphSetdevicenamePostRequestbodyContentApplicationJsonSchema",
**kwargs
) -> None:
"""Invoke action setDeviceName.
Invoke action setDeviceName.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:param body: Action parameters.
:type body: ~users_actions.models.Paths1Lr0Hk2UsersUserIdManageddevicesManageddeviceIdMicrosoftGraphSetdevicenamePostRequestbodyContentApplicationJsonSchema
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self.set_device_name.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(body, 'Paths1Lr0Hk2UsersUserIdManageddevicesManageddeviceIdMicrosoftGraphSetdevicenamePostRequestbodyContentApplicationJsonSchema')
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
set_device_name.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.setDeviceName'} # type: ignore
async def shut_down(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action shutDown.
Invoke action shutDown.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.shut_down.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
shut_down.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.shutDown'} # type: ignore
async def sync_device(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action syncDevice.
Invoke action syncDevice.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.sync_device.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
sync_device.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.syncDevice'} # type: ignore
async def trigger_configuration_manager_action(
self,
user_id: str,
managed_device_id: str,
body: "models.PathsA6Tcp7UsersUserIdManageddevicesManageddeviceIdMicrosoftGraphTriggerconfigurationmanageractionPostRequestbodyContentApplicationJsonSchema",
**kwargs
) -> None:
"""Invoke action triggerConfigurationManagerAction.
Invoke action triggerConfigurationManagerAction.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:param body: Action parameters.
:type body: ~users_actions.models.PathsA6Tcp7UsersUserIdManageddevicesManageddeviceIdMicrosoftGraphTriggerconfigurationmanageractionPostRequestbodyContentApplicationJsonSchema
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self.trigger_configuration_manager_action.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(body, 'PathsA6Tcp7UsersUserIdManageddevicesManageddeviceIdMicrosoftGraphTriggerconfigurationmanageractionPostRequestbodyContentApplicationJsonSchema')
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
trigger_configuration_manager_action.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.triggerConfigurationManagerAction'} # type: ignore
async def update_windows_device_account(
self,
user_id: str,
managed_device_id: str,
body: "models.Paths1Q6DqpaUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphUpdatewindowsdeviceaccountPostRequestbodyContentApplicationJsonSchema",
**kwargs
) -> None:
"""Invoke action updateWindowsDeviceAccount.
Invoke action updateWindowsDeviceAccount.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:param body: Action parameters.
:type body: ~users_actions.models.Paths1Q6DqpaUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphUpdatewindowsdeviceaccountPostRequestbodyContentApplicationJsonSchema
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self.update_windows_device_account.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(body, 'Paths1Q6DqpaUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphUpdatewindowsdeviceaccountPostRequestbodyContentApplicationJsonSchema')
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
update_windows_device_account.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.updateWindowsDeviceAccount'} # type: ignore
async def windows_defender_scan(
self,
user_id: str,
managed_device_id: str,
body: "models.Paths1FegpkwUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphWindowsdefenderscanPostRequestbodyContentApplicationJsonSchema",
**kwargs
) -> None:
"""Invoke action windowsDefenderScan.
Invoke action windowsDefenderScan.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:param body: Action parameters.
:type body: ~users_actions.models.Paths1FegpkwUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphWindowsdefenderscanPostRequestbodyContentApplicationJsonSchema
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self.windows_defender_scan.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(body, 'Paths1FegpkwUsersUserIdManageddevicesManageddeviceIdMicrosoftGraphWindowsdefenderscanPostRequestbodyContentApplicationJsonSchema')
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
windows_defender_scan.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.windowsDefenderScan'} # type: ignore
async def windows_defender_update_signatures(
self,
user_id: str,
managed_device_id: str,
**kwargs
) -> None:
"""Invoke action windowsDefenderUpdateSignatures.
Invoke action windowsDefenderUpdateSignatures.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
accept = "application/json"
# Construct URL
url = self.windows_defender_update_signatures.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
windows_defender_update_signatures.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.windowsDefenderUpdateSignatures'} # type: ignore
async def wipe(
self,
user_id: str,
managed_device_id: str,
body: "models.Paths14R8Rr7UsersUserIdManageddevicesManageddeviceIdMicrosoftGraphWipePostRequestbodyContentApplicationJsonSchema",
**kwargs
) -> None:
"""Invoke action wipe.
Invoke action wipe.
:param user_id: key: id of user.
:type user_id: str
:param managed_device_id: key: id of managedDevice.
:type managed_device_id: str
:param body: Action parameters.
:type body: ~users_actions.models.Paths14R8Rr7UsersUserIdManageddevicesManageddeviceIdMicrosoftGraphWipePostRequestbodyContentApplicationJsonSchema
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self.wipe.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
'managedDevice-id': self._serialize.url("managed_device_id", managed_device_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(body, 'Paths14R8Rr7UsersUserIdManageddevicesManageddeviceIdMicrosoftGraphWipePostRequestbodyContentApplicationJsonSchema')
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [204]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
if cls:
return cls(pipeline_response, None, {})
wipe.metadata = {'url': '/users/{user-id}/managedDevices/{managedDevice-id}/microsoft.graph.wipe'} # type: ignore
async def execute_action(
self,
user_id: str,
body: "models.Paths1V92H65UsersUserIdManageddevicesMicrosoftGraphExecuteactionPostRequestbodyContentApplicationJsonSchema",
**kwargs
) -> "models.MicrosoftGraphBulkManagedDeviceActionResult":
"""Invoke action executeAction.
Invoke action executeAction.
:param user_id: key: id of user.
:type user_id: str
:param body: Action parameters.
:type body: ~users_actions.models.Paths1V92H65UsersUserIdManageddevicesMicrosoftGraphExecuteactionPostRequestbodyContentApplicationJsonSchema
:keyword callable cls: A custom type or function that will be passed the direct response
:return: MicrosoftGraphBulkManagedDeviceActionResult, or the result of cls(response)
:rtype: ~users_actions.models.MicrosoftGraphBulkManagedDeviceActionResult
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.MicrosoftGraphBulkManagedDeviceActionResult"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self.execute_action.metadata['url'] # type: ignore
path_format_arguments = {
'user-id': self._serialize.url("user_id", user_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
body_content = self._serialize.body(body, 'Paths1V92H65UsersUserIdManageddevicesMicrosoftGraphExecuteactionPostRequestbodyContentApplicationJsonSchema')
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize(models.OdataError, response)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
deserialized = self._deserialize('MicrosoftGraphBulkManagedDeviceActionResult', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
execute_action.metadata = {'url': '/users/{user-id}/managedDevices/microsoft.graph.executeAction'} # type: ignore
| 45.742939 | 199 | 0.672874 | 8,250 | 79,364 | 6.260606 | 0.032848 | 0.023582 | 0.040658 | 0.029274 | 0.816147 | 0.810087 | 0.80182 | 0.799652 | 0.795973 | 0.795392 | 0 | 0.007002 | 0.226198 | 79,364 | 1,734 | 200 | 45.769319 | 0.834039 | 0.067865 | 0 | 0.808898 | 0 | 0 | 0.167133 | 0.102653 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001011 | false | 0.0091 | 0.007078 | 0 | 0.041456 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
22abab686795390dae52da7154483949ded07755 | 48,724 | py | Python | sdk/python/pulumi_azure/compute/virtual_machine.py | adnang/pulumi-azure | 32360d2f1e41e27d7fdd6522cb26d65e531f279f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/compute/virtual_machine.py | adnang/pulumi-azure | 32360d2f1e41e27d7fdd6522cb26d65e531f279f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/compute/virtual_machine.py | adnang/pulumi-azure | 32360d2f1e41e27d7fdd6522cb26d65e531f279f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class VirtualMachine(pulumi.CustomResource):
additional_capabilities: pulumi.Output[dict]
"""
A `additional_capabilities` block.
* `ultraSsdEnabled` (`bool`) - Should Ultra SSD disk be enabled for this Virtual Machine?
"""
availability_set_id: pulumi.Output[str]
"""
The ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
"""
boot_diagnostics: pulumi.Output[dict]
"""
A `boot_diagnostics` block.
* `enabled` (`bool`) - Should Boot Diagnostics be enabled for this Virtual Machine?
* `storageUri` (`str`) - The Storage Account's Blob Endpoint which should hold the virtual machine's diagnostic files.
"""
delete_data_disks_on_termination: pulumi.Output[bool]
"""
Should the Data Disks (either the Managed Disks / VHD Blobs) be deleted when the Virtual Machine is destroyed? Defaults to `false`.
"""
delete_os_disk_on_termination: pulumi.Output[bool]
"""
Should the OS Disk (either the Managed Disk / VHD Blob) be deleted when the Virtual Machine is destroyed? Defaults to `false`.
"""
identity: pulumi.Output[dict]
"""
A `identity` block.
* `identityIds` (`list`) - Specifies a list of user managed identity ids to be assigned to the VM. Required if `type` is `UserAssigned`.
* `principal_id` (`str`) - The Principal ID for the Service Principal associated with the Managed Service Identity of this Virtual Machine.
* `type` (`str`) - The Managed Service Identity Type of this Virtual Machine. Possible values are `SystemAssigned` (where Azure will generate a Service Principal for you), `UserAssigned` (where you can specify the Service Principal ID's) to be used by this Virtual Machine using the `identity_ids` field, and `SystemAssigned, UserAssigned` which assigns both a system managed identity as well as the specified user assigned identities.
"""
license_type: pulumi.Output[str]
"""
Specifies the BYOL Type for this Virtual Machine. This is only applicable to Windows Virtual Machines. Possible values are `Windows_Client` and `Windows_Server`.
"""
location: pulumi.Output[str]
"""
Specifies the Azure Region where the Virtual Machine exists. Changing this forces a new resource to be created.
"""
name: pulumi.Output[str]
"""
Specifies the name of the Virtual Machine. Changing this forces a new resource to be created.
"""
network_interface_ids: pulumi.Output[list]
"""
A list of Network Interface ID's which should be associated with the Virtual Machine.
"""
os_profile: pulumi.Output[dict]
"""
An `os_profile` block. Required when `create_option` in the `storage_os_disk` block is set to `FromImage`.
* `admin_password` (`str`) - The password associated with the local administrator account.
* `admin_username` (`str`) - Specifies the name of the local administrator account.
* `computer_name` (`str`) - Specifies the name of the Virtual Machine.
* `custom_data` (`str`) - Specifies custom data to supply to the machine. On Linux-based systems, this can be used as a cloud-init script. On other systems, this will be copied as a file on disk. Internally, this provider will base64 encode this value before sending it to the API. The maximum length of the binary array is 65535 bytes.
"""
os_profile_linux_config: pulumi.Output[dict]
"""
A `os_profile_linux_config` block.
* `disable_password_authentication` (`bool`) - Specifies whether password authentication should be disabled. If set to `false`, an `admin_password` must be specified.
* `sshKeys` (`list`) - One or more `ssh_keys` blocks. This field is required if `disable_password_authentication` is set to `true`.
* `keyData` (`str`) - The Public SSH Key which should be written to the `path` defined above.
* `path` (`str`) - The path of the destination file on the virtual machine
"""
os_profile_secrets: pulumi.Output[list]
"""
One or more `os_profile_secrets` blocks.
* `sourceVaultId` (`str`) - Specifies the ID of the Key Vault to use.
* `vaultCertificates` (`list`) - One or more `vault_certificates` blocks.
* `certificateStore` (`str`) - Specifies the certificate store on the Virtual Machine where the certificate should be added to, such as `My`.
* `certificateUrl` (`str`) - The ID of the Key Vault Secret. Stored secret is the Base64 encoding of a JSON Object that which is encoded in UTF-8 of which the contents need to be:
"""
os_profile_windows_config: pulumi.Output[dict]
"""
A `os_profile_windows_config` block.
* `additionalUnattendConfigs` (`list`) - A `additional_unattend_config` block.
* `component` (`str`) - Specifies the name of the component to configure with the added content. The only allowable value is `Microsoft-Windows-Shell-Setup`.
* `content` (`str`) - Specifies the base-64 encoded XML formatted content that is added to the unattend.xml file for the specified path and component.
* `pass` (`str`) - Specifies the name of the pass that the content applies to. The only allowable value is `oobeSystem`.
* `settingName` (`str`) - Specifies the name of the setting to which the content applies. Possible values are: `FirstLogonCommands` and `AutoLogon`.
* `enableAutomaticUpgrades` (`bool`) - Are automatic updates enabled on this Virtual Machine? Defaults to `false.`
* `provision_vm_agent` (`bool`) - Should the Azure Virtual Machine Guest Agent be installed on this Virtual Machine? Defaults to `false`.
* `timezone` (`str`) - Specifies the time zone of the virtual machine, [the possible values are defined here](http://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/).
* `winrms` (`list`) - One or more `winrm` block.
* `certificateUrl` (`str`) - The ID of the Key Vault Secret which contains the encrypted Certificate which should be installed on the Virtual Machine. This certificate must also be specified in the `vault_certificates` block within the `os_profile_secrets` block.
* `protocol` (`str`) - Specifies the protocol of listener. Possible values are `HTTP` or `HTTPS`.
"""
plan: pulumi.Output[dict]
"""
A `plan` block.
* `name` (`str`) - Specifies the name of the image from the marketplace.
* `product` (`str`) - Specifies the product of the image from the marketplace.
* `publisher` (`str`) - Specifies the publisher of the image.
"""
primary_network_interface_id: pulumi.Output[str]
"""
The ID of the Network Interface (which must be attached to the Virtual Machine) which should be the Primary Network Interface for this Virtual Machine.
"""
proximity_placement_group_id: pulumi.Output[str]
"""
The ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created
"""
resource_group_name: pulumi.Output[str]
"""
Specifies the name of the Resource Group in which the Virtual Machine should exist. Changing this forces a new resource to be created.
"""
storage_data_disks: pulumi.Output[list]
"""
One or more `storage_data_disk` blocks.
* `caching` (`str`) - Specifies the caching requirements for the Data Disk. Possible values include `None`, `ReadOnly` and `ReadWrite`.
* `create_option` (`str`) - Specifies how the data disk should be created. Possible values are `Attach`, `FromImage` and `Empty`.
* `disk_size_gb` (`float`) - Specifies the size of the data disk in gigabytes.
* `lun` (`float`) - Specifies the logical unit number of the data disk. This needs to be unique within all the Data Disks on the Virtual Machine.
* `managed_disk_id` (`str`) - Specifies the ID of an Existing Managed Disk which should be attached to this Virtual Machine. When this field is set `create_option` must be set to `Attach`.
* `managedDiskType` (`str`) - Specifies the type of managed disk to create. Possible values are either `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS` or `UltraSSD_LRS`.
* `name` (`str`) - The name of the Data Disk.
* `vhdUri` (`str`) - Specifies the URI of the VHD file backing this Unmanaged Data Disk. Changing this forces a new resource to be created.
* `write_accelerator_enabled` (`bool`) - Specifies if Write Accelerator is enabled on the disk. This can only be enabled on `Premium_LRS` managed disks with no caching and [M-Series VMs](https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/how-to-enable-write-accelerator). Defaults to `false`.
"""
storage_image_reference: pulumi.Output[dict]
"""
A `storage_image_reference` block.
* `id` (`str`) - Specifies the ID of the Custom Image which the Virtual Machine should be created from. Changing this forces a new resource to be created.
* `offer` (`str`) - Specifies the offer of the image used to create the virtual machine. Changing this forces a new resource to be created.
* `publisher` (`str`) - Specifies the publisher of the image used to create the virtual machine. Changing this forces a new resource to be created.
* `sku` (`str`) - Specifies the SKU of the image used to create the virtual machine. Changing this forces a new resource to be created.
* `version` (`str`) - Specifies the version of the image used to create the virtual machine. Changing this forces a new resource to be created.
"""
storage_os_disk: pulumi.Output[dict]
"""
A `storage_os_disk` block.
* `caching` (`str`) - Specifies the caching requirements for the OS Disk. Possible values include `None`, `ReadOnly` and `ReadWrite`.
* `create_option` (`str`) - Specifies how the OS Disk should be created. Possible values are `Attach` (managed disks only) and `FromImage`.
* `disk_size_gb` (`float`) - Specifies the size of the OS Disk in gigabytes.
* `imageUri` (`str`) - Specifies the Image URI in the format `publisherName:offer:skus:version`. This field can also specify the [VHD uri](https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-cli-deploy-templates/#create-a-custom-vm-image) of a custom VM image to clone. When cloning a Custom (Unmanaged) Disk Image the `os_type` field must be set.
* `managed_disk_id` (`str`) - Specifies the ID of an existing Managed Disk which should be attached as the OS Disk of this Virtual Machine. If this is set then the `create_option` must be set to `Attach`.
* `managedDiskType` (`str`) - Specifies the type of Managed Disk which should be created. Possible values are `Standard_LRS`, `StandardSSD_LRS` or `Premium_LRS`.
* `name` (`str`) - Specifies the name of the OS Disk.
* `os_type` (`str`) - Specifies the Operating System on the OS Disk. Possible values are `Linux` and `Windows`.
* `vhdUri` (`str`) - Specifies the URI of the VHD file backing this Unmanaged OS Disk. Changing this forces a new resource to be created.
* `write_accelerator_enabled` (`bool`) - Specifies if Write Accelerator is enabled on the disk. This can only be enabled on `Premium_LRS` managed disks with no caching and [M-Series VMs](https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/how-to-enable-write-accelerator). Defaults to `false`.
"""
tags: pulumi.Output[dict]
"""
A mapping of tags to assign to the Virtual Machine.
"""
vm_size: pulumi.Output[str]
"""
Specifies the [size of the Virtual Machine](https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-size-specs/).
"""
zones: pulumi.Output[str]
"""
A list of a single item of the Availability Zone which the Virtual Machine should be allocated in.
"""
def __init__(__self__, resource_name, opts=None, additional_capabilities=None, availability_set_id=None, boot_diagnostics=None, delete_data_disks_on_termination=None, delete_os_disk_on_termination=None, identity=None, license_type=None, location=None, name=None, network_interface_ids=None, os_profile=None, os_profile_linux_config=None, os_profile_secrets=None, os_profile_windows_config=None, plan=None, primary_network_interface_id=None, proximity_placement_group_id=None, resource_group_name=None, storage_data_disks=None, storage_image_reference=None, storage_os_disk=None, tags=None, vm_size=None, zones=None, __props__=None, __name__=None, __opts__=None):
"""
Manages a Virtual Machine.
## Disclaimers
> **Note:** The `compute.VirtualMachine` resource has been superseded by the `compute.LinuxVirtualMachine` and `compute.WindowsVirtualMachine` resources. The existing `compute.VirtualMachine` resource will continue to be available throughout the 2.x releases however is in a feature-frozen state to maintain compatibility - new functionality will instead be added to the `compute.LinuxVirtualMachine` and `compute.WindowsVirtualMachine` resources.
> **Note:** Data Disks can be attached either directly on the `compute.VirtualMachine` resource, or using the `compute.DataDiskAttachment` resource - but the two cannot be used together. If both are used against the same Virtual Machine, spurious changes will occur.
## Example Usage (from an Azure Platform Image)
This example provisions a Virtual Machine with Managed Disks.
```python
import pulumi
import pulumi_azure as azure
config = pulumi.Config()
prefix = config.get("prefix")
if prefix is None:
prefix = "tfvmex"
main_resource_group = azure.core.ResourceGroup("mainResourceGroup", location="West US 2")
main_virtual_network = azure.network.VirtualNetwork("mainVirtualNetwork",
address_spaces=["10.0.0.0/16"],
location=main_resource_group.location,
resource_group_name=main_resource_group.name)
internal = azure.network.Subnet("internal",
resource_group_name=main_resource_group.name,
virtual_network_name=main_virtual_network.name,
address_prefix="10.0.2.0/24")
main_network_interface = azure.network.NetworkInterface("mainNetworkInterface",
location=main_resource_group.location,
resource_group_name=main_resource_group.name,
ip_configuration=[{
"name": "testconfiguration1",
"subnetId": internal.id,
"privateIpAddressAllocation": "Dynamic",
}])
main_virtual_machine = azure.compute.VirtualMachine("mainVirtualMachine",
location=main_resource_group.location,
resource_group_name=main_resource_group.name,
network_interface_ids=[main_network_interface.id],
vm_size="Standard_DS1_v2",
storage_image_reference={
"publisher": "Canonical",
"offer": "UbuntuServer",
"sku": "16.04-LTS",
"version": "latest",
},
storage_os_disk={
"name": "myosdisk1",
"caching": "ReadWrite",
"createOption": "FromImage",
"managedDiskType": "Standard_LRS",
},
os_profile={
"computerName": "hostname",
"adminUsername": "testadmin",
"adminPassword": "Password1234!",
},
os_profile_linux_config={
"disablePasswordAuthentication": False,
},
tags={
"environment": "staging",
})
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[dict] additional_capabilities: A `additional_capabilities` block.
:param pulumi.Input[str] availability_set_id: The ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
:param pulumi.Input[dict] boot_diagnostics: A `boot_diagnostics` block.
:param pulumi.Input[bool] delete_data_disks_on_termination: Should the Data Disks (either the Managed Disks / VHD Blobs) be deleted when the Virtual Machine is destroyed? Defaults to `false`.
:param pulumi.Input[bool] delete_os_disk_on_termination: Should the OS Disk (either the Managed Disk / VHD Blob) be deleted when the Virtual Machine is destroyed? Defaults to `false`.
:param pulumi.Input[dict] identity: A `identity` block.
:param pulumi.Input[str] license_type: Specifies the BYOL Type for this Virtual Machine. This is only applicable to Windows Virtual Machines. Possible values are `Windows_Client` and `Windows_Server`.
:param pulumi.Input[str] location: Specifies the Azure Region where the Virtual Machine exists. Changing this forces a new resource to be created.
:param pulumi.Input[str] name: Specifies the name of the Virtual Machine. Changing this forces a new resource to be created.
:param pulumi.Input[list] network_interface_ids: A list of Network Interface ID's which should be associated with the Virtual Machine.
:param pulumi.Input[dict] os_profile: An `os_profile` block. Required when `create_option` in the `storage_os_disk` block is set to `FromImage`.
:param pulumi.Input[dict] os_profile_linux_config: A `os_profile_linux_config` block.
:param pulumi.Input[list] os_profile_secrets: One or more `os_profile_secrets` blocks.
:param pulumi.Input[dict] os_profile_windows_config: A `os_profile_windows_config` block.
:param pulumi.Input[dict] plan: A `plan` block.
:param pulumi.Input[str] primary_network_interface_id: The ID of the Network Interface (which must be attached to the Virtual Machine) which should be the Primary Network Interface for this Virtual Machine.
:param pulumi.Input[str] proximity_placement_group_id: The ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created
:param pulumi.Input[str] resource_group_name: Specifies the name of the Resource Group in which the Virtual Machine should exist. Changing this forces a new resource to be created.
:param pulumi.Input[list] storage_data_disks: One or more `storage_data_disk` blocks.
:param pulumi.Input[dict] storage_image_reference: A `storage_image_reference` block.
:param pulumi.Input[dict] storage_os_disk: A `storage_os_disk` block.
:param pulumi.Input[dict] tags: A mapping of tags to assign to the Virtual Machine.
:param pulumi.Input[str] vm_size: Specifies the [size of the Virtual Machine](https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-size-specs/).
:param pulumi.Input[str] zones: A list of a single item of the Availability Zone which the Virtual Machine should be allocated in.
The **additional_capabilities** object supports the following:
* `ultraSsdEnabled` (`pulumi.Input[bool]`) - Should Ultra SSD disk be enabled for this Virtual Machine?
The **boot_diagnostics** object supports the following:
* `enabled` (`pulumi.Input[bool]`) - Should Boot Diagnostics be enabled for this Virtual Machine?
* `storageUri` (`pulumi.Input[str]`) - The Storage Account's Blob Endpoint which should hold the virtual machine's diagnostic files.
The **identity** object supports the following:
* `identityIds` (`pulumi.Input[list]`) - Specifies a list of user managed identity ids to be assigned to the VM. Required if `type` is `UserAssigned`.
* `principal_id` (`pulumi.Input[str]`) - The Principal ID for the Service Principal associated with the Managed Service Identity of this Virtual Machine.
* `type` (`pulumi.Input[str]`) - The Managed Service Identity Type of this Virtual Machine. Possible values are `SystemAssigned` (where Azure will generate a Service Principal for you), `UserAssigned` (where you can specify the Service Principal ID's) to be used by this Virtual Machine using the `identity_ids` field, and `SystemAssigned, UserAssigned` which assigns both a system managed identity as well as the specified user assigned identities.
The **os_profile** object supports the following:
* `admin_password` (`pulumi.Input[str]`) - The password associated with the local administrator account.
* `admin_username` (`pulumi.Input[str]`) - Specifies the name of the local administrator account.
* `computer_name` (`pulumi.Input[str]`) - Specifies the name of the Virtual Machine.
* `custom_data` (`pulumi.Input[str]`) - Specifies custom data to supply to the machine. On Linux-based systems, this can be used as a cloud-init script. On other systems, this will be copied as a file on disk. Internally, this provider will base64 encode this value before sending it to the API. The maximum length of the binary array is 65535 bytes.
The **os_profile_linux_config** object supports the following:
* `disable_password_authentication` (`pulumi.Input[bool]`) - Specifies whether password authentication should be disabled. If set to `false`, an `admin_password` must be specified.
* `sshKeys` (`pulumi.Input[list]`) - One or more `ssh_keys` blocks. This field is required if `disable_password_authentication` is set to `true`.
* `keyData` (`pulumi.Input[str]`) - The Public SSH Key which should be written to the `path` defined above.
* `path` (`pulumi.Input[str]`) - The path of the destination file on the virtual machine
The **os_profile_secrets** object supports the following:
* `sourceVaultId` (`pulumi.Input[str]`) - Specifies the ID of the Key Vault to use.
* `vaultCertificates` (`pulumi.Input[list]`) - One or more `vault_certificates` blocks.
* `certificateStore` (`pulumi.Input[str]`) - Specifies the certificate store on the Virtual Machine where the certificate should be added to, such as `My`.
* `certificateUrl` (`pulumi.Input[str]`) - The ID of the Key Vault Secret. Stored secret is the Base64 encoding of a JSON Object that which is encoded in UTF-8 of which the contents need to be:
The **os_profile_windows_config** object supports the following:
* `additionalUnattendConfigs` (`pulumi.Input[list]`) - A `additional_unattend_config` block.
* `component` (`pulumi.Input[str]`) - Specifies the name of the component to configure with the added content. The only allowable value is `Microsoft-Windows-Shell-Setup`.
* `content` (`pulumi.Input[str]`) - Specifies the base-64 encoded XML formatted content that is added to the unattend.xml file for the specified path and component.
* `pass` (`pulumi.Input[str]`) - Specifies the name of the pass that the content applies to. The only allowable value is `oobeSystem`.
* `settingName` (`pulumi.Input[str]`) - Specifies the name of the setting to which the content applies. Possible values are: `FirstLogonCommands` and `AutoLogon`.
* `enableAutomaticUpgrades` (`pulumi.Input[bool]`) - Are automatic updates enabled on this Virtual Machine? Defaults to `false.`
* `provision_vm_agent` (`pulumi.Input[bool]`) - Should the Azure Virtual Machine Guest Agent be installed on this Virtual Machine? Defaults to `false`.
* `timezone` (`pulumi.Input[str]`) - Specifies the time zone of the virtual machine, [the possible values are defined here](http://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/).
* `winrms` (`pulumi.Input[list]`) - One or more `winrm` block.
* `certificateUrl` (`pulumi.Input[str]`) - The ID of the Key Vault Secret which contains the encrypted Certificate which should be installed on the Virtual Machine. This certificate must also be specified in the `vault_certificates` block within the `os_profile_secrets` block.
* `protocol` (`pulumi.Input[str]`) - Specifies the protocol of listener. Possible values are `HTTP` or `HTTPS`.
The **plan** object supports the following:
* `name` (`pulumi.Input[str]`) - Specifies the name of the image from the marketplace.
* `product` (`pulumi.Input[str]`) - Specifies the product of the image from the marketplace.
* `publisher` (`pulumi.Input[str]`) - Specifies the publisher of the image.
The **storage_data_disks** object supports the following:
* `caching` (`pulumi.Input[str]`) - Specifies the caching requirements for the Data Disk. Possible values include `None`, `ReadOnly` and `ReadWrite`.
* `create_option` (`pulumi.Input[str]`) - Specifies how the data disk should be created. Possible values are `Attach`, `FromImage` and `Empty`.
* `disk_size_gb` (`pulumi.Input[float]`) - Specifies the size of the data disk in gigabytes.
* `lun` (`pulumi.Input[float]`) - Specifies the logical unit number of the data disk. This needs to be unique within all the Data Disks on the Virtual Machine.
* `managed_disk_id` (`pulumi.Input[str]`) - Specifies the ID of an Existing Managed Disk which should be attached to this Virtual Machine. When this field is set `create_option` must be set to `Attach`.
* `managedDiskType` (`pulumi.Input[str]`) - Specifies the type of managed disk to create. Possible values are either `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS` or `UltraSSD_LRS`.
* `name` (`pulumi.Input[str]`) - The name of the Data Disk.
* `vhdUri` (`pulumi.Input[str]`) - Specifies the URI of the VHD file backing this Unmanaged Data Disk. Changing this forces a new resource to be created.
* `write_accelerator_enabled` (`pulumi.Input[bool]`) - Specifies if Write Accelerator is enabled on the disk. This can only be enabled on `Premium_LRS` managed disks with no caching and [M-Series VMs](https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/how-to-enable-write-accelerator). Defaults to `false`.
The **storage_image_reference** object supports the following:
* `id` (`pulumi.Input[str]`) - Specifies the ID of the Custom Image which the Virtual Machine should be created from. Changing this forces a new resource to be created.
* `offer` (`pulumi.Input[str]`) - Specifies the offer of the image used to create the virtual machine. Changing this forces a new resource to be created.
* `publisher` (`pulumi.Input[str]`) - Specifies the publisher of the image used to create the virtual machine. Changing this forces a new resource to be created.
* `sku` (`pulumi.Input[str]`) - Specifies the SKU of the image used to create the virtual machine. Changing this forces a new resource to be created.
* `version` (`pulumi.Input[str]`) - Specifies the version of the image used to create the virtual machine. Changing this forces a new resource to be created.
The **storage_os_disk** object supports the following:
* `caching` (`pulumi.Input[str]`) - Specifies the caching requirements for the OS Disk. Possible values include `None`, `ReadOnly` and `ReadWrite`.
* `create_option` (`pulumi.Input[str]`) - Specifies how the OS Disk should be created. Possible values are `Attach` (managed disks only) and `FromImage`.
* `disk_size_gb` (`pulumi.Input[float]`) - Specifies the size of the OS Disk in gigabytes.
* `imageUri` (`pulumi.Input[str]`) - Specifies the Image URI in the format `publisherName:offer:skus:version`. This field can also specify the [VHD uri](https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-cli-deploy-templates/#create-a-custom-vm-image) of a custom VM image to clone. When cloning a Custom (Unmanaged) Disk Image the `os_type` field must be set.
* `managed_disk_id` (`pulumi.Input[str]`) - Specifies the ID of an existing Managed Disk which should be attached as the OS Disk of this Virtual Machine. If this is set then the `create_option` must be set to `Attach`.
* `managedDiskType` (`pulumi.Input[str]`) - Specifies the type of Managed Disk which should be created. Possible values are `Standard_LRS`, `StandardSSD_LRS` or `Premium_LRS`.
* `name` (`pulumi.Input[str]`) - Specifies the name of the OS Disk.
* `os_type` (`pulumi.Input[str]`) - Specifies the Operating System on the OS Disk. Possible values are `Linux` and `Windows`.
* `vhdUri` (`pulumi.Input[str]`) - Specifies the URI of the VHD file backing this Unmanaged OS Disk. Changing this forces a new resource to be created.
* `write_accelerator_enabled` (`pulumi.Input[bool]`) - Specifies if Write Accelerator is enabled on the disk. This can only be enabled on `Premium_LRS` managed disks with no caching and [M-Series VMs](https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/how-to-enable-write-accelerator). Defaults to `false`.
"""
if __name__ is not None:
warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning)
resource_name = __name__
if __opts__ is not None:
warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning)
opts = __opts__
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = dict()
__props__['additional_capabilities'] = additional_capabilities
__props__['availability_set_id'] = availability_set_id
__props__['boot_diagnostics'] = boot_diagnostics
__props__['delete_data_disks_on_termination'] = delete_data_disks_on_termination
__props__['delete_os_disk_on_termination'] = delete_os_disk_on_termination
__props__['identity'] = identity
__props__['license_type'] = license_type
__props__['location'] = location
__props__['name'] = name
if network_interface_ids is None:
raise TypeError("Missing required property 'network_interface_ids'")
__props__['network_interface_ids'] = network_interface_ids
__props__['os_profile'] = os_profile
__props__['os_profile_linux_config'] = os_profile_linux_config
__props__['os_profile_secrets'] = os_profile_secrets
__props__['os_profile_windows_config'] = os_profile_windows_config
__props__['plan'] = plan
__props__['primary_network_interface_id'] = primary_network_interface_id
__props__['proximity_placement_group_id'] = proximity_placement_group_id
if resource_group_name is None:
raise TypeError("Missing required property 'resource_group_name'")
__props__['resource_group_name'] = resource_group_name
__props__['storage_data_disks'] = storage_data_disks
__props__['storage_image_reference'] = storage_image_reference
if storage_os_disk is None:
raise TypeError("Missing required property 'storage_os_disk'")
__props__['storage_os_disk'] = storage_os_disk
__props__['tags'] = tags
if vm_size is None:
raise TypeError("Missing required property 'vm_size'")
__props__['vm_size'] = vm_size
__props__['zones'] = zones
super(VirtualMachine, __self__).__init__(
'azure:compute/virtualMachine:VirtualMachine',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name, id, opts=None, additional_capabilities=None, availability_set_id=None, boot_diagnostics=None, delete_data_disks_on_termination=None, delete_os_disk_on_termination=None, identity=None, license_type=None, location=None, name=None, network_interface_ids=None, os_profile=None, os_profile_linux_config=None, os_profile_secrets=None, os_profile_windows_config=None, plan=None, primary_network_interface_id=None, proximity_placement_group_id=None, resource_group_name=None, storage_data_disks=None, storage_image_reference=None, storage_os_disk=None, tags=None, vm_size=None, zones=None):
"""
Get an existing VirtualMachine resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param str id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[dict] additional_capabilities: A `additional_capabilities` block.
:param pulumi.Input[str] availability_set_id: The ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
:param pulumi.Input[dict] boot_diagnostics: A `boot_diagnostics` block.
:param pulumi.Input[bool] delete_data_disks_on_termination: Should the Data Disks (either the Managed Disks / VHD Blobs) be deleted when the Virtual Machine is destroyed? Defaults to `false`.
:param pulumi.Input[bool] delete_os_disk_on_termination: Should the OS Disk (either the Managed Disk / VHD Blob) be deleted when the Virtual Machine is destroyed? Defaults to `false`.
:param pulumi.Input[dict] identity: A `identity` block.
:param pulumi.Input[str] license_type: Specifies the BYOL Type for this Virtual Machine. This is only applicable to Windows Virtual Machines. Possible values are `Windows_Client` and `Windows_Server`.
:param pulumi.Input[str] location: Specifies the Azure Region where the Virtual Machine exists. Changing this forces a new resource to be created.
:param pulumi.Input[str] name: Specifies the name of the Virtual Machine. Changing this forces a new resource to be created.
:param pulumi.Input[list] network_interface_ids: A list of Network Interface ID's which should be associated with the Virtual Machine.
:param pulumi.Input[dict] os_profile: An `os_profile` block. Required when `create_option` in the `storage_os_disk` block is set to `FromImage`.
:param pulumi.Input[dict] os_profile_linux_config: A `os_profile_linux_config` block.
:param pulumi.Input[list] os_profile_secrets: One or more `os_profile_secrets` blocks.
:param pulumi.Input[dict] os_profile_windows_config: A `os_profile_windows_config` block.
:param pulumi.Input[dict] plan: A `plan` block.
:param pulumi.Input[str] primary_network_interface_id: The ID of the Network Interface (which must be attached to the Virtual Machine) which should be the Primary Network Interface for this Virtual Machine.
:param pulumi.Input[str] proximity_placement_group_id: The ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created
:param pulumi.Input[str] resource_group_name: Specifies the name of the Resource Group in which the Virtual Machine should exist. Changing this forces a new resource to be created.
:param pulumi.Input[list] storage_data_disks: One or more `storage_data_disk` blocks.
:param pulumi.Input[dict] storage_image_reference: A `storage_image_reference` block.
:param pulumi.Input[dict] storage_os_disk: A `storage_os_disk` block.
:param pulumi.Input[dict] tags: A mapping of tags to assign to the Virtual Machine.
:param pulumi.Input[str] vm_size: Specifies the [size of the Virtual Machine](https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-size-specs/).
:param pulumi.Input[str] zones: A list of a single item of the Availability Zone which the Virtual Machine should be allocated in.
The **additional_capabilities** object supports the following:
* `ultraSsdEnabled` (`pulumi.Input[bool]`) - Should Ultra SSD disk be enabled for this Virtual Machine?
The **boot_diagnostics** object supports the following:
* `enabled` (`pulumi.Input[bool]`) - Should Boot Diagnostics be enabled for this Virtual Machine?
* `storageUri` (`pulumi.Input[str]`) - The Storage Account's Blob Endpoint which should hold the virtual machine's diagnostic files.
The **identity** object supports the following:
* `identityIds` (`pulumi.Input[list]`) - Specifies a list of user managed identity ids to be assigned to the VM. Required if `type` is `UserAssigned`.
* `principal_id` (`pulumi.Input[str]`) - The Principal ID for the Service Principal associated with the Managed Service Identity of this Virtual Machine.
* `type` (`pulumi.Input[str]`) - The Managed Service Identity Type of this Virtual Machine. Possible values are `SystemAssigned` (where Azure will generate a Service Principal for you), `UserAssigned` (where you can specify the Service Principal ID's) to be used by this Virtual Machine using the `identity_ids` field, and `SystemAssigned, UserAssigned` which assigns both a system managed identity as well as the specified user assigned identities.
The **os_profile** object supports the following:
* `admin_password` (`pulumi.Input[str]`) - The password associated with the local administrator account.
* `admin_username` (`pulumi.Input[str]`) - Specifies the name of the local administrator account.
* `computer_name` (`pulumi.Input[str]`) - Specifies the name of the Virtual Machine.
* `custom_data` (`pulumi.Input[str]`) - Specifies custom data to supply to the machine. On Linux-based systems, this can be used as a cloud-init script. On other systems, this will be copied as a file on disk. Internally, this provider will base64 encode this value before sending it to the API. The maximum length of the binary array is 65535 bytes.
The **os_profile_linux_config** object supports the following:
* `disable_password_authentication` (`pulumi.Input[bool]`) - Specifies whether password authentication should be disabled. If set to `false`, an `admin_password` must be specified.
* `sshKeys` (`pulumi.Input[list]`) - One or more `ssh_keys` blocks. This field is required if `disable_password_authentication` is set to `true`.
* `keyData` (`pulumi.Input[str]`) - The Public SSH Key which should be written to the `path` defined above.
* `path` (`pulumi.Input[str]`) - The path of the destination file on the virtual machine
The **os_profile_secrets** object supports the following:
* `sourceVaultId` (`pulumi.Input[str]`) - Specifies the ID of the Key Vault to use.
* `vaultCertificates` (`pulumi.Input[list]`) - One or more `vault_certificates` blocks.
* `certificateStore` (`pulumi.Input[str]`) - Specifies the certificate store on the Virtual Machine where the certificate should be added to, such as `My`.
* `certificateUrl` (`pulumi.Input[str]`) - The ID of the Key Vault Secret. Stored secret is the Base64 encoding of a JSON Object that which is encoded in UTF-8 of which the contents need to be:
The **os_profile_windows_config** object supports the following:
* `additionalUnattendConfigs` (`pulumi.Input[list]`) - A `additional_unattend_config` block.
* `component` (`pulumi.Input[str]`) - Specifies the name of the component to configure with the added content. The only allowable value is `Microsoft-Windows-Shell-Setup`.
* `content` (`pulumi.Input[str]`) - Specifies the base-64 encoded XML formatted content that is added to the unattend.xml file for the specified path and component.
* `pass` (`pulumi.Input[str]`) - Specifies the name of the pass that the content applies to. The only allowable value is `oobeSystem`.
* `settingName` (`pulumi.Input[str]`) - Specifies the name of the setting to which the content applies. Possible values are: `FirstLogonCommands` and `AutoLogon`.
* `enableAutomaticUpgrades` (`pulumi.Input[bool]`) - Are automatic updates enabled on this Virtual Machine? Defaults to `false.`
* `provision_vm_agent` (`pulumi.Input[bool]`) - Should the Azure Virtual Machine Guest Agent be installed on this Virtual Machine? Defaults to `false`.
* `timezone` (`pulumi.Input[str]`) - Specifies the time zone of the virtual machine, [the possible values are defined here](http://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/).
* `winrms` (`pulumi.Input[list]`) - One or more `winrm` block.
* `certificateUrl` (`pulumi.Input[str]`) - The ID of the Key Vault Secret which contains the encrypted Certificate which should be installed on the Virtual Machine. This certificate must also be specified in the `vault_certificates` block within the `os_profile_secrets` block.
* `protocol` (`pulumi.Input[str]`) - Specifies the protocol of listener. Possible values are `HTTP` or `HTTPS`.
The **plan** object supports the following:
* `name` (`pulumi.Input[str]`) - Specifies the name of the image from the marketplace.
* `product` (`pulumi.Input[str]`) - Specifies the product of the image from the marketplace.
* `publisher` (`pulumi.Input[str]`) - Specifies the publisher of the image.
The **storage_data_disks** object supports the following:
* `caching` (`pulumi.Input[str]`) - Specifies the caching requirements for the Data Disk. Possible values include `None`, `ReadOnly` and `ReadWrite`.
* `create_option` (`pulumi.Input[str]`) - Specifies how the data disk should be created. Possible values are `Attach`, `FromImage` and `Empty`.
* `disk_size_gb` (`pulumi.Input[float]`) - Specifies the size of the data disk in gigabytes.
* `lun` (`pulumi.Input[float]`) - Specifies the logical unit number of the data disk. This needs to be unique within all the Data Disks on the Virtual Machine.
* `managed_disk_id` (`pulumi.Input[str]`) - Specifies the ID of an Existing Managed Disk which should be attached to this Virtual Machine. When this field is set `create_option` must be set to `Attach`.
* `managedDiskType` (`pulumi.Input[str]`) - Specifies the type of managed disk to create. Possible values are either `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS` or `UltraSSD_LRS`.
* `name` (`pulumi.Input[str]`) - The name of the Data Disk.
* `vhdUri` (`pulumi.Input[str]`) - Specifies the URI of the VHD file backing this Unmanaged Data Disk. Changing this forces a new resource to be created.
* `write_accelerator_enabled` (`pulumi.Input[bool]`) - Specifies if Write Accelerator is enabled on the disk. This can only be enabled on `Premium_LRS` managed disks with no caching and [M-Series VMs](https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/how-to-enable-write-accelerator). Defaults to `false`.
The **storage_image_reference** object supports the following:
* `id` (`pulumi.Input[str]`) - Specifies the ID of the Custom Image which the Virtual Machine should be created from. Changing this forces a new resource to be created.
* `offer` (`pulumi.Input[str]`) - Specifies the offer of the image used to create the virtual machine. Changing this forces a new resource to be created.
* `publisher` (`pulumi.Input[str]`) - Specifies the publisher of the image used to create the virtual machine. Changing this forces a new resource to be created.
* `sku` (`pulumi.Input[str]`) - Specifies the SKU of the image used to create the virtual machine. Changing this forces a new resource to be created.
* `version` (`pulumi.Input[str]`) - Specifies the version of the image used to create the virtual machine. Changing this forces a new resource to be created.
The **storage_os_disk** object supports the following:
* `caching` (`pulumi.Input[str]`) - Specifies the caching requirements for the OS Disk. Possible values include `None`, `ReadOnly` and `ReadWrite`.
* `create_option` (`pulumi.Input[str]`) - Specifies how the OS Disk should be created. Possible values are `Attach` (managed disks only) and `FromImage`.
* `disk_size_gb` (`pulumi.Input[float]`) - Specifies the size of the OS Disk in gigabytes.
* `imageUri` (`pulumi.Input[str]`) - Specifies the Image URI in the format `publisherName:offer:skus:version`. This field can also specify the [VHD uri](https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-cli-deploy-templates/#create-a-custom-vm-image) of a custom VM image to clone. When cloning a Custom (Unmanaged) Disk Image the `os_type` field must be set.
* `managed_disk_id` (`pulumi.Input[str]`) - Specifies the ID of an existing Managed Disk which should be attached as the OS Disk of this Virtual Machine. If this is set then the `create_option` must be set to `Attach`.
* `managedDiskType` (`pulumi.Input[str]`) - Specifies the type of Managed Disk which should be created. Possible values are `Standard_LRS`, `StandardSSD_LRS` or `Premium_LRS`.
* `name` (`pulumi.Input[str]`) - Specifies the name of the OS Disk.
* `os_type` (`pulumi.Input[str]`) - Specifies the Operating System on the OS Disk. Possible values are `Linux` and `Windows`.
* `vhdUri` (`pulumi.Input[str]`) - Specifies the URI of the VHD file backing this Unmanaged OS Disk. Changing this forces a new resource to be created.
* `write_accelerator_enabled` (`pulumi.Input[bool]`) - Specifies if Write Accelerator is enabled on the disk. This can only be enabled on `Premium_LRS` managed disks with no caching and [M-Series VMs](https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/how-to-enable-write-accelerator). Defaults to `false`.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = dict()
__props__["additional_capabilities"] = additional_capabilities
__props__["availability_set_id"] = availability_set_id
__props__["boot_diagnostics"] = boot_diagnostics
__props__["delete_data_disks_on_termination"] = delete_data_disks_on_termination
__props__["delete_os_disk_on_termination"] = delete_os_disk_on_termination
__props__["identity"] = identity
__props__["license_type"] = license_type
__props__["location"] = location
__props__["name"] = name
__props__["network_interface_ids"] = network_interface_ids
__props__["os_profile"] = os_profile
__props__["os_profile_linux_config"] = os_profile_linux_config
__props__["os_profile_secrets"] = os_profile_secrets
__props__["os_profile_windows_config"] = os_profile_windows_config
__props__["plan"] = plan
__props__["primary_network_interface_id"] = primary_network_interface_id
__props__["proximity_placement_group_id"] = proximity_placement_group_id
__props__["resource_group_name"] = resource_group_name
__props__["storage_data_disks"] = storage_data_disks
__props__["storage_image_reference"] = storage_image_reference
__props__["storage_os_disk"] = storage_os_disk
__props__["tags"] = tags
__props__["vm_size"] = vm_size
__props__["zones"] = zones
return VirtualMachine(resource_name, opts=opts, __props__=__props__)
def translate_output_property(self, prop):
return tables._CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop
def translate_input_property(self, prop):
return tables._SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop
| 84.443674 | 666 | 0.710266 | 6,589 | 48,724 | 5.107452 | 0.072242 | 0.052298 | 0.041601 | 0.043741 | 0.898404 | 0.889876 | 0.886548 | 0.868689 | 0.859596 | 0.858051 | 0 | 0.002129 | 0.199758 | 48,724 | 576 | 667 | 84.590278 | 0.860968 | 0.585769 | 0 | 0.016949 | 1 | 0 | 0.170339 | 0.074019 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0.008475 | 0.050847 | 0.016949 | 0.322034 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
22c64d9d4def036b8e3efe536336c0f323c95918 | 13,132 | py | Python | openprocurement/auctions/rubble/tests/blanks/document_blanks.py | Scandie/openpocurement.auctions.rubble | f3af98a9a26e4d1688e2ec94370dc341d3f62c85 | [
"Apache-2.0"
] | null | null | null | openprocurement/auctions/rubble/tests/blanks/document_blanks.py | Scandie/openpocurement.auctions.rubble | f3af98a9a26e4d1688e2ec94370dc341d3f62c85 | [
"Apache-2.0"
] | 64 | 2017-03-14T10:07:40.000Z | 2018-05-18T12:12:34.000Z | openprocurement/auctions/rubble/tests/blanks/document_blanks.py | Scandie/openpocurement.auctions.rubble | f3af98a9a26e4d1688e2ec94370dc341d3f62c85 | [
"Apache-2.0"
] | 8 | 2017-03-13T14:01:15.000Z | 2019-01-24T13:14:09.000Z | # -*- coding: utf-8 -*-
def create_auction_document(self):
response = self.app.get('/auctions/{}/documents'.format(self.auction_id))
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(response.json, {"data": []})
response = self.app.post('/auctions/{}/documents'.format(
self.auction_id), upload_files=[('file', u'укр.doc', 'content')])
self.assertEqual(response.status, '201 Created')
self.assertEqual(response.content_type, 'application/json')
doc_id = response.json["data"]['id']
self.assertIn(doc_id, response.headers['Location'])
self.assertEqual(u'укр.doc', response.json["data"]["title"])
if self.docservice:
self.assertIn('Signature=', response.json["data"]["url"])
self.assertIn('KeyID=', response.json["data"]["url"])
self.assertNotIn('Expires=', response.json["data"]["url"])
key = response.json["data"]["url"].split('/')[-1].split('?')[0]
auction = self.db.get(self.auction_id)
self.assertIn(key, auction['documents'][-1]["url"])
self.assertIn('Signature=', auction['documents'][-1]["url"])
self.assertIn('KeyID=', auction['documents'][-1]["url"])
self.assertNotIn('Expires=', auction['documents'][-1]["url"])
else:
key = response.json["data"]["url"].split('?')[-1].split('=')[-1]
response = self.app.get('/auctions/{}/documents'.format(self.auction_id))
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(doc_id, response.json["data"][0]["id"])
self.assertEqual(u'укр.doc', response.json["data"][0]["title"])
response = self.app.get('/auctions/{}/documents/{}?download=some_id'.format(
self.auction_id, doc_id), status=404)
self.assertEqual(response.status, '404 Not Found')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(response.json['status'], 'error')
self.assertEqual(response.json['errors'], [
{u'description': u'Not Found', u'location': u'url', u'name': u'download'}
])
if self.docservice:
response = self.app.get('/auctions/{}/documents/{}?download={}'.format(
self.auction_id, doc_id, key))
self.assertEqual(response.status, '302 Moved Temporarily')
self.assertIn('http://localhost/get/', response.location)
self.assertIn('Signature=', response.location)
self.assertIn('KeyID=', response.location)
self.assertNotIn('Expires=', response.location)
else:
response = self.app.get('/auctions/{}/documents/{}?download=some_id'.format(
self.auction_id, doc_id), status=404)
self.assertEqual(response.status, '404 Not Found')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(response.json['status'], 'error')
self.assertEqual(response.json['errors'], [
{u'description': u'Not Found', u'location': u'url', u'name': u'download'}
])
response = self.app.get('/auctions/{}/documents/{}?download={}'.format(
self.auction_id, doc_id, key))
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.content_type, 'application/msword')
self.assertEqual(response.content_length, 7)
self.assertEqual(response.body, 'content')
response = self.app.get('/auctions/{}/documents/{}'.format(
self.auction_id, doc_id))
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(doc_id, response.json["data"]["id"])
self.assertEqual(u'укр.doc', response.json["data"]["title"])
response = self.app.post('/auctions/{}/documents?acc_token=acc_token'.format(
self.auction_id), upload_files=[('file', u'укр.doc'.encode("ascii", "xmlcharrefreplace"), 'content')])
self.assertEqual(response.status, '201 Created')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(u'укр.doc', response.json["data"]["title"])
doc_id = response.json["data"]['id']
self.assertIn(doc_id, response.headers['Location'])
self.assertNotIn('acc_token', response.headers['Location'])
self.set_status('active.auction')
response = self.app.post('/auctions/{}/documents'.format(
self.auction_id), upload_files=[('file', u'укр.doc', 'content')], status=403)
self.assertEqual(response.status, '403 Forbidden')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(response.json['errors'][0]["description"], "Can't add document in current (active.auction) auction status")
def put_auction_offline_document(self):
response = self.app.post_json('/auctions/{}/documents'.format(self.auction_id),
{'data': {
'title': u'Порядок ознайомлення з майном / Порядок ознайомлення з активом у кімнаті даних',
'documentType': 'x_dgfAssetFamiliarization',
'accessDetails': u'Ознайомитись з рогом єдинорога можна: 30 лютого, коли сонце зійде на заході, печера Ілона Маска, плато Азімова, Марс'
}})
self.assertEqual(response.status, '201 Created')
self.assertEqual(response.content_type, 'application/json')
doc_id = response.json["data"]['id']
self.assertIn(doc_id, response.headers['Location'])
self.assertEqual(u'Порядок ознайомлення з майном / Порядок ознайомлення з активом у кімнаті даних', response.json["data"]["title"])
self.assertEqual(u'Ознайомитись з рогом єдинорога можна: 30 лютого, коли сонце зійде на заході, печера Ілона Маска, плато Азімова, Марс', response.json["data"]["accessDetails"])
self.assertEqual('offline/on-site-examination', response.json["data"]["format"])
self.assertEqual('x_dgfAssetFamiliarization', response.json["data"]["documentType"])
dateModified = response.json["data"]['dateModified']
datePublished = response.json["data"]['datePublished']
response = self.app.put_json('/auctions/{}/documents/{}'.format(self.auction_id, doc_id),
{'data': {
'title': u'Новий порядок ознайомлення',
'documentType': 'x_dgfAssetFamiliarization',
}}, status=422)
self.assertEqual(response.status, '422 Unprocessable Entity')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(response.json['errors'], [
{u'description': [u'This field is required.'], u'location': u'body', u'name': u'accessDetails'}
])
response = self.app.put_json('/auctions/{}/documents/{}'.format(self.auction_id, doc_id),
{'data': {
'title': u'Новий порядок ознайомлення',
'documentType': 'x_dgfAssetFamiliarization',
'accessDetails': u'Ознайомитись з рогом єдинорога можна: 30 лютого, коли сонце зійде на заході, печера Ілона Маска, плато Азімова, Марс',
'hash': 'md5:' + '0' * 32,
}}, status=422)
self.assertEqual(response.status, '422 Unprocessable Entity')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(response.json['errors'], [{'description': [u'This field is not required.'], u'location': u'body', u'name': u'hash'}])
response = self.app.put_json('/auctions/{}/documents/{}'.format(self.auction_id, doc_id),
{'data': {
'title': u'Порядок ознайомлення з майном #2',
'documentType': 'x_dgfAssetFamiliarization',
'accessDetails': u'Ознайомитись з рогом єдинорога можна: 30 лютого, коли сонце зійде на заході, печера Ілона Маска, плато Азімова, Марс'
}})
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(doc_id, response.json["data"]["id"])
self.assertEqual(u'Порядок ознайомлення з майном #2', response.json["data"]["title"])
self.assertEqual(u'Ознайомитись з рогом єдинорога можна: 30 лютого, коли сонце зійде на заході, печера Ілона Маска, плато Азімова, Марс', response.json["data"]["accessDetails"])
self.assertEqual('offline/on-site-examination', response.json["data"]["format"])
self.assertEqual('x_dgfAssetFamiliarization', response.json["data"]["documentType"])
auction = self.db.get(self.auction_id)
self.assertEqual(u'Порядок ознайомлення з майном #2', auction['documents'][-1]["title"])
self.assertEqual(u'Ознайомитись з рогом єдинорога можна: 30 лютого, коли сонце зійде на заході, печера Ілона Маска, плато Азімова, Марс', auction['documents'][-1]["accessDetails"])
self.assertEqual('offline/on-site-examination', auction['documents'][-1]["format"])
self.assertEqual('x_dgfAssetFamiliarization', auction['documents'][-1]["documentType"])
response = self.app.get('/auctions/{}/documents'.format(self.auction_id))
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(doc_id, response.json["data"][-1]["id"])
self.assertEqual(u'Порядок ознайомлення з майном #2', response.json["data"][-1]["title"])
self.assertEqual(u'Ознайомитись з рогом єдинорога можна: 30 лютого, коли сонце зійде на заході, печера Ілона Маска, плато Азімова, Марс', response.json["data"][-1]["accessDetails"])
self.assertEqual('offline/on-site-examination', response.json["data"][-1]["format"])
self.assertEqual('x_dgfAssetFamiliarization', response.json["data"][-1]["documentType"])
response = self.app.get('/auctions/{}/documents/{}'.format(self.auction_id, doc_id))
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(doc_id, response.json["data"]["id"])
self.assertEqual(u'Порядок ознайомлення з майном #2', response.json["data"]["title"])
dateModified2 = response.json["data"]['dateModified']
self.assertTrue(dateModified < dateModified2)
self.assertEqual(dateModified, response.json["data"]["previousVersions"][0]['dateModified'])
self.assertEqual(response.json["data"]['datePublished'], datePublished)
response = self.app.get('/auctions/{}/documents?all=true'.format(self.auction_id))
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(dateModified, response.json["data"][0]['dateModified'])
self.assertEqual(dateModified2, response.json["data"][1]['dateModified'])
response = self.app.post_json('/auctions/{}/documents'.format(self.auction_id),
{'data': {
'title': u'Порядок ознайомлення з майном #3',
'documentType': 'x_dgfAssetFamiliarization',
'accessDetails': u'Ознайомитись з рогом єдинорога можна: 30 лютого, коли сонце зійде на заході, печера Ілона Маска, плато Азімова, Марс'
}})
self.assertEqual(response.status, '201 Created')
self.assertEqual(response.content_type, 'application/json')
doc_id = response.json["data"]['id']
dateModified = response.json["data"]['dateModified']
self.assertIn(doc_id, response.headers['Location'])
response = self.app.get('/auctions/{}/documents'.format(self.auction_id))
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(dateModified2, response.json["data"][0]['dateModified'])
self.assertEqual(dateModified, response.json["data"][1]['dateModified'])
response = self.app.put_json('/auctions/{}/documents/{}'.format(self.auction_id, doc_id),
{'data': {
'title': u'Порядок ознайомлення з майном #4',
'documentType': 'x_dgfAssetFamiliarization',
'accessDetails': u'Ознайомитись з рогом єдинорога можна: 30 лютого, коли сонце зійде на заході, печера Ілона Маска, плато Азімова, Марс'
}})
self.assertEqual(response.status, '200 OK')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(doc_id, response.json["data"]["id"])
self.assertEqual(u'Порядок ознайомлення з майном #4', response.json["data"]["title"])
self.assertEqual('x_dgfAssetFamiliarization', response.json["data"]["documentType"])
auction = self.db.get(self.auction_id)
self.assertEqual(u'Порядок ознайомлення з майном #4', auction['documents'][-1]["title"])
self.assertEqual('x_dgfAssetFamiliarization', response.json["data"]["documentType"])
self.set_status('active.auction')
response = self.app.put_json('/auctions/{}/documents/{}'.format(self.auction_id, doc_id),
{'data': {
'title': u'Порядок ознайомлення з майном #5',
'documentType': 'x_dgfAssetFamiliarization',
'accessDetails': u'Ознайомитись з рогом єдинорога можна: 30 лютого, коли сонце зійде на заході, печера Ілона Маска, плато Азімова, Марс'
}}, status=403)
self.assertEqual(response.status, '403 Forbidden')
self.assertEqual(response.content_type, 'application/json')
self.assertEqual(response.json['errors'][0]["description"], "Can't update document in current (active.auction) auction status") | 58.887892 | 185 | 0.683826 | 1,545 | 13,132 | 5.744337 | 0.089968 | 0.150423 | 0.137352 | 0.044958 | 0.909296 | 0.87831 | 0.841577 | 0.817465 | 0.773183 | 0.748732 | 0 | 0.013228 | 0.148035 | 13,132 | 223 | 186 | 58.887892 | 0.780032 | 0.001599 | 0 | 0.675127 | 0 | 0.050761 | 0.368726 | 0.077422 | 0 | 0 | 0 | 0 | 0.538071 | 1 | 0.010152 | false | 0 | 0 | 0 | 0.010152 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
fe067ef76e4d644e58299919d5f2e3ce843f4dab | 147 | py | Python | app/home/__init__.py | erics1996/D5-Video | cb07e211c821e805296f24d28c80ac6fb99bfd5d | [
"Apache-2.0"
] | 1 | 2020-09-26T14:03:48.000Z | 2020-09-26T14:03:48.000Z | app/home/__init__.py | erics1996/d5_video | cb07e211c821e805296f24d28c80ac6fb99bfd5d | [
"Apache-2.0"
] | null | null | null | app/home/__init__.py | erics1996/d5_video | cb07e211c821e805296f24d28c80ac6fb99bfd5d | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
home = Blueprint('home', __name__)
import app.home.views.user
import app.home.views.movie
import app.home.views.index | 21 | 34 | 0.795918 | 23 | 147 | 4.913043 | 0.478261 | 0.238938 | 0.345133 | 0.477876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 147 | 7 | 35 | 21 | 0.856061 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
430d77b9b2038844872ee8f9b6377194f6f40619 | 210 | py | Python | application/server/routers/api/endpoints/users/deps.py | chaotism/fastapi-purser | c83a063e953efdf95fddf95828f5fa2d75933363 | [
"MIT"
] | null | null | null | application/server/routers/api/endpoints/users/deps.py | chaotism/fastapi-purser | c83a063e953efdf95fddf95828f5fa2d75933363 | [
"MIT"
] | null | null | null | application/server/routers/api/endpoints/users/deps.py | chaotism/fastapi-purser | c83a063e953efdf95fddf95828f5fa2d75933363 | [
"MIT"
] | null | null | null | from domain.users import UserService, MotorUserRepository
def get_users_service() -> UserService:
return UserService(
MotorUserRepository()
) # TODO: add excepting error and connection close
| 26.25 | 57 | 0.747619 | 21 | 210 | 7.380952 | 0.809524 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 210 | 7 | 58 | 30 | 0.911765 | 0.219048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
4328dee1af33171e15686b1d5c7fe01f129bb2e8 | 111 | py | Python | gym_gui_environments/pyside_gui_environments/__init__.py | neuroevolution-ai/GymGuiEnvironments | 9d27405f43d90758a5948d2eec16496209186e0a | [
"MIT"
] | null | null | null | gym_gui_environments/pyside_gui_environments/__init__.py | neuroevolution-ai/GymGuiEnvironments | 9d27405f43d90758a5948d2eec16496209186e0a | [
"MIT"
] | null | null | null | gym_gui_environments/pyside_gui_environments/__init__.py | neuroevolution-ai/GymGuiEnvironments | 9d27405f43d90758a5948d2eec16496209186e0a | [
"MIT"
] | null | null | null | from gym_gui_environments.pyside_gui_environments.gui_env import GUIEnv, GUIEnvRandomClick, GUIEnvRandomWidget
| 55.5 | 110 | 0.90991 | 13 | 111 | 7.384615 | 0.769231 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 111 | 1 | 111 | 111 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4a7b19a17cd4a08a61c81321e8a52c57300bad72 | 9,475 | py | Python | sfr.py | tingirifistik/Encode-Decode | 7bd3a7e6eb88ff61c9fd23d6f0f433f54b025774 | [
"MIT"
] | null | null | null | sfr.py | tingirifistik/Encode-Decode | 7bd3a7e6eb88ff61c9fd23d6f0f433f54b025774 | [
"MIT"
] | null | null | null | sfr.py | tingirifistik/Encode-Decode | 7bd3a7e6eb88ff61c9fd23d6f0f433f54b025774 | [
"MIT"
] | null | null | null | import platform
from random import sample
from os import system
from time import sleep
os = platform.system()
if os == "Windows":
clear = "cls"
else:
clear = "clear"
alfabe = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
sayi = ["0","1","2","3","4","5","6","7","8","9"]
def anahtar():
input("".join(sample((alfabe), 52))+"\n")
def encode(text, fle):
if fle == "fle":
txt = ""
for i in text:
if i not in sayi and i not in alfabe:
txt += i+"≡"
if i in sayi:
txt += str(int(i)+3)+"≬"+"≡"
try:
txt += str(alfabe.index(i)+1)+"≡"
except ValueError:
pass
return txt
if text == "text":
with open(fle,"r", encoding="utf-8") as f:
read = f.read()
uzanti = fle.split(".")[1]
with open(f"encoded-{uzanti}.txt", "a", encoding="utf-8") as file:
for i in read:
if i not in sayi and i not in alfabe:
file.write(i+"≡")
if i in sayi:
file.write(str(int(i)+3)+"≬"+"≡")
try:
file.write(str(alfabe.index(i)+1)+"≡")
except ValueError:
pass
def decode(text, fle):
if fle == "fle":
txt = ""
bol = text.split("≡")
for i in bol:
if "≬" in i:
txt += str(int(i.split("≬")[0])-3)
elif i not in sayi and i not in alfabe:
try:
if int(i) < 10:
pass
except ValueError:
txt += i
try:
txt += str(alfabe[int(i)-1])
except ValueError:
pass
return txt
if text == "text":
with open(fle,"r", encoding="utf-8") as f:
r = f.read()
uzanti = ((fle.split(".")[0]).split("-")[1])
with open(f"decoded.{uzanti}", "a", encoding="utf-8") as file:
bol = r.split("≡")
for i in bol:
if "≬" in i:
file.write(str(int(i.split("≬")[0])-3))
elif i not in sayi and i not in alfabe:
try:
if int(i) < 10:
pass
except ValueError:
file.write(i)
try:
file.write(str(alfabe[int(i)-1]))
except ValueError:
pass
def anahtar_encode(anahtar, text , fle):
if fle == "fle":
txt = ""
for i in text:
if i in anahtar:
txt += list(anahtar)[alfabe.index(i)]+"≡"
if i not in sayi and i not in alfabe:
txt += i+"≡"
if i in sayi:
txt += str(int(i)+3)+"≬"+"≡"
if i not in anahtar:
try:
txt += (str(alfabe.index(i))+"≡")
except ValueError:
pass
return txt
if text == "text":
with open(fle,"r", encoding="utf-8") as f:
r = f.read()
uzanti = fle.split(".")[1]
with open(f"encoded-{uzanti}.txt", "a+", encoding="utf-8") as file:
for i in r:
if i in anahtar:
file.write(list(anahtar)[alfabe.index(i)]+"≡")
if i not in sayi and i not in alfabe:
file.write(i+"≡")
if i in sayi:
file.write(str(int(i)+3)+"≬"+"≡")
if i not in anahtar:
try:
file.write(str(alfabe.index(i))+"≡")
except ValueError:
pass
def anahtar_decode(anahtar, text , fle):
if fle == "fle":
txt = ""
bol = text.split("≡")
print(bol)
for i in bol:
if i in anahtar:
try:
txt += alfabe[list(anahtar).index(i)]
except ValueError:
pass
if "≬" in i:
txt += str(int(i.split("≬")[0])-3)
elif i not in sayi and i not in alfabe:
try:
if int(i) < 10:
pass
except ValueError:
txt += i
if i not in anahtar:
try:
txt += str(alfabe[int(i)])
except ValueError:
pass
return txt
if text == "text":
with open(fle,"r", encoding="utf-8") as f:
r = f.read()
uzanti = ((fle.split(".")[0]).split("-")[1])
with open(f"decoded.{uzanti}", "a+", encoding="utf-8") as file:
bol = r.split("≡")
for i in bol:
if i in anahtar:
try:
file.write(alfabe[list(anahtar).index(i)])
except ValueError:
pass
if "≬" in i:
file.write(str(int(i.split("≬")[0])-3))
elif i not in sayi and i not in alfabe:
try:
if int(i) < 10:
pass
except ValueError:
file.write(i)
if i not in anahtar:
try:
file.write(str(alfabe[int(i)]))
except ValueError:
pass
while True:
print(r"""
____ _____ ____
/ ___|| ___| _ \
\___ \| |_ | |_) |
___) | _| | _ <
|____/|_| |_| \_\
1- Encrypt-Decrypt Text
2- Encrypt-Decrypt File
3- Create New Key
4- Exit""")
try:
menu1 = int(input("\n\nChoice: "))
except ValueError:
system(clear)
print("Please enter integer, not string..")
sleep(3)
system(clear)
continue
if menu1 == 1:
system(clear)
print(r"""
____ _____ ____
/ ___|| ___| _ \
\___ \| |_ | |_) |
___) | _| | _ <
|____/|_| |_| \_\
1- Encryption
2- Decryption
3- Encryption with Key
4- Decryption with Key
5- Return to Main Menu""")
try:
menu2 = int(input("\n\nChoice: "))
except ValueError:
system(clear)
print("Please enter integer, not string..")
sleep(3)
system(clear)
continue
if menu2 == 1:
system(clear)
text = input("Text: ")
system(clear)
input(encode(text, "fle")+"\n\n")
system(clear)
elif menu2 == 2:
system(clear)
text = input("Encrypted Text: ")
system(clear)
input(decode(text, "fle")+"\n\n")
system(clear)
elif menu2 == 3:
system(clear)
anahtar_al = input("Please enter key: ")
system(clear)
text = input("Text: ")
system(clear)
input(anahtar_encode(anahtar_al, text, "fle")+"\n\n")
system(clear)
elif menu2 == 4:
system(clear)
anahtar_al = input("Please enter key: ")
system(clear)
text = input("Encrypted Text: ")
system(clear)
input(anahtar_decode(anahtar_al, text, "fle")+"\n\n")
system(clear)
elif menu2 == 5:
system(clear)
continue
else:
system(clear)
print("Please enter valid input...")
sleep(3)
system(clear)
if menu1 == 2:
system(clear)
print(r"""
____ _____ ____
/ ___|| ___| _ \
\___ \| |_ | |_) |
___) | _| | _ <
|____/|_| |_| \_\
1- Encryption
2- Decryption
3- Encryption with key
4- Decryption with key
5- Return to Main Menu""")
try:
menu3 = int(input("\n\nChoice: "))
except ValueError:
system(clear)
print("Please enter integer, not string..")
sleep(3)
system(clear)
continue
if menu3 == 1:
system(clear)
path = input("Path: ")
system(clear)
encode("text", path)
elif menu3 == 2:
system(clear)
path = input("Path: ")
system(clear)
decode("text", path)
elif menu3 == 3:
system(clear)
anahtar_al = input("Please enter key: ")
system(clear)
path = input("Path: ")
system(clear)
anahtar_encode(anahtar_al, "text", path)
elif menu3 == 4:
system(clear)
anahtar_al = input("Please enter key: ")
system(clear)
path = input("Path: ")
system(clear)
anahtar_decode(anahtar_al, "text", path)
elif menu3 == 5:
system(clear)
continue
else:
system(clear)
print("Please enter valid input...")
sleep(3)
system(clear)
if menu1 == 3:
system(clear)
anahtar()
system(clear)
if menu1 == 4:
break
| 29.609375 | 269 | 0.408654 | 1,052 | 9,475 | 3.590304 | 0.114068 | 0.116495 | 0.031771 | 0.016945 | 0.876357 | 0.857824 | 0.841673 | 0.804872 | 0.752184 | 0.696585 | 0 | 0.019102 | 0.447493 | 9,475 | 319 | 270 | 29.702194 | 0.696657 | 0 | 0 | 0.755932 | 0 | 0 | 0.128971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016949 | false | 0.047458 | 0.013559 | 0 | 0.044068 | 0.030508 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.