content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
#Make a script that prints out numbers from 1 to 10
for i in range(1,11):
print(i)
| for i in range(1, 11):
print(i) |
#accuracy
p = clf.predict([xtest])
count = 0
for i in range(0,21000):
count += 1
if p[i]:
print(actual_label[i])
else:
print("0")
print("ACCURACY", (count/21000)*100) | p = clf.predict([xtest])
count = 0
for i in range(0, 21000):
count += 1
if p[i]:
print(actual_label[i])
else:
print('0')
print('ACCURACY', count / 21000 * 100) |
def isPrime(N):
if N == 1:
return False
for i in range(2, N):
if N % i == 0:
return False
return True
def isPrimeBetter(N):
if N <= 1:
return False
if N <= 3:
return True
if N % 2 == 0 or N % 3 == 0:
return False
i = 5
while i * i <= N:
if N % i == 0 or N % (i + 2) == 0:
return False
i = i + 6
return True
print(isPrime(2))
print(isPrimeBetter(985466431))
| def is_prime(N):
if N == 1:
return False
for i in range(2, N):
if N % i == 0:
return False
return True
def is_prime_better(N):
if N <= 1:
return False
if N <= 3:
return True
if N % 2 == 0 or N % 3 == 0:
return False
i = 5
while i * i <= N:
if N % i == 0 or N % (i + 2) == 0:
return False
i = i + 6
return True
print(is_prime(2))
print(is_prime_better(985466431)) |
##
# Portions Copyright (c) Microsoft Corporation. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS
# OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
# ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR
# PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
#
# See the Apache Version 2.0 License for specific language governing
# permissions and limitations under the License.
##
{
'targets': [
{
'target_name': 'edge_coreclr',
'win_delay_load_hook': 'false',
'include_dirs': [
"<!(node -e \"require('nan')\")"
],
'cflags+': [
'-DHAVE_CORECLR -D_NO_ASYNCRTIMP -std=c++14 -Wno-reorder -Wno-sign-compare -Wno-mismatched-tags -Wno-missing-braces -Wno-redundant-move -Wno-deprecated-declarations -Wno-unused-private-field -Wno-unused-variable'
],
'cflags!': [
'-fno-exceptions',
'-Wsign-compare',
'-Wreorder',
'-Wmismatched-tags',
'-Wmissing-braces',
'-Wredundant-move',
'-Wdeprecated-declarations',
'-Wunused-private-field',
'-Wunused-variable'
],
'cflags_cc!': [
'-fno-exceptions',
'-Wsign-compare',
'-Wreorder',
'-Wmismatched-tags',
'-Wmissing-braces',
'-Wredundant-move',
'-Wdeprecated-declarations',
'-Wunused-private-field',
'-Wunused-variable'
],
'xcode_settings': {
'OTHER_CFLAGS': [
'-DHAVE_CORECLR -D_NO_ASYNCRTIMP -Wno-reorder -Wno-sign-compare -Wno-mismatched-tags -Wno-missing-braces -Wno-redundant-move -Wno-deprecated-declarations -Wno-unused-private-field -Wno-unused-variable'
],
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
'GCC_ENABLE_CPP_RTTI': 'YES',
'CLANG_CXX_LANGUAGE_STANDARD': 'c++14',
'CLANG_CXX_LIBRARY': 'libc++',
'MACOSX_DEPLOYMENT_TARGET': '10.7'
},
'sources+': [
'src/common/v8synchronizationcontext.cpp',
'src/common/callbackhelper.cpp',
'src/common/edge.cpp',
'src/CoreCLREmbedding/coreclrembedding.cpp',
'src/CoreCLREmbedding/coreclrfunc.cpp',
'src/CoreCLREmbedding/coreclrnodejsfunc.cpp',
'src/CoreCLREmbedding/coreclrfuncinvokecontext.cpp',
'src/CoreCLREmbedding/coreclrnodejsfuncinvokecontext.cpp',
'src/common/utils.cpp',
'src/CoreCLREmbedding/pal/pal_utils.cpp',
'src/CoreCLREmbedding/pal/trace.cpp',
'src/CoreCLREmbedding/fxr/fx_ver.cpp',
'src/CoreCLREmbedding/fxr/fx_muxer.cpp',
'src/CoreCLREmbedding/json/casablanca/src/json/json.cpp',
'src/CoreCLREmbedding/json/casablanca/src/json/json_parsing.cpp',
'src/CoreCLREmbedding/json/casablanca/src/json/json_serialization.cpp',
'src/CoreCLREmbedding/json/casablanca/src/utilities/asyncrt_utils.cpp',
'src/CoreCLREmbedding/deps/deps_format.cpp',
'src/CoreCLREmbedding/deps/deps_entry.cpp',
'src/CoreCLREmbedding/deps/deps_resolver.cpp',
'src/CoreCLREmbedding/host/args.cpp',
'src/CoreCLREmbedding/host/coreclr.cpp',
'src/CoreCLREmbedding/host/libhost.cpp',
'src/CoreCLREmbedding/host/runtime_config.cpp'
],
'include_dirs+': [
'src/CoreCLREmbedding/json/casablanca/include'
],
'conditions': [
[
'OS=="win"',
{
'sources+': [
'src/CoreCLREmbedding/pal/pal.windows.cpp',
]
},
{
'sources+': [
'src/CoreCLREmbedding/pal/pal.unix.cpp'
]
}
]
],
'configurations': {
'Release': {
'msvs_settings': {
'VCCLCompilerTool': {
# this is out of range and will generate a warning and skip adding RuntimeLibrary property:
'RuntimeLibrary': -1,
# this is out of range and will generate a warning and skip adding RuntimeTypeInfo property:
'RuntimeTypeInfo': -1,
'BasicRuntimeChecks': -1,
'ExceptionHandling': '0',
'WholeProgramOptimization': 'false',
'AdditionalOptions': [
'/wd4506',
'/DHAVE_CORECLR',
'/EHsc',
'/D_NO_ASYNCRTIMP',
'/D_HAS_EXCEPTIONS'
]
},
'VCLinkerTool': {
'AdditionalOptions': [
'/ignore:4248',
'shlwapi.lib'
]
}
}
},
'Debug': {
'msvs_settings': {
'VCCLCompilerTool': {
# this is out of range and will generate a warning and skip adding RuntimeLibrary property:
'RuntimeLibrary': 3,
# this is out of range and will generate a warning and skip adding RuntimeTypeInfo property:
'RuntimeTypeInfo': -1,
'BasicRuntimeChecks': -1,
'ExceptionHandling': '0',
'AdditionalOptions': [
'/wd4506',
'/DHAVE_CORECLR',
'/D_NO_ASYNCRTIMP',
'/D_HAS_EXCEPTIONS'
'/EHsc'
]
},
'VCLinkerTool': {
'AdditionalOptions': [
'/ignore:4248',
'shlwapi.lib'
]
}
}
}
}
},
{
'target_name': 'edge_nativeclr',
'win_delay_load_hook': 'false',
'include_dirs': [
"<!(node -e \"require('nan')\")"
],
'cflags+': [
'-DHAVE_NATIVECLR -std=c++14'
],
'xcode_settings': {
'OTHER_CFLAGS': [
'-DHAVE_NATIVECLR'
]
},
'conditions': [
[
'OS=="win"',
{
'sources+': [
'src/dotnet/utils.cpp',
'src/dotnet/clrfunc.cpp',
'src/dotnet/clrfuncinvokecontext.cpp',
'src/dotnet/nodejsfunc.cpp',
'src/dotnet/nodejsfuncinvokecontext.cpp',
'src/dotnet/persistentdisposecontext.cpp',
'src/dotnet/clrfuncreflectionwrap.cpp',
'src/dotnet/clractioncontext.cpp',
'src/common/v8synchronizationcontext.cpp',
'src/common/callbackhelper.cpp',
'src/common/edge.cpp'
]
},
{
'conditions': [
[
'"<!((which mono 2>/dev/null) || echo not_found)"!="not_found"',
{
'sources+': [
'src/mono/clractioncontext.cpp',
'src/mono/clrfunc.cpp',
'src/mono/clrfuncinvokecontext.cpp',
'src/mono/monoembedding.cpp',
'src/mono/task.cpp',
'src/mono/dictionary.cpp',
'src/mono/nodejsfunc.cpp',
'src/mono/nodejsfuncinvokecontext.cpp',
'src/mono/utils.cpp',
'src/common/utils.cpp',
'src/common/v8synchronizationcontext.cpp',
'src/common/callbackhelper.cpp',
'src/common/edge.cpp'
],
'include_dirs': [
'<!@(pkg-config mono-2 --cflags-only-I | sed s/-I//g)',
'<!@(pkg-config glib-2.0 --cflags-only-I | sed s/-I//g)',
],
'link_settings': {
'libraries': [
'<!@(pkg-config mono-2 --libs)'
],
}
},
{
'type': 'none'
}
]
]
}
]
],
'configurations': {
'Release': {
'msvs_settings': {
'VCCLCompilerTool': {
# this is out of range and will generate a warning and skip adding RuntimeLibrary property:
'RuntimeLibrary': -1,
# this is out of range and will generate a warning and skip adding RuntimeTypeInfo property:
'RuntimeTypeInfo': -1,
'BasicRuntimeChecks': -1,
'ExceptionHandling': '0',
'WholeProgramOptimization': 'false',
'AdditionalOptions': [
'/clr',
'/wd4506',
'/DHAVE_NATIVECLR'
]
},
'VCLinkerTool': {
'AdditionalOptions': [
'/ignore:4248'
]
}
}
},
'Debug': {
'msvs_settings': {
'VCCLCompilerTool': {
# this is out of range and will generate a warning and skip adding RuntimeLibrary property:
'RuntimeLibrary': 3,
# this is out of range and will generate a warning and skip adding RuntimeTypeInfo property:
'RuntimeTypeInfo': -1,
'BasicRuntimeChecks': -1,
'ExceptionHandling': '0',
'AdditionalOptions': [
'/clr',
'/wd4506',
'/DHAVE_NATIVECLR'
]
},
'VCLinkerTool': {
'AdditionalOptions': [
'/ignore:4248'
]
}
}
}
}
},
{
'target_name': 'build_managed',
'type': 'none',
'dependencies': [
'edge_nativeclr',
'edge_coreclr'
],
'conditions': [
[
'OS=="win"',
{
},
{
'conditions': [
[
'"<!((which mono 2>/dev/null) || echo not_found)"!="not_found"',
{
'actions+': [
{
'action_name': 'compile_mono_embed',
'inputs': [
'src/mono/*.cs'
],
'outputs': [
'build/$(BUILDTYPE)/monoembedding.exe'
],
'action': [
'mcs',
'-sdk:4.5',
'-target:exe',
'-out:build/$(BUILDTYPE)/MonoEmbedding.exe',
'src/mono/*.cs',
'src/common/*.cs'
]
}
]
}
],
[
'"<!((which dotnet 2>/dev/null) || echo not_found)"!="not_found"',
{
'actions+': [
{
'action_name': 'restore_bootstrap_packages',
'inputs': [
'lib/bootstrap/bootstrap.csproj'
],
'outputs': [
'lib/bootstrap/project.lock.json'
],
'action': [
'bash',
'-c',
'cd lib/bootstrap && dotnet restore'
]
},
{
'action_name': 'compile_bootstrap',
'inputs': [
'lib/bootstrap/*.cs'
],
'outputs': [
'lib/bootstrap/bin/$(BUILDTYPE)/netcoreapp1.1/bootstrap.dll'
],
'action': [
'bash',
'-c',
'cd lib/bootstrap && dotnet build --configuration $(BUILDTYPE)'
]
}
]
}
]
]
}
]
]
}
]
}
| {'targets': [{'target_name': 'edge_coreclr', 'win_delay_load_hook': 'false', 'include_dirs': ['<!(node -e "require(\'nan\')")'], 'cflags+': ['-DHAVE_CORECLR -D_NO_ASYNCRTIMP -std=c++14 -Wno-reorder -Wno-sign-compare -Wno-mismatched-tags -Wno-missing-braces -Wno-redundant-move -Wno-deprecated-declarations -Wno-unused-private-field -Wno-unused-variable'], 'cflags!': ['-fno-exceptions', '-Wsign-compare', '-Wreorder', '-Wmismatched-tags', '-Wmissing-braces', '-Wredundant-move', '-Wdeprecated-declarations', '-Wunused-private-field', '-Wunused-variable'], 'cflags_cc!': ['-fno-exceptions', '-Wsign-compare', '-Wreorder', '-Wmismatched-tags', '-Wmissing-braces', '-Wredundant-move', '-Wdeprecated-declarations', '-Wunused-private-field', '-Wunused-variable'], 'xcode_settings': {'OTHER_CFLAGS': ['-DHAVE_CORECLR -D_NO_ASYNCRTIMP -Wno-reorder -Wno-sign-compare -Wno-mismatched-tags -Wno-missing-braces -Wno-redundant-move -Wno-deprecated-declarations -Wno-unused-private-field -Wno-unused-variable'], 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', 'GCC_ENABLE_CPP_RTTI': 'YES', 'CLANG_CXX_LANGUAGE_STANDARD': 'c++14', 'CLANG_CXX_LIBRARY': 'libc++', 'MACOSX_DEPLOYMENT_TARGET': '10.7'}, 'sources+': ['src/common/v8synchronizationcontext.cpp', 'src/common/callbackhelper.cpp', 'src/common/edge.cpp', 'src/CoreCLREmbedding/coreclrembedding.cpp', 'src/CoreCLREmbedding/coreclrfunc.cpp', 'src/CoreCLREmbedding/coreclrnodejsfunc.cpp', 'src/CoreCLREmbedding/coreclrfuncinvokecontext.cpp', 'src/CoreCLREmbedding/coreclrnodejsfuncinvokecontext.cpp', 'src/common/utils.cpp', 'src/CoreCLREmbedding/pal/pal_utils.cpp', 'src/CoreCLREmbedding/pal/trace.cpp', 'src/CoreCLREmbedding/fxr/fx_ver.cpp', 'src/CoreCLREmbedding/fxr/fx_muxer.cpp', 'src/CoreCLREmbedding/json/casablanca/src/json/json.cpp', 'src/CoreCLREmbedding/json/casablanca/src/json/json_parsing.cpp', 'src/CoreCLREmbedding/json/casablanca/src/json/json_serialization.cpp', 'src/CoreCLREmbedding/json/casablanca/src/utilities/asyncrt_utils.cpp', 'src/CoreCLREmbedding/deps/deps_format.cpp', 'src/CoreCLREmbedding/deps/deps_entry.cpp', 'src/CoreCLREmbedding/deps/deps_resolver.cpp', 'src/CoreCLREmbedding/host/args.cpp', 'src/CoreCLREmbedding/host/coreclr.cpp', 'src/CoreCLREmbedding/host/libhost.cpp', 'src/CoreCLREmbedding/host/runtime_config.cpp'], 'include_dirs+': ['src/CoreCLREmbedding/json/casablanca/include'], 'conditions': [['OS=="win"', {'sources+': ['src/CoreCLREmbedding/pal/pal.windows.cpp']}, {'sources+': ['src/CoreCLREmbedding/pal/pal.unix.cpp']}]], 'configurations': {'Release': {'msvs_settings': {'VCCLCompilerTool': {'RuntimeLibrary': -1, 'RuntimeTypeInfo': -1, 'BasicRuntimeChecks': -1, 'ExceptionHandling': '0', 'WholeProgramOptimization': 'false', 'AdditionalOptions': ['/wd4506', '/DHAVE_CORECLR', '/EHsc', '/D_NO_ASYNCRTIMP', '/D_HAS_EXCEPTIONS']}, 'VCLinkerTool': {'AdditionalOptions': ['/ignore:4248', 'shlwapi.lib']}}}, 'Debug': {'msvs_settings': {'VCCLCompilerTool': {'RuntimeLibrary': 3, 'RuntimeTypeInfo': -1, 'BasicRuntimeChecks': -1, 'ExceptionHandling': '0', 'AdditionalOptions': ['/wd4506', '/DHAVE_CORECLR', '/D_NO_ASYNCRTIMP', '/D_HAS_EXCEPTIONS/EHsc']}, 'VCLinkerTool': {'AdditionalOptions': ['/ignore:4248', 'shlwapi.lib']}}}}}, {'target_name': 'edge_nativeclr', 'win_delay_load_hook': 'false', 'include_dirs': ['<!(node -e "require(\'nan\')")'], 'cflags+': ['-DHAVE_NATIVECLR -std=c++14'], 'xcode_settings': {'OTHER_CFLAGS': ['-DHAVE_NATIVECLR']}, 'conditions': [['OS=="win"', {'sources+': ['src/dotnet/utils.cpp', 'src/dotnet/clrfunc.cpp', 'src/dotnet/clrfuncinvokecontext.cpp', 'src/dotnet/nodejsfunc.cpp', 'src/dotnet/nodejsfuncinvokecontext.cpp', 'src/dotnet/persistentdisposecontext.cpp', 'src/dotnet/clrfuncreflectionwrap.cpp', 'src/dotnet/clractioncontext.cpp', 'src/common/v8synchronizationcontext.cpp', 'src/common/callbackhelper.cpp', 'src/common/edge.cpp']}, {'conditions': [['"<!((which mono 2>/dev/null) || echo not_found)"!="not_found"', {'sources+': ['src/mono/clractioncontext.cpp', 'src/mono/clrfunc.cpp', 'src/mono/clrfuncinvokecontext.cpp', 'src/mono/monoembedding.cpp', 'src/mono/task.cpp', 'src/mono/dictionary.cpp', 'src/mono/nodejsfunc.cpp', 'src/mono/nodejsfuncinvokecontext.cpp', 'src/mono/utils.cpp', 'src/common/utils.cpp', 'src/common/v8synchronizationcontext.cpp', 'src/common/callbackhelper.cpp', 'src/common/edge.cpp'], 'include_dirs': ['<!@(pkg-config mono-2 --cflags-only-I | sed s/-I//g)', '<!@(pkg-config glib-2.0 --cflags-only-I | sed s/-I//g)'], 'link_settings': {'libraries': ['<!@(pkg-config mono-2 --libs)']}}, {'type': 'none'}]]}]], 'configurations': {'Release': {'msvs_settings': {'VCCLCompilerTool': {'RuntimeLibrary': -1, 'RuntimeTypeInfo': -1, 'BasicRuntimeChecks': -1, 'ExceptionHandling': '0', 'WholeProgramOptimization': 'false', 'AdditionalOptions': ['/clr', '/wd4506', '/DHAVE_NATIVECLR']}, 'VCLinkerTool': {'AdditionalOptions': ['/ignore:4248']}}}, 'Debug': {'msvs_settings': {'VCCLCompilerTool': {'RuntimeLibrary': 3, 'RuntimeTypeInfo': -1, 'BasicRuntimeChecks': -1, 'ExceptionHandling': '0', 'AdditionalOptions': ['/clr', '/wd4506', '/DHAVE_NATIVECLR']}, 'VCLinkerTool': {'AdditionalOptions': ['/ignore:4248']}}}}}, {'target_name': 'build_managed', 'type': 'none', 'dependencies': ['edge_nativeclr', 'edge_coreclr'], 'conditions': [['OS=="win"', {}, {'conditions': [['"<!((which mono 2>/dev/null) || echo not_found)"!="not_found"', {'actions+': [{'action_name': 'compile_mono_embed', 'inputs': ['src/mono/*.cs'], 'outputs': ['build/$(BUILDTYPE)/monoembedding.exe'], 'action': ['mcs', '-sdk:4.5', '-target:exe', '-out:build/$(BUILDTYPE)/MonoEmbedding.exe', 'src/mono/*.cs', 'src/common/*.cs']}]}], ['"<!((which dotnet 2>/dev/null) || echo not_found)"!="not_found"', {'actions+': [{'action_name': 'restore_bootstrap_packages', 'inputs': ['lib/bootstrap/bootstrap.csproj'], 'outputs': ['lib/bootstrap/project.lock.json'], 'action': ['bash', '-c', 'cd lib/bootstrap && dotnet restore']}, {'action_name': 'compile_bootstrap', 'inputs': ['lib/bootstrap/*.cs'], 'outputs': ['lib/bootstrap/bin/$(BUILDTYPE)/netcoreapp1.1/bootstrap.dll'], 'action': ['bash', '-c', 'cd lib/bootstrap && dotnet build --configuration $(BUILDTYPE)']}]}]]}]]}]} |
def bonAppetit(bill, k, b):
shares_brian = (sum(bill)+bill[k])/2
shares_anna = (sum(bill) - bill[k])/2
if shares_anna == b:
return print('Bon Appetit')
else:
return print(int(bill[k]/2))
bill = [3, 10, 2, 9]
n = 4
k = 1
b = 12
bonAppetit(bill, k, b)
| def bon_appetit(bill, k, b):
shares_brian = (sum(bill) + bill[k]) / 2
shares_anna = (sum(bill) - bill[k]) / 2
if shares_anna == b:
return print('Bon Appetit')
else:
return print(int(bill[k] / 2))
bill = [3, 10, 2, 9]
n = 4
k = 1
b = 12
bon_appetit(bill, k, b) |
def get_age(name):
# if name == "Fuck":
# print("Mat day")
# return 1
# else
print("Khong mat day")
return 19
#1
age = get_age("Tam")
#2
xxx = input("> ")
get_age(xxx)
#3
get_age(xxx + "Tam")
#4
def cheese_and_crackers(cheese_count, boxes_of_crackers):
print(f"You have {cheese_count} cheeses!")
print(f"You have {boxes_of_crackers} boxes of crackers!")
print("Man that's enough for a party")
print("Get a blanket.\n")
print("We can just give the function numbers directly:")
cheese_and_crackers(20, 30)
print("OR, we can use variables from our script:")
amount_of_cheese = 10
amount_of_crackers = 50
cheese_and_crackers(amount_of_cheese, amount_of_crackers)
print("We can even do math inside too:")
cheese_and_crackers(10 + 20, 5 + 6)
print("And we can combine the two, variables and math:")
cheese_and_crackers(amount_of_cheese + 100, amount_of_crackers * 21) | def get_age(name):
print('Khong mat day')
return 19
age = get_age('Tam')
xxx = input('> ')
get_age(xxx)
get_age(xxx + 'Tam')
def cheese_and_crackers(cheese_count, boxes_of_crackers):
print(f'You have {cheese_count} cheeses!')
print(f'You have {boxes_of_crackers} boxes of crackers!')
print("Man that's enough for a party")
print('Get a blanket.\n')
print('We can just give the function numbers directly:')
cheese_and_crackers(20, 30)
print('OR, we can use variables from our script:')
amount_of_cheese = 10
amount_of_crackers = 50
cheese_and_crackers(amount_of_cheese, amount_of_crackers)
print('We can even do math inside too:')
cheese_and_crackers(10 + 20, 5 + 6)
print('And we can combine the two, variables and math:')
cheese_and_crackers(amount_of_cheese + 100, amount_of_crackers * 21) |
# Create a Multinomial Naive Bayes classifier: nb_classifier
nb_classifier = MultinomialNB()
# Fit the classifier to the training data
nb_classifier.fit(tfidf_train, y_train)
# Create the predicted tags: pred
pred = nb_classifier.predict(tfidf_test)
# Calculate the accuracy score: score
score = metrics.accuracy_score(y_test, pred)
print(score)
# Calculate the confusion matrix: cm
cm = metrics.confusion_matrix(y_test, pred, labels=['FAKE', 'REAL'])
print(cm) | nb_classifier = multinomial_nb()
nb_classifier.fit(tfidf_train, y_train)
pred = nb_classifier.predict(tfidf_test)
score = metrics.accuracy_score(y_test, pred)
print(score)
cm = metrics.confusion_matrix(y_test, pred, labels=['FAKE', 'REAL'])
print(cm) |
# calculate the supereffect of the attacker against defender
# part of the pokemon database website written by Ross Grogan-Kaylor and Jimmy Zhong
word_maps_col_row_num = {
"fire":0,
"water":1,
"bug":2,
"poison":3,
"electric":4,
"fairy":5,
"fighting":6,
"psychic":7,
"ground":8,
"normal":9,
"grass":10,
"dragon":11,
"rock":12,
"dark":13,
"ghost":14,
"ice":15,
"steel":16,
"flying":17}
effect_matrix = [[0.5,2,0.5,1,1,0.5,1,1,2,1,0.5,1,2,1,1,0.5,0.5,1],
[0.5,0.5,1,1,2,1,1,1,1,1,2,1,1,1,1,0.5,0.5,1],
[2,1,1,1,1,1,0.5,1,0.5,1,0.5,1,2,1,1,1,1,2],
[1,1,0.5,0.5,1,0.5,0.5,2,2,1,0.5,1,1,1,1,1,1,1],
[1,1,1,1,0.5,1,1,1,2,1,1,1,1,1,1,1,0.5,0.5],
[1,1,0.5,2,1,1,0.5,1,1,1,1,0,1,0.5,1,1,2,1],
[1,1,0.5,1,1,2,1,2,1,1,1,1,0.5,0.5,1,1,1,2],
[1,1,2,1,1,1,0.5,0.5,1,1,1,1,1,2,2,1,1,1],
[1,2,1,0.5,0,1,1,1,1,1,2,1,0.5,1,1,2,1,1],
[1,1,1,1,1,1,2,1,1,1,1,1,1,1,0,1,1,1],
[2,0.5,2,2,0.5,1,1,1,0.5,1,0.5,1,1,1,1,2,1,2],
[0.5,0.5,1,1,0.5,2,1,1,1,1,0.5,2,1,1,1,2,1,1],
[0.5,2,1,0.5,1,1,2,1,2,0.5,2,1,1,1,1,1,2,0.5],
[1,1,2,1,1,2,2,0,1,1,1,1,1,0.5,0.5,1,1,1],
[1,1,0.5,0.5,1,1,0,1,1,0,1,1,1,2,2,1,1,1],
[2,1,1,1,1,1,2,1,1,1,1,1,2,1,1,0.5,2,1],
[2,1,0.5,0,1,0.5,2,0.5,2,0.5,0.5,0.5,0.5,1,1,0.5,0.5,0.5],
[1,1,0.5,1,2,1,0.5,1,0,1,0.5,1,2,1,1,2,1,1]]
def single_against_single(attack, defend):
attack_num = word_maps_col_row_num[attack]
defend_num = word_maps_col_row_num[defend]
return effect_matrix[defend_num][attack_num]
def single_against_all_single(attacker):
return_list = []
for defender in word_maps_col_row_num:
effect = single_against_single(attacker, defender)
if effect != 1: # only cares about supereffect, normal effect doesn't count
return_list.append([defender, effect])
return return_list
def double_against_single(attack, defend):
attack_types = attack.split("_")
effect_1 = single_against_single(attack_types[0], defend)
effect_2 = single_against_single(attack_types[1], defend)
sum_effect = effect_1 + effect_2
if effect_1 == effect_2 and effect_1 == 2:
return sum_effect
elif effect_1 == 0 or effect_2 == 0:
return sum_effect/4
else:
return sum_effect/2
def double_against_all_single(attacker):
# example: double_against_single("fire_fighting", "ice")
return_list = []
for defender in word_maps_col_row_num:
effect = double_against_single(attacker, defender)
if effect != 1: # only cares about supereffect, normal effect doesn't count
return_list.append([defender, effect])
return return_list
'''
According to officical pokemon: double-supereffect => combine effect: 4
if 1 is immune => combine effect: (sum_effect)/4
if no immune or double-supereffect => combine effect: (sum_effect)/2
def single_against_double(attack, defend):
defend_types = defend.split("_")
effect_1 = single_against_single(attack, defend_types[0])
effect_2 = single_against_single(attack, defend_types[1])
sum_effect = effect_1 + effect_2
if effect_1 == effect_2 and effect_1 == 2:
return sum_effect
elif effect_1 == 0 or effect_2 == 0:
return sum_effect/4
else:
return sum_effect/2
'''
def main():
print(single_against_single("fire", "water"))
print(single_against_single("water", "fire"))
print(single_against_single("flying", "grass"))
print(single_against_single("grass", "flying"))
#print(single_against_double("grass", "water_ground"))
#print(single_against_double("electric", "ground_fire"))
print(double_against_single("fire_fighting", "ice"))
print(double_against_single("electric_water", "ground"))
if __name__ == "__main__":
main() | word_maps_col_row_num = {'fire': 0, 'water': 1, 'bug': 2, 'poison': 3, 'electric': 4, 'fairy': 5, 'fighting': 6, 'psychic': 7, 'ground': 8, 'normal': 9, 'grass': 10, 'dragon': 11, 'rock': 12, 'dark': 13, 'ghost': 14, 'ice': 15, 'steel': 16, 'flying': 17}
effect_matrix = [[0.5, 2, 0.5, 1, 1, 0.5, 1, 1, 2, 1, 0.5, 1, 2, 1, 1, 0.5, 0.5, 1], [0.5, 0.5, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 0.5, 0.5, 1], [2, 1, 1, 1, 1, 1, 0.5, 1, 0.5, 1, 0.5, 1, 2, 1, 1, 1, 1, 2], [1, 1, 0.5, 0.5, 1, 0.5, 0.5, 2, 2, 1, 0.5, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 0.5, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 0.5, 0.5], [1, 1, 0.5, 2, 1, 1, 0.5, 1, 1, 1, 1, 0, 1, 0.5, 1, 1, 2, 1], [1, 1, 0.5, 1, 1, 2, 1, 2, 1, 1, 1, 1, 0.5, 0.5, 1, 1, 1, 2], [1, 1, 2, 1, 1, 1, 0.5, 0.5, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1], [1, 2, 1, 0.5, 0, 1, 1, 1, 1, 1, 2, 1, 0.5, 1, 1, 2, 1, 1], [1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1], [2, 0.5, 2, 2, 0.5, 1, 1, 1, 0.5, 1, 0.5, 1, 1, 1, 1, 2, 1, 2], [0.5, 0.5, 1, 1, 0.5, 2, 1, 1, 1, 1, 0.5, 2, 1, 1, 1, 2, 1, 1], [0.5, 2, 1, 0.5, 1, 1, 2, 1, 2, 0.5, 2, 1, 1, 1, 1, 1, 2, 0.5], [1, 1, 2, 1, 1, 2, 2, 0, 1, 1, 1, 1, 1, 0.5, 0.5, 1, 1, 1], [1, 1, 0.5, 0.5, 1, 1, 0, 1, 1, 0, 1, 1, 1, 2, 2, 1, 1, 1], [2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 0.5, 2, 1], [2, 1, 0.5, 0, 1, 0.5, 2, 0.5, 2, 0.5, 0.5, 0.5, 0.5, 1, 1, 0.5, 0.5, 0.5], [1, 1, 0.5, 1, 2, 1, 0.5, 1, 0, 1, 0.5, 1, 2, 1, 1, 2, 1, 1]]
def single_against_single(attack, defend):
attack_num = word_maps_col_row_num[attack]
defend_num = word_maps_col_row_num[defend]
return effect_matrix[defend_num][attack_num]
def single_against_all_single(attacker):
return_list = []
for defender in word_maps_col_row_num:
effect = single_against_single(attacker, defender)
if effect != 1:
return_list.append([defender, effect])
return return_list
def double_against_single(attack, defend):
attack_types = attack.split('_')
effect_1 = single_against_single(attack_types[0], defend)
effect_2 = single_against_single(attack_types[1], defend)
sum_effect = effect_1 + effect_2
if effect_1 == effect_2 and effect_1 == 2:
return sum_effect
elif effect_1 == 0 or effect_2 == 0:
return sum_effect / 4
else:
return sum_effect / 2
def double_against_all_single(attacker):
return_list = []
for defender in word_maps_col_row_num:
effect = double_against_single(attacker, defender)
if effect != 1:
return_list.append([defender, effect])
return return_list
'\nAccording to officical pokemon: double-supereffect => combine effect: 4\nif 1 is immune => combine effect: (sum_effect)/4\nif no immune or double-supereffect => combine effect: (sum_effect)/2\n\ndef single_against_double(attack, defend):\n defend_types = defend.split("_")\n effect_1 = single_against_single(attack, defend_types[0])\n effect_2 = single_against_single(attack, defend_types[1])\n sum_effect = effect_1 + effect_2\n if effect_1 == effect_2 and effect_1 == 2:\n return sum_effect\n elif effect_1 == 0 or effect_2 == 0:\n return sum_effect/4\n else:\n return sum_effect/2\n'
def main():
print(single_against_single('fire', 'water'))
print(single_against_single('water', 'fire'))
print(single_against_single('flying', 'grass'))
print(single_against_single('grass', 'flying'))
print(double_against_single('fire_fighting', 'ice'))
print(double_against_single('electric_water', 'ground'))
if __name__ == '__main__':
main() |
class VariantStats:
def __init__(self, stats, total_count):
self.total_count = total_count
self.stats = stats # {field: {value: count}, field: {min:min,max:max}, ...}
def __getitem__(self, filter_name):
return self.stats[filter_name]
def get(self, filter_name):
return self.stats.get(filter_name)
def expose(self):
return {
'total_count': self.total_count,
'stats': { f: self.stats[f].expose() for f in self.stats } # expose each Histogram
}
def __repr__(self):
return str(self.expose())
def __str__(self):
return "<VariantsStats (N={})>".format(self.total_count)
| class Variantstats:
def __init__(self, stats, total_count):
self.total_count = total_count
self.stats = stats
def __getitem__(self, filter_name):
return self.stats[filter_name]
def get(self, filter_name):
return self.stats.get(filter_name)
def expose(self):
return {'total_count': self.total_count, 'stats': {f: self.stats[f].expose() for f in self.stats}}
def __repr__(self):
return str(self.expose())
def __str__(self):
return '<VariantsStats (N={})>'.format(self.total_count) |
a = float(input())
if a < 100:
print('Less than 100')
elif a <= 200:
print('Between 100 and 200')
elif a > 200:
print('Greater than 200')
| a = float(input())
if a < 100:
print('Less than 100')
elif a <= 200:
print('Between 100 and 200')
elif a > 200:
print('Greater than 200') |
# Prints visualisation of the sequences.
for t in range(500):
if t % 5 == 0:
a = 'D'
else:
a = '-'
if t % 7 == 0:
b = 'D'
else:
b = '-'
if t % 13 == 0:
c = 'D'
else:
c = '-'
print(t, a, b, c)
| for t in range(500):
if t % 5 == 0:
a = 'D'
else:
a = '-'
if t % 7 == 0:
b = 'D'
else:
b = '-'
if t % 13 == 0:
c = 'D'
else:
c = '-'
print(t, a, b, c) |
def add_parser(subparsers):
parser = subparsers.add_parser(
"thingpedia",
help="Work with thingpedia-common-devices",
)
parser.add_children(__name__, __path__)
| def add_parser(subparsers):
parser = subparsers.add_parser('thingpedia', help='Work with thingpedia-common-devices')
parser.add_children(__name__, __path__) |
class Classe:
def __init__(self, attr):
self.atributo = attr
def metodo(self):
self.atributo += 1
print(self.atributo)
a = Classe(0)
a.metodo()
a.metodo()
| class Classe:
def __init__(self, attr):
self.atributo = attr
def metodo(self):
self.atributo += 1
print(self.atributo)
a = classe(0)
a.metodo()
a.metodo() |
#!/usr/bin/python
# configuration for syndicatelib
SYNDICATE_SMI_URL="http://localhost:8080"
SYNDICATE_OPENID_TRUSTROOT="http://localhost:8081"
SYNDICATE_OPENCLOUD_USER="jcnelson@cs.princeton.edu"
SYNDICATE_OPENCLOUD_PASSWORD=None
SYNDICATE_OPENCLOUD_PKEY="/home/jude/Desktop/research/git/syndicate/ms/tests/user_test_key.pem"
SYNDICATE_PYTHONPATH="/home/jude/Desktop/research/git/syndicate/build/out/python"
SYNDICATE_OBSERVER_PRIVATE_KEY="/home/jude/Desktop/research/git/syndicate/opencloud/syndicate_observer/syndicatelib_config/pollserver.pem"
SYNDICATE_OBSERVER_SECRET="/home/jude/Desktop/research/git/syndicate/opencloud/syndicate_observer/syndicatelib_config/observer_secret.txt"
SYNDICATE_OBSERVER_HTTP_PORT=65321
SYNDICATE_RG_CLOSURE="/home/jude/Desktop/research/git/syndicate/build/out/python/syndicate/rg/drivers/disk"
SYNDICATE_RG_DEFAULT_PORT=38800
SYNDICATE_UG_QUOTA=10
SYNDICATE_RG_QUOTA=10
SYNDICATE_OBSERVER_STORAGE_BACKEND="disk"
SYNDICATE_GATEWAY_NAME_PREFIX="OpenCloud"
DEBUG=True
| syndicate_smi_url = 'http://localhost:8080'
syndicate_openid_trustroot = 'http://localhost:8081'
syndicate_opencloud_user = 'jcnelson@cs.princeton.edu'
syndicate_opencloud_password = None
syndicate_opencloud_pkey = '/home/jude/Desktop/research/git/syndicate/ms/tests/user_test_key.pem'
syndicate_pythonpath = '/home/jude/Desktop/research/git/syndicate/build/out/python'
syndicate_observer_private_key = '/home/jude/Desktop/research/git/syndicate/opencloud/syndicate_observer/syndicatelib_config/pollserver.pem'
syndicate_observer_secret = '/home/jude/Desktop/research/git/syndicate/opencloud/syndicate_observer/syndicatelib_config/observer_secret.txt'
syndicate_observer_http_port = 65321
syndicate_rg_closure = '/home/jude/Desktop/research/git/syndicate/build/out/python/syndicate/rg/drivers/disk'
syndicate_rg_default_port = 38800
syndicate_ug_quota = 10
syndicate_rg_quota = 10
syndicate_observer_storage_backend = 'disk'
syndicate_gateway_name_prefix = 'OpenCloud'
debug = True |
{
5 : {
"operator" : "selection",
"numgroups" : 100
}
}
| {5: {'operator': 'selection', 'numgroups': 100}} |
def MergeSortRecusive(arr):
'''
Time complexity: O(n * log n)
'''
m = len(arr) // 2
if len(arr) <= 1:
return arr
else:
LS = []
RS = []
M = [arr[m]]
for i in range(len(arr)):
if i == m:
continue
if arr[i] > arr[m]:
RS.append(arr[i])
else:
LS.append(arr[i])
return MergeSortRecusive(LS) + M + MergeSortRecusive(RS)
# Driver Code
if __name__ == "__main__":
arr = [i for i in range(10)]
print(arr[::-1])
print(MergeSortRecusive(arr[::-1] + [5]))
| def merge_sort_recusive(arr):
"""
Time complexity: O(n * log n)
"""
m = len(arr) // 2
if len(arr) <= 1:
return arr
else:
ls = []
rs = []
m = [arr[m]]
for i in range(len(arr)):
if i == m:
continue
if arr[i] > arr[m]:
RS.append(arr[i])
else:
LS.append(arr[i])
return merge_sort_recusive(LS) + M + merge_sort_recusive(RS)
if __name__ == '__main__':
arr = [i for i in range(10)]
print(arr[::-1])
print(merge_sort_recusive(arr[::-1] + [5])) |
__author__ = 'sulantha'
class SortingObject:
def __init__(self, values):
self.record_id = 0 if 'record_id' not in values else values['record_id']
self.study = values['study']
self.rid = values['rid']
self.scan_type = values['scan_type']
self.scan_date = values['scan_date']
self.scan_time = values['scan_time']
self.s_identifier = values['s_identifier']
self.i_identifier = values['i_identifier']
self.file_type = values['file_type']
self.download_folder = values['download_folder']
self.raw_folder = values['raw_folder']
self.moved = values['moved']
def sqlInsert(self):
return ("NULL, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, NULL, NULL, NULL"
% (self.study, self.rid, self.scan_type, self.scan_date, self.scan_time,
self.s_identifier, self.i_identifier, self.file_type,
self.download_folder, self.raw_folder, self.moved))
def getValuesDict(self):
return {'record_id': self.record_id,
'study': self.study, 'rid': self.rid,
'scan_type': self.scan_type,
'scan_date': self.scan_date,
'scan_time': self.scan_time,
's_identifier': self.s_identifier,
'i_identifier': self.i_identifier,
'download_folder': self.download_folder,
'raw_folder': self.raw_folder,
'file_type': self.file_type,
'moved': self.moved} | __author__ = 'sulantha'
class Sortingobject:
def __init__(self, values):
self.record_id = 0 if 'record_id' not in values else values['record_id']
self.study = values['study']
self.rid = values['rid']
self.scan_type = values['scan_type']
self.scan_date = values['scan_date']
self.scan_time = values['scan_time']
self.s_identifier = values['s_identifier']
self.i_identifier = values['i_identifier']
self.file_type = values['file_type']
self.download_folder = values['download_folder']
self.raw_folder = values['raw_folder']
self.moved = values['moved']
def sql_insert(self):
return "NULL, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, NULL, NULL, NULL" % (self.study, self.rid, self.scan_type, self.scan_date, self.scan_time, self.s_identifier, self.i_identifier, self.file_type, self.download_folder, self.raw_folder, self.moved)
def get_values_dict(self):
return {'record_id': self.record_id, 'study': self.study, 'rid': self.rid, 'scan_type': self.scan_type, 'scan_date': self.scan_date, 'scan_time': self.scan_time, 's_identifier': self.s_identifier, 'i_identifier': self.i_identifier, 'download_folder': self.download_folder, 'raw_folder': self.raw_folder, 'file_type': self.file_type, 'moved': self.moved} |
class Robot:
def __init__(self, name):
self.__name = name
def __eq__(self, other):
return isinstance(other, Robot) and self.get_name() == other.get_name()
def get_name(self):
return self.__name
def __repr__(self):
return self.get_name()
ro = Robot("ro")
print(str(ro)) | class Robot:
def __init__(self, name):
self.__name = name
def __eq__(self, other):
return isinstance(other, Robot) and self.get_name() == other.get_name()
def get_name(self):
return self.__name
def __repr__(self):
return self.get_name()
ro = robot('ro')
print(str(ro)) |
# Paths
SMPL_MODEL_DIR = './smpl' # Path to SMPL model directory
SSP_3D_PATH = './ssp_3d' # Path to SSP-3D dataset root directory
# Constants
FOCAL_LENGTH = 5000.
| smpl_model_dir = './smpl'
ssp_3_d_path = './ssp_3d'
focal_length = 5000.0 |
#
# PySNMP MIB module ONEACCESS-GLOBAL-REG (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ONEACCESS-GLOBAL-REG
# Produced by pysmi-0.3.4 at Mon Apr 29 20:22:42 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsIntersection")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
NotificationType, enterprises, iso, Bits, IpAddress, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, Unsigned32, Counter32, ObjectIdentity, Gauge32, Integer32, Counter64, MibIdentifier = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "enterprises", "iso", "Bits", "IpAddress", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "Unsigned32", "Counter32", "ObjectIdentity", "Gauge32", "Integer32", "Counter64", "MibIdentifier")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
oneAccessMIBModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 13191, 1, 100, 1))
oneAccessMIBModule.setRevisions(('2015-04-21 00:00', '2014-09-05 00:00', '2013-10-16 00:00', '2013-06-25 00:00', '2013-04-25 00:00', '2012-03-20 00:00', '2011-07-29 00:00', '2011-06-15 00:00', '2011-04-10 00:01', '2010-08-10 00:01', '2010-07-08 00:01',))
if mibBuilder.loadTexts: oneAccessMIBModule.setLastUpdated('201504210000Z')
if mibBuilder.loadTexts: oneAccessMIBModule.setOrganization(' OneAccess ')
oneAccess = MibIdentifier((1, 3, 6, 1, 4, 1, 13191))
oacRegistration = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1))
oacMIBModules = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 100))
oacOneOsDevices = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1))
oacOne10 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1))
oacOne20 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 2))
oacOne30 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 3))
oacOne40 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 4))
oacOne50 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 5))
oacOne60 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 6))
oacOne20D = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 7))
oacOne80 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 8))
oacOne80XM = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 9))
oacOne100 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 10))
oacOne100D = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 11))
oacOne150 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 15))
oacOne180 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 18))
oacOne200 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 20))
oacOneCell25 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 25))
oacOne300 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 30))
oacOneCell35 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 35))
oacOne400 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 40))
oacOne70 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 70))
oacOne800 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 80))
oacPBXplug8 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 100))
oacPBXplug30 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 110))
oacPBXPLUG_1P_2B = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 111)).setLabel("oacPBXPLUG-1P-2B")
oacPBXPLUG_1P_2B_L = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 112)).setLabel("oacPBXPLUG-1P-2B-L")
oacPBXPLUG_4B = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 113)).setLabel("oacPBXPLUG-4B")
oacPBXPLUG_4B_L = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 114)).setLabel("oacPBXPLUG-4B-L")
oacPBXPLUG_4B_V2 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 115)).setLabel("oacPBXPLUG-4B-V2")
oacPBXPLUG_6B = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 116)).setLabel("oacPBXPLUG-6B")
oacPBXPLUG_6B_L = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 117)).setLabel("oacPBXPLUG-6B-L")
oac1440 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1440))
oacOne90 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 90))
oacLbb130 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 130))
oacLbb131 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 131))
oacLbb132 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 132))
oacLbb133 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 133))
oacLbb134 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 134))
oacLbb135 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 135))
oacLbb139 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 139))
oacLbb140 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 140))
oacLbb141 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 141))
oacLbb142 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 142))
oacLbb148 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 148))
oacLbb210 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 210))
oacLbb219 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 219))
oacLbb230 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 230))
oacLbb231 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 231))
oacLbb236 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 236))
oacLbb310 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 310))
oacLbb320 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 320))
oacLbb329 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 329))
oacLbb330 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 330))
oacOne410 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 410))
oacOne420 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 420))
oacOne425 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 425))
oacOne445 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 445))
oacOne540 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 540))
oacOne560 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 560))
oacOne700 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 700))
oacLbb4G = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1000))
oacOne1540 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1540))
oacOne1510 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1510))
oacOne1520 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1520))
oacOne1560 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1560))
oacProductSpecific = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 2))
oacGeneric = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 3))
oacGenProtocols = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 3, 1))
oacGenManagement = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 3, 10))
oacEmbeddedAgentMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 3, 10, 1))
oacCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 4))
oacRequirements = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 5))
oacExperimental = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10))
oacExpNewMIBs = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 1))
oacExpInternetDrafts = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 2))
oacExpInternalModules = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3))
oacExpIMIp = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1))
oacExpIMAtm = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 2))
oacExpIMSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 3))
oacExpIMManagement = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 4))
oacExpIMEvents = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 4, 2))
oacExpIMPing = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 4, 3))
oacExpIMVoice = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 5))
oacExpIMPstn = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 6))
oacExpIMPstnNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 6, 0))
oacExpIMIsdn = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 7))
oacExpIMIsdnNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 7, 0))
oacExpIMVoiceGlobalStat = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 5, 1))
oacExpIMAtmStatistics = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 2, 1))
oacExpIMAtmOamStatistics = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 2, 2))
oacExpIMAtmAal5 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 2, 3))
oacExpIMIpNat = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 1))
oacExpIMIpNatStatistics = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 1, 1))
oacExpIMIpNatNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 1, 2))
oacExpIMIpAcl = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 2))
oacExpIMIpAclStatistics = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 2, 1))
oacExpIMIpVrrp = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 5))
oacExpIMVrrpNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 5, 1))
oacExpIMIPSec = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 4))
oacExpIMIPPerformanceCounters = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 10))
oacExpIMDot11 = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 8))
oacExpIMCellRadio = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 9))
oacExpIMEthernet = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 10))
oacExpIMZbFw = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 9))
mibBuilder.exportSymbols("ONEACCESS-GLOBAL-REG", oacOne100=oacOne100, oacOne1540=oacOne1540, oacExpIMPing=oacExpIMPing, oacExpIMVoice=oacExpIMVoice, oacGenManagement=oacGenManagement, oacExpIMIsdnNotifications=oacExpIMIsdnNotifications, oacOne700=oacOne700, oacLbb141=oacLbb141, oacLbb148=oacLbb148, oacExpIMEvents=oacExpIMEvents, oacMIBModules=oacMIBModules, oacLbb310=oacLbb310, oacLbb134=oacLbb134, oacOne1510=oacOne1510, oacPBXPLUG_6B_L=oacPBXPLUG_6B_L, oacPBXPLUG_1P_2B_L=oacPBXPLUG_1P_2B_L, oacEmbeddedAgentMIB=oacEmbeddedAgentMIB, oacLbb219=oacLbb219, oacOne445=oacOne445, oacPBXplug8=oacPBXplug8, oacLbb230=oacLbb230, oacOne1560=oacOne1560, oacExpIMManagement=oacExpIMManagement, oacExpIMIPSec=oacExpIMIPSec, oacExpInternetDrafts=oacExpInternetDrafts, oacLbb130=oacLbb130, oacOne50=oacOne50, oacOne40=oacOne40, oacCapabilities=oacCapabilities, oacExpIMCellRadio=oacExpIMCellRadio, oacRegistration=oacRegistration, oacOne30=oacOne30, oacOne410=oacOne410, oacOne80=oacOne80, oacExpIMIpAclStatistics=oacExpIMIpAclStatistics, oacOne150=oacOne150, oacLbb330=oacLbb330, oacGeneric=oacGeneric, oacOneCell35=oacOneCell35, oacLbb133=oacLbb133, oacExpIMIPPerformanceCounters=oacExpIMIPPerformanceCounters, oacExpIMSystem=oacExpIMSystem, oacExpIMAtmAal5=oacExpIMAtmAal5, oacExpIMIsdn=oacExpIMIsdn, oacGenProtocols=oacGenProtocols, oacExpIMZbFw=oacExpIMZbFw, oneAccessMIBModule=oneAccessMIBModule, oacOne70=oacOne70, PYSNMP_MODULE_ID=oneAccessMIBModule, oacExpIMIp=oacExpIMIp, oacLbb132=oacLbb132, oacProductSpecific=oacProductSpecific, oacRequirements=oacRequirements, oacOne100D=oacOne100D, oacOne20D=oacOne20D, oacPBXPLUG_1P_2B=oacPBXPLUG_1P_2B, oacExpNewMIBs=oacExpNewMIBs, oacLbb142=oacLbb142, oacLbb4G=oacLbb4G, oacOne80XM=oacOne80XM, oacExpIMPstnNotifications=oacExpIMPstnNotifications, oacOne540=oacOne540, oacExperimental=oacExperimental, oacExpIMAtm=oacExpIMAtm, oacPBXPLUG_4B_L=oacPBXPLUG_4B_L, oacExpIMIpVrrp=oacExpIMIpVrrp, oacLbb131=oacLbb131, oacExpInternalModules=oacExpInternalModules, oacOne200=oacOne200, oacOne20=oacOne20, oacOne1520=oacOne1520, oacPBXPLUG_4B=oacPBXPLUG_4B, oacOne420=oacOne420, oacExpIMIpNatStatistics=oacExpIMIpNatStatistics, oacExpIMIpNat=oacExpIMIpNat, oacExpIMEthernet=oacExpIMEthernet, oacLbb236=oacLbb236, oacExpIMAtmStatistics=oacExpIMAtmStatistics, oneAccess=oneAccess, oacOne90=oacOne90, oacOne400=oacOne400, oacPBXPLUG_4B_V2=oacPBXPLUG_4B_V2, oacOneCell25=oacOneCell25, oacPBXPLUG_6B=oacPBXPLUG_6B, oac1440=oac1440, oacLbb231=oacLbb231, oacLbb320=oacLbb320, oacExpIMPstn=oacExpIMPstn, oacExpIMDot11=oacExpIMDot11, oacLbb135=oacLbb135, oacOne800=oacOne800, oacExpIMIpAcl=oacExpIMIpAcl, oacOne180=oacOne180, oacOne300=oacOne300, oacLbb210=oacLbb210, oacExpIMAtmOamStatistics=oacExpIMAtmOamStatistics, oacLbb139=oacLbb139, oacLbb140=oacLbb140, oacOne425=oacOne425, oacOne560=oacOne560, oacExpIMIpNatNotifications=oacExpIMIpNatNotifications, oacOne60=oacOne60, oacPBXplug30=oacPBXplug30, oacOneOsDevices=oacOneOsDevices, oacOne10=oacOne10, oacExpIMVrrpNotifications=oacExpIMVrrpNotifications, oacExpIMVoiceGlobalStat=oacExpIMVoiceGlobalStat, oacLbb329=oacLbb329)
| (object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, value_size_constraint, single_value_constraint, value_range_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueSizeConstraint', 'SingleValueConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(notification_type, enterprises, iso, bits, ip_address, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, unsigned32, counter32, object_identity, gauge32, integer32, counter64, mib_identifier) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'enterprises', 'iso', 'Bits', 'IpAddress', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'Unsigned32', 'Counter32', 'ObjectIdentity', 'Gauge32', 'Integer32', 'Counter64', 'MibIdentifier')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
one_access_mib_module = module_identity((1, 3, 6, 1, 4, 1, 13191, 1, 100, 1))
oneAccessMIBModule.setRevisions(('2015-04-21 00:00', '2014-09-05 00:00', '2013-10-16 00:00', '2013-06-25 00:00', '2013-04-25 00:00', '2012-03-20 00:00', '2011-07-29 00:00', '2011-06-15 00:00', '2011-04-10 00:01', '2010-08-10 00:01', '2010-07-08 00:01'))
if mibBuilder.loadTexts:
oneAccessMIBModule.setLastUpdated('201504210000Z')
if mibBuilder.loadTexts:
oneAccessMIBModule.setOrganization(' OneAccess ')
one_access = mib_identifier((1, 3, 6, 1, 4, 1, 13191))
oac_registration = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1))
oac_mib_modules = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 100))
oac_one_os_devices = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1))
oac_one10 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1))
oac_one20 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 2))
oac_one30 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 3))
oac_one40 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 4))
oac_one50 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 5))
oac_one60 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 6))
oac_one20_d = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 7))
oac_one80 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 8))
oac_one80_xm = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 9))
oac_one100 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 10))
oac_one100_d = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 11))
oac_one150 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 15))
oac_one180 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 18))
oac_one200 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 20))
oac_one_cell25 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 25))
oac_one300 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 30))
oac_one_cell35 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 35))
oac_one400 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 40))
oac_one70 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 70))
oac_one800 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 80))
oac_pb_xplug8 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 100))
oac_pb_xplug30 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 110))
oac_pbxplug_1_p_2_b = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 111)).setLabel('oacPBXPLUG-1P-2B')
oac_pbxplug_1_p_2_b_l = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 112)).setLabel('oacPBXPLUG-1P-2B-L')
oac_pbxplug_4_b = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 113)).setLabel('oacPBXPLUG-4B')
oac_pbxplug_4_b_l = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 114)).setLabel('oacPBXPLUG-4B-L')
oac_pbxplug_4_b_v2 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 115)).setLabel('oacPBXPLUG-4B-V2')
oac_pbxplug_6_b = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 116)).setLabel('oacPBXPLUG-6B')
oac_pbxplug_6_b_l = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 117)).setLabel('oacPBXPLUG-6B-L')
oac1440 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1440))
oac_one90 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 90))
oac_lbb130 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 130))
oac_lbb131 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 131))
oac_lbb132 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 132))
oac_lbb133 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 133))
oac_lbb134 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 134))
oac_lbb135 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 135))
oac_lbb139 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 139))
oac_lbb140 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 140))
oac_lbb141 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 141))
oac_lbb142 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 142))
oac_lbb148 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 148))
oac_lbb210 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 210))
oac_lbb219 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 219))
oac_lbb230 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 230))
oac_lbb231 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 231))
oac_lbb236 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 236))
oac_lbb310 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 310))
oac_lbb320 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 320))
oac_lbb329 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 329))
oac_lbb330 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 330))
oac_one410 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 410))
oac_one420 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 420))
oac_one425 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 425))
oac_one445 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 445))
oac_one540 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 540))
oac_one560 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 560))
oac_one700 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 700))
oac_lbb4_g = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1000))
oac_one1540 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1540))
oac_one1510 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1510))
oac_one1520 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1520))
oac_one1560 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 1, 1, 1560))
oac_product_specific = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 2))
oac_generic = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 3))
oac_gen_protocols = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 3, 1))
oac_gen_management = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 3, 10))
oac_embedded_agent_mib = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 3, 10, 1))
oac_capabilities = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 4))
oac_requirements = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 5))
oac_experimental = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10))
oac_exp_new_mi_bs = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 1))
oac_exp_internet_drafts = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 2))
oac_exp_internal_modules = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3))
oac_exp_im_ip = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1))
oac_exp_im_atm = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 2))
oac_exp_im_system = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 3))
oac_exp_im_management = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 4))
oac_exp_im_events = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 4, 2))
oac_exp_im_ping = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 4, 3))
oac_exp_im_voice = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 5))
oac_exp_im_pstn = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 6))
oac_exp_im_pstn_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 6, 0))
oac_exp_im_isdn = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 7))
oac_exp_im_isdn_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 7, 0))
oac_exp_im_voice_global_stat = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 5, 1))
oac_exp_im_atm_statistics = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 2, 1))
oac_exp_im_atm_oam_statistics = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 2, 2))
oac_exp_im_atm_aal5 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 2, 3))
oac_exp_im_ip_nat = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 1))
oac_exp_im_ip_nat_statistics = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 1, 1))
oac_exp_im_ip_nat_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 1, 2))
oac_exp_im_ip_acl = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 2))
oac_exp_im_ip_acl_statistics = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 2, 1))
oac_exp_im_ip_vrrp = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 5))
oac_exp_im_vrrp_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 5, 1))
oac_exp_imip_sec = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 4))
oac_exp_imip_performance_counters = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 10))
oac_exp_im_dot11 = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 8))
oac_exp_im_cell_radio = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 9))
oac_exp_im_ethernet = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 10))
oac_exp_im_zb_fw = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 9))
mibBuilder.exportSymbols('ONEACCESS-GLOBAL-REG', oacOne100=oacOne100, oacOne1540=oacOne1540, oacExpIMPing=oacExpIMPing, oacExpIMVoice=oacExpIMVoice, oacGenManagement=oacGenManagement, oacExpIMIsdnNotifications=oacExpIMIsdnNotifications, oacOne700=oacOne700, oacLbb141=oacLbb141, oacLbb148=oacLbb148, oacExpIMEvents=oacExpIMEvents, oacMIBModules=oacMIBModules, oacLbb310=oacLbb310, oacLbb134=oacLbb134, oacOne1510=oacOne1510, oacPBXPLUG_6B_L=oacPBXPLUG_6B_L, oacPBXPLUG_1P_2B_L=oacPBXPLUG_1P_2B_L, oacEmbeddedAgentMIB=oacEmbeddedAgentMIB, oacLbb219=oacLbb219, oacOne445=oacOne445, oacPBXplug8=oacPBXplug8, oacLbb230=oacLbb230, oacOne1560=oacOne1560, oacExpIMManagement=oacExpIMManagement, oacExpIMIPSec=oacExpIMIPSec, oacExpInternetDrafts=oacExpInternetDrafts, oacLbb130=oacLbb130, oacOne50=oacOne50, oacOne40=oacOne40, oacCapabilities=oacCapabilities, oacExpIMCellRadio=oacExpIMCellRadio, oacRegistration=oacRegistration, oacOne30=oacOne30, oacOne410=oacOne410, oacOne80=oacOne80, oacExpIMIpAclStatistics=oacExpIMIpAclStatistics, oacOne150=oacOne150, oacLbb330=oacLbb330, oacGeneric=oacGeneric, oacOneCell35=oacOneCell35, oacLbb133=oacLbb133, oacExpIMIPPerformanceCounters=oacExpIMIPPerformanceCounters, oacExpIMSystem=oacExpIMSystem, oacExpIMAtmAal5=oacExpIMAtmAal5, oacExpIMIsdn=oacExpIMIsdn, oacGenProtocols=oacGenProtocols, oacExpIMZbFw=oacExpIMZbFw, oneAccessMIBModule=oneAccessMIBModule, oacOne70=oacOne70, PYSNMP_MODULE_ID=oneAccessMIBModule, oacExpIMIp=oacExpIMIp, oacLbb132=oacLbb132, oacProductSpecific=oacProductSpecific, oacRequirements=oacRequirements, oacOne100D=oacOne100D, oacOne20D=oacOne20D, oacPBXPLUG_1P_2B=oacPBXPLUG_1P_2B, oacExpNewMIBs=oacExpNewMIBs, oacLbb142=oacLbb142, oacLbb4G=oacLbb4G, oacOne80XM=oacOne80XM, oacExpIMPstnNotifications=oacExpIMPstnNotifications, oacOne540=oacOne540, oacExperimental=oacExperimental, oacExpIMAtm=oacExpIMAtm, oacPBXPLUG_4B_L=oacPBXPLUG_4B_L, oacExpIMIpVrrp=oacExpIMIpVrrp, oacLbb131=oacLbb131, oacExpInternalModules=oacExpInternalModules, oacOne200=oacOne200, oacOne20=oacOne20, oacOne1520=oacOne1520, oacPBXPLUG_4B=oacPBXPLUG_4B, oacOne420=oacOne420, oacExpIMIpNatStatistics=oacExpIMIpNatStatistics, oacExpIMIpNat=oacExpIMIpNat, oacExpIMEthernet=oacExpIMEthernet, oacLbb236=oacLbb236, oacExpIMAtmStatistics=oacExpIMAtmStatistics, oneAccess=oneAccess, oacOne90=oacOne90, oacOne400=oacOne400, oacPBXPLUG_4B_V2=oacPBXPLUG_4B_V2, oacOneCell25=oacOneCell25, oacPBXPLUG_6B=oacPBXPLUG_6B, oac1440=oac1440, oacLbb231=oacLbb231, oacLbb320=oacLbb320, oacExpIMPstn=oacExpIMPstn, oacExpIMDot11=oacExpIMDot11, oacLbb135=oacLbb135, oacOne800=oacOne800, oacExpIMIpAcl=oacExpIMIpAcl, oacOne180=oacOne180, oacOne300=oacOne300, oacLbb210=oacLbb210, oacExpIMAtmOamStatistics=oacExpIMAtmOamStatistics, oacLbb139=oacLbb139, oacLbb140=oacLbb140, oacOne425=oacOne425, oacOne560=oacOne560, oacExpIMIpNatNotifications=oacExpIMIpNatNotifications, oacOne60=oacOne60, oacPBXplug30=oacPBXplug30, oacOneOsDevices=oacOneOsDevices, oacOne10=oacOne10, oacExpIMVrrpNotifications=oacExpIMVrrpNotifications, oacExpIMVoiceGlobalStat=oacExpIMVoiceGlobalStat, oacLbb329=oacLbb329) |
def load(h):
return ({'abbr': 1, 'code': 1, 'title': 'first'},
{'abbr': 2, 'code': 2, 'title': 'second'},
{'abbr': 3, 'code': 3, 'title': 'third'},
{'abbr': 4, 'code': 4, 'title': 'fourth'})
| def load(h):
return ({'abbr': 1, 'code': 1, 'title': 'first'}, {'abbr': 2, 'code': 2, 'title': 'second'}, {'abbr': 3, 'code': 3, 'title': 'third'}, {'abbr': 4, 'code': 4, 'title': 'fourth'}) |
#
# Copyright (c) 2017 Joy Diamond. All rights reserved.
#
@gem('Sapphire.Priority')
def gem():
share(
'PRIORITY_ATOM', 1, # atom
'PRIORITY_TUPLE', 2, # tuple
'PRIORITY_POSTFIX', 3, # . () and []
'PRIORITY_POWER', 4, # **
'PRIORITY_UNARY', 5, # unary '+', '-', '~'
'PRIORITY_MULTIPLY', 6, # *
'PRIORITY_ARITHMETIC', 7, # +
'PRIORITY_SHIFT', 8, # << and >>
'PRIORITY_LOGICAL_AND', 9, # &
'PRIORITY_LOGICAL_EXCLUSIVE_OR', 10, # ^
'PRIORITY_LOGICAL_OR', 11, # |
'PRIORITY_NORMAL_LIST', 12, # Comma expression of PRIORITY_LOGICAL_OR
'PRIORITY_COMPARE', 13, # ==
'PRIORITY_NOT', 14, # not
'PRIORITY_BOOLEAN_AND', 15, # 'and'
'PRIORITY_BOOLEAN_OR', 16, # 'or'
'PRIORITY_LAMBDA', 17, # 'lambda'
'PRIORITY_TERNARY', 18, # 'if'
'PRIORITY_TERNARY_LIST', 19, # Comma expression of PRIORITY_TERNARY
'PRIORITY_SUBSCRIPT', 20, # Subscript of index expression
'PRIORITY_SUBSCRIPT_LIST', 21, # Comma expresion of Subscripts
'PRIORITY_MAP_ELEMENT', 22, # ':'
'PRIORITY_MAP_LIST', 23, # Comma expression of ':'
'PRIORITY_YIELD', 24, # 'yield'
'PRIORITY_COMPREHENSION', 25, # 'for' inside '()'
'PRIORITY_ASSIGN', 26, # '=',
'PRIORITY_AS', 27, # 'as'
'PRIORITY_AS_LIST', 28, # Comma expression of 'as'
'PRIORITY_STATEMENT', 29, # statement
#
# PRIORITY_NORMAL is an alias for PRIORITY_LOGICAL_OR
#
'PRIORITY_NORMAL', 11,
)
| @gem('Sapphire.Priority')
def gem():
share('PRIORITY_ATOM', 1, 'PRIORITY_TUPLE', 2, 'PRIORITY_POSTFIX', 3, 'PRIORITY_POWER', 4, 'PRIORITY_UNARY', 5, 'PRIORITY_MULTIPLY', 6, 'PRIORITY_ARITHMETIC', 7, 'PRIORITY_SHIFT', 8, 'PRIORITY_LOGICAL_AND', 9, 'PRIORITY_LOGICAL_EXCLUSIVE_OR', 10, 'PRIORITY_LOGICAL_OR', 11, 'PRIORITY_NORMAL_LIST', 12, 'PRIORITY_COMPARE', 13, 'PRIORITY_NOT', 14, 'PRIORITY_BOOLEAN_AND', 15, 'PRIORITY_BOOLEAN_OR', 16, 'PRIORITY_LAMBDA', 17, 'PRIORITY_TERNARY', 18, 'PRIORITY_TERNARY_LIST', 19, 'PRIORITY_SUBSCRIPT', 20, 'PRIORITY_SUBSCRIPT_LIST', 21, 'PRIORITY_MAP_ELEMENT', 22, 'PRIORITY_MAP_LIST', 23, 'PRIORITY_YIELD', 24, 'PRIORITY_COMPREHENSION', 25, 'PRIORITY_ASSIGN', 26, 'PRIORITY_AS', 27, 'PRIORITY_AS_LIST', 28, 'PRIORITY_STATEMENT', 29, 'PRIORITY_NORMAL', 11) |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" est une expression en option tels que "field1 = \'newvalue\'". Vous ne pouvez pas mettre \xc3\xa0 jour ou supprimer les r\xc3\xa9sultats d\'une jointure "a JOIN"',
'%Y-%m-%d': '%d-%m-%Y',
'%Y-%m-%d %H:%M:%S': '%d-%m-%Y %H:%M:%S',
'%s rows deleted': 'lignes %s supprim\xc3\xa9',
'%s rows updated': 'lignes %s mis \xc3\xa0 jour',
'(something like "it-it")': '(quelque chose comme "it-it") ',
'A new version of web2py is available: %s': 'Une nouvelle version de web2py est disponible: %s ',
'A new version of web2py is available: Version 1.68.2 (2009-10-21 09:59:29)\n': 'Une nouvelle version de web2py est disponible: Version 1.68.2 (2009-10-21 09:59:29)\r\n',
'ATTENTION: Login requires a secure (HTTPS) connection or running on localhost.': 'ATTENTION: n\xc3\xa9cessite une connexion s\xc3\xa9curis\xc3\xa9e (HTTPS) ou \xc3\xaatre en localhost. ',
'ATTENTION: TESTING IS NOT THREAD SAFE SO DO NOT PERFORM MULTIPLE TESTS CONCURRENTLY.': 'ATTENTION: les tests ne sont pas thread-safe DONC NE PAS EFFECTUER DES TESTS MULTIPLES SIMULTAN\xc3\x89MENT.',
'ATTENTION: you cannot edit the running application!': "ATTENTION: vous ne pouvez pas modifier l'application qui tourne!",
'About': '\xc3\x80 propos',
'About application': "A propos de l'application",
'Admin is disabled because insecure channel': 'Admin est d\xc3\xa9sactiv\xc3\xa9 parce que canal non s\xc3\xa9curis\xc3\xa9',
'Administrator Password:': 'Mot de passe Administrateur:',
'Are you sure you want to delete file "%s"?': 'Etes-vous s\xc3\xbbr de vouloir supprimer le fichier \xc2\xab%s\xc2\xbb?',
'Are you sure you want to delete plugin "%s"?': 'Etes-vous s\xc3\xbbr de vouloir effacer le plugin "%s"?',
'Are you sure you want to uninstall application "%s"?': "\xc3\x8ates-vous s\xc3\xbbr de vouloir d\xc3\xa9sinstaller l'application \xc2\xab%s\xc2\xbb?",
'Available databases and tables': 'Bases de donn\xc3\xa9es et tables disponible',
'Cannot be empty': 'Ne peut pas \xc3\xaatre vide',
'Cannot compile: there are errors in your app. Debug it, correct errors and try again.': 'Ne peut pas compiler: il y a des erreurs dans votre application. corriger les erreurs et essayez \xc3\xa0 nouveau.',
'Check to delete': 'Cocher pour supprimer',
'Checking for upgrades...': 'V\xc3\xa9rification des mises \xc3\xa0 jour ... ',
'Controllers': 'Contr\xc3\xb4leurs',
'Create new application': 'Cr\xc3\xa9er une nouvelle application',
'Current request': 'Requ\xc3\xaate actuel',
'Current response': 'R\xc3\xa9ponse actuelle',
'Current session': 'Session en cours',
'Date and Time': 'Date et heure',
'Delete': 'Supprimer',
'Delete:': 'Supprimer:',
'Deploy on Google App Engine': 'D\xc3\xa9ployer sur Google App Engine',
'EDIT': 'MODIFIER',
'Edit application': "Modifier l'application",
'Edit current record': 'Modifier cet entr\xc3\xa9e',
'Editing Language file': 'Modifier le fichier de langue',
'Editing file': 'Modifier le fichier',
'Editing file "%s"': 'Modifier le fichier "% s" ',
'Enterprise Web Framework': 'Enterprise Web Framework',
'Error logs for "%(app)s"': 'Journal d\'erreurs pour "%(app)s"',
'Functions with no doctests will result in [passed] tests.': 'Des fonctions sans doctests entra\xc3\xaenera tests [passed] .',
'If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.\nA green title indicates that all tests (if defined) passed. In this case test results are not shown.': "Si le rapport ci-dessus contient un num\xc3\xa9ro de ticket, cela indique une d\xc3\xa9faillance dans l'ex\xc3\xa9cution du contr\xc3\xb4leur, avant toute tentative d'ex\xc3\xa9cuter les doctests. Cela est g\xc3\xa9n\xc3\xa9ralement d\xc3\xbb \xc3\xa0 une erreur d'indentation ou une erreur \xc3\xa0 l'ext\xc3\xa9rieur du code de la fonction.\r\nUn titre verte indique que tous les tests (si d\xc3\xa9finie) passed. Dans ce cas, les r\xc3\xa9sultats des essais ne sont pas affich\xc3\xa9es.",
'Import/Export': 'Importer/Exporter',
'Installed applications': 'Les applications install\xc3\xa9es',
'Internal State': '\xc3\x89tat Interne',
'Invalid Query': 'Requ\xc3\xaate non valide',
'Invalid action': 'Action non valide',
'Language files (static strings) updated': 'Fichiers de langue (static strings) Mise \xc3\xa0 jour ',
'Languages': 'Langues',
'Last saved on:': 'Derni\xc3\xa8re sauvegarde le:',
'License for': 'Licence pour',
'Login': 'Connexion',
'Login to the Administrative Interface': "Se connecter \xc3\xa0 l'interface d'administration",
'Models': 'Mod\xc3\xa8les',
'Modules': 'Modules',
'NO': 'NON',
'New Record': 'Nouvel Entr\xc3\xa9e',
'No databases in this application': 'Aucune base de donn\xc3\xa9es dans cette application',
'Original/Translation': 'Original / Traduction',
'Peeking at file': 'Jeter un oeil au fichier',
'Plugin "%s" in application': 'Plugin "%s" dans l\'application',
'Plugins': 'Plugins',
'Powered by': 'Propuls\xc3\xa9 par',
'Query:': 'Requ\xc3\xaate: ',
'Resolve Conflict file': 'R\xc3\xa9soudre les conflits de fichiers',
'Rows in table': 'Lignes de la table',
'Rows selected': 'Lignes s\xc3\xa9lectionn\xc3\xa9es',
'Saved file hash:': 'Hash du Fichier enregistr\xc3\xa9:',
'Static files': 'Fichiers statiques',
'Sure you want to delete this object?': 'Vous \xc3\xaates s\xc3\xbbr de vouloir supprimer cet objet? ',
'TM': 'MD',
'Testing application': "Test de l'application",
'The "query" is a condition like "db.table1.field1==\'value\'". Something like "db.table1.field1==db.table2.field2" results in a SQL JOIN.': 'La "requ\xc3\xaate" est une condition comme "db.table1.field1==\'value\'". Quelque chose comme "db.table1.field1==db.table2.field2" aboutit \xc3\xa0 un JOIN SQL.',
'There are no controllers': "Il n'existe pas de contr\xc3\xb4leurs",
'There are no models': "Il n'existe pas de mod\xc3\xa8les",
'There are no modules': "Il n'existe pas de modules",
'There are no static files': "Il n'existe pas de fichiers statiques",
'There are no translators, only default language is supported': "Il n'y a pas de traducteurs, est prise en charge uniquement la langue par d\xc3\xa9faut",
'There are no views': "Il n'existe pas de vues",
'This is the %(filename)s template': 'Ceci est le mod\xc3\xa8le %(filename)s ',
'Ticket': 'Ticket',
'To create a plugin, name a file/folder plugin_[name]': 'Pour cr\xc3\xa9er un plugin, cr\xc3\xa9er un fichier /dossier plugin_[nom]',
'Unable to check for upgrades': 'Impossible de v\xc3\xa9rifier les mises \xc3\xa0 niveau',
'Unable to download': 'Impossible de t\xc3\xa9l\xc3\xa9charger',
'Unable to download app': 'Impossible de t\xc3\xa9l\xc3\xa9charger app',
'Update:': 'Mise \xc3\xa0 jour:',
'Upload & install packed application': 'Upload & install packed application',
'Upload existing application': 'charger une application existante',
'Use (...)&(...) for AND, (...)|(...) for OR, and ~(...) for NOT to build more complex queries.': 'Utilisez (...)&(...) pour AND, (...)|(...) pour OR, et ~(...) pour NOT et construire des requ\xc3\xaates plus complexes. ',
'Version': 'Version',
'Views': 'Vues',
'YES': 'OUI',
'about': '\xc3\xa0 propos',
'additional code for your application': 'code suppl\xc3\xa9mentaire pour votre application',
'admin disabled because no admin password': 'admin d\xc3\xa9sactiv\xc3\xa9 car aucun mot de passe admin',
'admin disabled because not supported on google apps engine': 'admin d\xc3\xa9sactiv\xc3\xa9 car non pris en charge sur Google Apps engine',
'admin disabled because unable to access password file': "admin d\xc3\xa9sactiv\xc3\xa9 car incapable d'acc\xc3\xa9der au fichier mot de passe",
'and rename it (required):': 'et renommez-la (obligatoire):',
'and rename it:': 'et renommez-le:',
'appadmin': 'appadmin',
'appadmin is disabled because insecure channel': 'appadmin est d\xc3\xa9sactiv\xc3\xa9 parce que canal non s\xc3\xa9curis\xc3\xa9',
'application "%s" uninstalled': 'application "%s" d\xc3\xa9sinstall\xc3\xa9',
'application %(appname)s installed with md5sum: %(digest)s': 'application %(appname)s installed with md5sum: %(digest)s',
'application compiled': 'application compil\xc3\xa9e',
'application is compiled and cannot be designed': "l'application est compil\xc3\xa9e et ne peut \xc3\xaatre d\xc3\xa9sign\xc3\xa9",
'back': 'retour',
'cache, errors and sessions cleaned': 'cache, erreurs et sessions nettoy\xc3\xa9',
'cannot create file': 'ne peu pas cr\xc3\xa9er de fichier',
'cannot upload file "%(filename)s"': 'ne peu pas charger le fichier "%(filename)s"',
'check all': 'tous v\xc3\xa9rifier ',
'clean': 'nettoyer',
'click to check for upgrades': 'Cliquez pour v\xc3\xa9rifier les mises \xc3\xa0 niveau',
'compile': 'compiler',
'compiled application removed': 'application compil\xc3\xa9e enlev\xc3\xa9',
'controllers': 'contr\xc3\xb4leurs',
'create': 'create',
'create file with filename:': 'cr\xc3\xa9er un fichier avec nom de fichier:',
'create new application:': 'cr\xc3\xa9er une nouvelle application:',
'created by': 'cr\xc3\xa9\xc3\xa9 par',
'crontab': 'crontab',
'currently saved or': 'actuellement enregistr\xc3\xa9s ou',
'data uploaded': 'donn\xc3\xa9es charg\xc3\xa9es',
'database': 'base de donn\xc3\xa9es',
'database %s select': 'base de donn\xc3\xa9es %s s\xc3\xa9lectionner',
'database administration': 'administration base de donn\xc3\xa9es',
'db': 'db',
'defines tables': 'd\xc3\xa9finit les tables',
'delete': 'supprimer',
'delete all checked': 'supprimer tout ce qui est cocher',
'delete plugin': ' supprimer plugin',
'design': 'conception',
'done!': 'fait!',
'edit': 'modifier',
'edit controller': 'modifier contr\xc3\xb4leur',
'errors': 'erreurs',
'export as csv file': 'exportation au format CSV',
'exposes': 'expose',
'extends': '\xc3\xa9tend',
'failed to reload module': 'impossible de recharger le module',
'file "%(filename)s" created': 'fichier "%(filename)s" cr\xc3\xa9\xc3\xa9',
'file "%(filename)s" deleted': 'fichier "%(filename)s" supprim\xc3\xa9',
'file "%(filename)s" uploaded': 'fichier "%(filename)s" charg\xc3\xa9',
'file "%s" of %s restored': 'fichier "%s" de %s restaur\xc3\xa9',
'file changed on disk': 'fichier modifi\xc3\xa9 sur le disque',
'file does not exist': "fichier n'existe pas",
'file saved on %(time)s': 'fichier enregistr\xc3\xa9 le %(time)s',
'file saved on %s': 'fichier enregistr\xc3\xa9 le %s',
'help': 'aide',
'htmledit': 'edition html',
'includes': 'inclus',
'insert new': 'ins\xc3\xa9rer nouveau',
'insert new %s': 'ins\xc3\xa9rer nouveau %s',
'install': 'install',
'internal error': 'erreur interne',
'invalid password': 'mot de passe invalide',
'invalid request': 'Demande incorrecte',
'invalid ticket': 'ticket non valide',
'language file "%(filename)s" created/updated': 'fichier de langue "%(filename)s" cr\xc3\xa9\xc3\xa9/mis \xc3\xa0 jour',
'languages': 'langues',
'loading...': 'Chargement ...',
'login': 'connexion',
'logout': 'd\xc3\xa9connexion',
'merge': 'fusionner',
'models': 'mod\xc3\xa8les',
'modules': 'modules',
'new application "%s" created': 'nouvelle application "%s" cr\xc3\xa9\xc3\xa9e',
'new plugin installed': 'nouveau plugin install\xc3\xa9',
'new record inserted': 'nouvelle entr\xc3\xa9e ins\xc3\xa9r\xc3\xa9',
'next 100 rows': '100 lignes suivantes',
'or import from csv file': 'ou importer depuis un fichier CSV ',
'or provide app url:': 'or provide app url:',
'or provide application url:': "ou fournir l'URL de l'application:",
'overwrite installed app': 'overwrite installed app',
'pack all': 'tout empaqueter',
'pack compiled': 'paquet compil\xc3\xa9',
'pack plugin': 'paquet plugin',
'plugin "%(plugin)s" deleted': 'plugin "%(plugin)s" supprim\xc3\xa9',
'previous 100 rows': '100 lignes pr\xc3\xa9c\xc3\xa9dentes',
'record': 'entr\xc3\xa9e',
'record does not exist': "l'entr\xc3\xa9e n'existe pas",
'record id': 'id entr\xc3\xa9e',
'remove compiled': 'retirer compil\xc3\xa9',
'restore': 'restaurer',
'revert': 'revenir',
'save': 'sauver',
'selected': 's\xc3\xa9lectionn\xc3\xa9s',
'session expired': 'la session a expir\xc3\xa9 ',
'shell': 'shell',
'site': 'site',
'some files could not be removed': 'certains fichiers ne peuvent pas \xc3\xaatre supprim\xc3\xa9s',
'state': '\xc3\xa9tat',
'static': 'statiques',
'submit': 'envoyer',
'table': 'table',
'test': 'tester',
'the application logic, each URL path is mapped in one exposed function in the controller': "la logique de l'application, chaque route URL est mapp\xc3\xa9 dans une fonction expos\xc3\xa9e dans le contr\xc3\xb4leur",
'the data representation, define database tables and sets': 'la repr\xc3\xa9sentation des donn\xc3\xa9es, d\xc3\xa9fini les tables de bases de donn\xc3\xa9es et sets',
'the presentations layer, views are also known as templates': 'la couche des pr\xc3\xa9sentations, les vues sont \xc3\xa9galement connus en tant que mod\xc3\xa8les',
'these files are served without processing, your images go here': 'ces fichiers sont servis sans transformation, vos images vont ici',
'to previous version.': '\xc3\xa0 la version pr\xc3\xa9c\xc3\xa9dente.',
'translation strings for the application': "cha\xc3\xaenes de traduction de l'application",
'try': 'essayer',
'try something like': 'essayez quelque chose comme',
'unable to create application "%s"': 'impossible de cr\xc3\xa9er l\'application "%s"',
'unable to delete file "%(filename)s"': 'impossible de supprimer le fichier "%(filename)s"',
'unable to delete file plugin "%(plugin)s"': 'impossible de supprimer le plugin "%(plugin)s"',
'unable to parse csv file': "impossible d'analyser les fichiers CSV",
'unable to uninstall "%s"': 'impossible de d\xc3\xa9sinstaller "%s"',
'uncheck all': 'tout d\xc3\xa9cocher',
'uninstall': 'd\xc3\xa9sinstaller',
'update': 'mettre \xc3\xa0 jour',
'update all languages': 'mettre \xc3\xa0 jour toutes les langues',
'upload application:': "charger l'application:",
'upload file:': 'charger le fichier:',
'upload plugin file:': 'charger fichier plugin:',
'versioning': 'versioning',
'view': 'vue',
'views': 'vues',
'web2py Recent Tweets': 'web2py Tweets r\xc3\xa9centes',
'web2py is up to date': 'web2py est \xc3\xa0 jour',
}
| {'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" est une expression en option tels que "field1 = \'newvalue\'". Vous ne pouvez pas mettre Ã\xa0 jour ou supprimer les résultats d\'une jointure "a JOIN"', '%Y-%m-%d': '%d-%m-%Y', '%Y-%m-%d %H:%M:%S': '%d-%m-%Y %H:%M:%S', '%s rows deleted': 'lignes %s supprimé', '%s rows updated': 'lignes %s mis Ã\xa0 jour', '(something like "it-it")': '(quelque chose comme "it-it") ', 'A new version of web2py is available: %s': 'Une nouvelle version de web2py est disponible: %s ', 'A new version of web2py is available: Version 1.68.2 (2009-10-21 09:59:29)\n': 'Une nouvelle version de web2py est disponible: Version 1.68.2 (2009-10-21 09:59:29)\r\n', 'ATTENTION: Login requires a secure (HTTPS) connection or running on localhost.': 'ATTENTION: nécessite une connexion sécurisée (HTTPS) ou être en localhost. ', 'ATTENTION: TESTING IS NOT THREAD SAFE SO DO NOT PERFORM MULTIPLE TESTS CONCURRENTLY.': 'ATTENTION: les tests ne sont pas thread-safe DONC NE PAS EFFECTUER DES TESTS MULTIPLES SIMULTANÃ\x89MENT.', 'ATTENTION: you cannot edit the running application!': "ATTENTION: vous ne pouvez pas modifier l'application qui tourne!", 'About': 'Ã\x80 propos', 'About application': "A propos de l'application", 'Admin is disabled because insecure channel': 'Admin est désactivé parce que canal non sécurisé', 'Administrator Password:': 'Mot de passe Administrateur:', 'Are you sure you want to delete file "%s"?': 'Etes-vous sûr de vouloir supprimer le fichier «%s»?', 'Are you sure you want to delete plugin "%s"?': 'Etes-vous sûr de vouloir effacer le plugin "%s"?', 'Are you sure you want to uninstall application "%s"?': "Ã\x8ates-vous sûr de vouloir désinstaller l'application «%s»?", 'Available databases and tables': 'Bases de données et tables disponible', 'Cannot be empty': 'Ne peut pas être vide', 'Cannot compile: there are errors in your app. Debug it, correct errors and try again.': 'Ne peut pas compiler: il y a des erreurs dans votre application. corriger les erreurs et essayez Ã\xa0 nouveau.', 'Check to delete': 'Cocher pour supprimer', 'Checking for upgrades...': 'Vérification des mises Ã\xa0 jour ... ', 'Controllers': 'Contrôleurs', 'Create new application': 'Créer une nouvelle application', 'Current request': 'Requête actuel', 'Current response': 'Réponse actuelle', 'Current session': 'Session en cours', 'Date and Time': 'Date et heure', 'Delete': 'Supprimer', 'Delete:': 'Supprimer:', 'Deploy on Google App Engine': 'Déployer sur Google App Engine', 'EDIT': 'MODIFIER', 'Edit application': "Modifier l'application", 'Edit current record': 'Modifier cet entrée', 'Editing Language file': 'Modifier le fichier de langue', 'Editing file': 'Modifier le fichier', 'Editing file "%s"': 'Modifier le fichier "% s" ', 'Enterprise Web Framework': 'Enterprise Web Framework', 'Error logs for "%(app)s"': 'Journal d\'erreurs pour "%(app)s"', 'Functions with no doctests will result in [passed] tests.': 'Des fonctions sans doctests entraînera tests [passed] .', 'If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.\nA green title indicates that all tests (if defined) passed. In this case test results are not shown.': "Si le rapport ci-dessus contient un numéro de ticket, cela indique une défaillance dans l'exécution du contrôleur, avant toute tentative d'exécuter les doctests. Cela est généralement dû Ã\xa0 une erreur d'indentation ou une erreur Ã\xa0 l'extérieur du code de la fonction.\r\nUn titre verte indique que tous les tests (si définie) passed. Dans ce cas, les résultats des essais ne sont pas affichées.", 'Import/Export': 'Importer/Exporter', 'Installed applications': 'Les applications installées', 'Internal State': 'Ã\x89tat Interne', 'Invalid Query': 'Requête non valide', 'Invalid action': 'Action non valide', 'Language files (static strings) updated': 'Fichiers de langue (static strings) Mise Ã\xa0 jour ', 'Languages': 'Langues', 'Last saved on:': 'Dernière sauvegarde le:', 'License for': 'Licence pour', 'Login': 'Connexion', 'Login to the Administrative Interface': "Se connecter Ã\xa0 l'interface d'administration", 'Models': 'Modèles', 'Modules': 'Modules', 'NO': 'NON', 'New Record': 'Nouvel Entrée', 'No databases in this application': 'Aucune base de données dans cette application', 'Original/Translation': 'Original / Traduction', 'Peeking at file': 'Jeter un oeil au fichier', 'Plugin "%s" in application': 'Plugin "%s" dans l\'application', 'Plugins': 'Plugins', 'Powered by': 'Propulsé par', 'Query:': 'Requête: ', 'Resolve Conflict file': 'Résoudre les conflits de fichiers', 'Rows in table': 'Lignes de la table', 'Rows selected': 'Lignes sélectionnées', 'Saved file hash:': 'Hash du Fichier enregistré:', 'Static files': 'Fichiers statiques', 'Sure you want to delete this object?': 'Vous êtes sûr de vouloir supprimer cet objet? ', 'TM': 'MD', 'Testing application': "Test de l'application", 'The "query" is a condition like "db.table1.field1==\'value\'". Something like "db.table1.field1==db.table2.field2" results in a SQL JOIN.': 'La "requête" est une condition comme "db.table1.field1==\'value\'". Quelque chose comme "db.table1.field1==db.table2.field2" aboutit Ã\xa0 un JOIN SQL.', 'There are no controllers': "Il n'existe pas de contrôleurs", 'There are no models': "Il n'existe pas de modèles", 'There are no modules': "Il n'existe pas de modules", 'There are no static files': "Il n'existe pas de fichiers statiques", 'There are no translators, only default language is supported': "Il n'y a pas de traducteurs, est prise en charge uniquement la langue par défaut", 'There are no views': "Il n'existe pas de vues", 'This is the %(filename)s template': 'Ceci est le modèle %(filename)s ', 'Ticket': 'Ticket', 'To create a plugin, name a file/folder plugin_[name]': 'Pour créer un plugin, créer un fichier /dossier plugin_[nom]', 'Unable to check for upgrades': 'Impossible de vérifier les mises Ã\xa0 niveau', 'Unable to download': 'Impossible de télécharger', 'Unable to download app': 'Impossible de télécharger app', 'Update:': 'Mise Ã\xa0 jour:', 'Upload & install packed application': 'Upload & install packed application', 'Upload existing application': 'charger une application existante', 'Use (...)&(...) for AND, (...)|(...) for OR, and ~(...) for NOT to build more complex queries.': 'Utilisez (...)&(...) pour AND, (...)|(...) pour OR, et ~(...) pour NOT et construire des requêtes plus complexes. ', 'Version': 'Version', 'Views': 'Vues', 'YES': 'OUI', 'about': 'Ã\xa0 propos', 'additional code for your application': 'code supplémentaire pour votre application', 'admin disabled because no admin password': 'admin désactivé car aucun mot de passe admin', 'admin disabled because not supported on google apps engine': 'admin désactivé car non pris en charge sur Google Apps engine', 'admin disabled because unable to access password file': "admin désactivé car incapable d'accéder au fichier mot de passe", 'and rename it (required):': 'et renommez-la (obligatoire):', 'and rename it:': 'et renommez-le:', 'appadmin': 'appadmin', 'appadmin is disabled because insecure channel': 'appadmin est désactivé parce que canal non sécurisé', 'application "%s" uninstalled': 'application "%s" désinstallé', 'application %(appname)s installed with md5sum: %(digest)s': 'application %(appname)s installed with md5sum: %(digest)s', 'application compiled': 'application compilée', 'application is compiled and cannot be designed': "l'application est compilée et ne peut être désigné", 'back': 'retour', 'cache, errors and sessions cleaned': 'cache, erreurs et sessions nettoyé', 'cannot create file': 'ne peu pas créer de fichier', 'cannot upload file "%(filename)s"': 'ne peu pas charger le fichier "%(filename)s"', 'check all': 'tous vérifier ', 'clean': 'nettoyer', 'click to check for upgrades': 'Cliquez pour vérifier les mises Ã\xa0 niveau', 'compile': 'compiler', 'compiled application removed': 'application compilée enlevé', 'controllers': 'contrôleurs', 'create': 'create', 'create file with filename:': 'créer un fichier avec nom de fichier:', 'create new application:': 'créer une nouvelle application:', 'created by': 'créé par', 'crontab': 'crontab', 'currently saved or': 'actuellement enregistrés ou', 'data uploaded': 'données chargées', 'database': 'base de données', 'database %s select': 'base de données %s sélectionner', 'database administration': 'administration base de données', 'db': 'db', 'defines tables': 'définit les tables', 'delete': 'supprimer', 'delete all checked': 'supprimer tout ce qui est cocher', 'delete plugin': ' supprimer plugin', 'design': 'conception', 'done!': 'fait!', 'edit': 'modifier', 'edit controller': 'modifier contrôleur', 'errors': 'erreurs', 'export as csv file': 'exportation au format CSV', 'exposes': 'expose', 'extends': 'étend', 'failed to reload module': 'impossible de recharger le module', 'file "%(filename)s" created': 'fichier "%(filename)s" créé', 'file "%(filename)s" deleted': 'fichier "%(filename)s" supprimé', 'file "%(filename)s" uploaded': 'fichier "%(filename)s" chargé', 'file "%s" of %s restored': 'fichier "%s" de %s restauré', 'file changed on disk': 'fichier modifié sur le disque', 'file does not exist': "fichier n'existe pas", 'file saved on %(time)s': 'fichier enregistré le %(time)s', 'file saved on %s': 'fichier enregistré le %s', 'help': 'aide', 'htmledit': 'edition html', 'includes': 'inclus', 'insert new': 'insérer nouveau', 'insert new %s': 'insérer nouveau %s', 'install': 'install', 'internal error': 'erreur interne', 'invalid password': 'mot de passe invalide', 'invalid request': 'Demande incorrecte', 'invalid ticket': 'ticket non valide', 'language file "%(filename)s" created/updated': 'fichier de langue "%(filename)s" créé/mis Ã\xa0 jour', 'languages': 'langues', 'loading...': 'Chargement ...', 'login': 'connexion', 'logout': 'déconnexion', 'merge': 'fusionner', 'models': 'modèles', 'modules': 'modules', 'new application "%s" created': 'nouvelle application "%s" créée', 'new plugin installed': 'nouveau plugin installé', 'new record inserted': 'nouvelle entrée inséré', 'next 100 rows': '100 lignes suivantes', 'or import from csv file': 'ou importer depuis un fichier CSV ', 'or provide app url:': 'or provide app url:', 'or provide application url:': "ou fournir l'URL de l'application:", 'overwrite installed app': 'overwrite installed app', 'pack all': 'tout empaqueter', 'pack compiled': 'paquet compilé', 'pack plugin': 'paquet plugin', 'plugin "%(plugin)s" deleted': 'plugin "%(plugin)s" supprimé', 'previous 100 rows': '100 lignes précédentes', 'record': 'entrée', 'record does not exist': "l'entrée n'existe pas", 'record id': 'id entrée', 'remove compiled': 'retirer compilé', 'restore': 'restaurer', 'revert': 'revenir', 'save': 'sauver', 'selected': 'sélectionnés', 'session expired': 'la session a expiré ', 'shell': 'shell', 'site': 'site', 'some files could not be removed': 'certains fichiers ne peuvent pas être supprimés', 'state': 'état', 'static': 'statiques', 'submit': 'envoyer', 'table': 'table', 'test': 'tester', 'the application logic, each URL path is mapped in one exposed function in the controller': "la logique de l'application, chaque route URL est mappé dans une fonction exposée dans le contrôleur", 'the data representation, define database tables and sets': 'la représentation des données, défini les tables de bases de données et sets', 'the presentations layer, views are also known as templates': 'la couche des présentations, les vues sont également connus en tant que modèles', 'these files are served without processing, your images go here': 'ces fichiers sont servis sans transformation, vos images vont ici', 'to previous version.': 'Ã\xa0 la version précédente.', 'translation strings for the application': "chaînes de traduction de l'application", 'try': 'essayer', 'try something like': 'essayez quelque chose comme', 'unable to create application "%s"': 'impossible de créer l\'application "%s"', 'unable to delete file "%(filename)s"': 'impossible de supprimer le fichier "%(filename)s"', 'unable to delete file plugin "%(plugin)s"': 'impossible de supprimer le plugin "%(plugin)s"', 'unable to parse csv file': "impossible d'analyser les fichiers CSV", 'unable to uninstall "%s"': 'impossible de désinstaller "%s"', 'uncheck all': 'tout décocher', 'uninstall': 'désinstaller', 'update': 'mettre Ã\xa0 jour', 'update all languages': 'mettre Ã\xa0 jour toutes les langues', 'upload application:': "charger l'application:", 'upload file:': 'charger le fichier:', 'upload plugin file:': 'charger fichier plugin:', 'versioning': 'versioning', 'view': 'vue', 'views': 'vues', 'web2py Recent Tweets': 'web2py Tweets récentes', 'web2py is up to date': 'web2py est Ã\xa0 jour'} |
'''
Given an input of a 2D array of integers, removes all duplicates from the array.
Empty sub-arrays are removed.
'''
map = {}
def remove_duplicates(all_nums):
end_index = len(all_nums) #length of all_nums
i = 0 #current index of all_nums
while(i < end_index):
j = 0 #current index of sub-array
sub_arr = all_nums[i]
sub_end = len(sub_arr)
while(j < sub_end):
if(map.get(sub_arr[j]) != None):
sub_end = sub_end - 1 #decrease length of sub_arr due removal
sub_arr.remove(sub_arr[j])
if(len(all_nums[i]) == 0):
end_index = end_index - 1 #decrease length of all_nums due to empty array removal
all_nums.remove(all_nums[i])
i = i - 1
continue
else:
print("No",sub_arr[j],"found in map.")
map[sub_arr[j]] = 1
j = j + 1
i = i + 1
print(all_nums)
arr = [[1, 2], [2, 2, 2, 2, 2], [2, 3], [4, 5, 2, 2, 2], [3, 3, 3, 4]]
remove_duplicates(arr)
| """
Given an input of a 2D array of integers, removes all duplicates from the array.
Empty sub-arrays are removed.
"""
map = {}
def remove_duplicates(all_nums):
end_index = len(all_nums)
i = 0
while i < end_index:
j = 0
sub_arr = all_nums[i]
sub_end = len(sub_arr)
while j < sub_end:
if map.get(sub_arr[j]) != None:
sub_end = sub_end - 1
sub_arr.remove(sub_arr[j])
if len(all_nums[i]) == 0:
end_index = end_index - 1
all_nums.remove(all_nums[i])
i = i - 1
continue
else:
print('No', sub_arr[j], 'found in map.')
map[sub_arr[j]] = 1
j = j + 1
i = i + 1
print(all_nums)
arr = [[1, 2], [2, 2, 2, 2, 2], [2, 3], [4, 5, 2, 2, 2], [3, 3, 3, 4]]
remove_duplicates(arr) |
#--------------------------------------------------------------------------
# Scrapy Settings
#--------------------------------------------------------------------------
BOT_NAME = 'scrapy_frontier'
SPIDER_MODULES = ['scrapy_recording.spiders']
NEWSPIDER_MODULE = 'scrapy_recording.spiders'
HTTPCACHE_ENABLED = True
REDIRECT_ENABLED = True
COOKIES_ENABLED = False
DOWNLOAD_TIMEOUT = 20
RETRY_ENABLED = False
CONCURRENT_REQUESTS = 256
CONCURRENT_REQUESTS_PER_DOMAIN = 2
LOGSTATS_INTERVAL = 10
#--------------------------------------------------------------------------
# Recorder Settings
#--------------------------------------------------------------------------
SPIDER_MIDDLEWARES = {
'frontera.contrib.scrapy.middlewares.schedulers.SchedulerSpiderMiddleware': 999
}
DOWNLOADER_MIDDLEWARES = {
'frontera.contrib.scrapy.middlewares.schedulers.SchedulerDownloaderMiddleware': 999
}
SCHEDULER = 'frontera.contrib.scrapy.schedulers.recording.RecorderScheduler'
RECORDER_ENABLED = True
RECORDER_STORAGE_ENGINE = 'sqlite:///scrapy_recording/recordings/record.db'
RECORDER_STORAGE_DROP_ALL_TABLES = True
RECORDER_STORAGE_CLEAR_CONTENT = True
| bot_name = 'scrapy_frontier'
spider_modules = ['scrapy_recording.spiders']
newspider_module = 'scrapy_recording.spiders'
httpcache_enabled = True
redirect_enabled = True
cookies_enabled = False
download_timeout = 20
retry_enabled = False
concurrent_requests = 256
concurrent_requests_per_domain = 2
logstats_interval = 10
spider_middlewares = {'frontera.contrib.scrapy.middlewares.schedulers.SchedulerSpiderMiddleware': 999}
downloader_middlewares = {'frontera.contrib.scrapy.middlewares.schedulers.SchedulerDownloaderMiddleware': 999}
scheduler = 'frontera.contrib.scrapy.schedulers.recording.RecorderScheduler'
recorder_enabled = True
recorder_storage_engine = 'sqlite:///scrapy_recording/recordings/record.db'
recorder_storage_drop_all_tables = True
recorder_storage_clear_content = True |
BLOCK_SIZE = 1024
SERVER_IP = None
BACKING_FNs = ['../songs/lamprey/drums.wav', '../songs/lamprey/bass.wav',
'../songs/lamprey/piano.wav', '../songs/lamprey/violin.wav']
STARTUP_DELAY = 1.0
MAX_AUDIO_OUTPUT_QUEUE_LENGTH = 10
| block_size = 1024
server_ip = None
backing_f_ns = ['../songs/lamprey/drums.wav', '../songs/lamprey/bass.wav', '../songs/lamprey/piano.wav', '../songs/lamprey/violin.wav']
startup_delay = 1.0
max_audio_output_queue_length = 10 |
PUZZLE_PRICE = 2.60
TALKING_DOLL_PRICE = 3
TEDDY_BEAR_PRICE = 4.10
MINION_PRICE = 8.20
TRUCK_PRICE = 2
trip_price = float(input())
puzzles_count = int(input())
talking_dolls_count = int(input())
teddy_bears_count = int(input())
minions_count = int(input())
trucks_count = int(input())
total_count = puzzles_count + talking_dolls_count + teddy_bears_count + minions_count + trucks_count
total_price = puzzles_count * PUZZLE_PRICE + \
talking_dolls_count * TALKING_DOLL_PRICE + \
teddy_bears_count * TEDDY_BEAR_PRICE + \
minions_count * MINION_PRICE + \
trucks_count * TRUCK_PRICE
if total_count >= 50:
total_income = total_price - 0.25 * total_price
else:
total_income = total_price
total_income_after_rent = total_income - 0.10 * total_income
money_left = total_income_after_rent - trip_price
money_needed = trip_price - total_income_after_rent
if money_left >= 0:
print(f"Yes! {money_left:.2f} lv left.")
else:
print(f"Not enough money! {money_needed:.2f} lv needed.")
| puzzle_price = 2.6
talking_doll_price = 3
teddy_bear_price = 4.1
minion_price = 8.2
truck_price = 2
trip_price = float(input())
puzzles_count = int(input())
talking_dolls_count = int(input())
teddy_bears_count = int(input())
minions_count = int(input())
trucks_count = int(input())
total_count = puzzles_count + talking_dolls_count + teddy_bears_count + minions_count + trucks_count
total_price = puzzles_count * PUZZLE_PRICE + talking_dolls_count * TALKING_DOLL_PRICE + teddy_bears_count * TEDDY_BEAR_PRICE + minions_count * MINION_PRICE + trucks_count * TRUCK_PRICE
if total_count >= 50:
total_income = total_price - 0.25 * total_price
else:
total_income = total_price
total_income_after_rent = total_income - 0.1 * total_income
money_left = total_income_after_rent - trip_price
money_needed = trip_price - total_income_after_rent
if money_left >= 0:
print(f'Yes! {money_left:.2f} lv left.')
else:
print(f'Not enough money! {money_needed:.2f} lv needed.') |
ATArticle = 0
ATString = 1
ATBasePrice = 2
ATReleased = 3
ATEmblemPrices = 4
AHat = 0
AGlasses = 1
ABackpack = 2
AShoes = 3
ABoysHat = 4
ABoysGlasses = 5
ABoysBackpack = 6
ABoysShoes = 7
AGirlsHat = 8
AGirlsGlasses = 9
AGirlsBackpack = 10
AGirlsShoes = 11
APriceTest = 5
APriceBasic = 250
APriceBasicPlus = 400
APriceCool = 800
APriceAwesome = 1500
AccessoryTypes = {101: (AHat,
'hbb1',
APriceBasic,
1),
102: (AHat,
'hsf1',
APriceCool,
5),
103: (AGirlsHat,
'hrb1',
APriceBasic,
1),
104: (AHat,
'hsf2',
APriceCool,
0),
105: (AHat,
'hsf3',
APriceCool,
0),
106: (AGirlsHat,
'hrb2',
APriceBasicPlus,
3),
107: (AGirlsHat,
'hrb3',
APriceBasicPlus,
0),
108: (AHat,
'hht1',
APriceCool,
4),
109: (AHat,
'hht2',
APriceCool,
3),
110: (AHat,
'htp1',
APriceCool,
3),
111: (AHat,
'htp2',
APriceCool,
0),
112: (AHat,
'hav1',
3500,
0),
113: (AHat,
'hfp1',
3500,
0),
114: (AHat,
'hsg1',
3500,
0),
115: (AHat,
'hwt1',
3500,
0),
116: (AHat,
'hfz1',
APriceCool,
5),
117: (AHat,
'hgf1',
APriceCool,
1),
118: (AHat,
'hpt1',
APriceBasicPlus,
1),
119: (AHat,
'hpb1',
APriceBasicPlus,
6),
120: (ABoysHat,
'hcr1',
10000,
5),
121: (AHat,
'hbb2',
APriceBasic,
2),
122: (AHat,
'hbb3',
APriceBasic,
2),
123: (AHat,
'hcw1',
APriceCool,
1),
124: (AHat,
'hpr1',
APriceAwesome,
1),
125: (AHat,
'hpp1',
APriceBasicPlus,
1),
126: (AHat,
'hfs1',
APriceCool,
1),
127: (AHat,
'hsb1',
APriceAwesome,
1),
128: (AHat,
'hst1',
APriceBasicPlus,
1),
129: (AGirlsHat,
'hsu1',
APriceCool,
1),
130: (AGirlsHat,
'hrb4',
APriceBasic,
1),
131: (AGirlsHat,
'hrb5',
APriceBasicPlus,
4),
132: (AGirlsHat,
'hrb6',
APriceBasic,
2),
133: (AGirlsHat,
'hrb7',
APriceBasicPlus,
6),
134: (AHat,
'hat1',
APriceCool,
2),
135: (AGirlsHat,
'hhd1',
APriceCool,
2),
136: (AHat,
'hbw1',
APriceCool,
6),
137: (AHat,
'hch1',
APriceCool,
5),
138: (AHat,
'hdt1',
APriceAwesome,
6),
139: (AHat,
'hft1',
APriceCool,
4),
140: (AHat,
'hfd1',
APriceCool,
6),
141: (AHat,
'hmk1',
APriceAwesome,
2),
142: (AHat,
'hft2',
APriceCool,
6),
143: (ABoysHat,
'hhd2',
APriceCool,
3),
144: (AGirlsHat,
'hpc1',
APriceCool,
5),
145: (AHat,
'hrh1',
APriceCool,
2),
146: (AHat,
'hhm1',
2500,
2),
147: (AHat,
'hat2',
APriceCool,
2),
148: (AGirlsHat,
'htr1',
10000,
3),
149: (AHat,
'hhm2',
APriceAwesome,
2),
150: (AHat,
'hwz1',
APriceCool,
2),
151: (AHat,
'hwz2',
APriceCool,
2),
152: (AHat,
'hhm3',
APriceAwesome,
6),
153: (AHat,
'hhm4',
APriceAwesome,
5),
154: (AHat,
'hfp2',
APriceCool,
5),
155: (AHat,
'hhm5',
APriceAwesome,
4),
156: (AHat,
'hnp1',
APriceAwesome,
6),
157: (AHat,
'hpc2',
APriceAwesome,
3),
158: (AHat,
'hph1',
APriceAwesome,
4),
159: (AHat,
'hwg1',
APriceCool,
5),
160: (AHat,
'hbb4',
APriceBasic,
5),
161: (AHat,
'hbb5',
APriceBasic,
2),
162: (AHat,
'hbb6',
APriceBasic,
5),
163: (AHat,
'hsl1',
APriceCool,
5),
164: (AHat,
'hfr1',
3000,
4),
165: (AHat,
'hby1',
APriceAwesome,
5),
166: (AGirlsHat,
'hrb8',
APriceBasicPlus,
6),
167: (AHat,
'hjh1',
APriceAwesome,
3),
168: (AHat,
'hbb7',
APriceBasic,
6),
169: (AGirlsHat,
'hrb9',
APriceBasicPlus,
6),
170: (AHat,
'hwt2',
APriceAwesome,
4),
171: (AGirlsHat,
'hhw1',
APriceBasicPlus,
7),
172: (AHat,
'hhw2',
900,
7),
173: (AHat,
'hob1',
APriceAwesome,
6),
174: (AHat,
'hbn1',
APriceAwesome,
8),
175: (AHat,
'hpt2',
APriceCool,
9),
176: (AHat,
'kmh1',
APriceAwesome,
8),
201: (AGlasses,
'grd1',
APriceBasicPlus,
0),
202: (AGlasses,
'gmb1',
APriceCool,
1),
203: (AGlasses,
'gnr1',
APriceCool,
0),
204: (AGlasses,
'gst1',
APriceBasicPlus,
1),
205: (AGlasses,
'g3d1',
APriceCool,
1),
206: (AGlasses,
'gav1',
APriceCool,
1),
207: (AGlasses,
'gce1',
APriceCool,
2),
208: (AGlasses,
'gdk1',
APriceBasic,
1),
209: (AGlasses,
'gjo1',
APriceBasicPlus,
1),
210: (AGlasses,
'gsb1',
APriceAwesome,
1),
211: (AGlasses,
'ggl1',
APriceCool,
6),
212: (AGlasses,
'ggm1',
APriceBasicPlus,
2),
213: (AGlasses,
'ghg1',
APriceAwesome,
3),
214: (AGlasses,
'gie1',
APriceCool,
2),
215: (AGlasses,
'gmt1',
APriceCool,
2),
216: (AGlasses,
'gmt2',
APriceCool,
2),
217: (AGlasses,
'gmt3',
3500,
5),
218: (AGlasses,
'gmt4',
3500,
5),
219: (AGlasses,
'gmt5',
3500,
5),
220: (AGlasses,
'gmn1',
APriceAwesome,
6),
221: (AGlasses,
'gmo1',
APriceAwesome,
4),
222: (AGlasses,
'gsr1',
APriceBasicPlus,
5),
223: (ABoysGlasses,
'ghw1',
APriceTest,
0),
224: (ABoysGlasses,
'ghw2',
APriceBasic,
7),
225: (AGlasses,
'gag1',
APriceAwesome,
8),
301: (ABackpack,
'bpb1',
APriceBasic,
4),
302: (ABackpack,
'bpb2',
APriceBasic,
1),
303: (ABackpack,
'bpb3',
APriceBasic,
5),
304: (ABackpack,
'bpd1',
APriceBasicPlus,
4),
305: (ABackpack,
'bpd2',
APriceBasicPlus,
5),
306: (ABackpack,
'bwg1',
APriceCool,
2),
307: (ABackpack,
'bwg2',
APriceCool,
2),
308: (ABackpack,
'bwg3',
APriceCool,
1),
309: (ABackpack,
'bst1',
APriceAwesome,
1),
310: (ABackpack,
'bfn1',
APriceCool,
1),
311: (ABackpack,
'baw1',
APriceCool,
3),
312: (ABackpack,
'baw2',
APriceAwesome,
2),
313: (ABackpack,
'bwt1',
3000,
3),
314: (ABackpack,
'bwg4',
APriceAwesome,
6),
315: (ABackpack,
'bwg5',
3000,
5),
316: (ABackpack,
'bwg6',
3000,
4),
317: (ABackpack,
'bjp1',
3000,
1),
318: (ABackpack,
'blg1',
APriceCool,
2),
319: (ABackpack,
'bsa1',
2500,
5),
320: (ABackpack,
'bwg7',
APriceAwesome,
6),
321: (ABackpack,
'bsa2',
2000,
2),
322: (ABackpack,
'bsa3',
2000,
2),
323: (ABackpack,
'bap1',
5000,
4),
324: (ABackpack,
'bhw1',
900,
7),
325: (ABackpack,
'bhw2',
APriceBasicPlus,
7),
326: (ABackpack,
'bhw3',
APriceBasicPlus,
7),
327: (ABackpack,
'bhw4',
900,
7),
328: (ABackpack,
'bob1',
3000,
6),
329: (ABackpack,
'bfg1',
3000,
6),
330: (ABackpack,
'bfl1',
APriceAwesome,
8),
401: (AShoes,
'sat1',
APriceBasic,
3),
402: (AShoes,
'sat2',
APriceBasic,
1),
403: (AShoes,
'smb1',
APriceAwesome,
1),
404: (AShoes,
'scs1',
APriceBasicPlus,
6),
405: (ABoysShoes,
'swt1',
APriceBasicPlus,
1),
406: (AGirlsShoes,
'smj1',
APriceBasicPlus,
1),
407: (AShoes,
'sdk1',
APriceBasic,
1),
408: (AShoes,
'sat3',
APriceBasic,
1),
409: (AShoes,
'scs2',
APriceBasicPlus,
1),
410: (AShoes,
'scs3',
APriceBasicPlus,
1),
411: (AShoes,
'scs4',
APriceBasicPlus,
1),
412: (AShoes,
'scb1',
APriceAwesome,
1),
413: (AShoes,
'sfb1',
APriceCool,
1),
414: (AShoes,
'sht1',
APriceAwesome,
4),
415: (AGirlsShoes,
'smj2',
APriceBasicPlus,
3),
416: (AGirlsShoes,
'smj3',
APriceBasicPlus,
4),
417: (AShoes,
'ssb1',
APriceAwesome,
2),
418: (AShoes,
'sts1',
APriceBasic,
5),
419: (AShoes,
'sts2',
APriceBasic,
4),
420: (AShoes,
'scs5',
APriceBasicPlus,
4),
421: (AShoes,
'smb2',
APriceAwesome,
3),
422: (AShoes,
'smb3',
APriceAwesome,
2),
423: (AShoes,
'smb4',
APriceAwesome,
5),
424: (AShoes,
'sfb2',
2000,
6),
425: (AShoes,
'sfb3',
2000,
4),
426: (AShoes,
'sfb4',
2000,
3),
427: (AShoes,
'sfb5',
2000,
5),
428: (AShoes,
'sfb6',
2000,
4),
429: (AShoes,
'slf1',
APriceBasicPlus,
3),
430: (AGirlsShoes,
'smj4',
APriceBasicPlus,
2),
431: (AShoes,
'smt1',
APriceAwesome,
4),
432: (AShoes,
'sox1',
APriceAwesome,
5),
433: (AShoes,
'srb1',
APriceAwesome,
6),
434: (AShoes,
'sst1',
3000,
3),
435: (AShoes,
'swb1',
APriceCool,
3),
436: (AShoes,
'swb2',
APriceCool,
4),
437: (AShoes,
'swk1',
APriceAwesome,
3),
438: (AShoes,
'scs6',
APriceBasicPlus,
0),
439: (AShoes,
'smb5',
APriceAwesome,
3),
440: (AShoes,
'sht2',
APriceAwesome,
4),
441: (AShoes,
'srb2',
APriceAwesome,
3),
442: (AShoes,
'sts3',
APriceBasic,
6),
443: (AShoes,
'sts4',
APriceBasic,
3),
444: (AShoes,
'sts5',
APriceBasic,
2),
445: (AShoes,
'srb3',
APriceCool,
5),
446: (AShoes,
'srb4',
APriceCool,
3),
447: (AShoes,
'sat4',
APriceBasic,
3),
448: (AShoes,
'shw1',
APriceCool,
7),
449: (AShoes,
'shw2',
APriceCool,
7)}
LoyaltyAccessoryItems = []
| at_article = 0
at_string = 1
at_base_price = 2
at_released = 3
at_emblem_prices = 4
a_hat = 0
a_glasses = 1
a_backpack = 2
a_shoes = 3
a_boys_hat = 4
a_boys_glasses = 5
a_boys_backpack = 6
a_boys_shoes = 7
a_girls_hat = 8
a_girls_glasses = 9
a_girls_backpack = 10
a_girls_shoes = 11
a_price_test = 5
a_price_basic = 250
a_price_basic_plus = 400
a_price_cool = 800
a_price_awesome = 1500
accessory_types = {101: (AHat, 'hbb1', APriceBasic, 1), 102: (AHat, 'hsf1', APriceCool, 5), 103: (AGirlsHat, 'hrb1', APriceBasic, 1), 104: (AHat, 'hsf2', APriceCool, 0), 105: (AHat, 'hsf3', APriceCool, 0), 106: (AGirlsHat, 'hrb2', APriceBasicPlus, 3), 107: (AGirlsHat, 'hrb3', APriceBasicPlus, 0), 108: (AHat, 'hht1', APriceCool, 4), 109: (AHat, 'hht2', APriceCool, 3), 110: (AHat, 'htp1', APriceCool, 3), 111: (AHat, 'htp2', APriceCool, 0), 112: (AHat, 'hav1', 3500, 0), 113: (AHat, 'hfp1', 3500, 0), 114: (AHat, 'hsg1', 3500, 0), 115: (AHat, 'hwt1', 3500, 0), 116: (AHat, 'hfz1', APriceCool, 5), 117: (AHat, 'hgf1', APriceCool, 1), 118: (AHat, 'hpt1', APriceBasicPlus, 1), 119: (AHat, 'hpb1', APriceBasicPlus, 6), 120: (ABoysHat, 'hcr1', 10000, 5), 121: (AHat, 'hbb2', APriceBasic, 2), 122: (AHat, 'hbb3', APriceBasic, 2), 123: (AHat, 'hcw1', APriceCool, 1), 124: (AHat, 'hpr1', APriceAwesome, 1), 125: (AHat, 'hpp1', APriceBasicPlus, 1), 126: (AHat, 'hfs1', APriceCool, 1), 127: (AHat, 'hsb1', APriceAwesome, 1), 128: (AHat, 'hst1', APriceBasicPlus, 1), 129: (AGirlsHat, 'hsu1', APriceCool, 1), 130: (AGirlsHat, 'hrb4', APriceBasic, 1), 131: (AGirlsHat, 'hrb5', APriceBasicPlus, 4), 132: (AGirlsHat, 'hrb6', APriceBasic, 2), 133: (AGirlsHat, 'hrb7', APriceBasicPlus, 6), 134: (AHat, 'hat1', APriceCool, 2), 135: (AGirlsHat, 'hhd1', APriceCool, 2), 136: (AHat, 'hbw1', APriceCool, 6), 137: (AHat, 'hch1', APriceCool, 5), 138: (AHat, 'hdt1', APriceAwesome, 6), 139: (AHat, 'hft1', APriceCool, 4), 140: (AHat, 'hfd1', APriceCool, 6), 141: (AHat, 'hmk1', APriceAwesome, 2), 142: (AHat, 'hft2', APriceCool, 6), 143: (ABoysHat, 'hhd2', APriceCool, 3), 144: (AGirlsHat, 'hpc1', APriceCool, 5), 145: (AHat, 'hrh1', APriceCool, 2), 146: (AHat, 'hhm1', 2500, 2), 147: (AHat, 'hat2', APriceCool, 2), 148: (AGirlsHat, 'htr1', 10000, 3), 149: (AHat, 'hhm2', APriceAwesome, 2), 150: (AHat, 'hwz1', APriceCool, 2), 151: (AHat, 'hwz2', APriceCool, 2), 152: (AHat, 'hhm3', APriceAwesome, 6), 153: (AHat, 'hhm4', APriceAwesome, 5), 154: (AHat, 'hfp2', APriceCool, 5), 155: (AHat, 'hhm5', APriceAwesome, 4), 156: (AHat, 'hnp1', APriceAwesome, 6), 157: (AHat, 'hpc2', APriceAwesome, 3), 158: (AHat, 'hph1', APriceAwesome, 4), 159: (AHat, 'hwg1', APriceCool, 5), 160: (AHat, 'hbb4', APriceBasic, 5), 161: (AHat, 'hbb5', APriceBasic, 2), 162: (AHat, 'hbb6', APriceBasic, 5), 163: (AHat, 'hsl1', APriceCool, 5), 164: (AHat, 'hfr1', 3000, 4), 165: (AHat, 'hby1', APriceAwesome, 5), 166: (AGirlsHat, 'hrb8', APriceBasicPlus, 6), 167: (AHat, 'hjh1', APriceAwesome, 3), 168: (AHat, 'hbb7', APriceBasic, 6), 169: (AGirlsHat, 'hrb9', APriceBasicPlus, 6), 170: (AHat, 'hwt2', APriceAwesome, 4), 171: (AGirlsHat, 'hhw1', APriceBasicPlus, 7), 172: (AHat, 'hhw2', 900, 7), 173: (AHat, 'hob1', APriceAwesome, 6), 174: (AHat, 'hbn1', APriceAwesome, 8), 175: (AHat, 'hpt2', APriceCool, 9), 176: (AHat, 'kmh1', APriceAwesome, 8), 201: (AGlasses, 'grd1', APriceBasicPlus, 0), 202: (AGlasses, 'gmb1', APriceCool, 1), 203: (AGlasses, 'gnr1', APriceCool, 0), 204: (AGlasses, 'gst1', APriceBasicPlus, 1), 205: (AGlasses, 'g3d1', APriceCool, 1), 206: (AGlasses, 'gav1', APriceCool, 1), 207: (AGlasses, 'gce1', APriceCool, 2), 208: (AGlasses, 'gdk1', APriceBasic, 1), 209: (AGlasses, 'gjo1', APriceBasicPlus, 1), 210: (AGlasses, 'gsb1', APriceAwesome, 1), 211: (AGlasses, 'ggl1', APriceCool, 6), 212: (AGlasses, 'ggm1', APriceBasicPlus, 2), 213: (AGlasses, 'ghg1', APriceAwesome, 3), 214: (AGlasses, 'gie1', APriceCool, 2), 215: (AGlasses, 'gmt1', APriceCool, 2), 216: (AGlasses, 'gmt2', APriceCool, 2), 217: (AGlasses, 'gmt3', 3500, 5), 218: (AGlasses, 'gmt4', 3500, 5), 219: (AGlasses, 'gmt5', 3500, 5), 220: (AGlasses, 'gmn1', APriceAwesome, 6), 221: (AGlasses, 'gmo1', APriceAwesome, 4), 222: (AGlasses, 'gsr1', APriceBasicPlus, 5), 223: (ABoysGlasses, 'ghw1', APriceTest, 0), 224: (ABoysGlasses, 'ghw2', APriceBasic, 7), 225: (AGlasses, 'gag1', APriceAwesome, 8), 301: (ABackpack, 'bpb1', APriceBasic, 4), 302: (ABackpack, 'bpb2', APriceBasic, 1), 303: (ABackpack, 'bpb3', APriceBasic, 5), 304: (ABackpack, 'bpd1', APriceBasicPlus, 4), 305: (ABackpack, 'bpd2', APriceBasicPlus, 5), 306: (ABackpack, 'bwg1', APriceCool, 2), 307: (ABackpack, 'bwg2', APriceCool, 2), 308: (ABackpack, 'bwg3', APriceCool, 1), 309: (ABackpack, 'bst1', APriceAwesome, 1), 310: (ABackpack, 'bfn1', APriceCool, 1), 311: (ABackpack, 'baw1', APriceCool, 3), 312: (ABackpack, 'baw2', APriceAwesome, 2), 313: (ABackpack, 'bwt1', 3000, 3), 314: (ABackpack, 'bwg4', APriceAwesome, 6), 315: (ABackpack, 'bwg5', 3000, 5), 316: (ABackpack, 'bwg6', 3000, 4), 317: (ABackpack, 'bjp1', 3000, 1), 318: (ABackpack, 'blg1', APriceCool, 2), 319: (ABackpack, 'bsa1', 2500, 5), 320: (ABackpack, 'bwg7', APriceAwesome, 6), 321: (ABackpack, 'bsa2', 2000, 2), 322: (ABackpack, 'bsa3', 2000, 2), 323: (ABackpack, 'bap1', 5000, 4), 324: (ABackpack, 'bhw1', 900, 7), 325: (ABackpack, 'bhw2', APriceBasicPlus, 7), 326: (ABackpack, 'bhw3', APriceBasicPlus, 7), 327: (ABackpack, 'bhw4', 900, 7), 328: (ABackpack, 'bob1', 3000, 6), 329: (ABackpack, 'bfg1', 3000, 6), 330: (ABackpack, 'bfl1', APriceAwesome, 8), 401: (AShoes, 'sat1', APriceBasic, 3), 402: (AShoes, 'sat2', APriceBasic, 1), 403: (AShoes, 'smb1', APriceAwesome, 1), 404: (AShoes, 'scs1', APriceBasicPlus, 6), 405: (ABoysShoes, 'swt1', APriceBasicPlus, 1), 406: (AGirlsShoes, 'smj1', APriceBasicPlus, 1), 407: (AShoes, 'sdk1', APriceBasic, 1), 408: (AShoes, 'sat3', APriceBasic, 1), 409: (AShoes, 'scs2', APriceBasicPlus, 1), 410: (AShoes, 'scs3', APriceBasicPlus, 1), 411: (AShoes, 'scs4', APriceBasicPlus, 1), 412: (AShoes, 'scb1', APriceAwesome, 1), 413: (AShoes, 'sfb1', APriceCool, 1), 414: (AShoes, 'sht1', APriceAwesome, 4), 415: (AGirlsShoes, 'smj2', APriceBasicPlus, 3), 416: (AGirlsShoes, 'smj3', APriceBasicPlus, 4), 417: (AShoes, 'ssb1', APriceAwesome, 2), 418: (AShoes, 'sts1', APriceBasic, 5), 419: (AShoes, 'sts2', APriceBasic, 4), 420: (AShoes, 'scs5', APriceBasicPlus, 4), 421: (AShoes, 'smb2', APriceAwesome, 3), 422: (AShoes, 'smb3', APriceAwesome, 2), 423: (AShoes, 'smb4', APriceAwesome, 5), 424: (AShoes, 'sfb2', 2000, 6), 425: (AShoes, 'sfb3', 2000, 4), 426: (AShoes, 'sfb4', 2000, 3), 427: (AShoes, 'sfb5', 2000, 5), 428: (AShoes, 'sfb6', 2000, 4), 429: (AShoes, 'slf1', APriceBasicPlus, 3), 430: (AGirlsShoes, 'smj4', APriceBasicPlus, 2), 431: (AShoes, 'smt1', APriceAwesome, 4), 432: (AShoes, 'sox1', APriceAwesome, 5), 433: (AShoes, 'srb1', APriceAwesome, 6), 434: (AShoes, 'sst1', 3000, 3), 435: (AShoes, 'swb1', APriceCool, 3), 436: (AShoes, 'swb2', APriceCool, 4), 437: (AShoes, 'swk1', APriceAwesome, 3), 438: (AShoes, 'scs6', APriceBasicPlus, 0), 439: (AShoes, 'smb5', APriceAwesome, 3), 440: (AShoes, 'sht2', APriceAwesome, 4), 441: (AShoes, 'srb2', APriceAwesome, 3), 442: (AShoes, 'sts3', APriceBasic, 6), 443: (AShoes, 'sts4', APriceBasic, 3), 444: (AShoes, 'sts5', APriceBasic, 2), 445: (AShoes, 'srb3', APriceCool, 5), 446: (AShoes, 'srb4', APriceCool, 3), 447: (AShoes, 'sat4', APriceBasic, 3), 448: (AShoes, 'shw1', APriceCool, 7), 449: (AShoes, 'shw2', APriceCool, 7)}
loyalty_accessory_items = [] |
def setup():
size(500,500)
smooth()
noLoop()
def draw():
background(100)
stroke(136, 29, 203)
strokeWeight(110)
line(100,150,400,150)
stroke(203, 29, 163)
strokeWeight(60)
line(100,250,400,250)
stroke(203, 29, 29)
strokeWeight(110)
line(100,350,400,350)
| def setup():
size(500, 500)
smooth()
no_loop()
def draw():
background(100)
stroke(136, 29, 203)
stroke_weight(110)
line(100, 150, 400, 150)
stroke(203, 29, 163)
stroke_weight(60)
line(100, 250, 400, 250)
stroke(203, 29, 29)
stroke_weight(110)
line(100, 350, 400, 350) |
load("//:import_external.bzl", import_external = "safe_wix_scala_maven_import_external")
def dependencies():
import_external(
name = "com_google_errorprone_error_prone_annotations",
artifact = "com.google.errorprone:error_prone_annotations:2.2.0",
artifact_sha256 = "6ebd22ca1b9d8ec06d41de8d64e0596981d9607b42035f9ed374f9de271a481a",
srcjar_sha256 = "626adccd4894bee72c3f9a0384812240dcc1282fb37a87a3f6cb94924a089496",
)
| load('//:import_external.bzl', import_external='safe_wix_scala_maven_import_external')
def dependencies():
import_external(name='com_google_errorprone_error_prone_annotations', artifact='com.google.errorprone:error_prone_annotations:2.2.0', artifact_sha256='6ebd22ca1b9d8ec06d41de8d64e0596981d9607b42035f9ed374f9de271a481a', srcjar_sha256='626adccd4894bee72c3f9a0384812240dcc1282fb37a87a3f6cb94924a089496') |
# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license
# This is a nullcontext for both sync and async. 3.7 has a nullcontext,
# but it is only for sync use.
class NullContext:
def __init__(self, enter_result=None):
self.enter_result = enter_result
def __enter__(self):
return self.enter_result
def __exit__(self, exc_type, exc_value, traceback):
pass
async def __aenter__(self):
return self.enter_result
async def __aexit__(self, exc_type, exc_value, traceback):
pass
# These are declared here so backends can import them without creating
# circular dependencies with dns.asyncbackend.
class Socket: # pragma: no cover
async def close(self):
pass
async def __aenter__(self):
return self
async def __aexit__(self, exc_type, exc_value, traceback):
await self.close()
class DatagramSocket(Socket): # pragma: no cover
async def sendto(self, what, destination, timeout):
pass
async def recvfrom(self, size, timeout):
pass
class StreamSocket(Socket): # pragma: no cover
async def sendall(self, what, destination, timeout):
pass
async def recv(self, size, timeout):
pass
class Backend: # pragma: no cover
def name(self):
return 'unknown'
async def make_socket(self, af, socktype, proto=0,
source=None, destination=None, timeout=None,
ssl_context=None, server_hostname=None):
raise NotImplementedError
| class Nullcontext:
def __init__(self, enter_result=None):
self.enter_result = enter_result
def __enter__(self):
return self.enter_result
def __exit__(self, exc_type, exc_value, traceback):
pass
async def __aenter__(self):
return self.enter_result
async def __aexit__(self, exc_type, exc_value, traceback):
pass
class Socket:
async def close(self):
pass
async def __aenter__(self):
return self
async def __aexit__(self, exc_type, exc_value, traceback):
await self.close()
class Datagramsocket(Socket):
async def sendto(self, what, destination, timeout):
pass
async def recvfrom(self, size, timeout):
pass
class Streamsocket(Socket):
async def sendall(self, what, destination, timeout):
pass
async def recv(self, size, timeout):
pass
class Backend:
def name(self):
return 'unknown'
async def make_socket(self, af, socktype, proto=0, source=None, destination=None, timeout=None, ssl_context=None, server_hostname=None):
raise NotImplementedError |
class AyaChanBotError(Exception):
pass
class AnimeImageSearchingError(AyaChanBotError):
pass
| class Ayachanboterror(Exception):
pass
class Animeimagesearchingerror(AyaChanBotError):
pass |
# lc697.py
# LeetCode 697. Degree of an Array `E`
# acc | 100% | 41'
# A~0g29
class Solution:
def findShortestSubArray(self, nums: List[int]) -> int:
if len(nums) == len(set(nums)):
return 1
count = Counter(nums)
deg = max(count.values())
ans = len(nums)
for k, v in count.items():
if v == deg:
ans = min(len(nums) - nums[::-1].index(k) - nums.index(k), ans)
return ans
| class Solution:
def find_shortest_sub_array(self, nums: List[int]) -> int:
if len(nums) == len(set(nums)):
return 1
count = counter(nums)
deg = max(count.values())
ans = len(nums)
for (k, v) in count.items():
if v == deg:
ans = min(len(nums) - nums[::-1].index(k) - nums.index(k), ans)
return ans |
cnt = 0
c = int(input())
a = []
for i in range(c):
x = int(input())
a.append(x)
for x in a:
cnt += x
print(cnt) | cnt = 0
c = int(input())
a = []
for i in range(c):
x = int(input())
a.append(x)
for x in a:
cnt += x
print(cnt) |
{
"targets": [
{
"include_dirs": [
"<!(node -e \"require('nan')\")"
],
"target_name": "cppaddon",
"sources": [ "src/lib.cpp" ]
}
]
}
| {'targets': [{'include_dirs': ['<!(node -e "require(\'nan\')")'], 'target_name': 'cppaddon', 'sources': ['src/lib.cpp']}]} |
#
# @lc app=leetcode id=276 lang=python3
#
# [276] Paint Fence
#
# @lc code=start
class Solution:
def numWays(self, n: int, k: int):
if n == 0:
return 0
if n == 1:
return k
same = 0
diff = k
for _ in range(1, n):
tmp = diff
diff = (same + diff) * (k - 1)
same = tmp
return same + diff
# @lc code=end
| class Solution:
def num_ways(self, n: int, k: int):
if n == 0:
return 0
if n == 1:
return k
same = 0
diff = k
for _ in range(1, n):
tmp = diff
diff = (same + diff) * (k - 1)
same = tmp
return same + diff |
load("@rules_pkg//:providers.bzl", "PackageVariablesInfo")
def _debvars_impl(ctx):
return PackageVariablesInfo(values = {
"package": ctx.attr.package,
"version": ctx.attr.version,
"arch": ctx.attr.arch,
})
debvars = rule(
implementation = _debvars_impl,
attrs = {
"package": attr.string(
doc = "Placeholder for our final product name.",
),
"version": attr.string(
doc = "Placeholder for our release version.",
),
"arch": attr.string(
doc = "Placeholder for our target Debian architecture.",
),
},
)
| load('@rules_pkg//:providers.bzl', 'PackageVariablesInfo')
def _debvars_impl(ctx):
return package_variables_info(values={'package': ctx.attr.package, 'version': ctx.attr.version, 'arch': ctx.attr.arch})
debvars = rule(implementation=_debvars_impl, attrs={'package': attr.string(doc='Placeholder for our final product name.'), 'version': attr.string(doc='Placeholder for our release version.'), 'arch': attr.string(doc='Placeholder for our target Debian architecture.')}) |
class Solution:
#description: Given an integer n, return the number of trailing zeroes in n!.
def trailingZeroes(self, n: int) -> int:
nFactorial = self.factorial(n)
total = 0
while nFactorial%10 == 0 and nFactorial > 0:
total += 1
nFactorial = nFactorial//10
return total
def factorial(self, n: int) -> int:
total = 1
while n >= 2:
total = total*n
n -= 1
return total
| class Solution:
def trailing_zeroes(self, n: int) -> int:
n_factorial = self.factorial(n)
total = 0
while nFactorial % 10 == 0 and nFactorial > 0:
total += 1
n_factorial = nFactorial // 10
return total
def factorial(self, n: int) -> int:
total = 1
while n >= 2:
total = total * n
n -= 1
return total |
class ClassFairnessMetadata(object):
# :brief Store metadata for an update needed to guarantee class-based fairness
# :param num_classes [int] total no. of classes
# :param class_id_to_num_examples_dict [dict<int, int>] maps class id to no. of examples in class
def __init__(self, num_classes, class_id_to_num_examples_dict):
self.num_classes = num_classes
self.class_id_to_num_examples_dict = class_id_to_num_examples_dict | class Classfairnessmetadata(object):
def __init__(self, num_classes, class_id_to_num_examples_dict):
self.num_classes = num_classes
self.class_id_to_num_examples_dict = class_id_to_num_examples_dict |
class OblioAlg(object):
def __init__(self):
self.known_tuples = {}
def put(self, attempted_tuple, response):
# This is a callback that the oblio engine feeds the results
# of your guess to.
self.known_tuples.update({attempted_tuple: response})
def produce(self):
raise NotImplemented
| class Oblioalg(object):
def __init__(self):
self.known_tuples = {}
def put(self, attempted_tuple, response):
self.known_tuples.update({attempted_tuple: response})
def produce(self):
raise NotImplemented |
N40H = {
'magnet_material' : "Arnold/Reversible/N40H",
'magnet_material_density' : 7450, # kg/m3
'magnet_youngs_modulus' : 160E9, # Pa
'magnet_poission_ratio' :.24,
'magnet_material_cost' : 712756, # $/m3
'magnetization_direction' : 'Parallel',
'B_r' : 1.285, # Tesla, magnet residual flux density
'mu_r' : 1.062, # magnet relative permeability
'magnet_max_temperature' : 80, # deg C
'magnet_max_rad_stress' : 0, # Mpa
'magnet_therm_conductivity' : 8.95, # W/m-k
} | n40_h = {'magnet_material': 'Arnold/Reversible/N40H', 'magnet_material_density': 7450, 'magnet_youngs_modulus': 160000000000.0, 'magnet_poission_ratio': 0.24, 'magnet_material_cost': 712756, 'magnetization_direction': 'Parallel', 'B_r': 1.285, 'mu_r': 1.062, 'magnet_max_temperature': 80, 'magnet_max_rad_stress': 0, 'magnet_therm_conductivity': 8.95} |
# class Tree:
# def __init__(self, val, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
def solve(self, preorder, inorder):
pi = 0
n = len(preorder)
def helper(i,j):
nonlocal pi
if i > j:
return
node = Tree(preorder[pi])
pi += 1
for k in range(i,j+1):
if inorder[k]==node.val:
node.left = helper(i,k-1)
node.right = helper(k+1,j)
break
return node
return helper(0,n-1) | class Solution:
def solve(self, preorder, inorder):
pi = 0
n = len(preorder)
def helper(i, j):
nonlocal pi
if i > j:
return
node = tree(preorder[pi])
pi += 1
for k in range(i, j + 1):
if inorder[k] == node.val:
node.left = helper(i, k - 1)
node.right = helper(k + 1, j)
break
return node
return helper(0, n - 1) |
# -*- coding: utf-8 -*-
# DATA
DATAFILE_PATH = "./data/"
INVENTORY_AV_EXPORT = "data.txt"
BACKLOG_EXPORT = "bl.txt"
HFR_EXPORT = "hfr.txt"
SCHEDULE_URL = "https://www.toki.co.jp/purchasing/TLIHTML.files/sheet001.htm"
VALIDATION_DB = "validate.csv"
TRANSLATION_DB = "translate.csv"
OUTFILE = "_materials.xlsx"
# SHIPPING
SHIPPING_DATES = []
SHIPPING_WIDTH = 0
SCHEDULE_WIDTH = 5
SCHEDULE_LENGTH = 0
FIRSTLINE_TEXT = "TOKISTAR CODE"
WHITESPACE = "\u3000"
NEW_WHITESPACE = "0"
ELEMENT = "td"
# REPORT
HEADER = ["Part Number", "On Hand", "Backlog", "Released", "HFR", "On Order", "T-Avail", "R-Avail", "Reorder"]
HEADER_WIDTH = 9
PARSER = "html.parser"
ENGINE = "xlsxwriter"
SHEET_NAME = "Sheet1"
# COLUMN NAMES
PN = "Part Number"
OH = "On Hand"
OO = "On Order"
RO = "Reorder"
BL = "Backlog"
RLS = "Released"
HFR = "HFR"
TA = "T-Avail"
RA = "R-Avail"
MP = "Multiplier"
VP = "Vendor Part Num"
| datafile_path = './data/'
inventory_av_export = 'data.txt'
backlog_export = 'bl.txt'
hfr_export = 'hfr.txt'
schedule_url = 'https://www.toki.co.jp/purchasing/TLIHTML.files/sheet001.htm'
validation_db = 'validate.csv'
translation_db = 'translate.csv'
outfile = '_materials.xlsx'
shipping_dates = []
shipping_width = 0
schedule_width = 5
schedule_length = 0
firstline_text = 'TOKISTAR CODE'
whitespace = '\u3000'
new_whitespace = '0'
element = 'td'
header = ['Part Number', 'On Hand', 'Backlog', 'Released', 'HFR', 'On Order', 'T-Avail', 'R-Avail', 'Reorder']
header_width = 9
parser = 'html.parser'
engine = 'xlsxwriter'
sheet_name = 'Sheet1'
pn = 'Part Number'
oh = 'On Hand'
oo = 'On Order'
ro = 'Reorder'
bl = 'Backlog'
rls = 'Released'
hfr = 'HFR'
ta = 'T-Avail'
ra = 'R-Avail'
mp = 'Multiplier'
vp = 'Vendor Part Num' |
class FrameData(object):
def __init__(self, number, name, box_count, boxes):
self.number = number
self.name = name
self.box_count = box_count
self.boxes = boxes
def to_serialize(self):
return {
"number": self.number,
"name": self.name,
"box_count": self.box_count,
"boxes": [box.to_serialize() for box in self.boxes]
}
def print_frame_data(self):
print('number: ' + str(self.number))
print('name: ' + str(self.name))
print('box count: ' + str(self.box_count))
for box in self.boxes:
box.print_data()
| class Framedata(object):
def __init__(self, number, name, box_count, boxes):
self.number = number
self.name = name
self.box_count = box_count
self.boxes = boxes
def to_serialize(self):
return {'number': self.number, 'name': self.name, 'box_count': self.box_count, 'boxes': [box.to_serialize() for box in self.boxes]}
def print_frame_data(self):
print('number: ' + str(self.number))
print('name: ' + str(self.name))
print('box count: ' + str(self.box_count))
for box in self.boxes:
box.print_data() |
def swap(d, k1, k2):
value1 = d[k1]
value2 = d[k2]
d[k1] = value2
d[k2] = value1 | def swap(d, k1, k2):
value1 = d[k1]
value2 = d[k2]
d[k1] = value2
d[k2] = value1 |
def area(l, w):
if (l <0 or w< 0):
raise ValueError("Only positive integers, please")
return l*w | def area(l, w):
if l < 0 or w < 0:
raise value_error('Only positive integers, please')
return l * w |
abr = {'Alaska':'AK',
'Alabama':'AL',
'Arkansas':'AR',
'Arizona':'AZ',
'California':'CA',
'Colorado':'CO',
'Connecticut':'CT',
'District of Columbia':'DC',
'Delaware':'DE',
'Florida':'FL',
'Georgia':'GA',
'Hawaii':'HI',
'Iowa':'IA',
'Idaho':'ID',
'Illinois':'IL',
'Indiana':'IN',
'Kansas':'KS',
'Kentucky':'KY',
'Louisiana':'LA',
'Massachusetts':'MA',
'Maryland':'MD',
'Maine':'ME',
'Michigan':'MI',
'Minnesota':'MN',
'Missouri':'MO',
'Mississippi':'MS',
'Montana':'MT',
'North Carolina':'NC',
'North Dakota':'ND',
'Nebraska':'NE',
'New Hampshire':'NH',
'New Jersey':'NJ',
'New Mexico':'NM',
'Nevada':'NV',
'New York':'NY',
'Ohio':'OH',
'Oklahoma':'OK',
'Oregon':'OR',
'Pennsylvania':'PA',
'Rhode Island':'RI',
'South Carolina':'SC',
'South Dakota':'SD',
'Tennessee':'TN',
'Texas':'TX',
'Utah':'UT',
'Virginia':'VA',
'Vermont':'VT',
'Washington':'WA',
'Wisconsin':'WI',
'West Virginia':'WV',
'Wyoming':'WY'} | abr = {'Alaska': 'AK', 'Alabama': 'AL', 'Arkansas': 'AR', 'Arizona': 'AZ', 'California': 'CA', 'Colorado': 'CO', 'Connecticut': 'CT', 'District of Columbia': 'DC', 'Delaware': 'DE', 'Florida': 'FL', 'Georgia': 'GA', 'Hawaii': 'HI', 'Iowa': 'IA', 'Idaho': 'ID', 'Illinois': 'IL', 'Indiana': 'IN', 'Kansas': 'KS', 'Kentucky': 'KY', 'Louisiana': 'LA', 'Massachusetts': 'MA', 'Maryland': 'MD', 'Maine': 'ME', 'Michigan': 'MI', 'Minnesota': 'MN', 'Missouri': 'MO', 'Mississippi': 'MS', 'Montana': 'MT', 'North Carolina': 'NC', 'North Dakota': 'ND', 'Nebraska': 'NE', 'New Hampshire': 'NH', 'New Jersey': 'NJ', 'New Mexico': 'NM', 'Nevada': 'NV', 'New York': 'NY', 'Ohio': 'OH', 'Oklahoma': 'OK', 'Oregon': 'OR', 'Pennsylvania': 'PA', 'Rhode Island': 'RI', 'South Carolina': 'SC', 'South Dakota': 'SD', 'Tennessee': 'TN', 'Texas': 'TX', 'Utah': 'UT', 'Virginia': 'VA', 'Vermont': 'VT', 'Washington': 'WA', 'Wisconsin': 'WI', 'West Virginia': 'WV', 'Wyoming': 'WY'} |
class Photo:
def __init__(self, id, user_id, upload_time, latitude_ref, latitude, longitude_ref, longitude, filename, is_featured):
self.id = id
self.user_id = user_id
self.upload_time = upload_time
self.latitude_ref = latitude_ref
self.latitude = latitude
self.longitude_ref = longitude_ref
self.longitude = longitude
self.filename = filename
self.is_featured = is_featured
| class Photo:
def __init__(self, id, user_id, upload_time, latitude_ref, latitude, longitude_ref, longitude, filename, is_featured):
self.id = id
self.user_id = user_id
self.upload_time = upload_time
self.latitude_ref = latitude_ref
self.latitude = latitude
self.longitude_ref = longitude_ref
self.longitude = longitude
self.filename = filename
self.is_featured = is_featured |
def pad(n):
if(n>=10):
return "" + str(n)
return "0" + str(n)
class Time:
def __init__(self,hour,minute):
self.hour=hour
self.minute=minute
def __str__(self):
if self.hour<=11:
return "{0}:{1} AM".format(pad( self.hour),pad(self.minute))
if self.hour==12:
return "{0}:{1} PM".format(pad( self.hour),pad(self.minute))
return "{0}:{1} PM".format(pad( self.hour-12),pad(self.minute))
for hr in range(0,24):
for min in range(0,60):
t=Time(hr,min)
print(t,end=",") | def pad(n):
if n >= 10:
return '' + str(n)
return '0' + str(n)
class Time:
def __init__(self, hour, minute):
self.hour = hour
self.minute = minute
def __str__(self):
if self.hour <= 11:
return '{0}:{1} AM'.format(pad(self.hour), pad(self.minute))
if self.hour == 12:
return '{0}:{1} PM'.format(pad(self.hour), pad(self.minute))
return '{0}:{1} PM'.format(pad(self.hour - 12), pad(self.minute))
for hr in range(0, 24):
for min in range(0, 60):
t = time(hr, min)
print(t, end=',') |
input_program = [line.strip() for line in open("input.txt")]
#Pass 1
macro_name_table,mdtable = [],[]
macro = 0
for linenumber,line in enumerate(input_program):
if line == "MACRO":
continue
elif input_program[linenumber-1] == "MACRO":
macro_name_table.append(line)
mdtable.append(line)
macro = 1
elif line == "MEND":
macro = 0
mdtable.append(line)
elif macro == 1:
mdtable.append(line)
else:
continue
with open('mnt.txt','a') as mnt:
for i in macro_name_table:
mnt.write(i)
with open('mdt.txt','a') as mdt:
for i in mdtable:
i = i + '\n'
mdt.write(i)
#Pass 2
macro_name_table = [line.strip() for line in open('mnt.txt')]
macro_definition_table = [line.strip() for line in open('mdt.txt')]
x=len(macro_definition_table)
print(x)
with open('expanded.txt','a+') as expanded_source_code:
for linenumber,line in enumerate(input_program):
if line in macro_name_table:
for macro_lines in range(1,x-1):
print(macro_definition_table[macro_lines])
expanded_source_code.write(macro_definition_table[macro_lines] + '\n')
else:
expanded_source_code.write(line + '\n')
# ##OUTPUT
# Source Code:
# MACRO
# INCR
# AR 1,2
# SR 1,2
# MEND
# PG1 Start
# using *15
# AR 1,2
# INCR
# SR 1,2
# INCR
# L1,five
# End
# MNT:
# INCR
# MDT:
# INCR
# AR 1,2
# SR 1,2
# MEND
# Expanded Source Code:
# MACRO
# AR 1,2
# SR 1,2
# AR 1,2
# SR 1,2
# MEND
# PG1 Start
# using *15
# AR 1,2
# AR 1,2
# SR 1,2
# SR 1,2
# AR 1,2
# SR 1,2
# L1,five
# End
| input_program = [line.strip() for line in open('input.txt')]
(macro_name_table, mdtable) = ([], [])
macro = 0
for (linenumber, line) in enumerate(input_program):
if line == 'MACRO':
continue
elif input_program[linenumber - 1] == 'MACRO':
macro_name_table.append(line)
mdtable.append(line)
macro = 1
elif line == 'MEND':
macro = 0
mdtable.append(line)
elif macro == 1:
mdtable.append(line)
else:
continue
with open('mnt.txt', 'a') as mnt:
for i in macro_name_table:
mnt.write(i)
with open('mdt.txt', 'a') as mdt:
for i in mdtable:
i = i + '\n'
mdt.write(i)
macro_name_table = [line.strip() for line in open('mnt.txt')]
macro_definition_table = [line.strip() for line in open('mdt.txt')]
x = len(macro_definition_table)
print(x)
with open('expanded.txt', 'a+') as expanded_source_code:
for (linenumber, line) in enumerate(input_program):
if line in macro_name_table:
for macro_lines in range(1, x - 1):
print(macro_definition_table[macro_lines])
expanded_source_code.write(macro_definition_table[macro_lines] + '\n')
else:
expanded_source_code.write(line + '\n') |
K = int(input())
N = 1 << K
R = [int(input()) for _ in range(N)]
def winp(rp, rq):
return 1. / (1 + 10 ** ((rq - rp) / 400.))
dp = [1.0] * N
for i in range(K):
_dp = [0.0] * N
for l in range(0, N, 1 << (i + 1)):
for j in range(l, l + (1 << (i + 1))):
start = l + (1 << i) if j - l < (1 << i) else l
for k in range(start, start + (1 << i)):
_dp[j] += dp[j] * dp[k] * winp(R[j], R[k])
dp = _dp
print(*['{:.20f}'.format(x) for x in dp], sep='\n')
| k = int(input())
n = 1 << K
r = [int(input()) for _ in range(N)]
def winp(rp, rq):
return 1.0 / (1 + 10 ** ((rq - rp) / 400.0))
dp = [1.0] * N
for i in range(K):
_dp = [0.0] * N
for l in range(0, N, 1 << i + 1):
for j in range(l, l + (1 << i + 1)):
start = l + (1 << i) if j - l < 1 << i else l
for k in range(start, start + (1 << i)):
_dp[j] += dp[j] * dp[k] * winp(R[j], R[k])
dp = _dp
print(*['{:.20f}'.format(x) for x in dp], sep='\n') |
class PubSub(object):
def __init__(self):
self._subscriptions = {}
def publish(self, data=None, source=None):
heard = []
if source in self._subscriptions.keys():
for listener in self._subscriptions[source]:
listener(data, source)
heard.append(listener)
if None in self._subscriptions.keys():
for listener in self._subscriptions[None]:
if not listener in heard:
listener(data, source)
def subscribe(self, listener, source=None):
if source in self._subscriptions.keys():
subscriptions = self._subscriptions[source]
else:
subscriptions = []
self._subscriptions[source] = subscriptions
subscriptions.append(listener)
def unsubscribe(self, listener, source=None):
if source in self._subscriptions.keys():
if listener in self._subscriptions[source]:
self._subscriptions[source].remove(listener)
def subscription_count(self):
count = 0
for source in self._subscriptions.keys():
count += len(self._subscriptions[source])
return count
| class Pubsub(object):
def __init__(self):
self._subscriptions = {}
def publish(self, data=None, source=None):
heard = []
if source in self._subscriptions.keys():
for listener in self._subscriptions[source]:
listener(data, source)
heard.append(listener)
if None in self._subscriptions.keys():
for listener in self._subscriptions[None]:
if not listener in heard:
listener(data, source)
def subscribe(self, listener, source=None):
if source in self._subscriptions.keys():
subscriptions = self._subscriptions[source]
else:
subscriptions = []
self._subscriptions[source] = subscriptions
subscriptions.append(listener)
def unsubscribe(self, listener, source=None):
if source in self._subscriptions.keys():
if listener in self._subscriptions[source]:
self._subscriptions[source].remove(listener)
def subscription_count(self):
count = 0
for source in self._subscriptions.keys():
count += len(self._subscriptions[source])
return count |
#!/usr/bin/python3
with open('input.txt') as f:
input = f.read().splitlines()
lights = []
for i in range(1000):
lights.append([])
for j in range(1000):
lights[i].append(0)
for command in input:
offset = 0
if command.startswith('turn on'):
offset = 8
elif command.startswith('turn off'):
offset = 9
elif command.startswith('toggle'):
offset = 7
sep = command.index(',')
startx = int(command[offset:sep])
starty = int(command[sep+1:command.index(' ', sep)])
endx = int(command[command.index('through')+8:command.index(',', sep+1)])
endy = int(command[command.index(',', sep+1)+1:])
for i in range(startx, endx+1):
for j in range(starty, endy+1):
if offset == 8:
lights[j][i] += 1
elif offset == 9:
lights[j][i] -= 1
if lights[j][i] < 0:
lights[j][i] = 0
else:
lights[j][i] += 2
brightness = 0
for row in lights:
for l in row:
brightness += l
print(brightness)
| with open('input.txt') as f:
input = f.read().splitlines()
lights = []
for i in range(1000):
lights.append([])
for j in range(1000):
lights[i].append(0)
for command in input:
offset = 0
if command.startswith('turn on'):
offset = 8
elif command.startswith('turn off'):
offset = 9
elif command.startswith('toggle'):
offset = 7
sep = command.index(',')
startx = int(command[offset:sep])
starty = int(command[sep + 1:command.index(' ', sep)])
endx = int(command[command.index('through') + 8:command.index(',', sep + 1)])
endy = int(command[command.index(',', sep + 1) + 1:])
for i in range(startx, endx + 1):
for j in range(starty, endy + 1):
if offset == 8:
lights[j][i] += 1
elif offset == 9:
lights[j][i] -= 1
if lights[j][i] < 0:
lights[j][i] = 0
else:
lights[j][i] += 2
brightness = 0
for row in lights:
for l in row:
brightness += l
print(brightness) |
# Rule class used by the grammar parser to represent a rule
class Rule:
def __init__(self, left, right):
self.label = left.label
self.op = right.op
self.priority = right.priority
self.condition = left.condition
if left.paramNames != None:
self.op.addParams(left.paramNames)
# Right side of a rule
class Right:
def __init__(self, op, priority=None):
self.op = op
self.priority = priority
# Left side of a rule
class Left:
def __init__(self, label, paramNames=None, condition=True):
self.label = label
self.paramNames = paramNames
self.condition = condition
# A size class used to represent absolute and relative sizes in a grammar/op graph
class Size:
# A size has some value and is either a relative or absolute size
def __init__(self, size, isRelative):
self.size = size
self.isRelative = isRelative
def valToString(self):
if type(self.size) == int:
return str(self.size)
else:
try:
return "%.5f" % self.size
except:
return str(self.size)
def __str__(self):
if self.isRelative:
return f"~({self.valToString()})"
else:
return f"{self.valToString()}"
def __repr__(self):
if self.isRelative:
return f"RelSize({self.size})"
else:
return f"Size({self.size})"
def __hash__(self):
return hash((self.size, self.isRelative))
| class Rule:
def __init__(self, left, right):
self.label = left.label
self.op = right.op
self.priority = right.priority
self.condition = left.condition
if left.paramNames != None:
self.op.addParams(left.paramNames)
class Right:
def __init__(self, op, priority=None):
self.op = op
self.priority = priority
class Left:
def __init__(self, label, paramNames=None, condition=True):
self.label = label
self.paramNames = paramNames
self.condition = condition
class Size:
def __init__(self, size, isRelative):
self.size = size
self.isRelative = isRelative
def val_to_string(self):
if type(self.size) == int:
return str(self.size)
else:
try:
return '%.5f' % self.size
except:
return str(self.size)
def __str__(self):
if self.isRelative:
return f'~({self.valToString()})'
else:
return f'{self.valToString()}'
def __repr__(self):
if self.isRelative:
return f'RelSize({self.size})'
else:
return f'Size({self.size})'
def __hash__(self):
return hash((self.size, self.isRelative)) |
# source: http://www.usb.org/developers/docs/devclass_docs/CDC1.2_WMC1.1_012011.zip, 2017-01-08
class SUBCLASS:
DIRECT_LINE_CONTROL_MODEL = 0x01
ABSTRACT_CONTROL_MODEL = 0x02
TELEPHONE_CONTROL_MODEL = 0x03
MUTLI_CHANNEL_CONTROL_MODEL = 0x04
CAPI_CONTROL_MODEL = 0x05
ETHERNET_NETWORKING_CONTROL_MODEL = 0x06
ATM_NETWORKING_CONTROL_MODEL = 0x07
WIRELESS_HANDSET_CONTROL_MODEL = 0x08
DEVICE_MANAGEMENT = 0x09
MOBILE_DIRECT_LINE_MODEL = 0x0A
OBEX = 0x0B
ETHERNET_EMULATION_MODEL = 0x0C
NETWORK_CONTROL_MODEL = 0x0D
class PROTOCOL:
NO_CLASS_SPECIFIC_PROTOCOL = 0x00
AT_COMMANDS_V250 = 0x01
AT_COMMANDS_PCCA101 = 0x02
AT_COMMANDS_PCCA101_ANNEXO = 0x03
AT_COMMANDS_GSM0707 = 0x04
AT_COMMANDS_3GPP27007 = 0x05
AT_COMMANDS_TIA_CDMA = 0x06
ETHERNET_EMULATION_MODEL = 0x07
EXTERNAL_PROTOCOL = 0xFE
VENDOR_SPECIFIC = 0xFF
class DATA_PROTOCOL:
NO_CLASS_SPECIFIC_PROTOCOL = 0x00
NETWORK_TRANSFER_BLOCK = 0x01
ISDN_BRI = 0x30
HDLC = 0x31
TRANSPARENT = 0x32
MANAGEMENT_PROTOCOL_Q921 = 0x50
DATA_LINK_PROTOCOL_Q931 = 0x51
TEI_MULTIPLEXOR_Q921 = 0x52
DATA_COMPRESSION_PROCEDURES = 0x90
EURO_ISDN_PROTOCOL_CONTROL = 0x91
V24_RATE_ADAPTION_TO_ISDN = 0x92
CAPI_COMMANDS = 0x93
HOST_BASED_DRIVER = 0xFD
EXTERNAL_PROTOCOL = 0xFE
VENDOR_SPECIFIC = 0xFF
class DESCRIPTOR_SUBTYPE:
HEADER_FUNCTIONAL_DESCRIPTOR = 0x00
CALL_MANAGEMENT_FUNCTIONAL_DESCRIPTOR = 0x01
ABSTRACT_CONTROL_MANAGEMENT_FUNCTIONAL_DESCRIPTOR = 0x02
DIRECT_LINE_MANAGEMENT_FUNCTIONAL_DESCRIPTOR = 0x03
TELEPHONE_RINGER_FUNCTIONAL_DESCRIPTOR = 0x04
TELEPHONE_CALL_AND_LINE_STATE_REPORTING_CAPABILITIES_FUNCTIONAL_DESCRIPTOR = 0x05
UNION_FUNCTIONAL_DESCRIPTOR = 0x06
COUNTRY_SELECTION_FUNCTIONAL_DESCRIPTOR = 0x07
TELEPHONE_OPERATIONAL_MODES_FUNCTIONAL_DESCRIPTOR = 0x08
USB_TERMINAL_FUNCTIONAL_DESCRIPTOR = 0x09
NETWORK_CHANNEL_TERMINAL_DESCRIPTOR = 0x0A
PROTOCOL_UNIT_FUNCTIONAL_DESCRIPTOR = 0x0B
EXTENSION_UNIT_FUNCTIONAL_DESCRIPTOR = 0x0C
MULTI_CHANNEL_MANAGEMENT_FUNCTIONAL_DESCRIPTOR = 0x0D
CAPI_CONTROL_MANAGEMENT_FUNCTIONAL_DESCRIPTOR = 0x0E
ETHERNET_NETWORKING_FUNCTIONAL_DESCRIPTOR = 0x0F
ATM_NETWORKING_FUNCTIONAL_DESCRIPTOR = 0x10
WIRELESS_HANDSET_CONTROL_MODEL_FUNCTIONAL_DESCRIPTOR = 0x11
MOBILE_DIRECT_LINE_MODEL_FUNCTIONAL_DESCRIPTOR = 0x12
MDLM_DETAIL_FUNCTIONAL_DESCRIPTOR = 0x13
DEVICE_MANAGEMENT_MODEL_FUNCTIONAL_DESCRIPTOR = 0x14
OBEX_FUNCTIONAL_DESCRIPTOR = 0x15
COMMAND_SET_FUNCTIONAL_DESCRIPTOR = 0x16
COMMAND_SET_DETAIL_FUNCTIONAL_DESCRIPTOR = 0x17
TELEPHONE_CONTROL_MODEL_FUNCTIONAL_DESCRIPTOR = 0x18
OBEX_SERVICE_IDENTIFIER_FUNCTIONAL_DESCRIPTOR = 0x19
NCM_FUNCTIONAL_DESCRIPTOR = 0x1A
| class Subclass:
direct_line_control_model = 1
abstract_control_model = 2
telephone_control_model = 3
mutli_channel_control_model = 4
capi_control_model = 5
ethernet_networking_control_model = 6
atm_networking_control_model = 7
wireless_handset_control_model = 8
device_management = 9
mobile_direct_line_model = 10
obex = 11
ethernet_emulation_model = 12
network_control_model = 13
class Protocol:
no_class_specific_protocol = 0
at_commands_v250 = 1
at_commands_pcca101 = 2
at_commands_pcca101_annexo = 3
at_commands_gsm0707 = 4
at_commands_3_gpp27007 = 5
at_commands_tia_cdma = 6
ethernet_emulation_model = 7
external_protocol = 254
vendor_specific = 255
class Data_Protocol:
no_class_specific_protocol = 0
network_transfer_block = 1
isdn_bri = 48
hdlc = 49
transparent = 50
management_protocol_q921 = 80
data_link_protocol_q931 = 81
tei_multiplexor_q921 = 82
data_compression_procedures = 144
euro_isdn_protocol_control = 145
v24_rate_adaption_to_isdn = 146
capi_commands = 147
host_based_driver = 253
external_protocol = 254
vendor_specific = 255
class Descriptor_Subtype:
header_functional_descriptor = 0
call_management_functional_descriptor = 1
abstract_control_management_functional_descriptor = 2
direct_line_management_functional_descriptor = 3
telephone_ringer_functional_descriptor = 4
telephone_call_and_line_state_reporting_capabilities_functional_descriptor = 5
union_functional_descriptor = 6
country_selection_functional_descriptor = 7
telephone_operational_modes_functional_descriptor = 8
usb_terminal_functional_descriptor = 9
network_channel_terminal_descriptor = 10
protocol_unit_functional_descriptor = 11
extension_unit_functional_descriptor = 12
multi_channel_management_functional_descriptor = 13
capi_control_management_functional_descriptor = 14
ethernet_networking_functional_descriptor = 15
atm_networking_functional_descriptor = 16
wireless_handset_control_model_functional_descriptor = 17
mobile_direct_line_model_functional_descriptor = 18
mdlm_detail_functional_descriptor = 19
device_management_model_functional_descriptor = 20
obex_functional_descriptor = 21
command_set_functional_descriptor = 22
command_set_detail_functional_descriptor = 23
telephone_control_model_functional_descriptor = 24
obex_service_identifier_functional_descriptor = 25
ncm_functional_descriptor = 26 |
def power(x, b, n):
a = x
y = 1
while b > 0:
if b % 2 != 0:
y = (y * a) %n
b = b >> 1
a = (a * a) % n
return y
if __name__ == '__main__':
x = power(7, 21, 100)
for m in range(30, 2000):
if power(100, 293, m) == 21:
print(m)
break
print (x) | def power(x, b, n):
a = x
y = 1
while b > 0:
if b % 2 != 0:
y = y * a % n
b = b >> 1
a = a * a % n
return y
if __name__ == '__main__':
x = power(7, 21, 100)
for m in range(30, 2000):
if power(100, 293, m) == 21:
print(m)
break
print(x) |
option_list = BaseCommand.option_list + (
make_option('-d', '--db',
dest='db',
metavar='DB_ID',
help='Mandatory: DATABASES setting key for database'),
make_option('-p', '--project',
dest='project',
default='UNGA',
metavar='PROJECT_LABEL',
help=('Project to use (can specify "any"). '
'Default: "UNGA"'),
),
make_option('-b', '--batch',
dest='batch',
default='UNGA',
metavar='BATCH_LABEL',
help=('Batch to use (can specify "any"). '
'Default: "UNGA"'),
),
)
| option_list = BaseCommand.option_list + (make_option('-d', '--db', dest='db', metavar='DB_ID', help='Mandatory: DATABASES setting key for database'), make_option('-p', '--project', dest='project', default='UNGA', metavar='PROJECT_LABEL', help='Project to use (can specify "any"). Default: "UNGA"'), make_option('-b', '--batch', dest='batch', default='UNGA', metavar='BATCH_LABEL', help='Batch to use (can specify "any"). Default: "UNGA"')) |
print(42 == 42)
print(3 != 3)
print(3 >= 4)
print(0 < 6)
print(6 < 0) | print(42 == 42)
print(3 != 3)
print(3 >= 4)
print(0 < 6)
print(6 < 0) |
#MenuTitle: Change LayerColor to Grey
font = Glyphs.font
selectedLayers = font.selectedLayers
for thisLayer in selectedLayers:
thisGlyph = thisLayer.parent
thisGlyph.layers[font.selectedFontMaster.id].color = 10
| font = Glyphs.font
selected_layers = font.selectedLayers
for this_layer in selectedLayers:
this_glyph = thisLayer.parent
thisGlyph.layers[font.selectedFontMaster.id].color = 10 |
class Solution:
def prefixesDivBy5(self, A: List[int]) -> List[bool]:
res, r = [], 0
for a in A:
r = (r * 2 + a) % 5
res.append(r == 0)
return res
| class Solution:
def prefixes_div_by5(self, A: List[int]) -> List[bool]:
(res, r) = ([], 0)
for a in A:
r = (r * 2 + a) % 5
res.append(r == 0)
return res |
# -*- Python -*-
load("//tensorflow:tensorflow.bzl", "tf_py_test")
# Create a benchmark test target of a TensorFlow C++ test (tf_cc_*_test)
def tf_cc_logged_benchmark(
name=None,
target=None,
benchmarks="..",
tags=[],
test_log_output_prefix="",
benchmark_type="cpp_microbenchmark"):
if not name:
fail("Must provide a name")
if not target:
fail("Must provide a target")
if (not ":" in target
or not target.startswith("//")
or target.endswith(":all")
or target.endswith(".")):
fail(" ".join(("Target must be a single well-defined test, e.g.,",
"//path/to:test. Received: %s" % target)))
all_tags = list(set(tags) + \
set(["benchmark-test", "local", "manual", "regression-test"]))
tf_py_test(
name = name,
tags = all_tags,
size = "large",
srcs = ["//tensorflow/tools/test:run_and_gather_logs.py"],
args = [
"--name=//%s:%s" % (PACKAGE_NAME, name),
"--test_name=" + target,
"--test_args=--benchmarks=%s" % benchmarks,
"--benchmark_type=%s" % benchmark_type,
],
data = [
target,
],
main = "run_and_gather_logs.py",
additional_deps = [
"//tensorflow/tools/test:run_and_gather_logs"
])
# Create a benchmark test target of a TensorFlow python test (*py_tests)
def tf_py_logged_benchmark(
name=None,
target=None,
benchmarks="..",
tags=[],
test_log_output_prefix=""):
# For now generating a py benchmark is the same as generating a C++
# benchmark target. In the future this may change, so we have
# two macros just in case
tf_cc_logged_benchmark(
name=name,
target=target,
benchmarks=benchmarks,
tags=tags,
test_log_output_prefix=test_log_output_prefix,
benchmark_type="python_benchmark")
| load('//tensorflow:tensorflow.bzl', 'tf_py_test')
def tf_cc_logged_benchmark(name=None, target=None, benchmarks='..', tags=[], test_log_output_prefix='', benchmark_type='cpp_microbenchmark'):
if not name:
fail('Must provide a name')
if not target:
fail('Must provide a target')
if not ':' in target or not target.startswith('//') or target.endswith(':all') or target.endswith('.'):
fail(' '.join(('Target must be a single well-defined test, e.g.,', '//path/to:test. Received: %s' % target)))
all_tags = list(set(tags) + set(['benchmark-test', 'local', 'manual', 'regression-test']))
tf_py_test(name=name, tags=all_tags, size='large', srcs=['//tensorflow/tools/test:run_and_gather_logs.py'], args=['--name=//%s:%s' % (PACKAGE_NAME, name), '--test_name=' + target, '--test_args=--benchmarks=%s' % benchmarks, '--benchmark_type=%s' % benchmark_type], data=[target], main='run_and_gather_logs.py', additional_deps=['//tensorflow/tools/test:run_and_gather_logs'])
def tf_py_logged_benchmark(name=None, target=None, benchmarks='..', tags=[], test_log_output_prefix=''):
tf_cc_logged_benchmark(name=name, target=target, benchmarks=benchmarks, tags=tags, test_log_output_prefix=test_log_output_prefix, benchmark_type='python_benchmark') |
def product(values) :
n = 1
for val in values:
n *= val
return n | def product(values):
n = 1
for val in values:
n *= val
return n |
[print(i) for i in range(int(input())+1)]
[print(n**2) for n in range(0, int(input()), 2)]
s = 0
while(True):
a = input()
if a == 'The End':
print(s)
break
s += int(a)
# or print(sum(map(int, iter(input, 'The End'))))
for word in input().split():
if word[0] != '*': print(word)
#or [print(s) for s in input().split() if not s.startswith('*')]
a = int(input())
for i in range(2, a):
if a % i == 0:
print(i)
break
[print(n**3) for n in range(1, abs(int(input())))] | [print(i) for i in range(int(input()) + 1)]
[print(n ** 2) for n in range(0, int(input()), 2)]
s = 0
while True:
a = input()
if a == 'The End':
print(s)
break
s += int(a)
for word in input().split():
if word[0] != '*':
print(word)
a = int(input())
for i in range(2, a):
if a % i == 0:
print(i)
break
[print(n ** 3) for n in range(1, abs(int(input())))] |
#
# Loop Version --- Iterations in Python
#
# Array Initialization for Inner Values
iv = np.zeros((M + 1, M + 1), dtype=np.float)
z = 0
for j in range(0, M + 1, 1):
for i in range(z + 1):
iv[i, j] = max(S[i, j] - K, 0)
z += 1
#
# Vectorized Version --- Iterations on NumPy Level
#
# Array Initialization for Inner Values
pv = maximum(S - K, 0)
| iv = np.zeros((M + 1, M + 1), dtype=np.float)
z = 0
for j in range(0, M + 1, 1):
for i in range(z + 1):
iv[i, j] = max(S[i, j] - K, 0)
z += 1
pv = maximum(S - K, 0) |
# coding: utf-8
# In[1]:
class Match(object):
def __init__(self, price, volume, isLong, step):
self.price = price
self.volume = volume
self.isLong = isLong
self.step = step
| class Match(object):
def __init__(self, price, volume, isLong, step):
self.price = price
self.volume = volume
self.isLong = isLong
self.step = step |
# Copyright 2017 - 2018 Modoolar <info@modoolar.com>
# Copyright 2018 Brainbean Apps
# Copyright 2020 Manuel Calero
# Copyright 2020 CorporateHub (https://corporatehub.eu)
# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html).
{
"name": "Web Actions Multi",
"summary": "Enables triggering of more than one action on ActionManager",
"category": "Web",
"version": "13.0.1.0.0",
"license": "LGPL-3",
"author": "Modoolar, " "CorporateHub, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web/",
"depends": ["web"],
"data": ["views/web_ir_actions_act_multi.xml"],
"installable": True,
}
| {'name': 'Web Actions Multi', 'summary': 'Enables triggering of more than one action on ActionManager', 'category': 'Web', 'version': '13.0.1.0.0', 'license': 'LGPL-3', 'author': 'Modoolar, CorporateHub, Odoo Community Association (OCA)', 'website': 'https://github.com/OCA/web/', 'depends': ['web'], 'data': ['views/web_ir_actions_act_multi.xml'], 'installable': True} |
# ActivitySim
# See full license in LICENSE.txt.
__version__ = '0.9.5.2'
__doc__ = 'Activity-Based Travel Modeling'
| __version__ = '0.9.5.2'
__doc__ = 'Activity-Based Travel Modeling' |
if condition:
pass
else:
assert something
another_statement()
| if condition:
pass
else:
assert something
another_statement() |
def code(x):
return {
'61' : 'Brasilia',
'71' : 'Salvador',
'11' : 'Sao Paulo',
'21' : 'Rio de Janeiro',
'32' : 'Juiz de Fora',
'19' : 'Campinas',
'27' : 'Vitoria',
'31' : 'Belo Horizonte'
}.get(x, 'DDD nao cadastrado')
print(f"{code(input())}") | def code(x):
return {'61': 'Brasilia', '71': 'Salvador', '11': 'Sao Paulo', '21': 'Rio de Janeiro', '32': 'Juiz de Fora', '19': 'Campinas', '27': 'Vitoria', '31': 'Belo Horizonte'}.get(x, 'DDD nao cadastrado')
print(f'{code(input())}') |
class Anagram:
@staticmethod
def is_anagram(a, b):
if (a is b):
return False
f = lambda c: c not in [' ', '\n']
a_arr = list(filter(f, list(a)))
b_arr = list(filter(f, list(b)))
a_len = len(a_arr)
b_len = len(b_arr)
if (a_len != b_len):
return False
occ_dic = dict(zip(list(set(a)), [0]*a_len))
for c in a_arr:
occ_dic[c] += 1
for c in b_arr:
if c not in occ_dic:
return False
occ_dic[c] -= 1
diff = list(filter(lambda n: n != 0, occ_dic.values()))
return not diff
| class Anagram:
@staticmethod
def is_anagram(a, b):
if a is b:
return False
f = lambda c: c not in [' ', '\n']
a_arr = list(filter(f, list(a)))
b_arr = list(filter(f, list(b)))
a_len = len(a_arr)
b_len = len(b_arr)
if a_len != b_len:
return False
occ_dic = dict(zip(list(set(a)), [0] * a_len))
for c in a_arr:
occ_dic[c] += 1
for c in b_arr:
if c not in occ_dic:
return False
occ_dic[c] -= 1
diff = list(filter(lambda n: n != 0, occ_dic.values()))
return not diff |
# Zip Function
list1 = [1,2,3]
list2 = [10,10,30]
#print(list(zip(list1, list2)))
print(list(zip('abc', list1, list2)))
| list1 = [1, 2, 3]
list2 = [10, 10, 30]
print(list(zip('abc', list1, list2))) |
def email_domain_loader():
return [
"0-mail.com",
"0815.ru",
"0815.su",
"0clickemail.com",
"0sg.net",
"0wnd.net",
"0wnd.org",
"10mail.org",
"10minutemail.cf",
"10minutemail.com",
"10minutemail.de",
"10minutemail.ga",
"10minutemail.gq",
"10minutemail.ml",
"123-m.com",
"12hourmail.com",
"12minutemail.com",
"1ce.us",
"1chuan.com",
"1mail.ml",
"1pad.de",
"1zhuan.com",
"20mail.in",
"20mail.it",
"20minutemail.com",
"21cn.com",
"24hourmail.com",
"2prong.com",
"30minutemail.com",
"30minutesmail.com",
"3126.com",
"33mail.com",
"3d-painting.com",
"3mail.ga",
"4mail.cf",
"4mail.ga",
"4warding.com",
"4warding.net",
"4warding.org",
"50e.info",
"5mail.cf",
"5mail.ga",
"60minutemail.com",
"675hosting.com",
"675hosting.net",
"675hosting.org",
"6ip.us",
"6mail.cf",
"6mail.ga",
"6mail.ml",
"6paq.com",
"6url.com",
"75hosting.com",
"75hosting.net",
"75hosting.org",
"7days-printing.com",
"7mail.ga",
"7mail.ml",
"7tags.com",
"8mail.cf",
"8mail.ga",
"8mail.ml",
"99experts.com",
"9mail.cf",
"9ox.net",
"BeefMilk.com",
"DingBone.com",
"FudgeRub.com",
"LookUgly.com",
"MailScrap.com",
"SmellFear.com",
"TempEmail.net",
"a-bc.net",
"a45.in",
"abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk.com",
"abusemail.de",
"abwesend.de",
"abyssmail.com",
"ac20mail.in",
"acentri.com",
"addcom.de",
"advantimo.com",
"afrobacon.com",
"ag.us.to",
"agedmail.com",
"agnitumhost.net",
"ahk.jp",
"ajaxapp.net",
"alivance.com",
"alpenjodel.de",
"alphafrau.de",
"amail.com",
"amilegit.com",
"amiri.net",
"amiriindustries.com",
"amorki.pl",
"anappthat.com",
"ano-mail.net",
"anonbox.net",
"anonymail.dk",
"anonymbox.com",
"antichef.com",
"antichef.net",
"antispam.de",
"antispam24.de",
"appixie.com",
"armyspy.com",
"asdasd.nl",
"autosfromus.com",
"aver.com",
"azmeil.tk",
"baldmama.de",
"baldpapa.de",
"ballyfinance.com",
"baxomale.ht.cx",
"beddly.com",
"beefmilk.com",
"betriebsdirektor.de",
"big1.us",
"bigmir.net",
"bigprofessor.so",
"bigstring.com",
"bin-wieder-da.de",
"binkmail.com",
"bio-muesli.info",
"bio-muesli.net",
"bladesmail.net",
"bleib-bei-mir.de",
"blockfilter.com",
"blogmyway.org",
"bluebottle.com",
"bobmail.info",
"bodhi.lawlita.com",
"bofthew.com",
"bonbon.net",
"bootybay.de",
"boun.cr",
"bouncr.com",
"boxformail.in",
"boxtemp.com.br",
"brefmail.com",
"brennendesreich.de",
"briefemail.com",
"broadbandninja.com",
"brokenvalve.com",
"brokenvalve.org",
"bsnow.net",
"bspamfree.org",
"bu.mintemail.com",
"buerotiger.de",
"buffemail.com",
"bugmenot.com",
"bumpymail.com",
"bund.us",
"bundes-li.ga",
"burnthespam.info",
"burstmail.info",
"buy-24h.net.ru",
"buyusedlibrarybooks.org",
"c2.hu",
"cachedot.net",
"cashette.com",
"casualdx.com",
"cbair.com",
"ce.mintemail.com",
"cellurl.com",
"center-mail.de",
"centermail.at",
"centermail.ch",
"centermail.com",
"centermail.de",
"centermail.info",
"centermail.net",
"cghost.s-a-d.de",
"chammy.info",
"cheatmail.de",
"chogmail.com",
"choicemail1.com",
"chong-mail.com",
"chong-mail.net",
"chong-mail.org",
"chongsoft.org",
"clixser.com",
"cmail.com",
"cmail.net",
"cmail.org",
"coldemail.info",
"consumerriot.com",
"cool.fr.nf",
"coole-files.de",
"correo.blogos.net",
"cosmorph.com",
"courriel.fr.nf",
"courrieltemporaire.com",
"crapmail.org",
"crazespaces.pw",
"crazymailing.com",
"cubiclink.com",
"curryworld.de",
"cust.in",
"cuvox.de",
"cyber-matrix.com",
"dacoolest.com",
"daintly.com",
"dandikmail.com",
"dating4best.net",
"dayrep.com",
"dbunker.com",
"dcemail.com",
"deadaddress.com",
"deadchildren.org",
"deadfake.cf",
"deadfake.ga",
"deadfake.ml",
"deadfake.tk",
"deadspam.com",
"deagot.com",
"dealja.com",
"despam.it",
"despammed.com",
"devnullmail.com",
"dfgh.net",
"dharmatel.net",
"die-besten-bilder.de",
"die-genossen.de",
"die-optimisten.de",
"die-optimisten.net",
"dieMailbox.de",
"digital-filestore.de",
"digitalsanctuary.com",
"dingbone.com",
"directbox.com",
"discard.cf",
"discard.email",
"discard.ga",
"discard.gq",
"discard.ml",
"discard.tk",
"discardmail.*",
"discardmail.com",
"discardmail.de",
"discartmail.com",
"disposable-email.ml",
"disposable.cf",
"disposable.ga",
"disposable.ml",
"disposableaddress.com",
"disposableemailaddresses.com",
"disposableemailaddresses.emailmiser.com",
"disposableinbox.com",
"dispose.it",
"disposeamail.com",
"disposemail.com",
"dispostable.com",
"divermail.com",
"dm.w3internet.co.uk",
"example.com",
"docmail.cz",
"dodgeit.com",
"dodgit.com",
"dodgit.org",
"dogit.com",
"doiea.com",
"domozmail.com",
"donemail.ru",
"dontreg.com",
"dontsendmespam.de",
"dontsentmespam.de",
"dotmsg.com",
"download-privat.de",
"drdrb.com",
"drdrb.net",
"droplar.com",
"dropmail.me",
"duam.net",
"dudmail.com",
"dump-email.info",
"dumpandjunk.com",
"dumpmail.com",
"dumpmail.de",
"dumpyemail.com",
"duskmail.com",
"dyndns.org",
"e-mail.com",
"e-mail.org",
"e4ward.com",
"easytrashmail.com",
"ee2.pl",
"eelmail.com",
"einrot.com",
"einrot.de",
"eintagsmail.de",
"email-fake.cf",
"email-fake.ga",
"email-fake.gq",
"email-fake.ml",
"email-fake.tk",
"email.org",
"email4u.info",
"email60.com",
"emailage.cf",
"emailage.ga",
"emailage.gq",
"emailage.ml",
"emailage.tk",
"emaildienst.de",
"emailgo.de",
"emailias.com",
"emailigo.de",
"emailinfive.com",
"emailisvalid.com",
"emaillime.com",
"emailmiser.com",
"emailproxsy.com",
"emails.ga",
"emailsensei.com",
"emailspam.cf",
"emailspam.ga",
"emailspam.gq",
"emailspam.ml",
"emailspam.tk",
"emailtaxi.de",
"emailtemporanea.net",
"emailtemporar.ro",
"emailtemporario.com.br",
"emailthe.net",
"emailtmp.com",
"emailto.de",
"emailwarden.com",
"emailx.at.hm",
"emailxfer.com",
"emailz.cf",
"emailz.ga",
"emailz.gq",
"emailz.ml",
"emeil.in",
"emeil.ir",
"emil.com",
"emkei.cf",
"emkei.ga",
"emkei.gq",
"emkei.ml",
"emkei.tk",
"emz.net",
"enterto.com",
"ephemail.net",
"etranquil.com",
"etranquil.net",
"etranquil.org",
"evopo.com",
"example.com",
"explodemail.com",
"eyepaste.com",
"facebook-email.cf",
"facebook-email.ga",
"facebook-email.ml",
"facebookmail.gq",
"facebookmail.ml",
"fahr-zur-hoelle.org",
"fake-mail.cf",
"fake-mail.ga",
"fake-mail.ml",
"fakeinbox.cf",
"fakeinbox.com",
"fakeinbox.ga",
"fakeinbox.ml",
"fakeinbox.tk",
"fakeinformation.com",
"fakemail.fr",
"fakemailgenerator.com",
"fakemailz.com",
"falseaddress.com",
"fammix.com",
"fansworldwide.de",
"fantasymail.de",
"farifluset.mailexpire.com",
"fastacura.com",
"fastchevy.com",
"fastchrysler.com",
"fastkawasaki.com",
"fastmazda.com",
"fastmitsubishi.com",
"fastnissan.com",
"fastsubaru.com",
"fastsuzuki.com",
"fasttoyota.com",
"fastyamaha.com",
"fatflap.com",
"fdfdsfds.com",
"feinripptraeger.de",
"fettabernett.de",
"fightallspam.com",
"fiifke.de",
"filzmail.com",
"fishfuse.com",
"fixmail.tk",
"fizmail.com",
"fleckens.hu",
"flurred.com",
"flyspam.com",
"footard.com",
"forgetmail.com",
"fornow.eu",
"fr33mail.info",
"frapmail.com",
"free-email.cf",
"free-email.ga",
"freemail.ms",
"freemails.cf",
"freemails.ga",
"freemails.ml",
"freemeilaadressforall.net",
"freudenkinder.de",
"freundin.ru",
"friendlymail.co.uk",
"fromru.com",
"front14.org",
"fuckingduh.com",
"fudgerub.com",
"fux0ringduh.com",
"garliclife.com",
"gawab.com",
"gelitik.in",
"gentlemansclub.de",
"get-mail.cf",
"get-mail.ga",
"get-mail.ml",
"get-mail.tk",
"get1mail.com",
"get2mail.fr",
"getairmail.cf",
"getairmail.com",
"getairmail.ga",
"getairmail.gq",
"getairmail.ml",
"getairmail.tk",
"getmails.eu",
"getonemail.com",
"getonemail.net",
"ghosttexter.de",
"girlsundertheinfluence.com",
"gishpuppy.com",
"goemailgo.com",
"gold-profits.info",
"goldtoolbox.com",
"golfilla.info",
"gorillaswithdirtyarmpits.com",
"gotmail.com",
"gotmail.net",
"gotmail.org",
"gotti.otherinbox.com",
"gowikibooks.com",
"gowikicampus.com",
"gowikicars.com",
"gowikifilms.com",
"gowikigames.com",
"gowikimusic.com",
"gowikinetwork.com",
"gowikitravel.com",
"gowikitv.com",
"grandmamail.com",
"grandmasmail.com",
"great-host.in",
"greensloth.com",
"grr.la",
"gsrv.co.uk",
"guerillamail.biz",
"guerillamail.com",
"guerillamail.net",
"guerillamail.org",
"guerrillamail.biz",
"guerrillamail.com",
"guerrillamail.de",
"guerrillamail.info",
"guerrillamail.net",
"guerrillamail.org",
"guerrillamailblock.com",
"gustr.com",
"h.mintemail.com",
"h8s.org",
"hab-verschlafen.de",
"habmalnefrage.de",
"hacccc.com",
"haltospam.com",
"harakirimail.com",
"hartbot.de",
"hatespam.org",
"hellodream.mobi",
"herp.in",
"herr-der-mails.de",
"hidemail.de",
"hidzz.com",
"hmamail.com",
"hochsitze.com",
"home.de",
"hopemail.biz",
"hot-mail.cf",
"hot-mail.ga",
"hot-mail.gq",
"hot-mail.ml",
"hot-mail.tk",
"hotpop.com",
"hulapla.de",
"humn.ws.gy",
"hush.com",
"hushmail.com",
"ich-bin-verrueckt-nach-dir.de",
"ich-will-net.de",
"ieatspam.eu",
"ieatspam.info",
"ieh-mail.de",
"ihateyoualot.info",
"iheartspam.org",
"ikbenspamvrij.nl",
"imails.info",
"imgof.com",
"imstations.com",
"inbax.tk",
"inbox.si",
"inbox2.info",
"inboxalias.com",
"inboxclean.com",
"inboxclean.org",
"inboxproxy.com",
"incognitomail.com",
"incognitomail.net",
"incognitomail.org",
"inerted.com",
"inmail24.com",
"insorg-mail.info",
"instant-mail.de",
"instantemailaddress.com",
"ipoo.org",
"irish2me.com",
"iroid.com",
"ist-allein.info",
"ist-einmalig.de",
"ist-ganz-allein.de",
"ist-willig.de",
"iwi.net",
"izmail.net",
"jetable.com",
"jetable.de",
"jetable.fr.nf",
"jetable.net",
"jetable.org",
"jetfix.ee",
"jetzt-bin-ich-dran.com",
"jn-club.de",
"jnxjn.com",
"jobbikszimpatizans.hu",
"jourrapide.com",
"jsrsolutions.com",
"junk1e.com",
"junkmail.com",
"junkmail.ga",
"junkmail.gq",
"kaffeeschluerfer.com",
"kaffeeschluerfer.de",
"kasmail.com",
"kaspop.com",
"keepmymail.com",
"killmail.com",
"killmail.net",
"kimsdisk.com",
"kinglibrary.net",
"kingsq.ga",
"kir.ch.tc",
"klassmaster.com",
"klassmaster.net",
"klzlk.com",
"kommespaeter.de",
"kook.ml",
"koszmail.pl",
"krim.ws",
"kuh.mu",
"kulturbetrieb.info",
"kurzepost.de",
"l33r.eu",
"labetteraverouge.at",
"lackmail.net",
"lags.us",
"landmail.co",
"lass-es-geschehen.de",
"lastmail.co",
"lastmail.com",
"lazyinbox.com",
"letthemeatspam.com",
"lhsdv.com",
"liebt-dich.info",
"lifebyfood.com",
"link2mail.net",
"listomail.com",
"litedrop.com",
"loadby.us",
"login-email.cf",
"login-email.ga",
"login-email.ml",
"login-email.tk",
"lol.ovpn.to",
"lookugly.com",
"lopl.co.cc",
"lortemail.dk",
"lovemeleaveme.com",
"loveyouforever.de",
"lr7.us",
"lr78.com",
"lroid.com",
"luv2.us",
"m4ilweb.info",
"maboard.com",
"maennerversteherin.com",
"maennerversteherin.de",
"mail-filter.com",
"mail-temporaire.fr",
"mail.by",
"mail.htl22.at",
"mail.mezimages.net",
"mail.misterpinball.de",
"mail.svenz.eu",
"mail114.net",
"mail15.com",
"mail2rss.org",
"mail333.com",
"mail4days.com",
"mail4trash.com",
"mail4u.info",
"mailbidon.com",
"mailblocks.com",
"mailbucket.org",
"mailcat.biz",
"mailcatch.*",
"mailcatch.com",
"maildrop.cc",
"maildrop.cf",
"maildrop.ga",
"maildrop.gq",
"maildrop.ml",
"maildx.com",
"maileater.com",
"mailexpire.com",
"mailfa.tk",
"mailforspam.com",
"mailfree.ga",
"mailfree.gq",
"mailfree.ml",
"mailfreeonline.com",
"mailfs.com",
"mailguard.me",
"mailimate.com",
"mailin8r.com",
"mailinater.com",
"mailinator.com",
"mailinator.gq",
"mailinator.net",
"mailinator.org",
"mailinator.us",
"mailinator2.com",
"mailinblack.com",
"mailincubator.com",
"mailismagic.com",
"mailjunk.cf",
"mailjunk.ga",
"mailjunk.gq",
"mailjunk.ml",
"mailjunk.tk",
"mailmate.com",
"mailme.gq",
"mailme.ir",
"mailme.lv",
"mailme24.com",
"mailmetrash.com",
"mailmoat.com",
"mailnator.com",
"mailnesia.com",
"mailnull.com",
"mailpick.biz",
"mailproxsy.com",
"mailquack.com",
"mailrock.biz",
"mailsac.com",
"mailscrap.com",
"mailseal.de",
"mailshell.com",
"mailsiphon.com",
"mailslapping.com",
"mailslite.com",
"mailtemp.info",
"mailtothis.com",
"mailtrash.net",
"mailueberfall.de",
"mailzilla.com",
"mailzilla.org",
"mailzilla.orgmbx.cc",
"makemetheking.com",
"mamber.net",
"manifestgenerator.com",
"manybrain.com",
"mbx.cc",
"mciek.com",
"mega.zik.dj",
"meine-dateien.info",
"meine-diashow.de",
"meine-fotos.info",
"meine-urlaubsfotos.de",
"meinspamschutz.de",
"meltmail.com",
"messagebeamer.de",
"metaping.com",
"mezimages.net",
"mfsa.ru",
"mierdamail.com",
"migumail.com",
"mintemail.com",
"mjukglass.nu",
"mns.ru",
"moakt.com",
"mobi.web.id",
"mobileninja.co.uk",
"moburl.com",
"mohmal.com",
"moncourrier.fr.nf",
"monemail.fr.nf",
"monmail.fr.nf",
"monumentmail.com",
"ms9.mailslite.com",
"msa.minsmail.com",
"msh.mailslite.com",
"mt2009.com",
"mt2014.com",
"mufmail.com",
"muskelshirt.de",
"mx0.wwwnew.eu",
"my-mail.ch",
"my10minutemail.com",
"myadult.info",
"mycleaninbox.net",
"myemailboxy.com",
"mymail-in.net",
"mymailoasis.com",
"mynetstore.de",
"mypacks.net",
"mypartyclip.de",
"myphantomemail.com",
"myspaceinc.com",
"myspaceinc.net",
"myspaceinc.org",
"myspacepimpedup.com",
"myspamless.com",
"mytemp.email",
"mytempemail.com",
"mytop-in.net",
"mytrashmail.com",
"mytrashmail.compookmail.com",
"neomailbox.com",
"nepwk.com",
"nervmich.net",
"nervtmich.net",
"netmails.com",
"netmails.net",
"netterchef.de",
"netzidiot.de",
"neue-dateien.de",
"neverbox.com",
"nice-4u.com",
"nmail.cf",
"no-spam.ws",
"nobulk.com",
"noclickemail.com",
"nogmailspam.info",
"nomail.xl.cx",
"nomail2me.com",
"nomorespamemails.com",
"nonspam.eu",
"nonspammer.de",
"noref.in",
"nospam.wins.com.br",
"nospam.ze.tc",
"nospam4.us",
"nospamfor.us",
"nospammail.net",
"nospamthanks.info",
"notmailinator.com",
"notsharingmy.info",
"nowhere.org",
"nowmymail.com",
"ntlhelp.net",
"nullbox.info",
"nur-fuer-spam.de",
"nurfuerspam.de",
"nus.edu.sg",
"nwldx.com",
"nybella.com",
"objectmail.com",
"obobbo.com",
"odaymail.com",
"office-dateien.de",
"oikrach.com",
"one-time.email",
"oneoffemail.com",
"oneoffmail.com",
"onewaymail.com",
"online.ms",
"oopi.org",
"opayq.com",
"orangatango.com",
"ordinaryamerican.net",
"otherinbox.com",
"ourklips.com",
"outlawspam.com",
"ovpn.to",
"owlpic.com",
"pancakemail.com",
"paplease.com",
"partybombe.de",
"partyheld.de",
"pcusers.otherinbox.com",
"pepbot.com",
"pfui.ru",
"phreaker.net",
"pimpedupmyspace.com",
"pisem.net",
"pjjkp.com",
"pleasedontsendmespam.de",
"plexolan.de",
"poczta.onet.pl",
"politikerclub.de",
"polizisten-duzer.de",
"poofy.org",
"pookmail.com",
"pornobilder-mal-gratis.com",
"portsaid.cc",
"postacin.com",
"postfach.cc",
"privacy.net",
"privy-mail.com",
"privymail.de",
"proxymail.eu",
"prtnx.com",
"prtz.eu",
"prydirect.info",
"pryworld.info",
"public-files.de",
"punkass.com",
"put2.net",
"putthisinyourspamdatabase.com",
"pwrby.com",
"qasti.com",
"qisdo.com",
"qisoa.com",
"qq.com",
"quantentunnel.de",
"quickinbox.com",
"quickmail.nl",
"qv7.info",
"radiku.ye.vc",
"ralib.com",
"raubtierbaendiger.de",
"rcpt.at",
"reallymymail.com",
"receiveee.chickenkiller.com",
"receiveee.com",
"recode.me",
"reconmail.com",
"record.me",
"recursor.net",
"recyclemail.dk",
"regbypass.com",
"regbypass.comsafe-mail.net",
"rejectmail.com",
"remail.cf",
"remail.ga",
"rhyta.com",
"rk9.chickenkiller.com",
"rklips.com",
"rmqkr.net",
"rootprompt.org",
"royal.net",
"rppkn.com",
"rtrtr.com",
"ruffrey.com",
"s0ny.net",
"saeuferleber.de",
"safe-mail.net",
"safersignup.de",
"safetymail.info",
"safetypost.de",
"sags-per-mail.de",
"sandelf.de",
"satka.net",
"saynotospams.com",
"scatmail.com",
"schafmail.de",
"schmusemail.de",
"schreib-doch-mal-wieder.de",
"selfdestructingmail.com",
"selfdestructingmail.org",
"sendspamhere.com",
"senseless-entertainment.com",
"shared-files.de",
"sharedmailbox.org",
"sharklasers.com",
"shieldedmail.com",
"shiftmail.com",
"shinedyoureyes.com",
"shitmail.me",
"shitmail.org",
"shitware.nl",
"shortmail.net",
"showslow.de",
"sibmail.com",
"sinnlos-mail.de",
"siria.cc",
"siteposter.net",
"skeefmail.com",
"skeefmail.net",
"slaskpost.se",
"slave-auctions.net",
"slopsbox.com",
"slushmail.com",
"smashmail.de",
"smellfear.com",
"smellrear.com",
"sms.at",
"snakemail.com",
"sneakemail.com",
"snkmail.com",
"sofimail.com",
"sofort-mail.de",
"sofortmail.de",
"softpls.asia",
"sogetthis.com",
"sohu.com",
"soisz.com",
"solvemail.info",
"sonnenkinder.org",
"soodomail.com",
"soodonims.com",
"spam-be-gone.com",
"spam.la",
"spam.su",
"spam4.me",
"spamavert.com",
"spambob.com",
"spambob.net",
"spambob.org",
"spambog.*",
"spambog.com",
"spambog.de",
"spambog.net",
"spambog.ru",
"spambooger.com",
"spambox.info",
"spambox.irishspringrealty.com",
"spambox.us",
"spamcannon.com",
"spamcannon.net",
"spamcero.com",
"spamcon.org",
"spamcorptastic.com",
"spamcowboy.com",
"spamcowboy.net",
"spamcowboy.org",
"spamday.com",
"spamdecoy.net",
"spameater.com",
"spameater.org",
"spamex.com",
"spamfighter.cf",
"spamfighter.ga",
"spamfighter.gq",
"spamfighter.ml",
"spamfighter.tk",
"spamfree.eu",
"spamfree24.com",
"spamfree24.de",
"spamfree24.eu",
"spamfree24.info",
"spamfree24.net",
"spamfree24.org",
"spamgoes.in",
"spamgourmet.com",
"spamgourmet.net",
"spamgourmet.org",
"spamgrube.net",
"spamherelots.com",
"spamhereplease.com",
"spamhole.com",
"spamify.com",
"spaminator.de",
"spamkill.info",
"spaml.com",
"spaml.de",
"spammote.com",
"spammotel.com",
"spammuffel.de",
"spamobox.com",
"spamoff.de",
"spamreturn.com",
"spamsalad.in",
"spamslicer.com",
"spamspot.com",
"spamstack.net",
"spamthis.co.uk",
"spamthisplease.com",
"spamtrail.com",
"spamtroll.net",
"speed.1s.fr",
"sperke.net",
"spikio.com",
"spoofmail.de",
"squizzy.de",
"sriaus.com",
"ssoia.com",
"startkeys.com",
"stinkefinger.net",
"stop-my-spam.cf",
"stop-my-spam.com",
"stop-my-spam.ga",
"stop-my-spam.ml",
"stop-my-spam.tk",
"streber24.de",
"streetwisemail.com",
"stuffmail.de",
"super-auswahl.de",
"supergreatmail.com",
"supermailer.jp",
"superrito.com",
"superstachel.de",
"suremail.info",
"svk.jp",
"sweetville.net",
"sweetxxx.de",
"tafmail.com",
"tagesmail.eu",
"tagyourself.com",
"talkinator.com",
"tapchicuoihoi.com",
"teewars.org",
"teleworm.com",
"teleworm.us",
"temp-mail.com",
"temp-mail.org",
"temp.emeraldwebmail.com",
"temp.headstrong.de",
"tempail.com",
"tempalias.com",
"tempe-mail.com",
"tempemail.biz",
"tempemail.co.za",
"tempemail.com",
"tempemail.net",
"tempinbox.co.uk",
"tempinbox.com",
"tempmail.it",
"tempmail2.com",
"tempmaildemo.com",
"tempmailer.com",
"tempomail.fr",
"temporarily.de",
"temporarioemail.com.br",
"temporaryemail.net",
"temporaryemail.us",
"temporaryforwarding.com",
"temporaryinbox.com",
"tempsky.com",
"tempthe.net",
"tempymail.com",
"terminverpennt.de",
"test.com",
"test.de",
"thanksnospam.info",
"thankyou2010.com",
"thecloudindex.com",
"thepryam.info",
"thisisnotmyrealemail.com",
"throam.com",
"throwawayemailaddress.com",
"throwawaymail.com",
"tilien.com",
"tittbit.in",
"tmail.ws",
"tmailinator.com",
"toiea.com",
"toomail.biz",
"topmail-files.de",
"tortenboxer.de",
"totalmail.de",
"tradermail.info",
"trash-amil.com",
"trash-mail.at",
"trash-mail.cf",
"trash-mail.com",
"trash-mail.de",
"trash-mail.ga",
"trash-mail.gq",
"trash-mail.ml",
"trash-mail.tk",
"trash2009.com",
"trash2010.com",
"trash2011.com",
"trashbox.eu",
"trashdevil.com",
"trashdevil.de",
"trashemail.de",
"trashmail.at",
"trashmail.com",
"trashmail.de",
"trashmail.me",
"trashmail.net",
"trashmail.org",
"trashmail.ws",
"trashmailer.com",
"trashymail.com",
"trashymail.net",
"trayna.com",
"trbvm.com",
"trickmail.net",
"trillianpro.com",
"trimix.cn",
"tryalert.com",
"turboprinz.de",
"turboprinzessin.de",
"turual.com",
"twinmail.de",
"twoweirdtricks.com",
"tyldd.com",
"ubismail.net",
"uggsrock.com",
"uk2.net",
"ukr.net",
"umail.net",
"unmail.ru",
"unterderbruecke.de",
"upliftnow.com",
"uplipht.com",
"uroid.com",
"username.e4ward.com",
"valemail.net",
"venompen.com",
"verlass-mich-nicht.de",
"veryrealemail.com",
"vidchart.com",
"viditag.com",
"viewcastmedia.com",
"viewcastmedia.net",
"viewcastmedia.org",
"vinbazar.com",
"vollbio.de",
"volloeko.de",
"vomoto.com",
"vorsicht-bissig.de",
"vorsicht-scharf.de",
"vubby.com",
"walala.org",
"walkmail.net",
"war-im-urlaub.de",
"wbb3.de",
"webemail.me",
"webm4il.info",
"webmail4u.eu",
"webuser.in",
"wee.my",
"weg-werf-email.de",
"wegwerf-email-addressen.de",
"wegwerf-emails.de",
"wegwerfadresse.de",
"wegwerfemail.com",
"wegwerfemail.de",
"wegwerfmail.de",
"wegwerfmail.info",
"wegwerfmail.net",
"wegwerfmail.org",
"wegwerpmailadres.nl",
"weibsvolk.de",
"weibsvolk.org",
"weinenvorglueck.de",
"wetrainbayarea.com",
"wetrainbayarea.org",
"wh4f.org",
"whatiaas.com",
"whatpaas.com",
"whatsaas.com",
"whopy.com",
"whtjddn.33mail.com",
"whyspam.me",
"wickmail.net",
"wilemail.com",
"will-hier-weg.de",
"willhackforfood.biz",
"willselfdestruct.com",
"winemaven.info",
"wir-haben-nachwuchs.de",
"wir-sind-cool.org",
"wirsindcool.de",
"wmail.cf",
"wolke7.net",
"wollan.info",
"women-at-work.org",
"wormseo.cn",
"wronghead.com",
"wuzup.net",
"wuzupmail.net",
"www.e4ward.com",
"www.gishpuppy.com",
"www.mailinator.com",
"wwwnew.eu",
"xagloo.com",
"xemaps.com",
"xents.com",
"xmail.com",
"xmaily.com",
"xoxox.cc",
"xoxy.net",
"xsecurity.org",
"xyzfree.net",
"yapped.net",
"yeah.net",
"yep.it",
"yert.ye.vc",
"yesey.net",
"yogamaven.com",
"yomail.info",
"yopmail.com",
"yopmail.fr",
"yopmail.gq",
"yopmail.net",
"yopweb.com",
"youmail.ga",
"youmailr.com",
"ypmail.webarnak.fr.eu.org",
"ystea.org",
"yuurok.com",
"yzbid.com",
"za.com",
"zehnminutenmail.de",
"zetmail.com",
"zippymail.info",
"zoaxe.com",
"zoemail.com",
"zoemail.net",
"zoemail.org",
"zomg.info",
"zweb.in",
"zxcv.com",
"zxcvbnm.com",
"zzz.com",
]
| def email_domain_loader():
return ['0-mail.com', '0815.ru', '0815.su', '0clickemail.com', '0sg.net', '0wnd.net', '0wnd.org', '10mail.org', '10minutemail.cf', '10minutemail.com', '10minutemail.de', '10minutemail.ga', '10minutemail.gq', '10minutemail.ml', '123-m.com', '12hourmail.com', '12minutemail.com', '1ce.us', '1chuan.com', '1mail.ml', '1pad.de', '1zhuan.com', '20mail.in', '20mail.it', '20minutemail.com', '21cn.com', '24hourmail.com', '2prong.com', '30minutemail.com', '30minutesmail.com', '3126.com', '33mail.com', '3d-painting.com', '3mail.ga', '4mail.cf', '4mail.ga', '4warding.com', '4warding.net', '4warding.org', '50e.info', '5mail.cf', '5mail.ga', '60minutemail.com', '675hosting.com', '675hosting.net', '675hosting.org', '6ip.us', '6mail.cf', '6mail.ga', '6mail.ml', '6paq.com', '6url.com', '75hosting.com', '75hosting.net', '75hosting.org', '7days-printing.com', '7mail.ga', '7mail.ml', '7tags.com', '8mail.cf', '8mail.ga', '8mail.ml', '99experts.com', '9mail.cf', '9ox.net', 'BeefMilk.com', 'DingBone.com', 'FudgeRub.com', 'LookUgly.com', 'MailScrap.com', 'SmellFear.com', 'TempEmail.net', 'a-bc.net', 'a45.in', 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk.com', 'abusemail.de', 'abwesend.de', 'abyssmail.com', 'ac20mail.in', 'acentri.com', 'addcom.de', 'advantimo.com', 'afrobacon.com', 'ag.us.to', 'agedmail.com', 'agnitumhost.net', 'ahk.jp', 'ajaxapp.net', 'alivance.com', 'alpenjodel.de', 'alphafrau.de', 'amail.com', 'amilegit.com', 'amiri.net', 'amiriindustries.com', 'amorki.pl', 'anappthat.com', 'ano-mail.net', 'anonbox.net', 'anonymail.dk', 'anonymbox.com', 'antichef.com', 'antichef.net', 'antispam.de', 'antispam24.de', 'appixie.com', 'armyspy.com', 'asdasd.nl', 'autosfromus.com', 'aver.com', 'azmeil.tk', 'baldmama.de', 'baldpapa.de', 'ballyfinance.com', 'baxomale.ht.cx', 'beddly.com', 'beefmilk.com', 'betriebsdirektor.de', 'big1.us', 'bigmir.net', 'bigprofessor.so', 'bigstring.com', 'bin-wieder-da.de', 'binkmail.com', 'bio-muesli.info', 'bio-muesli.net', 'bladesmail.net', 'bleib-bei-mir.de', 'blockfilter.com', 'blogmyway.org', 'bluebottle.com', 'bobmail.info', 'bodhi.lawlita.com', 'bofthew.com', 'bonbon.net', 'bootybay.de', 'boun.cr', 'bouncr.com', 'boxformail.in', 'boxtemp.com.br', 'brefmail.com', 'brennendesreich.de', 'briefemail.com', 'broadbandninja.com', 'brokenvalve.com', 'brokenvalve.org', 'bsnow.net', 'bspamfree.org', 'bu.mintemail.com', 'buerotiger.de', 'buffemail.com', 'bugmenot.com', 'bumpymail.com', 'bund.us', 'bundes-li.ga', 'burnthespam.info', 'burstmail.info', 'buy-24h.net.ru', 'buyusedlibrarybooks.org', 'c2.hu', 'cachedot.net', 'cashette.com', 'casualdx.com', 'cbair.com', 'ce.mintemail.com', 'cellurl.com', 'center-mail.de', 'centermail.at', 'centermail.ch', 'centermail.com', 'centermail.de', 'centermail.info', 'centermail.net', 'cghost.s-a-d.de', 'chammy.info', 'cheatmail.de', 'chogmail.com', 'choicemail1.com', 'chong-mail.com', 'chong-mail.net', 'chong-mail.org', 'chongsoft.org', 'clixser.com', 'cmail.com', 'cmail.net', 'cmail.org', 'coldemail.info', 'consumerriot.com', 'cool.fr.nf', 'coole-files.de', 'correo.blogos.net', 'cosmorph.com', 'courriel.fr.nf', 'courrieltemporaire.com', 'crapmail.org', 'crazespaces.pw', 'crazymailing.com', 'cubiclink.com', 'curryworld.de', 'cust.in', 'cuvox.de', 'cyber-matrix.com', 'dacoolest.com', 'daintly.com', 'dandikmail.com', 'dating4best.net', 'dayrep.com', 'dbunker.com', 'dcemail.com', 'deadaddress.com', 'deadchildren.org', 'deadfake.cf', 'deadfake.ga', 'deadfake.ml', 'deadfake.tk', 'deadspam.com', 'deagot.com', 'dealja.com', 'despam.it', 'despammed.com', 'devnullmail.com', 'dfgh.net', 'dharmatel.net', 'die-besten-bilder.de', 'die-genossen.de', 'die-optimisten.de', 'die-optimisten.net', 'dieMailbox.de', 'digital-filestore.de', 'digitalsanctuary.com', 'dingbone.com', 'directbox.com', 'discard.cf', 'discard.email', 'discard.ga', 'discard.gq', 'discard.ml', 'discard.tk', 'discardmail.*', 'discardmail.com', 'discardmail.de', 'discartmail.com', 'disposable-email.ml', 'disposable.cf', 'disposable.ga', 'disposable.ml', 'disposableaddress.com', 'disposableemailaddresses.com', 'disposableemailaddresses.emailmiser.com', 'disposableinbox.com', 'dispose.it', 'disposeamail.com', 'disposemail.com', 'dispostable.com', 'divermail.com', 'dm.w3internet.co.uk', 'example.com', 'docmail.cz', 'dodgeit.com', 'dodgit.com', 'dodgit.org', 'dogit.com', 'doiea.com', 'domozmail.com', 'donemail.ru', 'dontreg.com', 'dontsendmespam.de', 'dontsentmespam.de', 'dotmsg.com', 'download-privat.de', 'drdrb.com', 'drdrb.net', 'droplar.com', 'dropmail.me', 'duam.net', 'dudmail.com', 'dump-email.info', 'dumpandjunk.com', 'dumpmail.com', 'dumpmail.de', 'dumpyemail.com', 'duskmail.com', 'dyndns.org', 'e-mail.com', 'e-mail.org', 'e4ward.com', 'easytrashmail.com', 'ee2.pl', 'eelmail.com', 'einrot.com', 'einrot.de', 'eintagsmail.de', 'email-fake.cf', 'email-fake.ga', 'email-fake.gq', 'email-fake.ml', 'email-fake.tk', 'email.org', 'email4u.info', 'email60.com', 'emailage.cf', 'emailage.ga', 'emailage.gq', 'emailage.ml', 'emailage.tk', 'emaildienst.de', 'emailgo.de', 'emailias.com', 'emailigo.de', 'emailinfive.com', 'emailisvalid.com', 'emaillime.com', 'emailmiser.com', 'emailproxsy.com', 'emails.ga', 'emailsensei.com', 'emailspam.cf', 'emailspam.ga', 'emailspam.gq', 'emailspam.ml', 'emailspam.tk', 'emailtaxi.de', 'emailtemporanea.net', 'emailtemporar.ro', 'emailtemporario.com.br', 'emailthe.net', 'emailtmp.com', 'emailto.de', 'emailwarden.com', 'emailx.at.hm', 'emailxfer.com', 'emailz.cf', 'emailz.ga', 'emailz.gq', 'emailz.ml', 'emeil.in', 'emeil.ir', 'emil.com', 'emkei.cf', 'emkei.ga', 'emkei.gq', 'emkei.ml', 'emkei.tk', 'emz.net', 'enterto.com', 'ephemail.net', 'etranquil.com', 'etranquil.net', 'etranquil.org', 'evopo.com', 'example.com', 'explodemail.com', 'eyepaste.com', 'facebook-email.cf', 'facebook-email.ga', 'facebook-email.ml', 'facebookmail.gq', 'facebookmail.ml', 'fahr-zur-hoelle.org', 'fake-mail.cf', 'fake-mail.ga', 'fake-mail.ml', 'fakeinbox.cf', 'fakeinbox.com', 'fakeinbox.ga', 'fakeinbox.ml', 'fakeinbox.tk', 'fakeinformation.com', 'fakemail.fr', 'fakemailgenerator.com', 'fakemailz.com', 'falseaddress.com', 'fammix.com', 'fansworldwide.de', 'fantasymail.de', 'farifluset.mailexpire.com', 'fastacura.com', 'fastchevy.com', 'fastchrysler.com', 'fastkawasaki.com', 'fastmazda.com', 'fastmitsubishi.com', 'fastnissan.com', 'fastsubaru.com', 'fastsuzuki.com', 'fasttoyota.com', 'fastyamaha.com', 'fatflap.com', 'fdfdsfds.com', 'feinripptraeger.de', 'fettabernett.de', 'fightallspam.com', 'fiifke.de', 'filzmail.com', 'fishfuse.com', 'fixmail.tk', 'fizmail.com', 'fleckens.hu', 'flurred.com', 'flyspam.com', 'footard.com', 'forgetmail.com', 'fornow.eu', 'fr33mail.info', 'frapmail.com', 'free-email.cf', 'free-email.ga', 'freemail.ms', 'freemails.cf', 'freemails.ga', 'freemails.ml', 'freemeilaadressforall.net', 'freudenkinder.de', 'freundin.ru', 'friendlymail.co.uk', 'fromru.com', 'front14.org', 'fuckingduh.com', 'fudgerub.com', 'fux0ringduh.com', 'garliclife.com', 'gawab.com', 'gelitik.in', 'gentlemansclub.de', 'get-mail.cf', 'get-mail.ga', 'get-mail.ml', 'get-mail.tk', 'get1mail.com', 'get2mail.fr', 'getairmail.cf', 'getairmail.com', 'getairmail.ga', 'getairmail.gq', 'getairmail.ml', 'getairmail.tk', 'getmails.eu', 'getonemail.com', 'getonemail.net', 'ghosttexter.de', 'girlsundertheinfluence.com', 'gishpuppy.com', 'goemailgo.com', 'gold-profits.info', 'goldtoolbox.com', 'golfilla.info', 'gorillaswithdirtyarmpits.com', 'gotmail.com', 'gotmail.net', 'gotmail.org', 'gotti.otherinbox.com', 'gowikibooks.com', 'gowikicampus.com', 'gowikicars.com', 'gowikifilms.com', 'gowikigames.com', 'gowikimusic.com', 'gowikinetwork.com', 'gowikitravel.com', 'gowikitv.com', 'grandmamail.com', 'grandmasmail.com', 'great-host.in', 'greensloth.com', 'grr.la', 'gsrv.co.uk', 'guerillamail.biz', 'guerillamail.com', 'guerillamail.net', 'guerillamail.org', 'guerrillamail.biz', 'guerrillamail.com', 'guerrillamail.de', 'guerrillamail.info', 'guerrillamail.net', 'guerrillamail.org', 'guerrillamailblock.com', 'gustr.com', 'h.mintemail.com', 'h8s.org', 'hab-verschlafen.de', 'habmalnefrage.de', 'hacccc.com', 'haltospam.com', 'harakirimail.com', 'hartbot.de', 'hatespam.org', 'hellodream.mobi', 'herp.in', 'herr-der-mails.de', 'hidemail.de', 'hidzz.com', 'hmamail.com', 'hochsitze.com', 'home.de', 'hopemail.biz', 'hot-mail.cf', 'hot-mail.ga', 'hot-mail.gq', 'hot-mail.ml', 'hot-mail.tk', 'hotpop.com', 'hulapla.de', 'humn.ws.gy', 'hush.com', 'hushmail.com', 'ich-bin-verrueckt-nach-dir.de', 'ich-will-net.de', 'ieatspam.eu', 'ieatspam.info', 'ieh-mail.de', 'ihateyoualot.info', 'iheartspam.org', 'ikbenspamvrij.nl', 'imails.info', 'imgof.com', 'imstations.com', 'inbax.tk', 'inbox.si', 'inbox2.info', 'inboxalias.com', 'inboxclean.com', 'inboxclean.org', 'inboxproxy.com', 'incognitomail.com', 'incognitomail.net', 'incognitomail.org', 'inerted.com', 'inmail24.com', 'insorg-mail.info', 'instant-mail.de', 'instantemailaddress.com', 'ipoo.org', 'irish2me.com', 'iroid.com', 'ist-allein.info', 'ist-einmalig.de', 'ist-ganz-allein.de', 'ist-willig.de', 'iwi.net', 'izmail.net', 'jetable.com', 'jetable.de', 'jetable.fr.nf', 'jetable.net', 'jetable.org', 'jetfix.ee', 'jetzt-bin-ich-dran.com', 'jn-club.de', 'jnxjn.com', 'jobbikszimpatizans.hu', 'jourrapide.com', 'jsrsolutions.com', 'junk1e.com', 'junkmail.com', 'junkmail.ga', 'junkmail.gq', 'kaffeeschluerfer.com', 'kaffeeschluerfer.de', 'kasmail.com', 'kaspop.com', 'keepmymail.com', 'killmail.com', 'killmail.net', 'kimsdisk.com', 'kinglibrary.net', 'kingsq.ga', 'kir.ch.tc', 'klassmaster.com', 'klassmaster.net', 'klzlk.com', 'kommespaeter.de', 'kook.ml', 'koszmail.pl', 'krim.ws', 'kuh.mu', 'kulturbetrieb.info', 'kurzepost.de', 'l33r.eu', 'labetteraverouge.at', 'lackmail.net', 'lags.us', 'landmail.co', 'lass-es-geschehen.de', 'lastmail.co', 'lastmail.com', 'lazyinbox.com', 'letthemeatspam.com', 'lhsdv.com', 'liebt-dich.info', 'lifebyfood.com', 'link2mail.net', 'listomail.com', 'litedrop.com', 'loadby.us', 'login-email.cf', 'login-email.ga', 'login-email.ml', 'login-email.tk', 'lol.ovpn.to', 'lookugly.com', 'lopl.co.cc', 'lortemail.dk', 'lovemeleaveme.com', 'loveyouforever.de', 'lr7.us', 'lr78.com', 'lroid.com', 'luv2.us', 'm4ilweb.info', 'maboard.com', 'maennerversteherin.com', 'maennerversteherin.de', 'mail-filter.com', 'mail-temporaire.fr', 'mail.by', 'mail.htl22.at', 'mail.mezimages.net', 'mail.misterpinball.de', 'mail.svenz.eu', 'mail114.net', 'mail15.com', 'mail2rss.org', 'mail333.com', 'mail4days.com', 'mail4trash.com', 'mail4u.info', 'mailbidon.com', 'mailblocks.com', 'mailbucket.org', 'mailcat.biz', 'mailcatch.*', 'mailcatch.com', 'maildrop.cc', 'maildrop.cf', 'maildrop.ga', 'maildrop.gq', 'maildrop.ml', 'maildx.com', 'maileater.com', 'mailexpire.com', 'mailfa.tk', 'mailforspam.com', 'mailfree.ga', 'mailfree.gq', 'mailfree.ml', 'mailfreeonline.com', 'mailfs.com', 'mailguard.me', 'mailimate.com', 'mailin8r.com', 'mailinater.com', 'mailinator.com', 'mailinator.gq', 'mailinator.net', 'mailinator.org', 'mailinator.us', 'mailinator2.com', 'mailinblack.com', 'mailincubator.com', 'mailismagic.com', 'mailjunk.cf', 'mailjunk.ga', 'mailjunk.gq', 'mailjunk.ml', 'mailjunk.tk', 'mailmate.com', 'mailme.gq', 'mailme.ir', 'mailme.lv', 'mailme24.com', 'mailmetrash.com', 'mailmoat.com', 'mailnator.com', 'mailnesia.com', 'mailnull.com', 'mailpick.biz', 'mailproxsy.com', 'mailquack.com', 'mailrock.biz', 'mailsac.com', 'mailscrap.com', 'mailseal.de', 'mailshell.com', 'mailsiphon.com', 'mailslapping.com', 'mailslite.com', 'mailtemp.info', 'mailtothis.com', 'mailtrash.net', 'mailueberfall.de', 'mailzilla.com', 'mailzilla.org', 'mailzilla.orgmbx.cc', 'makemetheking.com', 'mamber.net', 'manifestgenerator.com', 'manybrain.com', 'mbx.cc', 'mciek.com', 'mega.zik.dj', 'meine-dateien.info', 'meine-diashow.de', 'meine-fotos.info', 'meine-urlaubsfotos.de', 'meinspamschutz.de', 'meltmail.com', 'messagebeamer.de', 'metaping.com', 'mezimages.net', 'mfsa.ru', 'mierdamail.com', 'migumail.com', 'mintemail.com', 'mjukglass.nu', 'mns.ru', 'moakt.com', 'mobi.web.id', 'mobileninja.co.uk', 'moburl.com', 'mohmal.com', 'moncourrier.fr.nf', 'monemail.fr.nf', 'monmail.fr.nf', 'monumentmail.com', 'ms9.mailslite.com', 'msa.minsmail.com', 'msh.mailslite.com', 'mt2009.com', 'mt2014.com', 'mufmail.com', 'muskelshirt.de', 'mx0.wwwnew.eu', 'my-mail.ch', 'my10minutemail.com', 'myadult.info', 'mycleaninbox.net', 'myemailboxy.com', 'mymail-in.net', 'mymailoasis.com', 'mynetstore.de', 'mypacks.net', 'mypartyclip.de', 'myphantomemail.com', 'myspaceinc.com', 'myspaceinc.net', 'myspaceinc.org', 'myspacepimpedup.com', 'myspamless.com', 'mytemp.email', 'mytempemail.com', 'mytop-in.net', 'mytrashmail.com', 'mytrashmail.compookmail.com', 'neomailbox.com', 'nepwk.com', 'nervmich.net', 'nervtmich.net', 'netmails.com', 'netmails.net', 'netterchef.de', 'netzidiot.de', 'neue-dateien.de', 'neverbox.com', 'nice-4u.com', 'nmail.cf', 'no-spam.ws', 'nobulk.com', 'noclickemail.com', 'nogmailspam.info', 'nomail.xl.cx', 'nomail2me.com', 'nomorespamemails.com', 'nonspam.eu', 'nonspammer.de', 'noref.in', 'nospam.wins.com.br', 'nospam.ze.tc', 'nospam4.us', 'nospamfor.us', 'nospammail.net', 'nospamthanks.info', 'notmailinator.com', 'notsharingmy.info', 'nowhere.org', 'nowmymail.com', 'ntlhelp.net', 'nullbox.info', 'nur-fuer-spam.de', 'nurfuerspam.de', 'nus.edu.sg', 'nwldx.com', 'nybella.com', 'objectmail.com', 'obobbo.com', 'odaymail.com', 'office-dateien.de', 'oikrach.com', 'one-time.email', 'oneoffemail.com', 'oneoffmail.com', 'onewaymail.com', 'online.ms', 'oopi.org', 'opayq.com', 'orangatango.com', 'ordinaryamerican.net', 'otherinbox.com', 'ourklips.com', 'outlawspam.com', 'ovpn.to', 'owlpic.com', 'pancakemail.com', 'paplease.com', 'partybombe.de', 'partyheld.de', 'pcusers.otherinbox.com', 'pepbot.com', 'pfui.ru', 'phreaker.net', 'pimpedupmyspace.com', 'pisem.net', 'pjjkp.com', 'pleasedontsendmespam.de', 'plexolan.de', 'poczta.onet.pl', 'politikerclub.de', 'polizisten-duzer.de', 'poofy.org', 'pookmail.com', 'pornobilder-mal-gratis.com', 'portsaid.cc', 'postacin.com', 'postfach.cc', 'privacy.net', 'privy-mail.com', 'privymail.de', 'proxymail.eu', 'prtnx.com', 'prtz.eu', 'prydirect.info', 'pryworld.info', 'public-files.de', 'punkass.com', 'put2.net', 'putthisinyourspamdatabase.com', 'pwrby.com', 'qasti.com', 'qisdo.com', 'qisoa.com', 'qq.com', 'quantentunnel.de', 'quickinbox.com', 'quickmail.nl', 'qv7.info', 'radiku.ye.vc', 'ralib.com', 'raubtierbaendiger.de', 'rcpt.at', 'reallymymail.com', 'receiveee.chickenkiller.com', 'receiveee.com', 'recode.me', 'reconmail.com', 'record.me', 'recursor.net', 'recyclemail.dk', 'regbypass.com', 'regbypass.comsafe-mail.net', 'rejectmail.com', 'remail.cf', 'remail.ga', 'rhyta.com', 'rk9.chickenkiller.com', 'rklips.com', 'rmqkr.net', 'rootprompt.org', 'royal.net', 'rppkn.com', 'rtrtr.com', 'ruffrey.com', 's0ny.net', 'saeuferleber.de', 'safe-mail.net', 'safersignup.de', 'safetymail.info', 'safetypost.de', 'sags-per-mail.de', 'sandelf.de', 'satka.net', 'saynotospams.com', 'scatmail.com', 'schafmail.de', 'schmusemail.de', 'schreib-doch-mal-wieder.de', 'selfdestructingmail.com', 'selfdestructingmail.org', 'sendspamhere.com', 'senseless-entertainment.com', 'shared-files.de', 'sharedmailbox.org', 'sharklasers.com', 'shieldedmail.com', 'shiftmail.com', 'shinedyoureyes.com', 'shitmail.me', 'shitmail.org', 'shitware.nl', 'shortmail.net', 'showslow.de', 'sibmail.com', 'sinnlos-mail.de', 'siria.cc', 'siteposter.net', 'skeefmail.com', 'skeefmail.net', 'slaskpost.se', 'slave-auctions.net', 'slopsbox.com', 'slushmail.com', 'smashmail.de', 'smellfear.com', 'smellrear.com', 'sms.at', 'snakemail.com', 'sneakemail.com', 'snkmail.com', 'sofimail.com', 'sofort-mail.de', 'sofortmail.de', 'softpls.asia', 'sogetthis.com', 'sohu.com', 'soisz.com', 'solvemail.info', 'sonnenkinder.org', 'soodomail.com', 'soodonims.com', 'spam-be-gone.com', 'spam.la', 'spam.su', 'spam4.me', 'spamavert.com', 'spambob.com', 'spambob.net', 'spambob.org', 'spambog.*', 'spambog.com', 'spambog.de', 'spambog.net', 'spambog.ru', 'spambooger.com', 'spambox.info', 'spambox.irishspringrealty.com', 'spambox.us', 'spamcannon.com', 'spamcannon.net', 'spamcero.com', 'spamcon.org', 'spamcorptastic.com', 'spamcowboy.com', 'spamcowboy.net', 'spamcowboy.org', 'spamday.com', 'spamdecoy.net', 'spameater.com', 'spameater.org', 'spamex.com', 'spamfighter.cf', 'spamfighter.ga', 'spamfighter.gq', 'spamfighter.ml', 'spamfighter.tk', 'spamfree.eu', 'spamfree24.com', 'spamfree24.de', 'spamfree24.eu', 'spamfree24.info', 'spamfree24.net', 'spamfree24.org', 'spamgoes.in', 'spamgourmet.com', 'spamgourmet.net', 'spamgourmet.org', 'spamgrube.net', 'spamherelots.com', 'spamhereplease.com', 'spamhole.com', 'spamify.com', 'spaminator.de', 'spamkill.info', 'spaml.com', 'spaml.de', 'spammote.com', 'spammotel.com', 'spammuffel.de', 'spamobox.com', 'spamoff.de', 'spamreturn.com', 'spamsalad.in', 'spamslicer.com', 'spamspot.com', 'spamstack.net', 'spamthis.co.uk', 'spamthisplease.com', 'spamtrail.com', 'spamtroll.net', 'speed.1s.fr', 'sperke.net', 'spikio.com', 'spoofmail.de', 'squizzy.de', 'sriaus.com', 'ssoia.com', 'startkeys.com', 'stinkefinger.net', 'stop-my-spam.cf', 'stop-my-spam.com', 'stop-my-spam.ga', 'stop-my-spam.ml', 'stop-my-spam.tk', 'streber24.de', 'streetwisemail.com', 'stuffmail.de', 'super-auswahl.de', 'supergreatmail.com', 'supermailer.jp', 'superrito.com', 'superstachel.de', 'suremail.info', 'svk.jp', 'sweetville.net', 'sweetxxx.de', 'tafmail.com', 'tagesmail.eu', 'tagyourself.com', 'talkinator.com', 'tapchicuoihoi.com', 'teewars.org', 'teleworm.com', 'teleworm.us', 'temp-mail.com', 'temp-mail.org', 'temp.emeraldwebmail.com', 'temp.headstrong.de', 'tempail.com', 'tempalias.com', 'tempe-mail.com', 'tempemail.biz', 'tempemail.co.za', 'tempemail.com', 'tempemail.net', 'tempinbox.co.uk', 'tempinbox.com', 'tempmail.it', 'tempmail2.com', 'tempmaildemo.com', 'tempmailer.com', 'tempomail.fr', 'temporarily.de', 'temporarioemail.com.br', 'temporaryemail.net', 'temporaryemail.us', 'temporaryforwarding.com', 'temporaryinbox.com', 'tempsky.com', 'tempthe.net', 'tempymail.com', 'terminverpennt.de', 'test.com', 'test.de', 'thanksnospam.info', 'thankyou2010.com', 'thecloudindex.com', 'thepryam.info', 'thisisnotmyrealemail.com', 'throam.com', 'throwawayemailaddress.com', 'throwawaymail.com', 'tilien.com', 'tittbit.in', 'tmail.ws', 'tmailinator.com', 'toiea.com', 'toomail.biz', 'topmail-files.de', 'tortenboxer.de', 'totalmail.de', 'tradermail.info', 'trash-amil.com', 'trash-mail.at', 'trash-mail.cf', 'trash-mail.com', 'trash-mail.de', 'trash-mail.ga', 'trash-mail.gq', 'trash-mail.ml', 'trash-mail.tk', 'trash2009.com', 'trash2010.com', 'trash2011.com', 'trashbox.eu', 'trashdevil.com', 'trashdevil.de', 'trashemail.de', 'trashmail.at', 'trashmail.com', 'trashmail.de', 'trashmail.me', 'trashmail.net', 'trashmail.org', 'trashmail.ws', 'trashmailer.com', 'trashymail.com', 'trashymail.net', 'trayna.com', 'trbvm.com', 'trickmail.net', 'trillianpro.com', 'trimix.cn', 'tryalert.com', 'turboprinz.de', 'turboprinzessin.de', 'turual.com', 'twinmail.de', 'twoweirdtricks.com', 'tyldd.com', 'ubismail.net', 'uggsrock.com', 'uk2.net', 'ukr.net', 'umail.net', 'unmail.ru', 'unterderbruecke.de', 'upliftnow.com', 'uplipht.com', 'uroid.com', 'username.e4ward.com', 'valemail.net', 'venompen.com', 'verlass-mich-nicht.de', 'veryrealemail.com', 'vidchart.com', 'viditag.com', 'viewcastmedia.com', 'viewcastmedia.net', 'viewcastmedia.org', 'vinbazar.com', 'vollbio.de', 'volloeko.de', 'vomoto.com', 'vorsicht-bissig.de', 'vorsicht-scharf.de', 'vubby.com', 'walala.org', 'walkmail.net', 'war-im-urlaub.de', 'wbb3.de', 'webemail.me', 'webm4il.info', 'webmail4u.eu', 'webuser.in', 'wee.my', 'weg-werf-email.de', 'wegwerf-email-addressen.de', 'wegwerf-emails.de', 'wegwerfadresse.de', 'wegwerfemail.com', 'wegwerfemail.de', 'wegwerfmail.de', 'wegwerfmail.info', 'wegwerfmail.net', 'wegwerfmail.org', 'wegwerpmailadres.nl', 'weibsvolk.de', 'weibsvolk.org', 'weinenvorglueck.de', 'wetrainbayarea.com', 'wetrainbayarea.org', 'wh4f.org', 'whatiaas.com', 'whatpaas.com', 'whatsaas.com', 'whopy.com', 'whtjddn.33mail.com', 'whyspam.me', 'wickmail.net', 'wilemail.com', 'will-hier-weg.de', 'willhackforfood.biz', 'willselfdestruct.com', 'winemaven.info', 'wir-haben-nachwuchs.de', 'wir-sind-cool.org', 'wirsindcool.de', 'wmail.cf', 'wolke7.net', 'wollan.info', 'women-at-work.org', 'wormseo.cn', 'wronghead.com', 'wuzup.net', 'wuzupmail.net', 'www.e4ward.com', 'www.gishpuppy.com', 'www.mailinator.com', 'wwwnew.eu', 'xagloo.com', 'xemaps.com', 'xents.com', 'xmail.com', 'xmaily.com', 'xoxox.cc', 'xoxy.net', 'xsecurity.org', 'xyzfree.net', 'yapped.net', 'yeah.net', 'yep.it', 'yert.ye.vc', 'yesey.net', 'yogamaven.com', 'yomail.info', 'yopmail.com', 'yopmail.fr', 'yopmail.gq', 'yopmail.net', 'yopweb.com', 'youmail.ga', 'youmailr.com', 'ypmail.webarnak.fr.eu.org', 'ystea.org', 'yuurok.com', 'yzbid.com', 'za.com', 'zehnminutenmail.de', 'zetmail.com', 'zippymail.info', 'zoaxe.com', 'zoemail.com', 'zoemail.net', 'zoemail.org', 'zomg.info', 'zweb.in', 'zxcv.com', 'zxcvbnm.com', 'zzz.com'] |
# -*- coding: utf-8 -*-
BANCO_DO_BRASIL = {
'valid_combinations': [
{'bank_code': '001', 'branch': '0395', 'branch_digit': '6', 'account': '45939', 'account_digit': '9'},
{'bank_code': '001', 'branch': '2995', 'branch_digit': '5', 'account': '14728', 'account_digit': '1'},
{'bank_code': '001', 'branch': '7071', 'branch_digit': '8', 'account': '6801908', 'account_digit': '4'},
{'bank_code': '001', 'branch': '3477', 'branch_digit': '0', 'account': '26135', 'account_digit': '1'},
{'bank_code': '001', 'branch': '0229', 'branch_digit': '1', 'account': '12351', 'account_digit': 'x'},
{'bank_code': '001', 'branch': '1403', 'branch_digit': '6', 'account': '2315999', 'account_digit': '5'},
{'bank_code': '001', 'branch': '3456', 'branch_digit': '8', 'account': '38582', 'account_digit': '4'},
{'bank_code': '001', 'branch': '4556', 'branch_digit': 'X', 'account': '5159', 'account_digit': '4'},
{'bank_code': '001', 'branch': '6512', 'branch_digit': '9', 'account': '1167', 'account_digit': '3'},
{'bank_code': '001', 'branch': '5766', 'branch_digit': '5', 'account': '548811', 'account_digit': '7'},
{'bank_code': '001', 'branch': '3007', 'branch_digit': '4', 'account': '33084', 'account_digit': '1'},
{'bank_code': '001', 'branch': '4438', 'branch_digit': '5', 'account': '6723', 'account_digit': '7'},
{'bank_code': '001', 'branch': '4850', 'branch_digit': 'X', 'account': '6649', 'account_digit': '4'},
{'bank_code': '001', 'branch': '0107', 'branch_digit': '4', 'account': '8428', 'account_digit': 'x'},
{'bank_code': '001', 'branch': '4267', 'branch_digit': '6', 'account': '45542', 'account_digit': '3'},
{'bank_code': '001', 'branch': '2443', 'branch_digit': '0', 'account': '5341', 'account_digit': '4'},
{'bank_code': '001', 'branch': '4723', 'branch_digit': '6', 'account': '300696', 'account_digit': '4'},
{'bank_code': '001', 'branch': '4392', 'branch_digit': '3', 'account': '49881', 'account_digit': '5'},
{'bank_code': '001', 'branch': '1668', 'branch_digit': '3', 'account': '16170', 'account_digit': '5'},
{'bank_code': '001', 'branch': '3007', 'branch_digit': '4', 'account': '17526', 'account_digit': '9'},
{'bank_code': '001', 'branch': '1613', 'branch_digit': '6', 'account': '8439875', 'account_digit': '2'},
{'bank_code': '001', 'branch': '4852', 'branch_digit': '6', 'account': '953521', 'account_digit': '7'},
{'bank_code': '001', 'branch': '3254', 'branch_digit': '9', 'account': '10513', 'account_digit': '9'},
{'bank_code': '001', 'branch': '3061', 'branch_digit': '9', 'account': '32611', 'account_digit': '9'},
{'bank_code': '001', 'branch': '0452', 'branch_digit': '9', 'account': '41981', 'account_digit': '8'},
{'bank_code': '001', 'branch': '0296', 'branch_digit': '8', 'account': '022356', 'account_digit': '5'},
{'bank_code': '001', 'branch': '0048', 'branch_digit': '5', 'account': '124564', 'account_digit': '3'},
{'bank_code': '001', 'branch': '1196', 'branch_digit': '7', 'account': '29639', 'account_digit': '2'},
{'bank_code': '001', 'branch': '5560', 'branch_digit': '3', 'account': '106662', 'account_digit': '5'},
{'bank_code': '001', 'branch': '3497', 'branch_digit': '5', 'account': '10540', 'account_digit': '6'},
{'bank_code': '001', 'branch': '3049', 'branch_digit': 'x', 'account': '17110', 'account_digit': '7'},
{'bank_code': '001', 'branch': '0312', 'branch_digit': '3', 'account': '19981', 'account_digit': '8'},
{'bank_code': '001', 'branch': '7080', 'branch_digit': '7', 'account': '2241395', 'account_digit': '2'},
{'bank_code': '001', 'branch': '4763', 'branch_digit': '5', 'account': '16980', 'account_digit': '3'},
{'bank_code': '001', 'branch': '1869', 'branch_digit': '4', 'account': '35615', 'account_digit': '8'},
{'bank_code': '001', 'branch': '2795', 'branch_digit': '2', 'account': '84800', 'account_digit': 'X'},
{'bank_code': '001', 'branch': '0386', 'branch_digit': '7', 'account': '86324', 'account_digit': '6'},
{'bank_code': '001', 'branch': '3653', 'branch_digit': '6', 'account': '18115', 'account_digit': '3'},
{'bank_code': '001', 'branch': '3006', 'branch_digit': '6', 'account': '6010', 'account_digit': '0'},
{'bank_code': '001', 'branch': '0726', 'branch_digit': '9', 'account': '5523', 'account_digit': '9'},
{'bank_code': '001', 'branch': '6960', 'branch_digit': '4', 'account': '6903', 'account_digit': '5'},
{'bank_code': '001', 'branch': '0987', 'branch_digit': '3', 'account': '5993', 'account_digit': '5'},
{'bank_code': '001', 'branch': '0675', 'branch_digit': '0', 'account': '8376', 'account_digit': '3'},
{'bank_code': '001', 'branch': '1245', 'branch_digit': '9', 'account': '34087', 'account_digit': '1'},
{'bank_code': '001', 'branch': '1578', 'branch_digit': '4', 'account': '2965033', 'account_digit': 'x'},
{'bank_code': '001', 'branch': '3510', 'branch_digit': '6', 'account': '29111', 'account_digit': '0'},
{'bank_code': '001', 'branch': '3430', 'branch_digit': '4', 'account': '22566', 'account_digit': '5'},
{'bank_code': '001', 'branch': '5899', 'branch_digit': '8', 'account': '52739', 'account_digit': '4'},
{'bank_code': '001', 'branch': '6812', 'branch_digit': '8', 'account': '19734', 'account_digit': '3'},
{'bank_code': '001', 'branch': '1244', 'branch_digit': '0', 'account': '8782', 'account_digit': '3'},
{'bank_code': '001', 'branch': '2305', 'branch_digit': '1', 'account': '6044', 'account_digit': '5'},
{'bank_code': '001', 'branch': '3007', 'branch_digit': '4', 'account': '39624', 'account_digit': '9'},
{'bank_code': '001', 'branch': '0386', 'branch_digit': '7', 'account': '78427', 'account_digit': '3'},
{'bank_code': '001', 'branch': '2447', 'branch_digit': '3', 'account': '45811', 'account_digit': '2'},
{'bank_code': '001', 'branch': '3055', 'branch_digit': '4', 'account': '18232', 'account_digit': 'x'},
{'bank_code': '001', 'branch': '1101', 'branch_digit': '0', 'account': '22471', 'account_digit': '5'},
{'bank_code': '001', 'branch': '6986', 'branch_digit': '8', 'account': '800217', 'account_digit': '7'},
{'bank_code': '001', 'branch': '6838', 'branch_digit': '1', 'account': '217959', 'account_digit': '8'},
{'bank_code': '001', 'branch': '3137', 'branch_digit': '2', 'account': '17297', 'account_digit': '9'},
{'bank_code': '001', 'branch': '2705', 'branch_digit': '7', 'account': '22159', 'account_digit': '7'},
{'bank_code': '001', 'branch': '4881', 'branch_digit': 'x', 'account': '6056', 'account_digit': '9'},
{'bank_code': '001', 'branch': '7081', 'branch_digit': '5', 'account': '21515', 'account_digit': '5'},
{'bank_code': '001', 'branch': '2960', 'branch_digit': '2', 'account': '19064', 'account_digit': '0'},
{'bank_code': '001', 'branch': '0387', 'branch_digit': '5', 'account': '40878', 'account_digit': '6'},
{'bank_code': '001', 'branch': '0080', 'branch_digit': '9', 'account': '66548', 'account_digit': '7'},
{'bank_code': '001', 'branch': '4598', 'branch_digit': '5', 'account': '16496', 'account_digit': '8'},
{'bank_code': '001', 'branch': '2324', 'branch_digit': '8', 'account': '27638', 'account_digit': '3'},
{'bank_code': '001', 'branch': '2897', 'branch_digit': '5', 'account': '32356', 'account_digit': 'x'},
{'bank_code': '001', 'branch': '3512', 'branch_digit': '2', 'account': '4556849', 'account_digit': '9'},
{'bank_code': '001', 'branch': '4451', 'branch_digit': '2', 'account': '7819', 'account_digit': '0'},
{'bank_code': '001', 'branch': '1237', 'branch_digit': '8', 'account': '552615', 'account_digit': '9'},
{'bank_code': '001', 'branch': '8687', 'branch_digit': '8', 'account': '2258318', 'account_digit': '1'},
{'bank_code': '001', 'branch': '1173', 'branch_digit': '8', 'account': '10952', 'account_digit': '5'},
{'bank_code': '001', 'branch': '3478', 'branch_digit': '9', 'account': '41098', 'account_digit': '5'},
{'bank_code': '001', 'branch': '1573', 'branch_digit': '3', 'account': '18835', 'account_digit': '2'},
{'bank_code': '001', 'branch': '1585', 'branch_digit': '7', 'account': '18636', 'account_digit': '8'},
{'bank_code': '001', 'branch': '3574', 'branch_digit': '2', 'account': '32059', 'account_digit': '5'},
{'bank_code': '001', 'branch': '2947', 'branch_digit': '5', 'account': '16296', 'account_digit': '5'},
{'bank_code': '001', 'branch': '0073', 'branch_digit': '6', 'account': '71811', 'account_digit': '4'},
{'bank_code': '001', 'branch': '3884', 'branch_digit': '9', 'account': '41843', 'account_digit': '9'},
{'bank_code': '001', 'branch': '4267', 'branch_digit': '6', 'account': '9290624', 'account_digit': '9'},
{'bank_code': '001', 'branch': '3005', 'branch_digit': '8', 'account': '27480', 'account_digit': '1'},
{'bank_code': '001', 'branch': '1227', 'branch_digit': '0', 'account': '57915', 'account_digit': '7'},
{'bank_code': '001', 'branch': '6801', 'branch_digit': '2', 'account': '15577', 'account_digit': '2'},
{'bank_code': '001', 'branch': '1612', 'branch_digit': '8', 'account': '15760', 'account_digit': '0'},
{'bank_code': '001', 'branch': '1230', 'branch_digit': '0', 'account': '39215', 'account_digit': '4'},
{'bank_code': '001', 'branch': '5959', 'branch_digit': '5', 'account': '6750954', 'account_digit': '1'},
{'bank_code': '001', 'branch': '1838', 'branch_digit': '4', 'account': '3810473', 'account_digit': '3'},
{'bank_code': '001', 'branch': '2764', 'branch_digit': '2', 'account': '29031', 'account_digit': '9'},
{'bank_code': '001', 'branch': '7075', 'branch_digit': '0', 'account': '21090', 'account_digit': '0'},
{'bank_code': '001', 'branch': '2945', 'branch_digit': '9', 'account': '721086', 'account_digit': '8'},
{'bank_code': '001', 'branch': '2047', 'branch_digit': '8', 'account': '9792', 'account_digit': '6'},
{'bank_code': '001', 'branch': '2363', 'branch_digit': '9', 'account': '22204', 'account_digit': '6'},
{'bank_code': '001', 'branch': '3556', 'branch_digit': '4', 'account': '21812', 'account_digit': 'x'},
{'bank_code': '001', 'branch': '8328', 'branch_digit': '3', 'account': '8745', 'account_digit': '9'},
{'bank_code': '001', 'branch': '5761', 'branch_digit': '4', 'account': '746063', 'account_digit': '5'},
{'bank_code': '001', 'branch': '6761', 'branch_digit': 'x', 'account': '58766', 'account_digit': '4'},
{'bank_code': '001', 'branch': '6970', 'branch_digit': '1', 'account': '17096', 'account_digit': '8'},
{'bank_code': '001', 'branch': '6954', 'branch_digit': 'x', 'account': '8225', 'account_digit': '2'},
{'bank_code': '001', 'branch': '2279', 'branch_digit': '9', 'account': '30078', 'account_digit': '0'},
{'bank_code': '001', 'branch': '3242', 'branch_digit': '5', 'account': '16764', 'account_digit': '9'},
{'bank_code': '001', 'branch': '0001', 'branch_digit': '9', 'account': '746173', 'account_digit': '9'},
{'bank_code': '001', 'branch': '0607', 'branch_digit': '6', 'account': '12173', 'account_digit': '8'},
{'bank_code': '001', 'branch': '3136', 'branch_digit': '4', 'account': '8638', 'account_digit': 'X'},
{'bank_code': '001', 'branch': '6842', 'branch_digit': 'X', 'account': '12372', 'account_digit': '2'},
{'bank_code': '001', 'branch': '2175', 'branch_digit': 'X', 'account': '36287', 'account_digit': '5'},
{'bank_code': '001', 'branch': '4683', 'branch_digit': '3', 'account': '6619', 'account_digit': '2'},
{'bank_code': '001', 'branch': '3277', 'branch_digit': '8', 'account': '23624', 'account_digit': '1'},
{'bank_code': '001', 'branch': '6807', 'branch_digit': '1', 'account': '8399', 'account_digit': '2'},
{'bank_code': '001', 'branch': '3613', 'branch_digit': '7', 'account': '30983', 'account_digit': '4'},
{'bank_code': '001', 'branch': '0729', 'branch_digit': '3', 'account': '67384', 'account_digit': '6'},
{'bank_code': '001', 'branch': '6884', 'branch_digit': '5', 'account': '21837', 'account_digit': '5'},
{'bank_code': '001', 'branch': '2365', 'branch_digit': '5', 'account': '6954141', 'account_digit': '8'},
{'bank_code': '001', 'branch': '0313', 'branch_digit': '1', 'account': '19457', 'account_digit': '3'},
{'bank_code': '001', 'branch': '0103', 'branch_digit': '1', 'account': '34705', 'account_digit': '1'},
{'bank_code': '001', 'branch': '3605', 'branch_digit': '6', 'account': '75007', 'account_digit': '7'},
{'bank_code': '001', 'branch': '2128', 'branch_digit': '8', 'account': '14589', 'account_digit': '0'},
{'bank_code': '001', 'branch': '3790', 'branch_digit': '7', 'account': '34668', 'account_digit': '3'},
{'bank_code': '001', 'branch': '1885', 'branch_digit': '6', 'account': '6079', 'account_digit': '8'},
{'bank_code': '001', 'branch': '4574', 'branch_digit': '8', 'account': '8981', 'account_digit': '8'},
{'bank_code': '001', 'branch': '0204', 'branch_digit': '6', 'account': '9812510', 'account_digit': '9'},
{'bank_code': '001', 'branch': '2883', 'branch_digit': '5', 'account': '23564', 'account_digit': '4'},
{'bank_code': '001', 'branch': '1517', 'branch_digit': '2', 'account': '28060', 'account_digit': '7'},
{'bank_code': '001', 'branch': '2902', 'branch_digit': '5', 'account': '25709', 'account_digit': '5'},
{'bank_code': '001', 'branch': '3590', 'branch_digit': '4', 'account': '12329', 'account_digit': '3'},
{'bank_code': '001', 'branch': '1629', 'branch_digit': '2', 'account': '413202', 'account_digit': '5'},
{'bank_code': '001', 'branch': '6554', 'branch_digit': '4', 'account': '13852', 'account_digit': '5'},
{'bank_code': '001', 'branch': '4314', 'branch_digit': '1', 'account': '22123', 'account_digit': '6'},
{'bank_code': '001', 'branch': '7019', 'branch_digit': 'x', 'account': '783', 'account_digit': '8'},
{'bank_code': '001', 'branch': '1617', 'branch_digit': '9', 'account': '17374', 'account_digit': '6'},
{'bank_code': '001', 'branch': '3417', 'branch_digit': '7', 'account': '16313', 'account_digit': '9'},
{'bank_code': '001', 'branch': '3396', 'branch_digit': '0', 'account': '27057', 'account_digit': '1'},
{'bank_code': '001', 'branch': '1609', 'branch_digit': '8', 'account': '48102', 'account_digit': '5'},
{'bank_code': '001', 'branch': '4572', 'branch_digit': '1', 'account': '6903', 'account_digit': '5'},
{'bank_code': '001', 'branch': '3193', 'branch_digit': '3', 'account': '14237', 'account_digit': '9'},
{'bank_code': '001', 'branch': '3620', 'branch_digit': 'x', 'account': '6794004', 'account_digit': '8'},
{'bank_code': '001', 'branch': '6501', 'branch_digit': '3', 'account': '5750', 'account_digit': '9'},
{'bank_code': '001', 'branch': '1458', 'branch_digit': '3', 'account': '21520', 'account_digit': '1'},
{'bank_code': '001', 'branch': '0023', 'branch_digit': 'x', 'account': '32769', 'account_digit': '7'},
{'bank_code': '001', 'branch': '3871', 'branch_digit': '7', 'account': '8654', 'account_digit': '1'},
{'bank_code': '001', 'branch': '3589', 'branch_digit': '0', 'account': '47621', 'account_digit': '8'},
{'bank_code': '001', 'branch': '1267', 'branch_digit': 'x', 'account': '30369', 'account_digit': '0'},
{'bank_code': '001', 'branch': '7150', 'branch_digit': '1', 'account': '302262', 'account_digit': '5'},
{'bank_code': '001', 'branch': '4599', 'branch_digit': '3', 'account': '6939', 'account_digit': '6'},
{'bank_code': '001', 'branch': '3283', 'branch_digit': '2', 'account': '12995', 'account_digit': 'x'},
{'bank_code': '001', 'branch': '3330', 'branch_digit': '8', 'account': '0723084', 'account_digit': '2'},
{'bank_code': '001', 'branch': '8428', 'branch_digit': 'X', 'account': '107369', 'account_digit': '9'},
{'bank_code': '001', 'branch': '3599', 'branch_digit': '8', 'account': '20075', 'account_digit': '1'},
{'bank_code': '001', 'branch': '2299', 'branch_digit': '3', 'account': '6937', 'account_digit': 'x'},
{'bank_code': '001', 'branch': '6882', 'branch_digit': '9', 'account': '45288', 'account_digit': '2'},
{'bank_code': '001', 'branch': '0098', 'branch_digit': '1', 'account': '8143', 'account_digit': '4'},
{'bank_code': '001', 'branch': '0210', 'branch_digit': '0', 'account': '39891', 'account_digit': '8'},
{'bank_code': '001', 'branch': '1252', 'branch_digit': '1', 'account': '10172', 'account_digit': '9'},
{'bank_code': '001', 'branch': '0188', 'branch_digit': '0', 'account': '31630', 'account_digit': 'X'},
{'bank_code': '001', 'branch': '2944', 'branch_digit': '0', 'account': '29443', 'account_digit': '8'},
{'bank_code': '001', 'branch': '5378', 'branch_digit': '3', 'account': '6204', 'account_digit': '9'},
{'bank_code': '001', 'branch': '3847', 'branch_digit': '4', 'account': '120569', 'account_digit': '2'},
{'bank_code': '001', 'branch': '0539', 'branch_digit': '8', 'account': '4538658', 'account_digit': '7'},
{'bank_code': '001', 'branch': '3595', 'branch_digit': '5', 'account': '6851', 'account_digit': '9'},
{'bank_code': '001', 'branch': '3449', 'branch_digit': '5', 'account': '31100', 'account_digit': '6'},
{'bank_code': '001', 'branch': '2002', 'branch_digit': '8', 'account': '1360', 'account_digit': '9'},
{'bank_code': '001', 'branch': '6531', 'branch_digit': '5', 'account': '10075', 'account_digit': '7'},
{'bank_code': '001', 'branch': '6917', 'branch_digit': '5', 'account': '6388', 'account_digit': '6'},
{'bank_code': '001', 'branch': '7082', 'branch_digit': '3', 'account': '23813', 'account_digit': '9'},
{'bank_code': '001', 'branch': '0037', 'branch_digit': 'x', 'account': '68663', 'account_digit': '8'},
{'bank_code': '001', 'branch': '0742', 'branch_digit': '0', 'account': '8116529', 'account_digit': '3'},
{'bank_code': '001', 'branch': '4318', 'branch_digit': '4', 'account': '24565', 'account_digit': '8'},
{'bank_code': '001', 'branch': '4292', 'branch_digit': '7', 'account': '8067', 'account_digit': '5'},
{'bank_code': '001', 'branch': '0194', 'branch_digit': '5', 'account': '14891', 'account_digit': '1'},
{'bank_code': '001', 'branch': '3517', 'branch_digit': '3', 'account': '21014', 'account_digit': '5'},
{'bank_code': '001', 'branch': '2762', 'branch_digit': '6', 'account': '13358', 'account_digit': '2'},
{'bank_code': '001', 'branch': '4886', 'branch_digit': '0', 'account': '177777', 'account_digit': '7'},
{'bank_code': '001', 'branch': '2800', 'branch_digit': '2', 'account': '21681', 'account_digit': 'X'},
{'bank_code': '001', 'branch': '3648', 'branch_digit': 'x', 'account': '23784', 'account_digit': '1'},
{'bank_code': '001', 'branch': '6522', 'branch_digit': '6', 'account': '7519', 'account_digit': '1'},
{'bank_code': '001', 'branch': '7076', 'branch_digit': '9', 'account': '6090508', 'account_digit': '5'},
{'bank_code': '001', 'branch': '1192', 'branch_digit': '4', 'account': '35774', 'account_digit': 'x'},
{'bank_code': '001', 'branch': '3599', 'branch_digit': '8', 'account': '2', 'account_digit': '7'},
{'bank_code': '001', 'branch': '3602', 'branch_digit': '1', 'account': '0437963', 'account_digit': '2'},
],
'invalid_combinations': [
{'bank_code': '001', 'branch': '0395', 'branch_digit': '6', 'account': '45939', 'account_digit': '3'},
{'bank_code': '001', 'branch': '2995', 'branch_digit': '5', 'account': '14728', 'account_digit': '9'},
{'bank_code': '001', 'branch': '7071', 'branch_digit': '8', 'account': '6801908', 'account_digit': '3'},
{'bank_code': '001', 'branch': '0229', 'branch_digit': '1', 'account': '12351', 'account_digit': '4'},
{'bank_code': '001', 'branch': '0742', 'branch_digit': '0', 'account': '8116529', 'account_digit': '1'},
]
}
SANTANDER = {
'valid_combinations': [
{'bank_code': '033', 'branch': '2006', 'branch_digit': '', 'account': '01008407', 'account_digit': '4'},
{'bank_code': '033', 'branch': '3488', 'branch_digit': '', 'account': '01000334', 'account_digit': '6'},
{'bank_code': '033', 'branch': '3003', 'branch_digit': '', 'account': '01000491', 'account_digit': '1'},
{'bank_code': '033', 'branch': '3415', 'branch_digit': '', 'account': '01089302', 'account_digit': '4'},
{'bank_code': '033', 'branch': '3899', 'branch_digit': '', 'account': '01002217', 'account_digit': '6'},
{'bank_code': '033', 'branch': '3004', 'branch_digit': '', 'account': '01003220', 'account_digit': '7'},
{'bank_code': '033', 'branch': '0562', 'branch_digit': '', 'account': '01015946', 'account_digit': '3'},
{'bank_code': '033', 'branch': '1318', 'branch_digit': '', 'account': '01007168', 'account_digit': '0'},
{'bank_code': '033', 'branch': '3409', 'branch_digit': '', 'account': '01019131', 'account_digit': '4'},
{'bank_code': '033', 'branch': '3128', 'branch_digit': '', 'account': '01072280', 'account_digit': '8'},
{'bank_code': '033', 'branch': '1653', 'branch_digit': '', 'account': '01000226', 'account_digit': '4'},
{'bank_code': '033', 'branch': '4580', 'branch_digit': '', 'account': '01003115', 'account_digit': '4'},
{'bank_code': '033', 'branch': '3719', 'branch_digit': '', 'account': '01003141', 'account_digit': '2'},
{'bank_code': '033', 'branch': '4749', 'branch_digit': '', 'account': '01081666', 'account_digit': '8'},
{'bank_code': '033', 'branch': '2167', 'branch_digit': '', 'account': '01006952', 'account_digit': '5'},
{'bank_code': '033', 'branch': '0250', 'branch_digit': '', 'account': '01016748', 'account_digit': '0'},
{'bank_code': '033', 'branch': '0236', 'branch_digit': '', 'account': '01012421', 'account_digit': '6'},
{'bank_code': '033', 'branch': '0642', 'branch_digit': '', 'account': '01028759', 'account_digit': '8'},
{'bank_code': '033', 'branch': '3311', 'branch_digit': '', 'account': '01082068', 'account_digit': '9'},
{'bank_code': '033', 'branch': '3553', 'branch_digit': '', 'account': '01083325', 'account_digit': '0'},
{'bank_code': '033', 'branch': '0085', 'branch_digit': '', 'account': '01019802', 'account_digit': '4'},
{'bank_code': '033', 'branch': '0658', 'branch_digit': '', 'account': '01047326', 'account_digit': '0'},
{'bank_code': '033', 'branch': '3664', 'branch_digit': '', 'account': '01006243', 'account_digit': '1'},
{'bank_code': '033', 'branch': '3919', 'branch_digit': '', 'account': '01003572', 'account_digit': '8'},
{'bank_code': '033', 'branch': '1181', 'branch_digit': '', 'account': '01001574', 'account_digit': '5'},
{'bank_code': '033', 'branch': '0319', 'branch_digit': '', 'account': '01052162', 'account_digit': '6'},
{'bank_code': '033', 'branch': '0982', 'branch_digit': '', 'account': '01002319', 'account_digit': '1'},
{'bank_code': '033', 'branch': '3767', 'branch_digit': '', 'account': '01081803', 'account_digit': '6'},
{'bank_code': '033', 'branch': '0900', 'branch_digit': '', 'account': '01015746', 'account_digit': '3'},
{'bank_code': '033', 'branch': '2115', 'branch_digit': '', 'account': '01008573', 'account_digit': '9'},
{'bank_code': '033', 'branch': '2183', 'branch_digit': '', 'account': '13001676', 'account_digit': '6'},
{'bank_code': '033', 'branch': '4727', 'branch_digit': '', 'account': '01021891', 'account_digit': '0'},
{'bank_code': '033', 'branch': '3140', 'branch_digit': '', 'account': '01081522', 'account_digit': '7'},
{'bank_code': '033', 'branch': '0105', 'branch_digit': '', 'account': '01050748', 'account_digit': '1'},
{'bank_code': '033', 'branch': '0628', 'branch_digit': '', 'account': '01033262', 'account_digit': '9'},
{'bank_code': '033', 'branch': '4762', 'branch_digit': '', 'account': '01019136', 'account_digit': '8'},
{'bank_code': '033', 'branch': '0903', 'branch_digit': '', 'account': '01004867', 'account_digit': '8'},
{'bank_code': '033', 'branch': '3678', 'branch_digit': '', 'account': '01001778', 'account_digit': '8'},
{'bank_code': '033', 'branch': '0097', 'branch_digit': '', 'account': '01014173', 'account_digit': '5'},
{'bank_code': '033', 'branch': '1637', 'branch_digit': '', 'account': '01003221', 'account_digit': '8'},
{'bank_code': '033', 'branch': '0220', 'branch_digit': '', 'account': '01021953', 'account_digit': '1'},
{'bank_code': '033', 'branch': '3137', 'branch_digit': '', 'account': '01013057', 'account_digit': '1'},
{'bank_code': '033', 'branch': '3716', 'branch_digit': '', 'account': '01001508', 'account_digit': '8'},
{'bank_code': '033', 'branch': '0680', 'branch_digit': '', 'account': '01020880', 'account_digit': '3'},
{'bank_code': '033', 'branch': '0129', 'branch_digit': '', 'account': '01068263', 'account_digit': '6'},
{'bank_code': '033', 'branch': '3083', 'branch_digit': '', 'account': '01000412', 'account_digit': '0'},
{'bank_code': '033', 'branch': '4653', 'branch_digit': '', 'account': '01020964', 'account_digit': '6'},
{'bank_code': '033', 'branch': '0001', 'branch_digit': '', 'account': '02006073', 'account_digit': '1'},
{'bank_code': '033', 'branch': '0986', 'branch_digit': '', 'account': '01001039', 'account_digit': '1'},
{'bank_code': '033', 'branch': '4310', 'branch_digit': '', 'account': '01000386', 'account_digit': '2'},
{'bank_code': '033', 'branch': '3476', 'branch_digit': '', 'account': '02000708', 'account_digit': '7'},
{'bank_code': '033', 'branch': '4679', 'branch_digit': '', 'account': '01000571', 'account_digit': '8'},
{'bank_code': '033', 'branch': '4259', 'branch_digit': '', 'account': '01002748', 'account_digit': '2'},
{'bank_code': '033', 'branch': '0301', 'branch_digit': '', 'account': '01015734', 'account_digit': '7'},
{'bank_code': '033', 'branch': '3966', 'branch_digit': '', 'account': '01066137', 'account_digit': '4'},
{'bank_code': '033', 'branch': '0112', 'branch_digit': '', 'account': '01026747', 'account_digit': '7'},
{'bank_code': '033', 'branch': '0037', 'branch_digit': '', 'account': '01083383', 'account_digit': '8'},
{'bank_code': '033', 'branch': '3472', 'branch_digit': '', 'account': '01008201', 'account_digit': '6'},
{'bank_code': '033', 'branch': '4478', 'branch_digit': '', 'account': '01073210', 'account_digit': '1'},
{'bank_code': '033', 'branch': '3501', 'branch_digit': '', 'account': '01006602', 'account_digit': '4'},
{'bank_code': '033', 'branch': '0535', 'branch_digit': '', 'account': '01019251', 'account_digit': '6'},
{'bank_code': '033', 'branch': '3750', 'branch_digit': '', 'account': '01001880', 'account_digit': '3'},
{'bank_code': '033', 'branch': '1330', 'branch_digit': '', 'account': '01019096', 'account_digit': '1'},
{'bank_code': '033', 'branch': '0142', 'branch_digit': '', 'account': '01042867', 'account_digit': '3'},
{'bank_code': '033', 'branch': '3717', 'branch_digit': '', 'account': '01004637', 'account_digit': '7'},
{'bank_code': '033', 'branch': '4647', 'branch_digit': '', 'account': '01000073', 'account_digit': '8'},
{'bank_code': '033', 'branch': '3522', 'branch_digit': '', 'account': '01003302', 'account_digit': '7'},
{'bank_code': '033', 'branch': '4779', 'branch_digit': '', 'account': '01000483', 'account_digit': '7'},
{'bank_code': '033', 'branch': '0319', 'branch_digit': '', 'account': '01041485', 'account_digit': '0'},
{'bank_code': '033', 'branch': '0445', 'branch_digit': '', 'account': '001009300', 'account_digit': '2'},
{'bank_code': '033', 'branch': '1431', 'branch_digit': '', 'account': '01002389', 'account_digit': '4'},
{'bank_code': '033', 'branch': '0248', 'branch_digit': '', 'account': '01013538', 'account_digit': '3'},
{'bank_code': '033', 'branch': '4230', 'branch_digit': '', 'account': '01085717', 'account_digit': '4'},
{'bank_code': '033', 'branch': '3409', 'branch_digit': '', 'account': '02002962', 'account_digit': '1'},
{'bank_code': '033', 'branch': '0643', 'branch_digit': '', 'account': '01038220', 'account_digit': '7'},
{'bank_code': '033', 'branch': '4776', 'branch_digit': '', 'account': '01000729', 'account_digit': '7'},
{'bank_code': '033', 'branch': '3004', 'branch_digit': '', 'account': '1004420', 'account_digit': '8'},
{'bank_code': '033', 'branch': '1568', 'branch_digit': '', 'account': '01003687', 'account_digit': '9'},
{'bank_code': '033', 'branch': '0114', 'branch_digit': '', 'account': '01034968', 'account_digit': '9'},
{'bank_code': '033', 'branch': '4268', 'branch_digit': '', 'account': '01063682', 'account_digit': '0'},
{'bank_code': '033', 'branch': '0811', 'branch_digit': '', 'account': '01000575', 'account_digit': '4'},
{'bank_code': '033', 'branch': '0697', 'branch_digit': '', 'account': '01000315', 'account_digit': '8'},
{'bank_code': '033', 'branch': '3409', 'branch_digit': '', 'account': '01086346', 'account_digit': '6'},
{'bank_code': '033', 'branch': '2146', 'branch_digit': '', 'account': '01009275', 'account_digit': '9'},
{'bank_code': '033', 'branch': '0576', 'branch_digit': '', 'account': '01007506', 'account_digit': '1'},
{'bank_code': '033', 'branch': '3922', 'branch_digit': '', 'account': '01081275', 'account_digit': '8'},
{'bank_code': '033', 'branch': '0060', 'branch_digit': '', 'account': '01080281', 'account_digit': '4'},
{'bank_code': '033', 'branch': '2093', 'branch_digit': '', 'account': '01019648', 'account_digit': '7'},
{'bank_code': '033', 'branch': '3731', 'branch_digit': '', 'account': '01001830', 'account_digit': '3'},
{'bank_code': '033', 'branch': '4715', 'branch_digit': '', 'account': '01086178', 'account_digit': '8'},
{'bank_code': '033', 'branch': '1181', 'branch_digit': '', 'account': '01004801', 'account_digit': '3'},
{'bank_code': '033', 'branch': '2269', 'branch_digit': '', 'account': '01019042', 'account_digit': '8'},
{'bank_code': '033', 'branch': '3067', 'branch_digit': '', 'account': '01078324', 'account_digit': '9'},
{'bank_code': '033', 'branch': '3822', 'branch_digit': '', 'account': '01008987', 'account_digit': '6'},
{'bank_code': '033', 'branch': '4052', 'branch_digit': '', 'account': '01000202', 'account_digit': '6'},
{'bank_code': '033', 'branch': '3041', 'branch_digit': '', 'account': '01014802', 'account_digit': '8'},
{'bank_code': '033', 'branch': '0252', 'branch_digit': '', 'account': '01011089', 'account_digit': '5'},
{'bank_code': '033', 'branch': '3997', 'branch_digit': '', 'account': '01001154', 'account_digit': '2'},
{'bank_code': '033', 'branch': '2290', 'branch_digit': '', 'account': '01000409', 'account_digit': '1'},
{'bank_code': '033', 'branch': '3878', 'branch_digit': '', 'account': '01085729', 'account_digit': '8'},
{'bank_code': '033', 'branch': '3397', 'branch_digit': '', 'account': '01009421', 'account_digit': '9'},
{'bank_code': '033', 'branch': '0120', 'branch_digit': '', 'account': '01058564', 'account_digit': '8'},
{'bank_code': '033', 'branch': '0445', 'branch_digit': '', 'account': '01015526', 'account_digit': '3'},
{'bank_code': '033', 'branch': '1582', 'branch_digit': '', 'account': '13000418', 'account_digit': '3'},
{'bank_code': '033', 'branch': '4260', 'branch_digit': '', 'account': '01001451', 'account_digit': '0'},
{'bank_code': '033', 'branch': '0929', 'branch_digit': '', 'account': '01001725', 'account_digit': '2'},
{'bank_code': '033', 'branch': '0179', 'branch_digit': '', 'account': '13006152', 'account_digit': '7'},
],
'invalid_combinations': [
{'bank_code': '033', 'branch': '3003', 'branch_digit': '', 'account': '01000491', 'account_digit': '5'},
{'bank_code': '033', 'branch': '3415', 'branch_digit': '', 'account': '01089302', 'account_digit': '6'},
]
}
BANRISUL = {
# FROM: https://www.banrisul.com.br/bob/link/bobw00hn_onde_tem_banrisul.aspx?secao_id=1116
'correct_data': [
('0196', '66'),
('0668', '42'),
('0330', '14'),
('0584', '32'),
('0137', '06'),
('0130', '56'),
('1104', '93'),
('0128', '90'),
('1105', '66'),
('0150', '32'),
('0990', '23'),
('0141', '25'),
('0270', '06'),
('0906', '89'),
('0283', '20'),
('0288', '19'),
('1073', '60'),
('0100', '81'),
('1015', '75'),
('0028', '28'),
('0831', '86'),
('0843', '36'),
('0025', '77'),
('1004', '12'),
('0844', '17'),
('0030', '77'),
('1151', '18'),
('1069', '41'),
('0845', '81'),
('0031', '58'),
('0049', '79'),
('0032', '39'),
('0835', '93'),
('0702', '11'),
('1042', '13'),
('0597', '57'),
('0035', '65'),
('0624', '72'),
('0015', '89'),
('0036', '46'),
('0039', '80'),
('1081', '97'),
('0040', '65'),
('0041', '46'),
('0042', '27'),
('0018', '21'),
('0839', '17'),
('0045', '53'),
('0047', '15'),
('0016', '78'),
('0838', '36'),
('0156', '01'),
('0050', '53'),
('1075', '14'),
('0055', '41'),
('0060', '41'),
('1098', '35'),
('0062', '03'),
('0065', '48'),
('0100', '81'),
('0100', '81'),
('0051', '34'),
('0047', '15'),
('0030', '77'),
('0835', '93'),
('0040', '65'),
('0065', '48'),
('0065', '48'),
('0845', '81'),
('0030', '77'),
('0100', '81'),
('0051', '34'),
('0041', '46'),
('0621', '38'),
('0621', '38'),
('0797', '15'),
('0065', '48'),
('0027', '39'),
('0042', '27'),
('1004', '12'),
('0100', '81'),
('0030', '77'),
('0040', '65'),
('0040', '65'),
('0041', '46'),
('0051', '34'),
('0100', '81'),
('0835', '93'),
('0835', '93'),
('0100', '81'),
('0100', '81'),
('0100', '81'),
('0041', '46'),
('0100', '81'),
('0026', '58'),
('0100', '81'),
('0042', '27'),
('0085', '16'),
('0050', '53'),
('0060', '41'),
('1099', '16'),
('0834', '29'),
('0077', '81'),
('0065', '48'),
('0070', '48'),
('0075', '28'),
('0621', '38'),
('0011', '71'),
('0257', '63'),
('0847', '43'),
('0797', '15'),
('1140', '30'),
('0073', '74'),
('0080', '28'),
('0026', '58'),
('0643', '78'),
('0082', '81'),
('0027', '39'),
('1103', '10'),
('0085', '16'),
('0051', '34'),
('0852', '43'),
('1009', '00'),
('0043', '08'),
('0856', '50'),
('0851', '62'),
]
}
CAIXA_ECONOMICA_FEDERAL = {
'valid_combinations': [
{'bank_code': '104', 'branch': '3009', 'branch_digit': '', 'account': '00100022679', 'account_digit': '9'},
{'bank_code': '104', 'branch': '4074', 'branch_digit': '', 'account': '00100023064', 'account_digit': '5'},
{'bank_code': '104', 'branch': '0323', 'branch_digit': '', 'account': '00100013906', 'account_digit': '2'},
{'bank_code': '104', 'branch': '3586', 'branch_digit': '', 'account': '00100024125', 'account_digit': '7'},
{'bank_code': '104', 'branch': '1041', 'branch_digit': '', 'account': '00100000663', 'account_digit': '1'},
{'bank_code': '104', 'branch': '3664', 'branch_digit': '', 'account': '00100020627', 'account_digit': '7'},
{'bank_code': '104', 'branch': '0376', 'branch_digit': '', 'account': '00100023641', 'account_digit': '5'},
{'bank_code': '104', 'branch': '1029', 'branch_digit': '', 'account': '00100000704', 'account_digit': '7'},
{'bank_code': '104', 'branch': '0081', 'branch_digit': '', 'account': '00100402345', 'account_digit': '5'},
{'bank_code': '104', 'branch': '0274', 'branch_digit': '', 'account': '00100002205', 'account_digit': '4'},
{'bank_code': '104', 'branch': '0138', 'branch_digit': '', 'account': '00100025179', 'account_digit': '7'},
{'bank_code': '104', 'branch': '0097', 'branch_digit': '', 'account': '00100024764', 'account_digit': '0'},
{'bank_code': '104', 'branch': '0007', 'branch_digit': '', 'account': '00100026579', 'account_digit': '5'},
{'bank_code': '104', 'branch': '0330', 'branch_digit': '', 'account': '00100027000', 'account_digit': '0'},
{'bank_code': '104', 'branch': '2929', 'branch_digit': '', 'account': '00100023108', 'account_digit': '2'},
{'bank_code': '104', 'branch': '3093', 'branch_digit': '', 'account': '00100022680', 'account_digit': '0'},
{'bank_code': '104', 'branch': '0377', 'branch_digit': '', 'account': '00100024431', 'account_digit': '6'},
{'bank_code': '104', 'branch': '3529', 'branch_digit': '', 'account': '00100020826', 'account_digit': '7'},
{'bank_code': '104', 'branch': '3708', 'branch_digit': '', 'account': '00100022028', 'account_digit': '6'},
{'bank_code': '104', 'branch': '0238', 'branch_digit': '', 'account': '00100029117', 'account_digit': '2'},
{'bank_code': '104', 'branch': '1209', 'branch_digit': '', 'account': '00100022432', 'account_digit': '1'},
{'bank_code': '104', 'branch': '1005', 'branch_digit': '', 'account': '00100001442', 'account_digit': '5'},
{'bank_code': '104', 'branch': '0974', 'branch_digit': '', 'account': '00100024066', 'account_digit': '9'},
{'bank_code': '104', 'branch': '1655', 'branch_digit': '', 'account': '00100021870', 'account_digit': '0'},
{'bank_code': '104', 'branch': '0973', 'branch_digit': '', 'account': '00100024056', 'account_digit': '6'},
{'bank_code': '104', 'branch': '1374', 'branch_digit': '', 'account': '00100032594', 'account_digit': '0'},
{'bank_code': '104', 'branch': '3234', 'branch_digit': '', 'account': '00100020302', 'account_digit': '4'},
{'bank_code': '104', 'branch': '3178', 'branch_digit': '', 'account': '00100003275', 'account_digit': '7'},
{'bank_code': '104', 'branch': '0180', 'branch_digit': '', 'account': '01300026644', 'account_digit': '4'},
{'bank_code': '104', 'branch': '2879', 'branch_digit': '', 'account': '00100001151', 'account_digit': '0'},
{'bank_code': '104', 'branch': '0740', 'branch_digit': '', 'account': '00100006300', 'account_digit': '4'},
{'bank_code': '104', 'branch': '1626', 'branch_digit': '', 'account': '00100020593', 'account_digit': '6'},
{'bank_code': '104', 'branch': '2256', 'branch_digit': '', 'account': '01300022084', 'account_digit': '1'},
{'bank_code': '104', 'branch': '2272', 'branch_digit': '', 'account': '01300018769', 'account_digit': '8'},
{'bank_code': '104', 'branch': '1286', 'branch_digit': '', 'account': '00100021202', 'account_digit': '1'},
{'bank_code': '104', 'branch': '1631', 'branch_digit': '', 'account': '00100024975', 'account_digit': '2'},
{'bank_code': '104', 'branch': '3016', 'branch_digit': '', 'account': '00100032801', 'account_digit': '8'},
{'bank_code': '104', 'branch': '4004', 'branch_digit': '', 'account': '00100024929', 'account_digit': '8'},
{'bank_code': '104', 'branch': '3518', 'branch_digit': '', 'account': '00100878787', 'account_digit': '8'},
{'bank_code': '104', 'branch': '1448', 'branch_digit': '', 'account': '00100005206', 'account_digit': '7'},
{'bank_code': '104', 'branch': '4076', 'branch_digit': '', 'account': '00100022873', 'account_digit': '0'},
{'bank_code': '104', 'branch': '1656', 'branch_digit': '', 'account': '00100000199', 'account_digit': '4'},
{'bank_code': '104', 'branch': '0253', 'branch_digit': '', 'account': '00100021172', 'account_digit': '3'},
{'bank_code': '104', 'branch': '0659', 'branch_digit': '', 'account': '00100024087', 'account_digit': '9'},
{'bank_code': '104', 'branch': '0369', 'branch_digit': '', 'account': '00100027307', 'account_digit': '0'},
{'bank_code': '104', 'branch': '0678', 'branch_digit': '', 'account': '00100000478', 'account_digit': '8'},
{'bank_code': '104', 'branch': '4018', 'branch_digit': '', 'account': '00100002956', 'account_digit': '1'},
{'bank_code': '104', 'branch': '2717', 'branch_digit': '', 'account': '00100000419', 'account_digit': '9'},
{'bank_code': '104', 'branch': '3725', 'branch_digit': '', 'account': '00100021781', 'account_digit': '4'},
{'bank_code': '104', 'branch': '2161', 'branch_digit': '', 'account': '00100002257', 'account_digit': '8'},
{'bank_code': '104', 'branch': '2885', 'branch_digit': '', 'account': '01300009226', 'account_digit': '6'},
{'bank_code': '104', 'branch': '0607', 'branch_digit': '', 'account': '01300029203', 'account_digit': '8'},
{'bank_code': '104', 'branch': '1173', 'branch_digit': '', 'account': '00100020283', 'account_digit': '8'},
{'bank_code': '104', 'branch': '1746', 'branch_digit': '', 'account': '00100024048', 'account_digit': '3'},
{'bank_code': '104', 'branch': '0371', 'branch_digit': '', 'account': '01300074967', 'account_digit': '2'},
{'bank_code': '104', 'branch': '3825', 'branch_digit': '', 'account': '00100020712', 'account_digit': '0'},
{'bank_code': '104', 'branch': '1831', 'branch_digit': '', 'account': '00100000935', 'account_digit': '0'},
{'bank_code': '104', 'branch': '3898', 'branch_digit': '', 'account': '00100020341', 'account_digit': '6'},
{'bank_code': '104', 'branch': '0655', 'branch_digit': '', 'account': '00100026077', 'account_digit': '0'},
{'bank_code': '104', 'branch': '0974', 'branch_digit': '', 'account': '01300018935', 'account_digit': '7'},
{'bank_code': '104', 'branch': '0566', 'branch_digit': '', 'account': '00100029057', 'account_digit': '9'},
{'bank_code': '104', 'branch': '1337', 'branch_digit': '', 'account': '00100020993', 'account_digit': '0'},
{'bank_code': '104', 'branch': '2387', 'branch_digit': '', 'account': '00100006984', 'account_digit': '0'},
{'bank_code': '104', 'branch': '1529', 'branch_digit': '', 'account': '00100003499', 'account_digit': '9'},
{'bank_code': '104', 'branch': '1529', 'branch_digit': '', 'account': '00100022437', 'account_digit': '2'},
{'bank_code': '104', 'branch': '1433', 'branch_digit': '', 'account': '00100020291', 'account_digit': '1'},
{'bank_code': '104', 'branch': '3532', 'branch_digit': '', 'account': '00100023661', 'account_digit': '5'},
{'bank_code': '104', 'branch': '0920', 'branch_digit': '', 'account': '00100005838', 'account_digit': '6'},
{'bank_code': '104', 'branch': '0240', 'branch_digit': '', 'account': '00100003162', 'account_digit': '7'},
{'bank_code': '104', 'branch': '1282', 'branch_digit': '', 'account': '00100022936', 'account_digit': '4'},
{'bank_code': '104', 'branch': '0867', 'branch_digit': '', 'account': '00100028748', 'account_digit': '5'},
{'bank_code': '104', 'branch': '0132', 'branch_digit': '', 'account': '01300092032', 'account_digit': '0'},
{'bank_code': '104', 'branch': '0183', 'branch_digit': '', 'account': '01300110073', 'account_digit': '2'},
{'bank_code': '104', 'branch': '0344', 'branch_digit': '', 'account': '00100104739', 'account_digit': '5'},
{'bank_code': '104', 'branch': '1294', 'branch_digit': '', 'account': '00100004122', 'account_digit': '0'},
{'bank_code': '104', 'branch': '0039', 'branch_digit': '', 'account': '00100001289', 'account_digit': '1'},
{'bank_code': '104', 'branch': '3653', 'branch_digit': '', 'account': '00100020040', 'account_digit': '6'},
{'bank_code': '104', 'branch': '0250', 'branch_digit': '', 'account': '01300049677', 'account_digit': '6'},
{'bank_code': '104', 'branch': '0037', 'branch_digit': '', 'account': '02300001126', 'account_digit': '7'},
{'bank_code': '104', 'branch': '0800', 'branch_digit': '', 'account': '00100007246', 'account_digit': '7'},
{'bank_code': '104', 'branch': '4139', 'branch_digit': '', 'account': '00100005660', 'account_digit': '5'},
{'bank_code': '104', 'branch': '1370', 'branch_digit': '', 'account': '00100001501', 'account_digit': '0'},
{'bank_code': '104', 'branch': '0081', 'branch_digit': '', 'account': '00100028566', 'account_digit': '8'},
{'bank_code': '104', 'branch': '1746', 'branch_digit': '', 'account': '00100000545', 'account_digit': '0'},
{'bank_code': '104', 'branch': '1399', 'branch_digit': '', 'account': '00100020206', 'account_digit': '3'},
{'bank_code': '104', 'branch': '4695', 'branch_digit': '', 'account': '00100021292', 'account_digit': '9'},
{'bank_code': '104', 'branch': '0161', 'branch_digit': '', 'account': '00100050132', 'account_digit': '2'},
{'bank_code': '104', 'branch': '1989', 'branch_digit': '', 'account': '01300065849', 'account_digit': '1'},
{'bank_code': '104', 'branch': '2960', 'branch_digit': '', 'account': '00100023169', 'account_digit': '3'},
{'bank_code': '104', 'branch': '2289', 'branch_digit': '', 'account': '00100030924', 'account_digit': '5'},
{'bank_code': '104', 'branch': '0797', 'branch_digit': '', 'account': '00100023335', 'account_digit': '0'},
{'bank_code': '104', 'branch': '4716', 'branch_digit': '', 'account': '00100020483', 'account_digit': '0'},
{'bank_code': '104', 'branch': '0259', 'branch_digit': '', 'account': '00100022168', 'account_digit': '3'},
{'bank_code': '104', 'branch': '4082', 'branch_digit': '', 'account': '01300022302', 'account_digit': '6'},
{'bank_code': '104', 'branch': '1942', 'branch_digit': '', 'account': '00100061950', 'account_digit': '0'},
{'bank_code': '104', 'branch': '0893', 'branch_digit': '', 'account': '01300051113', 'account_digit': '5'},
{'bank_code': '104', 'branch': '2987', 'branch_digit': '', 'account': '00100021099', 'account_digit': '5'},
{'bank_code': '104', 'branch': '3463', 'branch_digit': '', 'account': '01300006936', 'account_digit': '0'},
{'bank_code': '104', 'branch': '0694', 'branch_digit': '', 'account': '00100021543', 'account_digit': '3'},
{'bank_code': '104', 'branch': '0145', 'branch_digit': '', 'account': '001013005390', 'account_digit': '9'},
{'bank_code': '104', 'branch': '0293', 'branch_digit': '', 'account': '00100031362', 'account_digit': '1'},
{'bank_code': '104', 'branch': '2712', 'branch_digit': '', 'account': '01300030597', 'account_digit': '7'},
{'bank_code': '104', 'branch': '0893', 'branch_digit': '', 'account': '00100032983', 'account_digit': '0'},
{'bank_code': '104', 'branch': '1464', 'branch_digit': '', 'account': '00100022843', 'account_digit': '0'},
{'bank_code': '104', 'branch': '2862', 'branch_digit': '', 'account': '00100021709', 'account_digit': '4'},
{'bank_code': '104', 'branch': '0081', 'branch_digit': '', 'account': '00100000526', 'account_digit': '6'},
],
'invalid_combinations': [
{'bank_code': '104', 'branch': '3009', 'branch_digit': '', 'account': '00100022679', 'account_digit': '6'},
{'bank_code': '104', 'branch': '0797', 'branch_digit': '', 'account': '00100023335', 'account_digit': '7'},
{'bank_code': '104', 'branch': '4716', 'branch_digit': '', 'account': '00100020483', 'account_digit': '3'},
{'bank_code': '104', 'branch': '0259', 'branch_digit': '', 'account': '00100022168', 'account_digit': '5'},
{'bank_code': '104', 'branch': '4082', 'branch_digit': '', 'account': '01300022302', 'account_digit': '4'},
{'bank_code': '104', 'branch': '1942', 'branch_digit': '', 'account': '00100061950', 'account_digit': '7'},
{'bank_code': '104', 'branch': '0893', 'branch_digit': '', 'account': '01300051113', 'account_digit': '1'},
]
}
BRADESCO = {
'valid_combinations': [
{'bank_code': '237', 'branch': '2377', 'branch_digit': '9', 'account': '0002158', 'account_digit': '0'},
{'bank_code': '237', 'branch': '1842', 'branch_digit': '2', 'account': '42582', 'account_digit': '6'},
{'bank_code': '237', 'branch': '2308', 'branch_digit': '6', 'account': '8743', 'account_digit': '2'},
{'bank_code': '237', 'branch': '2883', 'branch_digit': '5', 'account': '19678', 'account_digit': '9'},
{'bank_code': '237', 'branch': '1493', 'branch_digit': '1', 'account': '00004218', 'account_digit': '8'},
{'bank_code': '237', 'branch': '0138', 'branch_digit': '4', 'account': '0125350', 'account_digit': '6'},
{'bank_code': '237', 'branch': '3209', 'branch_digit': '3', 'account': '82826', 'account_digit': '2'},
{'bank_code': '237', 'branch': '3568', 'branch_digit': '8', 'account': '0572396', 'account_digit': '5'},
{'bank_code': '237', 'branch': '1838', 'branch_digit': '4', 'account': '383', 'account_digit': '2'},
{'bank_code': '237', 'branch': '0224', 'branch_digit': '0', 'account': '0213608', 'account_digit': '2'},
{'bank_code': '237', 'branch': '2877', 'branch_digit': '0', 'account': '2205', 'account_digit': '5'},
{'bank_code': '237', 'branch': '0135', 'branch_digit': '0', 'account': '0091562', 'account_digit': '9'},
{'bank_code': '237', 'branch': '1764', 'branch_digit': '7', 'account': '1488', 'account_digit': '5'},
{'bank_code': '237', 'branch': '0046', 'branch_digit': '9', 'account': '368740', 'account_digit': '6'},
{'bank_code': '237', 'branch': '3061', 'branch_digit': '9', 'account': '928', 'account_digit': '8'},
{'bank_code': '237', 'branch': '1039', 'branch_digit': '1', 'account': '11490', 'account_digit': '1'},
{'bank_code': '237', 'branch': '0593', 'branch_digit': '2', 'account': '206610', 'account_digit': '6'},
{'bank_code': '237', 'branch': '0823', 'branch_digit': '0', 'account': '1123', 'account_digit': '1'},
{'bank_code': '237', 'branch': '0215', 'branch_digit': '1', 'account': '0509042', 'account_digit': '3'},
{'bank_code': '237', 'branch': '3019', 'branch_digit': '8', 'account': '0096751', 'account_digit': '3'},
{'bank_code': '237', 'branch': '2731', 'branch_digit': '6', 'account': '0518055', 'account_digit': '4'},
{'bank_code': '237', 'branch': '3141', 'branch_digit': '0', 'account': '16750', 'account_digit': '9'},
{'bank_code': '237', 'branch': '0323', 'branch_digit': '9', 'account': '72888', 'account_digit': '8'},
{'bank_code': '237', 'branch': '2451', 'branch_digit': '1', 'account': '21734', 'account_digit': '4'},
{'bank_code': '237', 'branch': '0154', 'branch_digit': '6', 'account': '201402', 'account_digit': '5'},
{'bank_code': '237', 'branch': '2856', 'branch_digit': '8', 'account': '727', 'account_digit': '7'},
{'bank_code': '237', 'branch': '2671', 'branch_digit': '9', 'account': '10080', 'account_digit': '3'},
{'bank_code': '237', 'branch': '2601', 'branch_digit': '8', 'account': '0001112', 'account_digit': '6'},
{'bank_code': '237', 'branch': '0682', 'branch_digit': '3', 'account': '53757', 'account_digit': '8'},
{'bank_code': '237', 'branch': '0504', 'branch_digit': '5', 'account': '43142', 'account_digit': '7'},
{'bank_code': '237', 'branch': '2773', 'branch_digit': '1', 'account': '0015781', 'account_digit': '3'},
{'bank_code': '237', 'branch': '1669', 'branch_digit': '1', 'account': '11437', 'account_digit': '5'},
{'bank_code': '237', 'branch': '1125', 'branch_digit': '8', 'account': '0300024', 'account_digit': '9'},
{'bank_code': '237', 'branch': '2102', 'branch_digit': '4', 'account': '9719', 'account_digit': '5'},
{'bank_code': '237', 'branch': '3327', 'branch_digit': '8', 'account': '0000444', 'account_digit': '8'},
{'bank_code': '237', 'branch': '2200', 'branch_digit': '4', 'account': '22793', 'account_digit': '5'},
{'bank_code': '237', 'branch': '1249', 'branch_digit': '1', 'account': '100122', 'account_digit': '1'},
{'bank_code': '237', 'branch': '6734', 'branch_digit': '2', 'account': '751', 'account_digit': '0'},
{'bank_code': '237', 'branch': '3113', 'branch_digit': '5', 'account': '14812', 'account_digit': '1'},
{'bank_code': '237', 'branch': '1997', 'branch_digit': '6', 'account': '6955', 'account_digit': '8'},
{'bank_code': '237', 'branch': '0486', 'branch_digit': '3', 'account': '0061408', 'account_digit': '4'},
{'bank_code': '237', 'branch': '2875', 'branch_digit': '4', 'account': '0009608', 'account_digit': '3'},
{'bank_code': '237', 'branch': '1451', 'branch_digit': '6', 'account': '63080', 'account_digit': '2'},
{'bank_code': '237', 'branch': '0666', 'branch_digit': '1', 'account': '0550207', 'account_digit': '1'},
{'bank_code': '237', 'branch': '0769', 'branch_digit': '2', 'account': '8356', 'account_digit': '9'},
{'bank_code': '237', 'branch': '1330', 'branch_digit': '7', 'account': '5516', 'account_digit': '6'},
{'bank_code': '237', 'branch': '0081', 'branch_digit': '7', 'account': '106923', 'account_digit': '3'},
{'bank_code': '237', 'branch': '3428', 'branch_digit': '2', 'account': '0021838', 'account_digit': '3'},
{'bank_code': '237', 'branch': '1785', 'branch_digit': '0', 'account': '0020480', 'account_digit': '3'},
{'bank_code': '237', 'branch': '1701', 'branch_digit': '9', 'account': '58001', 'account_digit': '5'},
{'bank_code': '237', 'branch': '3137', 'branch_digit': '2', 'account': '0009348', 'account_digit': '3'},
{'bank_code': '237', 'branch': '3100', 'branch_digit': '3', 'account': '0447884', 'account_digit': '3'},
{'bank_code': '237', 'branch': '6005', 'branch_digit': '4', 'account': '0001165', 'account_digit': '7'},
{'bank_code': '237', 'branch': '0423', 'branch_digit': '5', 'account': '110106', 'account_digit': '4'},
{'bank_code': '237', 'branch': '0568', 'branch_digit': '1', 'account': '10889', 'account_digit': '8'},
{'bank_code': '237', 'branch': '0601', 'branch_digit': '7', 'account': '7559', 'account_digit': '0'},
{'bank_code': '237', 'branch': '3636', 'branch_digit': '6', 'account': '7550', 'account_digit': '7'},
{'bank_code': '237', 'branch': '2214', 'branch_digit': '4', 'account': '0600632', 'account_digit': '9'},
{'bank_code': '237', 'branch': '3469', 'branch_digit': '0', 'account': '7953', 'account_digit': '7'},
{'bank_code': '237', 'branch': '3210', 'branch_digit': '7', 'account': '0100725', 'account_digit': '4'},
{'bank_code': '237', 'branch': '1522', 'branch_digit': '9', 'account': '1459', 'account_digit': '1'},
{'bank_code': '237', 'branch': '0156', 'branch_digit': '2', 'account': '0218147', 'account_digit': '9'},
{'bank_code': '237', 'branch': '0095', 'branch_digit': '7', 'account': '265154', 'account_digit': '8'},
{'bank_code': '237', 'branch': '1084', 'branch_digit': '7', 'account': '0039561', 'account_digit': '7'},
{'bank_code': '237', 'branch': '1262', 'branch_digit': '9', 'account': '0020629', 'account_digit': '6'},
{'bank_code': '237', 'branch': '6898', 'branch_digit': '5', 'account': '1670', 'account_digit': '5'},
{'bank_code': '237', 'branch': '1691', 'branch_digit': '8', 'account': '0001579', 'account_digit': '2'},
{'bank_code': '237', 'branch': '2369', 'branch_digit': '8', 'account': '0006512', 'account_digit': '9'},
{'bank_code': '237', 'branch': '1526', 'branch_digit': '1', 'account': '9901', 'account_digit': '5'},
{'bank_code': '237', 'branch': '0165', 'branch_digit': '1', 'account': '0102598', 'account_digit': '8'},
{'bank_code': '237', 'branch': '2614', 'branch_digit': '0', 'account': '0502683', 'account_digit': '0'},
{'bank_code': '237', 'branch': '0495', 'branch_digit': '2', 'account': '0106571', 'account_digit': '8'},
{'bank_code': '237', 'branch': '2784', 'branch_digit': '7', 'account': '9202', 'account_digit': '9'},
{'bank_code': '237', 'branch': '0214', 'branch_digit': '3', 'account': '075866', 'account_digit': '3'},
{'bank_code': '237', 'branch': '1045', 'branch_digit': '6', 'account': '186055', 'account_digit': '0'},
{'bank_code': '237', 'branch': '1431', 'branch_digit': '1', 'account': '0057991', 'account_digit': '2'},
{'bank_code': '237', 'branch': '0220', 'branch_digit': '8', 'account': '0006140', 'account_digit': '9'},
{'bank_code': '237', 'branch': '0497', 'branch_digit': '9', 'account': '63630', 'account_digit': '4'},
{'bank_code': '237', 'branch': '0027', 'branch_digit': '2', 'account': '51474', 'account_digit': '8'},
{'bank_code': '237', 'branch': '2062', 'branch_digit': '1', 'account': '97387', 'account_digit': '4'},
{'bank_code': '237', 'branch': '2201', 'branch_digit': '2', 'account': '0044649', 'account_digit': '1'},
{'bank_code': '237', 'branch': '3526', 'branch_digit': '2', 'account': '18273', 'account_digit': '7'},
{'bank_code': '237', 'branch': '2918', 'branch_digit': '1', 'account': '1001156', 'account_digit': '6'},
{'bank_code': '237', 'branch': '0943', 'branch_digit': '1', 'account': '000561', 'account_digit': '4'},
{'bank_code': '237', 'branch': '3014', 'branch_digit': '7', 'account': '0010704', 'account_digit': '2'},
{'bank_code': '237', 'branch': '0055', 'branch_digit': '8', 'account': '0767584', 'account_digit': '4'},
{'bank_code': '237', 'branch': '1489', 'branch_digit': '3', 'account': '0007197', 'account_digit': '8'},
{'bank_code': '237', 'branch': '0562', 'branch_digit': '2', 'account': '53934', 'account_digit': '1'},
{'bank_code': '237', 'branch': '2274', 'branch_digit': '8', 'account': '23502', 'account_digit': '4'},
{'bank_code': '237', 'branch': '2701', 'branch_digit': '4', 'account': '19898', 'account_digit': '6'},
{'bank_code': '237', 'branch': '1095', 'branch_digit': '2', 'account': '44644', 'account_digit': '0'},
{'bank_code': '237', 'branch': '1382', 'branch_digit': '0', 'account': '0169241', 'account_digit': '0'},
{'bank_code': '237', 'branch': '0779', 'branch_digit': '0', 'account': '102722', 'account_digit': '0'},
{'bank_code': '237', 'branch': '1051', 'branch_digit': '0', 'account': '73884', 'account_digit': '0'},
{'bank_code': '237', 'branch': '2892', 'branch_digit': '4', 'account': '0003862', 'account_digit': '8'},
{'bank_code': '237', 'branch': '2856', 'branch_digit': '8', 'account': '565337', 'account_digit': '1'},
{'bank_code': '237', 'branch': '0649', 'branch_digit': '1', 'account': '9756', 'account_digit': '0'},
{'bank_code': '237', 'branch': '2716', 'branch_digit': '2', 'account': '7971', 'account_digit': '5'},
{'bank_code': '237', 'branch': '3191', 'branch_digit': '7', 'account': '20350', 'account_digit': '5'},
{'bank_code': '237', 'branch': '0138', 'branch_digit': '4', 'account': '0161646', 'account_digit': '3'},
{'bank_code': '237', 'branch': '3424', 'branch_digit': '0', 'account': '37725', 'account_digit': '2'},
{'bank_code': '237', 'branch': '0224', 'branch_digit': '0', 'account': '14273', 'account_digit': '5'},
{'bank_code': '237', 'branch': '3221', 'branch_digit': '2', 'account': '20247', 'account_digit': '9'},
{'bank_code': '237', 'branch': '3035', 'branch_digit': '0', 'account': '099897', 'account_digit': '4'},
{'bank_code': '237', 'branch': '3071', 'branch_digit': '6', 'account': '0031989', 'account_digit': '9'},
{'bank_code': '237', 'branch': '2330', 'branch_digit': '2', 'account': '100010', 'account_digit': '1'},
{'bank_code': '237', 'branch': '2856', 'branch_digit': '8', 'account': '243751', 'account_digit': '1'},
{'bank_code': '237', 'branch': '0653', 'branch_digit': '0', 'account': '15955', 'account_digit': '7'},
{'bank_code': '237', 'branch': '2272', 'branch_digit': '1', 'account': '011441', 'account_digit': '3'},
{'bank_code': '237', 'branch': '0782', 'branch_digit': '0', 'account': '274', 'account_digit': '7'},
{'bank_code': '237', 'branch': '3739', 'branch_digit': '7', 'account': '0024845', 'account_digit': '2'},
{'bank_code': '237', 'branch': '0081', 'branch_digit': '7', 'account': '3289', 'account_digit': '1'},
{'bank_code': '237', 'branch': '0254', 'branch_digit': '2', 'account': '0015422', 'account_digit': '9'},
{'bank_code': '237', 'branch': '0093', 'branch_digit': '0', 'account': '000046', 'account_digit': '9'},
{'bank_code': '237', 'branch': '0113', 'branch_digit': '9', 'account': '128695', 'account_digit': '1'},
{'bank_code': '237', 'branch': '1975', 'branch_digit': '5', 'account': '64289', 'account_digit': '4'},
{'bank_code': '237', 'branch': '1709', 'branch_digit': '4', 'account': '0510794', 'account_digit': '6'},
{'bank_code': '237', 'branch': '1644', 'branch_digit': '6', 'account': '0013252', 'account_digit': '7'},
{'bank_code': '237', 'branch': '2137', 'branch_digit': '7', 'account': '35347', 'account_digit': '7'},
{'bank_code': '237', 'branch': '2423', 'branch_digit': '6', 'account': '1580', 'account_digit': '6'},
{'bank_code': '237', 'branch': '3267', 'branch_digit': '0', 'account': '799', 'account_digit': '4'},
{'bank_code': '237', 'branch': '1365', 'branch_digit': '0', 'account': '32868', 'account_digit': '5'},
{'bank_code': '237', 'branch': '0456', 'branch_digit': '1', 'account': '61580', 'account_digit': '3'},
{'bank_code': '237', 'branch': '3726', 'branch_digit': '5', 'account': '82155', 'account_digit': '1'},
{'bank_code': '237', 'branch': '1792', 'branch_digit': '2', 'account': '12870', 'account_digit': '8'},
{'bank_code': '237', 'branch': '1786', 'branch_digit': '8', 'account': '0027105', 'account_digit': '5'},
{'bank_code': '237', 'branch': '2344', 'branch_digit': '2', 'account': '4113', 'account_digit': '0'},
{'bank_code': '237', 'branch': '2811', 'branch_digit': '8', 'account': '0010400', 'account_digit': '0'},
{'bank_code': '237', 'branch': '2856', 'branch_digit': '8', 'account': '572390', 'account_digit': '6'},
{'bank_code': '237', 'branch': '0105', 'branch_digit': '8', 'account': '0243332', 'account_digit': '0'},
{'bank_code': '237', 'branch': '2375', 'branch_digit': '2', 'account': '0107478', 'account_digit': '4'},
{'bank_code': '237', 'branch': '3539', 'branch_digit': '4', 'account': '98845', 'account_digit': '6'},
{'bank_code': '237', 'branch': '0843', 'branch_digit': '5', 'account': '12555', 'account_digit': '5'},
{'bank_code': '237', 'branch': '1625', 'branch_digit': '0', 'account': '769', 'account_digit': '2'},
{'bank_code': '237', 'branch': '0292', 'branch_digit': '5', 'account': '0107680', 'account_digit': '9'},
{'bank_code': '237', 'branch': '2485', 'branch_digit': '6', 'account': '0024089', 'account_digit': '3'},
{'bank_code': '237', 'branch': '0111', 'branch_digit': '2', 'account': '98952', 'account_digit': '5'},
],
'invalid_combinations': [
{'bank_code': '237', 'branch': '2377', 'branch_digit': '9', 'account': '0002158', 'account_digit': '1'},
{'bank_code': '237', 'branch': '1842', 'branch_digit': '2', 'account': '42582', 'account_digit': '4'},
{'bank_code': '237', 'branch': '2308', 'branch_digit': '6', 'account': '8743', 'account_digit': '3'},
{'bank_code': '237', 'branch': '2883', 'branch_digit': '5', 'account': '19678', 'account_digit': '1'},
{'bank_code': '237', 'branch': '1493', 'branch_digit': '1', 'account': '00004218', 'account_digit': '2'},
{'bank_code': '237', 'branch': '0105', 'branch_digit': '8', 'account': '0243332', 'account_digit': '1'},
{'bank_code': '237', 'branch': '2375', 'branch_digit': '2', 'account': '0107478', 'account_digit': '2'},
{'bank_code': '237', 'branch': '3539', 'branch_digit': '4', 'account': '98845', 'account_digit': '3'},
]
}
ITAU = {
'valid_combinations': [
{'bank_code': '341', 'branch': '4122', 'branch_digit': '', 'account': '08781', 'account_digit': '2'},
{'bank_code': '341', 'branch': '6629', 'branch_digit': '', 'account': '00487', 'account_digit': '7'},
{'bank_code': '341', 'branch': '8613', 'branch_digit': '', 'account': '30393', 'account_digit': '5'},
{'bank_code': '341', 'branch': '1688', 'branch_digit': '', 'account': '42768', 'account_digit': '9'},
{'bank_code': '341', 'branch': '9097', 'branch_digit': '', 'account': '30404', 'account_digit': '3'},
{'bank_code': '341', 'branch': '0164', 'branch_digit': '', 'account': '83940', 'account_digit': '9'},
{'bank_code': '341', 'branch': '3069', 'branch_digit': '', 'account': '17061', 'account_digit': '5'},
{'bank_code': '341', 'branch': '9649', 'branch_digit': '', 'account': '00947', 'account_digit': '0'},
{'bank_code': '341', 'branch': '1165', 'branch_digit': '', 'account': '44378', 'account_digit': '7'},
{'bank_code': '341', 'branch': '3130', 'branch_digit': '', 'account': '20138', 'account_digit': '1'},
{'bank_code': '341', 'branch': '3004', 'branch_digit': '', 'account': '02729', 'account_digit': '2'},
{'bank_code': '341', 'branch': '0895', 'branch_digit': '', 'account': '51357', 'account_digit': '0'},
{'bank_code': '341', 'branch': '7041', 'branch_digit': '', 'account': '64676', 'account_digit': '6'},
{'bank_code': '341', 'branch': '0735', 'branch_digit': '', 'account': '03207', 'account_digit': '0'},
{'bank_code': '341', 'branch': '6241', 'branch_digit': '', 'account': '21842', 'account_digit': '6'},
{'bank_code': '341', 'branch': '9109', 'branch_digit': '', 'account': '15436', 'account_digit': '0'},
{'bank_code': '341', 'branch': '4300', 'branch_digit': '', 'account': '34939', 'account_digit': '8'},
{'bank_code': '341', 'branch': '3935', 'branch_digit': '', 'account': '23504', 'account_digit': '8'},
{'bank_code': '341', 'branch': '0368', 'branch_digit': '', 'account': '14365', 'account_digit': '7'},
{'bank_code': '341', 'branch': '9649', 'branch_digit': '', 'account': '00479', 'account_digit': '4'},
{'bank_code': '341', 'branch': '4465', 'branch_digit': '', 'account': '04952', 'account_digit': '8'},
{'bank_code': '341', 'branch': '8053', 'branch_digit': '', 'account': '02090', 'account_digit': '8'},
{'bank_code': '341', 'branch': '1538', 'branch_digit': '', 'account': '02328', 'account_digit': '2'},
{'bank_code': '341', 'branch': '7063', 'branch_digit': '', 'account': '02567', 'account_digit': '5'},
{'bank_code': '341', 'branch': '2944', 'branch_digit': '', 'account': '14795', 'account_digit': '4'},
{'bank_code': '341', 'branch': '8219', 'branch_digit': '', 'account': '00853', 'account_digit': '2'},
{'bank_code': '341', 'branch': '8574', 'branch_digit': '', 'account': '00273', 'account_digit': '2'},
{'bank_code': '341', 'branch': '0251', 'branch_digit': '', 'account': '76606', 'account_digit': '9'},
{'bank_code': '341', 'branch': '7012', 'branch_digit': '', 'account': '04430', 'account_digit': '6'},
{'bank_code': '341', 'branch': '0191', 'branch_digit': '', 'account': '71355', 'account_digit': '1'},
{'bank_code': '341', 'branch': '9699', 'branch_digit': '', 'account': '04962', 'account_digit': '4'},
{'bank_code': '341', 'branch': '6470', 'branch_digit': '', 'account': '10400', 'account_digit': '8'},
{'bank_code': '341', 'branch': '0024', 'branch_digit': '', 'account': '42560', 'account_digit': '5'},
{'bank_code': '341', 'branch': '0138', 'branch_digit': '', 'account': '01434', 'account_digit': '5'},
{'bank_code': '341', 'branch': '9286', 'branch_digit': '', 'account': '17593', 'account_digit': '1'},
{'bank_code': '341', 'branch': '1364', 'branch_digit': '', 'account': '08603', 'account_digit': '1'},
{'bank_code': '341', 'branch': '5928', 'branch_digit': '', 'account': '00599', 'account_digit': '9'},
{'bank_code': '341', 'branch': '6476', 'branch_digit': '', 'account': '04010', 'account_digit': '7'},
{'bank_code': '341', 'branch': '8142', 'branch_digit': '', 'account': '02166', 'account_digit': '9'},
{'bank_code': '341', 'branch': '7821', 'branch_digit': '', 'account': '01500', 'account_digit': '0'},
{'bank_code': '341', 'branch': '8605', 'branch_digit': '', 'account': '01535', 'account_digit': '6'},
{'bank_code': '341', 'branch': '6328', 'branch_digit': '', 'account': '07429', 'account_digit': '6'},
{'bank_code': '341', 'branch': '9283', 'branch_digit': '', 'account': '17700', 'account_digit': '5'},
{'bank_code': '341', 'branch': '1565', 'branch_digit': '', 'account': '28069', 'account_digit': '8'},
{'bank_code': '341', 'branch': '8614', 'branch_digit': '', 'account': '46724', 'account_digit': '2'},
{'bank_code': '341', 'branch': '9276', 'branch_digit': '', 'account': '00838', 'account_digit': '1'},
{'bank_code': '341', 'branch': '9103', 'branch_digit': '', 'account': '13602', 'account_digit': '5'},
{'bank_code': '341', 'branch': '3701', 'branch_digit': '', 'account': '26628', 'account_digit': '4'},
{'bank_code': '341', 'branch': '1481', 'branch_digit': '', 'account': '05860', 'account_digit': '8'},
{'bank_code': '341', 'branch': '7031', 'branch_digit': '', 'account': '07554', 'account_digit': '7'},
{'bank_code': '341', 'branch': '0715', 'branch_digit': '', 'account': '54473', 'account_digit': '0'},
{'bank_code': '341', 'branch': '6575', 'branch_digit': '', 'account': '00728', 'account_digit': '8'},
{'bank_code': '341', 'branch': '4052', 'branch_digit': '', 'account': '11881', 'account_digit': '9'},
{'bank_code': '341', 'branch': '6123', 'branch_digit': '', 'account': '06390', 'account_digit': '8'},
{'bank_code': '341', 'branch': '6665', 'branch_digit': '', 'account': '02753', 'account_digit': '5'},
{'bank_code': '341', 'branch': '0665', 'branch_digit': '', 'account': '39207', 'account_digit': '2'},
{'bank_code': '341', 'branch': '6234', 'branch_digit': '', 'account': '18342', 'account_digit': '1'},
{'bank_code': '341', 'branch': '3753', 'branch_digit': '', 'account': '13485', 'account_digit': '1'},
{'bank_code': '341', 'branch': '2924', 'branch_digit': '', 'account': '33488', 'account_digit': '7'},
{'bank_code': '341', 'branch': '2970', 'branch_digit': '', 'account': '19333', 'account_digit': '6'},
{'bank_code': '341', 'branch': '6695', 'branch_digit': '', 'account': '03256', 'account_digit': '2'},
{'bank_code': '341', 'branch': '3789', 'branch_digit': '', 'account': '09105', 'account_digit': '9'},
{'bank_code': '341', 'branch': '1616', 'branch_digit': '', 'account': '02167', 'account_digit': '9'},
{'bank_code': '341', 'branch': '8133', 'branch_digit': '', 'account': '03805', 'account_digit': '2'},
{'bank_code': '341', 'branch': '6220', 'branch_digit': '', 'account': '98133', 'account_digit': '3'},
{'bank_code': '341', 'branch': '1003', 'branch_digit': '', 'account': '58887', 'account_digit': '6'},
{'bank_code': '341', 'branch': '7048', 'branch_digit': '', 'account': '00156', 'account_digit': '9'},
{'bank_code': '341', 'branch': '4300', 'branch_digit': '', 'account': '08042', 'account_digit': '3'},
{'bank_code': '341', 'branch': '3705', 'branch_digit': '', 'account': '13502', 'account_digit': '2'},
{'bank_code': '341', 'branch': '9110', 'branch_digit': '', 'account': '22667', 'account_digit': '8'},
{'bank_code': '341', 'branch': '3765', 'branch_digit': '', 'account': '32387', 'account_digit': '2'},
{'bank_code': '341', 'branch': '1620', 'branch_digit': '', 'account': '11908', 'account_digit': '9'},
{'bank_code': '341', 'branch': '0522', 'branch_digit': '', 'account': '68967', 'account_digit': '8'},
{'bank_code': '341', 'branch': '8846', 'branch_digit': '', 'account': '14776', 'account_digit': '0'},
{'bank_code': '341', 'branch': '9293', 'branch_digit': '', 'account': '28334', 'account_digit': '8'},
{'bank_code': '341', 'branch': '1399', 'branch_digit': '', 'account': '57112', 'account_digit': '2'},
{'bank_code': '341', 'branch': '7437', 'branch_digit': '', 'account': '08739', 'account_digit': '3'},
{'bank_code': '341', 'branch': '5605', 'branch_digit': '', 'account': '08922', 'account_digit': '5'},
{'bank_code': '341', 'branch': '0210', 'branch_digit': '', 'account': '64727', 'account_digit': '7'},
{'bank_code': '341', 'branch': '3836', 'branch_digit': '', 'account': '34668', 'account_digit': '8'},
{'bank_code': '341', 'branch': '0150', 'branch_digit': '', 'account': '27317', 'account_digit': '5'},
{'bank_code': '341', 'branch': '8188', 'branch_digit': '', 'account': '05810', 'account_digit': '4'},
{'bank_code': '341', 'branch': '3040', 'branch_digit': '', 'account': '20210', 'account_digit': '7'},
{'bank_code': '341', 'branch': '2798', 'branch_digit': '', 'account': '10208', 'account_digit': '9'},
{'bank_code': '341', 'branch': '9663', 'branch_digit': '', 'account': '06276', 'account_digit': '9'},
{'bank_code': '341', 'branch': '0179', 'branch_digit': '', 'account': '31803', 'account_digit': '5'},
{'bank_code': '341', 'branch': '1063', 'branch_digit': '', 'account': '27533', 'account_digit': '1'},
{'bank_code': '341', 'branch': '8751', 'branch_digit': '', 'account': '01815', 'account_digit': '4'},
{'bank_code': '341', 'branch': '6540', 'branch_digit': '', 'account': '10045', 'account_digit': '7'},
{'bank_code': '341', 'branch': '4807', 'branch_digit': '', 'account': '02583', 'account_digit': '0'},
{'bank_code': '341', 'branch': '0310', 'branch_digit': '', 'account': '78327', 'account_digit': '9'},
{'bank_code': '341', 'branch': '5572', 'branch_digit': '', 'account': '17715', 'account_digit': '1'},
{'bank_code': '341', 'branch': '4339', 'branch_digit': '', 'account': '10697', 'account_digit': '5'},
{'bank_code': '341', 'branch': '3888', 'branch_digit': '', 'account': '15327', 'account_digit': '1'},
{'bank_code': '341', 'branch': '7344', 'branch_digit': '', 'account': '01533', 'account_digit': '9'},
{'bank_code': '341', 'branch': '2971', 'branch_digit': '', 'account': '25759', 'account_digit': '3'},
{'bank_code': '341', 'branch': '3203', 'branch_digit': '', 'account': '14059', 'account_digit': '9'},
{'bank_code': '341', 'branch': '3116', 'branch_digit': '', 'account': '13720', 'account_digit': '3'},
{'bank_code': '341', 'branch': '0285', 'branch_digit': '', 'account': '74139', 'account_digit': '3'},
{'bank_code': '341', 'branch': '8571', 'branch_digit': '', 'account': '07180', 'account_digit': '5'},
{'bank_code': '341', 'branch': '7048', 'branch_digit': '', 'account': '19193', 'account_digit': '1'},
{'bank_code': '341', 'branch': '1538', 'branch_digit': '', 'account': '50366', 'account_digit': '3'},
{'bank_code': '341', 'branch': '0566', 'branch_digit': '', 'account': '28945', 'account_digit': '0'},
{'bank_code': '341', 'branch': '0941', 'branch_digit': '', 'account': '56590', 'account_digit': '5'},
{'bank_code': '341', 'branch': '0572', 'branch_digit': '', 'account': '02913', 'account_digit': '0'},
{'bank_code': '341', 'branch': '1017', 'branch_digit': '', 'account': '58535', 'account_digit': '5'},
{'bank_code': '341', 'branch': '3836', 'branch_digit': '', 'account': '29578', 'account_digit': '6'},
{'bank_code': '341', 'branch': '1685', 'branch_digit': '', 'account': '30139', 'account_digit': '0'},
{'bank_code': '341', 'branch': '3130', 'branch_digit': '', 'account': '12254', 'account_digit': '6'},
{'bank_code': '341', 'branch': '3031', 'branch_digit': '', 'account': '18636', 'account_digit': '8'},
{'bank_code': '341', 'branch': '9286', 'branch_digit': '', 'account': '14450', 'account_digit': '7'},
{'bank_code': '341', 'branch': '7066', 'branch_digit': '', 'account': '62972', 'account_digit': '1'},
{'bank_code': '341', 'branch': '9362', 'branch_digit': '', 'account': '23929', 'account_digit': '6'},
{'bank_code': '341', 'branch': '7414', 'branch_digit': '', 'account': '16290', 'account_digit': '4'},
{'bank_code': '341', 'branch': '4099', 'branch_digit': '', 'account': '57717', 'account_digit': '5'},
{'bank_code': '341', 'branch': '6914', 'branch_digit': '', 'account': '04430', 'account_digit': '7'},
{'bank_code': '341', 'branch': '0310', 'branch_digit': '', 'account': '10426', 'account_digit': '0'},
{'bank_code': '341', 'branch': '7070', 'branch_digit': '', 'account': '07492', 'account_digit': '2'},
{'bank_code': '341', 'branch': '0445', 'branch_digit': '', 'account': '32128', 'account_digit': '4'},
{'bank_code': '341', 'branch': '9692', 'branch_digit': '', 'account': '00861', 'account_digit': '9'},
{'bank_code': '341', 'branch': '0646', 'branch_digit': '', 'account': '1639', 'account_digit': '4'},
{'bank_code': '341', 'branch': '8723', 'branch_digit': '', 'account': '09311', 'account_digit': '1'},
{'bank_code': '341', 'branch': '6968', 'branch_digit': '', 'account': '01098', 'account_digit': '0'},
{'bank_code': '341', 'branch': '9093', 'branch_digit': '', 'account': '01069', 'account_digit': '3'},
{'bank_code': '341', 'branch': '6097', 'branch_digit': '', 'account': '23964', 'account_digit': '1'},
{'bank_code': '341', 'branch': '6133', 'branch_digit': '', 'account': '01815', 'account_digit': '7'},
{'bank_code': '341', 'branch': '0265', 'branch_digit': '', 'account': '69144', 'account_digit': '4'},
{'bank_code': '341', 'branch': '8514', 'branch_digit': '', 'account': '08026', 'account_digit': '9'},
{'bank_code': '341', 'branch': '8313', 'branch_digit': '', 'account': '05018', 'account_digit': '2'},
{'bank_code': '341', 'branch': '3741', 'branch_digit': '', 'account': '44590', 'account_digit': '6'},
{'bank_code': '341', 'branch': '3099', 'branch_digit': '', 'account': '18807', 'account_digit': '4'},
{'bank_code': '341', 'branch': '3219', 'branch_digit': '', 'account': '10842', 'account_digit': '4'},
{'bank_code': '341', 'branch': '8062', 'branch_digit': '', 'account': '15147', 'account_digit': '0'},
{'bank_code': '341', 'branch': '0652', 'branch_digit': '', 'account': '08707', 'account_digit': '3'},
{'bank_code': '341', 'branch': '2000', 'branch_digit': '', 'account': '40299', 'account_digit': '6'},
{'bank_code': '341', 'branch': '0297', 'branch_digit': '', 'account': '64674', 'account_digit': '7'},
{'bank_code': '341', 'branch': '3825', 'branch_digit': '', 'account': '13677', 'account_digit': '7'},
{'bank_code': '341', 'branch': '8365', 'branch_digit': '', 'account': '09685', 'account_digit': '1'},
{'bank_code': '341', 'branch': '0655', 'branch_digit': '', 'account': '26754', 'account_digit': '0'},
{'bank_code': '341', 'branch': '1542', 'branch_digit': '', 'account': '13501', 'account_digit': '5'},
{'bank_code': '341', 'branch': '4446', 'branch_digit': '', 'account': '18030', 'account_digit': '1'},
{'bank_code': '341', 'branch': '4079', 'branch_digit': '', 'account': '07630', 'account_digit': '5'},
{'bank_code': '341', 'branch': '8482', 'branch_digit': '', 'account': '18902', 'account_digit': '7'},
{'bank_code': '341', 'branch': '1478', 'branch_digit': '', 'account': '53999', 'account_digit': '0'},
{'bank_code': '341', 'branch': '7425', 'branch_digit': '', 'account': '04011', 'account_digit': '5'},
{'bank_code': '341', 'branch': '8792', 'branch_digit': '', 'account': '29321', 'account_digit': '2'},
{'bank_code': '341', 'branch': '8719', 'branch_digit': '', 'account': '15778', 'account_digit': '9'},
{'bank_code': '341', 'branch': '8004', 'branch_digit': '', 'account': '05847', 'account_digit': '8'},
{'bank_code': '341', 'branch': '0262', 'branch_digit': '', 'account': '96414', 'account_digit': '1'},
{'bank_code': '341', 'branch': '2971', 'branch_digit': '', 'account': '13310', 'account_digit': '9'},
{'bank_code': '341', 'branch': '9134', 'branch_digit': '', 'account': '11428', 'account_digit': '0'},
{'bank_code': '341', 'branch': '0689', 'branch_digit': '', 'account': '01811', 'account_digit': '7'},
{'bank_code': '341', 'branch': '9635', 'branch_digit': '', 'account': '01209', 'account_digit': '0'},
{'bank_code': '341', 'branch': '6244', 'branch_digit': '', 'account': '14164', 'account_digit': '1'},
{'bank_code': '341', 'branch': '8498', 'branch_digit': '', 'account': '21429', 'account_digit': '8'},
{'bank_code': '341', 'branch': '0190', 'branch_digit': '', 'account': '54490', 'account_digit': '8'},
{'bank_code': '341', 'branch': '9051', 'branch_digit': '', 'account': '00646', 'account_digit': '9'},
{'bank_code': '341', 'branch': '0036', 'branch_digit': '', 'account': '58502', 'account_digit': '4'},
{'bank_code': '341', 'branch': '8708', 'branch_digit': '', 'account': '03545', 'account_digit': '9'},
{'bank_code': '341', 'branch': '4449', 'branch_digit': '', 'account': '01118', 'account_digit': '0'},
{'bank_code': '341', 'branch': '6939', 'branch_digit': '', 'account': '21568', 'account_digit': '4'},
{'bank_code': '341', 'branch': '0706', 'branch_digit': '', 'account': '03965', 'account_digit': '8'},
{'bank_code': '341', 'branch': '9391', 'branch_digit': '', 'account': '00570', 'account_digit': '0'},
{'bank_code': '341', 'branch': '0623', 'branch_digit': '', 'account': '00872', 'account_digit': '9'},
{'bank_code': '341', 'branch': '0940', 'branch_digit': '', 'account': '64043', 'account_digit': '6'},
{'bank_code': '341', 'branch': '8652', 'branch_digit': '', 'account': '04313', 'account_digit': '7'},
{'bank_code': '341', 'branch': '0709', 'branch_digit': '', 'account': '10314', 'account_digit': '7'},
{'bank_code': '341', 'branch': '7007', 'branch_digit': '', 'account': '504', 'account_digit': '9'},
{'bank_code': '341', 'branch': '0776', 'branch_digit': '', 'account': '68025', 'account_digit': '8'},
{'bank_code': '341', 'branch': '2934', 'branch_digit': '', 'account': '09853', 'account_digit': '0'},
{'bank_code': '341', 'branch': '9134', 'branch_digit': '', 'account': '11428', 'account_digit': '0'},
{'bank_code': '341', 'branch': '8474', 'branch_digit': '', 'account': '16755', 'account_digit': '1'},
{'bank_code': '341', 'branch': '1001', 'branch_digit': '', 'account': '24612', 'account_digit': '1'},
{'bank_code': '341', 'branch': '3103', 'branch_digit': '', 'account': '20710', 'account_digit': '0'},
{'bank_code': '341', 'branch': '8121', 'branch_digit': '', 'account': '04852', 'account_digit': '7'},
{'bank_code': '341', 'branch': '0278', 'branch_digit': '', 'account': '89922', 'account_digit': '4'},
{'bank_code': '341', 'branch': '0477', 'branch_digit': '', 'account': '09974', 'account_digit': '1'},
{'bank_code': '341', 'branch': '2796', 'branch_digit': '', 'account': '05148', 'account_digit': '6'},
{'bank_code': '341', 'branch': '3758', 'branch_digit': '', 'account': '49828', 'account_digit': '5'},
{'bank_code': '341', 'branch': '8910', 'branch_digit': '', 'account': '25750', 'account_digit': '3'},
{'bank_code': '341', 'branch': '4085', 'branch_digit': '', 'account': '14921', 'account_digit': '1'},
{'bank_code': '341', 'branch': '0442', 'branch_digit': '', 'account': '02850', 'account_digit': '2'},
{'bank_code': '341', 'branch': '7387', 'branch_digit': '', 'account': '13978', 'account_digit': '0'},
{'bank_code': '341', 'branch': '9180', 'branch_digit': '', 'account': '17220', 'account_digit': '8'},
{'bank_code': '341', 'branch': '0844', 'branch_digit': '', 'account': '07076', 'account_digit': '3'},
{'bank_code': '341', 'branch': '0355', 'branch_digit': '', 'account': '92834', 'account_digit': '2'},
{'bank_code': '341', 'branch': '7446', 'branch_digit': '', 'account': '12709', 'account_digit': '9'},
{'bank_code': '341', 'branch': '0429', 'branch_digit': '', 'account': '47089', 'account_digit': '1'},
{'bank_code': '341', 'branch': '0525', 'branch_digit': '', 'account': '08970', 'account_digit': '2'},
{'bank_code': '341', 'branch': '3747', 'branch_digit': '', 'account': '02656', 'account_digit': '9'},
{'bank_code': '341', 'branch': '4088', 'branch_digit': '', 'account': '03382', 'account_digit': '6'},
{'bank_code': '341', 'branch': '0736', 'branch_digit': '', 'account': '45706', 'account_digit': '0'},
{'bank_code': '341', 'branch': '7157', 'branch_digit': '', 'account': '11004', 'account_digit': '5'},
{'bank_code': '341', 'branch': '8450', 'branch_digit': '', 'account': '13039', 'account_digit': '1'},
{'bank_code': '341', 'branch': '8463', 'branch_digit': '', 'account': '04333', 'account_digit': '4'},
{'bank_code': '341', 'branch': '4294', 'branch_digit': '', 'account': '10960', 'account_digit': '0'},
{'bank_code': '341', 'branch': '8447', 'branch_digit': '', 'account': '08572', 'account_digit': '4'},
{'bank_code': '341', 'branch': '8139', 'branch_digit': '', 'account': '11345', 'account_digit': '3'},
{'bank_code': '341', 'branch': '0459', 'branch_digit': '', 'account': '03822', 'account_digit': '0'},
{'bank_code': '341', 'branch': '0919', 'branch_digit': '', 'account': '07320', 'account_digit': '5'},
{'bank_code': '341', 'branch': '1623', 'branch_digit': '', 'account': '24594', 'account_digit': '9'},
{'bank_code': '341', 'branch': '7942', 'branch_digit': '', 'account': '12726', 'account_digit': '2'},
{'bank_code': '341', 'branch': '0251', 'branch_digit': '', 'account': '67048', 'account_digit': '5'},
{'bank_code': '341', 'branch': '0760', 'branch_digit': '', 'account': '16348', 'account_digit': '5'},
{'bank_code': '341', 'branch': '0756', 'branch_digit': '', 'account': '60266', 'account_digit': '0'},
{'bank_code': '341', 'branch': '3799', 'branch_digit': '', 'account': '01353', 'account_digit': '1'},
{'bank_code': '341', 'branch': '0654', 'branch_digit': '', 'account': '10024', 'account_digit': '7'},
{'bank_code': '341', 'branch': '0018', 'branch_digit': '', 'account': '72895', 'account_digit': '6'},
{'bank_code': '341', 'branch': '9283', 'branch_digit': '', 'account': '20288', 'account_digit': '6'},
{'bank_code': '341', 'branch': '1185', 'branch_digit': '', 'account': '60488', 'account_digit': '9'},
{'bank_code': '341', 'branch': '8279', 'branch_digit': '', 'account': '00834', 'account_digit': '9'},
{'bank_code': '341', 'branch': '0055', 'branch_digit': '', 'account': '34411', 'account_digit': '3'},
{'bank_code': '341', 'branch': '7943', 'branch_digit': '', 'account': '10155', 'account_digit': '5'},
{'bank_code': '341', 'branch': '8446', 'branch_digit': '', 'account': '06231', 'account_digit': '0'},
{'bank_code': '341', 'branch': '3613', 'branch_digit': '', 'account': '04687', 'account_digit': '3'},
{'bank_code': '341', 'branch': '3777', 'branch_digit': '', 'account': '06010', 'account_digit': '8'},
{'bank_code': '341', 'branch': '4011', 'branch_digit': '', 'account': '21222', 'account_digit': '4'},
{'bank_code': '341', 'branch': '7016', 'branch_digit': '', 'account': '07895', 'account_digit': '3'},
{'bank_code': '341', 'branch': '9667', 'branch_digit': '', 'account': '10898', 'account_digit': '0'},
{'bank_code': '341', 'branch': '6427', 'branch_digit': '', 'account': '18970', 'account_digit': '6'},
{'bank_code': '341', 'branch': '3075', 'branch_digit': '', 'account': '19116', 'account_digit': '7'},
{'bank_code': '341', 'branch': '4085', 'branch_digit': '', 'account': '3818', 'account_digit': '2'},
{'bank_code': '341', 'branch': '7157', 'branch_digit': '', 'account': '00345', 'account_digit': '5'},
{'bank_code': '341', 'branch': '8463', 'branch_digit': '', 'account': '09932', 'account_digit': '8'},
{'bank_code': '341', 'branch': '0572', 'branch_digit': '', 'account': '20513', 'account_digit': '6'},
{'bank_code': '341', 'branch': '0566', 'branch_digit': '', 'account': '30124', 'account_digit': '8'},
{'bank_code': '341', 'branch': '4374', 'branch_digit': '', 'account': '25304', 'account_digit': '7'},
{'bank_code': '341', 'branch': '4927', 'branch_digit': '', 'account': '30670', 'account_digit': '6'},
{'bank_code': '341', 'branch': '0061', 'branch_digit': '', 'account': '65341', 'account_digit': '6'},
{'bank_code': '341', 'branch': '6621', 'branch_digit': '', 'account': '06971', 'account_digit': '2'},
{'bank_code': '341', 'branch': '8878', 'branch_digit': '', 'account': '20048', 'account_digit': '7'},
{'bank_code': '341', 'branch': '3835', 'branch_digit': '', 'account': '38441', 'account_digit': '7'},
{'bank_code': '341', 'branch': '5520', 'branch_digit': '', 'account': '01668', 'account_digit': '3'},
{'bank_code': '341', 'branch': '6767', 'branch_digit': '', 'account': '06546', 'account_digit': '6'},
{'bank_code': '341', 'branch': '7062', 'branch_digit': '', 'account': '06579', 'account_digit': '7'},
{'bank_code': '341', 'branch': '9678', 'branch_digit': '', 'account': '00927', 'account_digit': '6'},
{'bank_code': '341', 'branch': '2978', 'branch_digit': '', 'account': '20731', 'account_digit': '0'},
{'bank_code': '341', 'branch': '1282', 'branch_digit': '', 'account': '54593', 'account_digit': '6'},
{'bank_code': '341', 'branch': '0012', 'branch_digit': '', 'account': '33700', 'account_digit': '2'},
{'bank_code': '341', 'branch': '6225', 'branch_digit': '', 'account': '03090', 'account_digit': '4'},
{'bank_code': '341', 'branch': '0556', 'branch_digit': '', 'account': '29212', 'account_digit': '6'},
{'bank_code': '341', 'branch': '8463', 'branch_digit': '', 'account': '14177', 'account_digit': '3'},
{'bank_code': '341', 'branch': '8450', 'branch_digit': '', 'account': '04753', 'account_digit': '8'},
{'bank_code': '341', 'branch': '6432', 'branch_digit': '', 'account': '12741', 'account_digit': '0'},
{'bank_code': '341', 'branch': '8913', 'branch_digit': '', 'account': '01700', 'account_digit': '3'},
{'bank_code': '341', 'branch': '4695', 'branch_digit': '', 'account': '04107', 'account_digit': '1'},
{'bank_code': '341', 'branch': '0874', 'branch_digit': '', 'account': '56578', 'account_digit': '1'},
{'bank_code': '341', 'branch': '8705', 'branch_digit': '', 'account': '06153', 'account_digit': '2'},
{'bank_code': '341', 'branch': '8725', 'branch_digit': '', 'account': '04874', 'account_digit': '1'},
{'bank_code': '341', 'branch': '3813', 'branch_digit': '', 'account': '16648', 'account_digit': '9'},
{'bank_code': '341', 'branch': '1269', 'branch_digit': '', 'account': '06760', 'account_digit': '7'},
{'bank_code': '341', 'branch': '0548', 'branch_digit': '', 'account': '35927', 'account_digit': '2'},
{'bank_code': '341', 'branch': '8809', 'branch_digit': '', 'account': '9885', 'account_digit': '1'},
{'bank_code': '341', 'branch': '1370', 'branch_digit': '', 'account': '06949', 'account_digit': '2'},
{'bank_code': '341', 'branch': '0129', 'branch_digit': '', 'account': '34430', 'account_digit': '5'},
{'bank_code': '341', 'branch': '2959', 'branch_digit': '', 'account': '13026', 'account_digit': '7'},
{'bank_code': '341', 'branch': '2960', 'branch_digit': '', 'account': '24455', 'account_digit': '2'},
{'bank_code': '341', 'branch': '1000', 'branch_digit': '', 'account': '18008', 'account_digit': '1'},
{'bank_code': '341', 'branch': '8781', 'branch_digit': '', 'account': '09876', 'account_digit': '2'},
{'bank_code': '341', 'branch': '3038', 'branch_digit': '', 'account': '30462', 'account_digit': '6'},
{'bank_code': '341', 'branch': '3130', 'branch_digit': '', 'account': '25578', 'account_digit': '3'},
{'bank_code': '341', 'branch': '1449', 'branch_digit': '', 'account': '26762', 'account_digit': '2'},
{'bank_code': '341', 'branch': '1335', 'branch_digit': '', 'account': '63145', 'account_digit': '1'},
{'bank_code': '341', 'branch': '3763', 'branch_digit': '', 'account': '43294', 'account_digit': '9'},
{'bank_code': '341', 'branch': '8462', 'branch_digit': '', 'account': '03293', 'account_digit': '2'},
{'bank_code': '341', 'branch': '1572', 'branch_digit': '', 'account': '18622', 'account_digit': '7'},
{'bank_code': '341', 'branch': '8600', 'branch_digit': '', 'account': '18728', 'account_digit': '3'},
{'bank_code': '341', 'branch': '3488', 'branch_digit': '', 'account': '09205', 'account_digit': '1'},
{'bank_code': '341', 'branch': '1025', 'branch_digit': '', 'account': '12775', 'account_digit': '2'},
{'bank_code': '341', 'branch': '0140', 'branch_digit': '', 'account': '27040', 'account_digit': '6'},
{'bank_code': '341', 'branch': '6684', 'branch_digit': '', 'account': '21031', 'account_digit': '0'},
{'bank_code': '341', 'branch': '0758', 'branch_digit': '', 'account': '46005', 'account_digit': '9'},
{'bank_code': '341', 'branch': '8379', 'branch_digit': '', 'account': '10307', 'account_digit': '3'},
{'bank_code': '341', 'branch': '5184', 'branch_digit': '', 'account': '00782', 'account_digit': '0'},
{'bank_code': '341', 'branch': '9718', 'branch_digit': '', 'account': '00834', 'account_digit': '6'},
{'bank_code': '341', 'branch': '1170', 'branch_digit': '', 'account': '07220', 'account_digit': '9'},
{'bank_code': '341', 'branch': '4011', 'branch_digit': '', 'account': '10150', 'account_digit': '0'},
{'bank_code': '341', 'branch': '0262', 'branch_digit': '', 'account': '02455', 'account_digit': '7'},
{'bank_code': '341', 'branch': '7757', 'branch_digit': '', 'account': '17788', 'account_digit': '1'},
{'bank_code': '341', 'branch': '8577', 'branch_digit': '', 'account': '08666', 'account_digit': '6'},
{'bank_code': '341', 'branch': '0098', 'branch_digit': '', 'account': '40365', 'account_digit': '2'},
{'bank_code': '341', 'branch': '0452', 'branch_digit': '', 'account': '01396', 'account_digit': '4'},
{'bank_code': '341', 'branch': '4091', 'branch_digit': '', 'account': '02245', 'account_digit': '1'},
{'bank_code': '341', 'branch': '0061', 'branch_digit': '', 'account': '05396', 'account_digit': '3'},
{'bank_code': '341', 'branch': '3789', 'branch_digit': '', 'account': '10367', 'account_digit': '2'},
{'bank_code': '341', 'branch': '4091', 'branch_digit': '', 'account': '02943', 'account_digit': '1'},
{'bank_code': '341', 'branch': '4525', 'branch_digit': '', 'account': '01062', 'account_digit': '7'},
],
'invalid_combinations': [
{'bank_code': '341', 'branch': '4122', 'branch_digit': '', 'account': '08781', 'account_digit': '5'},
{'bank_code': '341', 'branch': '6629', 'branch_digit': '', 'account': '00487', 'account_digit': '1'},
{'bank_code': '341', 'branch': '8613', 'branch_digit': '', 'account': '30393', 'account_digit': '4'},
{'bank_code': '341', 'branch': '1688', 'branch_digit': '', 'account': '42768', 'account_digit': '6'},
{'bank_code': '341', 'branch': '9097', 'branch_digit': '', 'account': '30404', 'account_digit': '7'},
{'bank_code': '341', 'branch': '0164', 'branch_digit': '', 'account': '83940', 'account_digit': '3'},
{'bank_code': '341', 'branch': '3069', 'branch_digit': '', 'account': '17061', 'account_digit': '2'},
{'bank_code': '341', 'branch': '9649', 'branch_digit': '', 'account': '00947', 'account_digit': '6'},
{'bank_code': '341', 'branch': '1165', 'branch_digit': '', 'account': '44378', 'account_digit': '8'},
{'bank_code': '341', 'branch': '3038', 'branch_digit': '', 'account': '30462', 'account_digit': '3'},
{'bank_code': '341', 'branch': '3130', 'branch_digit': '', 'account': '25578', 'account_digit': '1'},
{'bank_code': '341', 'branch': '1449', 'branch_digit': '', 'account': '26762', 'account_digit': '7'},
]
}
| banco_do_brasil = {'valid_combinations': [{'bank_code': '001', 'branch': '0395', 'branch_digit': '6', 'account': '45939', 'account_digit': '9'}, {'bank_code': '001', 'branch': '2995', 'branch_digit': '5', 'account': '14728', 'account_digit': '1'}, {'bank_code': '001', 'branch': '7071', 'branch_digit': '8', 'account': '6801908', 'account_digit': '4'}, {'bank_code': '001', 'branch': '3477', 'branch_digit': '0', 'account': '26135', 'account_digit': '1'}, {'bank_code': '001', 'branch': '0229', 'branch_digit': '1', 'account': '12351', 'account_digit': 'x'}, {'bank_code': '001', 'branch': '1403', 'branch_digit': '6', 'account': '2315999', 'account_digit': '5'}, {'bank_code': '001', 'branch': '3456', 'branch_digit': '8', 'account': '38582', 'account_digit': '4'}, {'bank_code': '001', 'branch': '4556', 'branch_digit': 'X', 'account': '5159', 'account_digit': '4'}, {'bank_code': '001', 'branch': '6512', 'branch_digit': '9', 'account': '1167', 'account_digit': '3'}, {'bank_code': '001', 'branch': '5766', 'branch_digit': '5', 'account': '548811', 'account_digit': '7'}, {'bank_code': '001', 'branch': '3007', 'branch_digit': '4', 'account': '33084', 'account_digit': '1'}, {'bank_code': '001', 'branch': '4438', 'branch_digit': '5', 'account': '6723', 'account_digit': '7'}, {'bank_code': '001', 'branch': '4850', 'branch_digit': 'X', 'account': '6649', 'account_digit': '4'}, {'bank_code': '001', 'branch': '0107', 'branch_digit': '4', 'account': '8428', 'account_digit': 'x'}, {'bank_code': '001', 'branch': '4267', 'branch_digit': '6', 'account': '45542', 'account_digit': '3'}, {'bank_code': '001', 'branch': '2443', 'branch_digit': '0', 'account': '5341', 'account_digit': '4'}, {'bank_code': '001', 'branch': '4723', 'branch_digit': '6', 'account': '300696', 'account_digit': '4'}, {'bank_code': '001', 'branch': '4392', 'branch_digit': '3', 'account': '49881', 'account_digit': '5'}, {'bank_code': '001', 'branch': '1668', 'branch_digit': '3', 'account': '16170', 'account_digit': '5'}, {'bank_code': '001', 'branch': '3007', 'branch_digit': '4', 'account': '17526', 'account_digit': '9'}, {'bank_code': '001', 'branch': '1613', 'branch_digit': '6', 'account': '8439875', 'account_digit': '2'}, {'bank_code': '001', 'branch': '4852', 'branch_digit': '6', 'account': '953521', 'account_digit': '7'}, {'bank_code': '001', 'branch': '3254', 'branch_digit': '9', 'account': '10513', 'account_digit': '9'}, {'bank_code': '001', 'branch': '3061', 'branch_digit': '9', 'account': '32611', 'account_digit': '9'}, {'bank_code': '001', 'branch': '0452', 'branch_digit': '9', 'account': '41981', 'account_digit': '8'}, {'bank_code': '001', 'branch': '0296', 'branch_digit': '8', 'account': '022356', 'account_digit': '5'}, {'bank_code': '001', 'branch': '0048', 'branch_digit': '5', 'account': '124564', 'account_digit': '3'}, {'bank_code': '001', 'branch': '1196', 'branch_digit': '7', 'account': '29639', 'account_digit': '2'}, {'bank_code': '001', 'branch': '5560', 'branch_digit': '3', 'account': '106662', 'account_digit': '5'}, {'bank_code': '001', 'branch': '3497', 'branch_digit': '5', 'account': '10540', 'account_digit': '6'}, {'bank_code': '001', 'branch': '3049', 'branch_digit': 'x', 'account': '17110', 'account_digit': '7'}, {'bank_code': '001', 'branch': '0312', 'branch_digit': '3', 'account': '19981', 'account_digit': '8'}, {'bank_code': '001', 'branch': '7080', 'branch_digit': '7', 'account': '2241395', 'account_digit': '2'}, {'bank_code': '001', 'branch': '4763', 'branch_digit': '5', 'account': '16980', 'account_digit': '3'}, {'bank_code': '001', 'branch': '1869', 'branch_digit': '4', 'account': '35615', 'account_digit': '8'}, {'bank_code': '001', 'branch': '2795', 'branch_digit': '2', 'account': '84800', 'account_digit': 'X'}, {'bank_code': '001', 'branch': '0386', 'branch_digit': '7', 'account': '86324', 'account_digit': '6'}, {'bank_code': '001', 'branch': '3653', 'branch_digit': '6', 'account': '18115', 'account_digit': '3'}, {'bank_code': '001', 'branch': '3006', 'branch_digit': '6', 'account': '6010', 'account_digit': '0'}, {'bank_code': '001', 'branch': '0726', 'branch_digit': '9', 'account': '5523', 'account_digit': '9'}, {'bank_code': '001', 'branch': '6960', 'branch_digit': '4', 'account': '6903', 'account_digit': '5'}, {'bank_code': '001', 'branch': '0987', 'branch_digit': '3', 'account': '5993', 'account_digit': '5'}, {'bank_code': '001', 'branch': '0675', 'branch_digit': '0', 'account': '8376', 'account_digit': '3'}, {'bank_code': '001', 'branch': '1245', 'branch_digit': '9', 'account': '34087', 'account_digit': '1'}, {'bank_code': '001', 'branch': '1578', 'branch_digit': '4', 'account': '2965033', 'account_digit': 'x'}, {'bank_code': '001', 'branch': '3510', 'branch_digit': '6', 'account': '29111', 'account_digit': '0'}, {'bank_code': '001', 'branch': '3430', 'branch_digit': '4', 'account': '22566', 'account_digit': '5'}, {'bank_code': '001', 'branch': '5899', 'branch_digit': '8', 'account': '52739', 'account_digit': '4'}, {'bank_code': '001', 'branch': '6812', 'branch_digit': '8', 'account': '19734', 'account_digit': '3'}, {'bank_code': '001', 'branch': '1244', 'branch_digit': '0', 'account': '8782', 'account_digit': '3'}, {'bank_code': '001', 'branch': '2305', 'branch_digit': '1', 'account': '6044', 'account_digit': '5'}, {'bank_code': '001', 'branch': '3007', 'branch_digit': '4', 'account': '39624', 'account_digit': '9'}, {'bank_code': '001', 'branch': '0386', 'branch_digit': '7', 'account': '78427', 'account_digit': '3'}, {'bank_code': '001', 'branch': '2447', 'branch_digit': '3', 'account': '45811', 'account_digit': '2'}, {'bank_code': '001', 'branch': '3055', 'branch_digit': '4', 'account': '18232', 'account_digit': 'x'}, {'bank_code': '001', 'branch': '1101', 'branch_digit': '0', 'account': '22471', 'account_digit': '5'}, {'bank_code': '001', 'branch': '6986', 'branch_digit': '8', 'account': '800217', 'account_digit': '7'}, {'bank_code': '001', 'branch': '6838', 'branch_digit': '1', 'account': '217959', 'account_digit': '8'}, {'bank_code': '001', 'branch': '3137', 'branch_digit': '2', 'account': '17297', 'account_digit': '9'}, {'bank_code': '001', 'branch': '2705', 'branch_digit': '7', 'account': '22159', 'account_digit': '7'}, {'bank_code': '001', 'branch': '4881', 'branch_digit': 'x', 'account': '6056', 'account_digit': '9'}, {'bank_code': '001', 'branch': '7081', 'branch_digit': '5', 'account': '21515', 'account_digit': '5'}, {'bank_code': '001', 'branch': '2960', 'branch_digit': '2', 'account': '19064', 'account_digit': '0'}, {'bank_code': '001', 'branch': '0387', 'branch_digit': '5', 'account': '40878', 'account_digit': '6'}, {'bank_code': '001', 'branch': '0080', 'branch_digit': '9', 'account': '66548', 'account_digit': '7'}, {'bank_code': '001', 'branch': '4598', 'branch_digit': '5', 'account': '16496', 'account_digit': '8'}, {'bank_code': '001', 'branch': '2324', 'branch_digit': '8', 'account': '27638', 'account_digit': '3'}, {'bank_code': '001', 'branch': '2897', 'branch_digit': '5', 'account': '32356', 'account_digit': 'x'}, {'bank_code': '001', 'branch': '3512', 'branch_digit': '2', 'account': '4556849', 'account_digit': '9'}, {'bank_code': '001', 'branch': '4451', 'branch_digit': '2', 'account': '7819', 'account_digit': '0'}, {'bank_code': '001', 'branch': '1237', 'branch_digit': '8', 'account': '552615', 'account_digit': '9'}, {'bank_code': '001', 'branch': '8687', 'branch_digit': '8', 'account': '2258318', 'account_digit': '1'}, {'bank_code': '001', 'branch': '1173', 'branch_digit': '8', 'account': '10952', 'account_digit': '5'}, {'bank_code': '001', 'branch': '3478', 'branch_digit': '9', 'account': '41098', 'account_digit': '5'}, {'bank_code': '001', 'branch': '1573', 'branch_digit': '3', 'account': '18835', 'account_digit': '2'}, {'bank_code': '001', 'branch': '1585', 'branch_digit': '7', 'account': '18636', 'account_digit': '8'}, {'bank_code': '001', 'branch': '3574', 'branch_digit': '2', 'account': '32059', 'account_digit': '5'}, {'bank_code': '001', 'branch': '2947', 'branch_digit': '5', 'account': '16296', 'account_digit': '5'}, {'bank_code': '001', 'branch': '0073', 'branch_digit': '6', 'account': '71811', 'account_digit': '4'}, {'bank_code': '001', 'branch': '3884', 'branch_digit': '9', 'account': '41843', 'account_digit': '9'}, {'bank_code': '001', 'branch': '4267', 'branch_digit': '6', 'account': '9290624', 'account_digit': '9'}, {'bank_code': '001', 'branch': '3005', 'branch_digit': '8', 'account': '27480', 'account_digit': '1'}, {'bank_code': '001', 'branch': '1227', 'branch_digit': '0', 'account': '57915', 'account_digit': '7'}, {'bank_code': '001', 'branch': '6801', 'branch_digit': '2', 'account': '15577', 'account_digit': '2'}, {'bank_code': '001', 'branch': '1612', 'branch_digit': '8', 'account': '15760', 'account_digit': '0'}, {'bank_code': '001', 'branch': '1230', 'branch_digit': '0', 'account': '39215', 'account_digit': '4'}, {'bank_code': '001', 'branch': '5959', 'branch_digit': '5', 'account': '6750954', 'account_digit': '1'}, {'bank_code': '001', 'branch': '1838', 'branch_digit': '4', 'account': '3810473', 'account_digit': '3'}, {'bank_code': '001', 'branch': '2764', 'branch_digit': '2', 'account': '29031', 'account_digit': '9'}, {'bank_code': '001', 'branch': '7075', 'branch_digit': '0', 'account': '21090', 'account_digit': '0'}, {'bank_code': '001', 'branch': '2945', 'branch_digit': '9', 'account': '721086', 'account_digit': '8'}, {'bank_code': '001', 'branch': '2047', 'branch_digit': '8', 'account': '9792', 'account_digit': '6'}, {'bank_code': '001', 'branch': '2363', 'branch_digit': '9', 'account': '22204', 'account_digit': '6'}, {'bank_code': '001', 'branch': '3556', 'branch_digit': '4', 'account': '21812', 'account_digit': 'x'}, {'bank_code': '001', 'branch': '8328', 'branch_digit': '3', 'account': '8745', 'account_digit': '9'}, {'bank_code': '001', 'branch': '5761', 'branch_digit': '4', 'account': '746063', 'account_digit': '5'}, {'bank_code': '001', 'branch': '6761', 'branch_digit': 'x', 'account': '58766', 'account_digit': '4'}, {'bank_code': '001', 'branch': '6970', 'branch_digit': '1', 'account': '17096', 'account_digit': '8'}, {'bank_code': '001', 'branch': '6954', 'branch_digit': 'x', 'account': '8225', 'account_digit': '2'}, {'bank_code': '001', 'branch': '2279', 'branch_digit': '9', 'account': '30078', 'account_digit': '0'}, {'bank_code': '001', 'branch': '3242', 'branch_digit': '5', 'account': '16764', 'account_digit': '9'}, {'bank_code': '001', 'branch': '0001', 'branch_digit': '9', 'account': '746173', 'account_digit': '9'}, {'bank_code': '001', 'branch': '0607', 'branch_digit': '6', 'account': '12173', 'account_digit': '8'}, {'bank_code': '001', 'branch': '3136', 'branch_digit': '4', 'account': '8638', 'account_digit': 'X'}, {'bank_code': '001', 'branch': '6842', 'branch_digit': 'X', 'account': '12372', 'account_digit': '2'}, {'bank_code': '001', 'branch': '2175', 'branch_digit': 'X', 'account': '36287', 'account_digit': '5'}, {'bank_code': '001', 'branch': '4683', 'branch_digit': '3', 'account': '6619', 'account_digit': '2'}, {'bank_code': '001', 'branch': '3277', 'branch_digit': '8', 'account': '23624', 'account_digit': '1'}, {'bank_code': '001', 'branch': '6807', 'branch_digit': '1', 'account': '8399', 'account_digit': '2'}, {'bank_code': '001', 'branch': '3613', 'branch_digit': '7', 'account': '30983', 'account_digit': '4'}, {'bank_code': '001', 'branch': '0729', 'branch_digit': '3', 'account': '67384', 'account_digit': '6'}, {'bank_code': '001', 'branch': '6884', 'branch_digit': '5', 'account': '21837', 'account_digit': '5'}, {'bank_code': '001', 'branch': '2365', 'branch_digit': '5', 'account': '6954141', 'account_digit': '8'}, {'bank_code': '001', 'branch': '0313', 'branch_digit': '1', 'account': '19457', 'account_digit': '3'}, {'bank_code': '001', 'branch': '0103', 'branch_digit': '1', 'account': '34705', 'account_digit': '1'}, {'bank_code': '001', 'branch': '3605', 'branch_digit': '6', 'account': '75007', 'account_digit': '7'}, {'bank_code': '001', 'branch': '2128', 'branch_digit': '8', 'account': '14589', 'account_digit': '0'}, {'bank_code': '001', 'branch': '3790', 'branch_digit': '7', 'account': '34668', 'account_digit': '3'}, {'bank_code': '001', 'branch': '1885', 'branch_digit': '6', 'account': '6079', 'account_digit': '8'}, {'bank_code': '001', 'branch': '4574', 'branch_digit': '8', 'account': '8981', 'account_digit': '8'}, {'bank_code': '001', 'branch': '0204', 'branch_digit': '6', 'account': '9812510', 'account_digit': '9'}, {'bank_code': '001', 'branch': '2883', 'branch_digit': '5', 'account': '23564', 'account_digit': '4'}, {'bank_code': '001', 'branch': '1517', 'branch_digit': '2', 'account': '28060', 'account_digit': '7'}, {'bank_code': '001', 'branch': '2902', 'branch_digit': '5', 'account': '25709', 'account_digit': '5'}, {'bank_code': '001', 'branch': '3590', 'branch_digit': '4', 'account': '12329', 'account_digit': '3'}, {'bank_code': '001', 'branch': '1629', 'branch_digit': '2', 'account': '413202', 'account_digit': '5'}, {'bank_code': '001', 'branch': '6554', 'branch_digit': '4', 'account': '13852', 'account_digit': '5'}, {'bank_code': '001', 'branch': '4314', 'branch_digit': '1', 'account': '22123', 'account_digit': '6'}, {'bank_code': '001', 'branch': '7019', 'branch_digit': 'x', 'account': '783', 'account_digit': '8'}, {'bank_code': '001', 'branch': '1617', 'branch_digit': '9', 'account': '17374', 'account_digit': '6'}, {'bank_code': '001', 'branch': '3417', 'branch_digit': '7', 'account': '16313', 'account_digit': '9'}, {'bank_code': '001', 'branch': '3396', 'branch_digit': '0', 'account': '27057', 'account_digit': '1'}, {'bank_code': '001', 'branch': '1609', 'branch_digit': '8', 'account': '48102', 'account_digit': '5'}, {'bank_code': '001', 'branch': '4572', 'branch_digit': '1', 'account': '6903', 'account_digit': '5'}, {'bank_code': '001', 'branch': '3193', 'branch_digit': '3', 'account': '14237', 'account_digit': '9'}, {'bank_code': '001', 'branch': '3620', 'branch_digit': 'x', 'account': '6794004', 'account_digit': '8'}, {'bank_code': '001', 'branch': '6501', 'branch_digit': '3', 'account': '5750', 'account_digit': '9'}, {'bank_code': '001', 'branch': '1458', 'branch_digit': '3', 'account': '21520', 'account_digit': '1'}, {'bank_code': '001', 'branch': '0023', 'branch_digit': 'x', 'account': '32769', 'account_digit': '7'}, {'bank_code': '001', 'branch': '3871', 'branch_digit': '7', 'account': '8654', 'account_digit': '1'}, {'bank_code': '001', 'branch': '3589', 'branch_digit': '0', 'account': '47621', 'account_digit': '8'}, {'bank_code': '001', 'branch': '1267', 'branch_digit': 'x', 'account': '30369', 'account_digit': '0'}, {'bank_code': '001', 'branch': '7150', 'branch_digit': '1', 'account': '302262', 'account_digit': '5'}, {'bank_code': '001', 'branch': '4599', 'branch_digit': '3', 'account': '6939', 'account_digit': '6'}, {'bank_code': '001', 'branch': '3283', 'branch_digit': '2', 'account': '12995', 'account_digit': 'x'}, {'bank_code': '001', 'branch': '3330', 'branch_digit': '8', 'account': '0723084', 'account_digit': '2'}, {'bank_code': '001', 'branch': '8428', 'branch_digit': 'X', 'account': '107369', 'account_digit': '9'}, {'bank_code': '001', 'branch': '3599', 'branch_digit': '8', 'account': '20075', 'account_digit': '1'}, {'bank_code': '001', 'branch': '2299', 'branch_digit': '3', 'account': '6937', 'account_digit': 'x'}, {'bank_code': '001', 'branch': '6882', 'branch_digit': '9', 'account': '45288', 'account_digit': '2'}, {'bank_code': '001', 'branch': '0098', 'branch_digit': '1', 'account': '8143', 'account_digit': '4'}, {'bank_code': '001', 'branch': '0210', 'branch_digit': '0', 'account': '39891', 'account_digit': '8'}, {'bank_code': '001', 'branch': '1252', 'branch_digit': '1', 'account': '10172', 'account_digit': '9'}, {'bank_code': '001', 'branch': '0188', 'branch_digit': '0', 'account': '31630', 'account_digit': 'X'}, {'bank_code': '001', 'branch': '2944', 'branch_digit': '0', 'account': '29443', 'account_digit': '8'}, {'bank_code': '001', 'branch': '5378', 'branch_digit': '3', 'account': '6204', 'account_digit': '9'}, {'bank_code': '001', 'branch': '3847', 'branch_digit': '4', 'account': '120569', 'account_digit': '2'}, {'bank_code': '001', 'branch': '0539', 'branch_digit': '8', 'account': '4538658', 'account_digit': '7'}, {'bank_code': '001', 'branch': '3595', 'branch_digit': '5', 'account': '6851', 'account_digit': '9'}, {'bank_code': '001', 'branch': '3449', 'branch_digit': '5', 'account': '31100', 'account_digit': '6'}, {'bank_code': '001', 'branch': '2002', 'branch_digit': '8', 'account': '1360', 'account_digit': '9'}, {'bank_code': '001', 'branch': '6531', 'branch_digit': '5', 'account': '10075', 'account_digit': '7'}, {'bank_code': '001', 'branch': '6917', 'branch_digit': '5', 'account': '6388', 'account_digit': '6'}, {'bank_code': '001', 'branch': '7082', 'branch_digit': '3', 'account': '23813', 'account_digit': '9'}, {'bank_code': '001', 'branch': '0037', 'branch_digit': 'x', 'account': '68663', 'account_digit': '8'}, {'bank_code': '001', 'branch': '0742', 'branch_digit': '0', 'account': '8116529', 'account_digit': '3'}, {'bank_code': '001', 'branch': '4318', 'branch_digit': '4', 'account': '24565', 'account_digit': '8'}, {'bank_code': '001', 'branch': '4292', 'branch_digit': '7', 'account': '8067', 'account_digit': '5'}, {'bank_code': '001', 'branch': '0194', 'branch_digit': '5', 'account': '14891', 'account_digit': '1'}, {'bank_code': '001', 'branch': '3517', 'branch_digit': '3', 'account': '21014', 'account_digit': '5'}, {'bank_code': '001', 'branch': '2762', 'branch_digit': '6', 'account': '13358', 'account_digit': '2'}, {'bank_code': '001', 'branch': '4886', 'branch_digit': '0', 'account': '177777', 'account_digit': '7'}, {'bank_code': '001', 'branch': '2800', 'branch_digit': '2', 'account': '21681', 'account_digit': 'X'}, {'bank_code': '001', 'branch': '3648', 'branch_digit': 'x', 'account': '23784', 'account_digit': '1'}, {'bank_code': '001', 'branch': '6522', 'branch_digit': '6', 'account': '7519', 'account_digit': '1'}, {'bank_code': '001', 'branch': '7076', 'branch_digit': '9', 'account': '6090508', 'account_digit': '5'}, {'bank_code': '001', 'branch': '1192', 'branch_digit': '4', 'account': '35774', 'account_digit': 'x'}, {'bank_code': '001', 'branch': '3599', 'branch_digit': '8', 'account': '2', 'account_digit': '7'}, {'bank_code': '001', 'branch': '3602', 'branch_digit': '1', 'account': '0437963', 'account_digit': '2'}], 'invalid_combinations': [{'bank_code': '001', 'branch': '0395', 'branch_digit': '6', 'account': '45939', 'account_digit': '3'}, {'bank_code': '001', 'branch': '2995', 'branch_digit': '5', 'account': '14728', 'account_digit': '9'}, {'bank_code': '001', 'branch': '7071', 'branch_digit': '8', 'account': '6801908', 'account_digit': '3'}, {'bank_code': '001', 'branch': '0229', 'branch_digit': '1', 'account': '12351', 'account_digit': '4'}, {'bank_code': '001', 'branch': '0742', 'branch_digit': '0', 'account': '8116529', 'account_digit': '1'}]}
santander = {'valid_combinations': [{'bank_code': '033', 'branch': '2006', 'branch_digit': '', 'account': '01008407', 'account_digit': '4'}, {'bank_code': '033', 'branch': '3488', 'branch_digit': '', 'account': '01000334', 'account_digit': '6'}, {'bank_code': '033', 'branch': '3003', 'branch_digit': '', 'account': '01000491', 'account_digit': '1'}, {'bank_code': '033', 'branch': '3415', 'branch_digit': '', 'account': '01089302', 'account_digit': '4'}, {'bank_code': '033', 'branch': '3899', 'branch_digit': '', 'account': '01002217', 'account_digit': '6'}, {'bank_code': '033', 'branch': '3004', 'branch_digit': '', 'account': '01003220', 'account_digit': '7'}, {'bank_code': '033', 'branch': '0562', 'branch_digit': '', 'account': '01015946', 'account_digit': '3'}, {'bank_code': '033', 'branch': '1318', 'branch_digit': '', 'account': '01007168', 'account_digit': '0'}, {'bank_code': '033', 'branch': '3409', 'branch_digit': '', 'account': '01019131', 'account_digit': '4'}, {'bank_code': '033', 'branch': '3128', 'branch_digit': '', 'account': '01072280', 'account_digit': '8'}, {'bank_code': '033', 'branch': '1653', 'branch_digit': '', 'account': '01000226', 'account_digit': '4'}, {'bank_code': '033', 'branch': '4580', 'branch_digit': '', 'account': '01003115', 'account_digit': '4'}, {'bank_code': '033', 'branch': '3719', 'branch_digit': '', 'account': '01003141', 'account_digit': '2'}, {'bank_code': '033', 'branch': '4749', 'branch_digit': '', 'account': '01081666', 'account_digit': '8'}, {'bank_code': '033', 'branch': '2167', 'branch_digit': '', 'account': '01006952', 'account_digit': '5'}, {'bank_code': '033', 'branch': '0250', 'branch_digit': '', 'account': '01016748', 'account_digit': '0'}, {'bank_code': '033', 'branch': '0236', 'branch_digit': '', 'account': '01012421', 'account_digit': '6'}, {'bank_code': '033', 'branch': '0642', 'branch_digit': '', 'account': '01028759', 'account_digit': '8'}, {'bank_code': '033', 'branch': '3311', 'branch_digit': '', 'account': '01082068', 'account_digit': '9'}, {'bank_code': '033', 'branch': '3553', 'branch_digit': '', 'account': '01083325', 'account_digit': '0'}, {'bank_code': '033', 'branch': '0085', 'branch_digit': '', 'account': '01019802', 'account_digit': '4'}, {'bank_code': '033', 'branch': '0658', 'branch_digit': '', 'account': '01047326', 'account_digit': '0'}, {'bank_code': '033', 'branch': '3664', 'branch_digit': '', 'account': '01006243', 'account_digit': '1'}, {'bank_code': '033', 'branch': '3919', 'branch_digit': '', 'account': '01003572', 'account_digit': '8'}, {'bank_code': '033', 'branch': '1181', 'branch_digit': '', 'account': '01001574', 'account_digit': '5'}, {'bank_code': '033', 'branch': '0319', 'branch_digit': '', 'account': '01052162', 'account_digit': '6'}, {'bank_code': '033', 'branch': '0982', 'branch_digit': '', 'account': '01002319', 'account_digit': '1'}, {'bank_code': '033', 'branch': '3767', 'branch_digit': '', 'account': '01081803', 'account_digit': '6'}, {'bank_code': '033', 'branch': '0900', 'branch_digit': '', 'account': '01015746', 'account_digit': '3'}, {'bank_code': '033', 'branch': '2115', 'branch_digit': '', 'account': '01008573', 'account_digit': '9'}, {'bank_code': '033', 'branch': '2183', 'branch_digit': '', 'account': '13001676', 'account_digit': '6'}, {'bank_code': '033', 'branch': '4727', 'branch_digit': '', 'account': '01021891', 'account_digit': '0'}, {'bank_code': '033', 'branch': '3140', 'branch_digit': '', 'account': '01081522', 'account_digit': '7'}, {'bank_code': '033', 'branch': '0105', 'branch_digit': '', 'account': '01050748', 'account_digit': '1'}, {'bank_code': '033', 'branch': '0628', 'branch_digit': '', 'account': '01033262', 'account_digit': '9'}, {'bank_code': '033', 'branch': '4762', 'branch_digit': '', 'account': '01019136', 'account_digit': '8'}, {'bank_code': '033', 'branch': '0903', 'branch_digit': '', 'account': '01004867', 'account_digit': '8'}, {'bank_code': '033', 'branch': '3678', 'branch_digit': '', 'account': '01001778', 'account_digit': '8'}, {'bank_code': '033', 'branch': '0097', 'branch_digit': '', 'account': '01014173', 'account_digit': '5'}, {'bank_code': '033', 'branch': '1637', 'branch_digit': '', 'account': '01003221', 'account_digit': '8'}, {'bank_code': '033', 'branch': '0220', 'branch_digit': '', 'account': '01021953', 'account_digit': '1'}, {'bank_code': '033', 'branch': '3137', 'branch_digit': '', 'account': '01013057', 'account_digit': '1'}, {'bank_code': '033', 'branch': '3716', 'branch_digit': '', 'account': '01001508', 'account_digit': '8'}, {'bank_code': '033', 'branch': '0680', 'branch_digit': '', 'account': '01020880', 'account_digit': '3'}, {'bank_code': '033', 'branch': '0129', 'branch_digit': '', 'account': '01068263', 'account_digit': '6'}, {'bank_code': '033', 'branch': '3083', 'branch_digit': '', 'account': '01000412', 'account_digit': '0'}, {'bank_code': '033', 'branch': '4653', 'branch_digit': '', 'account': '01020964', 'account_digit': '6'}, {'bank_code': '033', 'branch': '0001', 'branch_digit': '', 'account': '02006073', 'account_digit': '1'}, {'bank_code': '033', 'branch': '0986', 'branch_digit': '', 'account': '01001039', 'account_digit': '1'}, {'bank_code': '033', 'branch': '4310', 'branch_digit': '', 'account': '01000386', 'account_digit': '2'}, {'bank_code': '033', 'branch': '3476', 'branch_digit': '', 'account': '02000708', 'account_digit': '7'}, {'bank_code': '033', 'branch': '4679', 'branch_digit': '', 'account': '01000571', 'account_digit': '8'}, {'bank_code': '033', 'branch': '4259', 'branch_digit': '', 'account': '01002748', 'account_digit': '2'}, {'bank_code': '033', 'branch': '0301', 'branch_digit': '', 'account': '01015734', 'account_digit': '7'}, {'bank_code': '033', 'branch': '3966', 'branch_digit': '', 'account': '01066137', 'account_digit': '4'}, {'bank_code': '033', 'branch': '0112', 'branch_digit': '', 'account': '01026747', 'account_digit': '7'}, {'bank_code': '033', 'branch': '0037', 'branch_digit': '', 'account': '01083383', 'account_digit': '8'}, {'bank_code': '033', 'branch': '3472', 'branch_digit': '', 'account': '01008201', 'account_digit': '6'}, {'bank_code': '033', 'branch': '4478', 'branch_digit': '', 'account': '01073210', 'account_digit': '1'}, {'bank_code': '033', 'branch': '3501', 'branch_digit': '', 'account': '01006602', 'account_digit': '4'}, {'bank_code': '033', 'branch': '0535', 'branch_digit': '', 'account': '01019251', 'account_digit': '6'}, {'bank_code': '033', 'branch': '3750', 'branch_digit': '', 'account': '01001880', 'account_digit': '3'}, {'bank_code': '033', 'branch': '1330', 'branch_digit': '', 'account': '01019096', 'account_digit': '1'}, {'bank_code': '033', 'branch': '0142', 'branch_digit': '', 'account': '01042867', 'account_digit': '3'}, {'bank_code': '033', 'branch': '3717', 'branch_digit': '', 'account': '01004637', 'account_digit': '7'}, {'bank_code': '033', 'branch': '4647', 'branch_digit': '', 'account': '01000073', 'account_digit': '8'}, {'bank_code': '033', 'branch': '3522', 'branch_digit': '', 'account': '01003302', 'account_digit': '7'}, {'bank_code': '033', 'branch': '4779', 'branch_digit': '', 'account': '01000483', 'account_digit': '7'}, {'bank_code': '033', 'branch': '0319', 'branch_digit': '', 'account': '01041485', 'account_digit': '0'}, {'bank_code': '033', 'branch': '0445', 'branch_digit': '', 'account': '001009300', 'account_digit': '2'}, {'bank_code': '033', 'branch': '1431', 'branch_digit': '', 'account': '01002389', 'account_digit': '4'}, {'bank_code': '033', 'branch': '0248', 'branch_digit': '', 'account': '01013538', 'account_digit': '3'}, {'bank_code': '033', 'branch': '4230', 'branch_digit': '', 'account': '01085717', 'account_digit': '4'}, {'bank_code': '033', 'branch': '3409', 'branch_digit': '', 'account': '02002962', 'account_digit': '1'}, {'bank_code': '033', 'branch': '0643', 'branch_digit': '', 'account': '01038220', 'account_digit': '7'}, {'bank_code': '033', 'branch': '4776', 'branch_digit': '', 'account': '01000729', 'account_digit': '7'}, {'bank_code': '033', 'branch': '3004', 'branch_digit': '', 'account': '1004420', 'account_digit': '8'}, {'bank_code': '033', 'branch': '1568', 'branch_digit': '', 'account': '01003687', 'account_digit': '9'}, {'bank_code': '033', 'branch': '0114', 'branch_digit': '', 'account': '01034968', 'account_digit': '9'}, {'bank_code': '033', 'branch': '4268', 'branch_digit': '', 'account': '01063682', 'account_digit': '0'}, {'bank_code': '033', 'branch': '0811', 'branch_digit': '', 'account': '01000575', 'account_digit': '4'}, {'bank_code': '033', 'branch': '0697', 'branch_digit': '', 'account': '01000315', 'account_digit': '8'}, {'bank_code': '033', 'branch': '3409', 'branch_digit': '', 'account': '01086346', 'account_digit': '6'}, {'bank_code': '033', 'branch': '2146', 'branch_digit': '', 'account': '01009275', 'account_digit': '9'}, {'bank_code': '033', 'branch': '0576', 'branch_digit': '', 'account': '01007506', 'account_digit': '1'}, {'bank_code': '033', 'branch': '3922', 'branch_digit': '', 'account': '01081275', 'account_digit': '8'}, {'bank_code': '033', 'branch': '0060', 'branch_digit': '', 'account': '01080281', 'account_digit': '4'}, {'bank_code': '033', 'branch': '2093', 'branch_digit': '', 'account': '01019648', 'account_digit': '7'}, {'bank_code': '033', 'branch': '3731', 'branch_digit': '', 'account': '01001830', 'account_digit': '3'}, {'bank_code': '033', 'branch': '4715', 'branch_digit': '', 'account': '01086178', 'account_digit': '8'}, {'bank_code': '033', 'branch': '1181', 'branch_digit': '', 'account': '01004801', 'account_digit': '3'}, {'bank_code': '033', 'branch': '2269', 'branch_digit': '', 'account': '01019042', 'account_digit': '8'}, {'bank_code': '033', 'branch': '3067', 'branch_digit': '', 'account': '01078324', 'account_digit': '9'}, {'bank_code': '033', 'branch': '3822', 'branch_digit': '', 'account': '01008987', 'account_digit': '6'}, {'bank_code': '033', 'branch': '4052', 'branch_digit': '', 'account': '01000202', 'account_digit': '6'}, {'bank_code': '033', 'branch': '3041', 'branch_digit': '', 'account': '01014802', 'account_digit': '8'}, {'bank_code': '033', 'branch': '0252', 'branch_digit': '', 'account': '01011089', 'account_digit': '5'}, {'bank_code': '033', 'branch': '3997', 'branch_digit': '', 'account': '01001154', 'account_digit': '2'}, {'bank_code': '033', 'branch': '2290', 'branch_digit': '', 'account': '01000409', 'account_digit': '1'}, {'bank_code': '033', 'branch': '3878', 'branch_digit': '', 'account': '01085729', 'account_digit': '8'}, {'bank_code': '033', 'branch': '3397', 'branch_digit': '', 'account': '01009421', 'account_digit': '9'}, {'bank_code': '033', 'branch': '0120', 'branch_digit': '', 'account': '01058564', 'account_digit': '8'}, {'bank_code': '033', 'branch': '0445', 'branch_digit': '', 'account': '01015526', 'account_digit': '3'}, {'bank_code': '033', 'branch': '1582', 'branch_digit': '', 'account': '13000418', 'account_digit': '3'}, {'bank_code': '033', 'branch': '4260', 'branch_digit': '', 'account': '01001451', 'account_digit': '0'}, {'bank_code': '033', 'branch': '0929', 'branch_digit': '', 'account': '01001725', 'account_digit': '2'}, {'bank_code': '033', 'branch': '0179', 'branch_digit': '', 'account': '13006152', 'account_digit': '7'}], 'invalid_combinations': [{'bank_code': '033', 'branch': '3003', 'branch_digit': '', 'account': '01000491', 'account_digit': '5'}, {'bank_code': '033', 'branch': '3415', 'branch_digit': '', 'account': '01089302', 'account_digit': '6'}]}
banrisul = {'correct_data': [('0196', '66'), ('0668', '42'), ('0330', '14'), ('0584', '32'), ('0137', '06'), ('0130', '56'), ('1104', '93'), ('0128', '90'), ('1105', '66'), ('0150', '32'), ('0990', '23'), ('0141', '25'), ('0270', '06'), ('0906', '89'), ('0283', '20'), ('0288', '19'), ('1073', '60'), ('0100', '81'), ('1015', '75'), ('0028', '28'), ('0831', '86'), ('0843', '36'), ('0025', '77'), ('1004', '12'), ('0844', '17'), ('0030', '77'), ('1151', '18'), ('1069', '41'), ('0845', '81'), ('0031', '58'), ('0049', '79'), ('0032', '39'), ('0835', '93'), ('0702', '11'), ('1042', '13'), ('0597', '57'), ('0035', '65'), ('0624', '72'), ('0015', '89'), ('0036', '46'), ('0039', '80'), ('1081', '97'), ('0040', '65'), ('0041', '46'), ('0042', '27'), ('0018', '21'), ('0839', '17'), ('0045', '53'), ('0047', '15'), ('0016', '78'), ('0838', '36'), ('0156', '01'), ('0050', '53'), ('1075', '14'), ('0055', '41'), ('0060', '41'), ('1098', '35'), ('0062', '03'), ('0065', '48'), ('0100', '81'), ('0100', '81'), ('0051', '34'), ('0047', '15'), ('0030', '77'), ('0835', '93'), ('0040', '65'), ('0065', '48'), ('0065', '48'), ('0845', '81'), ('0030', '77'), ('0100', '81'), ('0051', '34'), ('0041', '46'), ('0621', '38'), ('0621', '38'), ('0797', '15'), ('0065', '48'), ('0027', '39'), ('0042', '27'), ('1004', '12'), ('0100', '81'), ('0030', '77'), ('0040', '65'), ('0040', '65'), ('0041', '46'), ('0051', '34'), ('0100', '81'), ('0835', '93'), ('0835', '93'), ('0100', '81'), ('0100', '81'), ('0100', '81'), ('0041', '46'), ('0100', '81'), ('0026', '58'), ('0100', '81'), ('0042', '27'), ('0085', '16'), ('0050', '53'), ('0060', '41'), ('1099', '16'), ('0834', '29'), ('0077', '81'), ('0065', '48'), ('0070', '48'), ('0075', '28'), ('0621', '38'), ('0011', '71'), ('0257', '63'), ('0847', '43'), ('0797', '15'), ('1140', '30'), ('0073', '74'), ('0080', '28'), ('0026', '58'), ('0643', '78'), ('0082', '81'), ('0027', '39'), ('1103', '10'), ('0085', '16'), ('0051', '34'), ('0852', '43'), ('1009', '00'), ('0043', '08'), ('0856', '50'), ('0851', '62')]}
caixa_economica_federal = {'valid_combinations': [{'bank_code': '104', 'branch': '3009', 'branch_digit': '', 'account': '00100022679', 'account_digit': '9'}, {'bank_code': '104', 'branch': '4074', 'branch_digit': '', 'account': '00100023064', 'account_digit': '5'}, {'bank_code': '104', 'branch': '0323', 'branch_digit': '', 'account': '00100013906', 'account_digit': '2'}, {'bank_code': '104', 'branch': '3586', 'branch_digit': '', 'account': '00100024125', 'account_digit': '7'}, {'bank_code': '104', 'branch': '1041', 'branch_digit': '', 'account': '00100000663', 'account_digit': '1'}, {'bank_code': '104', 'branch': '3664', 'branch_digit': '', 'account': '00100020627', 'account_digit': '7'}, {'bank_code': '104', 'branch': '0376', 'branch_digit': '', 'account': '00100023641', 'account_digit': '5'}, {'bank_code': '104', 'branch': '1029', 'branch_digit': '', 'account': '00100000704', 'account_digit': '7'}, {'bank_code': '104', 'branch': '0081', 'branch_digit': '', 'account': '00100402345', 'account_digit': '5'}, {'bank_code': '104', 'branch': '0274', 'branch_digit': '', 'account': '00100002205', 'account_digit': '4'}, {'bank_code': '104', 'branch': '0138', 'branch_digit': '', 'account': '00100025179', 'account_digit': '7'}, {'bank_code': '104', 'branch': '0097', 'branch_digit': '', 'account': '00100024764', 'account_digit': '0'}, {'bank_code': '104', 'branch': '0007', 'branch_digit': '', 'account': '00100026579', 'account_digit': '5'}, {'bank_code': '104', 'branch': '0330', 'branch_digit': '', 'account': '00100027000', 'account_digit': '0'}, {'bank_code': '104', 'branch': '2929', 'branch_digit': '', 'account': '00100023108', 'account_digit': '2'}, {'bank_code': '104', 'branch': '3093', 'branch_digit': '', 'account': '00100022680', 'account_digit': '0'}, {'bank_code': '104', 'branch': '0377', 'branch_digit': '', 'account': '00100024431', 'account_digit': '6'}, {'bank_code': '104', 'branch': '3529', 'branch_digit': '', 'account': '00100020826', 'account_digit': '7'}, {'bank_code': '104', 'branch': '3708', 'branch_digit': '', 'account': '00100022028', 'account_digit': '6'}, {'bank_code': '104', 'branch': '0238', 'branch_digit': '', 'account': '00100029117', 'account_digit': '2'}, {'bank_code': '104', 'branch': '1209', 'branch_digit': '', 'account': '00100022432', 'account_digit': '1'}, {'bank_code': '104', 'branch': '1005', 'branch_digit': '', 'account': '00100001442', 'account_digit': '5'}, {'bank_code': '104', 'branch': '0974', 'branch_digit': '', 'account': '00100024066', 'account_digit': '9'}, {'bank_code': '104', 'branch': '1655', 'branch_digit': '', 'account': '00100021870', 'account_digit': '0'}, {'bank_code': '104', 'branch': '0973', 'branch_digit': '', 'account': '00100024056', 'account_digit': '6'}, {'bank_code': '104', 'branch': '1374', 'branch_digit': '', 'account': '00100032594', 'account_digit': '0'}, {'bank_code': '104', 'branch': '3234', 'branch_digit': '', 'account': '00100020302', 'account_digit': '4'}, {'bank_code': '104', 'branch': '3178', 'branch_digit': '', 'account': '00100003275', 'account_digit': '7'}, {'bank_code': '104', 'branch': '0180', 'branch_digit': '', 'account': '01300026644', 'account_digit': '4'}, {'bank_code': '104', 'branch': '2879', 'branch_digit': '', 'account': '00100001151', 'account_digit': '0'}, {'bank_code': '104', 'branch': '0740', 'branch_digit': '', 'account': '00100006300', 'account_digit': '4'}, {'bank_code': '104', 'branch': '1626', 'branch_digit': '', 'account': '00100020593', 'account_digit': '6'}, {'bank_code': '104', 'branch': '2256', 'branch_digit': '', 'account': '01300022084', 'account_digit': '1'}, {'bank_code': '104', 'branch': '2272', 'branch_digit': '', 'account': '01300018769', 'account_digit': '8'}, {'bank_code': '104', 'branch': '1286', 'branch_digit': '', 'account': '00100021202', 'account_digit': '1'}, {'bank_code': '104', 'branch': '1631', 'branch_digit': '', 'account': '00100024975', 'account_digit': '2'}, {'bank_code': '104', 'branch': '3016', 'branch_digit': '', 'account': '00100032801', 'account_digit': '8'}, {'bank_code': '104', 'branch': '4004', 'branch_digit': '', 'account': '00100024929', 'account_digit': '8'}, {'bank_code': '104', 'branch': '3518', 'branch_digit': '', 'account': '00100878787', 'account_digit': '8'}, {'bank_code': '104', 'branch': '1448', 'branch_digit': '', 'account': '00100005206', 'account_digit': '7'}, {'bank_code': '104', 'branch': '4076', 'branch_digit': '', 'account': '00100022873', 'account_digit': '0'}, {'bank_code': '104', 'branch': '1656', 'branch_digit': '', 'account': '00100000199', 'account_digit': '4'}, {'bank_code': '104', 'branch': '0253', 'branch_digit': '', 'account': '00100021172', 'account_digit': '3'}, {'bank_code': '104', 'branch': '0659', 'branch_digit': '', 'account': '00100024087', 'account_digit': '9'}, {'bank_code': '104', 'branch': '0369', 'branch_digit': '', 'account': '00100027307', 'account_digit': '0'}, {'bank_code': '104', 'branch': '0678', 'branch_digit': '', 'account': '00100000478', 'account_digit': '8'}, {'bank_code': '104', 'branch': '4018', 'branch_digit': '', 'account': '00100002956', 'account_digit': '1'}, {'bank_code': '104', 'branch': '2717', 'branch_digit': '', 'account': '00100000419', 'account_digit': '9'}, {'bank_code': '104', 'branch': '3725', 'branch_digit': '', 'account': '00100021781', 'account_digit': '4'}, {'bank_code': '104', 'branch': '2161', 'branch_digit': '', 'account': '00100002257', 'account_digit': '8'}, {'bank_code': '104', 'branch': '2885', 'branch_digit': '', 'account': '01300009226', 'account_digit': '6'}, {'bank_code': '104', 'branch': '0607', 'branch_digit': '', 'account': '01300029203', 'account_digit': '8'}, {'bank_code': '104', 'branch': '1173', 'branch_digit': '', 'account': '00100020283', 'account_digit': '8'}, {'bank_code': '104', 'branch': '1746', 'branch_digit': '', 'account': '00100024048', 'account_digit': '3'}, {'bank_code': '104', 'branch': '0371', 'branch_digit': '', 'account': '01300074967', 'account_digit': '2'}, {'bank_code': '104', 'branch': '3825', 'branch_digit': '', 'account': '00100020712', 'account_digit': '0'}, {'bank_code': '104', 'branch': '1831', 'branch_digit': '', 'account': '00100000935', 'account_digit': '0'}, {'bank_code': '104', 'branch': '3898', 'branch_digit': '', 'account': '00100020341', 'account_digit': '6'}, {'bank_code': '104', 'branch': '0655', 'branch_digit': '', 'account': '00100026077', 'account_digit': '0'}, {'bank_code': '104', 'branch': '0974', 'branch_digit': '', 'account': '01300018935', 'account_digit': '7'}, {'bank_code': '104', 'branch': '0566', 'branch_digit': '', 'account': '00100029057', 'account_digit': '9'}, {'bank_code': '104', 'branch': '1337', 'branch_digit': '', 'account': '00100020993', 'account_digit': '0'}, {'bank_code': '104', 'branch': '2387', 'branch_digit': '', 'account': '00100006984', 'account_digit': '0'}, {'bank_code': '104', 'branch': '1529', 'branch_digit': '', 'account': '00100003499', 'account_digit': '9'}, {'bank_code': '104', 'branch': '1529', 'branch_digit': '', 'account': '00100022437', 'account_digit': '2'}, {'bank_code': '104', 'branch': '1433', 'branch_digit': '', 'account': '00100020291', 'account_digit': '1'}, {'bank_code': '104', 'branch': '3532', 'branch_digit': '', 'account': '00100023661', 'account_digit': '5'}, {'bank_code': '104', 'branch': '0920', 'branch_digit': '', 'account': '00100005838', 'account_digit': '6'}, {'bank_code': '104', 'branch': '0240', 'branch_digit': '', 'account': '00100003162', 'account_digit': '7'}, {'bank_code': '104', 'branch': '1282', 'branch_digit': '', 'account': '00100022936', 'account_digit': '4'}, {'bank_code': '104', 'branch': '0867', 'branch_digit': '', 'account': '00100028748', 'account_digit': '5'}, {'bank_code': '104', 'branch': '0132', 'branch_digit': '', 'account': '01300092032', 'account_digit': '0'}, {'bank_code': '104', 'branch': '0183', 'branch_digit': '', 'account': '01300110073', 'account_digit': '2'}, {'bank_code': '104', 'branch': '0344', 'branch_digit': '', 'account': '00100104739', 'account_digit': '5'}, {'bank_code': '104', 'branch': '1294', 'branch_digit': '', 'account': '00100004122', 'account_digit': '0'}, {'bank_code': '104', 'branch': '0039', 'branch_digit': '', 'account': '00100001289', 'account_digit': '1'}, {'bank_code': '104', 'branch': '3653', 'branch_digit': '', 'account': '00100020040', 'account_digit': '6'}, {'bank_code': '104', 'branch': '0250', 'branch_digit': '', 'account': '01300049677', 'account_digit': '6'}, {'bank_code': '104', 'branch': '0037', 'branch_digit': '', 'account': '02300001126', 'account_digit': '7'}, {'bank_code': '104', 'branch': '0800', 'branch_digit': '', 'account': '00100007246', 'account_digit': '7'}, {'bank_code': '104', 'branch': '4139', 'branch_digit': '', 'account': '00100005660', 'account_digit': '5'}, {'bank_code': '104', 'branch': '1370', 'branch_digit': '', 'account': '00100001501', 'account_digit': '0'}, {'bank_code': '104', 'branch': '0081', 'branch_digit': '', 'account': '00100028566', 'account_digit': '8'}, {'bank_code': '104', 'branch': '1746', 'branch_digit': '', 'account': '00100000545', 'account_digit': '0'}, {'bank_code': '104', 'branch': '1399', 'branch_digit': '', 'account': '00100020206', 'account_digit': '3'}, {'bank_code': '104', 'branch': '4695', 'branch_digit': '', 'account': '00100021292', 'account_digit': '9'}, {'bank_code': '104', 'branch': '0161', 'branch_digit': '', 'account': '00100050132', 'account_digit': '2'}, {'bank_code': '104', 'branch': '1989', 'branch_digit': '', 'account': '01300065849', 'account_digit': '1'}, {'bank_code': '104', 'branch': '2960', 'branch_digit': '', 'account': '00100023169', 'account_digit': '3'}, {'bank_code': '104', 'branch': '2289', 'branch_digit': '', 'account': '00100030924', 'account_digit': '5'}, {'bank_code': '104', 'branch': '0797', 'branch_digit': '', 'account': '00100023335', 'account_digit': '0'}, {'bank_code': '104', 'branch': '4716', 'branch_digit': '', 'account': '00100020483', 'account_digit': '0'}, {'bank_code': '104', 'branch': '0259', 'branch_digit': '', 'account': '00100022168', 'account_digit': '3'}, {'bank_code': '104', 'branch': '4082', 'branch_digit': '', 'account': '01300022302', 'account_digit': '6'}, {'bank_code': '104', 'branch': '1942', 'branch_digit': '', 'account': '00100061950', 'account_digit': '0'}, {'bank_code': '104', 'branch': '0893', 'branch_digit': '', 'account': '01300051113', 'account_digit': '5'}, {'bank_code': '104', 'branch': '2987', 'branch_digit': '', 'account': '00100021099', 'account_digit': '5'}, {'bank_code': '104', 'branch': '3463', 'branch_digit': '', 'account': '01300006936', 'account_digit': '0'}, {'bank_code': '104', 'branch': '0694', 'branch_digit': '', 'account': '00100021543', 'account_digit': '3'}, {'bank_code': '104', 'branch': '0145', 'branch_digit': '', 'account': '001013005390', 'account_digit': '9'}, {'bank_code': '104', 'branch': '0293', 'branch_digit': '', 'account': '00100031362', 'account_digit': '1'}, {'bank_code': '104', 'branch': '2712', 'branch_digit': '', 'account': '01300030597', 'account_digit': '7'}, {'bank_code': '104', 'branch': '0893', 'branch_digit': '', 'account': '00100032983', 'account_digit': '0'}, {'bank_code': '104', 'branch': '1464', 'branch_digit': '', 'account': '00100022843', 'account_digit': '0'}, {'bank_code': '104', 'branch': '2862', 'branch_digit': '', 'account': '00100021709', 'account_digit': '4'}, {'bank_code': '104', 'branch': '0081', 'branch_digit': '', 'account': '00100000526', 'account_digit': '6'}], 'invalid_combinations': [{'bank_code': '104', 'branch': '3009', 'branch_digit': '', 'account': '00100022679', 'account_digit': '6'}, {'bank_code': '104', 'branch': '0797', 'branch_digit': '', 'account': '00100023335', 'account_digit': '7'}, {'bank_code': '104', 'branch': '4716', 'branch_digit': '', 'account': '00100020483', 'account_digit': '3'}, {'bank_code': '104', 'branch': '0259', 'branch_digit': '', 'account': '00100022168', 'account_digit': '5'}, {'bank_code': '104', 'branch': '4082', 'branch_digit': '', 'account': '01300022302', 'account_digit': '4'}, {'bank_code': '104', 'branch': '1942', 'branch_digit': '', 'account': '00100061950', 'account_digit': '7'}, {'bank_code': '104', 'branch': '0893', 'branch_digit': '', 'account': '01300051113', 'account_digit': '1'}]}
bradesco = {'valid_combinations': [{'bank_code': '237', 'branch': '2377', 'branch_digit': '9', 'account': '0002158', 'account_digit': '0'}, {'bank_code': '237', 'branch': '1842', 'branch_digit': '2', 'account': '42582', 'account_digit': '6'}, {'bank_code': '237', 'branch': '2308', 'branch_digit': '6', 'account': '8743', 'account_digit': '2'}, {'bank_code': '237', 'branch': '2883', 'branch_digit': '5', 'account': '19678', 'account_digit': '9'}, {'bank_code': '237', 'branch': '1493', 'branch_digit': '1', 'account': '00004218', 'account_digit': '8'}, {'bank_code': '237', 'branch': '0138', 'branch_digit': '4', 'account': '0125350', 'account_digit': '6'}, {'bank_code': '237', 'branch': '3209', 'branch_digit': '3', 'account': '82826', 'account_digit': '2'}, {'bank_code': '237', 'branch': '3568', 'branch_digit': '8', 'account': '0572396', 'account_digit': '5'}, {'bank_code': '237', 'branch': '1838', 'branch_digit': '4', 'account': '383', 'account_digit': '2'}, {'bank_code': '237', 'branch': '0224', 'branch_digit': '0', 'account': '0213608', 'account_digit': '2'}, {'bank_code': '237', 'branch': '2877', 'branch_digit': '0', 'account': '2205', 'account_digit': '5'}, {'bank_code': '237', 'branch': '0135', 'branch_digit': '0', 'account': '0091562', 'account_digit': '9'}, {'bank_code': '237', 'branch': '1764', 'branch_digit': '7', 'account': '1488', 'account_digit': '5'}, {'bank_code': '237', 'branch': '0046', 'branch_digit': '9', 'account': '368740', 'account_digit': '6'}, {'bank_code': '237', 'branch': '3061', 'branch_digit': '9', 'account': '928', 'account_digit': '8'}, {'bank_code': '237', 'branch': '1039', 'branch_digit': '1', 'account': '11490', 'account_digit': '1'}, {'bank_code': '237', 'branch': '0593', 'branch_digit': '2', 'account': '206610', 'account_digit': '6'}, {'bank_code': '237', 'branch': '0823', 'branch_digit': '0', 'account': '1123', 'account_digit': '1'}, {'bank_code': '237', 'branch': '0215', 'branch_digit': '1', 'account': '0509042', 'account_digit': '3'}, {'bank_code': '237', 'branch': '3019', 'branch_digit': '8', 'account': '0096751', 'account_digit': '3'}, {'bank_code': '237', 'branch': '2731', 'branch_digit': '6', 'account': '0518055', 'account_digit': '4'}, {'bank_code': '237', 'branch': '3141', 'branch_digit': '0', 'account': '16750', 'account_digit': '9'}, {'bank_code': '237', 'branch': '0323', 'branch_digit': '9', 'account': '72888', 'account_digit': '8'}, {'bank_code': '237', 'branch': '2451', 'branch_digit': '1', 'account': '21734', 'account_digit': '4'}, {'bank_code': '237', 'branch': '0154', 'branch_digit': '6', 'account': '201402', 'account_digit': '5'}, {'bank_code': '237', 'branch': '2856', 'branch_digit': '8', 'account': '727', 'account_digit': '7'}, {'bank_code': '237', 'branch': '2671', 'branch_digit': '9', 'account': '10080', 'account_digit': '3'}, {'bank_code': '237', 'branch': '2601', 'branch_digit': '8', 'account': '0001112', 'account_digit': '6'}, {'bank_code': '237', 'branch': '0682', 'branch_digit': '3', 'account': '53757', 'account_digit': '8'}, {'bank_code': '237', 'branch': '0504', 'branch_digit': '5', 'account': '43142', 'account_digit': '7'}, {'bank_code': '237', 'branch': '2773', 'branch_digit': '1', 'account': '0015781', 'account_digit': '3'}, {'bank_code': '237', 'branch': '1669', 'branch_digit': '1', 'account': '11437', 'account_digit': '5'}, {'bank_code': '237', 'branch': '1125', 'branch_digit': '8', 'account': '0300024', 'account_digit': '9'}, {'bank_code': '237', 'branch': '2102', 'branch_digit': '4', 'account': '9719', 'account_digit': '5'}, {'bank_code': '237', 'branch': '3327', 'branch_digit': '8', 'account': '0000444', 'account_digit': '8'}, {'bank_code': '237', 'branch': '2200', 'branch_digit': '4', 'account': '22793', 'account_digit': '5'}, {'bank_code': '237', 'branch': '1249', 'branch_digit': '1', 'account': '100122', 'account_digit': '1'}, {'bank_code': '237', 'branch': '6734', 'branch_digit': '2', 'account': '751', 'account_digit': '0'}, {'bank_code': '237', 'branch': '3113', 'branch_digit': '5', 'account': '14812', 'account_digit': '1'}, {'bank_code': '237', 'branch': '1997', 'branch_digit': '6', 'account': '6955', 'account_digit': '8'}, {'bank_code': '237', 'branch': '0486', 'branch_digit': '3', 'account': '0061408', 'account_digit': '4'}, {'bank_code': '237', 'branch': '2875', 'branch_digit': '4', 'account': '0009608', 'account_digit': '3'}, {'bank_code': '237', 'branch': '1451', 'branch_digit': '6', 'account': '63080', 'account_digit': '2'}, {'bank_code': '237', 'branch': '0666', 'branch_digit': '1', 'account': '0550207', 'account_digit': '1'}, {'bank_code': '237', 'branch': '0769', 'branch_digit': '2', 'account': '8356', 'account_digit': '9'}, {'bank_code': '237', 'branch': '1330', 'branch_digit': '7', 'account': '5516', 'account_digit': '6'}, {'bank_code': '237', 'branch': '0081', 'branch_digit': '7', 'account': '106923', 'account_digit': '3'}, {'bank_code': '237', 'branch': '3428', 'branch_digit': '2', 'account': '0021838', 'account_digit': '3'}, {'bank_code': '237', 'branch': '1785', 'branch_digit': '0', 'account': '0020480', 'account_digit': '3'}, {'bank_code': '237', 'branch': '1701', 'branch_digit': '9', 'account': '58001', 'account_digit': '5'}, {'bank_code': '237', 'branch': '3137', 'branch_digit': '2', 'account': '0009348', 'account_digit': '3'}, {'bank_code': '237', 'branch': '3100', 'branch_digit': '3', 'account': '0447884', 'account_digit': '3'}, {'bank_code': '237', 'branch': '6005', 'branch_digit': '4', 'account': '0001165', 'account_digit': '7'}, {'bank_code': '237', 'branch': '0423', 'branch_digit': '5', 'account': '110106', 'account_digit': '4'}, {'bank_code': '237', 'branch': '0568', 'branch_digit': '1', 'account': '10889', 'account_digit': '8'}, {'bank_code': '237', 'branch': '0601', 'branch_digit': '7', 'account': '7559', 'account_digit': '0'}, {'bank_code': '237', 'branch': '3636', 'branch_digit': '6', 'account': '7550', 'account_digit': '7'}, {'bank_code': '237', 'branch': '2214', 'branch_digit': '4', 'account': '0600632', 'account_digit': '9'}, {'bank_code': '237', 'branch': '3469', 'branch_digit': '0', 'account': '7953', 'account_digit': '7'}, {'bank_code': '237', 'branch': '3210', 'branch_digit': '7', 'account': '0100725', 'account_digit': '4'}, {'bank_code': '237', 'branch': '1522', 'branch_digit': '9', 'account': '1459', 'account_digit': '1'}, {'bank_code': '237', 'branch': '0156', 'branch_digit': '2', 'account': '0218147', 'account_digit': '9'}, {'bank_code': '237', 'branch': '0095', 'branch_digit': '7', 'account': '265154', 'account_digit': '8'}, {'bank_code': '237', 'branch': '1084', 'branch_digit': '7', 'account': '0039561', 'account_digit': '7'}, {'bank_code': '237', 'branch': '1262', 'branch_digit': '9', 'account': '0020629', 'account_digit': '6'}, {'bank_code': '237', 'branch': '6898', 'branch_digit': '5', 'account': '1670', 'account_digit': '5'}, {'bank_code': '237', 'branch': '1691', 'branch_digit': '8', 'account': '0001579', 'account_digit': '2'}, {'bank_code': '237', 'branch': '2369', 'branch_digit': '8', 'account': '0006512', 'account_digit': '9'}, {'bank_code': '237', 'branch': '1526', 'branch_digit': '1', 'account': '9901', 'account_digit': '5'}, {'bank_code': '237', 'branch': '0165', 'branch_digit': '1', 'account': '0102598', 'account_digit': '8'}, {'bank_code': '237', 'branch': '2614', 'branch_digit': '0', 'account': '0502683', 'account_digit': '0'}, {'bank_code': '237', 'branch': '0495', 'branch_digit': '2', 'account': '0106571', 'account_digit': '8'}, {'bank_code': '237', 'branch': '2784', 'branch_digit': '7', 'account': '9202', 'account_digit': '9'}, {'bank_code': '237', 'branch': '0214', 'branch_digit': '3', 'account': '075866', 'account_digit': '3'}, {'bank_code': '237', 'branch': '1045', 'branch_digit': '6', 'account': '186055', 'account_digit': '0'}, {'bank_code': '237', 'branch': '1431', 'branch_digit': '1', 'account': '0057991', 'account_digit': '2'}, {'bank_code': '237', 'branch': '0220', 'branch_digit': '8', 'account': '0006140', 'account_digit': '9'}, {'bank_code': '237', 'branch': '0497', 'branch_digit': '9', 'account': '63630', 'account_digit': '4'}, {'bank_code': '237', 'branch': '0027', 'branch_digit': '2', 'account': '51474', 'account_digit': '8'}, {'bank_code': '237', 'branch': '2062', 'branch_digit': '1', 'account': '97387', 'account_digit': '4'}, {'bank_code': '237', 'branch': '2201', 'branch_digit': '2', 'account': '0044649', 'account_digit': '1'}, {'bank_code': '237', 'branch': '3526', 'branch_digit': '2', 'account': '18273', 'account_digit': '7'}, {'bank_code': '237', 'branch': '2918', 'branch_digit': '1', 'account': '1001156', 'account_digit': '6'}, {'bank_code': '237', 'branch': '0943', 'branch_digit': '1', 'account': '000561', 'account_digit': '4'}, {'bank_code': '237', 'branch': '3014', 'branch_digit': '7', 'account': '0010704', 'account_digit': '2'}, {'bank_code': '237', 'branch': '0055', 'branch_digit': '8', 'account': '0767584', 'account_digit': '4'}, {'bank_code': '237', 'branch': '1489', 'branch_digit': '3', 'account': '0007197', 'account_digit': '8'}, {'bank_code': '237', 'branch': '0562', 'branch_digit': '2', 'account': '53934', 'account_digit': '1'}, {'bank_code': '237', 'branch': '2274', 'branch_digit': '8', 'account': '23502', 'account_digit': '4'}, {'bank_code': '237', 'branch': '2701', 'branch_digit': '4', 'account': '19898', 'account_digit': '6'}, {'bank_code': '237', 'branch': '1095', 'branch_digit': '2', 'account': '44644', 'account_digit': '0'}, {'bank_code': '237', 'branch': '1382', 'branch_digit': '0', 'account': '0169241', 'account_digit': '0'}, {'bank_code': '237', 'branch': '0779', 'branch_digit': '0', 'account': '102722', 'account_digit': '0'}, {'bank_code': '237', 'branch': '1051', 'branch_digit': '0', 'account': '73884', 'account_digit': '0'}, {'bank_code': '237', 'branch': '2892', 'branch_digit': '4', 'account': '0003862', 'account_digit': '8'}, {'bank_code': '237', 'branch': '2856', 'branch_digit': '8', 'account': '565337', 'account_digit': '1'}, {'bank_code': '237', 'branch': '0649', 'branch_digit': '1', 'account': '9756', 'account_digit': '0'}, {'bank_code': '237', 'branch': '2716', 'branch_digit': '2', 'account': '7971', 'account_digit': '5'}, {'bank_code': '237', 'branch': '3191', 'branch_digit': '7', 'account': '20350', 'account_digit': '5'}, {'bank_code': '237', 'branch': '0138', 'branch_digit': '4', 'account': '0161646', 'account_digit': '3'}, {'bank_code': '237', 'branch': '3424', 'branch_digit': '0', 'account': '37725', 'account_digit': '2'}, {'bank_code': '237', 'branch': '0224', 'branch_digit': '0', 'account': '14273', 'account_digit': '5'}, {'bank_code': '237', 'branch': '3221', 'branch_digit': '2', 'account': '20247', 'account_digit': '9'}, {'bank_code': '237', 'branch': '3035', 'branch_digit': '0', 'account': '099897', 'account_digit': '4'}, {'bank_code': '237', 'branch': '3071', 'branch_digit': '6', 'account': '0031989', 'account_digit': '9'}, {'bank_code': '237', 'branch': '2330', 'branch_digit': '2', 'account': '100010', 'account_digit': '1'}, {'bank_code': '237', 'branch': '2856', 'branch_digit': '8', 'account': '243751', 'account_digit': '1'}, {'bank_code': '237', 'branch': '0653', 'branch_digit': '0', 'account': '15955', 'account_digit': '7'}, {'bank_code': '237', 'branch': '2272', 'branch_digit': '1', 'account': '011441', 'account_digit': '3'}, {'bank_code': '237', 'branch': '0782', 'branch_digit': '0', 'account': '274', 'account_digit': '7'}, {'bank_code': '237', 'branch': '3739', 'branch_digit': '7', 'account': '0024845', 'account_digit': '2'}, {'bank_code': '237', 'branch': '0081', 'branch_digit': '7', 'account': '3289', 'account_digit': '1'}, {'bank_code': '237', 'branch': '0254', 'branch_digit': '2', 'account': '0015422', 'account_digit': '9'}, {'bank_code': '237', 'branch': '0093', 'branch_digit': '0', 'account': '000046', 'account_digit': '9'}, {'bank_code': '237', 'branch': '0113', 'branch_digit': '9', 'account': '128695', 'account_digit': '1'}, {'bank_code': '237', 'branch': '1975', 'branch_digit': '5', 'account': '64289', 'account_digit': '4'}, {'bank_code': '237', 'branch': '1709', 'branch_digit': '4', 'account': '0510794', 'account_digit': '6'}, {'bank_code': '237', 'branch': '1644', 'branch_digit': '6', 'account': '0013252', 'account_digit': '7'}, {'bank_code': '237', 'branch': '2137', 'branch_digit': '7', 'account': '35347', 'account_digit': '7'}, {'bank_code': '237', 'branch': '2423', 'branch_digit': '6', 'account': '1580', 'account_digit': '6'}, {'bank_code': '237', 'branch': '3267', 'branch_digit': '0', 'account': '799', 'account_digit': '4'}, {'bank_code': '237', 'branch': '1365', 'branch_digit': '0', 'account': '32868', 'account_digit': '5'}, {'bank_code': '237', 'branch': '0456', 'branch_digit': '1', 'account': '61580', 'account_digit': '3'}, {'bank_code': '237', 'branch': '3726', 'branch_digit': '5', 'account': '82155', 'account_digit': '1'}, {'bank_code': '237', 'branch': '1792', 'branch_digit': '2', 'account': '12870', 'account_digit': '8'}, {'bank_code': '237', 'branch': '1786', 'branch_digit': '8', 'account': '0027105', 'account_digit': '5'}, {'bank_code': '237', 'branch': '2344', 'branch_digit': '2', 'account': '4113', 'account_digit': '0'}, {'bank_code': '237', 'branch': '2811', 'branch_digit': '8', 'account': '0010400', 'account_digit': '0'}, {'bank_code': '237', 'branch': '2856', 'branch_digit': '8', 'account': '572390', 'account_digit': '6'}, {'bank_code': '237', 'branch': '0105', 'branch_digit': '8', 'account': '0243332', 'account_digit': '0'}, {'bank_code': '237', 'branch': '2375', 'branch_digit': '2', 'account': '0107478', 'account_digit': '4'}, {'bank_code': '237', 'branch': '3539', 'branch_digit': '4', 'account': '98845', 'account_digit': '6'}, {'bank_code': '237', 'branch': '0843', 'branch_digit': '5', 'account': '12555', 'account_digit': '5'}, {'bank_code': '237', 'branch': '1625', 'branch_digit': '0', 'account': '769', 'account_digit': '2'}, {'bank_code': '237', 'branch': '0292', 'branch_digit': '5', 'account': '0107680', 'account_digit': '9'}, {'bank_code': '237', 'branch': '2485', 'branch_digit': '6', 'account': '0024089', 'account_digit': '3'}, {'bank_code': '237', 'branch': '0111', 'branch_digit': '2', 'account': '98952', 'account_digit': '5'}], 'invalid_combinations': [{'bank_code': '237', 'branch': '2377', 'branch_digit': '9', 'account': '0002158', 'account_digit': '1'}, {'bank_code': '237', 'branch': '1842', 'branch_digit': '2', 'account': '42582', 'account_digit': '4'}, {'bank_code': '237', 'branch': '2308', 'branch_digit': '6', 'account': '8743', 'account_digit': '3'}, {'bank_code': '237', 'branch': '2883', 'branch_digit': '5', 'account': '19678', 'account_digit': '1'}, {'bank_code': '237', 'branch': '1493', 'branch_digit': '1', 'account': '00004218', 'account_digit': '2'}, {'bank_code': '237', 'branch': '0105', 'branch_digit': '8', 'account': '0243332', 'account_digit': '1'}, {'bank_code': '237', 'branch': '2375', 'branch_digit': '2', 'account': '0107478', 'account_digit': '2'}, {'bank_code': '237', 'branch': '3539', 'branch_digit': '4', 'account': '98845', 'account_digit': '3'}]}
itau = {'valid_combinations': [{'bank_code': '341', 'branch': '4122', 'branch_digit': '', 'account': '08781', 'account_digit': '2'}, {'bank_code': '341', 'branch': '6629', 'branch_digit': '', 'account': '00487', 'account_digit': '7'}, {'bank_code': '341', 'branch': '8613', 'branch_digit': '', 'account': '30393', 'account_digit': '5'}, {'bank_code': '341', 'branch': '1688', 'branch_digit': '', 'account': '42768', 'account_digit': '9'}, {'bank_code': '341', 'branch': '9097', 'branch_digit': '', 'account': '30404', 'account_digit': '3'}, {'bank_code': '341', 'branch': '0164', 'branch_digit': '', 'account': '83940', 'account_digit': '9'}, {'bank_code': '341', 'branch': '3069', 'branch_digit': '', 'account': '17061', 'account_digit': '5'}, {'bank_code': '341', 'branch': '9649', 'branch_digit': '', 'account': '00947', 'account_digit': '0'}, {'bank_code': '341', 'branch': '1165', 'branch_digit': '', 'account': '44378', 'account_digit': '7'}, {'bank_code': '341', 'branch': '3130', 'branch_digit': '', 'account': '20138', 'account_digit': '1'}, {'bank_code': '341', 'branch': '3004', 'branch_digit': '', 'account': '02729', 'account_digit': '2'}, {'bank_code': '341', 'branch': '0895', 'branch_digit': '', 'account': '51357', 'account_digit': '0'}, {'bank_code': '341', 'branch': '7041', 'branch_digit': '', 'account': '64676', 'account_digit': '6'}, {'bank_code': '341', 'branch': '0735', 'branch_digit': '', 'account': '03207', 'account_digit': '0'}, {'bank_code': '341', 'branch': '6241', 'branch_digit': '', 'account': '21842', 'account_digit': '6'}, {'bank_code': '341', 'branch': '9109', 'branch_digit': '', 'account': '15436', 'account_digit': '0'}, {'bank_code': '341', 'branch': '4300', 'branch_digit': '', 'account': '34939', 'account_digit': '8'}, {'bank_code': '341', 'branch': '3935', 'branch_digit': '', 'account': '23504', 'account_digit': '8'}, {'bank_code': '341', 'branch': '0368', 'branch_digit': '', 'account': '14365', 'account_digit': '7'}, {'bank_code': '341', 'branch': '9649', 'branch_digit': '', 'account': '00479', 'account_digit': '4'}, {'bank_code': '341', 'branch': '4465', 'branch_digit': '', 'account': '04952', 'account_digit': '8'}, {'bank_code': '341', 'branch': '8053', 'branch_digit': '', 'account': '02090', 'account_digit': '8'}, {'bank_code': '341', 'branch': '1538', 'branch_digit': '', 'account': '02328', 'account_digit': '2'}, {'bank_code': '341', 'branch': '7063', 'branch_digit': '', 'account': '02567', 'account_digit': '5'}, {'bank_code': '341', 'branch': '2944', 'branch_digit': '', 'account': '14795', 'account_digit': '4'}, {'bank_code': '341', 'branch': '8219', 'branch_digit': '', 'account': '00853', 'account_digit': '2'}, {'bank_code': '341', 'branch': '8574', 'branch_digit': '', 'account': '00273', 'account_digit': '2'}, {'bank_code': '341', 'branch': '0251', 'branch_digit': '', 'account': '76606', 'account_digit': '9'}, {'bank_code': '341', 'branch': '7012', 'branch_digit': '', 'account': '04430', 'account_digit': '6'}, {'bank_code': '341', 'branch': '0191', 'branch_digit': '', 'account': '71355', 'account_digit': '1'}, {'bank_code': '341', 'branch': '9699', 'branch_digit': '', 'account': '04962', 'account_digit': '4'}, {'bank_code': '341', 'branch': '6470', 'branch_digit': '', 'account': '10400', 'account_digit': '8'}, {'bank_code': '341', 'branch': '0024', 'branch_digit': '', 'account': '42560', 'account_digit': '5'}, {'bank_code': '341', 'branch': '0138', 'branch_digit': '', 'account': '01434', 'account_digit': '5'}, {'bank_code': '341', 'branch': '9286', 'branch_digit': '', 'account': '17593', 'account_digit': '1'}, {'bank_code': '341', 'branch': '1364', 'branch_digit': '', 'account': '08603', 'account_digit': '1'}, {'bank_code': '341', 'branch': '5928', 'branch_digit': '', 'account': '00599', 'account_digit': '9'}, {'bank_code': '341', 'branch': '6476', 'branch_digit': '', 'account': '04010', 'account_digit': '7'}, {'bank_code': '341', 'branch': '8142', 'branch_digit': '', 'account': '02166', 'account_digit': '9'}, {'bank_code': '341', 'branch': '7821', 'branch_digit': '', 'account': '01500', 'account_digit': '0'}, {'bank_code': '341', 'branch': '8605', 'branch_digit': '', 'account': '01535', 'account_digit': '6'}, {'bank_code': '341', 'branch': '6328', 'branch_digit': '', 'account': '07429', 'account_digit': '6'}, {'bank_code': '341', 'branch': '9283', 'branch_digit': '', 'account': '17700', 'account_digit': '5'}, {'bank_code': '341', 'branch': '1565', 'branch_digit': '', 'account': '28069', 'account_digit': '8'}, {'bank_code': '341', 'branch': '8614', 'branch_digit': '', 'account': '46724', 'account_digit': '2'}, {'bank_code': '341', 'branch': '9276', 'branch_digit': '', 'account': '00838', 'account_digit': '1'}, {'bank_code': '341', 'branch': '9103', 'branch_digit': '', 'account': '13602', 'account_digit': '5'}, {'bank_code': '341', 'branch': '3701', 'branch_digit': '', 'account': '26628', 'account_digit': '4'}, {'bank_code': '341', 'branch': '1481', 'branch_digit': '', 'account': '05860', 'account_digit': '8'}, {'bank_code': '341', 'branch': '7031', 'branch_digit': '', 'account': '07554', 'account_digit': '7'}, {'bank_code': '341', 'branch': '0715', 'branch_digit': '', 'account': '54473', 'account_digit': '0'}, {'bank_code': '341', 'branch': '6575', 'branch_digit': '', 'account': '00728', 'account_digit': '8'}, {'bank_code': '341', 'branch': '4052', 'branch_digit': '', 'account': '11881', 'account_digit': '9'}, {'bank_code': '341', 'branch': '6123', 'branch_digit': '', 'account': '06390', 'account_digit': '8'}, {'bank_code': '341', 'branch': '6665', 'branch_digit': '', 'account': '02753', 'account_digit': '5'}, {'bank_code': '341', 'branch': '0665', 'branch_digit': '', 'account': '39207', 'account_digit': '2'}, {'bank_code': '341', 'branch': '6234', 'branch_digit': '', 'account': '18342', 'account_digit': '1'}, {'bank_code': '341', 'branch': '3753', 'branch_digit': '', 'account': '13485', 'account_digit': '1'}, {'bank_code': '341', 'branch': '2924', 'branch_digit': '', 'account': '33488', 'account_digit': '7'}, {'bank_code': '341', 'branch': '2970', 'branch_digit': '', 'account': '19333', 'account_digit': '6'}, {'bank_code': '341', 'branch': '6695', 'branch_digit': '', 'account': '03256', 'account_digit': '2'}, {'bank_code': '341', 'branch': '3789', 'branch_digit': '', 'account': '09105', 'account_digit': '9'}, {'bank_code': '341', 'branch': '1616', 'branch_digit': '', 'account': '02167', 'account_digit': '9'}, {'bank_code': '341', 'branch': '8133', 'branch_digit': '', 'account': '03805', 'account_digit': '2'}, {'bank_code': '341', 'branch': '6220', 'branch_digit': '', 'account': '98133', 'account_digit': '3'}, {'bank_code': '341', 'branch': '1003', 'branch_digit': '', 'account': '58887', 'account_digit': '6'}, {'bank_code': '341', 'branch': '7048', 'branch_digit': '', 'account': '00156', 'account_digit': '9'}, {'bank_code': '341', 'branch': '4300', 'branch_digit': '', 'account': '08042', 'account_digit': '3'}, {'bank_code': '341', 'branch': '3705', 'branch_digit': '', 'account': '13502', 'account_digit': '2'}, {'bank_code': '341', 'branch': '9110', 'branch_digit': '', 'account': '22667', 'account_digit': '8'}, {'bank_code': '341', 'branch': '3765', 'branch_digit': '', 'account': '32387', 'account_digit': '2'}, {'bank_code': '341', 'branch': '1620', 'branch_digit': '', 'account': '11908', 'account_digit': '9'}, {'bank_code': '341', 'branch': '0522', 'branch_digit': '', 'account': '68967', 'account_digit': '8'}, {'bank_code': '341', 'branch': '8846', 'branch_digit': '', 'account': '14776', 'account_digit': '0'}, {'bank_code': '341', 'branch': '9293', 'branch_digit': '', 'account': '28334', 'account_digit': '8'}, {'bank_code': '341', 'branch': '1399', 'branch_digit': '', 'account': '57112', 'account_digit': '2'}, {'bank_code': '341', 'branch': '7437', 'branch_digit': '', 'account': '08739', 'account_digit': '3'}, {'bank_code': '341', 'branch': '5605', 'branch_digit': '', 'account': '08922', 'account_digit': '5'}, {'bank_code': '341', 'branch': '0210', 'branch_digit': '', 'account': '64727', 'account_digit': '7'}, {'bank_code': '341', 'branch': '3836', 'branch_digit': '', 'account': '34668', 'account_digit': '8'}, {'bank_code': '341', 'branch': '0150', 'branch_digit': '', 'account': '27317', 'account_digit': '5'}, {'bank_code': '341', 'branch': '8188', 'branch_digit': '', 'account': '05810', 'account_digit': '4'}, {'bank_code': '341', 'branch': '3040', 'branch_digit': '', 'account': '20210', 'account_digit': '7'}, {'bank_code': '341', 'branch': '2798', 'branch_digit': '', 'account': '10208', 'account_digit': '9'}, {'bank_code': '341', 'branch': '9663', 'branch_digit': '', 'account': '06276', 'account_digit': '9'}, {'bank_code': '341', 'branch': '0179', 'branch_digit': '', 'account': '31803', 'account_digit': '5'}, {'bank_code': '341', 'branch': '1063', 'branch_digit': '', 'account': '27533', 'account_digit': '1'}, {'bank_code': '341', 'branch': '8751', 'branch_digit': '', 'account': '01815', 'account_digit': '4'}, {'bank_code': '341', 'branch': '6540', 'branch_digit': '', 'account': '10045', 'account_digit': '7'}, {'bank_code': '341', 'branch': '4807', 'branch_digit': '', 'account': '02583', 'account_digit': '0'}, {'bank_code': '341', 'branch': '0310', 'branch_digit': '', 'account': '78327', 'account_digit': '9'}, {'bank_code': '341', 'branch': '5572', 'branch_digit': '', 'account': '17715', 'account_digit': '1'}, {'bank_code': '341', 'branch': '4339', 'branch_digit': '', 'account': '10697', 'account_digit': '5'}, {'bank_code': '341', 'branch': '3888', 'branch_digit': '', 'account': '15327', 'account_digit': '1'}, {'bank_code': '341', 'branch': '7344', 'branch_digit': '', 'account': '01533', 'account_digit': '9'}, {'bank_code': '341', 'branch': '2971', 'branch_digit': '', 'account': '25759', 'account_digit': '3'}, {'bank_code': '341', 'branch': '3203', 'branch_digit': '', 'account': '14059', 'account_digit': '9'}, {'bank_code': '341', 'branch': '3116', 'branch_digit': '', 'account': '13720', 'account_digit': '3'}, {'bank_code': '341', 'branch': '0285', 'branch_digit': '', 'account': '74139', 'account_digit': '3'}, {'bank_code': '341', 'branch': '8571', 'branch_digit': '', 'account': '07180', 'account_digit': '5'}, {'bank_code': '341', 'branch': '7048', 'branch_digit': '', 'account': '19193', 'account_digit': '1'}, {'bank_code': '341', 'branch': '1538', 'branch_digit': '', 'account': '50366', 'account_digit': '3'}, {'bank_code': '341', 'branch': '0566', 'branch_digit': '', 'account': '28945', 'account_digit': '0'}, {'bank_code': '341', 'branch': '0941', 'branch_digit': '', 'account': '56590', 'account_digit': '5'}, {'bank_code': '341', 'branch': '0572', 'branch_digit': '', 'account': '02913', 'account_digit': '0'}, {'bank_code': '341', 'branch': '1017', 'branch_digit': '', 'account': '58535', 'account_digit': '5'}, {'bank_code': '341', 'branch': '3836', 'branch_digit': '', 'account': '29578', 'account_digit': '6'}, {'bank_code': '341', 'branch': '1685', 'branch_digit': '', 'account': '30139', 'account_digit': '0'}, {'bank_code': '341', 'branch': '3130', 'branch_digit': '', 'account': '12254', 'account_digit': '6'}, {'bank_code': '341', 'branch': '3031', 'branch_digit': '', 'account': '18636', 'account_digit': '8'}, {'bank_code': '341', 'branch': '9286', 'branch_digit': '', 'account': '14450', 'account_digit': '7'}, {'bank_code': '341', 'branch': '7066', 'branch_digit': '', 'account': '62972', 'account_digit': '1'}, {'bank_code': '341', 'branch': '9362', 'branch_digit': '', 'account': '23929', 'account_digit': '6'}, {'bank_code': '341', 'branch': '7414', 'branch_digit': '', 'account': '16290', 'account_digit': '4'}, {'bank_code': '341', 'branch': '4099', 'branch_digit': '', 'account': '57717', 'account_digit': '5'}, {'bank_code': '341', 'branch': '6914', 'branch_digit': '', 'account': '04430', 'account_digit': '7'}, {'bank_code': '341', 'branch': '0310', 'branch_digit': '', 'account': '10426', 'account_digit': '0'}, {'bank_code': '341', 'branch': '7070', 'branch_digit': '', 'account': '07492', 'account_digit': '2'}, {'bank_code': '341', 'branch': '0445', 'branch_digit': '', 'account': '32128', 'account_digit': '4'}, {'bank_code': '341', 'branch': '9692', 'branch_digit': '', 'account': '00861', 'account_digit': '9'}, {'bank_code': '341', 'branch': '0646', 'branch_digit': '', 'account': '1639', 'account_digit': '4'}, {'bank_code': '341', 'branch': '8723', 'branch_digit': '', 'account': '09311', 'account_digit': '1'}, {'bank_code': '341', 'branch': '6968', 'branch_digit': '', 'account': '01098', 'account_digit': '0'}, {'bank_code': '341', 'branch': '9093', 'branch_digit': '', 'account': '01069', 'account_digit': '3'}, {'bank_code': '341', 'branch': '6097', 'branch_digit': '', 'account': '23964', 'account_digit': '1'}, {'bank_code': '341', 'branch': '6133', 'branch_digit': '', 'account': '01815', 'account_digit': '7'}, {'bank_code': '341', 'branch': '0265', 'branch_digit': '', 'account': '69144', 'account_digit': '4'}, {'bank_code': '341', 'branch': '8514', 'branch_digit': '', 'account': '08026', 'account_digit': '9'}, {'bank_code': '341', 'branch': '8313', 'branch_digit': '', 'account': '05018', 'account_digit': '2'}, {'bank_code': '341', 'branch': '3741', 'branch_digit': '', 'account': '44590', 'account_digit': '6'}, {'bank_code': '341', 'branch': '3099', 'branch_digit': '', 'account': '18807', 'account_digit': '4'}, {'bank_code': '341', 'branch': '3219', 'branch_digit': '', 'account': '10842', 'account_digit': '4'}, {'bank_code': '341', 'branch': '8062', 'branch_digit': '', 'account': '15147', 'account_digit': '0'}, {'bank_code': '341', 'branch': '0652', 'branch_digit': '', 'account': '08707', 'account_digit': '3'}, {'bank_code': '341', 'branch': '2000', 'branch_digit': '', 'account': '40299', 'account_digit': '6'}, {'bank_code': '341', 'branch': '0297', 'branch_digit': '', 'account': '64674', 'account_digit': '7'}, {'bank_code': '341', 'branch': '3825', 'branch_digit': '', 'account': '13677', 'account_digit': '7'}, {'bank_code': '341', 'branch': '8365', 'branch_digit': '', 'account': '09685', 'account_digit': '1'}, {'bank_code': '341', 'branch': '0655', 'branch_digit': '', 'account': '26754', 'account_digit': '0'}, {'bank_code': '341', 'branch': '1542', 'branch_digit': '', 'account': '13501', 'account_digit': '5'}, {'bank_code': '341', 'branch': '4446', 'branch_digit': '', 'account': '18030', 'account_digit': '1'}, {'bank_code': '341', 'branch': '4079', 'branch_digit': '', 'account': '07630', 'account_digit': '5'}, {'bank_code': '341', 'branch': '8482', 'branch_digit': '', 'account': '18902', 'account_digit': '7'}, {'bank_code': '341', 'branch': '1478', 'branch_digit': '', 'account': '53999', 'account_digit': '0'}, {'bank_code': '341', 'branch': '7425', 'branch_digit': '', 'account': '04011', 'account_digit': '5'}, {'bank_code': '341', 'branch': '8792', 'branch_digit': '', 'account': '29321', 'account_digit': '2'}, {'bank_code': '341', 'branch': '8719', 'branch_digit': '', 'account': '15778', 'account_digit': '9'}, {'bank_code': '341', 'branch': '8004', 'branch_digit': '', 'account': '05847', 'account_digit': '8'}, {'bank_code': '341', 'branch': '0262', 'branch_digit': '', 'account': '96414', 'account_digit': '1'}, {'bank_code': '341', 'branch': '2971', 'branch_digit': '', 'account': '13310', 'account_digit': '9'}, {'bank_code': '341', 'branch': '9134', 'branch_digit': '', 'account': '11428', 'account_digit': '0'}, {'bank_code': '341', 'branch': '0689', 'branch_digit': '', 'account': '01811', 'account_digit': '7'}, {'bank_code': '341', 'branch': '9635', 'branch_digit': '', 'account': '01209', 'account_digit': '0'}, {'bank_code': '341', 'branch': '6244', 'branch_digit': '', 'account': '14164', 'account_digit': '1'}, {'bank_code': '341', 'branch': '8498', 'branch_digit': '', 'account': '21429', 'account_digit': '8'}, {'bank_code': '341', 'branch': '0190', 'branch_digit': '', 'account': '54490', 'account_digit': '8'}, {'bank_code': '341', 'branch': '9051', 'branch_digit': '', 'account': '00646', 'account_digit': '9'}, {'bank_code': '341', 'branch': '0036', 'branch_digit': '', 'account': '58502', 'account_digit': '4'}, {'bank_code': '341', 'branch': '8708', 'branch_digit': '', 'account': '03545', 'account_digit': '9'}, {'bank_code': '341', 'branch': '4449', 'branch_digit': '', 'account': '01118', 'account_digit': '0'}, {'bank_code': '341', 'branch': '6939', 'branch_digit': '', 'account': '21568', 'account_digit': '4'}, {'bank_code': '341', 'branch': '0706', 'branch_digit': '', 'account': '03965', 'account_digit': '8'}, {'bank_code': '341', 'branch': '9391', 'branch_digit': '', 'account': '00570', 'account_digit': '0'}, {'bank_code': '341', 'branch': '0623', 'branch_digit': '', 'account': '00872', 'account_digit': '9'}, {'bank_code': '341', 'branch': '0940', 'branch_digit': '', 'account': '64043', 'account_digit': '6'}, {'bank_code': '341', 'branch': '8652', 'branch_digit': '', 'account': '04313', 'account_digit': '7'}, {'bank_code': '341', 'branch': '0709', 'branch_digit': '', 'account': '10314', 'account_digit': '7'}, {'bank_code': '341', 'branch': '7007', 'branch_digit': '', 'account': '504', 'account_digit': '9'}, {'bank_code': '341', 'branch': '0776', 'branch_digit': '', 'account': '68025', 'account_digit': '8'}, {'bank_code': '341', 'branch': '2934', 'branch_digit': '', 'account': '09853', 'account_digit': '0'}, {'bank_code': '341', 'branch': '9134', 'branch_digit': '', 'account': '11428', 'account_digit': '0'}, {'bank_code': '341', 'branch': '8474', 'branch_digit': '', 'account': '16755', 'account_digit': '1'}, {'bank_code': '341', 'branch': '1001', 'branch_digit': '', 'account': '24612', 'account_digit': '1'}, {'bank_code': '341', 'branch': '3103', 'branch_digit': '', 'account': '20710', 'account_digit': '0'}, {'bank_code': '341', 'branch': '8121', 'branch_digit': '', 'account': '04852', 'account_digit': '7'}, {'bank_code': '341', 'branch': '0278', 'branch_digit': '', 'account': '89922', 'account_digit': '4'}, {'bank_code': '341', 'branch': '0477', 'branch_digit': '', 'account': '09974', 'account_digit': '1'}, {'bank_code': '341', 'branch': '2796', 'branch_digit': '', 'account': '05148', 'account_digit': '6'}, {'bank_code': '341', 'branch': '3758', 'branch_digit': '', 'account': '49828', 'account_digit': '5'}, {'bank_code': '341', 'branch': '8910', 'branch_digit': '', 'account': '25750', 'account_digit': '3'}, {'bank_code': '341', 'branch': '4085', 'branch_digit': '', 'account': '14921', 'account_digit': '1'}, {'bank_code': '341', 'branch': '0442', 'branch_digit': '', 'account': '02850', 'account_digit': '2'}, {'bank_code': '341', 'branch': '7387', 'branch_digit': '', 'account': '13978', 'account_digit': '0'}, {'bank_code': '341', 'branch': '9180', 'branch_digit': '', 'account': '17220', 'account_digit': '8'}, {'bank_code': '341', 'branch': '0844', 'branch_digit': '', 'account': '07076', 'account_digit': '3'}, {'bank_code': '341', 'branch': '0355', 'branch_digit': '', 'account': '92834', 'account_digit': '2'}, {'bank_code': '341', 'branch': '7446', 'branch_digit': '', 'account': '12709', 'account_digit': '9'}, {'bank_code': '341', 'branch': '0429', 'branch_digit': '', 'account': '47089', 'account_digit': '1'}, {'bank_code': '341', 'branch': '0525', 'branch_digit': '', 'account': '08970', 'account_digit': '2'}, {'bank_code': '341', 'branch': '3747', 'branch_digit': '', 'account': '02656', 'account_digit': '9'}, {'bank_code': '341', 'branch': '4088', 'branch_digit': '', 'account': '03382', 'account_digit': '6'}, {'bank_code': '341', 'branch': '0736', 'branch_digit': '', 'account': '45706', 'account_digit': '0'}, {'bank_code': '341', 'branch': '7157', 'branch_digit': '', 'account': '11004', 'account_digit': '5'}, {'bank_code': '341', 'branch': '8450', 'branch_digit': '', 'account': '13039', 'account_digit': '1'}, {'bank_code': '341', 'branch': '8463', 'branch_digit': '', 'account': '04333', 'account_digit': '4'}, {'bank_code': '341', 'branch': '4294', 'branch_digit': '', 'account': '10960', 'account_digit': '0'}, {'bank_code': '341', 'branch': '8447', 'branch_digit': '', 'account': '08572', 'account_digit': '4'}, {'bank_code': '341', 'branch': '8139', 'branch_digit': '', 'account': '11345', 'account_digit': '3'}, {'bank_code': '341', 'branch': '0459', 'branch_digit': '', 'account': '03822', 'account_digit': '0'}, {'bank_code': '341', 'branch': '0919', 'branch_digit': '', 'account': '07320', 'account_digit': '5'}, {'bank_code': '341', 'branch': '1623', 'branch_digit': '', 'account': '24594', 'account_digit': '9'}, {'bank_code': '341', 'branch': '7942', 'branch_digit': '', 'account': '12726', 'account_digit': '2'}, {'bank_code': '341', 'branch': '0251', 'branch_digit': '', 'account': '67048', 'account_digit': '5'}, {'bank_code': '341', 'branch': '0760', 'branch_digit': '', 'account': '16348', 'account_digit': '5'}, {'bank_code': '341', 'branch': '0756', 'branch_digit': '', 'account': '60266', 'account_digit': '0'}, {'bank_code': '341', 'branch': '3799', 'branch_digit': '', 'account': '01353', 'account_digit': '1'}, {'bank_code': '341', 'branch': '0654', 'branch_digit': '', 'account': '10024', 'account_digit': '7'}, {'bank_code': '341', 'branch': '0018', 'branch_digit': '', 'account': '72895', 'account_digit': '6'}, {'bank_code': '341', 'branch': '9283', 'branch_digit': '', 'account': '20288', 'account_digit': '6'}, {'bank_code': '341', 'branch': '1185', 'branch_digit': '', 'account': '60488', 'account_digit': '9'}, {'bank_code': '341', 'branch': '8279', 'branch_digit': '', 'account': '00834', 'account_digit': '9'}, {'bank_code': '341', 'branch': '0055', 'branch_digit': '', 'account': '34411', 'account_digit': '3'}, {'bank_code': '341', 'branch': '7943', 'branch_digit': '', 'account': '10155', 'account_digit': '5'}, {'bank_code': '341', 'branch': '8446', 'branch_digit': '', 'account': '06231', 'account_digit': '0'}, {'bank_code': '341', 'branch': '3613', 'branch_digit': '', 'account': '04687', 'account_digit': '3'}, {'bank_code': '341', 'branch': '3777', 'branch_digit': '', 'account': '06010', 'account_digit': '8'}, {'bank_code': '341', 'branch': '4011', 'branch_digit': '', 'account': '21222', 'account_digit': '4'}, {'bank_code': '341', 'branch': '7016', 'branch_digit': '', 'account': '07895', 'account_digit': '3'}, {'bank_code': '341', 'branch': '9667', 'branch_digit': '', 'account': '10898', 'account_digit': '0'}, {'bank_code': '341', 'branch': '6427', 'branch_digit': '', 'account': '18970', 'account_digit': '6'}, {'bank_code': '341', 'branch': '3075', 'branch_digit': '', 'account': '19116', 'account_digit': '7'}, {'bank_code': '341', 'branch': '4085', 'branch_digit': '', 'account': '3818', 'account_digit': '2'}, {'bank_code': '341', 'branch': '7157', 'branch_digit': '', 'account': '00345', 'account_digit': '5'}, {'bank_code': '341', 'branch': '8463', 'branch_digit': '', 'account': '09932', 'account_digit': '8'}, {'bank_code': '341', 'branch': '0572', 'branch_digit': '', 'account': '20513', 'account_digit': '6'}, {'bank_code': '341', 'branch': '0566', 'branch_digit': '', 'account': '30124', 'account_digit': '8'}, {'bank_code': '341', 'branch': '4374', 'branch_digit': '', 'account': '25304', 'account_digit': '7'}, {'bank_code': '341', 'branch': '4927', 'branch_digit': '', 'account': '30670', 'account_digit': '6'}, {'bank_code': '341', 'branch': '0061', 'branch_digit': '', 'account': '65341', 'account_digit': '6'}, {'bank_code': '341', 'branch': '6621', 'branch_digit': '', 'account': '06971', 'account_digit': '2'}, {'bank_code': '341', 'branch': '8878', 'branch_digit': '', 'account': '20048', 'account_digit': '7'}, {'bank_code': '341', 'branch': '3835', 'branch_digit': '', 'account': '38441', 'account_digit': '7'}, {'bank_code': '341', 'branch': '5520', 'branch_digit': '', 'account': '01668', 'account_digit': '3'}, {'bank_code': '341', 'branch': '6767', 'branch_digit': '', 'account': '06546', 'account_digit': '6'}, {'bank_code': '341', 'branch': '7062', 'branch_digit': '', 'account': '06579', 'account_digit': '7'}, {'bank_code': '341', 'branch': '9678', 'branch_digit': '', 'account': '00927', 'account_digit': '6'}, {'bank_code': '341', 'branch': '2978', 'branch_digit': '', 'account': '20731', 'account_digit': '0'}, {'bank_code': '341', 'branch': '1282', 'branch_digit': '', 'account': '54593', 'account_digit': '6'}, {'bank_code': '341', 'branch': '0012', 'branch_digit': '', 'account': '33700', 'account_digit': '2'}, {'bank_code': '341', 'branch': '6225', 'branch_digit': '', 'account': '03090', 'account_digit': '4'}, {'bank_code': '341', 'branch': '0556', 'branch_digit': '', 'account': '29212', 'account_digit': '6'}, {'bank_code': '341', 'branch': '8463', 'branch_digit': '', 'account': '14177', 'account_digit': '3'}, {'bank_code': '341', 'branch': '8450', 'branch_digit': '', 'account': '04753', 'account_digit': '8'}, {'bank_code': '341', 'branch': '6432', 'branch_digit': '', 'account': '12741', 'account_digit': '0'}, {'bank_code': '341', 'branch': '8913', 'branch_digit': '', 'account': '01700', 'account_digit': '3'}, {'bank_code': '341', 'branch': '4695', 'branch_digit': '', 'account': '04107', 'account_digit': '1'}, {'bank_code': '341', 'branch': '0874', 'branch_digit': '', 'account': '56578', 'account_digit': '1'}, {'bank_code': '341', 'branch': '8705', 'branch_digit': '', 'account': '06153', 'account_digit': '2'}, {'bank_code': '341', 'branch': '8725', 'branch_digit': '', 'account': '04874', 'account_digit': '1'}, {'bank_code': '341', 'branch': '3813', 'branch_digit': '', 'account': '16648', 'account_digit': '9'}, {'bank_code': '341', 'branch': '1269', 'branch_digit': '', 'account': '06760', 'account_digit': '7'}, {'bank_code': '341', 'branch': '0548', 'branch_digit': '', 'account': '35927', 'account_digit': '2'}, {'bank_code': '341', 'branch': '8809', 'branch_digit': '', 'account': '9885', 'account_digit': '1'}, {'bank_code': '341', 'branch': '1370', 'branch_digit': '', 'account': '06949', 'account_digit': '2'}, {'bank_code': '341', 'branch': '0129', 'branch_digit': '', 'account': '34430', 'account_digit': '5'}, {'bank_code': '341', 'branch': '2959', 'branch_digit': '', 'account': '13026', 'account_digit': '7'}, {'bank_code': '341', 'branch': '2960', 'branch_digit': '', 'account': '24455', 'account_digit': '2'}, {'bank_code': '341', 'branch': '1000', 'branch_digit': '', 'account': '18008', 'account_digit': '1'}, {'bank_code': '341', 'branch': '8781', 'branch_digit': '', 'account': '09876', 'account_digit': '2'}, {'bank_code': '341', 'branch': '3038', 'branch_digit': '', 'account': '30462', 'account_digit': '6'}, {'bank_code': '341', 'branch': '3130', 'branch_digit': '', 'account': '25578', 'account_digit': '3'}, {'bank_code': '341', 'branch': '1449', 'branch_digit': '', 'account': '26762', 'account_digit': '2'}, {'bank_code': '341', 'branch': '1335', 'branch_digit': '', 'account': '63145', 'account_digit': '1'}, {'bank_code': '341', 'branch': '3763', 'branch_digit': '', 'account': '43294', 'account_digit': '9'}, {'bank_code': '341', 'branch': '8462', 'branch_digit': '', 'account': '03293', 'account_digit': '2'}, {'bank_code': '341', 'branch': '1572', 'branch_digit': '', 'account': '18622', 'account_digit': '7'}, {'bank_code': '341', 'branch': '8600', 'branch_digit': '', 'account': '18728', 'account_digit': '3'}, {'bank_code': '341', 'branch': '3488', 'branch_digit': '', 'account': '09205', 'account_digit': '1'}, {'bank_code': '341', 'branch': '1025', 'branch_digit': '', 'account': '12775', 'account_digit': '2'}, {'bank_code': '341', 'branch': '0140', 'branch_digit': '', 'account': '27040', 'account_digit': '6'}, {'bank_code': '341', 'branch': '6684', 'branch_digit': '', 'account': '21031', 'account_digit': '0'}, {'bank_code': '341', 'branch': '0758', 'branch_digit': '', 'account': '46005', 'account_digit': '9'}, {'bank_code': '341', 'branch': '8379', 'branch_digit': '', 'account': '10307', 'account_digit': '3'}, {'bank_code': '341', 'branch': '5184', 'branch_digit': '', 'account': '00782', 'account_digit': '0'}, {'bank_code': '341', 'branch': '9718', 'branch_digit': '', 'account': '00834', 'account_digit': '6'}, {'bank_code': '341', 'branch': '1170', 'branch_digit': '', 'account': '07220', 'account_digit': '9'}, {'bank_code': '341', 'branch': '4011', 'branch_digit': '', 'account': '10150', 'account_digit': '0'}, {'bank_code': '341', 'branch': '0262', 'branch_digit': '', 'account': '02455', 'account_digit': '7'}, {'bank_code': '341', 'branch': '7757', 'branch_digit': '', 'account': '17788', 'account_digit': '1'}, {'bank_code': '341', 'branch': '8577', 'branch_digit': '', 'account': '08666', 'account_digit': '6'}, {'bank_code': '341', 'branch': '0098', 'branch_digit': '', 'account': '40365', 'account_digit': '2'}, {'bank_code': '341', 'branch': '0452', 'branch_digit': '', 'account': '01396', 'account_digit': '4'}, {'bank_code': '341', 'branch': '4091', 'branch_digit': '', 'account': '02245', 'account_digit': '1'}, {'bank_code': '341', 'branch': '0061', 'branch_digit': '', 'account': '05396', 'account_digit': '3'}, {'bank_code': '341', 'branch': '3789', 'branch_digit': '', 'account': '10367', 'account_digit': '2'}, {'bank_code': '341', 'branch': '4091', 'branch_digit': '', 'account': '02943', 'account_digit': '1'}, {'bank_code': '341', 'branch': '4525', 'branch_digit': '', 'account': '01062', 'account_digit': '7'}], 'invalid_combinations': [{'bank_code': '341', 'branch': '4122', 'branch_digit': '', 'account': '08781', 'account_digit': '5'}, {'bank_code': '341', 'branch': '6629', 'branch_digit': '', 'account': '00487', 'account_digit': '1'}, {'bank_code': '341', 'branch': '8613', 'branch_digit': '', 'account': '30393', 'account_digit': '4'}, {'bank_code': '341', 'branch': '1688', 'branch_digit': '', 'account': '42768', 'account_digit': '6'}, {'bank_code': '341', 'branch': '9097', 'branch_digit': '', 'account': '30404', 'account_digit': '7'}, {'bank_code': '341', 'branch': '0164', 'branch_digit': '', 'account': '83940', 'account_digit': '3'}, {'bank_code': '341', 'branch': '3069', 'branch_digit': '', 'account': '17061', 'account_digit': '2'}, {'bank_code': '341', 'branch': '9649', 'branch_digit': '', 'account': '00947', 'account_digit': '6'}, {'bank_code': '341', 'branch': '1165', 'branch_digit': '', 'account': '44378', 'account_digit': '8'}, {'bank_code': '341', 'branch': '3038', 'branch_digit': '', 'account': '30462', 'account_digit': '3'}, {'bank_code': '341', 'branch': '3130', 'branch_digit': '', 'account': '25578', 'account_digit': '1'}, {'bank_code': '341', 'branch': '1449', 'branch_digit': '', 'account': '26762', 'account_digit': '7'}]} |
# This is to find the sum of digits of a number until it is a single digit
def sum_of_digits(n):
n = int(input()) # here n is the number
if n % 9 != 0:
print(n % 9)
else:
print("9")
# This method reduces time complexity by a factor of n and also without using any loop
| def sum_of_digits(n):
n = int(input())
if n % 9 != 0:
print(n % 9)
else:
print('9') |
s = input()
searched = ""
no_match = False
for i in range(len(s)):
if s[i] in searched:
continue
else:
counter = 0
no_match = True
for j in range(i+1, len(s)):
if s[j] == s[i]:
no_match = False
break
if no_match:
print(s[i])
break
searched = searched + s[i] | s = input()
searched = ''
no_match = False
for i in range(len(s)):
if s[i] in searched:
continue
else:
counter = 0
no_match = True
for j in range(i + 1, len(s)):
if s[j] == s[i]:
no_match = False
break
if no_match:
print(s[i])
break
searched = searched + s[i] |
try:
arr= []
print(" Enter the integer inputs and type 'stop' when you are done\n" )
while True:
arr.append(int(input()))
except:# if the input is not-integer, just continue to the next step
l = len(arr)
print("Enter the values of a,b and c \n")
a=int(input())
b=int(input())
c=int(input())
t=0
count=0
answers=[]
trip=[]
for i in range(0, l - 2):
for j in range(i+1, l - 1):
for k in range(j+1, l):
trip.append(arr[i])
trip.append(arr[j])
trip.append(arr[k])
aa = abs(trip[0] - trip[1])
bb = abs(trip[1] - trip[2])
cc = abs(trip[0] - trip[2])
if (aa <= a and bb <= b and cc <= c):
count += 1
answers.append(trip)
trip = []
print("There are ",count,"good triplets\n")
print(answers)
| try:
arr = []
print(" Enter the integer inputs and type 'stop' when you are done\n")
while True:
arr.append(int(input()))
except:
l = len(arr)
print('Enter the values of a,b and c \n')
a = int(input())
b = int(input())
c = int(input())
t = 0
count = 0
answers = []
trip = []
for i in range(0, l - 2):
for j in range(i + 1, l - 1):
for k in range(j + 1, l):
trip.append(arr[i])
trip.append(arr[j])
trip.append(arr[k])
aa = abs(trip[0] - trip[1])
bb = abs(trip[1] - trip[2])
cc = abs(trip[0] - trip[2])
if aa <= a and bb <= b and (cc <= c):
count += 1
answers.append(trip)
trip = []
print('There are ', count, 'good triplets\n')
print(answers) |
#!/bin/false -- # do not execute!
#
# foxLanguagesBase.py - base class for foxLanguages classes.
#
class foxLanguagesBase(object):
#
# define the names that all foxLanguages* classes must define:
#
# comment -> either a single string for comment-line-start,
# or a tuple of ( comment-block-start, comment-block-end )
#
# convert(var, value) -> a python function to convert `value' to a
# source string appropriate for the language.
#
# extension -> the source file extension for the language
#
# language -> the language name
#
# lexerOutput -> the template for the lexer output file. see
# parserOutput for description.
#
# parserOutput -> the template for the parser output file. any string
# of the form %XYZ% will be replaced by the variable XYZ,
# converted for the language. any string of the form %!XYZ% will
# be replaced by the variable XYZ exactly. %% will be replaced
# by a single %.
#
comment = None
extension = None
language = None
lexerOutput = None
parserOutput = None
# the default convert function just returns the value
@classmethod
def convert(var, value):
return value
@classmethod
def processTemplate(self, template, vars):
stream = StringIO.StringIO()
self.writeFile(stream, template, vars)
tmpl = stream.getvalue()
stream.close()
return tmpl
#
# the writeFile method accepts an output stream, a template and a set
# of variables and processes the template against those variables,
# outputting the result on its output stream.
#
# template tags are indicated by % signs:
# %% = a % sign in the output
#
# %<var>% = the content of variable <var>, after being converted
#
# %!<var>% = the content of variable <var>, *not* converted.
#
# %?<var>% = the beginning of a conditional block. After this
# tag, text will only be included if <var> evaluates
# to true (non-empty string, a number != 0, etc.)
#
# %?!<var>% = the beginning of a conditional block. After this
# tag, text will only be included if <var> evaluates
# to false (empty string, the number 0, None, etc.)
#
# %?% = This ends the most recent conditional block.
#
# %?!% = This negates the most recent conditional block
# (think "else" in an if-then-else statement).
#
# As is implied above, conditional blocks can be nested. Text
# and variable expansions will be added to the output only if
# all the conditional blocks that surround them evaluate to true.
#
#
@classmethod
def writeFile(self, stream, template, vars):
tlist = template.split(u'%')
# keep track of nested conditional states.
# start in True state.
conditional = []
for i in range(0,len(tlist)):
cond = reduce(lambda a,b:a and b, conditional, True)
if (i%2 == 0):
# text block
if cond: stream.write( tlist[i] )
elif (len(tlist[i]) == 0):
# %% block
if cond: stream.write( u'%' )
elif (tlist[i][0] == u'!'):
# raw (%!...%) block
var = tlist[i][1:]
if cond: stream.write( str(vars[var]) )
elif (tlist[i][0] == u'?'):
# conditional block:
# either %?...% or %?!...% to start a conditional,
# %?!? to reverse the conditional, or %?% to end the conditional
if tlist[i] == u'?':
# %?%: end the conditional
conditional.pop(0)
elif tlist[i] == u'?!':
# %?!%: reverse the conditional
conditional[0] = not conditional[0]
else:
# %?...% or %?!...%: start the conditional
var = tlist[i][1:]
if var[0] == '!':
cond = not bool(vars[var[1:]])
else:
cond = bool(vars[var])
conditional.insert(0, cond)
else:
# %...% block
var = tlist[i]
if cond: stream.write( self.convert(var, vars[var]) )
| class Foxlanguagesbase(object):
comment = None
extension = None
language = None
lexer_output = None
parser_output = None
@classmethod
def convert(var, value):
return value
@classmethod
def process_template(self, template, vars):
stream = StringIO.StringIO()
self.writeFile(stream, template, vars)
tmpl = stream.getvalue()
stream.close()
return tmpl
@classmethod
def write_file(self, stream, template, vars):
tlist = template.split(u'%')
conditional = []
for i in range(0, len(tlist)):
cond = reduce(lambda a, b: a and b, conditional, True)
if i % 2 == 0:
if cond:
stream.write(tlist[i])
elif len(tlist[i]) == 0:
if cond:
stream.write(u'%')
elif tlist[i][0] == u'!':
var = tlist[i][1:]
if cond:
stream.write(str(vars[var]))
elif tlist[i][0] == u'?':
if tlist[i] == u'?':
conditional.pop(0)
elif tlist[i] == u'?!':
conditional[0] = not conditional[0]
else:
var = tlist[i][1:]
if var[0] == '!':
cond = not bool(vars[var[1:]])
else:
cond = bool(vars[var])
conditional.insert(0, cond)
else:
var = tlist[i]
if cond:
stream.write(self.convert(var, vars[var])) |
def list_sum(L):
s = 0
for l in L:
s += l
return s
def list_product(L):
s = 1
for l in L:
s *= l
return s
V = [1, 2, 3, 4, 5, 6]
print(list_sum(V))
print(list_product(V))
| def list_sum(L):
s = 0
for l in L:
s += l
return s
def list_product(L):
s = 1
for l in L:
s *= l
return s
v = [1, 2, 3, 4, 5, 6]
print(list_sum(V))
print(list_product(V)) |
class Solution:
def shiftGrid(self, grid: List[List[int]], k: int) -> List[List[int]]:
nums = sum(grid, [])
k %= len(nums)
nums = nums[-k:] + nums[:-k]
col = len(grid[0])
return [nums[i:i + col] for i in range(0, len(nums), col)]
| class Solution:
def shift_grid(self, grid: List[List[int]], k: int) -> List[List[int]]:
nums = sum(grid, [])
k %= len(nums)
nums = nums[-k:] + nums[:-k]
col = len(grid[0])
return [nums[i:i + col] for i in range(0, len(nums), col)] |
firstAioConfigDefault = {
'db': {
'host': 'localhost',
'port': 3306,
'user': 'root',
'password': 'root',
'db': 'fastormtest',
'is_use': True
},
'http': {
'host': '0.0.0.0',
'port': 8080,
'templates': 'C:\\Users\\admin\\Desktop\\github\\fast\\trunk\\fast_http_test\\templates',
'static': 'C:\\Users\\admin\\Desktop\\github\\fast\\trunk\\fast_http_test\\static',
'handler': 'C:\\Users\\admin\\Desktop\\github\\fast\\trunk\\fast_http_test\\handler',
'handler_pack': 'handler.'
},
'log': {
'path': None,
'name': 'py.log'
}
}
| first_aio_config_default = {'db': {'host': 'localhost', 'port': 3306, 'user': 'root', 'password': 'root', 'db': 'fastormtest', 'is_use': True}, 'http': {'host': '0.0.0.0', 'port': 8080, 'templates': 'C:\\Users\\admin\\Desktop\\github\\fast\\trunk\\fast_http_test\\templates', 'static': 'C:\\Users\\admin\\Desktop\\github\\fast\\trunk\\fast_http_test\\static', 'handler': 'C:\\Users\\admin\\Desktop\\github\\fast\\trunk\\fast_http_test\\handler', 'handler_pack': 'handler.'}, 'log': {'path': None, 'name': 'py.log'}} |
n, m, k = [int(x) for x in input().split()]
applicants = [int(x) for x in input().split()]
apartments = [int(x) for x in input().split()]
applicants.sort()
apartments.sort()
total = 0
i = 0
j = 0
while i < n and j < m:
# print(i,j)
if applicants[i]-k <= apartments[j] <= applicants[i]+k:
total += 1
i += 1
j += 1
elif applicants[i] > apartments[j]:
j += 1
else:
i += 1
print(total)
# 4 3 5
# 45 60 60 80
# 30 60 75
| (n, m, k) = [int(x) for x in input().split()]
applicants = [int(x) for x in input().split()]
apartments = [int(x) for x in input().split()]
applicants.sort()
apartments.sort()
total = 0
i = 0
j = 0
while i < n and j < m:
if applicants[i] - k <= apartments[j] <= applicants[i] + k:
total += 1
i += 1
j += 1
elif applicants[i] > apartments[j]:
j += 1
else:
i += 1
print(total) |
# Basic colors defined here
White = (255, 255, 255)
Black = (0, 0, 0)
Red = (255, 0, 0)
Green = (0, 255, 0)
snakeGreen = (0, 127, 0)
Blue = (0, 0, 255)
Yellow = (255, 255, 0)
Magenta = (255, 0, 255)
Cyan = (0, 255, 255)
| white = (255, 255, 255)
black = (0, 0, 0)
red = (255, 0, 0)
green = (0, 255, 0)
snake_green = (0, 127, 0)
blue = (0, 0, 255)
yellow = (255, 255, 0)
magenta = (255, 0, 255)
cyan = (0, 255, 255) |
class BaitSegment(object):
def __init__(self, chromosome, start, stop, strand, isoform_exons, bait_length):
self.label = None
self.chromosome = chromosome
self.start = start # 1-based
self.stop = stop # 1-based
self.strand = strand # Strand of the isoforms for this segment
self.comparitor_tuple = (self.chromosome, self.start, self.stop)
self.bait_length = bait_length
# List of (isoform_ID, exon_num for targeted exon in isoform_ID, number of exons for isoform_ID)
self.isoform_exon_num = {}
self.isoform_num_exons = {}
self.isoform_is_a_target = {}
self.target_locus = None
# Record whether this segment targets the last exon in multi-exon isoforms
all_is_last_exon = []
n, d = 0, 0
sum_exon_num = 0
target_loci = []
for isoform_ID, exon_num, num_isoform_exons, is_a_target in isoform_exons:
self.isoform_exon_num[isoform_ID] = exon_num
self.isoform_num_exons[isoform_ID] = num_isoform_exons
self.isoform_is_a_target[isoform_ID] = is_a_target
if (is_a_target):
CG_locus = isoform_ID.split('.')[0]
target_loci.append(CG_locus)
d += 1
all_is_last_exon.append(exon_num == num_isoform_exons and exon_num > 1)
if (exon_num == num_isoform_exons and exon_num > 1):
n += 1
sum_exon_num += exon_num
self.target_locus = frozenset(target_loci)
self.frac_last_exon = float(n)/float(d)
self.avg_exon_num = round(sum_exon_num/float(d), 2)
self.is_last_exon = all(all_is_last_exon)
self.ranked_candidate_baits = None
self.num_pass = None
self.num_fail_Tm = None
self.num_fail_hairpin = None
self.num_fail_homodimer = None
def __len__(self):
return self.stop - self.start + 1
def __str__(self):
return "%s:%d-%d %s" % (self.chromosome, self.start, self.stop, self.strand)
def __hash__(self):
return id(self)
def __eq__(self, other_segment):
return self.comparitor_tuple == other_segment.getComparitorTuple()
def __ne__(self, other_segment):
return self.comparitor_tuple != other_segment.getComparitorTuple()
def __lt__(self, other_segment):
return self.comparitor_tuple < other_segment.getComparitorTuple()
def __le__(self, other_segment):
return self.comparitor_tuple <= other_segment.getComparitorTuple()
def __gt__(self, other_segment):
return self.comparitor_tuple > other_segment.getComparitorTuple()
def __ge__(self, other_segment):
return self.comparitor_tuple >= other_segment.getComparitorTuple()
def getComparitorTuple(self):
return self.comparitor_tuple
def setLabel(self, label):
assert (self.label is None), "Segment label already set"
self.label = label
def getLabel(self):
assert (self.label is not None), "Segment label not set"
return self.label
def getAsBED(self):
assert (self.label is not None), "Segment label not set"
return (self.chromosome, self.start-1, self.stop, self.label, len(self.isoform_is_a_target), self.strand)
def getTargetIsoformIDs(self):
return set(filter(lambda i: self.isoform_is_a_target[i], self.isoform_is_a_target.keys()))
def getTargetIsoformIDsAndExons(self):
ret_list = []
for isoform_ID in filter(lambda i: self.isoform_is_a_target[i], self.isoform_is_a_target.keys()):
ret_list.append( (isoform_ID, self.isoform_exon_num[isoform_ID]) )
return ret_list
def targetsSimpleIsoform(self, min_num_exons):
does_target_simple = False
for isoform_ID in filter(lambda i: self.isoform_is_a_target[i], self.isoform_is_a_target.keys()):
if (self.isoform_num_exons[isoform_ID] <= min_num_exons):
does_target_simple = True
break
return does_target_simple
def targetsOnlySimpleIsoforms(self, max_num_exons):
does_target_simple = True
for isoform_ID in filter(lambda i: self.isoform_is_a_target[i], self.isoform_is_a_target.keys()):
if (self.isoform_num_exons[isoform_ID] > max_num_exons):
does_target_simple = False
break
return does_target_simple
def targetsUntargetedExon(self, exons_w_segments_per_isoform):
does_target_untargeted = False
for isoform_ID in filter(lambda i: self.isoform_is_a_target[i], self.isoform_is_a_target.keys()):
if (self.isoform_exon_num[isoform_ID] not in exons_w_segments_per_isoform[isoform_ID]):
does_target_untargeted = True
break
return does_target_untargeted
def targetsLastExonOf(self, isoform_ID):
return self.isoform_exon_num[isoform_ID] == self.isoform_num_exons[isoform_ID]
def targetsExonToAvoid(self, exons_want_to_avoid):
return len(self.isoform_exon_num.items() & exons_want_to_avoid) > 0
def getChromosome(self):
return self.chromosome
def getStrand(self):
return self.strand
def getStartStop(self):
return (self.start, self.stop)
def getChromStartStop(self):
return (self.chromosome, self.start, self.stop)
def getChromStartStopStrand(self):
return (self.chromosome, self.start, self.stop, self.strand)
def resetStartStop(self, new_start, new_stop):
self.start = new_start
self.stop = new_stop
self.comparitor_tuple = (self.chromosome, self.start, self.stop)
def getTargetLocus(self):
return self.target_locus
def fromSameLocus(self, locus_set):
return not self.target_locus.isdisjoint(locus_set)
def overlapsWith(self, other_segment):
other_chrom, other_start, other_stop, other_strand = other_segment.getChromStartStopStrand()
return (self.chromosome==other_chrom and self.strand==other_strand and not(other_stop < self.start or other_start > self.stop))
def fracCoverageBy(self, other_segment):
'''Assumes that this segment and other_segment have been predetermined to overlap'''
other_chrom, other_start, other_stop, other_strand = other_segment.getChromStartStopStrand()
assert (self.chrom == other_chrom and self.strand == other_strand)
if (self.start <= other_start <= self.stop):
frac_coverage = float(self.stop - other_start) / float(self.stop - self.start)
elif (self.start <= other_stop <= self.stop):
frac_coverage = float(other_stop - self.start) / float(self.stop - self.start)
else:
print("ERROR: segments %s and %s do not overlap" % (str(self), str(other_segment)), file=sys.stderr)
sys.exit(1)
return frac_coverage
def noncoverageBy(self, other_segment):
'''Assumes that this segment and other_segment have been predetermined to overlap'''
other_chrom, other_start, other_stop, other_strand = other_segment.getChromStartStopStrand()
assert (self.chromosome == other_chrom and self.strand == other_strand)
if (self.start <= other_start <= self.stop):
nonoverlap_len = other_start - self.start
elif (self.start <= other_stop <= self.stop):
nonoverlap_len = self.stop - other_stop
else:
print("ERROR: segments %s and %s do not overlap" % (str(self), str(other_segment)), file=sys.stderr)
sys.exit(1)
return nonoverlap_len
def getMidpoint(self):
return int((self.stop - self.start)/2)
def getExonNumberForEachIsoform(self, consider_only_targets):
ret_list = []
if (consider_only_targets):
for isoform_ID, exon_num in filter(lambda x: x[0] in self.isoform_is_a_target, self.isoform_exon_num.items()):
is_last_exon = exon_num == self.isoform_num_exons[isoform_ID]
ret_list.append( (isoform_ID, exon_num, is_last_exon) )
else:
for isoform_ID, exon_num in self.isoform_exon_num.items():
is_last_exon = exon_num == self.isoform_num_exons[isoform_ID]
ret_list.append( (isoform_ID, exon_num, is_last_exon) )
return ret_list
def getBaitLength(self):
return self.bait_length
def getBaitAtIndex(self, index):
return self.ranked_candidate_baits[index]
def isLastExonSegment(self):
return self.is_last_exon
def getFracLastExonTargets(self):
return self.frac_last_exon
def getAvgExonNum(self):
return self.avg_exon_num
def getCandidateBaits(self):
assert (self.ranked_candidate_baits is not None), "Must first evaluate and set the candidate baits"
return self.ranked_candidate_baits
def hasCandidateBaits(self):
assert (self.ranked_candidate_baits is not None), "Must first evaluate and set the candidate baits"
return len(self.ranked_candidate_baits) > 0
def getNumCandidateBaits(self):
assert (self.ranked_candidate_baits is not None), "Must first evaluate and set the candidate baits"
return len(self.ranked_candidate_baits)
def getAllPossibleBaits(self, genome_ref):
baits = {}
segment_seq = genome_ref[self.chromosome][self.start-1:self.stop]
for offset in range(self.stop - self.start - self.bait_length + 2):
bait_seq = segment_seq[offset:offset+self.bait_length]
assert (len(bait_seq) == self.bait_length)
if (self.strand == '+'): # Bait strand is on '-' if segment's isoform is on '+'
bait_seq = bait_seq[::-1].translate(DNA_complement_table)
bait_strand_name = "minus"
else:
bait_strand_name = "plus"
label = "%s-%d-%d-%s" % (self.chromosome, self.start+offset, self.start+offset+self.bait_length-1, bait_strand_name) # positions in label are 1-based
baits[label] = bait_seq
return baits
def getTopRankedBait(self):
self.ranked_candidate_baits.sort()
return self.ranked_candidate_baits[0]
def getAdditionalBait(self, not_olap_baits):
secondary_bait = None
for bait in self.ranked_candidate_baits:
if (not any(map(lambda b: b.overlapsWith(bait), not_olap_baits))):
secondary_bait = bait
break
return secondary_bait
def getLowestBaitTm(self):
return min(map(methodcaller("getTm"), self.ranked_candidate_baits))
def getOptBaitPosition(self):
covers_a_first_exon, covers_a_last_exon = (False, False)
for isoform_ID, is_a_target in self.isoform_is_a_target.items():
if (is_a_target):
if (self.isoform_exon_num[isoform_ID] == 1):
covers_a_first_exon = True
if (self.isoform_exon_num[isoform_ID] == self.isoform_num_exons[isoform_ID]):
covers_a_last_exon = True
if (covers_a_first_exon == covers_a_last_exon):
opt_position = self.start + int((self.stop-self.start)/2)
elif (covers_a_first_exon):
opt_position = self.stop if (self.strand == '+') else self.start # Want baits furthest from RNA 5'
else: # covers_a_last_exon == True
opt_position = self.start if (self.strand == '+') else self.stop # Want baits furthest from RNA 3'
return opt_position
def setCandidateBaits(self, bait_data, num_pass, num_fail_Tm, num_fail_hairpin, num_fail_homodimer):
self.num_pass = num_pass
self.num_fail_Tm = num_fail_Tm
self.num_fail_hairpin = num_fail_hairpin
self.num_fail_homodimer = num_fail_homodimer
opt_bait_pos = self.getOptBaitPosition()
self.ranked_candidate_baits = []
for chromosome, start, stop, bait_strand, bait_seq, Tm, frac_hairpin, frac_homodimer in bait_data:
opt_position_deviation = abs(opt_bait_pos - int(start + (stop-start)/2))
new_bait = Bait(self, chromosome, start, stop, bait_strand, bait_seq, Tm, frac_hairpin, frac_homodimer, opt_position_deviation)
self.ranked_candidate_baits.append(new_bait)
def rankCandidateBaits(self, Ta):
for bait in self.ranked_candidate_baits:
bait.setComparitorTuple(Ta)
self.ranked_candidate_baits.sort()
def trimCandidateBaits(self, Ta, max_num=10):
had_lc = False
# Trim off baits that are very similar
if (len(self.ranked_candidate_baits) > 1):
self.rankCandidateBaits(Ta)
to_keep = [self.ranked_candidate_baits[0]]
to_keep_starts = [self.ranked_candidate_baits[0].getStart()]
for bait in self.ranked_candidate_baits[1:]:
this_bait_start = bait.getStart()
if all(map(lambda another_start: abs(this_bait_start-another_start) >= 10, to_keep_starts)):
to_keep.append(bait)
to_keep_starts.append(this_bait_start)
if (len(to_keep) == max_num):
break
self.ranked_candidate_baits = to_keep
def getOrderLabeledBaitSequences(self):
bait_seqs = []
for counter, bait in enumerate(self.ranked_candidate_baits):
bait_seqs.append( ("%s_%d" % (self.label,counter), bait.getSequence()) )
return bait_seqs
| class Baitsegment(object):
def __init__(self, chromosome, start, stop, strand, isoform_exons, bait_length):
self.label = None
self.chromosome = chromosome
self.start = start
self.stop = stop
self.strand = strand
self.comparitor_tuple = (self.chromosome, self.start, self.stop)
self.bait_length = bait_length
self.isoform_exon_num = {}
self.isoform_num_exons = {}
self.isoform_is_a_target = {}
self.target_locus = None
all_is_last_exon = []
(n, d) = (0, 0)
sum_exon_num = 0
target_loci = []
for (isoform_id, exon_num, num_isoform_exons, is_a_target) in isoform_exons:
self.isoform_exon_num[isoform_ID] = exon_num
self.isoform_num_exons[isoform_ID] = num_isoform_exons
self.isoform_is_a_target[isoform_ID] = is_a_target
if is_a_target:
cg_locus = isoform_ID.split('.')[0]
target_loci.append(CG_locus)
d += 1
all_is_last_exon.append(exon_num == num_isoform_exons and exon_num > 1)
if exon_num == num_isoform_exons and exon_num > 1:
n += 1
sum_exon_num += exon_num
self.target_locus = frozenset(target_loci)
self.frac_last_exon = float(n) / float(d)
self.avg_exon_num = round(sum_exon_num / float(d), 2)
self.is_last_exon = all(all_is_last_exon)
self.ranked_candidate_baits = None
self.num_pass = None
self.num_fail_Tm = None
self.num_fail_hairpin = None
self.num_fail_homodimer = None
def __len__(self):
return self.stop - self.start + 1
def __str__(self):
return '%s:%d-%d %s' % (self.chromosome, self.start, self.stop, self.strand)
def __hash__(self):
return id(self)
def __eq__(self, other_segment):
return self.comparitor_tuple == other_segment.getComparitorTuple()
def __ne__(self, other_segment):
return self.comparitor_tuple != other_segment.getComparitorTuple()
def __lt__(self, other_segment):
return self.comparitor_tuple < other_segment.getComparitorTuple()
def __le__(self, other_segment):
return self.comparitor_tuple <= other_segment.getComparitorTuple()
def __gt__(self, other_segment):
return self.comparitor_tuple > other_segment.getComparitorTuple()
def __ge__(self, other_segment):
return self.comparitor_tuple >= other_segment.getComparitorTuple()
def get_comparitor_tuple(self):
return self.comparitor_tuple
def set_label(self, label):
assert self.label is None, 'Segment label already set'
self.label = label
def get_label(self):
assert self.label is not None, 'Segment label not set'
return self.label
def get_as_bed(self):
assert self.label is not None, 'Segment label not set'
return (self.chromosome, self.start - 1, self.stop, self.label, len(self.isoform_is_a_target), self.strand)
def get_target_isoform_i_ds(self):
return set(filter(lambda i: self.isoform_is_a_target[i], self.isoform_is_a_target.keys()))
def get_target_isoform_i_ds_and_exons(self):
ret_list = []
for isoform_id in filter(lambda i: self.isoform_is_a_target[i], self.isoform_is_a_target.keys()):
ret_list.append((isoform_ID, self.isoform_exon_num[isoform_ID]))
return ret_list
def targets_simple_isoform(self, min_num_exons):
does_target_simple = False
for isoform_id in filter(lambda i: self.isoform_is_a_target[i], self.isoform_is_a_target.keys()):
if self.isoform_num_exons[isoform_ID] <= min_num_exons:
does_target_simple = True
break
return does_target_simple
def targets_only_simple_isoforms(self, max_num_exons):
does_target_simple = True
for isoform_id in filter(lambda i: self.isoform_is_a_target[i], self.isoform_is_a_target.keys()):
if self.isoform_num_exons[isoform_ID] > max_num_exons:
does_target_simple = False
break
return does_target_simple
def targets_untargeted_exon(self, exons_w_segments_per_isoform):
does_target_untargeted = False
for isoform_id in filter(lambda i: self.isoform_is_a_target[i], self.isoform_is_a_target.keys()):
if self.isoform_exon_num[isoform_ID] not in exons_w_segments_per_isoform[isoform_ID]:
does_target_untargeted = True
break
return does_target_untargeted
def targets_last_exon_of(self, isoform_ID):
return self.isoform_exon_num[isoform_ID] == self.isoform_num_exons[isoform_ID]
def targets_exon_to_avoid(self, exons_want_to_avoid):
return len(self.isoform_exon_num.items() & exons_want_to_avoid) > 0
def get_chromosome(self):
return self.chromosome
def get_strand(self):
return self.strand
def get_start_stop(self):
return (self.start, self.stop)
def get_chrom_start_stop(self):
return (self.chromosome, self.start, self.stop)
def get_chrom_start_stop_strand(self):
return (self.chromosome, self.start, self.stop, self.strand)
def reset_start_stop(self, new_start, new_stop):
self.start = new_start
self.stop = new_stop
self.comparitor_tuple = (self.chromosome, self.start, self.stop)
def get_target_locus(self):
return self.target_locus
def from_same_locus(self, locus_set):
return not self.target_locus.isdisjoint(locus_set)
def overlaps_with(self, other_segment):
(other_chrom, other_start, other_stop, other_strand) = other_segment.getChromStartStopStrand()
return self.chromosome == other_chrom and self.strand == other_strand and (not (other_stop < self.start or other_start > self.stop))
def frac_coverage_by(self, other_segment):
"""Assumes that this segment and other_segment have been predetermined to overlap"""
(other_chrom, other_start, other_stop, other_strand) = other_segment.getChromStartStopStrand()
assert self.chrom == other_chrom and self.strand == other_strand
if self.start <= other_start <= self.stop:
frac_coverage = float(self.stop - other_start) / float(self.stop - self.start)
elif self.start <= other_stop <= self.stop:
frac_coverage = float(other_stop - self.start) / float(self.stop - self.start)
else:
print('ERROR: segments %s and %s do not overlap' % (str(self), str(other_segment)), file=sys.stderr)
sys.exit(1)
return frac_coverage
def noncoverage_by(self, other_segment):
"""Assumes that this segment and other_segment have been predetermined to overlap"""
(other_chrom, other_start, other_stop, other_strand) = other_segment.getChromStartStopStrand()
assert self.chromosome == other_chrom and self.strand == other_strand
if self.start <= other_start <= self.stop:
nonoverlap_len = other_start - self.start
elif self.start <= other_stop <= self.stop:
nonoverlap_len = self.stop - other_stop
else:
print('ERROR: segments %s and %s do not overlap' % (str(self), str(other_segment)), file=sys.stderr)
sys.exit(1)
return nonoverlap_len
def get_midpoint(self):
return int((self.stop - self.start) / 2)
def get_exon_number_for_each_isoform(self, consider_only_targets):
ret_list = []
if consider_only_targets:
for (isoform_id, exon_num) in filter(lambda x: x[0] in self.isoform_is_a_target, self.isoform_exon_num.items()):
is_last_exon = exon_num == self.isoform_num_exons[isoform_ID]
ret_list.append((isoform_ID, exon_num, is_last_exon))
else:
for (isoform_id, exon_num) in self.isoform_exon_num.items():
is_last_exon = exon_num == self.isoform_num_exons[isoform_ID]
ret_list.append((isoform_ID, exon_num, is_last_exon))
return ret_list
def get_bait_length(self):
return self.bait_length
def get_bait_at_index(self, index):
return self.ranked_candidate_baits[index]
def is_last_exon_segment(self):
return self.is_last_exon
def get_frac_last_exon_targets(self):
return self.frac_last_exon
def get_avg_exon_num(self):
return self.avg_exon_num
def get_candidate_baits(self):
assert self.ranked_candidate_baits is not None, 'Must first evaluate and set the candidate baits'
return self.ranked_candidate_baits
def has_candidate_baits(self):
assert self.ranked_candidate_baits is not None, 'Must first evaluate and set the candidate baits'
return len(self.ranked_candidate_baits) > 0
def get_num_candidate_baits(self):
assert self.ranked_candidate_baits is not None, 'Must first evaluate and set the candidate baits'
return len(self.ranked_candidate_baits)
def get_all_possible_baits(self, genome_ref):
baits = {}
segment_seq = genome_ref[self.chromosome][self.start - 1:self.stop]
for offset in range(self.stop - self.start - self.bait_length + 2):
bait_seq = segment_seq[offset:offset + self.bait_length]
assert len(bait_seq) == self.bait_length
if self.strand == '+':
bait_seq = bait_seq[::-1].translate(DNA_complement_table)
bait_strand_name = 'minus'
else:
bait_strand_name = 'plus'
label = '%s-%d-%d-%s' % (self.chromosome, self.start + offset, self.start + offset + self.bait_length - 1, bait_strand_name)
baits[label] = bait_seq
return baits
def get_top_ranked_bait(self):
self.ranked_candidate_baits.sort()
return self.ranked_candidate_baits[0]
def get_additional_bait(self, not_olap_baits):
secondary_bait = None
for bait in self.ranked_candidate_baits:
if not any(map(lambda b: b.overlapsWith(bait), not_olap_baits)):
secondary_bait = bait
break
return secondary_bait
def get_lowest_bait_tm(self):
return min(map(methodcaller('getTm'), self.ranked_candidate_baits))
def get_opt_bait_position(self):
(covers_a_first_exon, covers_a_last_exon) = (False, False)
for (isoform_id, is_a_target) in self.isoform_is_a_target.items():
if is_a_target:
if self.isoform_exon_num[isoform_ID] == 1:
covers_a_first_exon = True
if self.isoform_exon_num[isoform_ID] == self.isoform_num_exons[isoform_ID]:
covers_a_last_exon = True
if covers_a_first_exon == covers_a_last_exon:
opt_position = self.start + int((self.stop - self.start) / 2)
elif covers_a_first_exon:
opt_position = self.stop if self.strand == '+' else self.start
else:
opt_position = self.start if self.strand == '+' else self.stop
return opt_position
def set_candidate_baits(self, bait_data, num_pass, num_fail_Tm, num_fail_hairpin, num_fail_homodimer):
self.num_pass = num_pass
self.num_fail_Tm = num_fail_Tm
self.num_fail_hairpin = num_fail_hairpin
self.num_fail_homodimer = num_fail_homodimer
opt_bait_pos = self.getOptBaitPosition()
self.ranked_candidate_baits = []
for (chromosome, start, stop, bait_strand, bait_seq, tm, frac_hairpin, frac_homodimer) in bait_data:
opt_position_deviation = abs(opt_bait_pos - int(start + (stop - start) / 2))
new_bait = bait(self, chromosome, start, stop, bait_strand, bait_seq, Tm, frac_hairpin, frac_homodimer, opt_position_deviation)
self.ranked_candidate_baits.append(new_bait)
def rank_candidate_baits(self, Ta):
for bait in self.ranked_candidate_baits:
bait.setComparitorTuple(Ta)
self.ranked_candidate_baits.sort()
def trim_candidate_baits(self, Ta, max_num=10):
had_lc = False
if len(self.ranked_candidate_baits) > 1:
self.rankCandidateBaits(Ta)
to_keep = [self.ranked_candidate_baits[0]]
to_keep_starts = [self.ranked_candidate_baits[0].getStart()]
for bait in self.ranked_candidate_baits[1:]:
this_bait_start = bait.getStart()
if all(map(lambda another_start: abs(this_bait_start - another_start) >= 10, to_keep_starts)):
to_keep.append(bait)
to_keep_starts.append(this_bait_start)
if len(to_keep) == max_num:
break
self.ranked_candidate_baits = to_keep
def get_order_labeled_bait_sequences(self):
bait_seqs = []
for (counter, bait) in enumerate(self.ranked_candidate_baits):
bait_seqs.append(('%s_%d' % (self.label, counter), bait.getSequence()))
return bait_seqs |
def binary_classification_metrics(prediction, ground_truth):
precision = 0
recall = 0
accuracy = 0
f1 = 0
# TODO: implement metrics!
tp = np.sum(np.logical_and(prediction, ground_truth))
fp = np.sum(np.greater(prediction, ground_truth))
fn = np.sum(np.less(prediction, ground_truth))
precision = tp/(tp+fp)
recall = tp/(tp+fn)
accuracy = np.sum(prediction == ground_truth)/len(prediction)
f1 = 2*(precision * recall)/(precision + recall)
return precision, recall, f1, accuracy
def multiclass_accuracy(prediction, ground_truth):
accuracy = np.sum(prediction == ground_truth) / len(prediction)
return accuracy
| def binary_classification_metrics(prediction, ground_truth):
precision = 0
recall = 0
accuracy = 0
f1 = 0
tp = np.sum(np.logical_and(prediction, ground_truth))
fp = np.sum(np.greater(prediction, ground_truth))
fn = np.sum(np.less(prediction, ground_truth))
precision = tp / (tp + fp)
recall = tp / (tp + fn)
accuracy = np.sum(prediction == ground_truth) / len(prediction)
f1 = 2 * (precision * recall) / (precision + recall)
return (precision, recall, f1, accuracy)
def multiclass_accuracy(prediction, ground_truth):
accuracy = np.sum(prediction == ground_truth) / len(prediction)
return accuracy |
class Config:
DEBUG = True
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:@localhost:3306/focusplus'
SQLALCHEMY_TRACK_MODIFICATIONS = False
SECRET_KEY = 'super-secret-key'
JWT_ERROR_MESSAGE_KEY = 'message'
JWT_BLACKLIST_ENABLED = True
JWT_BLACKLIST_TOKEN_CHECKS = ['access', 'refresh'] | class Config:
debug = True
sqlalchemy_database_uri = 'mysql+pymysql://root:@localhost:3306/focusplus'
sqlalchemy_track_modifications = False
secret_key = 'super-secret-key'
jwt_error_message_key = 'message'
jwt_blacklist_enabled = True
jwt_blacklist_token_checks = ['access', 'refresh'] |
{
"targets": [
{
"target_name": "sharedMemory",
"include_dirs": [
"<!(node -e \"require('napi-macros')\")"
],
"sources": [ "./src/sharedMemory.cpp" ],
"libraries": [],
},
{
"target_name": "messaging",
"cflags!": [ "-fno-exceptions" ],
"cflags_cc!": [ "-fno-exceptions" ],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")"
],
"sources": [ "./src/messaging.cpp", "./src/wipc/Module.cpp", "./src/wipc/Window.cpp", "./src/wipc/WipcUtf8Listener.cpp" ],
"libraries": [],
'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ],
}
]
} | {'targets': [{'target_name': 'sharedMemory', 'include_dirs': ['<!(node -e "require(\'napi-macros\')")'], 'sources': ['./src/sharedMemory.cpp'], 'libraries': []}, {'target_name': 'messaging', 'cflags!': ['-fno-exceptions'], 'cflags_cc!': ['-fno-exceptions'], 'include_dirs': ['<!@(node -p "require(\'node-addon-api\').include")'], 'sources': ['./src/messaging.cpp', './src/wipc/Module.cpp', './src/wipc/Window.cpp', './src/wipc/WipcUtf8Listener.cpp'], 'libraries': [], 'defines': ['NAPI_DISABLE_CPP_EXCEPTIONS']}]} |
# this default context will only work in the build time
# during the flow/task run, will use context in flow/task as the initial context
DEFAULT_CONTEXT = {
'default_flow_config': {
'check_cancellation_interval': 5,
'test__': {
'test__': [1, 2, 3]
},
'log_stdout': True,
'log_stderr': True,
},
'default_task_config': {
'executor_type': 'dask',
'test__': {
'test__': [1, 2, 3]
},
'timeout': 0,
'log_stdout': True,
'log_stderr': True,
},
# logging options can be flow/task specific, here we treat it as global options for simplicity
'logging': {
'fmt': "[{levelname}] [{filename}:{lineno}-{funcName}()] "
"[{task_full_name}] [{flowrun_id:1.6}|{taskrun_id:1.6}] : {message}",
'datefmt': "%Y-%m-%d %H:%M:%S",
'style': '{',
'level': 'DEBUG',
'buffer_size': 10,
'context_attrs': [
'flow_id',
'flow_name',
'flow_full_name',
'task_id',
'task_name',
'task_full_name',
'agent_id',
'flowrun_id',
'taskrun_id',
]
},
'caches': [
{
'cache_type': 'local'
},
{
'cache_type': 'cloud',
'address': 'xxxx',
'cache_kwargs': None
}
],
'executors': [
{
'executor_type': 'local'
},
{
'executor_type': 'dask',
'address': None,
'cluster_class': None,
'cluster_kwargs': None,
# TODO for best performance, use threads as worker, however, there may be bugs related to context and CWD
# 'cluster_kwargs': {'threads_per_worker': 1},
'adapt_kwargs': None,
'client_kwargs': None,
'debug': False
}
]
}
| default_context = {'default_flow_config': {'check_cancellation_interval': 5, 'test__': {'test__': [1, 2, 3]}, 'log_stdout': True, 'log_stderr': True}, 'default_task_config': {'executor_type': 'dask', 'test__': {'test__': [1, 2, 3]}, 'timeout': 0, 'log_stdout': True, 'log_stderr': True}, 'logging': {'fmt': '[{levelname}] [{filename}:{lineno}-{funcName}()] [{task_full_name}] [{flowrun_id:1.6}|{taskrun_id:1.6}] : {message}', 'datefmt': '%Y-%m-%d %H:%M:%S', 'style': '{', 'level': 'DEBUG', 'buffer_size': 10, 'context_attrs': ['flow_id', 'flow_name', 'flow_full_name', 'task_id', 'task_name', 'task_full_name', 'agent_id', 'flowrun_id', 'taskrun_id']}, 'caches': [{'cache_type': 'local'}, {'cache_type': 'cloud', 'address': 'xxxx', 'cache_kwargs': None}], 'executors': [{'executor_type': 'local'}, {'executor_type': 'dask', 'address': None, 'cluster_class': None, 'cluster_kwargs': None, 'adapt_kwargs': None, 'client_kwargs': None, 'debug': False}]} |
niz = [4,1,2,3,5,10,7,3,5,1]
print(sorted(niz))
for el in range(1,20):
print(el) | niz = [4, 1, 2, 3, 5, 10, 7, 3, 5, 1]
print(sorted(niz))
for el in range(1, 20):
print(el) |
#t3.py module
pix = 134
def pipi(a='aasasa'):
print(a)
| pix = 134
def pipi(a='aasasa'):
print(a) |
# build decoder model
latent_inputs = kl.Input(shape=(latent_dim,), name='z_sampling')
x = kl.Dense(intermediate_dim, activation='relu')(latent_inputs)
outputs = kl.Dense(n_input, activation='sigmoid')(x)
# instantiate decoder model
decoder = km.Model(latent_inputs, outputs, name='decoder') | latent_inputs = kl.Input(shape=(latent_dim,), name='z_sampling')
x = kl.Dense(intermediate_dim, activation='relu')(latent_inputs)
outputs = kl.Dense(n_input, activation='sigmoid')(x)
decoder = km.Model(latent_inputs, outputs, name='decoder') |
class Solution:
def bagOfTokensScore(self, tokens, P):
tokens.sort()
l, r, score = 0, len(tokens) - 1, 0
while l <= r:
if P >= tokens[l]:
P -= tokens[l]
score += 1
l += 1
elif score and l != r:
P += tokens[r]
score -= 1
r -= 1
else:
break
return score | class Solution:
def bag_of_tokens_score(self, tokens, P):
tokens.sort()
(l, r, score) = (0, len(tokens) - 1, 0)
while l <= r:
if P >= tokens[l]:
p -= tokens[l]
score += 1
l += 1
elif score and l != r:
p += tokens[r]
score -= 1
r -= 1
else:
break
return score |
# list, row, column and box initalizations
lst = [ [ [ False, '-', [], 0 ] for col in range(9)] for row in range(9)]
row = [[ False, 9, [c for c in range(1, 10)] ] for r in range(9)]
col = [[ False, 9, [c for c in range(1, 10)] ] for r in range(9)]
box = [[ False, 9, [c for c in range(1, 10)] ] for r in range(9)]
print(row)
| lst = [[[False, '-', [], 0] for col in range(9)] for row in range(9)]
row = [[False, 9, [c for c in range(1, 10)]] for r in range(9)]
col = [[False, 9, [c for c in range(1, 10)]] for r in range(9)]
box = [[False, 9, [c for c in range(1, 10)]] for r in range(9)]
print(row) |
#DFS using Recursion
class Node():
def __init__(self,value=None):
self.value = value
self.left = None
self.right = None
def get_value(self):
return self.value
def set_value(self,value):
self.value = value
def set_left_child(self,left):
self.left = left
def set_right_child(self, right):
self.right = right
def get_left_child(self):
return self.left
def get_right_child(self):
return self.right
def has_left_child(self):
return self.left != None
def has_right_child(self):
return self.right != None
class Tree:
def __init__(self, value = None):
self.root = Node(value)
def get_root(self):
return self.root
# create a tree and add some nodes
tree = Tree("a")
tree.get_root().set_left_child(Node("b"))
tree.get_root().set_right_child(Node("e"))
tree.get_root().get_right_child().set_right_child(Node("f"))
tree.get_root().get_left_child().set_left_child(Node("c"))
tree.get_root().get_left_child().set_right_child(Node("d"))
#Pre Order DFS using Recursion
def pre_order(tree):
visit_order = list()
node = tree.get_root()
def visit(node):
if node:
visit_order.append(node.get_value())
if node.has_left_child():
visit(node.get_left_child())
if node.has_right_child():
visit(node.get_right_child())
visit(node)
return visit_order
print(pre_order(tree))
#In Order DFS using Recursion
def in_order(tree):
visit_order = []
def visit1(node):
if node.has_left_child():
visit1(node.get_left_child())
if node:
visit_order.append(node.get_value())
if node.has_right_child():
visit1(node.get_right_child())
visit1(tree.get_root())
return visit_order
print(in_order(tree))
#Post Order DFS using Recursion
def post_order(tree):
visit_order = []
def visit(node):
if node.has_left_child():
visit(node.get_left_child())
if node.has_right_child():
visit(node.get_right_child())
if node:
visit_order.append(node.get_value())
visit(tree.get_root())
return visit_order
print(post_order(tree))
| class Node:
def __init__(self, value=None):
self.value = value
self.left = None
self.right = None
def get_value(self):
return self.value
def set_value(self, value):
self.value = value
def set_left_child(self, left):
self.left = left
def set_right_child(self, right):
self.right = right
def get_left_child(self):
return self.left
def get_right_child(self):
return self.right
def has_left_child(self):
return self.left != None
def has_right_child(self):
return self.right != None
class Tree:
def __init__(self, value=None):
self.root = node(value)
def get_root(self):
return self.root
tree = tree('a')
tree.get_root().set_left_child(node('b'))
tree.get_root().set_right_child(node('e'))
tree.get_root().get_right_child().set_right_child(node('f'))
tree.get_root().get_left_child().set_left_child(node('c'))
tree.get_root().get_left_child().set_right_child(node('d'))
def pre_order(tree):
visit_order = list()
node = tree.get_root()
def visit(node):
if node:
visit_order.append(node.get_value())
if node.has_left_child():
visit(node.get_left_child())
if node.has_right_child():
visit(node.get_right_child())
visit(node)
return visit_order
print(pre_order(tree))
def in_order(tree):
visit_order = []
def visit1(node):
if node.has_left_child():
visit1(node.get_left_child())
if node:
visit_order.append(node.get_value())
if node.has_right_child():
visit1(node.get_right_child())
visit1(tree.get_root())
return visit_order
print(in_order(tree))
def post_order(tree):
visit_order = []
def visit(node):
if node.has_left_child():
visit(node.get_left_child())
if node.has_right_child():
visit(node.get_right_child())
if node:
visit_order.append(node.get_value())
visit(tree.get_root())
return visit_order
print(post_order(tree)) |
config = {
"beta1": 0.9,
"beta2": 0.999,
"epsilon": [
1.7193559220924876e-07,
0.00019809119366335256,
1.4745363724867889e-08,
3.0370342703184836e-05,
],
"lr": [
0.000592992422167547,
0.00038001447767611315,
7.373656030831236e-06,
1.0011818742335523e-06,
],
"out_dir": "logs/cifar/BPConv",
"network_type": "BPConvCIFAR",
"initialization": "xavier_normal",
"target_stepsize": 1.0,
"dataset": "cifar10",
# ### Training options ###
"optimizer": "Adam",
"optimizer_fb": "Adam",
"momentum": 0.0,
"parallel": True,
"normalize_lr": True,
"batch_size": 128,
"epochs_fb": 0,
"not_randomized": True,
"not_randomized_fb": True,
"extra_fb_minibatches": 0,
"extra_fb_epochs": 0,
"epochs": 100,
"double_precision": True,
### Network options ###
# 'num_hidden': 3,
# 'size_hidden': 1024,
# 'size_input': 3072,
# 'size_output': 10,
"hidden_activation": "tanh",
"output_activation": "softmax",
"no_bias": False,
### Miscellaneous options ###
"no_cuda": False,
"random_seed": 42,
"cuda_deterministic": False,
"freeze_BPlayers": False,
"multiple_hpsearch": False,
### Logging options ###
"save_logs": False,
"save_BP_angle": False,
"save_GN_angle": False,
"save_GN_activations_angle": False,
"save_BP_activations_angle": False,
"gn_damping": 0.0,
}
| config = {'beta1': 0.9, 'beta2': 0.999, 'epsilon': [1.7193559220924876e-07, 0.00019809119366335256, 1.4745363724867889e-08, 3.0370342703184836e-05], 'lr': [0.000592992422167547, 0.00038001447767611315, 7.373656030831236e-06, 1.0011818742335523e-06], 'out_dir': 'logs/cifar/BPConv', 'network_type': 'BPConvCIFAR', 'initialization': 'xavier_normal', 'target_stepsize': 1.0, 'dataset': 'cifar10', 'optimizer': 'Adam', 'optimizer_fb': 'Adam', 'momentum': 0.0, 'parallel': True, 'normalize_lr': True, 'batch_size': 128, 'epochs_fb': 0, 'not_randomized': True, 'not_randomized_fb': True, 'extra_fb_minibatches': 0, 'extra_fb_epochs': 0, 'epochs': 100, 'double_precision': True, 'hidden_activation': 'tanh', 'output_activation': 'softmax', 'no_bias': False, 'no_cuda': False, 'random_seed': 42, 'cuda_deterministic': False, 'freeze_BPlayers': False, 'multiple_hpsearch': False, 'save_logs': False, 'save_BP_angle': False, 'save_GN_angle': False, 'save_GN_activations_angle': False, 'save_BP_activations_angle': False, 'gn_damping': 0.0} |
# Solution to Project Euler Problem 3
def sol():
n = 600851475143
i = 2
while i <= n:
if i < n and n % i == 0:
n //= i
i += 1
return str(n)
if __name__ == "__main__":
print(sol())
| def sol():
n = 600851475143
i = 2
while i <= n:
if i < n and n % i == 0:
n //= i
i += 1
return str(n)
if __name__ == '__main__':
print(sol()) |
sql92_dialect = {
"dialect": "sql",
"insert_sql": "INSERT INTO {table} ({columns}) VALUES ({values})",
"select_sql": ("SELECT{distinct} {columns} FROM {table}"
"{where}{groupby}{having}{orderby}{limit}"),
"update_sql": "UPDATE {table} SET {set_columns}",
"delete_sql": "DELETE FROM {table}",
"column_schema":
("SELECT * "
"FROM INFORMATION_SCHEMA.COLUMNS "
"WHERE TABLE_NAME = {table}"),
"column_schema_2part":
("SELECT * "
"FROM INFORMATION_SCHEMA.COLUMNS "
"WHERE TABLE_NAME = {table} AND TABLE_SCHEMA = {schema}"),
"get_last_inserted_id": None,
"paging":
("SELECT COUNT(*) FROM ({subquery}) x",
("SELECT {columns} FROM {table}{where}{groupby}{having}{orderby} "
"LIMIT {page_size} OFFSET {page_start}")),
"keywords": {
"select": "SELECT",
"distinct": "DISTINCT",
"from": "FROM",
"where": "WHERE",
"groupby": "GROUP BY",
"having": "HAVING",
"orderby": "ORDER BY",
"limit": "LIMIT",
"count": "COUNT",
"min": "MIN",
"max": "MAX",
"avg": "AVG",
}
}
mssql_dialect = {**sql92_dialect, **{
"dialect": "mssql",
"select_sql": ("SELECT{distinct}{limit} {columns} FROM {table}"
"{where}{groupby}{having}{orderby}"),
"insert_sql": ("INSERT INTO {table} ({columns}) "
"OUTPUT INSERTED.[{pk_field}] VALUES ({values})"),
"paging":
("SELECT COUNT(*) c FROM ({subquery}) x",
("SELECT {columns} FROM {table}{where}{groupby}{having}{orderby} "
"OFFSET {page_start} ROWS FETCH NEXT {page_size} ROWS ONLY")),
"keywords": {**sql92_dialect["keywords"], **{
"limit": "TOP",
}},
}}
mariadb_dialect = {**sql92_dialect, **{
"dialect": "mariadb",
"paging":
("SELECT COUNT(*) FROM ({subquery}) x",
("SELECT {columns} FROM {table}{where}{groupby}{having}{orderby} "
"LIMIT {page_start}, {page_size}")),
"get_last_inserted_id": "SELECT LAST_INSERT_ID()",
}}
mysql_dialect = {**mariadb_dialect}
oracle_dialect = {**sql92_dialect, **{
"dialect": "oracle",
# TODO
}}
postgres_dialect = {**sql92_dialect, **{
"dialect": "postgres",
"insert_sql": ("INSERT INTO {table} ({columns}) VALUES ({values}) "
"RETURNING {pk_field} AS newid"),
}}
sqlite3_dialect = {**sql92_dialect, **{
"dialect": "sqlite3",
"column_schema": "PRAGMA table_info({table})",
"column_schema_2part": "PRAGMA table_info({table})",
"paging":
("SELECT COUNT(*) FROM ({subquery}) x",
("SELECT {columns} FROM {table}{where}{groupby}{having}{orderby} "
"LIMIT {page_start}, {page_size}")),
"get_last_inserted_id": "SELECT last_insert_rowid()",
}}
def unshoutcase(dialect):
'''
Makes a dialect use lower-case SQL
'''
result = {}
for key, value in dialect.items():
if isinstance(value, str):
result[key] = value.lower()
elif isinstance(value, dict):
result[key] = unshoutcase(value)
else:
result[key] = value
return result
| sql92_dialect = {'dialect': 'sql', 'insert_sql': 'INSERT INTO {table} ({columns}) VALUES ({values})', 'select_sql': 'SELECT{distinct} {columns} FROM {table}{where}{groupby}{having}{orderby}{limit}', 'update_sql': 'UPDATE {table} SET {set_columns}', 'delete_sql': 'DELETE FROM {table}', 'column_schema': 'SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = {table}', 'column_schema_2part': 'SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = {table} AND TABLE_SCHEMA = {schema}', 'get_last_inserted_id': None, 'paging': ('SELECT COUNT(*) FROM ({subquery}) x', 'SELECT {columns} FROM {table}{where}{groupby}{having}{orderby} LIMIT {page_size} OFFSET {page_start}'), 'keywords': {'select': 'SELECT', 'distinct': 'DISTINCT', 'from': 'FROM', 'where': 'WHERE', 'groupby': 'GROUP BY', 'having': 'HAVING', 'orderby': 'ORDER BY', 'limit': 'LIMIT', 'count': 'COUNT', 'min': 'MIN', 'max': 'MAX', 'avg': 'AVG'}}
mssql_dialect = {**sql92_dialect, **{'dialect': 'mssql', 'select_sql': 'SELECT{distinct}{limit} {columns} FROM {table}{where}{groupby}{having}{orderby}', 'insert_sql': 'INSERT INTO {table} ({columns}) OUTPUT INSERTED.[{pk_field}] VALUES ({values})', 'paging': ('SELECT COUNT(*) c FROM ({subquery}) x', 'SELECT {columns} FROM {table}{where}{groupby}{having}{orderby} OFFSET {page_start} ROWS FETCH NEXT {page_size} ROWS ONLY'), 'keywords': {**sql92_dialect['keywords'], **{'limit': 'TOP'}}}}
mariadb_dialect = {**sql92_dialect, **{'dialect': 'mariadb', 'paging': ('SELECT COUNT(*) FROM ({subquery}) x', 'SELECT {columns} FROM {table}{where}{groupby}{having}{orderby} LIMIT {page_start}, {page_size}'), 'get_last_inserted_id': 'SELECT LAST_INSERT_ID()'}}
mysql_dialect = {**mariadb_dialect}
oracle_dialect = {**sql92_dialect, **{'dialect': 'oracle'}}
postgres_dialect = {**sql92_dialect, **{'dialect': 'postgres', 'insert_sql': 'INSERT INTO {table} ({columns}) VALUES ({values}) RETURNING {pk_field} AS newid'}}
sqlite3_dialect = {**sql92_dialect, **{'dialect': 'sqlite3', 'column_schema': 'PRAGMA table_info({table})', 'column_schema_2part': 'PRAGMA table_info({table})', 'paging': ('SELECT COUNT(*) FROM ({subquery}) x', 'SELECT {columns} FROM {table}{where}{groupby}{having}{orderby} LIMIT {page_start}, {page_size}'), 'get_last_inserted_id': 'SELECT last_insert_rowid()'}}
def unshoutcase(dialect):
"""
Makes a dialect use lower-case SQL
"""
result = {}
for (key, value) in dialect.items():
if isinstance(value, str):
result[key] = value.lower()
elif isinstance(value, dict):
result[key] = unshoutcase(value)
else:
result[key] = value
return result |
def menor_nome(nomes):
menor = nomes[0]
menor.strip()
for nome in nomes:
comparado = nome.strip()
if len(comparado) < len(menor):
menor = comparado
menor.lower()
return menor.capitalize()
| def menor_nome(nomes):
menor = nomes[0]
menor.strip()
for nome in nomes:
comparado = nome.strip()
if len(comparado) < len(menor):
menor = comparado
menor.lower()
return menor.capitalize() |
# a program to compute employee fee
hours = int(input('Enter hours:'))
rate = float(input('Enter rate:'))
# calculating hours above 40
eth = (hours - 40)
# for hours above forty
if hours > 40:
pay = ((eth * 1.5 * rate) + (40 * rate))
print(pay)
# for hours less than or equal to 40
else:
pay2 = (rate * hours)
print(pay2)
| hours = int(input('Enter hours:'))
rate = float(input('Enter rate:'))
eth = hours - 40
if hours > 40:
pay = eth * 1.5 * rate + 40 * rate
print(pay)
else:
pay2 = rate * hours
print(pay2) |
class FieldsEnum:
ACCOUNT: str = 'account'
ASC: str = 'asc'
BALANCE: str = 'balance'
GAS_PRICE: str = 'eth_gasPrice'
LATEST: str = 'latest'
PROXY: str = 'proxy'
TXLIST: str = 'txlist'
TXLIST_INTERNAL: str = 'txlistinternal'
| class Fieldsenum:
account: str = 'account'
asc: str = 'asc'
balance: str = 'balance'
gas_price: str = 'eth_gasPrice'
latest: str = 'latest'
proxy: str = 'proxy'
txlist: str = 'txlist'
txlist_internal: str = 'txlistinternal' |
fps = 30
width = 960
height = 700
screenDimensions = (width, height)
backgroundColor = (161, 173, 255)
mario_x = 100
mario_y = 500
jumpCount = 10 | fps = 30
width = 960
height = 700
screen_dimensions = (width, height)
background_color = (161, 173, 255)
mario_x = 100
mario_y = 500
jump_count = 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.