content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
high_income = True
low_income = False
if high_income == True and low_income == False:
print("u little bitch ")
#above code is noob kind of code
#bettter way
if high_income and low_income:
print("u little bitch")
#high_income and low_income are already boolean so we don't need to compare it with == True and == False
# age between 18 and 65
age = 45
if age > 10 and age <65:
print("Eligible")
#another way of same thing
message = "Eligible" if age > 18 and age < 65 else "Not Eligible"
print(message)
if 18 <= age < 65 :
print("Eligible")
else :
print("Not Eligible")
| high_income = True
low_income = False
if high_income == True and low_income == False:
print('u little bitch ')
if high_income and low_income:
print('u little bitch')
age = 45
if age > 10 and age < 65:
print('Eligible')
message = 'Eligible' if age > 18 and age < 65 else 'Not Eligible'
print(message)
if 18 <= age < 65:
print('Eligible')
else:
print('Not Eligible') |
def print_artist(album):
print(album['Artist_Name'])
def change_list(list_from_user):
list_from_user[2] = 5
def print_name(album):
print(album["Album_Title"])
def make_album(name, title, numSongs=10):
album = {'Artist_Name': name, 'Album_Title': title}
if numSongs:
album["Song_Count"] = numSongs
return album
def main():
albums = []
bsb = make_album("Back Street Boys","I want it that way")
print_artist(bsb)
print_name(bsb)
num_track = [1,3,6,7]
print(num_track)
change_list(num_track)
print(num_track)
# bsb = {
# Artist_Name: "Back Street Boys"
# Album_Title: "I want it that way"
# Song_count: 10
# }
artist1 = "Joe"
title1 = "Buck"
albums.append(make_album(artist1,title1))
albums.append(make_album('Marylin Manson', 'Mechanical Animals'))
albums.append(make_album('Less Than Jake', 'Borders and Boundaries', 12))
albums.append(make_album("N'Sync", 'No Strings Attached'))
print(albums)
main() | def print_artist(album):
print(album['Artist_Name'])
def change_list(list_from_user):
list_from_user[2] = 5
def print_name(album):
print(album['Album_Title'])
def make_album(name, title, numSongs=10):
album = {'Artist_Name': name, 'Album_Title': title}
if numSongs:
album['Song_Count'] = numSongs
return album
def main():
albums = []
bsb = make_album('Back Street Boys', 'I want it that way')
print_artist(bsb)
print_name(bsb)
num_track = [1, 3, 6, 7]
print(num_track)
change_list(num_track)
print(num_track)
artist1 = 'Joe'
title1 = 'Buck'
albums.append(make_album(artist1, title1))
albums.append(make_album('Marylin Manson', 'Mechanical Animals'))
albums.append(make_album('Less Than Jake', 'Borders and Boundaries', 12))
albums.append(make_album("N'Sync", 'No Strings Attached'))
print(albums)
main() |
class Vector:
"""
Constructor
self: a reference to the object we are creating
vals: a list of integers which are the contents of our vector
"""
def __init__(self, vals):
self.vals = vals
# print("Assigned values ", vals, " to vector.")
"""
String Function
Converts the object to a string in readable format for programmers
"""
def __str__(self):
return str(self.vals)
"""
Elementwise power: raises each element in our vector to the given power
"""
def __pow__(self, power):
return Vector([i ** power for i in self.vals])
"""
Addition: adds each element to corresponding element in other vector
"""
def __add__(self, vec):
return Vector(
[self.vals[i] + vec.vals[i] for i in range(len(self.vals))]
)
"""
Multiplies each element in the vector by a specified constant
"""
def __mul__(self, constant):
return Vector([self.vals[i] * constant for i in range(len(self.vals))])
"""
Elementwise subtraction: does same as addition, just subtraction instead
"""
def __sub__(self, vec):
return self + (vec * (-1))
vec = Vector([2, 3, 2])
otherVec = Vector([3, 4, 5])
print(str(vec)) # [2, 3, 2]
print(vec ** 2) # [4, 9, 4]
print(vec - otherVec) # [-1, -1, -3]
print(vec + otherVec) # [5, 7, 7]
print(vec * 5) # [10, 15, 10]
| class Vector:
"""
Constructor
self: a reference to the object we are creating
vals: a list of integers which are the contents of our vector
"""
def __init__(self, vals):
self.vals = vals
'\n String Function\n\n Converts the object to a string in readable format for programmers\n '
def __str__(self):
return str(self.vals)
'\n Elementwise power: raises each element in our vector to the given power\n '
def __pow__(self, power):
return vector([i ** power for i in self.vals])
'\n Addition: adds each element to corresponding element in other vector\n '
def __add__(self, vec):
return vector([self.vals[i] + vec.vals[i] for i in range(len(self.vals))])
'\n Multiplies each element in the vector by a specified constant\n '
def __mul__(self, constant):
return vector([self.vals[i] * constant for i in range(len(self.vals))])
'\n Elementwise subtraction: does same as addition, just subtraction instead\n '
def __sub__(self, vec):
return self + vec * -1
vec = vector([2, 3, 2])
other_vec = vector([3, 4, 5])
print(str(vec))
print(vec ** 2)
print(vec - otherVec)
print(vec + otherVec)
print(vec * 5) |
class Block:
def __init__(self, block_id, alignment):
self.id = block_id
self.alignment = alignment
self.toroot = self # parent in find-union tree
self.shift = 0 # order relative to parent
self.reorder_shift = 0 # modification caused by edges inserted within group
self.orient = 1 # orientation relative to parent
self.flanks = {-1: 0, 1: 0} # blocks in group with negative/positive order (only in root)
def find(self):
if self.toroot is self:
return self
else:
root = self.toroot.find()
# let's update atributes for flattened tree structure
self.orient *= self.toroot.orient
self.shift = self.shift*self.toroot.orient+self.toroot.shift
self.reorder_shift *= self.toroot.orient
self.toroot = root
return root
def orientation(self):
self.find()
return self.orient
def order(self):
self.find()
return self.shift+self.reorder_shift
def reorder(self, n):
self.reorder_shift += n - self.order()
def size(self):
rootflanks = self.find().flanks
return rootflanks[1]+rootflanks[-1]+1
def minimum(self):
root = self.find()
return -root.flanks[-1]
def maximum(self):
root = self.find()
return root.flanks[1]
def unionto(self, other, reverse, flank): # join self to other
selfroot = self.find()
otheroot = other.find()
selfroot.orient = reverse
selfroot.reorder_shift *= reverse
selfroot.shift = flank*(otheroot.flanks[flank]+selfroot.flanks[-reverse*flank]+1)
otheroot.flanks[flank] += selfroot.flanks[-1]+selfroot.flanks[1]+1
selfroot.toroot = otheroot
del selfroot.flanks
def orient_maf_block(self):
# Modify alignment according to block orientation
if self.orientation() == -1:
for u in self.alignment:
u.seq = u.seq.reverse_complement()
u.annotations["strand"] *= -1
u.annotations["start"] = u.annotations["srcSize"] - u.annotations["size"] - u.annotations["start"]
| class Block:
def __init__(self, block_id, alignment):
self.id = block_id
self.alignment = alignment
self.toroot = self
self.shift = 0
self.reorder_shift = 0
self.orient = 1
self.flanks = {-1: 0, 1: 0}
def find(self):
if self.toroot is self:
return self
else:
root = self.toroot.find()
self.orient *= self.toroot.orient
self.shift = self.shift * self.toroot.orient + self.toroot.shift
self.reorder_shift *= self.toroot.orient
self.toroot = root
return root
def orientation(self):
self.find()
return self.orient
def order(self):
self.find()
return self.shift + self.reorder_shift
def reorder(self, n):
self.reorder_shift += n - self.order()
def size(self):
rootflanks = self.find().flanks
return rootflanks[1] + rootflanks[-1] + 1
def minimum(self):
root = self.find()
return -root.flanks[-1]
def maximum(self):
root = self.find()
return root.flanks[1]
def unionto(self, other, reverse, flank):
selfroot = self.find()
otheroot = other.find()
selfroot.orient = reverse
selfroot.reorder_shift *= reverse
selfroot.shift = flank * (otheroot.flanks[flank] + selfroot.flanks[-reverse * flank] + 1)
otheroot.flanks[flank] += selfroot.flanks[-1] + selfroot.flanks[1] + 1
selfroot.toroot = otheroot
del selfroot.flanks
def orient_maf_block(self):
if self.orientation() == -1:
for u in self.alignment:
u.seq = u.seq.reverse_complement()
u.annotations['strand'] *= -1
u.annotations['start'] = u.annotations['srcSize'] - u.annotations['size'] - u.annotations['start'] |
def get_major_dot_minor_version(version):
"""
Convert full VERSION Django tuple to
a dotted string containing MAJOR.MINOR.
For example, (1, 9, 3, 'final', 0) will result in '1.9'
"""
return '.'.join([str(v) for v in version[:2]])
def get_module_short_name(klass):
"""
Return the short module name.
For example, full module name is `django.forms.fields` and
the short module name will be `fields`.
"""
return klass.__module__.rsplit('.', 1)[-1]
| def get_major_dot_minor_version(version):
"""
Convert full VERSION Django tuple to
a dotted string containing MAJOR.MINOR.
For example, (1, 9, 3, 'final', 0) will result in '1.9'
"""
return '.'.join([str(v) for v in version[:2]])
def get_module_short_name(klass):
"""
Return the short module name.
For example, full module name is `django.forms.fields` and
the short module name will be `fields`.
"""
return klass.__module__.rsplit('.', 1)[-1] |
result = []
for line in DATA.splitlines():
d, t, lvl, msg = line.strip().split(', ', maxsplit=3)
d = date.fromisoformat(d)
t = time.fromisoformat(t)
dt = datetime.combine(d, t)
result.append({'when': dt, 'level': lvl, 'message': msg})
| result = []
for line in DATA.splitlines():
(d, t, lvl, msg) = line.strip().split(', ', maxsplit=3)
d = date.fromisoformat(d)
t = time.fromisoformat(t)
dt = datetime.combine(d, t)
result.append({'when': dt, 'level': lvl, 'message': msg}) |
#!/usr/bin/env python
#####################################
# Installation module for ike-scan
#####################################
# AUTHOR OF MODULE NAME
AUTHOR="Jason Ashton (ninewires)"
# DESCRIPTION OF THE MODULE
DESCRIPTION="This module will install/update ike-scan - a command-line tool for discovering, fingerprinting and testing IPsec VPN systems"
# INSTALL TYPE GIT, SVN, FILE DOWNLOAD
# OPTIONS = GIT, SVN, FILE
INSTALL_TYPE="GIT"
# LOCATION OF THE FILE OR GIT/SVN REPOSITORY
REPOSITORY_LOCATION="https://github.com/royhills/ike-scan.git"
# WHERE DO YOU WANT TO INSTALL IT
INSTALL_LOCATION="ike-scan"
# DEPENDS FOR DEBIAN INSTALLS
DEBIAN="git,gcc,make"
# DEPENDS FOR FEDORA INSTALLS
FEDORA="git,gcc,make"
# DEPENDS FOR ARCHLINUX INSTALLS
ARCHLINUX="git,gcc,make"
# COMMANDS TO RUN AFTER
AFTER_COMMANDS="cd {INSTALL_LOCATION}, autoreconf --install, ./configure --with-openssl, make, make install"
# THIS WILL CREATE AN AUTOMATIC LAUNCHER FOR THE TOOL
LAUNCHER="ike-scan"
| author = 'Jason Ashton (ninewires)'
description = 'This module will install/update ike-scan - a command-line tool for discovering, fingerprinting and testing IPsec VPN systems'
install_type = 'GIT'
repository_location = 'https://github.com/royhills/ike-scan.git'
install_location = 'ike-scan'
debian = 'git,gcc,make'
fedora = 'git,gcc,make'
archlinux = 'git,gcc,make'
after_commands = 'cd {INSTALL_LOCATION}, autoreconf --install, ./configure --with-openssl, make, make install'
launcher = 'ike-scan' |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
File: __init__.py.py
Author: limingdong
Date: 12/31/14
Description:
""" | """
File: __init__.py.py
Author: limingdong
Date: 12/31/14
Description:
""" |
"""
Vicki Langer
Class: CS 521 - Fall 1
Date: 28 Sep 2021
Homework Problem # 4_1
taking a list of integers and creating a new one
with sum of nearest neighbors and itself
"""
INPUT_LIST = list(range(55, 0, -10)) # [55, 45, 35, 25, 15, 5]
max_index = len(INPUT_LIST) - 1
# output: 55+45=100 55+45+35=135 45+35+25=105 35+25+15=75 25+15+5=45 15+5=20
output_list = [] # expected: [100, 135, 105, 75, 45, 20]
current_index = 0
while len(output_list) < len(INPUT_LIST): # same num of elements as input list
# each int should be sum of nearest neighbors and itself from original list
# ints at beginning and end of list only have one nearest neighbor
if current_index == 0:
next_num = INPUT_LIST[current_index] + INPUT_LIST[current_index + 1]
current_index += 1
elif current_index > 0 and current_index != max_index:
next_num = (INPUT_LIST[current_index]
+ INPUT_LIST[current_index - 1]
+ INPUT_LIST[current_index + 1])
current_index += 1
else:
next_num = INPUT_LIST[current_index] + INPUT_LIST[current_index - 1]
current_index += 1
output_list.append(next_num)
# Print input and output lists
print("Input List:", INPUT_LIST)
print("Output List:", output_list)
# could refactor
# should use list comprehension with enumerate to manage less stuff
| """
Vicki Langer
Class: CS 521 - Fall 1
Date: 28 Sep 2021
Homework Problem # 4_1
taking a list of integers and creating a new one
with sum of nearest neighbors and itself
"""
input_list = list(range(55, 0, -10))
max_index = len(INPUT_LIST) - 1
output_list = []
current_index = 0
while len(output_list) < len(INPUT_LIST):
if current_index == 0:
next_num = INPUT_LIST[current_index] + INPUT_LIST[current_index + 1]
current_index += 1
elif current_index > 0 and current_index != max_index:
next_num = INPUT_LIST[current_index] + INPUT_LIST[current_index - 1] + INPUT_LIST[current_index + 1]
current_index += 1
else:
next_num = INPUT_LIST[current_index] + INPUT_LIST[current_index - 1]
current_index += 1
output_list.append(next_num)
print('Input List:', INPUT_LIST)
print('Output List:', output_list) |
nr=int(input())
for i in range(1,nr+1):
print("*"*i)
| nr = int(input())
for i in range(1, nr + 1):
print('*' * i) |
# Copyright 2018 AT&T Intellectual Property. All other rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Subdags
ALL_PREFLIGHT_CHECKS_DAG_NAME = 'preflight'
ARMADA_BUILD_DAG_NAME = 'armada_build'
DESTROY_SERVER_DAG_NAME = 'destroy_server'
DRYDOCK_BUILD_DAG_NAME = 'drydock_build'
VALIDATE_SITE_DESIGN_DAG_NAME = 'validate_site_design'
RELABEL_NODES_DAG_NAME = 'relabel_nodes'
# Steps
ACTION_XCOM = 'action_xcom'
ARMADA_TEST_RELEASES = 'armada_test_releases'
CONCURRENCY_CHECK = 'dag_concurrency_check'
CREATE_ACTION_TAG = 'create_action_tag'
DECIDE_AIRFLOW_UPGRADE = 'decide_airflow_upgrade'
DEPLOYMENT_CONFIGURATION = 'deployment_configuration'
GET_RENDERED_DOC = 'get_rendered_doc'
SKIP_UPGRADE_AIRFLOW = 'skip_upgrade_airflow'
UPGRADE_AIRFLOW = 'upgrade_airflow'
DESTROY_SERVER = 'destroy_nodes'
| all_preflight_checks_dag_name = 'preflight'
armada_build_dag_name = 'armada_build'
destroy_server_dag_name = 'destroy_server'
drydock_build_dag_name = 'drydock_build'
validate_site_design_dag_name = 'validate_site_design'
relabel_nodes_dag_name = 'relabel_nodes'
action_xcom = 'action_xcom'
armada_test_releases = 'armada_test_releases'
concurrency_check = 'dag_concurrency_check'
create_action_tag = 'create_action_tag'
decide_airflow_upgrade = 'decide_airflow_upgrade'
deployment_configuration = 'deployment_configuration'
get_rendered_doc = 'get_rendered_doc'
skip_upgrade_airflow = 'skip_upgrade_airflow'
upgrade_airflow = 'upgrade_airflow'
destroy_server = 'destroy_nodes' |
name = 'geo5038801mod'
apical_dendriteEnd = 79
total_user5 = 70
f = open(name + '.hoc','r')
new_ls = ''
for line in f:
if 'user5[' in line and 'create' not in line and 'append' not in line:
parts = line.split('user5[')
#sdfs
if '{user5[51] connect user5[52](0), 1}' in line:
pass
#asdas
pass
for i in range(len(parts)):
if i in range(1,len(parts)):
#asdas
parts[i]
num = int(parts[i][:parts[i].index(']')])
num = num + apical_dendriteEnd
new_ls += 'apic[' + str(num) + ']' + parts[i][parts[i].index(']')+1:].replace('apical_dendrite','apic')
else:
new_ls += parts[i].replace('apical_dendrite','apic')
elif 'create user5' in line:
new_ls +='\n'
elif 'user5al.append()' in line:
new_ls +=' for i=' + str(apical_dendriteEnd) + ', ' + \
str(apical_dendriteEnd + total_user5-1) +' apic[i] user5al.append()\n'
elif 'user5[i] all.append()' in line:
new_ls +='\n'
elif 'apical_dendrite[i] all.append()' in line:
new_ls += ' for i=0, '+ str(apical_dendriteEnd + total_user5-1) +' apic[i] all.append()'
elif 'apical_dendrite' in line and 'create' not in line:
new_ls += line.replace('apical_dendrite','apic').replace('apical_dendrite','apic').replace('apical_dendrite','apic')
elif 'create apical_dendrite' in line:
parts = line.split('apical_dendrite[')
new_ls += parts[0] + 'apic[' + str(apical_dendriteEnd+total_user5) + parts[1][parts[1].index(']'):]
elif 'template' in line:
new_ls += line.replace(name, name + 'Mod')
else:
new_ls += line
f.close()
f1 = open(name + 'Mod.hoc', 'w')
f1.write(new_ls)
f1.close()
| name = 'geo5038801mod'
apical_dendrite_end = 79
total_user5 = 70
f = open(name + '.hoc', 'r')
new_ls = ''
for line in f:
if 'user5[' in line and 'create' not in line and ('append' not in line):
parts = line.split('user5[')
if '{user5[51] connect user5[52](0), 1}' in line:
pass
pass
for i in range(len(parts)):
if i in range(1, len(parts)):
parts[i]
num = int(parts[i][:parts[i].index(']')])
num = num + apical_dendriteEnd
new_ls += 'apic[' + str(num) + ']' + parts[i][parts[i].index(']') + 1:].replace('apical_dendrite', 'apic')
else:
new_ls += parts[i].replace('apical_dendrite', 'apic')
elif 'create user5' in line:
new_ls += '\n'
elif 'user5al.append()' in line:
new_ls += ' for i=' + str(apical_dendriteEnd) + ', ' + str(apical_dendriteEnd + total_user5 - 1) + ' apic[i] user5al.append()\n'
elif 'user5[i] all.append()' in line:
new_ls += '\n'
elif 'apical_dendrite[i] all.append()' in line:
new_ls += ' for i=0, ' + str(apical_dendriteEnd + total_user5 - 1) + ' apic[i] all.append()'
elif 'apical_dendrite' in line and 'create' not in line:
new_ls += line.replace('apical_dendrite', 'apic').replace('apical_dendrite', 'apic').replace('apical_dendrite', 'apic')
elif 'create apical_dendrite' in line:
parts = line.split('apical_dendrite[')
new_ls += parts[0] + 'apic[' + str(apical_dendriteEnd + total_user5) + parts[1][parts[1].index(']'):]
elif 'template' in line:
new_ls += line.replace(name, name + 'Mod')
else:
new_ls += line
f.close()
f1 = open(name + 'Mod.hoc', 'w')
f1.write(new_ls)
f1.close() |
"""
"""
data = """dataone: 81070
arxiv_oai: 72681
crossref: 71312
pubmed: 47506
figshare: 36462
scitech: 18362
clinicaltrials: 10244
plos: 9555
mit: 2488
vtech: 713
cmu: 601
columbia: 386
calpoly: 377
opensiuc: 293
doepages: 123
stcloud: 47
spdataverse: 40
trinity: 32
texasstate: 31
valposcholar: 26
utaustin: 13
uwashington: 12
uiucideals: 6
ucescholarship: 0
upennsylvania: 0
utaustin: 0
waynestate: 0"""
def return_providers(provider_data=None):
if not provider_data:
provider_data = data
providers = []
lines = provider_data.split('\n')
for line in lines:
if line != '':
line_split = line.split(':')
provider = line_split[0]
providers.append(provider)
return providers | """
"""
data = 'dataone: 81070\n\narxiv_oai: 72681\n\ncrossref: 71312\n\npubmed: 47506\n\nfigshare: 36462\n\nscitech: 18362\n\nclinicaltrials: 10244\n\nplos: 9555\n\nmit: 2488\n\nvtech: 713\n\ncmu: 601\n\ncolumbia: 386\n\ncalpoly: 377\n\nopensiuc: 293\n\ndoepages: 123\n\nstcloud: 47\n\nspdataverse: 40\n\ntrinity: 32\n\ntexasstate: 31\n\nvalposcholar: 26\n\nutaustin: 13\n\nuwashington: 12\n\nuiucideals: 6\n\nucescholarship: 0\n\nupennsylvania: 0\n\nutaustin: 0\n\nwaynestate: 0'
def return_providers(provider_data=None):
if not provider_data:
provider_data = data
providers = []
lines = provider_data.split('\n')
for line in lines:
if line != '':
line_split = line.split(':')
provider = line_split[0]
providers.append(provider)
return providers |
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'Automated Action Rules',
'version': '1.0',
'category': 'Sales/Sales',
'description': """
This module allows to implement action rules for any object.
============================================================
Use automated actions to automatically trigger actions for various screens.
**Example:** A lead created by a specific user may be automatically set to a specific
Sales Team, or an opportunity which still has status pending after 14 days might
trigger an automatic reminder email.
""",
'depends': ['base', 'resource', 'mail'],
'data': [
'security/ir.model.access.csv',
'data/base_automation_data.xml',
'views/base_automation_view.xml',
],
'demo': [
'data/base_automation_demo.xml',
],
'license': 'LGPL-3',
}
| {'name': 'Automated Action Rules', 'version': '1.0', 'category': 'Sales/Sales', 'description': '\nThis module allows to implement action rules for any object.\n============================================================\n\nUse automated actions to automatically trigger actions for various screens.\n\n**Example:** A lead created by a specific user may be automatically set to a specific\nSales Team, or an opportunity which still has status pending after 14 days might\ntrigger an automatic reminder email.\n ', 'depends': ['base', 'resource', 'mail'], 'data': ['security/ir.model.access.csv', 'data/base_automation_data.xml', 'views/base_automation_view.xml'], 'demo': ['data/base_automation_demo.xml'], 'license': 'LGPL-3'} |
#!/usr/bin/env python
command += maketx("../common/textures/mandrill.tif --wrap clamp -o mandrill.tx")
command += testshade("-g 64 64 --center -od uint8 -o Cblack black.tif -o Cclamp clamp.tif -o Cperiodic periodic.tif -o Cmirror mirror.tif -o Cdefault default.tif test")
outputs = [ "out.txt", "black.tif", "clamp.tif", "periodic.tif", "mirror.tif",
"default.tif" ]
| command += maketx('../common/textures/mandrill.tif --wrap clamp -o mandrill.tx')
command += testshade('-g 64 64 --center -od uint8 -o Cblack black.tif -o Cclamp clamp.tif -o Cperiodic periodic.tif -o Cmirror mirror.tif -o Cdefault default.tif test')
outputs = ['out.txt', 'black.tif', 'clamp.tif', 'periodic.tif', 'mirror.tif', 'default.tif'] |
#!usr/bin/env python
#-*- coding:utf-8 -*-
class Model(object):
"""
DNN LM
"""
def __init__(self, model_path):
pass
def score(self, sentence):
pass
def PPL(self, sentence):
pass
| class Model(object):
"""
DNN LM
"""
def __init__(self, model_path):
pass
def score(self, sentence):
pass
def ppl(self, sentence):
pass |
"""
This is the PyTurbSim package. For more information visit the `PyTurbSim home page <http://lkilcher.github.io/pyTurbSim/>`_.
"""
#from api import *
| """
This is the PyTurbSim package. For more information visit the `PyTurbSim home page <http://lkilcher.github.io/pyTurbSim/>`_.
""" |
class Solution(object):
def findDuplicates(self, nums):
"""
:type nums: List[int]
:rtype: List[int]
"""
return self.noExtraSpace(nums)
def extraSpace(self, nums):
count = {}
for i in range(len(nums)):
count[nums[i]] = count.setdefault(nums[i], 0) + 1
return [num for num in count.keys() if count[num] > 1]
def noExtraSpace(self, nums):
for num in nums:
idx = abs(num) - 1
nums[idx] = -abs(nums[idx])
for num in nums:
idx = abs(num) - 1
nums[idx] = -nums[idx]
return [i + 1 for i in range(len(nums)) if nums[i] < 0] | class Solution(object):
def find_duplicates(self, nums):
"""
:type nums: List[int]
:rtype: List[int]
"""
return self.noExtraSpace(nums)
def extra_space(self, nums):
count = {}
for i in range(len(nums)):
count[nums[i]] = count.setdefault(nums[i], 0) + 1
return [num for num in count.keys() if count[num] > 1]
def no_extra_space(self, nums):
for num in nums:
idx = abs(num) - 1
nums[idx] = -abs(nums[idx])
for num in nums:
idx = abs(num) - 1
nums[idx] = -nums[idx]
return [i + 1 for i in range(len(nums)) if nums[i] < 0] |
# You are given two non-empty linked lists representing two non-negative integers.
# The digits are stored in reverse order and each of their nodes contain a single digit.
# Add the two numbers and return it as a linked list.
# You may assume the two numbers do not contain any leading zero, except the number 0 itself.
# Example:
# Input: (2 -> 4 -> 3) + (5 -> 6 -> 4)
# Output: 7 -> 0 -> 8
# Explanation: 342 + 465 = 807.
class ListNode:
def __init__(self, x):
self.val = x
self.next = None
class Solution:
def addTwoNumbers(self, l1: ListNode, l2: ListNode) -> ListNode:
num1, num2 = 0, 0
i, j = 0, 0
while l1:
num1 += l1.val * (10 ** i)
i += 1
l1 = l1.next
while l2:
num2 += l2.val * (10 ** j)
j += 1
l2 = l2.next
num = num1 + num2
head = ListNode(num % 10)
num = num // 10
cur = head
while num != 0:
cur.next = ListNode(num % 10)
cur = cur.next
num = num // 10
return head
| class Listnode:
def __init__(self, x):
self.val = x
self.next = None
class Solution:
def add_two_numbers(self, l1: ListNode, l2: ListNode) -> ListNode:
(num1, num2) = (0, 0)
(i, j) = (0, 0)
while l1:
num1 += l1.val * 10 ** i
i += 1
l1 = l1.next
while l2:
num2 += l2.val * 10 ** j
j += 1
l2 = l2.next
num = num1 + num2
head = list_node(num % 10)
num = num // 10
cur = head
while num != 0:
cur.next = list_node(num % 10)
cur = cur.next
num = num // 10
return head |
source_data = 'day17/input.txt'
with open(source_data, 'r') as f:
input = [x.replace('\n', '') for x in f.readlines()]
target = [[int(y) for y in x.split('=')[1].split('..')] for x in input[0].split(',')]
x = target[0]
y = target[1]
options = {}
testing_velocities = range(-200, 200)
for x_test in testing_velocities:
for y_test in testing_velocities:
current_velocity = [x_test, y_test]
current_location = [0, 0]
max_y = 0
while current_location[1] >= y[0]:
current_location = list(map(sum, zip(current_velocity, current_location)))
current_velocity[0] = max(0, current_velocity[0] - 1)
current_velocity[1] = current_velocity[1] - 1
max_y = max(max_y, current_location[1])
if (current_location[0] <= x[1]) and \
(current_location[0] >= x[0]) and \
(current_location[1] <= y[1]) and \
(current_location[1] >= y[0]):
options[(x_test, y_test)] = max_y
break
max_x = max([x[0] for x in options.keys()])
max_y = max([x[1] for x in options.keys()])
print(len(options))
# > 394
| source_data = 'day17/input.txt'
with open(source_data, 'r') as f:
input = [x.replace('\n', '') for x in f.readlines()]
target = [[int(y) for y in x.split('=')[1].split('..')] for x in input[0].split(',')]
x = target[0]
y = target[1]
options = {}
testing_velocities = range(-200, 200)
for x_test in testing_velocities:
for y_test in testing_velocities:
current_velocity = [x_test, y_test]
current_location = [0, 0]
max_y = 0
while current_location[1] >= y[0]:
current_location = list(map(sum, zip(current_velocity, current_location)))
current_velocity[0] = max(0, current_velocity[0] - 1)
current_velocity[1] = current_velocity[1] - 1
max_y = max(max_y, current_location[1])
if current_location[0] <= x[1] and current_location[0] >= x[0] and (current_location[1] <= y[1]) and (current_location[1] >= y[0]):
options[x_test, y_test] = max_y
break
max_x = max([x[0] for x in options.keys()])
max_y = max([x[1] for x in options.keys()])
print(len(options)) |
def strip_name_amount(arg: str):
"""
Strip the name and the last position integer
Args:
arg: string
Returns:
string and integer with the default value 1
"""
strings = arg.split()
try:
first = ' '.join(strings[:-1])
second = int(strings[-1])
except (ValueError, IndexError):
first = ' '.join(strings)
second = 1
return first, second
| def strip_name_amount(arg: str):
"""
Strip the name and the last position integer
Args:
arg: string
Returns:
string and integer with the default value 1
"""
strings = arg.split()
try:
first = ' '.join(strings[:-1])
second = int(strings[-1])
except (ValueError, IndexError):
first = ' '.join(strings)
second = 1
return (first, second) |
atributes = [
{"name":"color", "value":{'amarillo': 0, 'morado': 1, 'azul': 2, 'verde': 3, 'naranja': 4, 'rojo': 5}},
{"name":"size", "value":{'m': 2, 's': 1, 'xxl': 5, 'xs': 0, 'l': 3, 'xl': 4}},
{"name":"brand", "value":{'blue': 0, 'polo': 1, 'adidas': 2, 'zara': 3, 'nike': 4}},
{"name": "precio", "value": {2333: 0, 11000: 1, 4569: 2, 14000: 3, 4789: 4, 4444: 5, 8889: 6, 1540: 7, 4447: 8, 4558: 9, 9500: 10, 15000: 11, 10000: 12}}
]
products = [
{
"id": 1,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "blue",
"precio": 2333
}
},
{
"id": 2,
"atrr": {
"color": "morado",
"size": "m",
"brand": "polo",
"precio": 11000
}
},
{
"id": 3,
"atrr": {
"color": "azul",
"size": "s",
"brand": "adidas",
"precio": 4569
}
},
{
"id": 4,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "blue",
"precio": 14000
}
},
{
"id": 5,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "zara",
"precio": 4789
}
},
{
"id": 6,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "nike",
"precio": 4789
}
},
{
"id": 7,
"atrr": {
"color": "morado",
"size": "l",
"brand": "blue",
"precio": 4444
}
},
{
"id": 8,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "adidas",
"precio": 14000
}
},
{
"id": 9,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 8889
}
},
{
"id": 10,
"atrr": {
"color": "verde",
"size": "s",
"brand": "zara",
"precio": 4789
}
},
{
"id": 11,
"atrr": {
"color": "verde",
"size": "s",
"brand": "polo",
"precio": 4444
}
},
{
"id": 12,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 1540
}
},
{
"id": 13,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "nike",
"precio": 4447
}
},
{
"id": 14,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 15,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 4447
}
},
{
"id": 16,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "blue",
"precio": 4569
}
},
{
"id": 17,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "blue",
"precio": 4558
}
},
{
"id": 18,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "zara",
"precio": 11000
}
},
{
"id": 19,
"atrr": {
"color": "verde",
"size": "m",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 20,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "nike",
"precio": 8889
}
},
{
"id": 21,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 22,
"atrr": {
"color": "verde",
"size": "m",
"brand": "zara",
"precio": 2333
}
},
{
"id": 23,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 24,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "polo",
"precio": 9500
}
},
{
"id": 25,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 26,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 27,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "blue",
"precio": 14000
}
},
{
"id": 28,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "blue",
"precio": 8889
}
},
{
"id": 29,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 30,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "adidas",
"precio": 9500
}
},
{
"id": 31,
"atrr": {
"color": "verde",
"size": "m",
"brand": "blue",
"precio": 4558
}
},
{
"id": 32,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "nike",
"precio": 4558
}
},
{
"id": 33,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "blue",
"precio": 4447
}
},
{
"id": 34,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "polo",
"precio": 1540
}
},
{
"id": 35,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "adidas",
"precio": 2333
}
},
{
"id": 36,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "polo",
"precio": 4558
}
},
{
"id": 37,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "zara",
"precio": 9500
}
},
{
"id": 38,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "zara",
"precio": 2333
}
},
{
"id": 39,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "polo",
"precio": 11000
}
},
{
"id": 40,
"atrr": {
"color": "morado",
"size": "s",
"brand": "adidas",
"precio": 2333
}
},
{
"id": 41,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "blue",
"precio": 4444
}
},
{
"id": 42,
"atrr": {
"color": "verde",
"size": "s",
"brand": "blue",
"precio": 4558
}
},
{
"id": 43,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "nike",
"precio": 8889
}
},
{
"id": 44,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "zara",
"precio": 11000
}
},
{
"id": 45,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "polo",
"precio": 14000
}
},
{
"id": 46,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "polo",
"precio": 4789
}
},
{
"id": 47,
"atrr": {
"color": "verde",
"size": "s",
"brand": "nike",
"precio": 2333
}
},
{
"id": 48,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "nike",
"precio": 1540
}
},
{
"id": 49,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "polo",
"precio": 10000
}
},
{
"id": 50,
"atrr": {
"color": "azul",
"size": "s",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 51,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 52,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "polo",
"precio": 4444
}
},
{
"id": 53,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "nike",
"precio": 2333
}
},
{
"id": 54,
"atrr": {
"color": "morado",
"size": "m",
"brand": "nike",
"precio": 8889
}
},
{
"id": 55,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "adidas",
"precio": 9500
}
},
{
"id": 56,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 57,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "blue",
"precio": 4569
}
},
{
"id": 58,
"atrr": {
"color": "verde",
"size": "s",
"brand": "zara",
"precio": 4444
}
},
{
"id": 59,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "nike",
"precio": 10000
}
},
{
"id": 60,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "blue",
"precio": 2333
}
},
{
"id": 61,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "zara",
"precio": 2333
}
},
{
"id": 62,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "blue",
"precio": 10000
}
},
{
"id": 63,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "blue",
"precio": 4569
}
},
{
"id": 64,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "nike",
"precio": 10000
}
},
{
"id": 65,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "polo",
"precio": 4447
}
},
{
"id": 66,
"atrr": {
"color": "morado",
"size": "s",
"brand": "nike",
"precio": 4789
}
},
{
"id": 67,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "polo",
"precio": 4447
}
},
{
"id": 68,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 69,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "zara",
"precio": 9500
}
},
{
"id": 70,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "blue",
"precio": 1540
}
},
{
"id": 71,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "zara",
"precio": 15000
}
},
{
"id": 72,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "nike",
"precio": 8889
}
},
{
"id": 73,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "nike",
"precio": 4444
}
},
{
"id": 74,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "nike",
"precio": 1540
}
},
{
"id": 75,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "polo",
"precio": 15000
}
},
{
"id": 76,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 77,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "polo",
"precio": 15000
}
},
{
"id": 78,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "nike",
"precio": 15000
}
},
{
"id": 79,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "blue",
"precio": 4558
}
},
{
"id": 80,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 81,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 4447
}
},
{
"id": 82,
"atrr": {
"color": "morado",
"size": "l",
"brand": "blue",
"precio": 8889
}
},
{
"id": 83,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "zara",
"precio": 4789
}
},
{
"id": 84,
"atrr": {
"color": "azul",
"size": "l",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 85,
"atrr": {
"color": "verde",
"size": "s",
"brand": "zara",
"precio": 15000
}
},
{
"id": 86,
"atrr": {
"color": "azul",
"size": "m",
"brand": "nike",
"precio": 1540
}
},
{
"id": 87,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "nike",
"precio": 8889
}
},
{
"id": 88,
"atrr": {
"color": "morado",
"size": "s",
"brand": "zara",
"precio": 10000
}
},
{
"id": 89,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 90,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "polo",
"precio": 15000
}
},
{
"id": 91,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "zara",
"precio": 8889
}
},
{
"id": 92,
"atrr": {
"color": "verde",
"size": "s",
"brand": "zara",
"precio": 4447
}
},
{
"id": 93,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 94,
"atrr": {
"color": "verde",
"size": "l",
"brand": "zara",
"precio": 11000
}
},
{
"id": 95,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 96,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "nike",
"precio": 4447
}
},
{
"id": 97,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 98,
"atrr": {
"color": "azul",
"size": "s",
"brand": "nike",
"precio": 9500
}
},
{
"id": 99,
"atrr": {
"color": "morado",
"size": "s",
"brand": "polo",
"precio": 8889
}
},
{
"id": 100,
"atrr": {
"color": "verde",
"size": "l",
"brand": "nike",
"precio": 2333
}
},
{
"id": 101,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "blue",
"precio": 4789
}
},
{
"id": 102,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 103,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "nike",
"precio": 15000
}
},
{
"id": 104,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "polo",
"precio": 4447
}
},
{
"id": 105,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "zara",
"precio": 4558
}
},
{
"id": 106,
"atrr": {
"color": "azul",
"size": "s",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 107,
"atrr": {
"color": "verde",
"size": "s",
"brand": "blue",
"precio": 11000
}
},
{
"id": 108,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 9500
}
},
{
"id": 109,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "nike",
"precio": 15000
}
},
{
"id": 110,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "zara",
"precio": 9500
}
},
{
"id": 111,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "nike",
"precio": 8889
}
},
{
"id": 112,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 113,
"atrr": {
"color": "verde",
"size": "m",
"brand": "nike",
"precio": 14000
}
},
{
"id": 114,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "polo",
"precio": 11000
}
},
{
"id": 115,
"atrr": {
"color": "morado",
"size": "s",
"brand": "blue",
"precio": 2333
}
},
{
"id": 116,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 117,
"atrr": {
"color": "azul",
"size": "m",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 118,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "zara",
"precio": 4558
}
},
{
"id": 119,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "polo",
"precio": 4789
}
},
{
"id": 120,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 121,
"atrr": {
"color": "morado",
"size": "s",
"brand": "nike",
"precio": 14000
}
},
{
"id": 122,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "zara",
"precio": 9500
}
},
{
"id": 123,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 124,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "polo",
"precio": 4444
}
},
{
"id": 125,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "adidas",
"precio": 14000
}
},
{
"id": 126,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "zara",
"precio": 11000
}
},
{
"id": 127,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "zara",
"precio": 9500
}
},
{
"id": 128,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "polo",
"precio": 9500
}
},
{
"id": 129,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 15000
}
},
{
"id": 130,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 131,
"atrr": {
"color": "rojo",
"size": "m",
"brand": "zara",
"precio": 4569
}
},
{
"id": 132,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "nike",
"precio": 4444
}
},
{
"id": 133,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 134,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "polo",
"precio": 9500
}
},
{
"id": 135,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "zara",
"precio": 8889
}
},
{
"id": 136,
"atrr": {
"color": "verde",
"size": "l",
"brand": "zara",
"precio": 2333
}
},
{
"id": 137,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 138,
"atrr": {
"color": "verde",
"size": "s",
"brand": "zara",
"precio": 4789
}
},
{
"id": 139,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "zara",
"precio": 8889
}
},
{
"id": 140,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "polo",
"precio": 14000
}
},
{
"id": 141,
"atrr": {
"color": "azul",
"size": "m",
"brand": "nike",
"precio": 4569
}
},
{
"id": 142,
"atrr": {
"color": "azul",
"size": "m",
"brand": "blue",
"precio": 4569
}
},
{
"id": 143,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 144,
"atrr": {
"color": "verde",
"size": "s",
"brand": "polo",
"precio": 15000
}
},
{
"id": 145,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "polo",
"precio": 8889
}
},
{
"id": 146,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "blue",
"precio": 8889
}
},
{
"id": 147,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "zara",
"precio": 4569
}
},
{
"id": 148,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "polo",
"precio": 10000
}
},
{
"id": 149,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "zara",
"precio": 14000
}
},
{
"id": 150,
"atrr": {
"color": "verde",
"size": "m",
"brand": "polo",
"precio": 10000
}
},
{
"id": 151,
"atrr": {
"color": "morado",
"size": "m",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 152,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 153,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "polo",
"precio": 8889
}
},
{
"id": 154,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 14000
}
},
{
"id": 155,
"atrr": {
"color": "azul",
"size": "l",
"brand": "blue",
"precio": 2333
}
},
{
"id": 156,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 8889
}
},
{
"id": 157,
"atrr": {
"color": "verde",
"size": "s",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 158,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "nike",
"precio": 11000
}
},
{
"id": 159,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "zara",
"precio": 4789
}
},
{
"id": 160,
"atrr": {
"color": "morado",
"size": "m",
"brand": "blue",
"precio": 4444
}
},
{
"id": 161,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "nike",
"precio": 11000
}
},
{
"id": 162,
"atrr": {
"color": "verde",
"size": "m",
"brand": "nike",
"precio": 14000
}
},
{
"id": 163,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "adidas",
"precio": 2333
}
},
{
"id": 164,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "blue",
"precio": 1540
}
},
{
"id": 165,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "nike",
"precio": 4444
}
},
{
"id": 166,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 4569
}
},
{
"id": 167,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "nike",
"precio": 1540
}
},
{
"id": 168,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "blue",
"precio": 4444
}
},
{
"id": 169,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 15000
}
},
{
"id": 170,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "polo",
"precio": 14000
}
},
{
"id": 171,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "blue",
"precio": 1540
}
},
{
"id": 172,
"atrr": {
"color": "verde",
"size": "s",
"brand": "nike",
"precio": 4558
}
},
{
"id": 173,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "nike",
"precio": 14000
}
},
{
"id": 174,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "zara",
"precio": 4447
}
},
{
"id": 175,
"atrr": {
"color": "azul",
"size": "s",
"brand": "zara",
"precio": 4444
}
},
{
"id": 176,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "polo",
"precio": 9500
}
},
{
"id": 177,
"atrr": {
"color": "morado",
"size": "s",
"brand": "blue",
"precio": 8889
}
},
{
"id": 178,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 179,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 180,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "adidas",
"precio": 4569
}
},
{
"id": 181,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 182,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "zara",
"precio": 4444
}
},
{
"id": 183,
"atrr": {
"color": "azul",
"size": "l",
"brand": "nike",
"precio": 4789
}
},
{
"id": 184,
"atrr": {
"color": "verde",
"size": "m",
"brand": "polo",
"precio": 2333
}
},
{
"id": 185,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "polo",
"precio": 4789
}
},
{
"id": 186,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "blue",
"precio": 4558
}
},
{
"id": 187,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "zara",
"precio": 4447
}
},
{
"id": 188,
"atrr": {
"color": "azul",
"size": "m",
"brand": "zara",
"precio": 9500
}
},
{
"id": 189,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "polo",
"precio": 4569
}
},
{
"id": 190,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "blue",
"precio": 4447
}
},
{
"id": 191,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "nike",
"precio": 11000
}
},
{
"id": 192,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "nike",
"precio": 4447
}
},
{
"id": 193,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "polo",
"precio": 15000
}
},
{
"id": 194,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "polo",
"precio": 9500
}
},
{
"id": 195,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "blue",
"precio": 4789
}
},
{
"id": 196,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "zara",
"precio": 4444
}
},
{
"id": 197,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "zara",
"precio": 4447
}
},
{
"id": 198,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 4447
}
},
{
"id": 199,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 200,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "polo",
"precio": 8889
}
},
{
"id": 201,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "blue",
"precio": 8889
}
},
{
"id": 202,
"atrr": {
"color": "azul",
"size": "m",
"brand": "zara",
"precio": 4569
}
},
{
"id": 203,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "zara",
"precio": 4569
}
},
{
"id": 204,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "nike",
"precio": 1540
}
},
{
"id": 205,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "nike",
"precio": 2333
}
},
{
"id": 206,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 207,
"atrr": {
"color": "azul",
"size": "l",
"brand": "zara",
"precio": 10000
}
},
{
"id": 208,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "zara",
"precio": 1540
}
},
{
"id": 209,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "zara",
"precio": 14000
}
},
{
"id": 210,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 211,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "zara",
"precio": 4558
}
},
{
"id": 212,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 213,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 4444
}
},
{
"id": 214,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "nike",
"precio": 1540
}
},
{
"id": 215,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "polo",
"precio": 15000
}
},
{
"id": 216,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 217,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "polo",
"precio": 11000
}
},
{
"id": 218,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "zara",
"precio": 4558
}
},
{
"id": 219,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "nike",
"precio": 4558
}
},
{
"id": 220,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "blue",
"precio": 1540
}
},
{
"id": 221,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "blue",
"precio": 2333
}
},
{
"id": 222,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "nike",
"precio": 2333
}
},
{
"id": 223,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "polo",
"precio": 4558
}
},
{
"id": 224,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "blue",
"precio": 14000
}
},
{
"id": 225,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "nike",
"precio": 4444
}
},
{
"id": 226,
"atrr": {
"color": "verde",
"size": "l",
"brand": "polo",
"precio": 4447
}
},
{
"id": 227,
"atrr": {
"color": "verde",
"size": "l",
"brand": "zara",
"precio": 11000
}
},
{
"id": 228,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "blue",
"precio": 1540
}
},
{
"id": 229,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 230,
"atrr": {
"color": "azul",
"size": "m",
"brand": "nike",
"precio": 8889
}
},
{
"id": 231,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "blue",
"precio": 4789
}
},
{
"id": 232,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "nike",
"precio": 4447
}
},
{
"id": 233,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "zara",
"precio": 4447
}
},
{
"id": 234,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 235,
"atrr": {
"color": "azul",
"size": "s",
"brand": "nike",
"precio": 15000
}
},
{
"id": 236,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "zara",
"precio": 4569
}
},
{
"id": 237,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 4569
}
},
{
"id": 238,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "zara",
"precio": 14000
}
},
{
"id": 239,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 14000
}
},
{
"id": 240,
"atrr": {
"color": "azul",
"size": "s",
"brand": "zara",
"precio": 4558
}
},
{
"id": 241,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "adidas",
"precio": 4569
}
},
{
"id": 242,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 243,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "polo",
"precio": 14000
}
},
{
"id": 244,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 245,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "polo",
"precio": 8889
}
},
{
"id": 246,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "polo",
"precio": 8889
}
},
{
"id": 247,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "blue",
"precio": 4789
}
},
{
"id": 248,
"atrr": {
"color": "azul",
"size": "l",
"brand": "polo",
"precio": 4789
}
},
{
"id": 249,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "zara",
"precio": 4789
}
},
{
"id": 250,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 251,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 252,
"atrr": {
"color": "morado",
"size": "m",
"brand": "zara",
"precio": 4444
}
},
{
"id": 253,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "polo",
"precio": 2333
}
},
{
"id": 254,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "nike",
"precio": 4447
}
},
{
"id": 255,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 9500
}
},
{
"id": 256,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "polo",
"precio": 4447
}
},
{
"id": 257,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "polo",
"precio": 4444
}
},
{
"id": 258,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "blue",
"precio": 4569
}
},
{
"id": 259,
"atrr": {
"color": "azul",
"size": "m",
"brand": "blue",
"precio": 14000
}
},
{
"id": 260,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 10000
}
},
{
"id": 261,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "polo",
"precio": 2333
}
},
{
"id": 262,
"atrr": {
"color": "verde",
"size": "s",
"brand": "polo",
"precio": 4447
}
},
{
"id": 263,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "blue",
"precio": 4558
}
},
{
"id": 264,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "nike",
"precio": 4789
}
},
{
"id": 265,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "blue",
"precio": 14000
}
},
{
"id": 266,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "polo",
"precio": 4444
}
},
{
"id": 267,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "zara",
"precio": 2333
}
},
{
"id": 268,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "zara",
"precio": 8889
}
},
{
"id": 269,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "blue",
"precio": 8889
}
},
{
"id": 270,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 271,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 272,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "blue",
"precio": 4447
}
},
{
"id": 273,
"atrr": {
"color": "morado",
"size": "m",
"brand": "zara",
"precio": 4569
}
},
{
"id": 274,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 4558
}
},
{
"id": 275,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "polo",
"precio": 4447
}
},
{
"id": 276,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "nike",
"precio": 15000
}
},
{
"id": 277,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "nike",
"precio": 4569
}
},
{
"id": 278,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "nike",
"precio": 11000
}
},
{
"id": 279,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "polo",
"precio": 4569
}
},
{
"id": 280,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 281,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "nike",
"precio": 14000
}
},
{
"id": 282,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "polo",
"precio": 4558
}
},
{
"id": 283,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 9500
}
},
{
"id": 284,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 285,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "adidas",
"precio": 2333
}
},
{
"id": 286,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 287,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "zara",
"precio": 9500
}
},
{
"id": 288,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "nike",
"precio": 14000
}
},
{
"id": 289,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "blue",
"precio": 4447
}
},
{
"id": 290,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 291,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "polo",
"precio": 11000
}
},
{
"id": 292,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "blue",
"precio": 11000
}
},
{
"id": 293,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "zara",
"precio": 8889
}
},
{
"id": 294,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "polo",
"precio": 1540
}
},
{
"id": 295,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "nike",
"precio": 1540
}
},
{
"id": 296,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "polo",
"precio": 8889
}
},
{
"id": 297,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 298,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 4569
}
},
{
"id": 299,
"atrr": {
"color": "verde",
"size": "l",
"brand": "blue",
"precio": 8889
}
},
{
"id": 300,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "blue",
"precio": 11000
}
},
{
"id": 301,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "nike",
"precio": 4447
}
},
{
"id": 302,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "nike",
"precio": 4789
}
},
{
"id": 303,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "blue",
"precio": 9500
}
},
{
"id": 304,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "zara",
"precio": 9500
}
},
{
"id": 305,
"atrr": {
"color": "morado",
"size": "m",
"brand": "zara",
"precio": 4569
}
},
{
"id": 306,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "polo",
"precio": 4569
}
},
{
"id": 307,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "polo",
"precio": 4789
}
},
{
"id": 308,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "zara",
"precio": 10000
}
},
{
"id": 309,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 8889
}
},
{
"id": 310,
"atrr": {
"color": "rojo",
"size": "m",
"brand": "zara",
"precio": 4444
}
},
{
"id": 311,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 312,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "polo",
"precio": 4569
}
},
{
"id": 313,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "blue",
"precio": 10000
}
},
{
"id": 314,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 315,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "zara",
"precio": 11000
}
},
{
"id": 316,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 15000
}
},
{
"id": 317,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 318,
"atrr": {
"color": "morado",
"size": "m",
"brand": "nike",
"precio": 11000
}
},
{
"id": 319,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "nike",
"precio": 4569
}
},
{
"id": 320,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "nike",
"precio": 2333
}
},
{
"id": 321,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "zara",
"precio": 4789
}
},
{
"id": 322,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "nike",
"precio": 4789
}
},
{
"id": 323,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "polo",
"precio": 10000
}
},
{
"id": 324,
"atrr": {
"color": "morado",
"size": "s",
"brand": "blue",
"precio": 4447
}
},
{
"id": 325,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 326,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "zara",
"precio": 4569
}
},
{
"id": 327,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "adidas",
"precio": 9500
}
},
{
"id": 328,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "zara",
"precio": 14000
}
},
{
"id": 329,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "adidas",
"precio": 4569
}
},
{
"id": 330,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "polo",
"precio": 4447
}
},
{
"id": 331,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "blue",
"precio": 2333
}
},
{
"id": 332,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "blue",
"precio": 8889
}
},
{
"id": 333,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "blue",
"precio": 4444
}
},
{
"id": 334,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "nike",
"precio": 4447
}
},
{
"id": 335,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "blue",
"precio": 10000
}
},
{
"id": 336,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "blue",
"precio": 10000
}
},
{
"id": 337,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "polo",
"precio": 2333
}
},
{
"id": 338,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "polo",
"precio": 1540
}
},
{
"id": 339,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "nike",
"precio": 8889
}
},
{
"id": 340,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "blue",
"precio": 11000
}
},
{
"id": 341,
"atrr": {
"color": "morado",
"size": "l",
"brand": "blue",
"precio": 8889
}
},
{
"id": 342,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "polo",
"precio": 4447
}
},
{
"id": 343,
"atrr": {
"color": "morado",
"size": "m",
"brand": "polo",
"precio": 15000
}
},
{
"id": 344,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "nike",
"precio": 9500
}
},
{
"id": 345,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "polo",
"precio": 4444
}
},
{
"id": 346,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 347,
"atrr": {
"color": "morado",
"size": "m",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 348,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "adidas",
"precio": 4569
}
},
{
"id": 349,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "blue",
"precio": 1540
}
},
{
"id": 350,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "blue",
"precio": 4789
}
},
{
"id": 351,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "polo",
"precio": 11000
}
},
{
"id": 352,
"atrr": {
"color": "azul",
"size": "m",
"brand": "polo",
"precio": 4444
}
},
{
"id": 353,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "nike",
"precio": 4558
}
},
{
"id": 354,
"atrr": {
"color": "azul",
"size": "s",
"brand": "polo",
"precio": 4569
}
},
{
"id": 355,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "nike",
"precio": 4558
}
},
{
"id": 356,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "blue",
"precio": 14000
}
},
{
"id": 357,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "nike",
"precio": 4789
}
},
{
"id": 358,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 15000
}
},
{
"id": 359,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "blue",
"precio": 8889
}
},
{
"id": 360,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "polo",
"precio": 1540
}
},
{
"id": 361,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "nike",
"precio": 2333
}
},
{
"id": 362,
"atrr": {
"color": "azul",
"size": "s",
"brand": "nike",
"precio": 11000
}
},
{
"id": 363,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "zara",
"precio": 1540
}
},
{
"id": 364,
"atrr": {
"color": "verde",
"size": "l",
"brand": "zara",
"precio": 10000
}
},
{
"id": 365,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 4444
}
},
{
"id": 366,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "zara",
"precio": 1540
}
},
{
"id": 367,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "zara",
"precio": 8889
}
},
{
"id": 368,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 369,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 370,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "blue",
"precio": 4569
}
},
{
"id": 371,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "blue",
"precio": 1540
}
},
{
"id": 372,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "zara",
"precio": 1540
}
},
{
"id": 373,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "zara",
"precio": 4789
}
},
{
"id": 374,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "blue",
"precio": 2333
}
},
{
"id": 375,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "nike",
"precio": 11000
}
},
{
"id": 376,
"atrr": {
"color": "morado",
"size": "l",
"brand": "adidas",
"precio": 14000
}
},
{
"id": 377,
"atrr": {
"color": "azul",
"size": "l",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 378,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "zara",
"precio": 15000
}
},
{
"id": 379,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "adidas",
"precio": 9500
}
},
{
"id": 380,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "adidas",
"precio": 4569
}
},
{
"id": 381,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "blue",
"precio": 14000
}
},
{
"id": 382,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "zara",
"precio": 4444
}
},
{
"id": 383,
"atrr": {
"color": "azul",
"size": "m",
"brand": "polo",
"precio": 4447
}
},
{
"id": 384,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "polo",
"precio": 8889
}
},
{
"id": 385,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 10000
}
},
{
"id": 386,
"atrr": {
"color": "verde",
"size": "l",
"brand": "nike",
"precio": 4558
}
},
{
"id": 387,
"atrr": {
"color": "azul",
"size": "s",
"brand": "blue",
"precio": 1540
}
},
{
"id": 388,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "blue",
"precio": 1540
}
},
{
"id": 389,
"atrr": {
"color": "morado",
"size": "m",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 390,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 8889
}
},
{
"id": 391,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "polo",
"precio": 10000
}
},
{
"id": 392,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 393,
"atrr": {
"color": "azul",
"size": "l",
"brand": "polo",
"precio": 14000
}
},
{
"id": 394,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "blue",
"precio": 4447
}
},
{
"id": 395,
"atrr": {
"color": "azul",
"size": "m",
"brand": "zara",
"precio": 8889
}
},
{
"id": 396,
"atrr": {
"color": "morado",
"size": "s",
"brand": "nike",
"precio": 10000
}
},
{
"id": 397,
"atrr": {
"color": "azul",
"size": "s",
"brand": "polo",
"precio": 9500
}
},
{
"id": 398,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "polo",
"precio": 14000
}
},
{
"id": 399,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 400,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "blue",
"precio": 4558
}
},
{
"id": 401,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 402,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "polo",
"precio": 11000
}
},
{
"id": 403,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "nike",
"precio": 2333
}
},
{
"id": 404,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "blue",
"precio": 11000
}
},
{
"id": 405,
"atrr": {
"color": "verde",
"size": "m",
"brand": "zara",
"precio": 10000
}
},
{
"id": 406,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "zara",
"precio": 4789
}
},
{
"id": 407,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 408,
"atrr": {
"color": "verde",
"size": "s",
"brand": "polo",
"precio": 4558
}
},
{
"id": 409,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "zara",
"precio": 4569
}
},
{
"id": 410,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 411,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 412,
"atrr": {
"color": "azul",
"size": "l",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 413,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "polo",
"precio": 4558
}
},
{
"id": 414,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 415,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "nike",
"precio": 4558
}
},
{
"id": 416,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "adidas",
"precio": 2333
}
},
{
"id": 417,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "polo",
"precio": 4789
}
},
{
"id": 418,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 15000
}
},
{
"id": 419,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "zara",
"precio": 4447
}
},
{
"id": 420,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "adidas",
"precio": 4569
}
},
{
"id": 421,
"atrr": {
"color": "verde",
"size": "s",
"brand": "polo",
"precio": 15000
}
},
{
"id": 422,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "nike",
"precio": 4569
}
},
{
"id": 423,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 4789
}
},
{
"id": 424,
"atrr": {
"color": "morado",
"size": "m",
"brand": "nike",
"precio": 8889
}
},
{
"id": 425,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "blue",
"precio": 15000
}
},
{
"id": 426,
"atrr": {
"color": "rojo",
"size": "m",
"brand": "zara",
"precio": 15000
}
},
{
"id": 427,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 428,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "blue",
"precio": 9500
}
},
{
"id": 429,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 4447
}
},
{
"id": 430,
"atrr": {
"color": "azul",
"size": "m",
"brand": "blue",
"precio": 10000
}
},
{
"id": 431,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 432,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "polo",
"precio": 2333
}
},
{
"id": 433,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "zara",
"precio": 4447
}
},
{
"id": 434,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "blue",
"precio": 11000
}
},
{
"id": 435,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "nike",
"precio": 4789
}
},
{
"id": 436,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "polo",
"precio": 4558
}
},
{
"id": 437,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "nike",
"precio": 14000
}
},
{
"id": 438,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "blue",
"precio": 4444
}
},
{
"id": 439,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 440,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "blue",
"precio": 8889
}
},
{
"id": 441,
"atrr": {
"color": "verde",
"size": "s",
"brand": "polo",
"precio": 14000
}
},
{
"id": 442,
"atrr": {
"color": "morado",
"size": "l",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 443,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "nike",
"precio": 4444
}
},
{
"id": 444,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "zara",
"precio": 4789
}
},
{
"id": 445,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "blue",
"precio": 4447
}
},
{
"id": 446,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "blue",
"precio": 4569
}
},
{
"id": 447,
"atrr": {
"color": "verde",
"size": "l",
"brand": "blue",
"precio": 11000
}
},
{
"id": 448,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 449,
"atrr": {
"color": "azul",
"size": "l",
"brand": "adidas",
"precio": 2333
}
},
{
"id": 450,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "blue",
"precio": 4447
}
},
{
"id": 451,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 452,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "blue",
"precio": 4447
}
},
{
"id": 453,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 454,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 455,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "nike",
"precio": 4789
}
},
{
"id": 456,
"atrr": {
"color": "verde",
"size": "s",
"brand": "blue",
"precio": 4789
}
},
{
"id": 457,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "blue",
"precio": 4447
}
},
{
"id": 458,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 4569
}
},
{
"id": 459,
"atrr": {
"color": "azul",
"size": "l",
"brand": "polo",
"precio": 14000
}
},
{
"id": 460,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "zara",
"precio": 4558
}
},
{
"id": 461,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 462,
"atrr": {
"color": "azul",
"size": "s",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 463,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "blue",
"precio": 2333
}
},
{
"id": 464,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "polo",
"precio": 4558
}
},
{
"id": 465,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "blue",
"precio": 4558
}
},
{
"id": 466,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "zara",
"precio": 4569
}
},
{
"id": 467,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 468,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "zara",
"precio": 4569
}
},
{
"id": 469,
"atrr": {
"color": "morado",
"size": "s",
"brand": "blue",
"precio": 10000
}
},
{
"id": 470,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 471,
"atrr": {
"color": "azul",
"size": "m",
"brand": "polo",
"precio": 1540
}
},
{
"id": 472,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 14000
}
},
{
"id": 473,
"atrr": {
"color": "verde",
"size": "s",
"brand": "zara",
"precio": 4444
}
},
{
"id": 474,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "nike",
"precio": 1540
}
},
{
"id": 475,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "nike",
"precio": 4447
}
},
{
"id": 476,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "blue",
"precio": 4558
}
},
{
"id": 477,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 9500
}
},
{
"id": 478,
"atrr": {
"color": "azul",
"size": "l",
"brand": "nike",
"precio": 10000
}
},
{
"id": 479,
"atrr": {
"color": "azul",
"size": "l",
"brand": "zara",
"precio": 4569
}
},
{
"id": 480,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 481,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 4569
}
},
{
"id": 482,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 483,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "polo",
"precio": 4569
}
},
{
"id": 484,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 485,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "zara",
"precio": 2333
}
},
{
"id": 486,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "polo",
"precio": 11000
}
},
{
"id": 487,
"atrr": {
"color": "morado",
"size": "l",
"brand": "blue",
"precio": 8889
}
},
{
"id": 488,
"atrr": {
"color": "verde",
"size": "s",
"brand": "zara",
"precio": 8889
}
},
{
"id": 489,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "blue",
"precio": 4444
}
},
{
"id": 490,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "zara",
"precio": 4789
}
},
{
"id": 491,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "polo",
"precio": 4569
}
},
{
"id": 492,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "blue",
"precio": 9500
}
},
{
"id": 493,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "adidas",
"precio": 4569
}
},
{
"id": 494,
"atrr": {
"color": "rojo",
"size": "m",
"brand": "zara",
"precio": 1540
}
},
{
"id": 495,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "zara",
"precio": 8889
}
},
{
"id": 496,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "blue",
"precio": 4789
}
},
{
"id": 497,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "polo",
"precio": 4444
}
},
{
"id": 498,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 499,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "zara",
"precio": 11000
}
},
{
"id": 500,
"atrr": {
"color": "azul",
"size": "s",
"brand": "zara",
"precio": 14000
}
},
{
"id": 501,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 502,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "nike",
"precio": 11000
}
},
{
"id": 503,
"atrr": {
"color": "verde",
"size": "m",
"brand": "blue",
"precio": 9500
}
},
{
"id": 504,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "adidas",
"precio": 2333
}
},
{
"id": 505,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "polo",
"precio": 4789
}
},
{
"id": 506,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "nike",
"precio": 4558
}
},
{
"id": 507,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "polo",
"precio": 4569
}
},
{
"id": 508,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "zara",
"precio": 4444
}
},
{
"id": 509,
"atrr": {
"color": "azul",
"size": "s",
"brand": "nike",
"precio": 4569
}
},
{
"id": 510,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "zara",
"precio": 4569
}
},
{
"id": 511,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "nike",
"precio": 10000
}
},
{
"id": 512,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "blue",
"precio": 10000
}
},
{
"id": 513,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "zara",
"precio": 10000
}
},
{
"id": 514,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "polo",
"precio": 14000
}
},
{
"id": 515,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "nike",
"precio": 2333
}
},
{
"id": 516,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "blue",
"precio": 8889
}
},
{
"id": 517,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "adidas",
"precio": 14000
}
},
{
"id": 518,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "polo",
"precio": 4444
}
},
{
"id": 519,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "polo",
"precio": 14000
}
},
{
"id": 520,
"atrr": {
"color": "rojo",
"size": "m",
"brand": "zara",
"precio": 2333
}
},
{
"id": 521,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "zara",
"precio": 8889
}
},
{
"id": 522,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "zara",
"precio": 14000
}
},
{
"id": 523,
"atrr": {
"color": "morado",
"size": "m",
"brand": "zara",
"precio": 4444
}
},
{
"id": 524,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "blue",
"precio": 1540
}
},
{
"id": 525,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "nike",
"precio": 11000
}
},
{
"id": 526,
"atrr": {
"color": "verde",
"size": "m",
"brand": "nike",
"precio": 8889
}
},
{
"id": 527,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "polo",
"precio": 11000
}
},
{
"id": 528,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "nike",
"precio": 9500
}
},
{
"id": 529,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "nike",
"precio": 15000
}
},
{
"id": 530,
"atrr": {
"color": "verde",
"size": "s",
"brand": "blue",
"precio": 9500
}
},
{
"id": 531,
"atrr": {
"color": "azul",
"size": "l",
"brand": "nike",
"precio": 4789
}
},
{
"id": 532,
"atrr": {
"color": "azul",
"size": "m",
"brand": "adidas",
"precio": 14000
}
},
{
"id": 533,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "nike",
"precio": 1540
}
},
{
"id": 534,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "blue",
"precio": 4558
}
},
{
"id": 535,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "polo",
"precio": 11000
}
},
{
"id": 536,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "zara",
"precio": 4444
}
},
{
"id": 537,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 538,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "blue",
"precio": 9500
}
},
{
"id": 539,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 540,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "nike",
"precio": 10000
}
},
{
"id": 541,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 542,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "adidas",
"precio": 14000
}
},
{
"id": 543,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 11000
}
},
{
"id": 544,
"atrr": {
"color": "morado",
"size": "s",
"brand": "blue",
"precio": 4447
}
},
{
"id": 545,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 4569
}
},
{
"id": 546,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "zara",
"precio": 15000
}
},
{
"id": 547,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 548,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "polo",
"precio": 9500
}
},
{
"id": 549,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "blue",
"precio": 11000
}
},
{
"id": 550,
"atrr": {
"color": "azul",
"size": "s",
"brand": "blue",
"precio": 4789
}
},
{
"id": 551,
"atrr": {
"color": "verde",
"size": "m",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 552,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "zara",
"precio": 14000
}
},
{
"id": 553,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "zara",
"precio": 8889
}
},
{
"id": 554,
"atrr": {
"color": "morado",
"size": "s",
"brand": "polo",
"precio": 4789
}
},
{
"id": 555,
"atrr": {
"color": "azul",
"size": "l",
"brand": "adidas",
"precio": 4569
}
},
{
"id": 556,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "zara",
"precio": 15000
}
},
{
"id": 557,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 15000
}
},
{
"id": 558,
"atrr": {
"color": "verde",
"size": "l",
"brand": "zara",
"precio": 4569
}
},
{
"id": 559,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "zara",
"precio": 14000
}
},
{
"id": 560,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "blue",
"precio": 9500
}
},
{
"id": 561,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "blue",
"precio": 14000
}
},
{
"id": 562,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "nike",
"precio": 4789
}
},
{
"id": 563,
"atrr": {
"color": "verde",
"size": "s",
"brand": "zara",
"precio": 4789
}
},
{
"id": 564,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "polo",
"precio": 14000
}
},
{
"id": 565,
"atrr": {
"color": "azul",
"size": "s",
"brand": "nike",
"precio": 10000
}
},
{
"id": 566,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "blue",
"precio": 4447
}
},
{
"id": 567,
"atrr": {
"color": "morado",
"size": "l",
"brand": "polo",
"precio": 4558
}
},
{
"id": 568,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "blue",
"precio": 8889
}
},
{
"id": 569,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "zara",
"precio": 10000
}
},
{
"id": 570,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "nike",
"precio": 15000
}
},
{
"id": 571,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "blue",
"precio": 4569
}
},
{
"id": 572,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "zara",
"precio": 4569
}
},
{
"id": 573,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "adidas",
"precio": 9500
}
},
{
"id": 574,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 575,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "blue",
"precio": 11000
}
},
{
"id": 576,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "blue",
"precio": 4789
}
},
{
"id": 577,
"atrr": {
"color": "morado",
"size": "s",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 578,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "nike",
"precio": 15000
}
},
{
"id": 579,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "blue",
"precio": 4444
}
},
{
"id": 580,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "zara",
"precio": 15000
}
},
{
"id": 581,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "polo",
"precio": 4569
}
},
{
"id": 582,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "nike",
"precio": 11000
}
},
{
"id": 583,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "polo",
"precio": 11000
}
},
{
"id": 584,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "nike",
"precio": 10000
}
},
{
"id": 585,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 586,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 4569
}
},
{
"id": 587,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 588,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "nike",
"precio": 15000
}
},
{
"id": 589,
"atrr": {
"color": "morado",
"size": "s",
"brand": "nike",
"precio": 4569
}
},
{
"id": 590,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 2333
}
},
{
"id": 591,
"atrr": {
"color": "verde",
"size": "l",
"brand": "zara",
"precio": 4789
}
},
{
"id": 592,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 593,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "zara",
"precio": 4569
}
},
{
"id": 594,
"atrr": {
"color": "verde",
"size": "m",
"brand": "blue",
"precio": 4444
}
},
{
"id": 595,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "zara",
"precio": 8889
}
},
{
"id": 596,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "nike",
"precio": 2333
}
},
{
"id": 597,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "polo",
"precio": 4447
}
},
{
"id": 598,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "zara",
"precio": 4444
}
},
{
"id": 599,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "nike",
"precio": 4558
}
},
{
"id": 600,
"atrr": {
"color": "azul",
"size": "l",
"brand": "blue",
"precio": 4447
}
},
{
"id": 601,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "nike",
"precio": 4569
}
},
{
"id": 602,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 14000
}
},
{
"id": 603,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "nike",
"precio": 2333
}
},
{
"id": 604,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "zara",
"precio": 15000
}
},
{
"id": 605,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "polo",
"precio": 10000
}
},
{
"id": 606,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "adidas",
"precio": 14000
}
},
{
"id": 607,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "nike",
"precio": 15000
}
},
{
"id": 608,
"atrr": {
"color": "morado",
"size": "l",
"brand": "nike",
"precio": 4447
}
},
{
"id": 609,
"atrr": {
"color": "azul",
"size": "l",
"brand": "nike",
"precio": 11000
}
},
{
"id": 610,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "nike",
"precio": 10000
}
},
{
"id": 611,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 612,
"atrr": {
"color": "azul",
"size": "s",
"brand": "nike",
"precio": 4558
}
},
{
"id": 613,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "blue",
"precio": 8889
}
},
{
"id": 614,
"atrr": {
"color": "azul",
"size": "m",
"brand": "polo",
"precio": 2333
}
},
{
"id": 615,
"atrr": {
"color": "verde",
"size": "l",
"brand": "blue",
"precio": 4558
}
},
{
"id": 616,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "nike",
"precio": 15000
}
},
{
"id": 617,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "zara",
"precio": 4569
}
},
{
"id": 618,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "zara",
"precio": 9500
}
},
{
"id": 619,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "nike",
"precio": 8889
}
},
{
"id": 620,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 9500
}
},
{
"id": 621,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "nike",
"precio": 4569
}
},
{
"id": 622,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "zara",
"precio": 4569
}
},
{
"id": 623,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "zara",
"precio": 4569
}
},
{
"id": 624,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "zara",
"precio": 4444
}
},
{
"id": 625,
"atrr": {
"color": "azul",
"size": "l",
"brand": "zara",
"precio": 15000
}
},
{
"id": 626,
"atrr": {
"color": "verde",
"size": "s",
"brand": "zara",
"precio": 4569
}
},
{
"id": 627,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "blue",
"precio": 11000
}
},
{
"id": 628,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 9500
}
},
{
"id": 629,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 630,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 631,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "blue",
"precio": 4447
}
},
{
"id": 632,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "nike",
"precio": 4569
}
},
{
"id": 633,
"atrr": {
"color": "verde",
"size": "l",
"brand": "zara",
"precio": 4447
}
},
{
"id": 634,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "blue",
"precio": 4444
}
},
{
"id": 635,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 4558
}
},
{
"id": 636,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "zara",
"precio": 14000
}
},
{
"id": 637,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "nike",
"precio": 9500
}
},
{
"id": 638,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 639,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "zara",
"precio": 9500
}
},
{
"id": 640,
"atrr": {
"color": "verde",
"size": "m",
"brand": "polo",
"precio": 4444
}
},
{
"id": 641,
"atrr": {
"color": "rojo",
"size": "m",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 642,
"atrr": {
"color": "azul",
"size": "m",
"brand": "zara",
"precio": 8889
}
},
{
"id": 643,
"atrr": {
"color": "azul",
"size": "m",
"brand": "blue",
"precio": 1540
}
},
{
"id": 644,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "nike",
"precio": 15000
}
},
{
"id": 645,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "blue",
"precio": 14000
}
},
{
"id": 646,
"atrr": {
"color": "verde",
"size": "m",
"brand": "zara",
"precio": 14000
}
},
{
"id": 647,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "polo",
"precio": 4558
}
},
{
"id": 648,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 4444
}
},
{
"id": 649,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 650,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "zara",
"precio": 9500
}
},
{
"id": 651,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "polo",
"precio": 9500
}
},
{
"id": 652,
"atrr": {
"color": "morado",
"size": "m",
"brand": "polo",
"precio": 4569
}
},
{
"id": 653,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "nike",
"precio": 4444
}
},
{
"id": 654,
"atrr": {
"color": "azul",
"size": "m",
"brand": "polo",
"precio": 8889
}
},
{
"id": 655,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 656,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "polo",
"precio": 2333
}
},
{
"id": 657,
"atrr": {
"color": "morado",
"size": "l",
"brand": "blue",
"precio": 14000
}
},
{
"id": 658,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "zara",
"precio": 4789
}
},
{
"id": 659,
"atrr": {
"color": "morado",
"size": "m",
"brand": "zara",
"precio": 4447
}
},
{
"id": 660,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "polo",
"precio": 10000
}
},
{
"id": 661,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "nike",
"precio": 15000
}
},
{
"id": 662,
"atrr": {
"color": "rojo",
"size": "m",
"brand": "nike",
"precio": 11000
}
},
{
"id": 663,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "blue",
"precio": 1540
}
},
{
"id": 664,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "adidas",
"precio": 2333
}
},
{
"id": 665,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 4789
}
},
{
"id": 666,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "blue",
"precio": 4447
}
},
{
"id": 667,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "blue",
"precio": 4447
}
},
{
"id": 668,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "blue",
"precio": 15000
}
},
{
"id": 669,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 670,
"atrr": {
"color": "morado",
"size": "m",
"brand": "blue",
"precio": 4444
}
},
{
"id": 671,
"atrr": {
"color": "azul",
"size": "l",
"brand": "nike",
"precio": 15000
}
},
{
"id": 672,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 9500
}
},
{
"id": 673,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "adidas",
"precio": 4569
}
},
{
"id": 674,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "zara",
"precio": 2333
}
},
{
"id": 675,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "polo",
"precio": 1540
}
},
{
"id": 676,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "zara",
"precio": 11000
}
},
{
"id": 677,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "blue",
"precio": 9500
}
},
{
"id": 678,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "zara",
"precio": 4447
}
},
{
"id": 679,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "zara",
"precio": 4569
}
},
{
"id": 680,
"atrr": {
"color": "verde",
"size": "l",
"brand": "blue",
"precio": 4558
}
},
{
"id": 681,
"atrr": {
"color": "azul",
"size": "l",
"brand": "nike",
"precio": 4447
}
},
{
"id": 682,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 683,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "polo",
"precio": 4444
}
},
{
"id": 684,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "zara",
"precio": 14000
}
},
{
"id": 685,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "nike",
"precio": 9500
}
},
{
"id": 686,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "zara",
"precio": 15000
}
},
{
"id": 687,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "nike",
"precio": 8889
}
},
{
"id": 688,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 4558
}
},
{
"id": 689,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "zara",
"precio": 1540
}
},
{
"id": 690,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 10000
}
},
{
"id": 691,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "nike",
"precio": 4569
}
},
{
"id": 692,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 693,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "polo",
"precio": 4789
}
},
{
"id": 694,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "blue",
"precio": 9500
}
},
{
"id": 695,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "polo",
"precio": 4558
}
},
{
"id": 696,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "blue",
"precio": 15000
}
},
{
"id": 697,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 9500
}
},
{
"id": 698,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "blue",
"precio": 1540
}
},
{
"id": 699,
"atrr": {
"color": "azul",
"size": "l",
"brand": "polo",
"precio": 4569
}
},
{
"id": 700,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "nike",
"precio": 4789
}
},
{
"id": 701,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "nike",
"precio": 10000
}
},
{
"id": 702,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "polo",
"precio": 4789
}
},
{
"id": 703,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "zara",
"precio": 15000
}
},
{
"id": 704,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 705,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 706,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "polo",
"precio": 4447
}
},
{
"id": 707,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "zara",
"precio": 8889
}
},
{
"id": 708,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "nike",
"precio": 1540
}
},
{
"id": 709,
"atrr": {
"color": "rojo",
"size": "m",
"brand": "zara",
"precio": 14000
}
},
{
"id": 710,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "nike",
"precio": 11000
}
},
{
"id": 711,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "nike",
"precio": 8889
}
},
{
"id": 712,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "polo",
"precio": 4447
}
},
{
"id": 713,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "nike",
"precio": 9500
}
},
{
"id": 714,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "blue",
"precio": 10000
}
},
{
"id": 715,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "zara",
"precio": 15000
}
},
{
"id": 716,
"atrr": {
"color": "verde",
"size": "m",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 717,
"atrr": {
"color": "azul",
"size": "m",
"brand": "zara",
"precio": 4558
}
},
{
"id": 718,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "nike",
"precio": 4558
}
},
{
"id": 719,
"atrr": {
"color": "morado",
"size": "l",
"brand": "polo",
"precio": 2333
}
},
{
"id": 720,
"atrr": {
"color": "verde",
"size": "s",
"brand": "zara",
"precio": 4444
}
},
{
"id": 721,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "blue",
"precio": 9500
}
},
{
"id": 722,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "nike",
"precio": 11000
}
},
{
"id": 723,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "polo",
"precio": 4447
}
},
{
"id": 724,
"atrr": {
"color": "azul",
"size": "s",
"brand": "polo",
"precio": 4444
}
},
{
"id": 725,
"atrr": {
"color": "morado",
"size": "l",
"brand": "nike",
"precio": 1540
}
},
{
"id": 726,
"atrr": {
"color": "verde",
"size": "m",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 727,
"atrr": {
"color": "morado",
"size": "m",
"brand": "zara",
"precio": 11000
}
},
{
"id": 728,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "nike",
"precio": 4447
}
},
{
"id": 729,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 730,
"atrr": {
"color": "morado",
"size": "l",
"brand": "nike",
"precio": 14000
}
},
{
"id": 731,
"atrr": {
"color": "azul",
"size": "m",
"brand": "blue",
"precio": 4558
}
},
{
"id": 732,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "zara",
"precio": 2333
}
},
{
"id": 733,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "zara",
"precio": 4447
}
},
{
"id": 734,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "zara",
"precio": 4569
}
},
{
"id": 735,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 736,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "zara",
"precio": 4789
}
},
{
"id": 737,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 738,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "nike",
"precio": 15000
}
},
{
"id": 739,
"atrr": {
"color": "verde",
"size": "s",
"brand": "nike",
"precio": 15000
}
},
{
"id": 740,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 741,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "blue",
"precio": 1540
}
},
{
"id": 742,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "nike",
"precio": 4447
}
},
{
"id": 743,
"atrr": {
"color": "verde",
"size": "l",
"brand": "zara",
"precio": 4447
}
},
{
"id": 744,
"atrr": {
"color": "verde",
"size": "l",
"brand": "nike",
"precio": 4447
}
},
{
"id": 745,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "blue",
"precio": 4447
}
},
{
"id": 746,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "polo",
"precio": 4444
}
},
{
"id": 747,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "nike",
"precio": 8889
}
},
{
"id": 748,
"atrr": {
"color": "azul",
"size": "m",
"brand": "nike",
"precio": 10000
}
},
{
"id": 749,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "nike",
"precio": 11000
}
},
{
"id": 750,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "zara",
"precio": 4569
}
},
{
"id": 751,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "nike",
"precio": 4558
}
},
{
"id": 752,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "polo",
"precio": 4569
}
},
{
"id": 753,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "blue",
"precio": 8889
}
},
{
"id": 754,
"atrr": {
"color": "morado",
"size": "l",
"brand": "nike",
"precio": 4789
}
},
{
"id": 755,
"atrr": {
"color": "azul",
"size": "l",
"brand": "nike",
"precio": 10000
}
},
{
"id": 756,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "zara",
"precio": 14000
}
},
{
"id": 757,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "adidas",
"precio": 9500
}
},
{
"id": 758,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "blue",
"precio": 4444
}
},
{
"id": 759,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "blue",
"precio": 8889
}
},
{
"id": 760,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "polo",
"precio": 4558
}
},
{
"id": 761,
"atrr": {
"color": "verde",
"size": "m",
"brand": "polo",
"precio": 10000
}
},
{
"id": 762,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "blue",
"precio": 1540
}
},
{
"id": 763,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "blue",
"precio": 1540
}
},
{
"id": 764,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "adidas",
"precio": 2333
}
},
{
"id": 765,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "zara",
"precio": 1540
}
},
{
"id": 766,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "zara",
"precio": 4444
}
},
{
"id": 767,
"atrr": {
"color": "morado",
"size": "m",
"brand": "blue",
"precio": 4789
}
},
{
"id": 768,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "nike",
"precio": 4447
}
},
{
"id": 769,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "adidas",
"precio": 9500
}
},
{
"id": 770,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "zara",
"precio": 2333
}
},
{
"id": 771,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "zara",
"precio": 2333
}
},
{
"id": 772,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "zara",
"precio": 2333
}
},
{
"id": 773,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "zara",
"precio": 2333
}
},
{
"id": 774,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 9500
}
},
{
"id": 775,
"atrr": {
"color": "morado",
"size": "s",
"brand": "blue",
"precio": 4558
}
},
{
"id": 776,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 777,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 778,
"atrr": {
"color": "morado",
"size": "s",
"brand": "polo",
"precio": 4447
}
},
{
"id": 779,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "blue",
"precio": 4447
}
},
{
"id": 780,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "blue",
"precio": 1540
}
},
{
"id": 781,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "polo",
"precio": 10000
}
},
{
"id": 782,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "blue",
"precio": 11000
}
},
{
"id": 783,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "blue",
"precio": 8889
}
},
{
"id": 784,
"atrr": {
"color": "verde",
"size": "l",
"brand": "blue",
"precio": 15000
}
},
{
"id": 785,
"atrr": {
"color": "verde",
"size": "l",
"brand": "polo",
"precio": 4789
}
},
{
"id": 786,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 2333
}
},
{
"id": 787,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 788,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 789,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "blue",
"precio": 14000
}
},
{
"id": 790,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "blue",
"precio": 4569
}
},
{
"id": 791,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "blue",
"precio": 10000
}
},
{
"id": 792,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "zara",
"precio": 11000
}
},
{
"id": 793,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "polo",
"precio": 1540
}
},
{
"id": 794,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "polo",
"precio": 4444
}
},
{
"id": 795,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "nike",
"precio": 9500
}
},
{
"id": 796,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "polo",
"precio": 8889
}
},
{
"id": 797,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "zara",
"precio": 11000
}
},
{
"id": 798,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "nike",
"precio": 9500
}
},
{
"id": 799,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "zara",
"precio": 14000
}
},
{
"id": 800,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "nike",
"precio": 4444
}
},
{
"id": 801,
"atrr": {
"color": "morado",
"size": "s",
"brand": "polo",
"precio": 11000
}
},
{
"id": 802,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "zara",
"precio": 4789
}
},
{
"id": 803,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "polo",
"precio": 4444
}
},
{
"id": 804,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 4447
}
},
{
"id": 805,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "polo",
"precio": 8889
}
},
{
"id": 806,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "zara",
"precio": 15000
}
},
{
"id": 807,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 808,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "blue",
"precio": 9500
}
},
{
"id": 809,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 2333
}
},
{
"id": 810,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "nike",
"precio": 11000
}
},
{
"id": 811,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "nike",
"precio": 4447
}
},
{
"id": 812,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "zara",
"precio": 4789
}
},
{
"id": 813,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 814,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "polo",
"precio": 11000
}
},
{
"id": 815,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "polo",
"precio": 10000
}
},
{
"id": 816,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "blue",
"precio": 4447
}
},
{
"id": 817,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "polo",
"precio": 15000
}
},
{
"id": 818,
"atrr": {
"color": "verde",
"size": "l",
"brand": "zara",
"precio": 11000
}
},
{
"id": 819,
"atrr": {
"color": "morado",
"size": "s",
"brand": "zara",
"precio": 2333
}
},
{
"id": 820,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "polo",
"precio": 4569
}
},
{
"id": 821,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 822,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "zara",
"precio": 2333
}
},
{
"id": 823,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "nike",
"precio": 9500
}
},
{
"id": 824,
"atrr": {
"color": "azul",
"size": "m",
"brand": "polo",
"precio": 11000
}
},
{
"id": 825,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "polo",
"precio": 10000
}
},
{
"id": 826,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "zara",
"precio": 2333
}
},
{
"id": 827,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "polo",
"precio": 8889
}
},
{
"id": 828,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "blue",
"precio": 11000
}
},
{
"id": 829,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "polo",
"precio": 14000
}
},
{
"id": 830,
"atrr": {
"color": "morado",
"size": "m",
"brand": "nike",
"precio": 4569
}
},
{
"id": 831,
"atrr": {
"color": "morado",
"size": "s",
"brand": "blue",
"precio": 4447
}
},
{
"id": 832,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "blue",
"precio": 2333
}
},
{
"id": 833,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "nike",
"precio": 4447
}
},
{
"id": 834,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 835,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "zara",
"precio": 2333
}
},
{
"id": 836,
"atrr": {
"color": "verde",
"size": "xxl",
"brand": "polo",
"precio": 1540
}
},
{
"id": 837,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 838,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "zara",
"precio": 11000
}
},
{
"id": 839,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "zara",
"precio": 4447
}
},
{
"id": 840,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "nike",
"precio": 10000
}
},
{
"id": 841,
"atrr": {
"color": "morado",
"size": "s",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 842,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "zara",
"precio": 4569
}
},
{
"id": 843,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "blue",
"precio": 2333
}
},
{
"id": 844,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "polo",
"precio": 10000
}
},
{
"id": 845,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "polo",
"precio": 14000
}
},
{
"id": 846,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 847,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 848,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "blue",
"precio": 4789
}
},
{
"id": 849,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "zara",
"precio": 1540
}
},
{
"id": 850,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "nike",
"precio": 4447
}
},
{
"id": 851,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "adidas",
"precio": 1540
}
},
{
"id": 852,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "polo",
"precio": 1540
}
},
{
"id": 853,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "blue",
"precio": 14000
}
},
{
"id": 854,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 855,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "polo",
"precio": 4789
}
},
{
"id": 856,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "blue",
"precio": 4569
}
},
{
"id": 857,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "zara",
"precio": 4444
}
},
{
"id": 858,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "zara",
"precio": 9500
}
},
{
"id": 859,
"atrr": {
"color": "morado",
"size": "l",
"brand": "polo",
"precio": 10000
}
},
{
"id": 860,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "polo",
"precio": 14000
}
},
{
"id": 861,
"atrr": {
"color": "morado",
"size": "l",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 862,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "polo",
"precio": 4789
}
},
{
"id": 863,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 864,
"atrr": {
"color": "verde",
"size": "s",
"brand": "polo",
"precio": 4558
}
},
{
"id": 865,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "adidas",
"precio": 14000
}
},
{
"id": 866,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 867,
"atrr": {
"color": "azul",
"size": "m",
"brand": "zara",
"precio": 8889
}
},
{
"id": 868,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 869,
"atrr": {
"color": "morado",
"size": "s",
"brand": "polo",
"precio": 11000
}
},
{
"id": 870,
"atrr": {
"color": "azul",
"size": "m",
"brand": "polo",
"precio": 9500
}
},
{
"id": 871,
"atrr": {
"color": "verde",
"size": "m",
"brand": "polo",
"precio": 4447
}
},
{
"id": 872,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "polo",
"precio": 4789
}
},
{
"id": 873,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "zara",
"precio": 4569
}
},
{
"id": 874,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "zara",
"precio": 4569
}
},
{
"id": 875,
"atrr": {
"color": "morado",
"size": "s",
"brand": "blue",
"precio": 9500
}
},
{
"id": 876,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "nike",
"precio": 2333
}
},
{
"id": 877,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "polo",
"precio": 1540
}
},
{
"id": 878,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "blue",
"precio": 4558
}
},
{
"id": 879,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "polo",
"precio": 4444
}
},
{
"id": 880,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "zara",
"precio": 15000
}
},
{
"id": 881,
"atrr": {
"color": "azul",
"size": "s",
"brand": "blue",
"precio": 10000
}
},
{
"id": 882,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "adidas",
"precio": 4569
}
},
{
"id": 883,
"atrr": {
"color": "verde",
"size": "s",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 884,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 885,
"atrr": {
"color": "morado",
"size": "l",
"brand": "polo",
"precio": 10000
}
},
{
"id": 886,
"atrr": {
"color": "morado",
"size": "m",
"brand": "zara",
"precio": 9500
}
},
{
"id": 887,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "zara",
"precio": 1540
}
},
{
"id": 888,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 14000
}
},
{
"id": 889,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 890,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "zara",
"precio": 2333
}
},
{
"id": 891,
"atrr": {
"color": "rojo",
"size": "xxl",
"brand": "zara",
"precio": 10000
}
},
{
"id": 892,
"atrr": {
"color": "amarillo",
"size": "m",
"brand": "nike",
"precio": 9500
}
},
{
"id": 893,
"atrr": {
"color": "verde",
"size": "s",
"brand": "zara",
"precio": 4569
}
},
{
"id": 894,
"atrr": {
"color": "rojo",
"size": "m",
"brand": "nike",
"precio": 4789
}
},
{
"id": 895,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 896,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 897,
"atrr": {
"color": "verde",
"size": "m",
"brand": "nike",
"precio": 15000
}
},
{
"id": 898,
"atrr": {
"color": "verde",
"size": "m",
"brand": "zara",
"precio": 4558
}
},
{
"id": 899,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "nike",
"precio": 15000
}
},
{
"id": 900,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "zara",
"precio": 9500
}
},
{
"id": 901,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "zara",
"precio": 2333
}
},
{
"id": 902,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "zara",
"precio": 4558
}
},
{
"id": 903,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 14000
}
},
{
"id": 904,
"atrr": {
"color": "azul",
"size": "l",
"brand": "nike",
"precio": 10000
}
},
{
"id": 905,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 11000
}
},
{
"id": 906,
"atrr": {
"color": "rojo",
"size": "m",
"brand": "nike",
"precio": 15000
}
},
{
"id": 907,
"atrr": {
"color": "morado",
"size": "s",
"brand": "polo",
"precio": 15000
}
},
{
"id": 908,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 2333
}
},
{
"id": 909,
"atrr": {
"color": "morado",
"size": "m",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 910,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 911,
"atrr": {
"color": "verde",
"size": "l",
"brand": "zara",
"precio": 4558
}
},
{
"id": 912,
"atrr": {
"color": "rojo",
"size": "l",
"brand": "nike",
"precio": 10000
}
},
{
"id": 913,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "blue",
"precio": 8889
}
},
{
"id": 914,
"atrr": {
"color": "azul",
"size": "m",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 915,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "blue",
"precio": 2333
}
},
{
"id": 916,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "adidas",
"precio": 2333
}
},
{
"id": 917,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "nike",
"precio": 9500
}
},
{
"id": 918,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "blue",
"precio": 4789
}
},
{
"id": 919,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "nike",
"precio": 2333
}
},
{
"id": 920,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "blue",
"precio": 1540
}
},
{
"id": 921,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "polo",
"precio": 4569
}
},
{
"id": 922,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "nike",
"precio": 4569
}
},
{
"id": 923,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "polo",
"precio": 14000
}
},
{
"id": 924,
"atrr": {
"color": "azul",
"size": "s",
"brand": "zara",
"precio": 9500
}
},
{
"id": 925,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "nike",
"precio": 4558
}
},
{
"id": 926,
"atrr": {
"color": "azul",
"size": "m",
"brand": "blue",
"precio": 10000
}
},
{
"id": 927,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "zara",
"precio": 10000
}
},
{
"id": 928,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "polo",
"precio": 9500
}
},
{
"id": 929,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 930,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "polo",
"precio": 4569
}
},
{
"id": 931,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "blue",
"precio": 2333
}
},
{
"id": 932,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "blue",
"precio": 14000
}
},
{
"id": 933,
"atrr": {
"color": "azul",
"size": "l",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 934,
"atrr": {
"color": "morado",
"size": "m",
"brand": "zara",
"precio": 14000
}
},
{
"id": 935,
"atrr": {
"color": "azul",
"size": "l",
"brand": "polo",
"precio": 4444
}
},
{
"id": 936,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "blue",
"precio": 4789
}
},
{
"id": 937,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 8889
}
},
{
"id": 938,
"atrr": {
"color": "rojo",
"size": "m",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 939,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "nike",
"precio": 11000
}
},
{
"id": 940,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "nike",
"precio": 4569
}
},
{
"id": 941,
"atrr": {
"color": "azul",
"size": "m",
"brand": "blue",
"precio": 4569
}
},
{
"id": 942,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 15000
}
},
{
"id": 943,
"atrr": {
"color": "naranja",
"size": "s",
"brand": "polo",
"precio": 10000
}
},
{
"id": 944,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "adidas",
"precio": 11000
}
},
{
"id": 945,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "zara",
"precio": 15000
}
},
{
"id": 946,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "blue",
"precio": 4558
}
},
{
"id": 947,
"atrr": {
"color": "naranja",
"size": "m",
"brand": "zara",
"precio": 8889
}
},
{
"id": 948,
"atrr": {
"color": "morado",
"size": "m",
"brand": "nike",
"precio": 4569
}
},
{
"id": 949,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "nike",
"precio": 10000
}
},
{
"id": 950,
"atrr": {
"color": "naranja",
"size": "xl",
"brand": "zara",
"precio": 15000
}
},
{
"id": 951,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "nike",
"precio": 2333
}
},
{
"id": 952,
"atrr": {
"color": "amarillo",
"size": "xl",
"brand": "zara",
"precio": 4789
}
},
{
"id": 953,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "zara",
"precio": 10000
}
},
{
"id": 954,
"atrr": {
"color": "verde",
"size": "xl",
"brand": "polo",
"precio": 8889
}
},
{
"id": 955,
"atrr": {
"color": "morado",
"size": "s",
"brand": "zara",
"precio": 14000
}
},
{
"id": 956,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "blue",
"precio": 15000
}
},
{
"id": 957,
"atrr": {
"color": "morado",
"size": "s",
"brand": "adidas",
"precio": 8889
}
},
{
"id": 958,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "polo",
"precio": 2333
}
},
{
"id": 959,
"atrr": {
"color": "azul",
"size": "xl",
"brand": "zara",
"precio": 10000
}
},
{
"id": 960,
"atrr": {
"color": "amarillo",
"size": "xxl",
"brand": "adidas",
"precio": 4444
}
},
{
"id": 961,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "polo",
"precio": 4447
}
},
{
"id": 962,
"atrr": {
"color": "rojo",
"size": "m",
"brand": "adidas",
"precio": 15000
}
},
{
"id": 963,
"atrr": {
"color": "azul",
"size": "l",
"brand": "adidas",
"precio": 2333
}
},
{
"id": 964,
"atrr": {
"color": "morado",
"size": "s",
"brand": "zara",
"precio": 9500
}
},
{
"id": 965,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "polo",
"precio": 10000
}
},
{
"id": 966,
"atrr": {
"color": "morado",
"size": "s",
"brand": "polo",
"precio": 2333
}
},
{
"id": 967,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 968,
"atrr": {
"color": "verde",
"size": "s",
"brand": "zara",
"precio": 14000
}
},
{
"id": 969,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "blue",
"precio": 15000
}
},
{
"id": 970,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 971,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "blue",
"precio": 4558
}
},
{
"id": 972,
"atrr": {
"color": "morado",
"size": "s",
"brand": "nike",
"precio": 9500
}
},
{
"id": 973,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "polo",
"precio": 4569
}
},
{
"id": 974,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "polo",
"precio": 10000
}
},
{
"id": 975,
"atrr": {
"color": "azul",
"size": "l",
"brand": "polo",
"precio": 4447
}
},
{
"id": 976,
"atrr": {
"color": "amarillo",
"size": "xs",
"brand": "blue",
"precio": 15000
}
},
{
"id": 977,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "adidas",
"precio": 4789
}
},
{
"id": 978,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 979,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "blue",
"precio": 14000
}
},
{
"id": 980,
"atrr": {
"color": "verde",
"size": "s",
"brand": "nike",
"precio": 11000
}
},
{
"id": 981,
"atrr": {
"color": "naranja",
"size": "xs",
"brand": "adidas",
"precio": 10000
}
},
{
"id": 982,
"atrr": {
"color": "rojo",
"size": "s",
"brand": "zara",
"precio": 4558
}
},
{
"id": 983,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "polo",
"precio": 4569
}
},
{
"id": 984,
"atrr": {
"color": "azul",
"size": "s",
"brand": "adidas",
"precio": 4558
}
},
{
"id": 985,
"atrr": {
"color": "morado",
"size": "l",
"brand": "polo",
"precio": 4444
}
},
{
"id": 986,
"atrr": {
"color": "amarillo",
"size": "s",
"brand": "zara",
"precio": 4447
}
},
{
"id": 987,
"atrr": {
"color": "verde",
"size": "s",
"brand": "zara",
"precio": 4444
}
},
{
"id": 988,
"atrr": {
"color": "amarillo",
"size": "l",
"brand": "blue",
"precio": 4444
}
},
{
"id": 989,
"atrr": {
"color": "morado",
"size": "xs",
"brand": "zara",
"precio": 8889
}
},
{
"id": 990,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "adidas",
"precio": 4447
}
},
{
"id": 991,
"atrr": {
"color": "rojo",
"size": "xl",
"brand": "blue",
"precio": 10000
}
},
{
"id": 992,
"atrr": {
"color": "morado",
"size": "xxl",
"brand": "adidas",
"precio": 9500
}
},
{
"id": 993,
"atrr": {
"color": "rojo",
"size": "xs",
"brand": "zara",
"precio": 2333
}
},
{
"id": 994,
"atrr": {
"color": "naranja",
"size": "xxl",
"brand": "zara",
"precio": 9500
}
},
{
"id": 995,
"atrr": {
"color": "verde",
"size": "xs",
"brand": "nike",
"precio": 11000
}
},
{
"id": 996,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "blue",
"precio": 4789
}
},
{
"id": 997,
"atrr": {
"color": "azul",
"size": "xxl",
"brand": "nike",
"precio": 4558
}
},
{
"id": 998,
"atrr": {
"color": "naranja",
"size": "l",
"brand": "zara",
"precio": 15000
}
},
{
"id": 999,
"atrr": {
"color": "azul",
"size": "xs",
"brand": "nike",
"precio": 1540
}
},
{
"id": 1000,
"atrr": {
"color": "morado",
"size": "xl",
"brand": "nike",
"precio": 15000
}
}
]
| atributes = [{'name': 'color', 'value': {'amarillo': 0, 'morado': 1, 'azul': 2, 'verde': 3, 'naranja': 4, 'rojo': 5}}, {'name': 'size', 'value': {'m': 2, 's': 1, 'xxl': 5, 'xs': 0, 'l': 3, 'xl': 4}}, {'name': 'brand', 'value': {'blue': 0, 'polo': 1, 'adidas': 2, 'zara': 3, 'nike': 4}}, {'name': 'precio', 'value': {2333: 0, 11000: 1, 4569: 2, 14000: 3, 4789: 4, 4444: 5, 8889: 6, 1540: 7, 4447: 8, 4558: 9, 9500: 10, 15000: 11, 10000: 12}}]
products = [{'id': 1, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'blue', 'precio': 2333}}, {'id': 2, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'polo', 'precio': 11000}}, {'id': 3, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'adidas', 'precio': 4569}}, {'id': 4, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'blue', 'precio': 14000}}, {'id': 5, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'zara', 'precio': 4789}}, {'id': 6, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'nike', 'precio': 4789}}, {'id': 7, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'blue', 'precio': 4444}}, {'id': 8, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'adidas', 'precio': 14000}}, {'id': 9, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 8889}}, {'id': 10, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'zara', 'precio': 4789}}, {'id': 11, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'polo', 'precio': 4444}}, {'id': 12, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 1540}}, {'id': 13, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'nike', 'precio': 4447}}, {'id': 14, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'adidas', 'precio': 4558}}, {'id': 15, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 4447}}, {'id': 16, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'blue', 'precio': 4569}}, {'id': 17, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'blue', 'precio': 4558}}, {'id': 18, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'zara', 'precio': 11000}}, {'id': 19, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'adidas', 'precio': 4789}}, {'id': 20, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'nike', 'precio': 8889}}, {'id': 21, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'adidas', 'precio': 1540}}, {'id': 22, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'zara', 'precio': 2333}}, {'id': 23, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'adidas', 'precio': 8889}}, {'id': 24, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'polo', 'precio': 9500}}, {'id': 25, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'adidas', 'precio': 1540}}, {'id': 26, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'adidas', 'precio': 15000}}, {'id': 27, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'blue', 'precio': 14000}}, {'id': 28, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'blue', 'precio': 8889}}, {'id': 29, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'adidas', 'precio': 4447}}, {'id': 30, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'adidas', 'precio': 9500}}, {'id': 31, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'blue', 'precio': 4558}}, {'id': 32, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'nike', 'precio': 4558}}, {'id': 33, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'blue', 'precio': 4447}}, {'id': 34, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'polo', 'precio': 1540}}, {'id': 35, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'adidas', 'precio': 2333}}, {'id': 36, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'polo', 'precio': 4558}}, {'id': 37, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'zara', 'precio': 9500}}, {'id': 38, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'zara', 'precio': 2333}}, {'id': 39, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'polo', 'precio': 11000}}, {'id': 40, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'adidas', 'precio': 2333}}, {'id': 41, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'blue', 'precio': 4444}}, {'id': 42, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'blue', 'precio': 4558}}, {'id': 43, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'nike', 'precio': 8889}}, {'id': 44, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'zara', 'precio': 11000}}, {'id': 45, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'polo', 'precio': 14000}}, {'id': 46, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'polo', 'precio': 4789}}, {'id': 47, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'nike', 'precio': 2333}}, {'id': 48, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'nike', 'precio': 1540}}, {'id': 49, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'polo', 'precio': 10000}}, {'id': 50, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'adidas', 'precio': 4558}}, {'id': 51, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'adidas', 'precio': 4789}}, {'id': 52, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'polo', 'precio': 4444}}, {'id': 53, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'nike', 'precio': 2333}}, {'id': 54, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'nike', 'precio': 8889}}, {'id': 55, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'adidas', 'precio': 9500}}, {'id': 56, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'adidas', 'precio': 10000}}, {'id': 57, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'blue', 'precio': 4569}}, {'id': 58, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'zara', 'precio': 4444}}, {'id': 59, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'nike', 'precio': 10000}}, {'id': 60, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'blue', 'precio': 2333}}, {'id': 61, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'zara', 'precio': 2333}}, {'id': 62, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'blue', 'precio': 10000}}, {'id': 63, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'blue', 'precio': 4569}}, {'id': 64, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'nike', 'precio': 10000}}, {'id': 65, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'polo', 'precio': 4447}}, {'id': 66, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'nike', 'precio': 4789}}, {'id': 67, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'polo', 'precio': 4447}}, {'id': 68, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'adidas', 'precio': 15000}}, {'id': 69, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'zara', 'precio': 9500}}, {'id': 70, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'blue', 'precio': 1540}}, {'id': 71, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'zara', 'precio': 15000}}, {'id': 72, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'nike', 'precio': 8889}}, {'id': 73, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'nike', 'precio': 4444}}, {'id': 74, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'nike', 'precio': 1540}}, {'id': 75, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'polo', 'precio': 15000}}, {'id': 76, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'adidas', 'precio': 8889}}, {'id': 77, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'polo', 'precio': 15000}}, {'id': 78, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'nike', 'precio': 15000}}, {'id': 79, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'blue', 'precio': 4558}}, {'id': 80, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'adidas', 'precio': 1540}}, {'id': 81, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 4447}}, {'id': 82, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'blue', 'precio': 8889}}, {'id': 83, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'zara', 'precio': 4789}}, {'id': 84, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'adidas', 'precio': 4447}}, {'id': 85, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'zara', 'precio': 15000}}, {'id': 86, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'nike', 'precio': 1540}}, {'id': 87, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'nike', 'precio': 8889}}, {'id': 88, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'zara', 'precio': 10000}}, {'id': 89, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'adidas', 'precio': 8889}}, {'id': 90, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'polo', 'precio': 15000}}, {'id': 91, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'zara', 'precio': 8889}}, {'id': 92, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'zara', 'precio': 4447}}, {'id': 93, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'adidas', 'precio': 11000}}, {'id': 94, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'zara', 'precio': 11000}}, {'id': 95, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'adidas', 'precio': 15000}}, {'id': 96, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'nike', 'precio': 4447}}, {'id': 97, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'adidas', 'precio': 4444}}, {'id': 98, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'nike', 'precio': 9500}}, {'id': 99, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'polo', 'precio': 8889}}, {'id': 100, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'nike', 'precio': 2333}}, {'id': 101, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'blue', 'precio': 4789}}, {'id': 102, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'adidas', 'precio': 1540}}, {'id': 103, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'nike', 'precio': 15000}}, {'id': 104, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'polo', 'precio': 4447}}, {'id': 105, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'zara', 'precio': 4558}}, {'id': 106, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'adidas', 'precio': 4447}}, {'id': 107, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'blue', 'precio': 11000}}, {'id': 108, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 9500}}, {'id': 109, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'nike', 'precio': 15000}}, {'id': 110, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'zara', 'precio': 9500}}, {'id': 111, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'nike', 'precio': 8889}}, {'id': 112, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'adidas', 'precio': 4447}}, {'id': 113, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'nike', 'precio': 14000}}, {'id': 114, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'polo', 'precio': 11000}}, {'id': 115, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'blue', 'precio': 2333}}, {'id': 116, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'adidas', 'precio': 4789}}, {'id': 117, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'adidas', 'precio': 8889}}, {'id': 118, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'zara', 'precio': 4558}}, {'id': 119, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'polo', 'precio': 4789}}, {'id': 120, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 4444}}, {'id': 121, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'nike', 'precio': 14000}}, {'id': 122, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'zara', 'precio': 9500}}, {'id': 123, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'adidas', 'precio': 4444}}, {'id': 124, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'polo', 'precio': 4444}}, {'id': 125, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'adidas', 'precio': 14000}}, {'id': 126, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'zara', 'precio': 11000}}, {'id': 127, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'zara', 'precio': 9500}}, {'id': 128, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'polo', 'precio': 9500}}, {'id': 129, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 15000}}, {'id': 130, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'adidas', 'precio': 1540}}, {'id': 131, 'atrr': {'color': 'rojo', 'size': 'm', 'brand': 'zara', 'precio': 4569}}, {'id': 132, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'nike', 'precio': 4444}}, {'id': 133, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'adidas', 'precio': 1540}}, {'id': 134, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'polo', 'precio': 9500}}, {'id': 135, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'zara', 'precio': 8889}}, {'id': 136, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'zara', 'precio': 2333}}, {'id': 137, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'adidas', 'precio': 4444}}, {'id': 138, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'zara', 'precio': 4789}}, {'id': 139, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'zara', 'precio': 8889}}, {'id': 140, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'polo', 'precio': 14000}}, {'id': 141, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'nike', 'precio': 4569}}, {'id': 142, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'blue', 'precio': 4569}}, {'id': 143, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'adidas', 'precio': 15000}}, {'id': 144, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'polo', 'precio': 15000}}, {'id': 145, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'polo', 'precio': 8889}}, {'id': 146, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'blue', 'precio': 8889}}, {'id': 147, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'zara', 'precio': 4569}}, {'id': 148, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'polo', 'precio': 10000}}, {'id': 149, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'zara', 'precio': 14000}}, {'id': 150, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'polo', 'precio': 10000}}, {'id': 151, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'adidas', 'precio': 11000}}, {'id': 152, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'adidas', 'precio': 4558}}, {'id': 153, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'polo', 'precio': 8889}}, {'id': 154, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 14000}}, {'id': 155, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'blue', 'precio': 2333}}, {'id': 156, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 8889}}, {'id': 157, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'adidas', 'precio': 15000}}, {'id': 158, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'nike', 'precio': 11000}}, {'id': 159, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'zara', 'precio': 4789}}, {'id': 160, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'blue', 'precio': 4444}}, {'id': 161, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'nike', 'precio': 11000}}, {'id': 162, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'nike', 'precio': 14000}}, {'id': 163, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'adidas', 'precio': 2333}}, {'id': 164, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'blue', 'precio': 1540}}, {'id': 165, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'nike', 'precio': 4444}}, {'id': 166, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 4569}}, {'id': 167, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'nike', 'precio': 1540}}, {'id': 168, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'blue', 'precio': 4444}}, {'id': 169, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 15000}}, {'id': 170, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'polo', 'precio': 14000}}, {'id': 171, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'blue', 'precio': 1540}}, {'id': 172, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'nike', 'precio': 4558}}, {'id': 173, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'nike', 'precio': 14000}}, {'id': 174, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'zara', 'precio': 4447}}, {'id': 175, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'zara', 'precio': 4444}}, {'id': 176, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'polo', 'precio': 9500}}, {'id': 177, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'blue', 'precio': 8889}}, {'id': 178, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 4558}}, {'id': 179, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'adidas', 'precio': 8889}}, {'id': 180, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'adidas', 'precio': 4569}}, {'id': 181, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'adidas', 'precio': 10000}}, {'id': 182, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'zara', 'precio': 4444}}, {'id': 183, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'nike', 'precio': 4789}}, {'id': 184, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'polo', 'precio': 2333}}, {'id': 185, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'polo', 'precio': 4789}}, {'id': 186, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'blue', 'precio': 4558}}, {'id': 187, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'zara', 'precio': 4447}}, {'id': 188, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'zara', 'precio': 9500}}, {'id': 189, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'polo', 'precio': 4569}}, {'id': 190, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'blue', 'precio': 4447}}, {'id': 191, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'nike', 'precio': 11000}}, {'id': 192, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'nike', 'precio': 4447}}, {'id': 193, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'polo', 'precio': 15000}}, {'id': 194, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'polo', 'precio': 9500}}, {'id': 195, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'blue', 'precio': 4789}}, {'id': 196, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'zara', 'precio': 4444}}, {'id': 197, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'zara', 'precio': 4447}}, {'id': 198, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 4447}}, {'id': 199, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 4789}}, {'id': 200, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'polo', 'precio': 8889}}, {'id': 201, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'blue', 'precio': 8889}}, {'id': 202, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'zara', 'precio': 4569}}, {'id': 203, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'zara', 'precio': 4569}}, {'id': 204, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'nike', 'precio': 1540}}, {'id': 205, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'nike', 'precio': 2333}}, {'id': 206, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'adidas', 'precio': 4789}}, {'id': 207, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'zara', 'precio': 10000}}, {'id': 208, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'zara', 'precio': 1540}}, {'id': 209, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'zara', 'precio': 14000}}, {'id': 210, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'adidas', 'precio': 4447}}, {'id': 211, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'zara', 'precio': 4558}}, {'id': 212, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'adidas', 'precio': 4789}}, {'id': 213, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 4444}}, {'id': 214, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'nike', 'precio': 1540}}, {'id': 215, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'polo', 'precio': 15000}}, {'id': 216, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 4447}}, {'id': 217, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'polo', 'precio': 11000}}, {'id': 218, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'zara', 'precio': 4558}}, {'id': 219, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'nike', 'precio': 4558}}, {'id': 220, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'blue', 'precio': 1540}}, {'id': 221, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'blue', 'precio': 2333}}, {'id': 222, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'nike', 'precio': 2333}}, {'id': 223, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'polo', 'precio': 4558}}, {'id': 224, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'blue', 'precio': 14000}}, {'id': 225, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'nike', 'precio': 4444}}, {'id': 226, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'polo', 'precio': 4447}}, {'id': 227, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'zara', 'precio': 11000}}, {'id': 228, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'blue', 'precio': 1540}}, {'id': 229, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 1540}}, {'id': 230, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'nike', 'precio': 8889}}, {'id': 231, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'blue', 'precio': 4789}}, {'id': 232, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'nike', 'precio': 4447}}, {'id': 233, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'zara', 'precio': 4447}}, {'id': 234, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'adidas', 'precio': 1540}}, {'id': 235, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'nike', 'precio': 15000}}, {'id': 236, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'zara', 'precio': 4569}}, {'id': 237, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 4569}}, {'id': 238, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'zara', 'precio': 14000}}, {'id': 239, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 14000}}, {'id': 240, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'zara', 'precio': 4558}}, {'id': 241, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'adidas', 'precio': 4569}}, {'id': 242, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'adidas', 'precio': 1540}}, {'id': 243, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'polo', 'precio': 14000}}, {'id': 244, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'adidas', 'precio': 1540}}, {'id': 245, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'polo', 'precio': 8889}}, {'id': 246, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'polo', 'precio': 8889}}, {'id': 247, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'blue', 'precio': 4789}}, {'id': 248, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'polo', 'precio': 4789}}, {'id': 249, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'zara', 'precio': 4789}}, {'id': 250, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'adidas', 'precio': 4789}}, {'id': 251, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'adidas', 'precio': 4444}}, {'id': 252, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'zara', 'precio': 4444}}, {'id': 253, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'polo', 'precio': 2333}}, {'id': 254, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'nike', 'precio': 4447}}, {'id': 255, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 9500}}, {'id': 256, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'polo', 'precio': 4447}}, {'id': 257, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'polo', 'precio': 4444}}, {'id': 258, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'blue', 'precio': 4569}}, {'id': 259, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'blue', 'precio': 14000}}, {'id': 260, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 10000}}, {'id': 261, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'polo', 'precio': 2333}}, {'id': 262, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'polo', 'precio': 4447}}, {'id': 263, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'blue', 'precio': 4558}}, {'id': 264, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'nike', 'precio': 4789}}, {'id': 265, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'blue', 'precio': 14000}}, {'id': 266, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'polo', 'precio': 4444}}, {'id': 267, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'zara', 'precio': 2333}}, {'id': 268, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'zara', 'precio': 8889}}, {'id': 269, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'blue', 'precio': 8889}}, {'id': 270, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'adidas', 'precio': 1540}}, {'id': 271, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'adidas', 'precio': 4447}}, {'id': 272, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'blue', 'precio': 4447}}, {'id': 273, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'zara', 'precio': 4569}}, {'id': 274, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 4558}}, {'id': 275, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'polo', 'precio': 4447}}, {'id': 276, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'nike', 'precio': 15000}}, {'id': 277, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'nike', 'precio': 4569}}, {'id': 278, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'nike', 'precio': 11000}}, {'id': 279, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'polo', 'precio': 4569}}, {'id': 280, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'adidas', 'precio': 4447}}, {'id': 281, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'nike', 'precio': 14000}}, {'id': 282, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'polo', 'precio': 4558}}, {'id': 283, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 9500}}, {'id': 284, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'adidas', 'precio': 8889}}, {'id': 285, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'adidas', 'precio': 2333}}, {'id': 286, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'adidas', 'precio': 4447}}, {'id': 287, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'zara', 'precio': 9500}}, {'id': 288, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'nike', 'precio': 14000}}, {'id': 289, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'blue', 'precio': 4447}}, {'id': 290, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'adidas', 'precio': 15000}}, {'id': 291, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'polo', 'precio': 11000}}, {'id': 292, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'blue', 'precio': 11000}}, {'id': 293, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'zara', 'precio': 8889}}, {'id': 294, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'polo', 'precio': 1540}}, {'id': 295, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'nike', 'precio': 1540}}, {'id': 296, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'polo', 'precio': 8889}}, {'id': 297, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 11000}}, {'id': 298, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 4569}}, {'id': 299, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'blue', 'precio': 8889}}, {'id': 300, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'blue', 'precio': 11000}}, {'id': 301, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'nike', 'precio': 4447}}, {'id': 302, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'nike', 'precio': 4789}}, {'id': 303, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'blue', 'precio': 9500}}, {'id': 304, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'zara', 'precio': 9500}}, {'id': 305, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'zara', 'precio': 4569}}, {'id': 306, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'polo', 'precio': 4569}}, {'id': 307, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'polo', 'precio': 4789}}, {'id': 308, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'zara', 'precio': 10000}}, {'id': 309, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 8889}}, {'id': 310, 'atrr': {'color': 'rojo', 'size': 'm', 'brand': 'zara', 'precio': 4444}}, {'id': 311, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'adidas', 'precio': 11000}}, {'id': 312, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'polo', 'precio': 4569}}, {'id': 313, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'blue', 'precio': 10000}}, {'id': 314, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'adidas', 'precio': 11000}}, {'id': 315, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'zara', 'precio': 11000}}, {'id': 316, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 15000}}, {'id': 317, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'adidas', 'precio': 8889}}, {'id': 318, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'nike', 'precio': 11000}}, {'id': 319, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'nike', 'precio': 4569}}, {'id': 320, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'nike', 'precio': 2333}}, {'id': 321, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'zara', 'precio': 4789}}, {'id': 322, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'nike', 'precio': 4789}}, {'id': 323, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'polo', 'precio': 10000}}, {'id': 324, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'blue', 'precio': 4447}}, {'id': 325, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'adidas', 'precio': 4447}}, {'id': 326, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'zara', 'precio': 4569}}, {'id': 327, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'adidas', 'precio': 9500}}, {'id': 328, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'zara', 'precio': 14000}}, {'id': 329, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'adidas', 'precio': 4569}}, {'id': 330, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'polo', 'precio': 4447}}, {'id': 331, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'blue', 'precio': 2333}}, {'id': 332, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'blue', 'precio': 8889}}, {'id': 333, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'blue', 'precio': 4444}}, {'id': 334, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'nike', 'precio': 4447}}, {'id': 335, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'blue', 'precio': 10000}}, {'id': 336, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'blue', 'precio': 10000}}, {'id': 337, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'polo', 'precio': 2333}}, {'id': 338, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'polo', 'precio': 1540}}, {'id': 339, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'nike', 'precio': 8889}}, {'id': 340, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'blue', 'precio': 11000}}, {'id': 341, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'blue', 'precio': 8889}}, {'id': 342, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'polo', 'precio': 4447}}, {'id': 343, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'polo', 'precio': 15000}}, {'id': 344, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'nike', 'precio': 9500}}, {'id': 345, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'polo', 'precio': 4444}}, {'id': 346, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 4558}}, {'id': 347, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'adidas', 'precio': 11000}}, {'id': 348, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'adidas', 'precio': 4569}}, {'id': 349, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'blue', 'precio': 1540}}, {'id': 350, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'blue', 'precio': 4789}}, {'id': 351, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'polo', 'precio': 11000}}, {'id': 352, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'polo', 'precio': 4444}}, {'id': 353, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'nike', 'precio': 4558}}, {'id': 354, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'polo', 'precio': 4569}}, {'id': 355, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'nike', 'precio': 4558}}, {'id': 356, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'blue', 'precio': 14000}}, {'id': 357, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'nike', 'precio': 4789}}, {'id': 358, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 15000}}, {'id': 359, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'blue', 'precio': 8889}}, {'id': 360, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'polo', 'precio': 1540}}, {'id': 361, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'nike', 'precio': 2333}}, {'id': 362, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'nike', 'precio': 11000}}, {'id': 363, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'zara', 'precio': 1540}}, {'id': 364, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'zara', 'precio': 10000}}, {'id': 365, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 4444}}, {'id': 366, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'zara', 'precio': 1540}}, {'id': 367, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'zara', 'precio': 8889}}, {'id': 368, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'adidas', 'precio': 4447}}, {'id': 369, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'adidas', 'precio': 1540}}, {'id': 370, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'blue', 'precio': 4569}}, {'id': 371, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'blue', 'precio': 1540}}, {'id': 372, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'zara', 'precio': 1540}}, {'id': 373, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'zara', 'precio': 4789}}, {'id': 374, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'blue', 'precio': 2333}}, {'id': 375, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'nike', 'precio': 11000}}, {'id': 376, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'adidas', 'precio': 14000}}, {'id': 377, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'adidas', 'precio': 10000}}, {'id': 378, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'zara', 'precio': 15000}}, {'id': 379, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'adidas', 'precio': 9500}}, {'id': 380, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'adidas', 'precio': 4569}}, {'id': 381, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'blue', 'precio': 14000}}, {'id': 382, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'zara', 'precio': 4444}}, {'id': 383, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'polo', 'precio': 4447}}, {'id': 384, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'polo', 'precio': 8889}}, {'id': 385, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 10000}}, {'id': 386, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'nike', 'precio': 4558}}, {'id': 387, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'blue', 'precio': 1540}}, {'id': 388, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'blue', 'precio': 1540}}, {'id': 389, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'adidas', 'precio': 4789}}, {'id': 390, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 8889}}, {'id': 391, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'polo', 'precio': 10000}}, {'id': 392, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 8889}}, {'id': 393, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'polo', 'precio': 14000}}, {'id': 394, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'blue', 'precio': 4447}}, {'id': 395, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'zara', 'precio': 8889}}, {'id': 396, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'nike', 'precio': 10000}}, {'id': 397, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'polo', 'precio': 9500}}, {'id': 398, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'polo', 'precio': 14000}}, {'id': 399, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'adidas', 'precio': 15000}}, {'id': 400, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'blue', 'precio': 4558}}, {'id': 401, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'adidas', 'precio': 10000}}, {'id': 402, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'polo', 'precio': 11000}}, {'id': 403, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'nike', 'precio': 2333}}, {'id': 404, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'blue', 'precio': 11000}}, {'id': 405, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'zara', 'precio': 10000}}, {'id': 406, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'zara', 'precio': 4789}}, {'id': 407, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 4789}}, {'id': 408, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'polo', 'precio': 4558}}, {'id': 409, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'zara', 'precio': 4569}}, {'id': 410, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'adidas', 'precio': 10000}}, {'id': 411, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'adidas', 'precio': 8889}}, {'id': 412, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'adidas', 'precio': 4444}}, {'id': 413, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'polo', 'precio': 4558}}, {'id': 414, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'adidas', 'precio': 11000}}, {'id': 415, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'nike', 'precio': 4558}}, {'id': 416, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'adidas', 'precio': 2333}}, {'id': 417, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'polo', 'precio': 4789}}, {'id': 418, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 15000}}, {'id': 419, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'zara', 'precio': 4447}}, {'id': 420, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'adidas', 'precio': 4569}}, {'id': 421, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'polo', 'precio': 15000}}, {'id': 422, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'nike', 'precio': 4569}}, {'id': 423, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 4789}}, {'id': 424, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'nike', 'precio': 8889}}, {'id': 425, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'blue', 'precio': 15000}}, {'id': 426, 'atrr': {'color': 'rojo', 'size': 'm', 'brand': 'zara', 'precio': 15000}}, {'id': 427, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'adidas', 'precio': 4558}}, {'id': 428, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'blue', 'precio': 9500}}, {'id': 429, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 4447}}, {'id': 430, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'blue', 'precio': 10000}}, {'id': 431, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'adidas', 'precio': 4789}}, {'id': 432, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'polo', 'precio': 2333}}, {'id': 433, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'zara', 'precio': 4447}}, {'id': 434, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'blue', 'precio': 11000}}, {'id': 435, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'nike', 'precio': 4789}}, {'id': 436, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'polo', 'precio': 4558}}, {'id': 437, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'nike', 'precio': 14000}}, {'id': 438, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'blue', 'precio': 4444}}, {'id': 439, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'adidas', 'precio': 1540}}, {'id': 440, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'blue', 'precio': 8889}}, {'id': 441, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'polo', 'precio': 14000}}, {'id': 442, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'adidas', 'precio': 11000}}, {'id': 443, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'nike', 'precio': 4444}}, {'id': 444, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'zara', 'precio': 4789}}, {'id': 445, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'blue', 'precio': 4447}}, {'id': 446, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'blue', 'precio': 4569}}, {'id': 447, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'blue', 'precio': 11000}}, {'id': 448, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'adidas', 'precio': 4447}}, {'id': 449, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'adidas', 'precio': 2333}}, {'id': 450, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'blue', 'precio': 4447}}, {'id': 451, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'adidas', 'precio': 4447}}, {'id': 452, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'blue', 'precio': 4447}}, {'id': 453, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'adidas', 'precio': 10000}}, {'id': 454, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 1540}}, {'id': 455, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'nike', 'precio': 4789}}, {'id': 456, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'blue', 'precio': 4789}}, {'id': 457, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'blue', 'precio': 4447}}, {'id': 458, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 4569}}, {'id': 459, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'polo', 'precio': 14000}}, {'id': 460, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'zara', 'precio': 4558}}, {'id': 461, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'adidas', 'precio': 11000}}, {'id': 462, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'adidas', 'precio': 10000}}, {'id': 463, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'blue', 'precio': 2333}}, {'id': 464, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'polo', 'precio': 4558}}, {'id': 465, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'blue', 'precio': 4558}}, {'id': 466, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'zara', 'precio': 4569}}, {'id': 467, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'adidas', 'precio': 8889}}, {'id': 468, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'zara', 'precio': 4569}}, {'id': 469, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'blue', 'precio': 10000}}, {'id': 470, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'adidas', 'precio': 1540}}, {'id': 471, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'polo', 'precio': 1540}}, {'id': 472, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 14000}}, {'id': 473, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'zara', 'precio': 4444}}, {'id': 474, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'nike', 'precio': 1540}}, {'id': 475, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'nike', 'precio': 4447}}, {'id': 476, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'blue', 'precio': 4558}}, {'id': 477, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 9500}}, {'id': 478, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'nike', 'precio': 10000}}, {'id': 479, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'zara', 'precio': 4569}}, {'id': 480, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 10000}}, {'id': 481, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 4569}}, {'id': 482, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'adidas', 'precio': 8889}}, {'id': 483, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'polo', 'precio': 4569}}, {'id': 484, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 1540}}, {'id': 485, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'zara', 'precio': 2333}}, {'id': 486, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'polo', 'precio': 11000}}, {'id': 487, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'blue', 'precio': 8889}}, {'id': 488, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'zara', 'precio': 8889}}, {'id': 489, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'blue', 'precio': 4444}}, {'id': 490, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'zara', 'precio': 4789}}, {'id': 491, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'polo', 'precio': 4569}}, {'id': 492, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'blue', 'precio': 9500}}, {'id': 493, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'adidas', 'precio': 4569}}, {'id': 494, 'atrr': {'color': 'rojo', 'size': 'm', 'brand': 'zara', 'precio': 1540}}, {'id': 495, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'zara', 'precio': 8889}}, {'id': 496, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'blue', 'precio': 4789}}, {'id': 497, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'polo', 'precio': 4444}}, {'id': 498, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'adidas', 'precio': 4444}}, {'id': 499, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'zara', 'precio': 11000}}, {'id': 500, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'zara', 'precio': 14000}}, {'id': 501, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'adidas', 'precio': 1540}}, {'id': 502, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'nike', 'precio': 11000}}, {'id': 503, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'blue', 'precio': 9500}}, {'id': 504, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'adidas', 'precio': 2333}}, {'id': 505, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'polo', 'precio': 4789}}, {'id': 506, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'nike', 'precio': 4558}}, {'id': 507, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'polo', 'precio': 4569}}, {'id': 508, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'zara', 'precio': 4444}}, {'id': 509, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'nike', 'precio': 4569}}, {'id': 510, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'zara', 'precio': 4569}}, {'id': 511, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'nike', 'precio': 10000}}, {'id': 512, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'blue', 'precio': 10000}}, {'id': 513, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'zara', 'precio': 10000}}, {'id': 514, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'polo', 'precio': 14000}}, {'id': 515, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'nike', 'precio': 2333}}, {'id': 516, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'blue', 'precio': 8889}}, {'id': 517, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'adidas', 'precio': 14000}}, {'id': 518, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'polo', 'precio': 4444}}, {'id': 519, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'polo', 'precio': 14000}}, {'id': 520, 'atrr': {'color': 'rojo', 'size': 'm', 'brand': 'zara', 'precio': 2333}}, {'id': 521, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'zara', 'precio': 8889}}, {'id': 522, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'zara', 'precio': 14000}}, {'id': 523, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'zara', 'precio': 4444}}, {'id': 524, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'blue', 'precio': 1540}}, {'id': 525, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'nike', 'precio': 11000}}, {'id': 526, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'nike', 'precio': 8889}}, {'id': 527, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'polo', 'precio': 11000}}, {'id': 528, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'nike', 'precio': 9500}}, {'id': 529, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'nike', 'precio': 15000}}, {'id': 530, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'blue', 'precio': 9500}}, {'id': 531, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'nike', 'precio': 4789}}, {'id': 532, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'adidas', 'precio': 14000}}, {'id': 533, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'nike', 'precio': 1540}}, {'id': 534, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'blue', 'precio': 4558}}, {'id': 535, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'polo', 'precio': 11000}}, {'id': 536, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'zara', 'precio': 4444}}, {'id': 537, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'adidas', 'precio': 4789}}, {'id': 538, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'blue', 'precio': 9500}}, {'id': 539, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'adidas', 'precio': 1540}}, {'id': 540, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'nike', 'precio': 10000}}, {'id': 541, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'adidas', 'precio': 11000}}, {'id': 542, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'adidas', 'precio': 14000}}, {'id': 543, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 11000}}, {'id': 544, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'blue', 'precio': 4447}}, {'id': 545, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 4569}}, {'id': 546, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'zara', 'precio': 15000}}, {'id': 547, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 4444}}, {'id': 548, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'polo', 'precio': 9500}}, {'id': 549, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'blue', 'precio': 11000}}, {'id': 550, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'blue', 'precio': 4789}}, {'id': 551, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'adidas', 'precio': 10000}}, {'id': 552, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'zara', 'precio': 14000}}, {'id': 553, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'zara', 'precio': 8889}}, {'id': 554, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'polo', 'precio': 4789}}, {'id': 555, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'adidas', 'precio': 4569}}, {'id': 556, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'zara', 'precio': 15000}}, {'id': 557, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 15000}}, {'id': 558, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'zara', 'precio': 4569}}, {'id': 559, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'zara', 'precio': 14000}}, {'id': 560, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'blue', 'precio': 9500}}, {'id': 561, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'blue', 'precio': 14000}}, {'id': 562, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'nike', 'precio': 4789}}, {'id': 563, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'zara', 'precio': 4789}}, {'id': 564, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'polo', 'precio': 14000}}, {'id': 565, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'nike', 'precio': 10000}}, {'id': 566, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'blue', 'precio': 4447}}, {'id': 567, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'polo', 'precio': 4558}}, {'id': 568, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'blue', 'precio': 8889}}, {'id': 569, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'zara', 'precio': 10000}}, {'id': 570, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'nike', 'precio': 15000}}, {'id': 571, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'blue', 'precio': 4569}}, {'id': 572, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'zara', 'precio': 4569}}, {'id': 573, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'adidas', 'precio': 9500}}, {'id': 574, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'adidas', 'precio': 8889}}, {'id': 575, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'blue', 'precio': 11000}}, {'id': 576, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'blue', 'precio': 4789}}, {'id': 577, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'adidas', 'precio': 1540}}, {'id': 578, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'nike', 'precio': 15000}}, {'id': 579, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'blue', 'precio': 4444}}, {'id': 580, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'zara', 'precio': 15000}}, {'id': 581, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'polo', 'precio': 4569}}, {'id': 582, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'nike', 'precio': 11000}}, {'id': 583, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'polo', 'precio': 11000}}, {'id': 584, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'nike', 'precio': 10000}}, {'id': 585, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'adidas', 'precio': 4447}}, {'id': 586, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 4569}}, {'id': 587, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 4558}}, {'id': 588, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'nike', 'precio': 15000}}, {'id': 589, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'nike', 'precio': 4569}}, {'id': 590, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 2333}}, {'id': 591, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'zara', 'precio': 4789}}, {'id': 592, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'adidas', 'precio': 4789}}, {'id': 593, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'zara', 'precio': 4569}}, {'id': 594, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'blue', 'precio': 4444}}, {'id': 595, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'zara', 'precio': 8889}}, {'id': 596, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'nike', 'precio': 2333}}, {'id': 597, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'polo', 'precio': 4447}}, {'id': 598, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'zara', 'precio': 4444}}, {'id': 599, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'nike', 'precio': 4558}}, {'id': 600, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'blue', 'precio': 4447}}, {'id': 601, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'nike', 'precio': 4569}}, {'id': 602, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 14000}}, {'id': 603, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'nike', 'precio': 2333}}, {'id': 604, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'zara', 'precio': 15000}}, {'id': 605, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'polo', 'precio': 10000}}, {'id': 606, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'adidas', 'precio': 14000}}, {'id': 607, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'nike', 'precio': 15000}}, {'id': 608, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'nike', 'precio': 4447}}, {'id': 609, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'nike', 'precio': 11000}}, {'id': 610, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'nike', 'precio': 10000}}, {'id': 611, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'adidas', 'precio': 8889}}, {'id': 612, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'nike', 'precio': 4558}}, {'id': 613, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'blue', 'precio': 8889}}, {'id': 614, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'polo', 'precio': 2333}}, {'id': 615, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'blue', 'precio': 4558}}, {'id': 616, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'nike', 'precio': 15000}}, {'id': 617, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'zara', 'precio': 4569}}, {'id': 618, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'zara', 'precio': 9500}}, {'id': 619, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'nike', 'precio': 8889}}, {'id': 620, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 9500}}, {'id': 621, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'nike', 'precio': 4569}}, {'id': 622, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'zara', 'precio': 4569}}, {'id': 623, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'zara', 'precio': 4569}}, {'id': 624, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'zara', 'precio': 4444}}, {'id': 625, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'zara', 'precio': 15000}}, {'id': 626, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'zara', 'precio': 4569}}, {'id': 627, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'blue', 'precio': 11000}}, {'id': 628, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 9500}}, {'id': 629, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'adidas', 'precio': 11000}}, {'id': 630, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'adidas', 'precio': 10000}}, {'id': 631, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'blue', 'precio': 4447}}, {'id': 632, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'nike', 'precio': 4569}}, {'id': 633, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'zara', 'precio': 4447}}, {'id': 634, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'blue', 'precio': 4444}}, {'id': 635, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 4558}}, {'id': 636, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'zara', 'precio': 14000}}, {'id': 637, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'nike', 'precio': 9500}}, {'id': 638, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'adidas', 'precio': 4444}}, {'id': 639, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'zara', 'precio': 9500}}, {'id': 640, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'polo', 'precio': 4444}}, {'id': 641, 'atrr': {'color': 'rojo', 'size': 'm', 'brand': 'adidas', 'precio': 4444}}, {'id': 642, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'zara', 'precio': 8889}}, {'id': 643, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'blue', 'precio': 1540}}, {'id': 644, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'nike', 'precio': 15000}}, {'id': 645, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'blue', 'precio': 14000}}, {'id': 646, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'zara', 'precio': 14000}}, {'id': 647, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'polo', 'precio': 4558}}, {'id': 648, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 4444}}, {'id': 649, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'adidas', 'precio': 4444}}, {'id': 650, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'zara', 'precio': 9500}}, {'id': 651, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'polo', 'precio': 9500}}, {'id': 652, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'polo', 'precio': 4569}}, {'id': 653, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'nike', 'precio': 4444}}, {'id': 654, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'polo', 'precio': 8889}}, {'id': 655, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 4447}}, {'id': 656, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'polo', 'precio': 2333}}, {'id': 657, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'blue', 'precio': 14000}}, {'id': 658, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'zara', 'precio': 4789}}, {'id': 659, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'zara', 'precio': 4447}}, {'id': 660, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'polo', 'precio': 10000}}, {'id': 661, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'nike', 'precio': 15000}}, {'id': 662, 'atrr': {'color': 'rojo', 'size': 'm', 'brand': 'nike', 'precio': 11000}}, {'id': 663, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'blue', 'precio': 1540}}, {'id': 664, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'adidas', 'precio': 2333}}, {'id': 665, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 4789}}, {'id': 666, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'blue', 'precio': 4447}}, {'id': 667, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'blue', 'precio': 4447}}, {'id': 668, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'blue', 'precio': 15000}}, {'id': 669, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 4444}}, {'id': 670, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'blue', 'precio': 4444}}, {'id': 671, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'nike', 'precio': 15000}}, {'id': 672, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 9500}}, {'id': 673, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'adidas', 'precio': 4569}}, {'id': 674, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'zara', 'precio': 2333}}, {'id': 675, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'polo', 'precio': 1540}}, {'id': 676, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'zara', 'precio': 11000}}, {'id': 677, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'blue', 'precio': 9500}}, {'id': 678, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'zara', 'precio': 4447}}, {'id': 679, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'zara', 'precio': 4569}}, {'id': 680, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'blue', 'precio': 4558}}, {'id': 681, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'nike', 'precio': 4447}}, {'id': 682, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'adidas', 'precio': 4558}}, {'id': 683, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'polo', 'precio': 4444}}, {'id': 684, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'zara', 'precio': 14000}}, {'id': 685, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'nike', 'precio': 9500}}, {'id': 686, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'zara', 'precio': 15000}}, {'id': 687, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'nike', 'precio': 8889}}, {'id': 688, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 4558}}, {'id': 689, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'zara', 'precio': 1540}}, {'id': 690, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 10000}}, {'id': 691, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'nike', 'precio': 4569}}, {'id': 692, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'adidas', 'precio': 8889}}, {'id': 693, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'polo', 'precio': 4789}}, {'id': 694, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'blue', 'precio': 9500}}, {'id': 695, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'polo', 'precio': 4558}}, {'id': 696, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'blue', 'precio': 15000}}, {'id': 697, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 9500}}, {'id': 698, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'blue', 'precio': 1540}}, {'id': 699, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'polo', 'precio': 4569}}, {'id': 700, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'nike', 'precio': 4789}}, {'id': 701, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'nike', 'precio': 10000}}, {'id': 702, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'polo', 'precio': 4789}}, {'id': 703, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'zara', 'precio': 15000}}, {'id': 704, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 15000}}, {'id': 705, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'adidas', 'precio': 11000}}, {'id': 706, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'polo', 'precio': 4447}}, {'id': 707, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'zara', 'precio': 8889}}, {'id': 708, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'nike', 'precio': 1540}}, {'id': 709, 'atrr': {'color': 'rojo', 'size': 'm', 'brand': 'zara', 'precio': 14000}}, {'id': 710, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'nike', 'precio': 11000}}, {'id': 711, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'nike', 'precio': 8889}}, {'id': 712, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'polo', 'precio': 4447}}, {'id': 713, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'nike', 'precio': 9500}}, {'id': 714, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'blue', 'precio': 10000}}, {'id': 715, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'zara', 'precio': 15000}}, {'id': 716, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'adidas', 'precio': 4789}}, {'id': 717, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'zara', 'precio': 4558}}, {'id': 718, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'nike', 'precio': 4558}}, {'id': 719, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'polo', 'precio': 2333}}, {'id': 720, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'zara', 'precio': 4444}}, {'id': 721, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'blue', 'precio': 9500}}, {'id': 722, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'nike', 'precio': 11000}}, {'id': 723, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'polo', 'precio': 4447}}, {'id': 724, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'polo', 'precio': 4444}}, {'id': 725, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'nike', 'precio': 1540}}, {'id': 726, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'adidas', 'precio': 4444}}, {'id': 727, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'zara', 'precio': 11000}}, {'id': 728, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'nike', 'precio': 4447}}, {'id': 729, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'adidas', 'precio': 4447}}, {'id': 730, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'nike', 'precio': 14000}}, {'id': 731, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'blue', 'precio': 4558}}, {'id': 732, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'zara', 'precio': 2333}}, {'id': 733, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'zara', 'precio': 4447}}, {'id': 734, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'zara', 'precio': 4569}}, {'id': 735, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'adidas', 'precio': 11000}}, {'id': 736, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'zara', 'precio': 4789}}, {'id': 737, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'adidas', 'precio': 4447}}, {'id': 738, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'nike', 'precio': 15000}}, {'id': 739, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'nike', 'precio': 15000}}, {'id': 740, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'adidas', 'precio': 4789}}, {'id': 741, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'blue', 'precio': 1540}}, {'id': 742, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'nike', 'precio': 4447}}, {'id': 743, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'zara', 'precio': 4447}}, {'id': 744, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'nike', 'precio': 4447}}, {'id': 745, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'blue', 'precio': 4447}}, {'id': 746, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'polo', 'precio': 4444}}, {'id': 747, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'nike', 'precio': 8889}}, {'id': 748, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'nike', 'precio': 10000}}, {'id': 749, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'nike', 'precio': 11000}}, {'id': 750, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'zara', 'precio': 4569}}, {'id': 751, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'nike', 'precio': 4558}}, {'id': 752, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'polo', 'precio': 4569}}, {'id': 753, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'blue', 'precio': 8889}}, {'id': 754, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'nike', 'precio': 4789}}, {'id': 755, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'nike', 'precio': 10000}}, {'id': 756, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'zara', 'precio': 14000}}, {'id': 757, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'adidas', 'precio': 9500}}, {'id': 758, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'blue', 'precio': 4444}}, {'id': 759, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'blue', 'precio': 8889}}, {'id': 760, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'polo', 'precio': 4558}}, {'id': 761, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'polo', 'precio': 10000}}, {'id': 762, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'blue', 'precio': 1540}}, {'id': 763, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'blue', 'precio': 1540}}, {'id': 764, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'adidas', 'precio': 2333}}, {'id': 765, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'zara', 'precio': 1540}}, {'id': 766, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'zara', 'precio': 4444}}, {'id': 767, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'blue', 'precio': 4789}}, {'id': 768, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'nike', 'precio': 4447}}, {'id': 769, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'adidas', 'precio': 9500}}, {'id': 770, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'zara', 'precio': 2333}}, {'id': 771, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'zara', 'precio': 2333}}, {'id': 772, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'zara', 'precio': 2333}}, {'id': 773, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'zara', 'precio': 2333}}, {'id': 774, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 9500}}, {'id': 775, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'blue', 'precio': 4558}}, {'id': 776, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 10000}}, {'id': 777, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'adidas', 'precio': 4558}}, {'id': 778, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'polo', 'precio': 4447}}, {'id': 779, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'blue', 'precio': 4447}}, {'id': 780, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'blue', 'precio': 1540}}, {'id': 781, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'polo', 'precio': 10000}}, {'id': 782, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'blue', 'precio': 11000}}, {'id': 783, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'blue', 'precio': 8889}}, {'id': 784, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'blue', 'precio': 15000}}, {'id': 785, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'polo', 'precio': 4789}}, {'id': 786, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 2333}}, {'id': 787, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'adidas', 'precio': 15000}}, {'id': 788, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'adidas', 'precio': 8889}}, {'id': 789, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'blue', 'precio': 14000}}, {'id': 790, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'blue', 'precio': 4569}}, {'id': 791, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'blue', 'precio': 10000}}, {'id': 792, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'zara', 'precio': 11000}}, {'id': 793, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'polo', 'precio': 1540}}, {'id': 794, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'polo', 'precio': 4444}}, {'id': 795, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'nike', 'precio': 9500}}, {'id': 796, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'polo', 'precio': 8889}}, {'id': 797, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'zara', 'precio': 11000}}, {'id': 798, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'nike', 'precio': 9500}}, {'id': 799, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'zara', 'precio': 14000}}, {'id': 800, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'nike', 'precio': 4444}}, {'id': 801, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'polo', 'precio': 11000}}, {'id': 802, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'zara', 'precio': 4789}}, {'id': 803, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'polo', 'precio': 4444}}, {'id': 804, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 4447}}, {'id': 805, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'polo', 'precio': 8889}}, {'id': 806, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'zara', 'precio': 15000}}, {'id': 807, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'adidas', 'precio': 4558}}, {'id': 808, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'blue', 'precio': 9500}}, {'id': 809, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 2333}}, {'id': 810, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'nike', 'precio': 11000}}, {'id': 811, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'nike', 'precio': 4447}}, {'id': 812, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'zara', 'precio': 4789}}, {'id': 813, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'adidas', 'precio': 4558}}, {'id': 814, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'polo', 'precio': 11000}}, {'id': 815, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'polo', 'precio': 10000}}, {'id': 816, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'blue', 'precio': 4447}}, {'id': 817, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'polo', 'precio': 15000}}, {'id': 818, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'zara', 'precio': 11000}}, {'id': 819, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'zara', 'precio': 2333}}, {'id': 820, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'polo', 'precio': 4569}}, {'id': 821, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'adidas', 'precio': 4447}}, {'id': 822, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'zara', 'precio': 2333}}, {'id': 823, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'nike', 'precio': 9500}}, {'id': 824, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'polo', 'precio': 11000}}, {'id': 825, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'polo', 'precio': 10000}}, {'id': 826, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'zara', 'precio': 2333}}, {'id': 827, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'polo', 'precio': 8889}}, {'id': 828, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'blue', 'precio': 11000}}, {'id': 829, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'polo', 'precio': 14000}}, {'id': 830, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'nike', 'precio': 4569}}, {'id': 831, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'blue', 'precio': 4447}}, {'id': 832, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'blue', 'precio': 2333}}, {'id': 833, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'nike', 'precio': 4447}}, {'id': 834, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 10000}}, {'id': 835, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'zara', 'precio': 2333}}, {'id': 836, 'atrr': {'color': 'verde', 'size': 'xxl', 'brand': 'polo', 'precio': 1540}}, {'id': 837, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'adidas', 'precio': 4558}}, {'id': 838, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'zara', 'precio': 11000}}, {'id': 839, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'zara', 'precio': 4447}}, {'id': 840, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'nike', 'precio': 10000}}, {'id': 841, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'adidas', 'precio': 15000}}, {'id': 842, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'zara', 'precio': 4569}}, {'id': 843, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'blue', 'precio': 2333}}, {'id': 844, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'polo', 'precio': 10000}}, {'id': 845, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'polo', 'precio': 14000}}, {'id': 846, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'adidas', 'precio': 15000}}, {'id': 847, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 15000}}, {'id': 848, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'blue', 'precio': 4789}}, {'id': 849, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'zara', 'precio': 1540}}, {'id': 850, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'nike', 'precio': 4447}}, {'id': 851, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'adidas', 'precio': 1540}}, {'id': 852, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'polo', 'precio': 1540}}, {'id': 853, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'blue', 'precio': 14000}}, {'id': 854, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'adidas', 'precio': 15000}}, {'id': 855, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'polo', 'precio': 4789}}, {'id': 856, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'blue', 'precio': 4569}}, {'id': 857, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'zara', 'precio': 4444}}, {'id': 858, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'zara', 'precio': 9500}}, {'id': 859, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'polo', 'precio': 10000}}, {'id': 860, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'polo', 'precio': 14000}}, {'id': 861, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'adidas', 'precio': 4789}}, {'id': 862, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'polo', 'precio': 4789}}, {'id': 863, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'adidas', 'precio': 4789}}, {'id': 864, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'polo', 'precio': 4558}}, {'id': 865, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'adidas', 'precio': 14000}}, {'id': 866, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 8889}}, {'id': 867, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'zara', 'precio': 8889}}, {'id': 868, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'adidas', 'precio': 10000}}, {'id': 869, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'polo', 'precio': 11000}}, {'id': 870, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'polo', 'precio': 9500}}, {'id': 871, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'polo', 'precio': 4447}}, {'id': 872, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'polo', 'precio': 4789}}, {'id': 873, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'zara', 'precio': 4569}}, {'id': 874, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'zara', 'precio': 4569}}, {'id': 875, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'blue', 'precio': 9500}}, {'id': 876, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'nike', 'precio': 2333}}, {'id': 877, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'polo', 'precio': 1540}}, {'id': 878, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'blue', 'precio': 4558}}, {'id': 879, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'polo', 'precio': 4444}}, {'id': 880, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'zara', 'precio': 15000}}, {'id': 881, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'blue', 'precio': 10000}}, {'id': 882, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'adidas', 'precio': 4569}}, {'id': 883, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'adidas', 'precio': 4444}}, {'id': 884, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'adidas', 'precio': 10000}}, {'id': 885, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'polo', 'precio': 10000}}, {'id': 886, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'zara', 'precio': 9500}}, {'id': 887, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'zara', 'precio': 1540}}, {'id': 888, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 14000}}, {'id': 889, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'adidas', 'precio': 10000}}, {'id': 890, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'zara', 'precio': 2333}}, {'id': 891, 'atrr': {'color': 'rojo', 'size': 'xxl', 'brand': 'zara', 'precio': 10000}}, {'id': 892, 'atrr': {'color': 'amarillo', 'size': 'm', 'brand': 'nike', 'precio': 9500}}, {'id': 893, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'zara', 'precio': 4569}}, {'id': 894, 'atrr': {'color': 'rojo', 'size': 'm', 'brand': 'nike', 'precio': 4789}}, {'id': 895, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'adidas', 'precio': 4558}}, {'id': 896, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'adidas', 'precio': 4447}}, {'id': 897, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'nike', 'precio': 15000}}, {'id': 898, 'atrr': {'color': 'verde', 'size': 'm', 'brand': 'zara', 'precio': 4558}}, {'id': 899, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'nike', 'precio': 15000}}, {'id': 900, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'zara', 'precio': 9500}}, {'id': 901, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'zara', 'precio': 2333}}, {'id': 902, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'zara', 'precio': 4558}}, {'id': 903, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 14000}}, {'id': 904, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'nike', 'precio': 10000}}, {'id': 905, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 11000}}, {'id': 906, 'atrr': {'color': 'rojo', 'size': 'm', 'brand': 'nike', 'precio': 15000}}, {'id': 907, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'polo', 'precio': 15000}}, {'id': 908, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 2333}}, {'id': 909, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'adidas', 'precio': 4789}}, {'id': 910, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'adidas', 'precio': 15000}}, {'id': 911, 'atrr': {'color': 'verde', 'size': 'l', 'brand': 'zara', 'precio': 4558}}, {'id': 912, 'atrr': {'color': 'rojo', 'size': 'l', 'brand': 'nike', 'precio': 10000}}, {'id': 913, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'blue', 'precio': 8889}}, {'id': 914, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'adidas', 'precio': 10000}}, {'id': 915, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'blue', 'precio': 2333}}, {'id': 916, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'adidas', 'precio': 2333}}, {'id': 917, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'nike', 'precio': 9500}}, {'id': 918, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'blue', 'precio': 4789}}, {'id': 919, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'nike', 'precio': 2333}}, {'id': 920, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'blue', 'precio': 1540}}, {'id': 921, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'polo', 'precio': 4569}}, {'id': 922, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'nike', 'precio': 4569}}, {'id': 923, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'polo', 'precio': 14000}}, {'id': 924, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'zara', 'precio': 9500}}, {'id': 925, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'nike', 'precio': 4558}}, {'id': 926, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'blue', 'precio': 10000}}, {'id': 927, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'zara', 'precio': 10000}}, {'id': 928, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'polo', 'precio': 9500}}, {'id': 929, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'adidas', 'precio': 10000}}, {'id': 930, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'polo', 'precio': 4569}}, {'id': 931, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'blue', 'precio': 2333}}, {'id': 932, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'blue', 'precio': 14000}}, {'id': 933, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'adidas', 'precio': 10000}}, {'id': 934, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'zara', 'precio': 14000}}, {'id': 935, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'polo', 'precio': 4444}}, {'id': 936, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'blue', 'precio': 4789}}, {'id': 937, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 8889}}, {'id': 938, 'atrr': {'color': 'rojo', 'size': 'm', 'brand': 'adidas', 'precio': 4789}}, {'id': 939, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'nike', 'precio': 11000}}, {'id': 940, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'nike', 'precio': 4569}}, {'id': 941, 'atrr': {'color': 'azul', 'size': 'm', 'brand': 'blue', 'precio': 4569}}, {'id': 942, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 15000}}, {'id': 943, 'atrr': {'color': 'naranja', 'size': 's', 'brand': 'polo', 'precio': 10000}}, {'id': 944, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'adidas', 'precio': 11000}}, {'id': 945, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'zara', 'precio': 15000}}, {'id': 946, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'blue', 'precio': 4558}}, {'id': 947, 'atrr': {'color': 'naranja', 'size': 'm', 'brand': 'zara', 'precio': 8889}}, {'id': 948, 'atrr': {'color': 'morado', 'size': 'm', 'brand': 'nike', 'precio': 4569}}, {'id': 949, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'nike', 'precio': 10000}}, {'id': 950, 'atrr': {'color': 'naranja', 'size': 'xl', 'brand': 'zara', 'precio': 15000}}, {'id': 951, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'nike', 'precio': 2333}}, {'id': 952, 'atrr': {'color': 'amarillo', 'size': 'xl', 'brand': 'zara', 'precio': 4789}}, {'id': 953, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'zara', 'precio': 10000}}, {'id': 954, 'atrr': {'color': 'verde', 'size': 'xl', 'brand': 'polo', 'precio': 8889}}, {'id': 955, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'zara', 'precio': 14000}}, {'id': 956, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'blue', 'precio': 15000}}, {'id': 957, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'adidas', 'precio': 8889}}, {'id': 958, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'polo', 'precio': 2333}}, {'id': 959, 'atrr': {'color': 'azul', 'size': 'xl', 'brand': 'zara', 'precio': 10000}}, {'id': 960, 'atrr': {'color': 'amarillo', 'size': 'xxl', 'brand': 'adidas', 'precio': 4444}}, {'id': 961, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'polo', 'precio': 4447}}, {'id': 962, 'atrr': {'color': 'rojo', 'size': 'm', 'brand': 'adidas', 'precio': 15000}}, {'id': 963, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'adidas', 'precio': 2333}}, {'id': 964, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'zara', 'precio': 9500}}, {'id': 965, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'polo', 'precio': 10000}}, {'id': 966, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'polo', 'precio': 2333}}, {'id': 967, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'adidas', 'precio': 4447}}, {'id': 968, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'zara', 'precio': 14000}}, {'id': 969, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'blue', 'precio': 15000}}, {'id': 970, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'adidas', 'precio': 10000}}, {'id': 971, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'blue', 'precio': 4558}}, {'id': 972, 'atrr': {'color': 'morado', 'size': 's', 'brand': 'nike', 'precio': 9500}}, {'id': 973, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'polo', 'precio': 4569}}, {'id': 974, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'polo', 'precio': 10000}}, {'id': 975, 'atrr': {'color': 'azul', 'size': 'l', 'brand': 'polo', 'precio': 4447}}, {'id': 976, 'atrr': {'color': 'amarillo', 'size': 'xs', 'brand': 'blue', 'precio': 15000}}, {'id': 977, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'adidas', 'precio': 4789}}, {'id': 978, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'adidas', 'precio': 4447}}, {'id': 979, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'blue', 'precio': 14000}}, {'id': 980, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'nike', 'precio': 11000}}, {'id': 981, 'atrr': {'color': 'naranja', 'size': 'xs', 'brand': 'adidas', 'precio': 10000}}, {'id': 982, 'atrr': {'color': 'rojo', 'size': 's', 'brand': 'zara', 'precio': 4558}}, {'id': 983, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'polo', 'precio': 4569}}, {'id': 984, 'atrr': {'color': 'azul', 'size': 's', 'brand': 'adidas', 'precio': 4558}}, {'id': 985, 'atrr': {'color': 'morado', 'size': 'l', 'brand': 'polo', 'precio': 4444}}, {'id': 986, 'atrr': {'color': 'amarillo', 'size': 's', 'brand': 'zara', 'precio': 4447}}, {'id': 987, 'atrr': {'color': 'verde', 'size': 's', 'brand': 'zara', 'precio': 4444}}, {'id': 988, 'atrr': {'color': 'amarillo', 'size': 'l', 'brand': 'blue', 'precio': 4444}}, {'id': 989, 'atrr': {'color': 'morado', 'size': 'xs', 'brand': 'zara', 'precio': 8889}}, {'id': 990, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'adidas', 'precio': 4447}}, {'id': 991, 'atrr': {'color': 'rojo', 'size': 'xl', 'brand': 'blue', 'precio': 10000}}, {'id': 992, 'atrr': {'color': 'morado', 'size': 'xxl', 'brand': 'adidas', 'precio': 9500}}, {'id': 993, 'atrr': {'color': 'rojo', 'size': 'xs', 'brand': 'zara', 'precio': 2333}}, {'id': 994, 'atrr': {'color': 'naranja', 'size': 'xxl', 'brand': 'zara', 'precio': 9500}}, {'id': 995, 'atrr': {'color': 'verde', 'size': 'xs', 'brand': 'nike', 'precio': 11000}}, {'id': 996, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'blue', 'precio': 4789}}, {'id': 997, 'atrr': {'color': 'azul', 'size': 'xxl', 'brand': 'nike', 'precio': 4558}}, {'id': 998, 'atrr': {'color': 'naranja', 'size': 'l', 'brand': 'zara', 'precio': 15000}}, {'id': 999, 'atrr': {'color': 'azul', 'size': 'xs', 'brand': 'nike', 'precio': 1540}}, {'id': 1000, 'atrr': {'color': 'morado', 'size': 'xl', 'brand': 'nike', 'precio': 15000}}] |
def repeated(words):
distance = float('inf')
d = {}
for i, word in enumerate(words):
if word in d:
temp = abs(d[word] - i)
if temp < distance:
distance = temp
d[word] = i
return distance
| def repeated(words):
distance = float('inf')
d = {}
for (i, word) in enumerate(words):
if word in d:
temp = abs(d[word] - i)
if temp < distance:
distance = temp
d[word] = i
return distance |
class Skin(object):
menu_positions = ["left", "right"]
height_decrement = 150
def get_base_template(self, module):
t = self.base_template
if module and module.has_local_nav():
t = self.local_nav_template
return t
def initialize(self, appshell):
pass
| class Skin(object):
menu_positions = ['left', 'right']
height_decrement = 150
def get_base_template(self, module):
t = self.base_template
if module and module.has_local_nav():
t = self.local_nav_template
return t
def initialize(self, appshell):
pass |
# Day5 of my 100DaysOfCode Challenge
# Program to learn is and in
# use of is
number = None
if (number is None):
print("Yes")
else:
print("No")
# use of in
list = [45, 34, 67, 99]
print(34 in list) | number = None
if number is None:
print('Yes')
else:
print('No')
list = [45, 34, 67, 99]
print(34 in list) |
def multiplication(factor, multiplier):
product = factor * multiplier
if (product % 1) == 0:
return int(product)
else:
return product
| def multiplication(factor, multiplier):
product = factor * multiplier
if product % 1 == 0:
return int(product)
else:
return product |
[ ## this file was manually modified by jt
{
'functor' : {
'description' : ['returns a scalar integer value composed by the highiest bits.',
'of each vector element'],
'module' : 'boost',
'arity' : '1',
'call_types' : [],
'ret_arity' : '0',
'rturn' : {
'default' : 'T',
},
'special' : ['reduction'],
'type_defs' : [],
'types' : ['real_', 'signed_int_', 'unsigned_int_']
},
'info' : 'manually modified',
'unit' : {
'global_header' : {
'first_stamp' : 'created by jt the 24/02/2011',
'included' : [],
'simd_included' : ['#include <boost/simd/include/functions/bits.hpp>',
'#include <boost/simd/include/functions/shri.hpp>'],
'cover_included' : ['#include <boost/simd/include/functions/bits.hpp>'],
'no_ulp' : 'True',
'notes' : [],
'stamp' : 'modified by jt the 24/02/2011',
},
'ranges' : {
'default' : [['boost::simd::Valmin<T>()', 'boost::simd::Valmax<T>()']],
},
'specific_values' : {
'signed_int_' : {
'boost::simd::One<T>()' : {'result' : 'boost::simd::Zero<r_t>()','ulp_thresh' : '0',},
'boost::simd::Zero<T>()' : {'result' : 'boost::simd::Zero<r_t>()','ulp_thresh' : '0',},
'boost::simd::Signmask<T>()' : {'result' : 'r_t((1ull << boost::simd::meta::cardinal_of<vT>::value) - 1)','ulp_thresh' : '0',},
'boost::simd::Allbits<T>()' : {'result' : 'r_t((1ull << boost::simd::meta::cardinal_of<vT>::value) - 1)','ulp_thresh' : '0',},
},
'unsigned_int_' : {
'boost::simd::One<T>()' : {'result' : 'boost::simd::Zero<r_t>()','ulp_thresh' : '0',},
'boost::simd::Zero<T>()' : {'result' : 'boost::simd::Zero<r_t>()','ulp_thresh' : '0',},
'boost::simd::Allbits<T>()' : {'result' : 'r_t((1ull << boost::simd::meta::cardinal_of<vT>::value) - 1)','ulp_thresh' : '0',},
},
'real_' : {
'boost::simd::Inf<T>()' : {'result' : 'boost::simd::Zero<r_t>()','ulp_thresh' : '0',},
'boost::simd::Minf<T>()' : {'result' : 'boost::simd::shri(boost::simd::Mone<boost::simd::int32_t>(),int(32-boost::simd::meta::cardinal_of<vT>::value))','ulp_thresh' : '0',},
'boost::simd::Mone<T>()' : {'result' : 'boost::simd::shri(boost::simd::Mone<boost::simd::int32_t>(),int(32-boost::simd::meta::cardinal_of<vT>::value))','ulp_thresh' : '0',},
'boost::simd::Nan<T>()' : {'result' : 'boost::simd::shri(boost::simd::Mone<boost::simd::int32_t>(),int(32-boost::simd::meta::cardinal_of<vT>::value))','ulp_thresh' : '0',},
'boost::simd::One<T>()' : {'result' : 'boost::simd::Zero<r_t>()','ulp_thresh' : '0',},
'boost::simd::Zero<T>()' : {'result' : 'boost::simd::Zero<r_t>()','ulp_thresh' : '0',},
'boost::simd::Signmask<T>()' : {'result' : 'r_t((1ull << boost::simd::meta::cardinal_of<vT>::value) - 1)','ulp_thresh' : '0',},
'boost::simd::Allbits<T>()' : {'result' : 'r_t((1ull << boost::simd::meta::cardinal_of<vT>::value) - 1)','ulp_thresh' : '0',},
},
},
'verif_test' : {
'nb_rand' : {
'default' : 'NT2_NB_RANDOM_TEST',
},
'property_call' : {
'default' : ['boost::simd::hmsb(a0)'],
},
'property_value' : {
'default' : ['boost::simd::b_and(a0, boost::simd::Signmask<r_t>()) != 0'],
},
'ulp_thresh' : {
'default' : ['0'],
},
'scalar_simul' :{
'default' : [
" int z = 0;",
" int N = cardinal_of<n_t>::value;",
" for(int i = 0; i< N; ++i)",
" {",
" z |= boost::simd::bits(a0[i]) >> (sizeof(iT)*CHAR_BIT - 1) << (N-i-1);"
" }",
" NT2_TEST_EQUAL( v,z);",
]
},
},
},
},
]
| [{'functor': {'description': ['returns a scalar integer value composed by the highiest bits.', 'of each vector element'], 'module': 'boost', 'arity': '1', 'call_types': [], 'ret_arity': '0', 'rturn': {'default': 'T'}, 'special': ['reduction'], 'type_defs': [], 'types': ['real_', 'signed_int_', 'unsigned_int_']}, 'info': 'manually modified', 'unit': {'global_header': {'first_stamp': 'created by jt the 24/02/2011', 'included': [], 'simd_included': ['#include <boost/simd/include/functions/bits.hpp>', '#include <boost/simd/include/functions/shri.hpp>'], 'cover_included': ['#include <boost/simd/include/functions/bits.hpp>'], 'no_ulp': 'True', 'notes': [], 'stamp': 'modified by jt the 24/02/2011'}, 'ranges': {'default': [['boost::simd::Valmin<T>()', 'boost::simd::Valmax<T>()']]}, 'specific_values': {'signed_int_': {'boost::simd::One<T>()': {'result': 'boost::simd::Zero<r_t>()', 'ulp_thresh': '0'}, 'boost::simd::Zero<T>()': {'result': 'boost::simd::Zero<r_t>()', 'ulp_thresh': '0'}, 'boost::simd::Signmask<T>()': {'result': 'r_t((1ull << boost::simd::meta::cardinal_of<vT>::value) - 1)', 'ulp_thresh': '0'}, 'boost::simd::Allbits<T>()': {'result': 'r_t((1ull << boost::simd::meta::cardinal_of<vT>::value) - 1)', 'ulp_thresh': '0'}}, 'unsigned_int_': {'boost::simd::One<T>()': {'result': 'boost::simd::Zero<r_t>()', 'ulp_thresh': '0'}, 'boost::simd::Zero<T>()': {'result': 'boost::simd::Zero<r_t>()', 'ulp_thresh': '0'}, 'boost::simd::Allbits<T>()': {'result': 'r_t((1ull << boost::simd::meta::cardinal_of<vT>::value) - 1)', 'ulp_thresh': '0'}}, 'real_': {'boost::simd::Inf<T>()': {'result': 'boost::simd::Zero<r_t>()', 'ulp_thresh': '0'}, 'boost::simd::Minf<T>()': {'result': 'boost::simd::shri(boost::simd::Mone<boost::simd::int32_t>(),int(32-boost::simd::meta::cardinal_of<vT>::value))', 'ulp_thresh': '0'}, 'boost::simd::Mone<T>()': {'result': 'boost::simd::shri(boost::simd::Mone<boost::simd::int32_t>(),int(32-boost::simd::meta::cardinal_of<vT>::value))', 'ulp_thresh': '0'}, 'boost::simd::Nan<T>()': {'result': 'boost::simd::shri(boost::simd::Mone<boost::simd::int32_t>(),int(32-boost::simd::meta::cardinal_of<vT>::value))', 'ulp_thresh': '0'}, 'boost::simd::One<T>()': {'result': 'boost::simd::Zero<r_t>()', 'ulp_thresh': '0'}, 'boost::simd::Zero<T>()': {'result': 'boost::simd::Zero<r_t>()', 'ulp_thresh': '0'}, 'boost::simd::Signmask<T>()': {'result': 'r_t((1ull << boost::simd::meta::cardinal_of<vT>::value) - 1)', 'ulp_thresh': '0'}, 'boost::simd::Allbits<T>()': {'result': 'r_t((1ull << boost::simd::meta::cardinal_of<vT>::value) - 1)', 'ulp_thresh': '0'}}}, 'verif_test': {'nb_rand': {'default': 'NT2_NB_RANDOM_TEST'}, 'property_call': {'default': ['boost::simd::hmsb(a0)']}, 'property_value': {'default': ['boost::simd::b_and(a0, boost::simd::Signmask<r_t>()) != 0']}, 'ulp_thresh': {'default': ['0']}, 'scalar_simul': {'default': [' int z = 0;', ' int N = cardinal_of<n_t>::value;', ' for(int i = 0; i< N; ++i)', ' {', ' z |= boost::simd::bits(a0[i]) >> (sizeof(iT)*CHAR_BIT - 1) << (N-i-1); }', ' NT2_TEST_EQUAL( v,z);']}}}}] |
class Source:
source_list = []
def __init__(self, id, description, url, category):
self.id = id
self.description = description
self.url = url
self.category = category
class Articles:
def __init__(self, id,author, title, urlToImage, url):
self.id = id
self.author = author
self.title = title
self.urlToImage= urlToImage
self.url = url
| class Source:
source_list = []
def __init__(self, id, description, url, category):
self.id = id
self.description = description
self.url = url
self.category = category
class Articles:
def __init__(self, id, author, title, urlToImage, url):
self.id = id
self.author = author
self.title = title
self.urlToImage = urlToImage
self.url = url |
#! /usr/bin/python
def _zeros(size):
out = [[0 for _ in range(size)] for _ in range(size)]
return out
def _enforce_self_dist(dist_matrix, scale):
longest = max((max(row) for row in dist_matrix))
longest *= scale
for i in range(len(dist_matrix)):
dist_matrix[i][i] = longest
return dist_matrix
def build_distance(hub_distance, patient_distance, scale):
out = _zeros(len(patient_distance) + 1)
for i, d in enumerate(hub_distance, 1):
out[0][i] = d
out[i][0] = d
for i, row in enumerate(patient_distance, 1):
for j, d in enumerate(row, 1):
out[i][j] = d
return _enforce_self_dist(out, scale)
| def _zeros(size):
out = [[0 for _ in range(size)] for _ in range(size)]
return out
def _enforce_self_dist(dist_matrix, scale):
longest = max((max(row) for row in dist_matrix))
longest *= scale
for i in range(len(dist_matrix)):
dist_matrix[i][i] = longest
return dist_matrix
def build_distance(hub_distance, patient_distance, scale):
out = _zeros(len(patient_distance) + 1)
for (i, d) in enumerate(hub_distance, 1):
out[0][i] = d
out[i][0] = d
for (i, row) in enumerate(patient_distance, 1):
for (j, d) in enumerate(row, 1):
out[i][j] = d
return _enforce_self_dist(out, scale) |
# Parameters template.
#
# This should agree with the current params.ini with the exception of the
# fields we wish to modify.
#
# This template is called by run_sample.py for producing many outputs that are
# needed to run a convergence study.
finess_data_template = '''
; Parameters common to FINESS applications
[finess]
ndims = 2 ; 1, 2, or 3
nout = 1 ; number of output times to print results
tfinal = 1.0 ; final time
initial_dt = 1.0 ; initial dt
max_dt = 1.0 ; max allowable dt
max_cfl = 0.4 ; max allowable Courant number
desired_cfl = 0.35 ; desired Courant number
nv = 500000 ; max number of time steps per call to DogSolve
time_stepping_method = %(ts_method_str)s ; (e.g., Runge-Kutta, Lax-Wendroff, Multiderivative, User-Defined)
space_order = %(s_order)i ; order of accuracy in space
time_order = %(t_order)i ; order of accuracy in time
verbosity = 1 ; verbosity of output
mcapa = 0 ; mcapa (capacity function index in aux arrays)
maux = 2 ; maux (number of aux arrays, maux >= mcapa)
source_term = false ; source term (1-yes, 0-no)
meqn = 1 ; number of equations
output_dir = %(output)s ; location of the output directory
; -------------------------------------------------
; Cartesian grid data (ignored if Unstructured)
; -------------------------------------------------
[grid]
mx = %(mx)i ; number of grid elements in x-direction
my = %(my)i ; number of grid elements in y-direction
mbc = 3 ; number of ghost cells on each boundary
xlow = 0.0e0 ; left end point
xhigh = 1.0e0 ; right end point
ylow = 0.0e0 ; lower end point
yhigh = 1.0e0 ; upper end point
; -------------------------------------------------
; WENO values
; -------------------------------------------------
[weno]
weno_version = JS ; type of WENO reconstruction (e.g. JS, FD, Z)
epsilon = 1e-29 ; regulization parameter ( epsilon > 0.0 )
alpha_scaling = 1.1 ; scaling parameter ( alpha_scaling >= 1.0 )
'''
| finess_data_template = '\n; Parameters common to FINESS applications\n[finess]\nndims = 2 ; 1, 2, or 3\nnout = 1 ; number of output times to print results\ntfinal = 1.0 ; final time\ninitial_dt = 1.0 ; initial dt\nmax_dt = 1.0 ; max allowable dt \nmax_cfl = 0.4 ; max allowable Courant number\ndesired_cfl = 0.35 ; desired Courant number\nnv = 500000 ; max number of time steps per call to DogSolve\ntime_stepping_method = %(ts_method_str)s ; (e.g., Runge-Kutta, Lax-Wendroff, Multiderivative, User-Defined)\nspace_order = %(s_order)i ; order of accuracy in space\ntime_order = %(t_order)i ; order of accuracy in time\nverbosity = 1 ; verbosity of output\nmcapa = 0 ; mcapa (capacity function index in aux arrays)\nmaux = 2 ; maux (number of aux arrays, maux >= mcapa)\nsource_term = false ; source term (1-yes, 0-no)\nmeqn = 1 ; number of equations\noutput_dir = %(output)s ; location of the output directory\n\n; -------------------------------------------------\n; Cartesian grid data (ignored if Unstructured)\n; -------------------------------------------------\n[grid]\nmx = %(mx)i ; number of grid elements in x-direction\nmy = %(my)i ; number of grid elements in y-direction\nmbc = 3 ; number of ghost cells on each boundary\nxlow = 0.0e0 ; left end point\nxhigh = 1.0e0 ; right end point\nylow = 0.0e0 ; lower end point\nyhigh = 1.0e0 ; upper end point\n\n; -------------------------------------------------\n; WENO values\n; -------------------------------------------------\n[weno]\nweno_version = JS ; type of WENO reconstruction (e.g. JS, FD, Z)\nepsilon = 1e-29 ; regulization parameter ( epsilon > 0.0 )\nalpha_scaling = 1.1 ; scaling parameter ( alpha_scaling >= 1.0 )\n' |
# https://leetcode.com/problems/sort-colors/
class Solution:
def sortColors(self, nums):
"""
:type nums: List[int]
:rtype: void Do not return anything, modify nums in-place instead.
"""
if len(nums) < 2: return
l, r = 0, len(nums) - 1
while l < r:
while l < r and nums[l] in (0, 1): l += 1
while r > l and nums[r] == 2: r -= 1
if l < r:
nums[l], nums[r] = nums[r], nums[l]
l += 1
r -= 1
l = 0
if nums[r] == 2: r -= 1
while l < r:
while l < r and nums[l] == 0: l += 1
while r > l and nums[r] == 1: r -= 1
if l < r:
nums[l], nums[r] = nums[r], nums[l]
l += 1
r -= 1
| class Solution:
def sort_colors(self, nums):
"""
:type nums: List[int]
:rtype: void Do not return anything, modify nums in-place instead.
"""
if len(nums) < 2:
return
(l, r) = (0, len(nums) - 1)
while l < r:
while l < r and nums[l] in (0, 1):
l += 1
while r > l and nums[r] == 2:
r -= 1
if l < r:
(nums[l], nums[r]) = (nums[r], nums[l])
l += 1
r -= 1
l = 0
if nums[r] == 2:
r -= 1
while l < r:
while l < r and nums[l] == 0:
l += 1
while r > l and nums[r] == 1:
r -= 1
if l < r:
(nums[l], nums[r]) = (nums[r], nums[l])
l += 1
r -= 1 |
class AST:
def __init__(self, root_symbol, rule, *children):
self.root_symbol = root_symbol
self.rule = rule
self.children = children
def __str__(self):
return str(self.root_symbol)
class Leaf(AST):
def __init__(self, root_symbol, actual_input):
super(Leaf, self).__init__(root_symbol, None)
self.actual_input = actual_input
def __str__(self):
return str(self.actual_input)
| class Ast:
def __init__(self, root_symbol, rule, *children):
self.root_symbol = root_symbol
self.rule = rule
self.children = children
def __str__(self):
return str(self.root_symbol)
class Leaf(AST):
def __init__(self, root_symbol, actual_input):
super(Leaf, self).__init__(root_symbol, None)
self.actual_input = actual_input
def __str__(self):
return str(self.actual_input) |
# Copyright 2020-present NAVER Corp. Under BSD 3-clause license
"""
OpenSfM to kapture import and export.
"""
| """
OpenSfM to kapture import and export.
""" |
product = 1
i = 1
while product > 0.5:
product *= (365.0 - i) / 365.0
i += 1
print(product, i)
| product = 1
i = 1
while product > 0.5:
product *= (365.0 - i) / 365.0
i += 1
print(product, i) |
class Direcao:
def __init__(self):
self.posicoes = ("Norte", "Leste", "Sul", "Oeste")
self.direcao_atual = 0
def girar_a_direita(self):
self.direcao_atual += 1
self.direcao_atual = min(3, self.direcao_atual)
#if self.direcao_atual > 3:
#self.direcao_atual = 0
def girar_a_esquerda(self):
self.direcao_atual -= 1
self.direcao_atual = max(-3, self.direcao_atual)
##if self.direcao_atual < -3:
##self.direcao_atual = 0
if __name__ == '__main__':
d = Direcao()
print(d.direcao_atual)
d.girar_a_direita()
print(d.direcao_atual)
d.girar_a_direita()
print(d.direcao_atual)
d.girar_a_direita()
print(d.direcao_atual)
d.girar_a_direita()
print(d.direcao_atual)
d.girar_a_esquerda()
print(d.direcao_atual)
d.girar_a_esquerda()
print(d.direcao_atual)
d.girar_a_esquerda()
print(d.direcao_atual)
d.girar_a_esquerda()
print(d.direcao_atual)
| class Direcao:
def __init__(self):
self.posicoes = ('Norte', 'Leste', 'Sul', 'Oeste')
self.direcao_atual = 0
def girar_a_direita(self):
self.direcao_atual += 1
self.direcao_atual = min(3, self.direcao_atual)
def girar_a_esquerda(self):
self.direcao_atual -= 1
self.direcao_atual = max(-3, self.direcao_atual)
if __name__ == '__main__':
d = direcao()
print(d.direcao_atual)
d.girar_a_direita()
print(d.direcao_atual)
d.girar_a_direita()
print(d.direcao_atual)
d.girar_a_direita()
print(d.direcao_atual)
d.girar_a_direita()
print(d.direcao_atual)
d.girar_a_esquerda()
print(d.direcao_atual)
d.girar_a_esquerda()
print(d.direcao_atual)
d.girar_a_esquerda()
print(d.direcao_atual)
d.girar_a_esquerda()
print(d.direcao_atual) |
br, bc = map(int, input().split())
dr, dc = map(int, input().split())
jr, jc = map(int, input().split())
bessie = max(abs(br - jr), abs(bc - jc))
daisy = abs(dr - jr) + abs(dc - jc)
if bessie == daisy:
print('tie')
elif bessie < daisy:
print('bessie')
else:
print('daisy')
| (br, bc) = map(int, input().split())
(dr, dc) = map(int, input().split())
(jr, jc) = map(int, input().split())
bessie = max(abs(br - jr), abs(bc - jc))
daisy = abs(dr - jr) + abs(dc - jc)
if bessie == daisy:
print('tie')
elif bessie < daisy:
print('bessie')
else:
print('daisy') |
# we write a function that computes x factorial recursively
def recursiveFactorial(x):
# we check that x is positive
if x < 0:
raise exception("factorials of non-negative numbers only")
# we check if x is either 0 or 1
if x <= 1:
# we return the asnwer 1
return 1
else:
# we recurse
return x * recursiveFactorial(x - 1) | def recursive_factorial(x):
if x < 0:
raise exception('factorials of non-negative numbers only')
if x <= 1:
return 1
else:
return x * recursive_factorial(x - 1) |
#!/bin/python3
def hackerrankInString(s):
find = "hackerrank"
i = 0
for c in s:
if find[i] == c:
i += 1
if i >= len(find):
return("YES")
return("NO")
if __name__ == "__main__":
q = int(input().strip())
for a0 in range(q):
s = input().strip()
result = hackerrankInString(s)
print(result)
| def hackerrank_in_string(s):
find = 'hackerrank'
i = 0
for c in s:
if find[i] == c:
i += 1
if i >= len(find):
return 'YES'
return 'NO'
if __name__ == '__main__':
q = int(input().strip())
for a0 in range(q):
s = input().strip()
result = hackerrank_in_string(s)
print(result) |
filein = input('Input an email log txt file please: ')
emaillog = open(filein)
days = dict()
for x in emaillog:
if 'From ' in x:
array = x.split()
day = array[1]
day = day.split('@')
day = day[1]
days[day] = days.get(day, 0)+1
else:
continue
print(days)
# most = max(days, key=days.get)
# print(most, days[most])
| filein = input('Input an email log txt file please: ')
emaillog = open(filein)
days = dict()
for x in emaillog:
if 'From ' in x:
array = x.split()
day = array[1]
day = day.split('@')
day = day[1]
days[day] = days.get(day, 0) + 1
else:
continue
print(days) |
known = {}
def binomial_coeff_memoized(n, k):
"""Uses recursion to compute the binomial coefficient "n choose k", sped up by memoization
n: number of trials
k: number of successes
returns: int
"""
breakpoint()
if k == 0:
return 1
if n == 0:
return 0
if (n, k) in known:
return known[n, k]
result = binomial_coeff_memoized(n-1, k) + binomial_coeff_memoized(n-1, k-1)
known[(n, k)] = result
return result
n = 150
k = 4
t = binomial_coeff_memoized(n, k)
print(t)
| known = {}
def binomial_coeff_memoized(n, k):
"""Uses recursion to compute the binomial coefficient "n choose k", sped up by memoization
n: number of trials
k: number of successes
returns: int
"""
breakpoint()
if k == 0:
return 1
if n == 0:
return 0
if (n, k) in known:
return known[n, k]
result = binomial_coeff_memoized(n - 1, k) + binomial_coeff_memoized(n - 1, k - 1)
known[n, k] = result
return result
n = 150
k = 4
t = binomial_coeff_memoized(n, k)
print(t) |
def attack(encrypt_oracle, decrypt_oracle, iv, c, t):
"""
Uses a chosen-ciphertext attack to decrypt the ciphertext.
:param encrypt_oracle: the encryption oracle
:param decrypt_oracle: the decryption oracle
:param iv: the initialization vector
:param c: the ciphertext
:param t: the tag corresponding to the ciphertext
:return: the plaintext
"""
p_ = bytes(16) + iv + c
iv_, c_, t_ = encrypt_oracle(p_)
c__ = iv + c
p__ = decrypt_oracle(iv_, c__, c_[-32:-16])
return p__[16:]
| def attack(encrypt_oracle, decrypt_oracle, iv, c, t):
"""
Uses a chosen-ciphertext attack to decrypt the ciphertext.
:param encrypt_oracle: the encryption oracle
:param decrypt_oracle: the decryption oracle
:param iv: the initialization vector
:param c: the ciphertext
:param t: the tag corresponding to the ciphertext
:return: the plaintext
"""
p_ = bytes(16) + iv + c
(iv_, c_, t_) = encrypt_oracle(p_)
c__ = iv + c
p__ = decrypt_oracle(iv_, c__, c_[-32:-16])
return p__[16:] |
# 21303 - [Job Adv] (Lv.60) Aran
sm.setSpeakerID(1203001)
sm.sendNext("*Sob sob* #p1203001# is sad. #p1203001# is mad. #p1203001# cries. *Sob sob*")
sm.setPlayerAsSpeaker()
sm.sendNext("Wh...What's wrong?")
sm.setSpeakerID(1203001)
sm.sendNext("#p1203001# made gem. #bGem as red as apple#k. But #rthief#k stole gem. #p1203001# no longer has gem. #p1203001# is sad...")
sm.setPlayerAsSpeaker()
sm.sendNext("A thief stole your red gem?")
sm.setSpeakerID(1203001)
if sm.sendAskYesNo("yes, #p1203001# wants gem back. #p1203001# reward you if you find gem. Catch thief and you get reward."):
sm.startQuest(parentID)
sm.sendNext("The thief wen that way! Which way? Hold on...eat with right hand, not left hand... #bLeft#k! He went left! Go left and you find thief.")
sm.dispose()
else:
sm.dispose() | sm.setSpeakerID(1203001)
sm.sendNext('*Sob sob* #p1203001# is sad. #p1203001# is mad. #p1203001# cries. *Sob sob*')
sm.setPlayerAsSpeaker()
sm.sendNext("Wh...What's wrong?")
sm.setSpeakerID(1203001)
sm.sendNext('#p1203001# made gem. #bGem as red as apple#k. But #rthief#k stole gem. #p1203001# no longer has gem. #p1203001# is sad...')
sm.setPlayerAsSpeaker()
sm.sendNext('A thief stole your red gem?')
sm.setSpeakerID(1203001)
if sm.sendAskYesNo('yes, #p1203001# wants gem back. #p1203001# reward you if you find gem. Catch thief and you get reward.'):
sm.startQuest(parentID)
sm.sendNext('The thief wen that way! Which way? Hold on...eat with right hand, not left hand... #bLeft#k! He went left! Go left and you find thief.')
sm.dispose()
else:
sm.dispose() |
pkgname = "efl"
pkgver = "1.26.1"
pkgrel = 0
build_style = "meson"
configure_args = [
"-Dbuild-tests=false",
"-Dbuild-examples=false",
"-Dembedded-lz4=false",
"-Dcrypto=openssl",
"-Decore-imf-loaders-disabler=scim",
# rlottie (json) is pretty useless and unstable so keep that off
"-Devas-loaders-disabler=json",
"-Dlua-interpreter=lua",
"-Dbindings=cxx",
"-Dopengl=es-egl",
"-Dphysics=false",
"-Delua=false",
"-Dsystemd=true",
"-Dx11=true",
"-Dxpresent=true",
"-Dxinput2=true",
"-Dxinput22=true",
"-Dfb=true",
"-Dwl=true",
"-Ddrm=true",
"-Dgstreamer=true",
"-Dpulseaudio=true",
"-Dharfbuzz=true",
"-Dglib=true",
]
hostmakedepends = ["meson", "pkgconf", "gettext-tiny-devel"]
makedepends = [
"gettext-tiny-devel", "openssl-devel", "eudev-devel", "elogind-devel",
"libmount-devel", "libdrm-devel", "libinput-devel", "libxkbcommon-devel",
"mesa-devel", "wayland-protocols", "wayland-devel", "libxrandr-devel",
"libxscrnsaver-devel", "libxcomposite-devel", "libxcursor-devel",
"libxdamage-devel", "libxrender-devel", "libxext-devel", "libxtst-devel",
"libxi-devel", "libxinerama-devel", "libxpresent-devel", "xcb-util-devel",
"xcb-util-keysyms-devel", "xcb-util-image-devel", "xcb-util-wm-devel",
"xcb-util-renderutil-devel", "xorgproto", "liblz4-devel", "zlib-devel",
"fontconfig-devel", "fribidi-devel", "harfbuzz-devel", "freetype-devel",
"libjpeg-turbo-devel", "libpng-devel", "giflib-devel", "libtiff-devel",
"libwebp-devel", "openjpeg-devel", "libavif-devel", "libheif-devel",
"libpulse-devel", "libraw-devel", "librsvg-devel", "libspectre-devel",
"libpoppler-cpp-devel", "libsndfile-devel", "gstreamer-devel",
"gst-plugins-base-devel", "glib-devel", "avahi-devel", "lua5.1-devel",
"ibus-devel",
]
checkdepends = ["dbus", "xvfb-run", "check-devel"]
pkgdesc = "Enlightenment Foundation Libraries"
maintainer = "q66 <q66@chimera-linux.org>"
license = "BSD-2-Clause AND LGPL-2.1-only AND Zlib AND custom:small"
url = "https://enlightenment.org"
source = f"https://download.enlightenment.org/rel/libs/{pkgname}/{pkgname}-{pkgver}.tar.xz"
sha256 = "86a9677e3d48dd0c13a399ebb417bd417bd8d150d6b06cc491bc92275c88a642"
# xvfb-run is unpackaged for now, and would need a special do_check
options = ["!check"]
match self.profile().arch:
case "ppc64le" | "aarch64": # requires SSE3 on x86, so not there
configure_args.append("-Dnative-arch-optimization=true")
case _:
configure_args.append("-Dnative-arch-optimization=false")
if self.profile().cross:
hostmakedepends.append("efl-devel")
def post_install(self):
self.install_license("licenses/COPYING.BSD")
self.install_license("licenses/COPYING.SMALL")
self.install_license("licenses/COPYING.DNS")
# service files: maybe reimplement for dinit later
self.rm(self.destdir / "usr/lib/systemd", recursive = True)
self.rm(self.destdir / "usr/lib/ecore/system/systemd", recursive = True)
@subpackage("efl-ibus")
def _ibus(self):
self.pkgdesc = f"{pkgdesc} (IBus support)"
self.install_if = [f"{pkgname}={pkgver}-r{pkgrel}", "ibus"]
return ["usr/lib/ecore_imf/modules/ibus"]
@subpackage("efl-devel")
def _devel(self):
return self.default_devel()
| pkgname = 'efl'
pkgver = '1.26.1'
pkgrel = 0
build_style = 'meson'
configure_args = ['-Dbuild-tests=false', '-Dbuild-examples=false', '-Dembedded-lz4=false', '-Dcrypto=openssl', '-Decore-imf-loaders-disabler=scim', '-Devas-loaders-disabler=json', '-Dlua-interpreter=lua', '-Dbindings=cxx', '-Dopengl=es-egl', '-Dphysics=false', '-Delua=false', '-Dsystemd=true', '-Dx11=true', '-Dxpresent=true', '-Dxinput2=true', '-Dxinput22=true', '-Dfb=true', '-Dwl=true', '-Ddrm=true', '-Dgstreamer=true', '-Dpulseaudio=true', '-Dharfbuzz=true', '-Dglib=true']
hostmakedepends = ['meson', 'pkgconf', 'gettext-tiny-devel']
makedepends = ['gettext-tiny-devel', 'openssl-devel', 'eudev-devel', 'elogind-devel', 'libmount-devel', 'libdrm-devel', 'libinput-devel', 'libxkbcommon-devel', 'mesa-devel', 'wayland-protocols', 'wayland-devel', 'libxrandr-devel', 'libxscrnsaver-devel', 'libxcomposite-devel', 'libxcursor-devel', 'libxdamage-devel', 'libxrender-devel', 'libxext-devel', 'libxtst-devel', 'libxi-devel', 'libxinerama-devel', 'libxpresent-devel', 'xcb-util-devel', 'xcb-util-keysyms-devel', 'xcb-util-image-devel', 'xcb-util-wm-devel', 'xcb-util-renderutil-devel', 'xorgproto', 'liblz4-devel', 'zlib-devel', 'fontconfig-devel', 'fribidi-devel', 'harfbuzz-devel', 'freetype-devel', 'libjpeg-turbo-devel', 'libpng-devel', 'giflib-devel', 'libtiff-devel', 'libwebp-devel', 'openjpeg-devel', 'libavif-devel', 'libheif-devel', 'libpulse-devel', 'libraw-devel', 'librsvg-devel', 'libspectre-devel', 'libpoppler-cpp-devel', 'libsndfile-devel', 'gstreamer-devel', 'gst-plugins-base-devel', 'glib-devel', 'avahi-devel', 'lua5.1-devel', 'ibus-devel']
checkdepends = ['dbus', 'xvfb-run', 'check-devel']
pkgdesc = 'Enlightenment Foundation Libraries'
maintainer = 'q66 <q66@chimera-linux.org>'
license = 'BSD-2-Clause AND LGPL-2.1-only AND Zlib AND custom:small'
url = 'https://enlightenment.org'
source = f'https://download.enlightenment.org/rel/libs/{pkgname}/{pkgname}-{pkgver}.tar.xz'
sha256 = '86a9677e3d48dd0c13a399ebb417bd417bd8d150d6b06cc491bc92275c88a642'
options = ['!check']
match self.profile().arch:
case 'ppc64le' | 'aarch64':
configure_args.append('-Dnative-arch-optimization=true')
case _:
configure_args.append('-Dnative-arch-optimization=false')
if self.profile().cross:
hostmakedepends.append('efl-devel')
def post_install(self):
self.install_license('licenses/COPYING.BSD')
self.install_license('licenses/COPYING.SMALL')
self.install_license('licenses/COPYING.DNS')
self.rm(self.destdir / 'usr/lib/systemd', recursive=True)
self.rm(self.destdir / 'usr/lib/ecore/system/systemd', recursive=True)
@subpackage('efl-ibus')
def _ibus(self):
self.pkgdesc = f'{pkgdesc} (IBus support)'
self.install_if = [f'{pkgname}={pkgver}-r{pkgrel}', 'ibus']
return ['usr/lib/ecore_imf/modules/ibus']
@subpackage('efl-devel')
def _devel(self):
return self.default_devel() |
description = 'FOV linear axis for the large box (300 x 300)'
group = 'optional'
excludes = ['fov_100x100', 'fov_190x190']
includes = ['frr']
devices = dict(
fov_300_mot = device('nicos.devices.generic.VirtualReferenceMotor',
description = 'FOV motor',
visibility = (),
abslimits = (275, 950),
userlimits = (276, 949),
refswitch = 'low',
refpos = 275,
unit = 'mm',
speed = 5,
),
# fov_300_enc = device('nicos.devices.generic.VirtualCoder',
# description = 'FOV encoder',
# motor = 'fov_300_mot',
# visibility = (),
# ),
fov_300 = device('nicos.devices.generic.Axis',
description = 'FOV linear axis',
pollinterval = 5,
maxage = 10,
precision = 0.1,
fmtstr = '%.2f',
motor = 'fov_300_mot',
# coder = 'fov_300_enc',
),
)
| description = 'FOV linear axis for the large box (300 x 300)'
group = 'optional'
excludes = ['fov_100x100', 'fov_190x190']
includes = ['frr']
devices = dict(fov_300_mot=device('nicos.devices.generic.VirtualReferenceMotor', description='FOV motor', visibility=(), abslimits=(275, 950), userlimits=(276, 949), refswitch='low', refpos=275, unit='mm', speed=5), fov_300=device('nicos.devices.generic.Axis', description='FOV linear axis', pollinterval=5, maxage=10, precision=0.1, fmtstr='%.2f', motor='fov_300_mot')) |
para_str = """this is a long string that is made up of
several lines and non-printable characters such as
TAB ( \t ) and they will show up that way when displayed.
NEWLINEs within the string, whether explicitly given like
this within the brackets [ \n ], or just a NEWLINE within
the variable assignment will also show up.
"""
print (para_str)
| para_str = 'this is a long string that is made up of\nseveral lines and non-printable characters such as\nTAB ( \t ) and they will show up that way when displayed.\nNEWLINEs within the string, whether explicitly given like\nthis within the brackets [ \n ], or just a NEWLINE within\nthe variable assignment will also show up.\n'
print(para_str) |
'''
.remove(x)
This operation removes element from the set.
If element does not exist, it raises a KeyError.
The .remove(x) operation returns None.
Example
>>> s = set([1, 2, 3, 4, 5, 6, 7, 8, 9])
>>> s.remove(5)
>>> print s
set([1, 2, 3, 4, 6, 7, 8, 9])
>>> print s.remove(4)
None
>>> print s
set([1, 2, 3, 6, 7, 8, 9])
>>> s.remove(0)
KeyError: 0
.discard(x)
This operation also removes element from the set.
If element does not exist, it does not raise a KeyError.
The .discard(x) operation returns None.
Example
>>> s = set([1, 2, 3, 4, 5, 6, 7, 8, 9])
>>> s.discard(5)
>>> print s
set([1, 2, 3, 4, 6, 7, 8, 9])
>>> print s.discard(4)
None
>>> print s
set([1, 2, 3, 6, 7, 8, 9])
>>> s.discard(0)
>>> print s
set([1, 2, 3, 6, 7, 8, 9])
.pop()
This operation removes and return an arbitrary element from the set.
If there are no elements to remove, it raises a KeyError.
Example
>>> s = set([1])
>>> print s.pop()
1
>>> print s
set([])
>>> print s.pop()
KeyError: pop from an empty set
Task
You have a non-empty set , and you have to execute commands given in lines.
The commands will be pop, remove and discard.
Input Format
The first line contains integer , the number of elements in the set .
The second line contains space separated elements of set . All of the elements are non-negative integers, less than or equal to 9.
The third line contains integer , the number of commands.
The next lines contains either pop, remove and/or discard commands followed by their associated value.
Output Format
Print the sum of the elements of set on a single line.
Sample Input
9
1 2 3 4 5 6 7 8 9
10
pop
remove 9
discard 9
discard 8
remove 7
pop
discard 6
remove 5
pop
discard 5
Sample Output
4
Explanation
After completing these 10 operations on the set, we get set([4]). Hence, the sum is 4.
Note: Convert the elements of set s to integers while you are assigning them. To ensure the proper input of the set, we have added the first two lines of code to the editor.
'''
n = int(input())
s = set(map(int, input().split()))
n = int(input())
for i in range(n):
a = input()
b = list(map(str, a.split()))
if b[0] == 'pop':
s.pop()
elif b[0] == 'discard':
s.discard(int(b[1]))
elif b[0] == 'remove':
try:
s.remove(int(b[1]))
except KeyError:
pass
sum = 0
for i in range(len(s)):
sum += s.pop()
print(sum) | """
.remove(x)
This operation removes element from the set.
If element does not exist, it raises a KeyError.
The .remove(x) operation returns None.
Example
>>> s = set([1, 2, 3, 4, 5, 6, 7, 8, 9])
>>> s.remove(5)
>>> print s
set([1, 2, 3, 4, 6, 7, 8, 9])
>>> print s.remove(4)
None
>>> print s
set([1, 2, 3, 6, 7, 8, 9])
>>> s.remove(0)
KeyError: 0
.discard(x)
This operation also removes element from the set.
If element does not exist, it does not raise a KeyError.
The .discard(x) operation returns None.
Example
>>> s = set([1, 2, 3, 4, 5, 6, 7, 8, 9])
>>> s.discard(5)
>>> print s
set([1, 2, 3, 4, 6, 7, 8, 9])
>>> print s.discard(4)
None
>>> print s
set([1, 2, 3, 6, 7, 8, 9])
>>> s.discard(0)
>>> print s
set([1, 2, 3, 6, 7, 8, 9])
.pop()
This operation removes and return an arbitrary element from the set.
If there are no elements to remove, it raises a KeyError.
Example
>>> s = set([1])
>>> print s.pop()
1
>>> print s
set([])
>>> print s.pop()
KeyError: pop from an empty set
Task
You have a non-empty set , and you have to execute commands given in lines.
The commands will be pop, remove and discard.
Input Format
The first line contains integer , the number of elements in the set .
The second line contains space separated elements of set . All of the elements are non-negative integers, less than or equal to 9.
The third line contains integer , the number of commands.
The next lines contains either pop, remove and/or discard commands followed by their associated value.
Output Format
Print the sum of the elements of set on a single line.
Sample Input
9
1 2 3 4 5 6 7 8 9
10
pop
remove 9
discard 9
discard 8
remove 7
pop
discard 6
remove 5
pop
discard 5
Sample Output
4
Explanation
After completing these 10 operations on the set, we get set([4]). Hence, the sum is 4.
Note: Convert the elements of set s to integers while you are assigning them. To ensure the proper input of the set, we have added the first two lines of code to the editor.
"""
n = int(input())
s = set(map(int, input().split()))
n = int(input())
for i in range(n):
a = input()
b = list(map(str, a.split()))
if b[0] == 'pop':
s.pop()
elif b[0] == 'discard':
s.discard(int(b[1]))
elif b[0] == 'remove':
try:
s.remove(int(b[1]))
except KeyError:
pass
sum = 0
for i in range(len(s)):
sum += s.pop()
print(sum) |
class Article():
def __init__(self, title, authors, link, date):
self.title = title
self.authors = authors
self.link = link
self.date = date
| class Article:
def __init__(self, title, authors, link, date):
self.title = title
self.authors = authors
self.link = link
self.date = date |
# A part of pdfrw (https://github.com/pmaupin/pdfrw)
# Copyright (C) 2006-2015 Patrick Maupin, Austin, Texas
# MIT license -- See LICENSE.txt for details
class _NotLoaded(object):
pass
class PdfIndirect(tuple):
''' A placeholder for an object that hasn't been read in yet.
The object itself is the (object number, generation number) tuple.
The attributes include information about where the object is
referenced from and the file object to retrieve the real object from.
'''
value = _NotLoaded
def real_value(self, NotLoaded=_NotLoaded):
value = self.value
if value is NotLoaded:
value = self.value = self._loader(self)
return value
| class _Notloaded(object):
pass
class Pdfindirect(tuple):
""" A placeholder for an object that hasn't been read in yet.
The object itself is the (object number, generation number) tuple.
The attributes include information about where the object is
referenced from and the file object to retrieve the real object from.
"""
value = _NotLoaded
def real_value(self, NotLoaded=_NotLoaded):
value = self.value
if value is NotLoaded:
value = self.value = self._loader(self)
return value |
'''Write a program that returns a list that contains common
elements between two input lists without duplicates. Ensure
it works for lists of two different sizes.'''
# list of random numbers
a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]
b = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
# newlist:
# sets ensure unique values
# evaluations for each number in a if it's also in b
newlist = list(set([i for i in a if i in b]))
# return the new list
print(newlist) | """Write a program that returns a list that contains common
elements between two input lists without duplicates. Ensure
it works for lists of two different sizes."""
a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]
b = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
newlist = list(set([i for i in a if i in b]))
print(newlist) |
class StrategyStateMachine :
def discovery() :
pass
def composition() :
pass
def usage() :
pass
def end() :
pass
| class Strategystatemachine:
def discovery():
pass
def composition():
pass
def usage():
pass
def end():
pass |
# This file is generated by sync-deps, do not edit!
load("@rules_jvm_external//:defs.bzl", "maven_install")
load("@rules_jvm_external//:specs.bzl", "maven")
def default_install(artifacts, repositories, excluded_artifacts = []):
maven_install(
artifacts = artifacts,
fetch_sources = True,
repositories = repositories,
excluded_artifacts = excluded_artifacts,
maven_install_json = "//3rdparty:maven-install.json",
)
def maven_dependencies(install=None):
if install == None:
install = default_install
install(
artifacts=[
maven.artifact(group = "ch.qos.logback", artifact = "logback-classic", version = "1.2.3", neverlink = False),
maven.artifact(group = "ch.qos.logback", artifact = "logback-core", version = "1.2.3", neverlink = False),
maven.artifact(group = "com.fasterxml.jackson.core", artifact = "jackson-annotations", version = "2.9.6", neverlink = False),
maven.artifact(group = "com.fasterxml.jackson.core", artifact = "jackson-core", version = "2.9.6", neverlink = False),
maven.artifact(group = "com.fasterxml.jackson.core", artifact = "jackson-databind", version = "2.9.6", neverlink = False),
maven.artifact(group = "com.fasterxml.jackson.dataformat", artifact = "jackson-dataformat-yaml", version = "2.9.6", neverlink = False),
maven.artifact(group = "com.fasterxml.jackson.datatype", artifact = "jackson-datatype-guava", version = "2.9.6", neverlink = False),
maven.artifact(group = "com.geirsson", artifact = "scalafmt-core_2.12", version = "1.5.1", neverlink = False),
maven.artifact(group = "com.geirsson", artifact = "metaconfig-core_2.12", version = "0.4.0", neverlink = False),
maven.artifact(group = "com.geirsson", artifact = "metaconfig-typesafe-config_2.12", version = "0.4.0", neverlink = False),
maven.artifact(group = "com.github.tomas-langer", artifact = "chalk", version = "1.0.2", neverlink = False),
maven.artifact(group = "com.google.auto.value", artifact = "auto-value", version = "1.6.2", neverlink = False),
maven.artifact(group = "com.google.auto.value", artifact = "auto-value-annotations", version = "1.6.2", neverlink = False),
maven.artifact(group = "com.google.code.findbugs", artifact = "annotations", version = "3.0.1", neverlink = False),
maven.artifact(group = "com.google.code.findbugs", artifact = "jsr305", version = "3.0.2", neverlink = False),
maven.artifact(group = "com.google.errorprone", artifact = "error_prone_annotations", version = "2.3.1", neverlink = False),
maven.artifact(group = "com.google.googlejavaformat", artifact = "google-java-format", version = "1.6", neverlink = False),
maven.artifact(group = "com.google.guava", artifact = "guava", version = "23.6.1-jre", neverlink = False),
maven.artifact(group = "com.google.protobuf", artifact = "protobuf-java", version = "3.8.0", neverlink = False),
maven.artifact(group = "com.google.jimfs", artifact = "jimfs", version = "1.1", neverlink = False),
maven.artifact(group = "com.squareup.okio", artifact = "okio", version = "1.15.0", neverlink = False),
maven.artifact(group = "net.sf.jopt-simple", artifact = "jopt-simple", version = "5.0.4", neverlink = False),
maven.artifact(group = "org.hamcrest", artifact = "java-hamcrest", version = "2.0.0.0", neverlink = False),
maven.artifact(group = "org.scala-lang", artifact = "scala-compiler", version = "2.12.6", neverlink = False),
maven.artifact(group = "org.scala-lang", artifact = "scala-library", version = "2.12.6", neverlink = False),
maven.artifact(group = "org.scala-lang", artifact = "scala-reflect", version = "2.12.6", neverlink = False),
maven.artifact(group = "org.slf4j", artifact = "slf4j-api", version = "1.7.25", neverlink = False)
],
repositories=[
"https://repo.maven.apache.org/maven2/"
],
excluded_artifacts=[
maven.exclusion(group = "com.google.guava", artifact = "guava-jdk5"),
maven.exclusion(group = "org.slf4j", artifact = "slf4j-log4j12")
],
)
| load('@rules_jvm_external//:defs.bzl', 'maven_install')
load('@rules_jvm_external//:specs.bzl', 'maven')
def default_install(artifacts, repositories, excluded_artifacts=[]):
maven_install(artifacts=artifacts, fetch_sources=True, repositories=repositories, excluded_artifacts=excluded_artifacts, maven_install_json='//3rdparty:maven-install.json')
def maven_dependencies(install=None):
if install == None:
install = default_install
install(artifacts=[maven.artifact(group='ch.qos.logback', artifact='logback-classic', version='1.2.3', neverlink=False), maven.artifact(group='ch.qos.logback', artifact='logback-core', version='1.2.3', neverlink=False), maven.artifact(group='com.fasterxml.jackson.core', artifact='jackson-annotations', version='2.9.6', neverlink=False), maven.artifact(group='com.fasterxml.jackson.core', artifact='jackson-core', version='2.9.6', neverlink=False), maven.artifact(group='com.fasterxml.jackson.core', artifact='jackson-databind', version='2.9.6', neverlink=False), maven.artifact(group='com.fasterxml.jackson.dataformat', artifact='jackson-dataformat-yaml', version='2.9.6', neverlink=False), maven.artifact(group='com.fasterxml.jackson.datatype', artifact='jackson-datatype-guava', version='2.9.6', neverlink=False), maven.artifact(group='com.geirsson', artifact='scalafmt-core_2.12', version='1.5.1', neverlink=False), maven.artifact(group='com.geirsson', artifact='metaconfig-core_2.12', version='0.4.0', neverlink=False), maven.artifact(group='com.geirsson', artifact='metaconfig-typesafe-config_2.12', version='0.4.0', neverlink=False), maven.artifact(group='com.github.tomas-langer', artifact='chalk', version='1.0.2', neverlink=False), maven.artifact(group='com.google.auto.value', artifact='auto-value', version='1.6.2', neverlink=False), maven.artifact(group='com.google.auto.value', artifact='auto-value-annotations', version='1.6.2', neverlink=False), maven.artifact(group='com.google.code.findbugs', artifact='annotations', version='3.0.1', neverlink=False), maven.artifact(group='com.google.code.findbugs', artifact='jsr305', version='3.0.2', neverlink=False), maven.artifact(group='com.google.errorprone', artifact='error_prone_annotations', version='2.3.1', neverlink=False), maven.artifact(group='com.google.googlejavaformat', artifact='google-java-format', version='1.6', neverlink=False), maven.artifact(group='com.google.guava', artifact='guava', version='23.6.1-jre', neverlink=False), maven.artifact(group='com.google.protobuf', artifact='protobuf-java', version='3.8.0', neverlink=False), maven.artifact(group='com.google.jimfs', artifact='jimfs', version='1.1', neverlink=False), maven.artifact(group='com.squareup.okio', artifact='okio', version='1.15.0', neverlink=False), maven.artifact(group='net.sf.jopt-simple', artifact='jopt-simple', version='5.0.4', neverlink=False), maven.artifact(group='org.hamcrest', artifact='java-hamcrest', version='2.0.0.0', neverlink=False), maven.artifact(group='org.scala-lang', artifact='scala-compiler', version='2.12.6', neverlink=False), maven.artifact(group='org.scala-lang', artifact='scala-library', version='2.12.6', neverlink=False), maven.artifact(group='org.scala-lang', artifact='scala-reflect', version='2.12.6', neverlink=False), maven.artifact(group='org.slf4j', artifact='slf4j-api', version='1.7.25', neverlink=False)], repositories=['https://repo.maven.apache.org/maven2/'], excluded_artifacts=[maven.exclusion(group='com.google.guava', artifact='guava-jdk5'), maven.exclusion(group='org.slf4j', artifact='slf4j-log4j12')]) |
skill = input()
command = input()
while command != "For Azeroth":
command = command.split(" ")
command = command[0]
if command == "GladiatorStance":
skill = skill.upper()
print(skill)
break
elif command == "DefensiveStance":
skill = skill.lower()
print(skill)
break
elif command == "Dispel":
index = command[1]
letter = command[2]
if index > len(skill) - 1 or index < 0:
skill = skill.remove(index, 1)
skill = skill.insert(index, letter)
print("Dispel too weak")
else:
print("Success!")
break
| skill = input()
command = input()
while command != 'For Azeroth':
command = command.split(' ')
command = command[0]
if command == 'GladiatorStance':
skill = skill.upper()
print(skill)
break
elif command == 'DefensiveStance':
skill = skill.lower()
print(skill)
break
elif command == 'Dispel':
index = command[1]
letter = command[2]
if index > len(skill) - 1 or index < 0:
skill = skill.remove(index, 1)
skill = skill.insert(index, letter)
print('Dispel too weak')
else:
print('Success!')
break |
class DropboxException(Exception):
"""All errors related to making an API request extend this."""
def __init__(self, request_id, *args, **kwargs):
# A request_id can be shared with Dropbox Support to pinpoint the exact
# request that returns an error.
super(DropboxException, self).__init__(request_id, *args, **kwargs)
self.request_id = request_id
def __str__(self):
return repr(self)
class ApiError(DropboxException):
"""Errors produced by the Dropbox API."""
def __init__(self, request_id, error, user_message_text, user_message_locale):
"""
:param (str) request_id: A request_id can be shared with Dropbox
Support to pinpoint the exact request that returns an error.
:param error: An instance of the error data type for the route.
:param (str) user_message_text: A human-readable message that can be
displayed to the end user. Is None, if unavailable.
:param (str) user_message_locale: The locale of ``user_message_text``,
if present.
"""
super(ApiError, self).__init__(request_id, error)
self.error = error
self.user_message_text = user_message_text
self.user_message_locale = user_message_locale
def __repr__(self):
return 'ApiError({!r}, {})'.format(self.request_id, self.error)
class HttpError(DropboxException):
"""Errors produced at the HTTP layer."""
def __init__(self, request_id, status_code, body):
super(HttpError, self).__init__(request_id, status_code, body)
self.status_code = status_code
self.body = body
def __repr__(self):
return 'HttpError({!r}, {}, {!r})'.format(self.request_id,
self.status_code, self.body)
class PathRootError(HttpError):
"""Error caused by an invalid path root."""
def __init__(self, request_id, error=None):
super(PathRootError, self).__init__(request_id, 422, None)
self.error = error
def __repr__(self):
return 'PathRootError({!r}, {!r})'.format(self.request_id, self.error)
class BadInputError(HttpError):
"""Errors due to bad input parameters to an API Operation."""
def __init__(self, request_id, message):
super(BadInputError, self).__init__(request_id, 400, message)
self.message = message
def __repr__(self):
return 'BadInputError({!r}, {!r})'.format(self.request_id, self.message)
class AuthError(HttpError):
"""Errors due to invalid authentication credentials."""
def __init__(self, request_id, error):
super(AuthError, self).__init__(request_id, 401, None)
self.error = error
def __repr__(self):
return 'AuthError({!r}, {!r})'.format(self.request_id, self.error)
class RateLimitError(HttpError):
"""Error caused by rate limiting."""
def __init__(self, request_id, error=None, backoff=None):
super(RateLimitError, self).__init__(request_id, 429, None)
self.error = error
self.backoff = backoff
def __repr__(self):
return 'RateLimitError({!r}, {!r}, {!r})'.format(
self.request_id, self.error, self.backoff)
class InternalServerError(HttpError):
"""Errors due to a problem on Dropbox."""
def __repr__(self):
return 'InternalServerError({!r}, {}, {!r})'.format(
self.request_id, self.status_code, self.body)
| class Dropboxexception(Exception):
"""All errors related to making an API request extend this."""
def __init__(self, request_id, *args, **kwargs):
super(DropboxException, self).__init__(request_id, *args, **kwargs)
self.request_id = request_id
def __str__(self):
return repr(self)
class Apierror(DropboxException):
"""Errors produced by the Dropbox API."""
def __init__(self, request_id, error, user_message_text, user_message_locale):
"""
:param (str) request_id: A request_id can be shared with Dropbox
Support to pinpoint the exact request that returns an error.
:param error: An instance of the error data type for the route.
:param (str) user_message_text: A human-readable message that can be
displayed to the end user. Is None, if unavailable.
:param (str) user_message_locale: The locale of ``user_message_text``,
if present.
"""
super(ApiError, self).__init__(request_id, error)
self.error = error
self.user_message_text = user_message_text
self.user_message_locale = user_message_locale
def __repr__(self):
return 'ApiError({!r}, {})'.format(self.request_id, self.error)
class Httperror(DropboxException):
"""Errors produced at the HTTP layer."""
def __init__(self, request_id, status_code, body):
super(HttpError, self).__init__(request_id, status_code, body)
self.status_code = status_code
self.body = body
def __repr__(self):
return 'HttpError({!r}, {}, {!r})'.format(self.request_id, self.status_code, self.body)
class Pathrooterror(HttpError):
"""Error caused by an invalid path root."""
def __init__(self, request_id, error=None):
super(PathRootError, self).__init__(request_id, 422, None)
self.error = error
def __repr__(self):
return 'PathRootError({!r}, {!r})'.format(self.request_id, self.error)
class Badinputerror(HttpError):
"""Errors due to bad input parameters to an API Operation."""
def __init__(self, request_id, message):
super(BadInputError, self).__init__(request_id, 400, message)
self.message = message
def __repr__(self):
return 'BadInputError({!r}, {!r})'.format(self.request_id, self.message)
class Autherror(HttpError):
"""Errors due to invalid authentication credentials."""
def __init__(self, request_id, error):
super(AuthError, self).__init__(request_id, 401, None)
self.error = error
def __repr__(self):
return 'AuthError({!r}, {!r})'.format(self.request_id, self.error)
class Ratelimiterror(HttpError):
"""Error caused by rate limiting."""
def __init__(self, request_id, error=None, backoff=None):
super(RateLimitError, self).__init__(request_id, 429, None)
self.error = error
self.backoff = backoff
def __repr__(self):
return 'RateLimitError({!r}, {!r}, {!r})'.format(self.request_id, self.error, self.backoff)
class Internalservererror(HttpError):
"""Errors due to a problem on Dropbox."""
def __repr__(self):
return 'InternalServerError({!r}, {}, {!r})'.format(self.request_id, self.status_code, self.body) |
{
"targets": [
{
"target_name": "waznutilities",
"sources": [
"src/main.cc",
"src/cryptonote_core/cryptonote_format_utils.cpp",
"src/crypto/tree-hash.c",
"src/crypto/crypto.cpp",
"src/crypto/crypto-ops.c",
"src/crypto/crypto-ops-data.c",
"src/crypto/hash.c",
"src/crypto/keccak.c",
"src/common/base58.cpp",
],
"include_dirs": [
"src",
"src/contrib/epee/include",
"<!(node -e \"require('nan')\")",
],
"link_settings": {
"libraries": [
"-lboost_system",
"-lboost_date_time",
]
},
"cflags_c": [
"-fno-exceptions -std=gnu11 -march=native -fPIC -DNDEBUG -Ofast -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2"
],
"cflags_cc": [
"-fexceptions -frtti -std=gnu++11 -march=native -fPIC -DNDEBUG -Ofast -s -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2"
],
"xcode_settings": {
"OTHER_CFLAGS": [ "-fexceptions -frtti" ]
}
}
]
}
| {'targets': [{'target_name': 'waznutilities', 'sources': ['src/main.cc', 'src/cryptonote_core/cryptonote_format_utils.cpp', 'src/crypto/tree-hash.c', 'src/crypto/crypto.cpp', 'src/crypto/crypto-ops.c', 'src/crypto/crypto-ops-data.c', 'src/crypto/hash.c', 'src/crypto/keccak.c', 'src/common/base58.cpp'], 'include_dirs': ['src', 'src/contrib/epee/include', '<!(node -e "require(\'nan\')")'], 'link_settings': {'libraries': ['-lboost_system', '-lboost_date_time']}, 'cflags_c': ['-fno-exceptions -std=gnu11 -march=native -fPIC -DNDEBUG -Ofast -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2'], 'cflags_cc': ['-fexceptions -frtti -std=gnu++11 -march=native -fPIC -DNDEBUG -Ofast -s -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2'], 'xcode_settings': {'OTHER_CFLAGS': ['-fexceptions -frtti']}}]} |
# We must set a certain amount of money
my_money = 13
# We make a decision
if my_money > 20:
print("I'm going to the cinema and buy popcorn!")
elif my_money > 10:
print("I'm going to the cinema, but not buy popcorn!")
else:
print("I'm staying home!")
| my_money = 13
if my_money > 20:
print("I'm going to the cinema and buy popcorn!")
elif my_money > 10:
print("I'm going to the cinema, but not buy popcorn!")
else:
print("I'm staying home!") |
ix.enable_command_history()
app = ix.application
clarisse_win = app.get_event_window()
app.open_rename_item_window(clarisse_win)
ix.disable_command_history() | ix.enable_command_history()
app = ix.application
clarisse_win = app.get_event_window()
app.open_rename_item_window(clarisse_win)
ix.disable_command_history() |
# Input: 2D array of "map"
# Output: Shortest distance to exit from cell
# Revision 2 with help from my python book and some documentation
class deque(object):
# A custom implementation of collections.deque that is about 0.4s faster
def __init__(self, iterable=(), maxsize=-1):
if not hasattr(self, 'data'):
self.left = self.right = 0
self.data = {}
self.maxsize = maxsize
self.extend(iterable)
def append(self, x):
self.data[self.right] = x
self.right += 1
if self.maxsize != -1 and len(self) > self.maxsize:
self.popleft()
def popleft(self):
if self.left == self.right:
raise IndexError('cannot pop from empty deque')
elem = self.data[self.left]
del self.data[self.left]
self.left += 1
return elem
def extend(self, iterable):
for elem in iterable:
self.append(elem)
class Node:
def __init__(self, x, y, remove_uses, hallway_map):
# X, Y, number of walls I can take down, the entire map
self.x = x
self.y = y
self.remove_uses = remove_uses
self.hallway_map = hallway_map
def __eq__(self, comp):
return self.x == comp.x and self.y == comp.y and self.remove_uses == comp.remove_uses
def __hash__(self):
return self.x + len(self.hallway_map) * self.y
def getClosest(self):
# Return all surounding nodes
# Location of current node
x = self.x
y = self.y
# Initalize Vars
vertices = []
remove_uses = self.remove_uses
hallway_map = self.hallway_map
width = len(hallway_map[0])
height = len(hallway_map)
# Make sure that notes are not placed beyond the walls
if x > 0:
wall = hallway_map[y][x - 1] == 1
if wall:
if remove_uses > 0:
# Subtract from number of wals I can take down until I have run out of walls
vertices.append(Node(x - 1, y, remove_uses - 1, hallway_map))
else:
pass
else:
# Do nothing if the node is a hallway
vertices.append(Node(x - 1, y, remove_uses, hallway_map))
# The exact same thing for all other walls below:
if x < width - 1:
wall = hallway_map[y][x + 1] == 1
if wall:
if remove_uses > 0:
vertices.append(Node(x + 1, y, remove_uses - 1, hallway_map))
else:
pass
else:
vertices.append(Node(x + 1, y, remove_uses, hallway_map))
if y > 0:
wall = hallway_map[y - 1][x] == 1
if wall:
if remove_uses > 0:
vertices.append(Node(x, y - 1, remove_uses - 1, hallway_map))
else:
pass
else:
vertices.append(Node(x, y - 1, remove_uses, hallway_map))
if y < height - 1:
wall = hallway_map[y + 1][x]
if wall:
if remove_uses > 0:
vertices.append(Node(x, y + 1, remove_uses - 1, hallway_map))
else:
pass
else:
vertices.append(Node(x, y + 1, remove_uses, hallway_map))
# Return all touching nodes
return vertices
class PathFinder:
def __init__(self, hallway_map, remove_uses):
# New path finder
self.hallway_map = hallway_map
self.height = len(hallway_map)
self.width = len(hallway_map[0])
self.remove_uses = remove_uses # Number of walls I can take down
def getShortestPath(self):
# Use breadth-first search
start = Node(0, 0, self.remove_uses, self.hallway_map)
# Create a double-ended queue
queue = deque([start])
distances = {start: 1}
while queue:
# Get the next node from the deque
current_node = queue.popleft()
# If the current_node location happens to be the exit, return the distance
if current_node.x == self.width - 1 and current_node.y == self.height - 1:
return distances[current_node]
# If not at end of maze, add some more nodes
for neighbor in current_node.getClosest():
if neighbor not in distances.keys():
# Add next node to the deque
distances[neighbor] = distances[current_node] + 1
queue.append(neighbor)
def answer(input_map):
# Create an object of the map using a Path Finder
# 1 = How many walls can I take down?
# Useless for foobar, just something to play around with
router = PathFinder(input_map, 1)
# The most important part
return router.getShortestPath()
# Used to debug
# for _ in range(0,4):
# print answer([[0, 0, 0, 0, 0, 0],
# [1, 1, 1, 1, 1, 0],
# [0, 0, 0, 0, 0, 0],
# [0, 1, 1, 1, 1, 1],
# [0, 1, 1, 1, 1, 1],
# [0, 0, 0, 0, 0, 0]]) | class Deque(object):
def __init__(self, iterable=(), maxsize=-1):
if not hasattr(self, 'data'):
self.left = self.right = 0
self.data = {}
self.maxsize = maxsize
self.extend(iterable)
def append(self, x):
self.data[self.right] = x
self.right += 1
if self.maxsize != -1 and len(self) > self.maxsize:
self.popleft()
def popleft(self):
if self.left == self.right:
raise index_error('cannot pop from empty deque')
elem = self.data[self.left]
del self.data[self.left]
self.left += 1
return elem
def extend(self, iterable):
for elem in iterable:
self.append(elem)
class Node:
def __init__(self, x, y, remove_uses, hallway_map):
self.x = x
self.y = y
self.remove_uses = remove_uses
self.hallway_map = hallway_map
def __eq__(self, comp):
return self.x == comp.x and self.y == comp.y and (self.remove_uses == comp.remove_uses)
def __hash__(self):
return self.x + len(self.hallway_map) * self.y
def get_closest(self):
x = self.x
y = self.y
vertices = []
remove_uses = self.remove_uses
hallway_map = self.hallway_map
width = len(hallway_map[0])
height = len(hallway_map)
if x > 0:
wall = hallway_map[y][x - 1] == 1
if wall:
if remove_uses > 0:
vertices.append(node(x - 1, y, remove_uses - 1, hallway_map))
else:
pass
else:
vertices.append(node(x - 1, y, remove_uses, hallway_map))
if x < width - 1:
wall = hallway_map[y][x + 1] == 1
if wall:
if remove_uses > 0:
vertices.append(node(x + 1, y, remove_uses - 1, hallway_map))
else:
pass
else:
vertices.append(node(x + 1, y, remove_uses, hallway_map))
if y > 0:
wall = hallway_map[y - 1][x] == 1
if wall:
if remove_uses > 0:
vertices.append(node(x, y - 1, remove_uses - 1, hallway_map))
else:
pass
else:
vertices.append(node(x, y - 1, remove_uses, hallway_map))
if y < height - 1:
wall = hallway_map[y + 1][x]
if wall:
if remove_uses > 0:
vertices.append(node(x, y + 1, remove_uses - 1, hallway_map))
else:
pass
else:
vertices.append(node(x, y + 1, remove_uses, hallway_map))
return vertices
class Pathfinder:
def __init__(self, hallway_map, remove_uses):
self.hallway_map = hallway_map
self.height = len(hallway_map)
self.width = len(hallway_map[0])
self.remove_uses = remove_uses
def get_shortest_path(self):
start = node(0, 0, self.remove_uses, self.hallway_map)
queue = deque([start])
distances = {start: 1}
while queue:
current_node = queue.popleft()
if current_node.x == self.width - 1 and current_node.y == self.height - 1:
return distances[current_node]
for neighbor in current_node.getClosest():
if neighbor not in distances.keys():
distances[neighbor] = distances[current_node] + 1
queue.append(neighbor)
def answer(input_map):
router = path_finder(input_map, 1)
return router.getShortestPath() |
# encoding=utf-8
class Expression(object):
pass
| class Expression(object):
pass |
# -*- coding: utf-8 -*-
"""
This software is licensed under the License (MIT) located at
https://github.com/ephreal/rollbot/Licence
Please see the license for any restrictions or rights granted to you by the
License.
"""
def check_author(author):
"""
Checks to see if the author of a message is the same as the author
passed in.
"""
def check_message(message):
return message.author == author
return check_message
| """
This software is licensed under the License (MIT) located at
https://github.com/ephreal/rollbot/Licence
Please see the license for any restrictions or rights granted to you by the
License.
"""
def check_author(author):
"""
Checks to see if the author of a message is the same as the author
passed in.
"""
def check_message(message):
return message.author == author
return check_message |
# -*- coding: utf-8 -*-
'''Snippets for combination.
'''
# Usage:
# combination = Combination(max_value=10 ** 5 + 100)
# combination.count_nCr(n, r)
class Combination:
''' Count the total number of combinations.
nCr % mod.
nHr % mod = (n + r - 1)Cr % mod.
Args:
max_value: Max size of list. The default is 500,050
mod : Modulo. The default is 10 ** 9 + 7.
Landau notation: O(n)
See:
http://drken1215.hatenablog.com/entry/2018/06/08/210000
'''
def __init__(self, max_value=500050, mod=10 ** 9 + 7):
self.max_value = max_value
self.mod = mod
self.fac = [0 for _ in range(self.max_value)]
self.finv = [0 for _ in range(self.max_value)]
self.inv = [0 for _ in range(self.max_value)]
self.fac[0] = 1
self.fac[1] = 1
self.finv[0] = 1
self.finv[1] = 1
self.inv[1] = 1
for i in range(2, self.max_value):
self.fac[i] = self.fac[i - 1] * i % self.mod
self.inv[i] = self.mod - self.inv[self.mod % i] * (self.mod // i) % self.mod
self.finv[i] = self.finv[i - 1] * self.inv[i] % self.mod
def count_nCr(self, n, r):
'''Count the total number of combinations.
nCr % mod.
nHr % mod = (n + r - 1)Cr % mod.
Args:
n : Elements. Int of number (greater than 1).
r : The number of r-th combinations. Int of number
(greater than 0).
Returns:
The total number of combinations.
Landau notation: O(1)
'''
if n < r:
return 0
if n < 0 or r < 0:
return 0
return self.fac[n] * (self.finv[r] * self.finv[n - r] % self.mod) % self.mod
| """Snippets for combination.
"""
class Combination:
""" Count the total number of combinations.
nCr % mod.
nHr % mod = (n + r - 1)Cr % mod.
Args:
max_value: Max size of list. The default is 500,050
mod : Modulo. The default is 10 ** 9 + 7.
Landau notation: O(n)
See:
http://drken1215.hatenablog.com/entry/2018/06/08/210000
"""
def __init__(self, max_value=500050, mod=10 ** 9 + 7):
self.max_value = max_value
self.mod = mod
self.fac = [0 for _ in range(self.max_value)]
self.finv = [0 for _ in range(self.max_value)]
self.inv = [0 for _ in range(self.max_value)]
self.fac[0] = 1
self.fac[1] = 1
self.finv[0] = 1
self.finv[1] = 1
self.inv[1] = 1
for i in range(2, self.max_value):
self.fac[i] = self.fac[i - 1] * i % self.mod
self.inv[i] = self.mod - self.inv[self.mod % i] * (self.mod // i) % self.mod
self.finv[i] = self.finv[i - 1] * self.inv[i] % self.mod
def count_n_cr(self, n, r):
"""Count the total number of combinations.
nCr % mod.
nHr % mod = (n + r - 1)Cr % mod.
Args:
n : Elements. Int of number (greater than 1).
r : The number of r-th combinations. Int of number
(greater than 0).
Returns:
The total number of combinations.
Landau notation: O(1)
"""
if n < r:
return 0
if n < 0 or r < 0:
return 0
return self.fac[n] * (self.finv[r] * self.finv[n - r] % self.mod) % self.mod |
class Command(object):
"""
Abstract command class
"""
name = ''
description = ''
parser = None
def __init__(self, args):
self.args = args
@classmethod
def create_parser(cls, subparsers):
cls.parser = subparsers.add_parser(cls.name, help=cls.description)
cls.parser.set_defaults(command_class=cls)
cls.add_arguments()
return cls.parser
@classmethod
def add_arguments(cls):
pass
@classmethod
def help(cls):
cls.parser.print_help()
def do_job(self):
raise NotImplementedError()
def __get_available_commands(command_class):
commands = command_class.__subclasses__()
for c in list(commands):
commands.extend(__get_available_commands(c))
return commands
def get_available_commands():
return __get_available_commands(Command)
def get_available_command_names():
return [c.name for c in get_available_commands()]
def get_command(command_name):
for c in get_available_commands():
if c.name == command_name:
return c
raise ValueError('Invalid command name: %s' % command_name)
| class Command(object):
"""
Abstract command class
"""
name = ''
description = ''
parser = None
def __init__(self, args):
self.args = args
@classmethod
def create_parser(cls, subparsers):
cls.parser = subparsers.add_parser(cls.name, help=cls.description)
cls.parser.set_defaults(command_class=cls)
cls.add_arguments()
return cls.parser
@classmethod
def add_arguments(cls):
pass
@classmethod
def help(cls):
cls.parser.print_help()
def do_job(self):
raise not_implemented_error()
def __get_available_commands(command_class):
commands = command_class.__subclasses__()
for c in list(commands):
commands.extend(__get_available_commands(c))
return commands
def get_available_commands():
return __get_available_commands(Command)
def get_available_command_names():
return [c.name for c in get_available_commands()]
def get_command(command_name):
for c in get_available_commands():
if c.name == command_name:
return c
raise value_error('Invalid command name: %s' % command_name) |
# -*- coding: utf-8 -*-
class Student(object):
def __init__(self, name, score):
self.__name = name
self.__score = score
def print_score(self):
print('%s: %s' % (self.__name, self.__score))
def get_name(self):
return self.__name
def get_score(self):
return self.__score
def set_score(self, score):
if 0 <= score <= 100:
self.__score = score
else:
raise ValueError('bad score')
bart = Student('Bart Simpson', 59)
#print(bart._name)
print(bart.get_name())
| class Student(object):
def __init__(self, name, score):
self.__name = name
self.__score = score
def print_score(self):
print('%s: %s' % (self.__name, self.__score))
def get_name(self):
return self.__name
def get_score(self):
return self.__score
def set_score(self, score):
if 0 <= score <= 100:
self.__score = score
else:
raise value_error('bad score')
bart = student('Bart Simpson', 59)
print(bart.get_name()) |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
@Author:_defined
@Time: 2018/8/28 19:18
@Description:
"""
__all__ = ["Timeout", "NoCookiesException", "VerificationCodeError",
"OverrideAttrException", "NoTaskException", "SpiderBanError"]
class Timeout(Exception):
"""
Functions run out of time
"""
class NoCookiesException(Exception):
"""
Has no cookies in redis
"""
class VerificationCodeError(Exception):
"""
Verification Codes identify error
"""
class OverrideAttrException(Exception):
"""
Override class attributions exception
"""
class NoTaskException(Exception):
"""
No task to access exception
"""
class SpiderBanError(Exception):
"""
spider has been banned
"""
| """
@Author:_defined
@Time: 2018/8/28 19:18
@Description:
"""
__all__ = ['Timeout', 'NoCookiesException', 'VerificationCodeError', 'OverrideAttrException', 'NoTaskException', 'SpiderBanError']
class Timeout(Exception):
"""
Functions run out of time
"""
class Nocookiesexception(Exception):
"""
Has no cookies in redis
"""
class Verificationcodeerror(Exception):
"""
Verification Codes identify error
"""
class Overrideattrexception(Exception):
"""
Override class attributions exception
"""
class Notaskexception(Exception):
"""
No task to access exception
"""
class Spiderbanerror(Exception):
"""
spider has been banned
""" |
# import simplejson as json
# import pandas as pd
# import numpy as np
# import psycopg2
# from itertools import repeat
# from psycopg2.extras import RealDictCursor, DictCursor
def execSql(cursor):
out = None
sqlString = '''
set search_path to demounit1;
-- GstInputAll (ExtGstTranD only) based on "isInput"
with cte1 as (
select "tranDate", "autoRefNo", "userRefNo", "tranType", "gstin", d."amount" - "cgst" - "sgst" - "igst" as "aggregate", "cgst", "sgst", "igst", d."amount",
"accName",h."remarks", "dc", "lineRefNo", d."remarks" as "lineRemarks"
from "TranH" h
join "TranD" d
on h."id" = d."tranHeaderId"
join "ExtGstTranD" e
on d."id" = e."tranDetailsId"
join "AccM" a
on a."id" = d."accId"
join "TranTypeM" t
on t."id" = h."tranTypeId"
where
("cgst" <> 0 or
"sgst" <> 0 or
"igst" <> 0) and
"isInput" = true and
"finYearId" = 2021
-- "finYearId" = %(finYearId)s and
-- "branchId" = %(branchId)s and
-- ("tranDate" between %(fromDate)s and %(toDate)s)
order by "tranDate", h."id"),
-- GstOutputAll (ExtGstTrand) based on "isInput"
cte2 as (
select "tranDate", "autoRefNo", "userRefNo", "tranType", "gstin", d."amount" - "cgst" - "sgst" - "igst" as "aggregate", "cgst", "sgst", "igst", d."amount",
"accName",h."remarks", "dc", "lineRefNo", d."remarks" as "lineRemarks"
from "TranH" h
join "TranD" d
on h."id" = d."tranHeaderId"
join "ExtGstTranD" e
on d."id" = e."tranDetailsId"
join "AccM" a
on a."id" = d."accId"
join "TranTypeM" t
on t."id" = h."tranTypeId"
where
("cgst" <> 0 or
"sgst" <> 0 or
"igst" <> 0) and
"isInput" = false and
"finYearId" = 2021
-- "finYearId" = %(finYearId)s and
-- "branchId" = %(branchId)s and
-- ("tranDate" between %(fromDate)s and %(toDate)s)
order by "tranDate", h."id"),
-- GstNetSales (considering only table SalePurchaseDetails)
cte3 as (
select "tranDate", "autoRefNo", "userRefNo", "tranType",
(select "gstin" from "ExtGstTranD" where "tranDetailsId" = d."id") as "gstin",
"gstRate",
CASE WHEN "tranTypeId" = 4 THEN (s."amount" - "cgst" - "sgst" - "igst") ELSE -(s."amount" - "cgst" - "sgst" - "igst") END as "aggregate",
CASE WHEN "tranTypeId" = 4 THEN "cgst" ELSE -"cgst" END as "cgst",
CASE WHEN "tranTypeId" = 4 THEN "sgst" ELSE -"sgst" END as "sgst",
CASE WHEN "tranTypeId" = 4 THEN "igst" ELSE -"igst" END as "igst",
CASE WHEN "tranTypeId" = 4 THEN s."amount" ELSE -s."amount" END as "amount",
"accName", h."remarks", "dc", "lineRefNo", d."remarks" as "lineRemarks"
from "TranH" h
join "TranD" d
on h."id" = d."tranHeaderId"
-- join "ExtGstTranD" e
-- on d."id" = e."tranDetailsId"
join "AccM" a
on a."id" = d."accId"
join "TranTypeM" t
on t."id" = h."tranTypeId"
join "SalePurchaseDetails" s
on d."id" = s."tranDetailsId"
where
("cgst" <> 0 or
"sgst" <> 0 or
"igst" <> 0) and
"tranTypeId" in (4,9) and
-- "isInput" = false and
"finYearId" = 2021
-- "finYearId" = %(finYearId)s and
-- "branchId" = %(branchId)s and
-- ("tranDate" between %(fromDate)s and %(toDate)s)
order by "tranDate", h."id"
),
-- GstNetPurchases (considering only table SalePurchaseDetails)
cte4 as (
select "tranDate", "autoRefNo", "userRefNo", "tranType",
(select "gstin" from "ExtGstTranD" where "tranDetailsId" = d."id") as "gstin",
"gstRate",
CASE WHEN "tranTypeId" = 5 THEN (s."amount" - "cgst" - "sgst" - "igst") ELSE -(s."amount" - "cgst" - "sgst" - "igst") END as "aggregate",
CASE WHEN "tranTypeId" = 5 THEN "cgst" ELSE -"cgst" END as "cgst",
CASE WHEN "tranTypeId" = 5 THEN "sgst" ELSE -"sgst" END as "sgst",
CASE WHEN "tranTypeId" = 5 THEN "igst" ELSE -"igst" END as "igst",
CASE WHEN "tranTypeId" = 5 THEN s."amount" ELSE -s."amount" END as "amount",
"accName", h."remarks", "dc", "lineRefNo", d."remarks" as "lineRemarks"
from "TranH" h
join "TranD" d
on h."id" = d."tranHeaderId"
-- join "ExtGstTranD" e
-- on d."id" = e."tranDetailsId"
join "AccM" a
on a."id" = d."accId"
join "TranTypeM" t
on t."id" = h."tranTypeId"
join "SalePurchaseDetails" s
on d."id" = s."tranDetailsId"
where
("cgst" <> 0 or
"sgst" <> 0 or
"igst" <> 0) and
"tranTypeId" in (5,10) and
-- "isInput" = false and
"finYearId" = 2021
-- "finYearId" = %(finYearId)s and
-- "branchId" = %(branchId)s and
-- ("tranDate" between %(fromDate)s and %(toDate)s)
order by "tranDate", h."id"
),
-- gstInputVouchers
cte5 as (
select "tranDate", "autoRefNo", "userRefNo", "tranType",
"gstin", "rate",
d."amount" - "cgst" - "sgst" - "igst" as "aggregate", "cgst", "sgst", "igst", d."amount",
"accName", h."remarks", "dc", "lineRefNo", d."remarks" as "lineRemarks"
from "TranH" h
join "TranD" d
on h."id" = d."tranHeaderId"
join "ExtGstTranD" e
on d."id" = e."tranDetailsId"
join "AccM" a
on a."id" = d."accId"
join "TranTypeM" t
on t."id" = h."tranTypeId"
-- join "SalePurchaseDetails" s
-- on d."id" = s."tranDetailsId"
where
("cgst" <> 0 or
"sgst" <> 0 or
"igst" <> 0) and
"rate" is not null and -- When it is not a sale / purchase i.e voucher, then "gstRate" value exists in "ExtGstTranD" table otherwise not
"isInput" = true and -- Only applicable for GST through vouchers
"finYearId" = 2021
-- "finYearId" = %(finYearId)s and
-- "branchId" = %(branchId)s and
-- ("tranDate" between %(fromDate)s and %(toDate)s)
order by "tranDate", h."id"
)
select json_build_object(
'gstInputAll', (SELECT json_agg(row_to_json(a)) from cte1 a),
'gstOutputAll', (SELECT json_agg(row_to_json(b)) from cte2 b),
'gstNetSales', (SELECT json_agg(row_to_json(c)) from cte3 c),
'gstNetPurchases', (SELECT json_agg(row_to_json(d)) from cte4 d),
'gstInputVouchers', (SELECT json_agg(row_to_json(e)) from cte5 e)
) as "jsonResult" '''
cursor.execute(sqlString)
out = cursor.fetchall()
return out
def trialBalance(data):
df = pd.DataFrame(data)
pivot = pd.pivot_table(df, index=["accCode", "accName", "accType"], columns=["dc"],
values="amount", aggfunc=np.sum, fill_value=0)
pivot.rename(
columns={
'O': 'Opening',
'D': 'Debit',
'C': 'Credit'
},
inplace=True
)
pivot['Closing'] = pivot['Opening'] + pivot['Debit'] - pivot['Credit']
pivot.loc['Total', 'Closing'] = pivot['Closing'].sum()
pivot.loc['Total', 'Debit'] = pivot['Debit'].sum()
pivot.loc['Total', 'Credit'] = pivot['Credit'].sum()
pivot.loc['Total', 'Opening'] = pivot['Opening'].sum()
pivot['Closing_dc'] = pivot['Closing'].apply(lambda x: 'Dr' if x >= 0 else 'Cr')
pivot['Closing'] = pivot['Closing'].apply(lambda x: x if x>=0 else -x) # remove minus sign
pivot['Opening_dc'] = pivot['Opening'].apply(lambda x: 'Dr' if x >= 0 else 'Cr')
pivot['Opening'] = pivot['Opening'].apply(lambda x: x if x>=0 else -x) # remove minus sign
pivot = pivot.reindex(columns= ['Opening', 'Opening_dc', 'Debit', 'Credit', 'Closing', 'Closing_dc'])
print(pivot)
j = pivot.to_json(orient='table')
jsonObj = json.loads(j)
dt = jsonObj["data"]
return dt
try:
connection = None
with open('adam/config.json') as f:
cfg = json.load(f)
connection = psycopg2.connect(
user=cfg["user"], password=cfg["password"], host=cfg["host"], port=cfg["port"], database=cfg["database"])
cursor = connection.cursor(cursor_factory=RealDictCursor)
data = execSql(cursor)
d = trialBalance(data)
# print(d)
connection.commit()
except (Exception, psycopg2.Error) as error:
print("Error while connecting to PostgreSQL", error)
if connection:
connection.rollback()
finally:
if connection:
cursor.close()
connection.close()
print("PostgreSQL connection is closed")
| def exec_sql(cursor):
out = None
sql_string = '\n set search_path to demounit1;\n -- GstInputAll (ExtGstTranD only) based on "isInput"\n with cte1 as (\n\tselect "tranDate", "autoRefNo", "userRefNo", "tranType", "gstin", d."amount" - "cgst" - "sgst" - "igst" as "aggregate", "cgst", "sgst", "igst", d."amount",\n "accName",h."remarks", "dc", "lineRefNo", d."remarks" as "lineRemarks"\n from "TranH" h\n join "TranD" d\n on h."id" = d."tranHeaderId"\n join "ExtGstTranD" e\n on d."id" = e."tranDetailsId"\n join "AccM" a\n on a."id" = d."accId"\n\t\t\tjoin "TranTypeM" t\n\t\t\t\ton t."id" = h."tranTypeId"\n where\n ("cgst" <> 0 or\n "sgst" <> 0 or\n "igst" <> 0) and\n\t\t\t"isInput" = true and\n\t\t\t"finYearId" = 2021\n-- "finYearId" = %(finYearId)s and\n-- "branchId" = %(branchId)s and\n-- ("tranDate" between %(fromDate)s and %(toDate)s)\n \n order by "tranDate", h."id"),\n \n -- GstOutputAll (ExtGstTrand) based on "isInput"\n cte2 as (\n\tselect "tranDate", "autoRefNo", "userRefNo", "tranType", "gstin", d."amount" - "cgst" - "sgst" - "igst" as "aggregate", "cgst", "sgst", "igst", d."amount",\n "accName",h."remarks", "dc", "lineRefNo", d."remarks" as "lineRemarks"\n from "TranH" h\n join "TranD" d\n on h."id" = d."tranHeaderId"\n join "ExtGstTranD" e\n on d."id" = e."tranDetailsId"\n join "AccM" a\n on a."id" = d."accId"\n\t\t\tjoin "TranTypeM" t\n\t\t\t\ton t."id" = h."tranTypeId"\n where\n ("cgst" <> 0 or\n "sgst" <> 0 or\n "igst" <> 0) and\n\t\t\t"isInput" = false and\n\t\t\t"finYearId" = 2021\n-- "finYearId" = %(finYearId)s and\n-- "branchId" = %(branchId)s and\n-- ("tranDate" between %(fromDate)s and %(toDate)s)\n \n order by "tranDate", h."id"),\n \n -- GstNetSales (considering only table SalePurchaseDetails)\n cte3 as (\n select "tranDate", "autoRefNo", "userRefNo", "tranType", \n (select "gstin" from "ExtGstTranD" where "tranDetailsId" = d."id") as "gstin",\n "gstRate",\n CASE WHEN "tranTypeId" = 4 THEN (s."amount" - "cgst" - "sgst" - "igst") ELSE -(s."amount" - "cgst" - "sgst" - "igst") END as "aggregate",\n CASE WHEN "tranTypeId" = 4 THEN "cgst" ELSE -"cgst" END as "cgst",\n CASE WHEN "tranTypeId" = 4 THEN "sgst" ELSE -"sgst" END as "sgst",\n CASE WHEN "tranTypeId" = 4 THEN "igst" ELSE -"igst" END as "igst",\n CASE WHEN "tranTypeId" = 4 THEN s."amount" ELSE -s."amount" END as "amount",\n "accName", h."remarks", "dc", "lineRefNo", d."remarks" as "lineRemarks"\n from "TranH" h\n join "TranD" d\n on h."id" = d."tranHeaderId"\n -- join "ExtGstTranD" e\n -- on d."id" = e."tranDetailsId"\n join "AccM" a\n on a."id" = d."accId"\n join "TranTypeM" t\n on t."id" = h."tranTypeId"\n join "SalePurchaseDetails" s\n on d."id" = s."tranDetailsId"\n where\n ("cgst" <> 0 or\n "sgst" <> 0 or\n "igst" <> 0) and\n "tranTypeId" in (4,9) and\n --\t\t\t"isInput" = false and\n "finYearId" = 2021\n -- "finYearId" = %(finYearId)s and\n -- "branchId" = %(branchId)s and\n -- ("tranDate" between %(fromDate)s and %(toDate)s) \n order by "tranDate", h."id"\n ),\n\n -- GstNetPurchases (considering only table SalePurchaseDetails)\n cte4 as (\n select "tranDate", "autoRefNo", "userRefNo", "tranType", \n (select "gstin" from "ExtGstTranD" where "tranDetailsId" = d."id") as "gstin",\n "gstRate",\n CASE WHEN "tranTypeId" = 5 THEN (s."amount" - "cgst" - "sgst" - "igst") ELSE -(s."amount" - "cgst" - "sgst" - "igst") END as "aggregate",\n CASE WHEN "tranTypeId" = 5 THEN "cgst" ELSE -"cgst" END as "cgst",\n CASE WHEN "tranTypeId" = 5 THEN "sgst" ELSE -"sgst" END as "sgst",\n CASE WHEN "tranTypeId" = 5 THEN "igst" ELSE -"igst" END as "igst",\n CASE WHEN "tranTypeId" = 5 THEN s."amount" ELSE -s."amount" END as "amount",\n "accName", h."remarks", "dc", "lineRefNo", d."remarks" as "lineRemarks"\n from "TranH" h\n join "TranD" d\n on h."id" = d."tranHeaderId"\n -- join "ExtGstTranD" e\n -- on d."id" = e."tranDetailsId"\n join "AccM" a\n on a."id" = d."accId"\n join "TranTypeM" t\n on t."id" = h."tranTypeId"\n join "SalePurchaseDetails" s\n on d."id" = s."tranDetailsId"\n where\n ("cgst" <> 0 or\n "sgst" <> 0 or\n "igst" <> 0) and\n "tranTypeId" in (5,10) and\n --\t\t\t"isInput" = false and\n "finYearId" = 2021\n -- "finYearId" = %(finYearId)s and\n -- "branchId" = %(branchId)s and\n -- ("tranDate" between %(fromDate)s and %(toDate)s)\n \n order by "tranDate", h."id"\n ),\n\n -- gstInputVouchers\n cte5 as (\n select "tranDate", "autoRefNo", "userRefNo", "tranType", \n "gstin", "rate",\n d."amount" - "cgst" - "sgst" - "igst" as "aggregate", "cgst", "sgst", "igst", d."amount",\n "accName", h."remarks", "dc", "lineRefNo", d."remarks" as "lineRemarks"\n from "TranH" h\n join "TranD" d\n on h."id" = d."tranHeaderId"\n join "ExtGstTranD" e\n on d."id" = e."tranDetailsId"\n join "AccM" a\n on a."id" = d."accId"\n join "TranTypeM" t\n on t."id" = h."tranTypeId"\n --\t\t\tjoin "SalePurchaseDetails" s\n --\t\t\t\ton d."id" = s."tranDetailsId"\n where\n ("cgst" <> 0 or\n "sgst" <> 0 or\n "igst" <> 0) and\n "rate" is not null and -- When it is not a sale / purchase i.e voucher, then "gstRate" value exists in "ExtGstTranD" table otherwise not\n "isInput" = true and -- Only applicable for GST through vouchers\n "finYearId" = 2021\n -- "finYearId" = %(finYearId)s and\n -- "branchId" = %(branchId)s and\n -- ("tranDate" between %(fromDate)s and %(toDate)s)\n \n order by "tranDate", h."id"\n )\n\tselect json_build_object(\n \'gstInputAll\', (SELECT json_agg(row_to_json(a)) from cte1 a),\n\t\t\t\'gstOutputAll\', (SELECT json_agg(row_to_json(b)) from cte2 b),\n\t\t\t\'gstNetSales\', (SELECT json_agg(row_to_json(c)) from cte3 c),\n\t\t\t\'gstNetPurchases\', (SELECT json_agg(row_to_json(d)) from cte4 d),\n\t\t\t\'gstInputVouchers\', (SELECT json_agg(row_to_json(e)) from cte5 e)\n ) as "jsonResult" '
cursor.execute(sqlString)
out = cursor.fetchall()
return out
def trial_balance(data):
df = pd.DataFrame(data)
pivot = pd.pivot_table(df, index=['accCode', 'accName', 'accType'], columns=['dc'], values='amount', aggfunc=np.sum, fill_value=0)
pivot.rename(columns={'O': 'Opening', 'D': 'Debit', 'C': 'Credit'}, inplace=True)
pivot['Closing'] = pivot['Opening'] + pivot['Debit'] - pivot['Credit']
pivot.loc['Total', 'Closing'] = pivot['Closing'].sum()
pivot.loc['Total', 'Debit'] = pivot['Debit'].sum()
pivot.loc['Total', 'Credit'] = pivot['Credit'].sum()
pivot.loc['Total', 'Opening'] = pivot['Opening'].sum()
pivot['Closing_dc'] = pivot['Closing'].apply(lambda x: 'Dr' if x >= 0 else 'Cr')
pivot['Closing'] = pivot['Closing'].apply(lambda x: x if x >= 0 else -x)
pivot['Opening_dc'] = pivot['Opening'].apply(lambda x: 'Dr' if x >= 0 else 'Cr')
pivot['Opening'] = pivot['Opening'].apply(lambda x: x if x >= 0 else -x)
pivot = pivot.reindex(columns=['Opening', 'Opening_dc', 'Debit', 'Credit', 'Closing', 'Closing_dc'])
print(pivot)
j = pivot.to_json(orient='table')
json_obj = json.loads(j)
dt = jsonObj['data']
return dt
try:
connection = None
with open('adam/config.json') as f:
cfg = json.load(f)
connection = psycopg2.connect(user=cfg['user'], password=cfg['password'], host=cfg['host'], port=cfg['port'], database=cfg['database'])
cursor = connection.cursor(cursor_factory=RealDictCursor)
data = exec_sql(cursor)
d = trial_balance(data)
connection.commit()
except (Exception, psycopg2.Error) as error:
print('Error while connecting to PostgreSQL', error)
if connection:
connection.rollback()
finally:
if connection:
cursor.close()
connection.close()
print('PostgreSQL connection is closed') |
class ListenKeyExpired:
def __init__(self):
self.eventType = ''
self.eventTime = 0
@staticmethod
def json_parse(json_data):
result = ListenKeyExpired()
result.eventType = json_data.get_string('e')
result.eventTime = json_data.get_int('E')
return result
| class Listenkeyexpired:
def __init__(self):
self.eventType = ''
self.eventTime = 0
@staticmethod
def json_parse(json_data):
result = listen_key_expired()
result.eventType = json_data.get_string('e')
result.eventTime = json_data.get_int('E')
return result |
class Option:
"""Description of a single configurable option.
Args:
name: The name of the option, i.e. its key in the config.
description: Description of the option.
default: Default value of the option.
path: Path segments to the option in the config.
"""
def __init__(self, name, description, default, path=()):
self._name = name
self._description = description
self._default = default
self._path = tuple(path)
@property
def name(self):
"The name of the option."
return self._name
@property
def description(self):
"The description of the option."
return self._description
@property
def default(self):
"The default value of the option."
return self._default
@property
def path(self):
"Path leading to option in the config."
return self._path
def __repr__(self):
return "Option(name='{}', description='{}', default={}, path={})".format(
self.name, self.description, self.default, self.path)
def __str__(self):
return "{}: {} [default={}]".format(self.name, self.description, self.default)
def build_default_config(options):
"""Build a default config from an iterable of options.
"""
config = {}
for option in options:
subconfig = config
for segment in option.path:
subconfig = subconfig.setdefault(segment, {})
subconfig[option.name] = option.default
return config
| class Option:
"""Description of a single configurable option.
Args:
name: The name of the option, i.e. its key in the config.
description: Description of the option.
default: Default value of the option.
path: Path segments to the option in the config.
"""
def __init__(self, name, description, default, path=()):
self._name = name
self._description = description
self._default = default
self._path = tuple(path)
@property
def name(self):
"""The name of the option."""
return self._name
@property
def description(self):
"""The description of the option."""
return self._description
@property
def default(self):
"""The default value of the option."""
return self._default
@property
def path(self):
"""Path leading to option in the config."""
return self._path
def __repr__(self):
return "Option(name='{}', description='{}', default={}, path={})".format(self.name, self.description, self.default, self.path)
def __str__(self):
return '{}: {} [default={}]'.format(self.name, self.description, self.default)
def build_default_config(options):
"""Build a default config from an iterable of options.
"""
config = {}
for option in options:
subconfig = config
for segment in option.path:
subconfig = subconfig.setdefault(segment, {})
subconfig[option.name] = option.default
return config |
self.description = "Remove a package with a modified file marked for backup and has existing pacsaves"
self.filesystem = ["etc/dummy.conf.pacsave",
"etc/dummy.conf.pacsave.1",
"etc/dummy.conf.pacsave.2"]
p1 = pmpkg("dummy")
p1.files = ["etc/dummy.conf*"]
p1.backup = ["etc/dummy.conf"]
self.addpkg2db("local", p1)
self.args = "-R %s" % p1.name
self.addrule("PACMAN_RETCODE=0")
self.addrule("!PKG_EXIST=dummy")
self.addrule("!FILE_EXIST=etc/dummy.conf")
self.addrule("FILE_PACSAVE=etc/dummy.conf")
self.addrule("FILE_EXIST=etc/dummy.conf.pacsave.1")
self.addrule("FILE_EXIST=etc/dummy.conf.pacsave.2")
self.addrule("FILE_EXIST=etc/dummy.conf.pacsave.3")
| self.description = 'Remove a package with a modified file marked for backup and has existing pacsaves'
self.filesystem = ['etc/dummy.conf.pacsave', 'etc/dummy.conf.pacsave.1', 'etc/dummy.conf.pacsave.2']
p1 = pmpkg('dummy')
p1.files = ['etc/dummy.conf*']
p1.backup = ['etc/dummy.conf']
self.addpkg2db('local', p1)
self.args = '-R %s' % p1.name
self.addrule('PACMAN_RETCODE=0')
self.addrule('!PKG_EXIST=dummy')
self.addrule('!FILE_EXIST=etc/dummy.conf')
self.addrule('FILE_PACSAVE=etc/dummy.conf')
self.addrule('FILE_EXIST=etc/dummy.conf.pacsave.1')
self.addrule('FILE_EXIST=etc/dummy.conf.pacsave.2')
self.addrule('FILE_EXIST=etc/dummy.conf.pacsave.3') |
"""
Exercise 3
PART 1: Gather Information
Gather information about the source of the error and paste your findings here. E.g.:
- What is the expected vs. the actual output?
- What error message (if any) is there?
- What line number is causing the error?
- What can you deduce about the cause of the error?
PART 2: State Assumptions
State your assumptions here or say them out loud to your partner ...
Make sure to be SPECIFIC about what each of your assumptions is!
HINT: It may help to draw a picture to clarify what your assumptions are.
Answer:
line 26, in insertion_sort
while key < arr[j] :
IndexError: list index out of range
This index error happens when j -= 1 makes j < 1. This can be solved by adding an additional constraint to the while loop, while j >= 0 and key < arr[j].
"""
def insertion_sort(arr):
"""Performs an Insertion Sort on the array arr."""
for i in range(1, len(arr)):
key = arr[i]
j = i-1
while j>= 0 and key < arr[j] :
arr[j+1] = arr[j]
j -= 1
arr[j+1] = key
return arr
if __name__ == '__main__':
print('### Problem 3 ###')
answer = insertion_sort([5, 2, 3, 1, 6])
print(answer)
| """
Exercise 3
PART 1: Gather Information
Gather information about the source of the error and paste your findings here. E.g.:
- What is the expected vs. the actual output?
- What error message (if any) is there?
- What line number is causing the error?
- What can you deduce about the cause of the error?
PART 2: State Assumptions
State your assumptions here or say them out loud to your partner ...
Make sure to be SPECIFIC about what each of your assumptions is!
HINT: It may help to draw a picture to clarify what your assumptions are.
Answer:
line 26, in insertion_sort
while key < arr[j] :
IndexError: list index out of range
This index error happens when j -= 1 makes j < 1. This can be solved by adding an additional constraint to the while loop, while j >= 0 and key < arr[j].
"""
def insertion_sort(arr):
"""Performs an Insertion Sort on the array arr."""
for i in range(1, len(arr)):
key = arr[i]
j = i - 1
while j >= 0 and key < arr[j]:
arr[j + 1] = arr[j]
j -= 1
arr[j + 1] = key
return arr
if __name__ == '__main__':
print('### Problem 3 ###')
answer = insertion_sort([5, 2, 3, 1, 6])
print(answer) |
# =====================================
# generator=datazen
# version=2.1.0
# hash=ae83e4ad65b0e39560e7ca039248aa55
# =====================================
"""
Useful defaults and other package metadata.
"""
DESCRIPTION = "Simplify project workflows by standardizing use of GNU Make."
PKG_NAME = "vmklib"
VERSION = "1.6.6"
| """
Useful defaults and other package metadata.
"""
description = 'Simplify project workflows by standardizing use of GNU Make.'
pkg_name = 'vmklib'
version = '1.6.6' |
def quote():
# TODO store to indexes.json
indexes = [
{ source : 'BOVESPA', ticker:'IBOV'},
{ source : 'CRYPTO', ticker:'BTCBRL'}
]
return indexes | def quote():
indexes = [{source: 'BOVESPA', ticker: 'IBOV'}, {source: 'CRYPTO', ticker: 'BTCBRL'}]
return indexes |
class AttributeRange(object):
# value_start: float
# value_end: float
# duration_seconds: int
def __init__(self, left: float,
right: float, duration_seconds: int):
self.left = left
self.right = right
self.duration_seconds = duration_seconds
def __iter__(self):
yield self.left
yield self.right
@property
def reverse(self):
"""
Sort order is reverse (descending)
"""
return self.left > self.right
def __str__(self):
return str((self.left, self.right, self.duration_seconds))
class Line(object):
# attribute_name: str
def __init__(self, attribute_name, *ranges: AttributeRange):
self.ranges = ranges
self.attribute_name = attribute_name
def __str__(self):
return '\n'.join([str((p.left, p.right, p.duration_seconds)) for p in self.ranges])
| class Attributerange(object):
def __init__(self, left: float, right: float, duration_seconds: int):
self.left = left
self.right = right
self.duration_seconds = duration_seconds
def __iter__(self):
yield self.left
yield self.right
@property
def reverse(self):
"""
Sort order is reverse (descending)
"""
return self.left > self.right
def __str__(self):
return str((self.left, self.right, self.duration_seconds))
class Line(object):
def __init__(self, attribute_name, *ranges: AttributeRange):
self.ranges = ranges
self.attribute_name = attribute_name
def __str__(self):
return '\n'.join([str((p.left, p.right, p.duration_seconds)) for p in self.ranges]) |
# coding=utf-8
"""
**The brief introduction**:
This package (:py:mod:`poco.sdk.interfaces`) defines the main standards for communication interfaces between poco and
poco-sdk. If poco-sdk is integrated with an app running on another host or in different language, then poco-sdk is
called `remote runtime`. The implementation of these interfaces can be done either remotely or locally depending on
your own choice. If it is done locally, refer to :py:mod:`poco.freezeui` for more information.
Poco needs to communicate with the app runtime under the convention of interfaces described below and these interfaces
must be properly implemented. Any object implementing the same interface is replaceable and the communication protocol
or transport layer has no limitation. Furthermore, in many cases the communication can be customized that one part of
interfaces can use HTTP protocol and other can use TCP.
"""
| """
**The brief introduction**:
This package (:py:mod:`poco.sdk.interfaces`) defines the main standards for communication interfaces between poco and
poco-sdk. If poco-sdk is integrated with an app running on another host or in different language, then poco-sdk is
called `remote runtime`. The implementation of these interfaces can be done either remotely or locally depending on
your own choice. If it is done locally, refer to :py:mod:`poco.freezeui` for more information.
Poco needs to communicate with the app runtime under the convention of interfaces described below and these interfaces
must be properly implemented. Any object implementing the same interface is replaceable and the communication protocol
or transport layer has no limitation. Furthermore, in many cases the communication can be customized that one part of
interfaces can use HTTP protocol and other can use TCP.
""" |
'''
Filippo Aleotti
filippo.aleotti2@unibo.it
29 November 2019
I PROFESSIONAL MASTER'S PROGRAM, II LEVEL "SIMUR", Imola 2019
Modify the function realised in the previous exercise to return (inside the dict, using the key min) also the value with minimum frequency.
If more values have the same minimum frequency, then return the lowest one
'''
def are_equals(dict1, dict2):
''' check if two dict are equal.
Both the dicts have str keys and integer values
'''
for k,v in dict1.items():
if k not in dict2.keys():
return False
if dict2[k] != v:
return False
return True
def frequency_extractor(input_list):
output_dict = {}
for element in input_list:
if str(element) not in output_dict.keys():
output_dict[str(element)] = 1
else:
output_dict[str(element)] += 1
min_value = None
#NOTE: val are str, so we need an int cast to obtain integer values
for val, freq in output_dict.items():
if min_value == None:
#NOTE: at first iteration, we will always enter here
min_value = int(val)
else:
if freq < output_dict[str(min_value)]:
# this frequency value is lower than the frequency of the current minimum,
# so we have to update the current minimum
min_value = int(val)
elif freq == output_dict[str(min_value)] and min_value > int(val):
# the frequency is equal to the frequency of minimum.
# We have to update the minimum only if the current minimum
# is greather than this value
min_value = int(val)
output_dict['min'] = min_value
return output_dict
frequency_1 = frequency_extractor([0,1,0,2,2,1,2,1,0,0,2,1,1])
frequency_2 = frequency_extractor([1,2,2,2,1,5,3,1])
assert are_equals(frequency_1, {'0':4,'1':5,'2':4,'min':0}) == True
assert are_equals(frequency_2, {'1':3,'2':3,'3':1,'5':1, 'min':3}) == True
| """
Filippo Aleotti
filippo.aleotti2@unibo.it
29 November 2019
I PROFESSIONAL MASTER'S PROGRAM, II LEVEL "SIMUR", Imola 2019
Modify the function realised in the previous exercise to return (inside the dict, using the key min) also the value with minimum frequency.
If more values have the same minimum frequency, then return the lowest one
"""
def are_equals(dict1, dict2):
""" check if two dict are equal.
Both the dicts have str keys and integer values
"""
for (k, v) in dict1.items():
if k not in dict2.keys():
return False
if dict2[k] != v:
return False
return True
def frequency_extractor(input_list):
output_dict = {}
for element in input_list:
if str(element) not in output_dict.keys():
output_dict[str(element)] = 1
else:
output_dict[str(element)] += 1
min_value = None
for (val, freq) in output_dict.items():
if min_value == None:
min_value = int(val)
elif freq < output_dict[str(min_value)]:
min_value = int(val)
elif freq == output_dict[str(min_value)] and min_value > int(val):
min_value = int(val)
output_dict['min'] = min_value
return output_dict
frequency_1 = frequency_extractor([0, 1, 0, 2, 2, 1, 2, 1, 0, 0, 2, 1, 1])
frequency_2 = frequency_extractor([1, 2, 2, 2, 1, 5, 3, 1])
assert are_equals(frequency_1, {'0': 4, '1': 5, '2': 4, 'min': 0}) == True
assert are_equals(frequency_2, {'1': 3, '2': 3, '3': 1, '5': 1, 'min': 3}) == True |
# AUTOGENERATED BY NBDEV! DO NOT EDIT!
__all__ = ["index", "modules", "custom_doc_links", "git_url"]
index = {"say_hello": "test_example.ipynb",
"say_goodbye": "00_core.ipynb"}
modules = ["core.py",
"test_example.py"]
doc_url = "https://daviderzmann.github.io/designkit_test/"
git_url = "https://github.com/daviderzmann/designkit_test/tree/master/"
def custom_doc_links(name): return None
| __all__ = ['index', 'modules', 'custom_doc_links', 'git_url']
index = {'say_hello': 'test_example.ipynb', 'say_goodbye': '00_core.ipynb'}
modules = ['core.py', 'test_example.py']
doc_url = 'https://daviderzmann.github.io/designkit_test/'
git_url = 'https://github.com/daviderzmann/designkit_test/tree/master/'
def custom_doc_links(name):
return None |
n=int(input())
S=input()
k=int(input())
i=S[k-1]
for s in S:print(s if s==i else "*",end="") | n = int(input())
s = input()
k = int(input())
i = S[k - 1]
for s in S:
print(s if s == i else '*', end='') |
class Solution:
def findPoisonedDuration(self, timeSeries: List[int], duration: int) -> int:
if len(timeSeries) == 0:
return 0
total_poisoned = 0
for i in range(len(timeSeries)-1):
total_poisoned += min(duration, timeSeries[i+1] - timeSeries[i])
total_poisoned += duration
return total_poisoned
| class Solution:
def find_poisoned_duration(self, timeSeries: List[int], duration: int) -> int:
if len(timeSeries) == 0:
return 0
total_poisoned = 0
for i in range(len(timeSeries) - 1):
total_poisoned += min(duration, timeSeries[i + 1] - timeSeries[i])
total_poisoned += duration
return total_poisoned |
#
# PySNMP MIB module CISCO-LWAPP-RF-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-LWAPP-RF-MIB
# Produced by pysmi-0.3.4 at Wed May 1 12:06:16 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)
#
OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ValueRangeConstraint, ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection")
CLApIfType, = mibBuilder.importSymbols("CISCO-LWAPP-TC-MIB", "CLApIfType")
cLAPGroupName, = mibBuilder.importSymbols("CISCO-LWAPP-WLAN-MIB", "cLAPGroupName")
ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup")
NotificationType, TimeTicks, iso, Integer32, ModuleIdentity, Gauge32, Unsigned32, ObjectIdentity, Counter64, Bits, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "TimeTicks", "iso", "Integer32", "ModuleIdentity", "Gauge32", "Unsigned32", "ObjectIdentity", "Counter64", "Bits", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "Counter32")
StorageType, DisplayString, TextualConvention, RowStatus, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "StorageType", "DisplayString", "TextualConvention", "RowStatus", "TruthValue")
ciscoLwappRFMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 778))
ciscoLwappRFMIB.setRevisions(('2012-04-27 00:00', '2012-01-27 00:00', '2011-11-01 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: ciscoLwappRFMIB.setRevisionsDescriptions(('Add 11n MCS rates support in profile, cLRFProfileMcsDataRateTable is added for this rate setting.', ' Below new objects have been added to the cLRFProfileTable cLRFProfileHighDensityMaxRadioClients cLRFProfileBandSelectProbeResponse cLRFProfileBandSelectCycleCount cLRFProfileBandSelectCycleThreshold cLRFProfileBandSelectExpireSuppression cLRFProfileBandSelectExpireDualBand cLRFProfileBandSelectClientRSSI cLRFProfileLoadBalancingWindowSize cLRFProfileLoadBalancingDenialCount cLRFProfileCHDDataRSSIThreshold cLRFProfileCHDVoiceRSSIThreshold cLRFProfileCHDClientExceptionLevel cLRFProfileCHDCoverageExceptionLevel cLRFProfileMulticastDataRate One new scalar object has been added cLRFProfileOutOfBoxAPConfig', 'Initial version of this MIB module.',))
if mibBuilder.loadTexts: ciscoLwappRFMIB.setLastUpdated('201111010000Z')
if mibBuilder.loadTexts: ciscoLwappRFMIB.setOrganization('Cisco Systems Inc.')
if mibBuilder.loadTexts: ciscoLwappRFMIB.setContactInfo('Cisco Systems, Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS Email: cs-wnbu-snmp@cisco.com')
if mibBuilder.loadTexts: ciscoLwappRFMIB.setDescription("This MIB is intended to be implemented on all those devices operating as Central Controllers (CC) that terminate the Light Weight Access Point Protocol tunnel from Cisco Light-weight LWAPP Access Points. This MIB helps to manage the Radio Frequency (RF) parameters on the controller. The relationship between CC and the LWAPP APs can be depicted as follows: +......+ +......+ +......+ +......+ + + + + + + + + + CC + + CC + + CC + + CC + + + + + + + + + +......+ +......+ +......+ +......+ .. . . . .. . . . . . . . . . . . . . . . . . . . . . . . +......+ +......+ +......+ +......+ +......+ + + + + + + + + + + + AP + + AP + + AP + + AP + + AP + + + + + + + + + + + +......+ +......+ +......+ +......+ +......+ . . . . . . . . . . . . . . . . . . . . . . . . +......+ +......+ +......+ +......+ +......+ + + + + + + + + + + + MN + + MN + + MN + + MN + + MN + + + + + + + + + + + +......+ +......+ +......+ +......+ +......+ The LWAPP tunnel exists between the controller and the APs. The MNs communicate with the APs through the protocol defined by the 802.11 standard. LWAPP APs, upon bootup, discover and join one of the controllers and the controller pushes the configuration, that includes the WLAN parameters, to the LWAPP APs. The APs then encapsulate all the 802.11 frames from wireless clients inside LWAPP frames and forward the LWAPP frames to the controller. GLOSSARY Access Point ( AP ) An entity that contains an 802.11 medium access control ( MAC ) and physical layer ( PHY ) interface and provides access to the distribution services via the wireless medium for associated clients. LWAPP APs encapsulate all the 802.11 frames in LWAPP frames and sends it to the controller to which it is logically connected to. Central Controller ( CC ) The central entity that terminates the LWAPP protocol tunnel from the LWAPP APs. Throughout this MIB, this entity also referred to as 'controller'. Light Weight Access Point Protocol ( LWAPP ) This is a generic protocol that defines the communication between the Access Points and the controllers. Mobile Node ( MN ) A roaming 802.11 wireless device in a wireless network associated with an access point. 802.1x The IEEE ratified standard for enforcing port based access control. This was originally intended for use on wired LANs and later extended for use in 802.11 WLAN environments. This defines an architecture with three main parts - a supplicant (Ex. an 802.11 wireless client), an authenticator (the AP) and an authentication server(a Radius server). The authenticator passes messages back and forth between the supplicant and the authentication server to enable the supplicant get authenticated to the network. Radio Frequency ( RF ) Radio frequency (RF) is a rate of oscillation in the range of about 3 kHz to 300 GHz, which corresponds to the frequency of radio waves, and the alternating currents which carry radio signals. Received Signal Strength Indicator ( RSSI ) A measure of the strength of the signal as observed by the entity that received it, expressed in 'dbm'. Coverage Hole Detection ( CHD ) If clients on an Access Point are detected at low RSSI levels, it is considered a coverage hole by the Access Points. This indicates the existence of an area where clients are continually getting poor signal coverage, without having a viable location to roam to. REFERENCE [1] Wireless LAN Medium Access Control ( MAC ) and Physical Layer ( PHY ) Specifications. [2] Draft-obara-capwap-lwapp-00.txt, IETF Light Weight Access Point Protocol [3] IEEE 802.11 - The original 1 Mbit/s and 2 Mbit/s, 2.4 GHz RF and IR standard.")
ciscoLwappRFMIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 0))
ciscoLwappRFMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1))
ciscoLwappRFMIBConform = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2))
ciscoLwappRFConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1))
ciscoLwappRFGlobalObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 2))
class CiscoLwappRFApDataRates(TextualConvention, Integer32):
description = "This field indicates the data rates supported by an AP 'disabled' The rate is not supported by the AP 'supported' The rate is supported by the AP 'mandatoryRate' The rate is required by the AP 'notApplicable' The rate is notApplicable."
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))
namedValues = NamedValues(("disabled", 0), ("supported", 1), ("mandatoryRate", 2), ("notApplicable", 3))
cLAPGroupsRFProfileTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1), )
if mibBuilder.loadTexts: cLAPGroupsRFProfileTable.setStatus('current')
if mibBuilder.loadTexts: cLAPGroupsRFProfileTable.setDescription('This table lists the mapping between an RF profile and an AP group.')
cLAPGroupsRFProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-LWAPP-WLAN-MIB", "cLAPGroupName"))
if mibBuilder.loadTexts: cLAPGroupsRFProfileEntry.setStatus('current')
if mibBuilder.loadTexts: cLAPGroupsRFProfileEntry.setDescription("An entry containing the configuration attributes that affect the operation of the APs within a group. Entries can be added/deleted by explicit management action from NMS/EMS through the 'bsnAPGroupsVlanRowStatus' object in bsnAPGroupsVlanTable as defined by the AIRESPACE-WIRELESS-MIB.")
cLAPGroups802dot11bgRFProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLAPGroups802dot11bgRFProfileName.setStatus('current')
if mibBuilder.loadTexts: cLAPGroups802dot11bgRFProfileName.setDescription("This object specifies the RF profile name assigned to this site on the 802.11bg radio. This profile being assigned should exist in the 'cLRFProfileTable'. To disassociate a profile with this site a string of zero length should be set.")
cLAPGroups802dot11aRFProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLAPGroups802dot11aRFProfileName.setStatus('current')
if mibBuilder.loadTexts: cLAPGroups802dot11aRFProfileName.setDescription("This object specifies the RF profile name assigned to this site on the 802.11a radio. This profile being assigned should exist in the 'cLRFProfileTable'. To disassociate a profile with this site a string of zero length should be set.")
cLRFProfileTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2), )
if mibBuilder.loadTexts: cLRFProfileTable.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileTable.setDescription('This table lists the configuration for each RF profile.')
cLRFProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1), ).setIndexNames((0, "CISCO-LWAPP-RF-MIB", "cLRFProfileName"))
if mibBuilder.loadTexts: cLRFProfileEntry.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileEntry.setDescription('An entry containing the configuration attributes that affect the operation of 802.11 RF domain. Entries can be added/deleted by explicit management action from NMS/EMS or through user console.')
cLRFProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 64)))
if mibBuilder.loadTexts: cLRFProfileName.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileName.setDescription('This object uniquely identifies a RF Profile.')
cLRFProfileDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDescr.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDescr.setDescription('This object specifies a human-readable description of the profile.')
cLRFProfileTransmitPowerMin = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-10, 30)).clone(-10)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileTransmitPowerMin.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileTransmitPowerMin.setDescription('This object specifies the lower bound of transmit power value supported by an AP.')
cLRFProfileTransmitPowerMax = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-10, 30)).clone(30)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileTransmitPowerMax.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileTransmitPowerMax.setDescription('This object specifies the uppoer bound of transmit power value supported by an AP.')
cLRFProfileTransmitPowerThresholdV1 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-80, -50)).clone(-70)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileTransmitPowerThresholdV1.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileTransmitPowerThresholdV1.setDescription('This object specifies the transmit power control version 1 threshold for the radio resource management algorithm.')
cLRFProfileTransmitPowerThresholdV2 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-80, -50)).clone(-67)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileTransmitPowerThresholdV2.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileTransmitPowerThresholdV2.setDescription('This object specifies the transmit power control version 2 threshold for the radio resource management algorithm.')
cLRFProfileDataRate1Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 7), CiscoLwappRFApDataRates().clone('mandatoryRate')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate1Mbps.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDataRate1Mbps.setDescription('This object specifies the configuration for this data rate.')
cLRFProfileDataRate2Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 8), CiscoLwappRFApDataRates().clone('mandatoryRate')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate2Mbps.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDataRate2Mbps.setDescription('This object specifies the configuration for this data rate.')
cLRFProfileDataRate5AndHalfMbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 9), CiscoLwappRFApDataRates().clone('mandatoryRate')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate5AndHalfMbps.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDataRate5AndHalfMbps.setDescription('This object specifies the configuration for this data rate.')
cLRFProfileDataRate11Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 10), CiscoLwappRFApDataRates().clone('mandatoryRate')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate11Mbps.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDataRate11Mbps.setDescription('This object specifies the configuration for this data rate.')
cLRFProfileDataRate6Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 11), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate6Mbps.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDataRate6Mbps.setDescription('This object specifies the configuration for this data rate.')
cLRFProfileDataRate9Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 12), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate9Mbps.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDataRate9Mbps.setDescription('This object specifies the configuration for this data rate.')
cLRFProfileDataRate12Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 13), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate12Mbps.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDataRate12Mbps.setDescription('This object specifies the configuration for this data rate.')
cLRFProfileDataRate18Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 14), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate18Mbps.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDataRate18Mbps.setDescription('This object specifies the configuration for this data rate.')
cLRFProfileDataRate24Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 15), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate24Mbps.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDataRate24Mbps.setDescription('This object specifies the configuration for this data rate.')
cLRFProfileDataRate36Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 16), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate36Mbps.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDataRate36Mbps.setDescription('This object specifies the configuration for this data rate.')
cLRFProfileDataRate48Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 17), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate48Mbps.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDataRate48Mbps.setDescription('This object specifies the configuration for this data rate.')
cLRFProfileDataRate54Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 18), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate54Mbps.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDataRate54Mbps.setDescription('This object specifies the configuration for this data rate.')
cLRFProfileRadioType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 19), CLApIfType()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileRadioType.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileRadioType.setDescription('This object is used to configure the radio type for this profile.')
cLRFProfileStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 20), StorageType().clone('nonVolatile')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileStorageType.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileStorageType.setDescription('This object represents the storage type for this conceptual row.')
cLRFProfileRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 21), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileRowStatus.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileRowStatus.setDescription('This is the status column for this row and used to create and delete specific instances of rows in this table.')
cLRFProfileHighDensityMaxRadioClients = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 22), Unsigned32().clone(200)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileHighDensityMaxRadioClients.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileHighDensityMaxRadioClients.setDescription('This object specifies the maximum number of clients per AP radio.')
cLRFProfileBandSelectProbeResponse = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 23), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileBandSelectProbeResponse.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileBandSelectProbeResponse.setDescription("This object specifies the AP's probe response with clients to verify whether client can associate on both 2.4 GHz and 5Ghz spectrum. When set to true, AP suppresses probe response to new clients for all SSIDs that are not being Band Select disabled.")
cLRFProfileBandSelectCycleCount = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 24), Unsigned32().clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileBandSelectCycleCount.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileBandSelectCycleCount.setDescription('This object specifies the maximum number of cycles not responding.')
cLRFProfileBandSelectCycleThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 25), Unsigned32().clone(200)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileBandSelectCycleThreshold.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileBandSelectCycleThreshold.setDescription('This object specifies the cycle threshold for band select.')
cLRFProfileBandSelectExpireSuppression = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 26), Unsigned32().clone(20)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileBandSelectExpireSuppression.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileBandSelectExpireSuppression.setDescription('This object specifies the expire of suppression.')
cLRFProfileBandSelectExpireDualBand = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 27), Unsigned32().clone(60)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileBandSelectExpireDualBand.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileBandSelectExpireDualBand.setDescription('This object specifies the expire of dual band.')
cLRFProfileBandSelectClientRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 28), Integer32().clone(-80)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileBandSelectClientRSSI.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileBandSelectClientRSSI.setDescription('This object specifies the minimum dBM of a client RSSI to respond to probe.')
cLRFProfileLoadBalancingWindowSize = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 29), Unsigned32().clone(5)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileLoadBalancingWindowSize.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileLoadBalancingWindowSize.setDescription('This object specifies the number of clients associated between APs.')
cLRFProfileLoadBalancingDenialCount = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 30), Unsigned32().clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileLoadBalancingDenialCount.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileLoadBalancingDenialCount.setDescription('This object specifies number of clients denial with respect to AP.')
cLRFProfileCHDDataRSSIThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 31), Integer32().clone(-80)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileCHDDataRSSIThreshold.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileCHDDataRSSIThreshold.setDescription('This object specifies the RSSI threshold value for data packets.')
cLRFProfileCHDVoiceRSSIThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 32), Integer32().clone(-80)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileCHDVoiceRSSIThreshold.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileCHDVoiceRSSIThreshold.setDescription('This object specifies RSSI threshold value for voice packets.')
cLRFProfileCHDClientExceptionLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 33), Unsigned32().clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileCHDClientExceptionLevel.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileCHDClientExceptionLevel.setDescription('This object specifies the client minimum exception level.')
cLRFProfileCHDCoverageExceptionLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 34), Unsigned32().clone(25)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileCHDCoverageExceptionLevel.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileCHDCoverageExceptionLevel.setDescription('This object specifies the coverage exception level.')
cLRFProfileMulticastDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 35), Unsigned32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileMulticastDataRate.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileMulticastDataRate.setDescription('This object specifies the minimum multicast data rate. A value 0 indicates that AP will automatically adjust data rates.')
cLRFProfile11nOnly = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 36), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfile11nOnly.setStatus('current')
if mibBuilder.loadTexts: cLRFProfile11nOnly.setDescription('This object specifies if 11n-client-only mode is enabled.')
cLRFProfileHDClientTrapThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 37), Unsigned32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileHDClientTrapThreshold.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileHDClientTrapThreshold.setDescription('This object specifies the threshold number of clients per AP radio to trigger a trap. The trap ciscoLwappApClientThresholdNotify will be triggered once the count of clients on the AP radio reaches this limit. A value of zero indicates that the trap is disabled.')
cLRFProfileInterferenceThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 38), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileInterferenceThreshold.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileInterferenceThreshold.setDescription('This object specifies the threshold number of interference between 0 and 100 percent.')
cLRFProfileNoiseThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 39), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-127, 0))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileNoiseThreshold.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileNoiseThreshold.setDescription('This object specifies the threshold number of noise threshold between -127 and 0 dBm.')
cLRFProfileUtilizationThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 40), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileUtilizationThreshold.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileUtilizationThreshold.setDescription('This object specifies the threshold number of utlization threshold between 0 and 100 percent.')
cLRFProfileDCAForeignContribution = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 41), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileDCAForeignContribution.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDCAForeignContribution.setDescription('This object specifies whether foreign interference is taken into account for the DCA metrics.')
cLRFProfileDCAChannelWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("min", 1), ("medium", 2), ("max", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileDCAChannelWidth.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDCAChannelWidth.setDescription('This object specifies how the system performs DCA channel width selection for the RFProfile min - Min channel width(20Mhz) the radio supports medium - Medium channel width(40Mhz) supported by this radio. max - Max channel width(80Mhz) supported by this radio.')
cLRFProfileDCAChannelList = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 43), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileDCAChannelList.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileDCAChannelList.setDescription('This object specifies the 802.11 channels available to the RF Profile. A comma separated list of integers.')
cLRFProfileRxSopThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 44), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("auto", 0), ("low", 1), ("medium", 2), ("high", 3))).clone('auto')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileRxSopThreshold.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileRxSopThreshold.setDescription('Configures the receiver start of packet threshold for the rf profile.')
cLRFProfileOutOfBoxAPConfig = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 2, 1), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileOutOfBoxAPConfig.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileOutOfBoxAPConfig.setDescription('This object specifies the out of box AP group.')
cLRFProfileMcsDataRateTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3), )
if mibBuilder.loadTexts: cLRFProfileMcsDataRateTable.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileMcsDataRateTable.setDescription('This object specifies the 11n MCS rates supported by the RF profile, indexed by the MCS rate, ranging from 1 to 24, corresponding to rate MCS-0, MCS-1, ... MCS-23.')
cLRFProfileMcsDataRateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1), ).setIndexNames((0, "CISCO-LWAPP-RF-MIB", "cLRFProfileMcsName"), (0, "CISCO-LWAPP-RF-MIB", "cLRFProfileMcsRate"))
if mibBuilder.loadTexts: cLRFProfileMcsDataRateEntry.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileMcsDataRateEntry.setDescription('An entry containing MCS date rate information applicable to a particular profile.')
cLRFProfileMcsName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 64)))
if mibBuilder.loadTexts: cLRFProfileMcsName.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileMcsName.setDescription('This object uniquely identifies a RF Profile.')
cLRFProfileMcsRate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 2), Unsigned32())
if mibBuilder.loadTexts: cLRFProfileMcsRate.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileMcsRate.setDescription('This object uniquely identifies the MCS data rate for a particular profile.')
cLRFProfileMcsRateSupport = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 3), TruthValue().clone('true')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileMcsRateSupport.setStatus('current')
if mibBuilder.loadTexts: cLRFProfileMcsRateSupport.setDescription("This object is used to enable or disable the data rate. When this object is set to 'true' the MCS support is enabled. When this object is set to 'false' the MCS support is disabled..")
ciscoLwappRFMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1))
ciscoLwappRFMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2))
ciscoLwappRFMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 1)).setObjects(("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFMIBCompliance = ciscoLwappRFMIBCompliance.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoLwappRFMIBCompliance.setDescription('The compliance statement for the SNMP entities that implement the ciscoLwappRFMIB module. This compliance is deprecated and replaced by ciscoLwappRFMIBComplianceVer1 .')
ciscoLwappRFMIBComplianceVer1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 2)).setObjects(("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup1"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFGlobalConfigGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFMIBComplianceVer1 = ciscoLwappRFMIBComplianceVer1.setStatus('current')
if mibBuilder.loadTexts: ciscoLwappRFMIBComplianceVer1.setDescription('The compliance statement for the SNMP entities that implement the ciscoLwappRFMIB module.')
ciscoLwappRFMIBComplianceVer2 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 3)).setObjects(("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup1"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFGlobalConfigGroup"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup2"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup3"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFMIBComplianceVer2 = ciscoLwappRFMIBComplianceVer2.setStatus('current')
if mibBuilder.loadTexts: ciscoLwappRFMIBComplianceVer2.setDescription('The compliance statement for the SNMP entities that implement the ciscoLwappRFMIB module. Added ciscoLwappRFConfigGroup2 to add object to raise trap when client count exceeds threshold and ciscoLwappRFConfigGroup3 to address DCA settings')
ciscoLwappRFConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 1)).setObjects(("CISCO-LWAPP-RF-MIB", "cLAPGroups802dot11bgRFProfileName"), ("CISCO-LWAPP-RF-MIB", "cLAPGroups802dot11aRFProfileName"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDescr"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerMin"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerMax"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerThresholdV1"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerThresholdV2"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate1Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate2Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate5AndHalfMbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate11Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate6Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate9Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate12Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate18Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate24Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate36Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate48Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate54Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileRadioType"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileStorageType"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileRowStatus"), ("CISCO-LWAPP-RF-MIB", "cLRFProfile11nOnly"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFConfigGroup = ciscoLwappRFConfigGroup.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoLwappRFConfigGroup.setDescription('This collection of objects specifies the configuration of RF parameters on the controller to be passed to an LWAPP AP.This config group ciscoLwappRFConfigGroup is deprecated and replaced by ciscoLwappRFConfigGroupVer1')
ciscoLwappRFConfigGroupVer1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 2)).setObjects(("CISCO-LWAPP-RF-MIB", "cLAPGroups802dot11bgRFProfileName"), ("CISCO-LWAPP-RF-MIB", "cLAPGroups802dot11aRFProfileName"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDescr"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerMin"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerMax"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerThresholdV1"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerThresholdV2"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate1Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate2Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate5AndHalfMbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate11Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate6Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate9Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate12Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate18Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate24Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate36Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate48Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate54Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileRadioType"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileStorageType"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileRowStatus"), ("CISCO-LWAPP-RF-MIB", "cLRFProfile11nOnly"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileMcsName"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileMcsRate"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileMcsRateSupport"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFConfigGroupVer1 = ciscoLwappRFConfigGroupVer1.setStatus('current')
if mibBuilder.loadTexts: ciscoLwappRFConfigGroupVer1.setDescription('This collection of objects specifies the configuration of RF parameters on the controller to be passed to an LWAPP AP.')
ciscoLwappRFConfigGroup1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 5)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileHighDensityMaxRadioClients"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectProbeResponse"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectCycleCount"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectCycleThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectExpireSuppression"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectExpireDualBand"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectClientRSSI"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileLoadBalancingWindowSize"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileLoadBalancingDenialCount"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileCHDDataRSSIThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileCHDVoiceRSSIThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileCHDClientExceptionLevel"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileCHDCoverageExceptionLevel"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileMulticastDataRate"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFConfigGroup1 = ciscoLwappRFConfigGroup1.setStatus('current')
if mibBuilder.loadTexts: ciscoLwappRFConfigGroup1.setDescription('This collection of objects specifies the configuration of RF parameters on the controller to be passed to an LWAPP AP.')
ciscoLwappRFGlobalConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 3)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileOutOfBoxAPConfig"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFGlobalConfigGroup = ciscoLwappRFGlobalConfigGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoLwappRFGlobalConfigGroup.setDescription('This is the RF global config parameter.')
ciscoLwappRFConfigGroup2 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 4)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileHDClientTrapThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileInterferenceThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileNoiseThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileUtilizationThreshold"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFConfigGroup2 = ciscoLwappRFConfigGroup2.setStatus('current')
if mibBuilder.loadTexts: ciscoLwappRFConfigGroup2.setDescription('This object specifies the configuration of Trap threshold to be configured on the interface of an LWAPP AP.')
ciscoLwappRFConfigGroup3 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 6)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileDCAForeignContribution"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDCAChannelWidth"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDCAChannelList"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFConfigGroup3 = ciscoLwappRFConfigGroup3.setStatus('current')
if mibBuilder.loadTexts: ciscoLwappRFConfigGroup3.setDescription('This object specifies the configuration DCA for RF Profiles.')
ciscoLwappRFConfigGroup4 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 7)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileRxSopThreshold"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFConfigGroup4 = ciscoLwappRFConfigGroup4.setStatus('current')
if mibBuilder.loadTexts: ciscoLwappRFConfigGroup4.setDescription('This object specifies the receiver start of packet threshold for RF Profiles.')
mibBuilder.exportSymbols("CISCO-LWAPP-RF-MIB", cLRFProfileOutOfBoxAPConfig=cLRFProfileOutOfBoxAPConfig, cLRFProfileDCAForeignContribution=cLRFProfileDCAForeignContribution, cLRFProfileDataRate11Mbps=cLRFProfileDataRate11Mbps, ciscoLwappRFGlobalObjects=ciscoLwappRFGlobalObjects, ciscoLwappRFMIB=ciscoLwappRFMIB, cLRFProfileBandSelectCycleCount=cLRFProfileBandSelectCycleCount, cLRFProfileRadioType=cLRFProfileRadioType, cLRFProfileRxSopThreshold=cLRFProfileRxSopThreshold, cLRFProfileMcsRateSupport=cLRFProfileMcsRateSupport, cLRFProfileDataRate2Mbps=cLRFProfileDataRate2Mbps, cLRFProfileRowStatus=cLRFProfileRowStatus, cLAPGroups802dot11bgRFProfileName=cLAPGroups802dot11bgRFProfileName, cLRFProfileBandSelectClientRSSI=cLRFProfileBandSelectClientRSSI, ciscoLwappRFMIBNotifs=ciscoLwappRFMIBNotifs, cLRFProfileHighDensityMaxRadioClients=cLRFProfileHighDensityMaxRadioClients, ciscoLwappRFConfigGroup4=ciscoLwappRFConfigGroup4, cLRFProfileDataRate12Mbps=cLRFProfileDataRate12Mbps, cLRFProfileDataRate1Mbps=cLRFProfileDataRate1Mbps, cLRFProfile11nOnly=cLRFProfile11nOnly, cLRFProfileNoiseThreshold=cLRFProfileNoiseThreshold, cLRFProfileTransmitPowerMin=cLRFProfileTransmitPowerMin, cLRFProfileStorageType=cLRFProfileStorageType, cLRFProfileDescr=cLRFProfileDescr, cLRFProfileCHDDataRSSIThreshold=cLRFProfileCHDDataRSSIThreshold, cLRFProfileCHDClientExceptionLevel=cLRFProfileCHDClientExceptionLevel, cLRFProfileBandSelectCycleThreshold=cLRFProfileBandSelectCycleThreshold, cLRFProfileMcsDataRateEntry=cLRFProfileMcsDataRateEntry, ciscoLwappRFMIBObjects=ciscoLwappRFMIBObjects, cLRFProfileDataRate9Mbps=cLRFProfileDataRate9Mbps, ciscoLwappRFConfig=ciscoLwappRFConfig, cLRFProfileInterferenceThreshold=cLRFProfileInterferenceThreshold, ciscoLwappRFMIBComplianceVer2=ciscoLwappRFMIBComplianceVer2, cLRFProfileCHDCoverageExceptionLevel=cLRFProfileCHDCoverageExceptionLevel, ciscoLwappRFConfigGroupVer1=ciscoLwappRFConfigGroupVer1, cLRFProfileDataRate5AndHalfMbps=cLRFProfileDataRate5AndHalfMbps, ciscoLwappRFConfigGroup3=ciscoLwappRFConfigGroup3, cLRFProfileTransmitPowerThresholdV2=cLRFProfileTransmitPowerThresholdV2, cLRFProfileDCAChannelList=cLRFProfileDCAChannelList, cLRFProfileTransmitPowerThresholdV1=cLRFProfileTransmitPowerThresholdV1, cLRFProfileDataRate6Mbps=cLRFProfileDataRate6Mbps, cLRFProfileDataRate36Mbps=cLRFProfileDataRate36Mbps, cLRFProfileTransmitPowerMax=cLRFProfileTransmitPowerMax, cLRFProfileDataRate48Mbps=cLRFProfileDataRate48Mbps, cLRFProfileBandSelectExpireDualBand=cLRFProfileBandSelectExpireDualBand, ciscoLwappRFMIBComplianceVer1=ciscoLwappRFMIBComplianceVer1, CiscoLwappRFApDataRates=CiscoLwappRFApDataRates, cLRFProfileBandSelectExpireSuppression=cLRFProfileBandSelectExpireSuppression, cLRFProfileHDClientTrapThreshold=cLRFProfileHDClientTrapThreshold, cLAPGroups802dot11aRFProfileName=cLAPGroups802dot11aRFProfileName, cLAPGroupsRFProfileTable=cLAPGroupsRFProfileTable, cLRFProfileName=cLRFProfileName, cLRFProfileDataRate18Mbps=cLRFProfileDataRate18Mbps, ciscoLwappRFMIBCompliances=ciscoLwappRFMIBCompliances, ciscoLwappRFConfigGroup=ciscoLwappRFConfigGroup, cLRFProfileMcsRate=cLRFProfileMcsRate, cLRFProfileEntry=cLRFProfileEntry, ciscoLwappRFMIBCompliance=ciscoLwappRFMIBCompliance, cLRFProfileDataRate24Mbps=cLRFProfileDataRate24Mbps, cLRFProfileMulticastDataRate=cLRFProfileMulticastDataRate, PYSNMP_MODULE_ID=ciscoLwappRFMIB, cLRFProfileUtilizationThreshold=cLRFProfileUtilizationThreshold, ciscoLwappRFMIBConform=ciscoLwappRFMIBConform, cLAPGroupsRFProfileEntry=cLAPGroupsRFProfileEntry, cLRFProfileTable=cLRFProfileTable, cLRFProfileDataRate54Mbps=cLRFProfileDataRate54Mbps, ciscoLwappRFMIBGroups=ciscoLwappRFMIBGroups, cLRFProfileDCAChannelWidth=cLRFProfileDCAChannelWidth, cLRFProfileMcsName=cLRFProfileMcsName, cLRFProfileLoadBalancingWindowSize=cLRFProfileLoadBalancingWindowSize, cLRFProfileMcsDataRateTable=cLRFProfileMcsDataRateTable, ciscoLwappRFGlobalConfigGroup=ciscoLwappRFGlobalConfigGroup, ciscoLwappRFConfigGroup1=ciscoLwappRFConfigGroup1, ciscoLwappRFConfigGroup2=ciscoLwappRFConfigGroup2, cLRFProfileBandSelectProbeResponse=cLRFProfileBandSelectProbeResponse, cLRFProfileLoadBalancingDenialCount=cLRFProfileLoadBalancingDenialCount, cLRFProfileCHDVoiceRSSIThreshold=cLRFProfileCHDVoiceRSSIThreshold)
| (octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, value_range_constraint, value_size_constraint, single_value_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueRangeConstraint', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection')
(cl_ap_if_type,) = mibBuilder.importSymbols('CISCO-LWAPP-TC-MIB', 'CLApIfType')
(c_lap_group_name,) = mibBuilder.importSymbols('CISCO-LWAPP-WLAN-MIB', 'cLAPGroupName')
(cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup')
(notification_type, time_ticks, iso, integer32, module_identity, gauge32, unsigned32, object_identity, counter64, bits, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'TimeTicks', 'iso', 'Integer32', 'ModuleIdentity', 'Gauge32', 'Unsigned32', 'ObjectIdentity', 'Counter64', 'Bits', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier', 'Counter32')
(storage_type, display_string, textual_convention, row_status, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'StorageType', 'DisplayString', 'TextualConvention', 'RowStatus', 'TruthValue')
cisco_lwapp_rfmib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 778))
ciscoLwappRFMIB.setRevisions(('2012-04-27 00:00', '2012-01-27 00:00', '2011-11-01 00:00'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
ciscoLwappRFMIB.setRevisionsDescriptions(('Add 11n MCS rates support in profile, cLRFProfileMcsDataRateTable is added for this rate setting.', ' Below new objects have been added to the cLRFProfileTable cLRFProfileHighDensityMaxRadioClients cLRFProfileBandSelectProbeResponse cLRFProfileBandSelectCycleCount cLRFProfileBandSelectCycleThreshold cLRFProfileBandSelectExpireSuppression cLRFProfileBandSelectExpireDualBand cLRFProfileBandSelectClientRSSI cLRFProfileLoadBalancingWindowSize cLRFProfileLoadBalancingDenialCount cLRFProfileCHDDataRSSIThreshold cLRFProfileCHDVoiceRSSIThreshold cLRFProfileCHDClientExceptionLevel cLRFProfileCHDCoverageExceptionLevel cLRFProfileMulticastDataRate One new scalar object has been added cLRFProfileOutOfBoxAPConfig', 'Initial version of this MIB module.'))
if mibBuilder.loadTexts:
ciscoLwappRFMIB.setLastUpdated('201111010000Z')
if mibBuilder.loadTexts:
ciscoLwappRFMIB.setOrganization('Cisco Systems Inc.')
if mibBuilder.loadTexts:
ciscoLwappRFMIB.setContactInfo('Cisco Systems, Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS Email: cs-wnbu-snmp@cisco.com')
if mibBuilder.loadTexts:
ciscoLwappRFMIB.setDescription("This MIB is intended to be implemented on all those devices operating as Central Controllers (CC) that terminate the Light Weight Access Point Protocol tunnel from Cisco Light-weight LWAPP Access Points. This MIB helps to manage the Radio Frequency (RF) parameters on the controller. The relationship between CC and the LWAPP APs can be depicted as follows: +......+ +......+ +......+ +......+ + + + + + + + + + CC + + CC + + CC + + CC + + + + + + + + + +......+ +......+ +......+ +......+ .. . . . .. . . . . . . . . . . . . . . . . . . . . . . . +......+ +......+ +......+ +......+ +......+ + + + + + + + + + + + AP + + AP + + AP + + AP + + AP + + + + + + + + + + + +......+ +......+ +......+ +......+ +......+ . . . . . . . . . . . . . . . . . . . . . . . . +......+ +......+ +......+ +......+ +......+ + + + + + + + + + + + MN + + MN + + MN + + MN + + MN + + + + + + + + + + + +......+ +......+ +......+ +......+ +......+ The LWAPP tunnel exists between the controller and the APs. The MNs communicate with the APs through the protocol defined by the 802.11 standard. LWAPP APs, upon bootup, discover and join one of the controllers and the controller pushes the configuration, that includes the WLAN parameters, to the LWAPP APs. The APs then encapsulate all the 802.11 frames from wireless clients inside LWAPP frames and forward the LWAPP frames to the controller. GLOSSARY Access Point ( AP ) An entity that contains an 802.11 medium access control ( MAC ) and physical layer ( PHY ) interface and provides access to the distribution services via the wireless medium for associated clients. LWAPP APs encapsulate all the 802.11 frames in LWAPP frames and sends it to the controller to which it is logically connected to. Central Controller ( CC ) The central entity that terminates the LWAPP protocol tunnel from the LWAPP APs. Throughout this MIB, this entity also referred to as 'controller'. Light Weight Access Point Protocol ( LWAPP ) This is a generic protocol that defines the communication between the Access Points and the controllers. Mobile Node ( MN ) A roaming 802.11 wireless device in a wireless network associated with an access point. 802.1x The IEEE ratified standard for enforcing port based access control. This was originally intended for use on wired LANs and later extended for use in 802.11 WLAN environments. This defines an architecture with three main parts - a supplicant (Ex. an 802.11 wireless client), an authenticator (the AP) and an authentication server(a Radius server). The authenticator passes messages back and forth between the supplicant and the authentication server to enable the supplicant get authenticated to the network. Radio Frequency ( RF ) Radio frequency (RF) is a rate of oscillation in the range of about 3 kHz to 300 GHz, which corresponds to the frequency of radio waves, and the alternating currents which carry radio signals. Received Signal Strength Indicator ( RSSI ) A measure of the strength of the signal as observed by the entity that received it, expressed in 'dbm'. Coverage Hole Detection ( CHD ) If clients on an Access Point are detected at low RSSI levels, it is considered a coverage hole by the Access Points. This indicates the existence of an area where clients are continually getting poor signal coverage, without having a viable location to roam to. REFERENCE [1] Wireless LAN Medium Access Control ( MAC ) and Physical Layer ( PHY ) Specifications. [2] Draft-obara-capwap-lwapp-00.txt, IETF Light Weight Access Point Protocol [3] IEEE 802.11 - The original 1 Mbit/s and 2 Mbit/s, 2.4 GHz RF and IR standard.")
cisco_lwapp_rfmib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 0))
cisco_lwapp_rfmib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1))
cisco_lwapp_rfmib_conform = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2))
cisco_lwapp_rf_config = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1))
cisco_lwapp_rf_global_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 2))
class Ciscolwapprfapdatarates(TextualConvention, Integer32):
description = "This field indicates the data rates supported by an AP 'disabled' The rate is not supported by the AP 'supported' The rate is supported by the AP 'mandatoryRate' The rate is required by the AP 'notApplicable' The rate is notApplicable."
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3))
named_values = named_values(('disabled', 0), ('supported', 1), ('mandatoryRate', 2), ('notApplicable', 3))
c_lap_groups_rf_profile_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1))
if mibBuilder.loadTexts:
cLAPGroupsRFProfileTable.setStatus('current')
if mibBuilder.loadTexts:
cLAPGroupsRFProfileTable.setDescription('This table lists the mapping between an RF profile and an AP group.')
c_lap_groups_rf_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-LWAPP-WLAN-MIB', 'cLAPGroupName'))
if mibBuilder.loadTexts:
cLAPGroupsRFProfileEntry.setStatus('current')
if mibBuilder.loadTexts:
cLAPGroupsRFProfileEntry.setDescription("An entry containing the configuration attributes that affect the operation of the APs within a group. Entries can be added/deleted by explicit management action from NMS/EMS through the 'bsnAPGroupsVlanRowStatus' object in bsnAPGroupsVlanTable as defined by the AIRESPACE-WIRELESS-MIB.")
c_lap_groups802dot11bg_rf_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLAPGroups802dot11bgRFProfileName.setStatus('current')
if mibBuilder.loadTexts:
cLAPGroups802dot11bgRFProfileName.setDescription("This object specifies the RF profile name assigned to this site on the 802.11bg radio. This profile being assigned should exist in the 'cLRFProfileTable'. To disassociate a profile with this site a string of zero length should be set.")
c_lap_groups802dot11a_rf_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLAPGroups802dot11aRFProfileName.setStatus('current')
if mibBuilder.loadTexts:
cLAPGroups802dot11aRFProfileName.setDescription("This object specifies the RF profile name assigned to this site on the 802.11a radio. This profile being assigned should exist in the 'cLRFProfileTable'. To disassociate a profile with this site a string of zero length should be set.")
c_lrf_profile_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2))
if mibBuilder.loadTexts:
cLRFProfileTable.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileTable.setDescription('This table lists the configuration for each RF profile.')
c_lrf_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1)).setIndexNames((0, 'CISCO-LWAPP-RF-MIB', 'cLRFProfileName'))
if mibBuilder.loadTexts:
cLRFProfileEntry.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileEntry.setDescription('An entry containing the configuration attributes that affect the operation of 802.11 RF domain. Entries can be added/deleted by explicit management action from NMS/EMS or through user console.')
c_lrf_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 64)))
if mibBuilder.loadTexts:
cLRFProfileName.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileName.setDescription('This object uniquely identifies a RF Profile.')
c_lrf_profile_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDescr.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDescr.setDescription('This object specifies a human-readable description of the profile.')
c_lrf_profile_transmit_power_min = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-10, 30)).clone(-10)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileTransmitPowerMin.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileTransmitPowerMin.setDescription('This object specifies the lower bound of transmit power value supported by an AP.')
c_lrf_profile_transmit_power_max = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(-10, 30)).clone(30)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileTransmitPowerMax.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileTransmitPowerMax.setDescription('This object specifies the uppoer bound of transmit power value supported by an AP.')
c_lrf_profile_transmit_power_threshold_v1 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(-80, -50)).clone(-70)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileTransmitPowerThresholdV1.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileTransmitPowerThresholdV1.setDescription('This object specifies the transmit power control version 1 threshold for the radio resource management algorithm.')
c_lrf_profile_transmit_power_threshold_v2 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(-80, -50)).clone(-67)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileTransmitPowerThresholdV2.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileTransmitPowerThresholdV2.setDescription('This object specifies the transmit power control version 2 threshold for the radio resource management algorithm.')
c_lrf_profile_data_rate1_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 7), cisco_lwapp_rf_ap_data_rates().clone('mandatoryRate')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate1Mbps.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDataRate1Mbps.setDescription('This object specifies the configuration for this data rate.')
c_lrf_profile_data_rate2_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 8), cisco_lwapp_rf_ap_data_rates().clone('mandatoryRate')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate2Mbps.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDataRate2Mbps.setDescription('This object specifies the configuration for this data rate.')
c_lrf_profile_data_rate5_and_half_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 9), cisco_lwapp_rf_ap_data_rates().clone('mandatoryRate')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate5AndHalfMbps.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDataRate5AndHalfMbps.setDescription('This object specifies the configuration for this data rate.')
c_lrf_profile_data_rate11_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 10), cisco_lwapp_rf_ap_data_rates().clone('mandatoryRate')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate11Mbps.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDataRate11Mbps.setDescription('This object specifies the configuration for this data rate.')
c_lrf_profile_data_rate6_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 11), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate6Mbps.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDataRate6Mbps.setDescription('This object specifies the configuration for this data rate.')
c_lrf_profile_data_rate9_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 12), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate9Mbps.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDataRate9Mbps.setDescription('This object specifies the configuration for this data rate.')
c_lrf_profile_data_rate12_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 13), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate12Mbps.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDataRate12Mbps.setDescription('This object specifies the configuration for this data rate.')
c_lrf_profile_data_rate18_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 14), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate18Mbps.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDataRate18Mbps.setDescription('This object specifies the configuration for this data rate.')
c_lrf_profile_data_rate24_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 15), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate24Mbps.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDataRate24Mbps.setDescription('This object specifies the configuration for this data rate.')
c_lrf_profile_data_rate36_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 16), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate36Mbps.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDataRate36Mbps.setDescription('This object specifies the configuration for this data rate.')
c_lrf_profile_data_rate48_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 17), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate48Mbps.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDataRate48Mbps.setDescription('This object specifies the configuration for this data rate.')
c_lrf_profile_data_rate54_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 18), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate54Mbps.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDataRate54Mbps.setDescription('This object specifies the configuration for this data rate.')
c_lrf_profile_radio_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 19), cl_ap_if_type()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileRadioType.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileRadioType.setDescription('This object is used to configure the radio type for this profile.')
c_lrf_profile_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 20), storage_type().clone('nonVolatile')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileStorageType.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileStorageType.setDescription('This object represents the storage type for this conceptual row.')
c_lrf_profile_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 21), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileRowStatus.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileRowStatus.setDescription('This is the status column for this row and used to create and delete specific instances of rows in this table.')
c_lrf_profile_high_density_max_radio_clients = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 22), unsigned32().clone(200)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileHighDensityMaxRadioClients.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileHighDensityMaxRadioClients.setDescription('This object specifies the maximum number of clients per AP radio.')
c_lrf_profile_band_select_probe_response = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 23), truth_value().clone('false')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileBandSelectProbeResponse.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileBandSelectProbeResponse.setDescription("This object specifies the AP's probe response with clients to verify whether client can associate on both 2.4 GHz and 5Ghz spectrum. When set to true, AP suppresses probe response to new clients for all SSIDs that are not being Band Select disabled.")
c_lrf_profile_band_select_cycle_count = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 24), unsigned32().clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileBandSelectCycleCount.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileBandSelectCycleCount.setDescription('This object specifies the maximum number of cycles not responding.')
c_lrf_profile_band_select_cycle_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 25), unsigned32().clone(200)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileBandSelectCycleThreshold.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileBandSelectCycleThreshold.setDescription('This object specifies the cycle threshold for band select.')
c_lrf_profile_band_select_expire_suppression = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 26), unsigned32().clone(20)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileBandSelectExpireSuppression.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileBandSelectExpireSuppression.setDescription('This object specifies the expire of suppression.')
c_lrf_profile_band_select_expire_dual_band = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 27), unsigned32().clone(60)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileBandSelectExpireDualBand.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileBandSelectExpireDualBand.setDescription('This object specifies the expire of dual band.')
c_lrf_profile_band_select_client_rssi = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 28), integer32().clone(-80)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileBandSelectClientRSSI.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileBandSelectClientRSSI.setDescription('This object specifies the minimum dBM of a client RSSI to respond to probe.')
c_lrf_profile_load_balancing_window_size = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 29), unsigned32().clone(5)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileLoadBalancingWindowSize.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileLoadBalancingWindowSize.setDescription('This object specifies the number of clients associated between APs.')
c_lrf_profile_load_balancing_denial_count = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 30), unsigned32().clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileLoadBalancingDenialCount.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileLoadBalancingDenialCount.setDescription('This object specifies number of clients denial with respect to AP.')
c_lrf_profile_chd_data_rssi_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 31), integer32().clone(-80)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileCHDDataRSSIThreshold.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileCHDDataRSSIThreshold.setDescription('This object specifies the RSSI threshold value for data packets.')
c_lrf_profile_chd_voice_rssi_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 32), integer32().clone(-80)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileCHDVoiceRSSIThreshold.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileCHDVoiceRSSIThreshold.setDescription('This object specifies RSSI threshold value for voice packets.')
c_lrf_profile_chd_client_exception_level = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 33), unsigned32().clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileCHDClientExceptionLevel.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileCHDClientExceptionLevel.setDescription('This object specifies the client minimum exception level.')
c_lrf_profile_chd_coverage_exception_level = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 34), unsigned32().clone(25)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileCHDCoverageExceptionLevel.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileCHDCoverageExceptionLevel.setDescription('This object specifies the coverage exception level.')
c_lrf_profile_multicast_data_rate = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 35), unsigned32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileMulticastDataRate.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileMulticastDataRate.setDescription('This object specifies the minimum multicast data rate. A value 0 indicates that AP will automatically adjust data rates.')
c_lrf_profile11n_only = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 36), truth_value().clone('false')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfile11nOnly.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfile11nOnly.setDescription('This object specifies if 11n-client-only mode is enabled.')
c_lrf_profile_hd_client_trap_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 37), unsigned32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileHDClientTrapThreshold.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileHDClientTrapThreshold.setDescription('This object specifies the threshold number of clients per AP radio to trigger a trap. The trap ciscoLwappApClientThresholdNotify will be triggered once the count of clients on the AP radio reaches this limit. A value of zero indicates that the trap is disabled.')
c_lrf_profile_interference_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 38), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileInterferenceThreshold.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileInterferenceThreshold.setDescription('This object specifies the threshold number of interference between 0 and 100 percent.')
c_lrf_profile_noise_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 39), integer32().subtype(subtypeSpec=value_range_constraint(-127, 0))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileNoiseThreshold.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileNoiseThreshold.setDescription('This object specifies the threshold number of noise threshold between -127 and 0 dBm.')
c_lrf_profile_utilization_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 40), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileUtilizationThreshold.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileUtilizationThreshold.setDescription('This object specifies the threshold number of utlization threshold between 0 and 100 percent.')
c_lrf_profile_dca_foreign_contribution = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 41), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileDCAForeignContribution.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDCAForeignContribution.setDescription('This object specifies whether foreign interference is taken into account for the DCA metrics.')
c_lrf_profile_dca_channel_width = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 42), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('min', 1), ('medium', 2), ('max', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileDCAChannelWidth.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDCAChannelWidth.setDescription('This object specifies how the system performs DCA channel width selection for the RFProfile min - Min channel width(20Mhz) the radio supports medium - Medium channel width(40Mhz) supported by this radio. max - Max channel width(80Mhz) supported by this radio.')
c_lrf_profile_dca_channel_list = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 43), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileDCAChannelList.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileDCAChannelList.setDescription('This object specifies the 802.11 channels available to the RF Profile. A comma separated list of integers.')
c_lrf_profile_rx_sop_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 44), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('auto', 0), ('low', 1), ('medium', 2), ('high', 3))).clone('auto')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileRxSopThreshold.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileRxSopThreshold.setDescription('Configures the receiver start of packet threshold for the rf profile.')
c_lrf_profile_out_of_box_ap_config = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 2, 1), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileOutOfBoxAPConfig.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileOutOfBoxAPConfig.setDescription('This object specifies the out of box AP group.')
c_lrf_profile_mcs_data_rate_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3))
if mibBuilder.loadTexts:
cLRFProfileMcsDataRateTable.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileMcsDataRateTable.setDescription('This object specifies the 11n MCS rates supported by the RF profile, indexed by the MCS rate, ranging from 1 to 24, corresponding to rate MCS-0, MCS-1, ... MCS-23.')
c_lrf_profile_mcs_data_rate_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1)).setIndexNames((0, 'CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsName'), (0, 'CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsRate'))
if mibBuilder.loadTexts:
cLRFProfileMcsDataRateEntry.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileMcsDataRateEntry.setDescription('An entry containing MCS date rate information applicable to a particular profile.')
c_lrf_profile_mcs_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 64)))
if mibBuilder.loadTexts:
cLRFProfileMcsName.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileMcsName.setDescription('This object uniquely identifies a RF Profile.')
c_lrf_profile_mcs_rate = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 2), unsigned32())
if mibBuilder.loadTexts:
cLRFProfileMcsRate.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileMcsRate.setDescription('This object uniquely identifies the MCS data rate for a particular profile.')
c_lrf_profile_mcs_rate_support = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 3), truth_value().clone('true')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileMcsRateSupport.setStatus('current')
if mibBuilder.loadTexts:
cLRFProfileMcsRateSupport.setDescription("This object is used to enable or disable the data rate. When this object is set to 'true' the MCS support is enabled. When this object is set to 'false' the MCS support is disabled..")
cisco_lwapp_rfmib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1))
cisco_lwapp_rfmib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2))
cisco_lwapp_rfmib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 1)).setObjects(('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rfmib_compliance = ciscoLwappRFMIBCompliance.setStatus('deprecated')
if mibBuilder.loadTexts:
ciscoLwappRFMIBCompliance.setDescription('The compliance statement for the SNMP entities that implement the ciscoLwappRFMIB module. This compliance is deprecated and replaced by ciscoLwappRFMIBComplianceVer1 .')
cisco_lwapp_rfmib_compliance_ver1 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 2)).setObjects(('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup1'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFGlobalConfigGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rfmib_compliance_ver1 = ciscoLwappRFMIBComplianceVer1.setStatus('current')
if mibBuilder.loadTexts:
ciscoLwappRFMIBComplianceVer1.setDescription('The compliance statement for the SNMP entities that implement the ciscoLwappRFMIB module.')
cisco_lwapp_rfmib_compliance_ver2 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 3)).setObjects(('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup1'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFGlobalConfigGroup'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup2'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup3'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rfmib_compliance_ver2 = ciscoLwappRFMIBComplianceVer2.setStatus('current')
if mibBuilder.loadTexts:
ciscoLwappRFMIBComplianceVer2.setDescription('The compliance statement for the SNMP entities that implement the ciscoLwappRFMIB module. Added ciscoLwappRFConfigGroup2 to add object to raise trap when client count exceeds threshold and ciscoLwappRFConfigGroup3 to address DCA settings')
cisco_lwapp_rf_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 1)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLAPGroups802dot11bgRFProfileName'), ('CISCO-LWAPP-RF-MIB', 'cLAPGroups802dot11aRFProfileName'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDescr'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerMin'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerMax'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerThresholdV1'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerThresholdV2'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate1Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate2Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate5AndHalfMbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate11Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate6Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate9Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate12Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate18Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate24Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate36Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate48Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate54Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileRadioType'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileStorageType'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileRowStatus'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfile11nOnly'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_config_group = ciscoLwappRFConfigGroup.setStatus('deprecated')
if mibBuilder.loadTexts:
ciscoLwappRFConfigGroup.setDescription('This collection of objects specifies the configuration of RF parameters on the controller to be passed to an LWAPP AP.This config group ciscoLwappRFConfigGroup is deprecated and replaced by ciscoLwappRFConfigGroupVer1')
cisco_lwapp_rf_config_group_ver1 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 2)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLAPGroups802dot11bgRFProfileName'), ('CISCO-LWAPP-RF-MIB', 'cLAPGroups802dot11aRFProfileName'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDescr'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerMin'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerMax'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerThresholdV1'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerThresholdV2'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate1Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate2Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate5AndHalfMbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate11Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate6Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate9Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate12Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate18Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate24Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate36Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate48Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate54Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileRadioType'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileStorageType'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileRowStatus'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfile11nOnly'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsName'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsRate'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsRateSupport'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_config_group_ver1 = ciscoLwappRFConfigGroupVer1.setStatus('current')
if mibBuilder.loadTexts:
ciscoLwappRFConfigGroupVer1.setDescription('This collection of objects specifies the configuration of RF parameters on the controller to be passed to an LWAPP AP.')
cisco_lwapp_rf_config_group1 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 5)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileHighDensityMaxRadioClients'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectProbeResponse'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectCycleCount'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectCycleThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectExpireSuppression'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectExpireDualBand'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectClientRSSI'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileLoadBalancingWindowSize'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileLoadBalancingDenialCount'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileCHDDataRSSIThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileCHDVoiceRSSIThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileCHDClientExceptionLevel'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileCHDCoverageExceptionLevel'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileMulticastDataRate'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_config_group1 = ciscoLwappRFConfigGroup1.setStatus('current')
if mibBuilder.loadTexts:
ciscoLwappRFConfigGroup1.setDescription('This collection of objects specifies the configuration of RF parameters on the controller to be passed to an LWAPP AP.')
cisco_lwapp_rf_global_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 3)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileOutOfBoxAPConfig'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_global_config_group = ciscoLwappRFGlobalConfigGroup.setStatus('current')
if mibBuilder.loadTexts:
ciscoLwappRFGlobalConfigGroup.setDescription('This is the RF global config parameter.')
cisco_lwapp_rf_config_group2 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 4)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileHDClientTrapThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileInterferenceThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileNoiseThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileUtilizationThreshold'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_config_group2 = ciscoLwappRFConfigGroup2.setStatus('current')
if mibBuilder.loadTexts:
ciscoLwappRFConfigGroup2.setDescription('This object specifies the configuration of Trap threshold to be configured on the interface of an LWAPP AP.')
cisco_lwapp_rf_config_group3 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 6)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileDCAForeignContribution'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDCAChannelWidth'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDCAChannelList'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_config_group3 = ciscoLwappRFConfigGroup3.setStatus('current')
if mibBuilder.loadTexts:
ciscoLwappRFConfigGroup3.setDescription('This object specifies the configuration DCA for RF Profiles.')
cisco_lwapp_rf_config_group4 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 7)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileRxSopThreshold'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_config_group4 = ciscoLwappRFConfigGroup4.setStatus('current')
if mibBuilder.loadTexts:
ciscoLwappRFConfigGroup4.setDescription('This object specifies the receiver start of packet threshold for RF Profiles.')
mibBuilder.exportSymbols('CISCO-LWAPP-RF-MIB', cLRFProfileOutOfBoxAPConfig=cLRFProfileOutOfBoxAPConfig, cLRFProfileDCAForeignContribution=cLRFProfileDCAForeignContribution, cLRFProfileDataRate11Mbps=cLRFProfileDataRate11Mbps, ciscoLwappRFGlobalObjects=ciscoLwappRFGlobalObjects, ciscoLwappRFMIB=ciscoLwappRFMIB, cLRFProfileBandSelectCycleCount=cLRFProfileBandSelectCycleCount, cLRFProfileRadioType=cLRFProfileRadioType, cLRFProfileRxSopThreshold=cLRFProfileRxSopThreshold, cLRFProfileMcsRateSupport=cLRFProfileMcsRateSupport, cLRFProfileDataRate2Mbps=cLRFProfileDataRate2Mbps, cLRFProfileRowStatus=cLRFProfileRowStatus, cLAPGroups802dot11bgRFProfileName=cLAPGroups802dot11bgRFProfileName, cLRFProfileBandSelectClientRSSI=cLRFProfileBandSelectClientRSSI, ciscoLwappRFMIBNotifs=ciscoLwappRFMIBNotifs, cLRFProfileHighDensityMaxRadioClients=cLRFProfileHighDensityMaxRadioClients, ciscoLwappRFConfigGroup4=ciscoLwappRFConfigGroup4, cLRFProfileDataRate12Mbps=cLRFProfileDataRate12Mbps, cLRFProfileDataRate1Mbps=cLRFProfileDataRate1Mbps, cLRFProfile11nOnly=cLRFProfile11nOnly, cLRFProfileNoiseThreshold=cLRFProfileNoiseThreshold, cLRFProfileTransmitPowerMin=cLRFProfileTransmitPowerMin, cLRFProfileStorageType=cLRFProfileStorageType, cLRFProfileDescr=cLRFProfileDescr, cLRFProfileCHDDataRSSIThreshold=cLRFProfileCHDDataRSSIThreshold, cLRFProfileCHDClientExceptionLevel=cLRFProfileCHDClientExceptionLevel, cLRFProfileBandSelectCycleThreshold=cLRFProfileBandSelectCycleThreshold, cLRFProfileMcsDataRateEntry=cLRFProfileMcsDataRateEntry, ciscoLwappRFMIBObjects=ciscoLwappRFMIBObjects, cLRFProfileDataRate9Mbps=cLRFProfileDataRate9Mbps, ciscoLwappRFConfig=ciscoLwappRFConfig, cLRFProfileInterferenceThreshold=cLRFProfileInterferenceThreshold, ciscoLwappRFMIBComplianceVer2=ciscoLwappRFMIBComplianceVer2, cLRFProfileCHDCoverageExceptionLevel=cLRFProfileCHDCoverageExceptionLevel, ciscoLwappRFConfigGroupVer1=ciscoLwappRFConfigGroupVer1, cLRFProfileDataRate5AndHalfMbps=cLRFProfileDataRate5AndHalfMbps, ciscoLwappRFConfigGroup3=ciscoLwappRFConfigGroup3, cLRFProfileTransmitPowerThresholdV2=cLRFProfileTransmitPowerThresholdV2, cLRFProfileDCAChannelList=cLRFProfileDCAChannelList, cLRFProfileTransmitPowerThresholdV1=cLRFProfileTransmitPowerThresholdV1, cLRFProfileDataRate6Mbps=cLRFProfileDataRate6Mbps, cLRFProfileDataRate36Mbps=cLRFProfileDataRate36Mbps, cLRFProfileTransmitPowerMax=cLRFProfileTransmitPowerMax, cLRFProfileDataRate48Mbps=cLRFProfileDataRate48Mbps, cLRFProfileBandSelectExpireDualBand=cLRFProfileBandSelectExpireDualBand, ciscoLwappRFMIBComplianceVer1=ciscoLwappRFMIBComplianceVer1, CiscoLwappRFApDataRates=CiscoLwappRFApDataRates, cLRFProfileBandSelectExpireSuppression=cLRFProfileBandSelectExpireSuppression, cLRFProfileHDClientTrapThreshold=cLRFProfileHDClientTrapThreshold, cLAPGroups802dot11aRFProfileName=cLAPGroups802dot11aRFProfileName, cLAPGroupsRFProfileTable=cLAPGroupsRFProfileTable, cLRFProfileName=cLRFProfileName, cLRFProfileDataRate18Mbps=cLRFProfileDataRate18Mbps, ciscoLwappRFMIBCompliances=ciscoLwappRFMIBCompliances, ciscoLwappRFConfigGroup=ciscoLwappRFConfigGroup, cLRFProfileMcsRate=cLRFProfileMcsRate, cLRFProfileEntry=cLRFProfileEntry, ciscoLwappRFMIBCompliance=ciscoLwappRFMIBCompliance, cLRFProfileDataRate24Mbps=cLRFProfileDataRate24Mbps, cLRFProfileMulticastDataRate=cLRFProfileMulticastDataRate, PYSNMP_MODULE_ID=ciscoLwappRFMIB, cLRFProfileUtilizationThreshold=cLRFProfileUtilizationThreshold, ciscoLwappRFMIBConform=ciscoLwappRFMIBConform, cLAPGroupsRFProfileEntry=cLAPGroupsRFProfileEntry, cLRFProfileTable=cLRFProfileTable, cLRFProfileDataRate54Mbps=cLRFProfileDataRate54Mbps, ciscoLwappRFMIBGroups=ciscoLwappRFMIBGroups, cLRFProfileDCAChannelWidth=cLRFProfileDCAChannelWidth, cLRFProfileMcsName=cLRFProfileMcsName, cLRFProfileLoadBalancingWindowSize=cLRFProfileLoadBalancingWindowSize, cLRFProfileMcsDataRateTable=cLRFProfileMcsDataRateTable, ciscoLwappRFGlobalConfigGroup=ciscoLwappRFGlobalConfigGroup, ciscoLwappRFConfigGroup1=ciscoLwappRFConfigGroup1, ciscoLwappRFConfigGroup2=ciscoLwappRFConfigGroup2, cLRFProfileBandSelectProbeResponse=cLRFProfileBandSelectProbeResponse, cLRFProfileLoadBalancingDenialCount=cLRFProfileLoadBalancingDenialCount, cLRFProfileCHDVoiceRSSIThreshold=cLRFProfileCHDVoiceRSSIThreshold) |
def bubble_sort(array):
for i in range(len(array)):
for j in range(len(array) - 1):
if array[j] > array[j + 1]:
array[j], array[j + 1] = array[j + 1], array[j]
| def bubble_sort(array):
for i in range(len(array)):
for j in range(len(array) - 1):
if array[j] > array[j + 1]:
(array[j], array[j + 1]) = (array[j + 1], array[j]) |
class FilePathSimilarityCalculator:
"""
This class handles file path similarity score calculating operations.
"""
@staticmethod
def path_separator(file_string):
return file_string.split("/")
def longest_common_prefix_similarity(self, file1, file2):
file1 = self.path_separator(file1)
file2 = self.path_separator(file2)
common_file_path = 0
min_length = min(len(file1), len(file2))
for i in range(min_length):
if file1[i] == file2[i]:
common_file_path += 1
else:
break
return common_file_path
def longest_common_suffix_similarity(self, file1, file2):
file1 = self.path_separator(file1)
file2 = self.path_separator(file2)
common_file_path = 0
rng = range(min(len(file1), len(file2)))
rng = reversed(rng)
for i in rng:
if file1[i] == file2[i]:
common_file_path += 1
else:
break
return common_file_path
def longest_common_sub_string_similarity(self, file1, file2):
file1 = self.path_separator(file1)
file2 = self.path_separator(file2)
common_file_path = 0
if len(set(file1) & set(file2)) > 0:
matrix = [[0 for x in range(len(file2) + 1)] for x in range(len(file1) + 1)]
for i in range(len(file1) + 1):
for j in range(len(file2) + 1):
if i == 0 or j == 0:
matrix[i][j] = 0
elif file1[i - 1] == file2[j - 1]:
matrix[i][j] = matrix[i - 1][j - 1] + 1
common_file_path = max(common_file_path, matrix[i][j])
else:
matrix[i][j] = 0
return common_file_path
def longest_common_sub_sequence_similarity(self, file1, file2):
file1 = self.path_separator(file1)
file2 = self.path_separator(file2)
common_file_path = 0
if len(set(file1) & set(file2)) > 0:
lst = [[0 for x in range(len(file2) + 1)] for x in range(len(file1) + 1)]
for i in range(len(file1) + 1):
for j in range(len(file2) + 1):
if i == 0 or j == 0:
lst[i][j] = 0
elif file1[i - 1] == file2[j - 1]:
lst[i][j] = lst[i - 1][j - 1] + 1
else:
lst[i][j] = max(lst[i - 1][j], lst[i][j - 1])
common_file_path = lst[len(file1)][len(file2)]
return common_file_path
@staticmethod
def add_file_path_similarity_ranking(data_frame):
data_frame["file_path_rank"] = data_frame["file_similarity"].rank(method='min', ascending=False)
| class Filepathsimilaritycalculator:
"""
This class handles file path similarity score calculating operations.
"""
@staticmethod
def path_separator(file_string):
return file_string.split('/')
def longest_common_prefix_similarity(self, file1, file2):
file1 = self.path_separator(file1)
file2 = self.path_separator(file2)
common_file_path = 0
min_length = min(len(file1), len(file2))
for i in range(min_length):
if file1[i] == file2[i]:
common_file_path += 1
else:
break
return common_file_path
def longest_common_suffix_similarity(self, file1, file2):
file1 = self.path_separator(file1)
file2 = self.path_separator(file2)
common_file_path = 0
rng = range(min(len(file1), len(file2)))
rng = reversed(rng)
for i in rng:
if file1[i] == file2[i]:
common_file_path += 1
else:
break
return common_file_path
def longest_common_sub_string_similarity(self, file1, file2):
file1 = self.path_separator(file1)
file2 = self.path_separator(file2)
common_file_path = 0
if len(set(file1) & set(file2)) > 0:
matrix = [[0 for x in range(len(file2) + 1)] for x in range(len(file1) + 1)]
for i in range(len(file1) + 1):
for j in range(len(file2) + 1):
if i == 0 or j == 0:
matrix[i][j] = 0
elif file1[i - 1] == file2[j - 1]:
matrix[i][j] = matrix[i - 1][j - 1] + 1
common_file_path = max(common_file_path, matrix[i][j])
else:
matrix[i][j] = 0
return common_file_path
def longest_common_sub_sequence_similarity(self, file1, file2):
file1 = self.path_separator(file1)
file2 = self.path_separator(file2)
common_file_path = 0
if len(set(file1) & set(file2)) > 0:
lst = [[0 for x in range(len(file2) + 1)] for x in range(len(file1) + 1)]
for i in range(len(file1) + 1):
for j in range(len(file2) + 1):
if i == 0 or j == 0:
lst[i][j] = 0
elif file1[i - 1] == file2[j - 1]:
lst[i][j] = lst[i - 1][j - 1] + 1
else:
lst[i][j] = max(lst[i - 1][j], lst[i][j - 1])
common_file_path = lst[len(file1)][len(file2)]
return common_file_path
@staticmethod
def add_file_path_similarity_ranking(data_frame):
data_frame['file_path_rank'] = data_frame['file_similarity'].rank(method='min', ascending=False) |
n=int(input())
if n<3:
print("NO")
else:
a=[]
b=[]
asum=0
bsum=0
for i in range(n,0,-1):
if asum<bsum:
asum+=i
a.append(i)
else:
bsum+=i
b.append(i)
if asum==bsum:
print("YES")
print(len(a))
print(' '.join(map(str,a)))
print(len(b))
print(' '.join(map(str,b)))
else:
print("NO") | n = int(input())
if n < 3:
print('NO')
else:
a = []
b = []
asum = 0
bsum = 0
for i in range(n, 0, -1):
if asum < bsum:
asum += i
a.append(i)
else:
bsum += i
b.append(i)
if asum == bsum:
print('YES')
print(len(a))
print(' '.join(map(str, a)))
print(len(b))
print(' '.join(map(str, b)))
else:
print('NO') |
DESCRIPTION = "sets a variable for the current module"
def autocomplete(shell, line, text, state):
# todo, here we can provide some defaults for bools/enums? i.e. True/False
if len(line.split(" ")) >= 3:
return None
env = shell.plugins[shell.state]
options = [x.name + " " for x in env.options.options if x.name.upper().startswith(text.upper()) and not x.hidden]
options += [x.alias + " " for x in env.options.options if x.alias.upper().startswith(text.upper()) and not x.hidden and x.alias]
try:
return options[state]
except:
return None
def help(shell):
pass
def execute(shell, cmd):
env = shell.plugins[shell.state]
splitted = cmd.split(" ")
if len(splitted) >= 2:
key = splitted[1].upper()
value = env.options.get(key)
if value != None:
# if it's >=3, we set the third argument
if len(splitted) >= 3:
value = " ".join(splitted[2:])
if not env.options.set(key, value):
shell.print_error("That value is invalid")
return
shell.print_good("%s => %s" % (key, value))
else:
shell.print_error("Option '%s' not found." % (key))
| description = 'sets a variable for the current module'
def autocomplete(shell, line, text, state):
if len(line.split(' ')) >= 3:
return None
env = shell.plugins[shell.state]
options = [x.name + ' ' for x in env.options.options if x.name.upper().startswith(text.upper()) and (not x.hidden)]
options += [x.alias + ' ' for x in env.options.options if x.alias.upper().startswith(text.upper()) and (not x.hidden) and x.alias]
try:
return options[state]
except:
return None
def help(shell):
pass
def execute(shell, cmd):
env = shell.plugins[shell.state]
splitted = cmd.split(' ')
if len(splitted) >= 2:
key = splitted[1].upper()
value = env.options.get(key)
if value != None:
if len(splitted) >= 3:
value = ' '.join(splitted[2:])
if not env.options.set(key, value):
shell.print_error('That value is invalid')
return
shell.print_good('%s => %s' % (key, value))
else:
shell.print_error("Option '%s' not found." % key) |
"""
RSA Private/Public Key Parameters
----------------------------------
KEY_BIT_SIZE: bit size of keys
e: exponent
"""
KEY_BIT_SIZE = 4000
e = int("""130499359017053281556458431345533123778363781651270565436082977439613579949
5471732291742574936464294335429130852137501781519767363426995264206489
9070346494524853207171672967384456879272614309142468488188894961980326
4210652869136872341373046618500443845129257644095534241153647067619323
000920769040063242820133""".replace(" ", "").replace("\n", ""))
"""
Diffie Hellman Public keys
----------------------------------
g: generator
p: prime
"""
g = int("""9677178152764243356585979556264224589944191744979699073371576738861236
5663820546922607619786124954900448084138704336019707101781113070799068
5744514558595068941725067952556006237862391064159647193542530329259333
4424851756939418426847120076462424229265080004033026690789716709345894
8676163784692008959171172634206184380581278989999081666391528267108503
9813609522242829719587993249808317734238106660385861768230295679126590
8390972444782203928717828427457583267560097495187522617809715033399571
0124142927808606451916188467080375525692807503004072582957175996256741
6958199028585508053574180142683126826804771118716296486230523760774389
7157494791542352379311268259974895147341335235499016003307513390038990
1582196141853936279863966997543171337135092681583084518153432642302837
0436056697857918994988629688023563560002153140124962200937852164145182
1610847931627295268929335901602846813690082539801509776517015975714046
5455848263618069464889478247144935435822126939965077545376582476552939
5288811662441509565199205733657279155210616750060391443188845224391244
5982465119470715706942563826139640100216780957119233780885476576542097
8318327126238727841787217270826207296485682133095572761510633060271315""".replace(" ", "").replace("\n", ""))
p = int("""2773513095749167337576358874942831569385761553923082020361322269992944
8489006798120232791463013505228500900024049333039459029366992215417394
0703109337560451078293297821188778260938274928421790028940882569457077
8270715497001472804773372159699487464437256876108641279314813575799288
0353560828726390302647822163531592190925834713707675874151479095828997
9709275760692869280803757520668776451222054720062078905947201506921948
2248258148634825249349597280042484353178956233483223727571140311838306
9497997993896536595853659564600179648675284862073335665278820295284039
2441154268228992660874384047813295938635270043470524847835602162062324
6182957756186469188241103927864116660349640671385022766484753851141361
3324705366794734356249759513986782234719409680441184269264165474240174
7019497972779105025866714266206768504640255640079527841905839126323963
3600041551667467165519541808705130094613958692430907777974227738480151
9284479867895217795687886082284763600753200413473134257852188910038101
0022934537091672256327978299054218233790927484338926431601990283936699
4034965244475466733634646851920984543901636177633543005383561910647171
8158178526713140623881625988429186051133467385983636059069118372099145
33050012879383""".replace(" ", "").replace("\n", ""))
| """
RSA Private/Public Key Parameters
----------------------------------
KEY_BIT_SIZE: bit size of keys
e: exponent
"""
key_bit_size = 4000
e = int('130499359017053281556458431345533123778363781651270565436082977439613579949\n 5471732291742574936464294335429130852137501781519767363426995264206489\n 9070346494524853207171672967384456879272614309142468488188894961980326\n 4210652869136872341373046618500443845129257644095534241153647067619323\n 000920769040063242820133'.replace(' ', '').replace('\n', ''))
'\n Diffie Hellman Public keys\n ----------------------------------\n g: generator\n p: prime\n'
g = int('9677178152764243356585979556264224589944191744979699073371576738861236\n 5663820546922607619786124954900448084138704336019707101781113070799068\n 5744514558595068941725067952556006237862391064159647193542530329259333\n 4424851756939418426847120076462424229265080004033026690789716709345894\n 8676163784692008959171172634206184380581278989999081666391528267108503\n 9813609522242829719587993249808317734238106660385861768230295679126590\n 8390972444782203928717828427457583267560097495187522617809715033399571\n 0124142927808606451916188467080375525692807503004072582957175996256741\n 6958199028585508053574180142683126826804771118716296486230523760774389\n 7157494791542352379311268259974895147341335235499016003307513390038990\n 1582196141853936279863966997543171337135092681583084518153432642302837\n 0436056697857918994988629688023563560002153140124962200937852164145182\n 1610847931627295268929335901602846813690082539801509776517015975714046\n 5455848263618069464889478247144935435822126939965077545376582476552939\n 5288811662441509565199205733657279155210616750060391443188845224391244\n 5982465119470715706942563826139640100216780957119233780885476576542097\n 8318327126238727841787217270826207296485682133095572761510633060271315'.replace(' ', '').replace('\n', ''))
p = int('2773513095749167337576358874942831569385761553923082020361322269992944\n 8489006798120232791463013505228500900024049333039459029366992215417394\n 0703109337560451078293297821188778260938274928421790028940882569457077\n 8270715497001472804773372159699487464437256876108641279314813575799288\n 0353560828726390302647822163531592190925834713707675874151479095828997\n 9709275760692869280803757520668776451222054720062078905947201506921948\n 2248258148634825249349597280042484353178956233483223727571140311838306\n 9497997993896536595853659564600179648675284862073335665278820295284039\n 2441154268228992660874384047813295938635270043470524847835602162062324\n 6182957756186469188241103927864116660349640671385022766484753851141361\n 3324705366794734356249759513986782234719409680441184269264165474240174\n 7019497972779105025866714266206768504640255640079527841905839126323963\n 3600041551667467165519541808705130094613958692430907777974227738480151\n 9284479867895217795687886082284763600753200413473134257852188910038101\n 0022934537091672256327978299054218233790927484338926431601990283936699\n 4034965244475466733634646851920984543901636177633543005383561910647171\n 8158178526713140623881625988429186051133467385983636059069118372099145\n 33050012879383'.replace(' ', '').replace('\n', '')) |
class When_we_have_a_test:
def when_things_happen(self):
pass
def it_should_do_this_test(self):
assert 1 == 1
def test_we_still_run_regular_pytest_scripts():
assert 2 == 2
| class When_We_Have_A_Test:
def when_things_happen(self):
pass
def it_should_do_this_test(self):
assert 1 == 1
def test_we_still_run_regular_pytest_scripts():
assert 2 == 2 |
######################## Errors ##########################
PAYLOAD_NOT_FOUND_ERROR = 'Payload can not be found.'
KEYWORD_NOT_FOUND_ERROR = "Keywords can to be empty."
TYPE_NOT_CORRECT_ERROR = 'Payload type is incorrect, please upload text.'
MODEL_NOT_FOUND_ERROR = 'The ML model not found. (default name: en_core_web_sm)'
DATA_MODEL_ERROR = 'Data model, text or source ML model has some problems, please check.' | payload_not_found_error = 'Payload can not be found.'
keyword_not_found_error = 'Keywords can to be empty.'
type_not_correct_error = 'Payload type is incorrect, please upload text.'
model_not_found_error = 'The ML model not found. (default name: en_core_web_sm)'
data_model_error = 'Data model, text or source ML model has some problems, please check.' |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
This is Webmention tools!
"""
__version__ = '0.4.1'
| """
This is Webmention tools!
"""
__version__ = '0.4.1' |
class Solution:
def findLengthOfLCIS(self, nums: List[int]) -> int:
if not nums:
return 0
dp = [1] * len(nums)
if len(nums) < 2:
return 1
result = 1
for i in range(1, len(nums)):
if nums[i] > nums[i - 1]:
dp[i] = dp[i - 1] + 1
result = max(result, dp[i])
return result | class Solution:
def find_length_of_lcis(self, nums: List[int]) -> int:
if not nums:
return 0
dp = [1] * len(nums)
if len(nums) < 2:
return 1
result = 1
for i in range(1, len(nums)):
if nums[i] > nums[i - 1]:
dp[i] = dp[i - 1] + 1
result = max(result, dp[i])
return result |
class Symbol:
key = '#'
author = '@'
goto = '>'
condition = '?'
action = '!'
comment = '%'
left = '{'
right = '}'
def prefixcount(string, prefix):
i = 0
while string[i] == prefix:
i += 1
return i
def extract(string, startsymbol, endsymbol):
if not startsymbol in string and endsymbol in string:
return ('', string)
start = string.find(startsymbol) + len(startsymbol)
end = -1
depth = 0
for i in range(start, len(string)):
s = string[i:]
if not depth and s.startswith(endsymbol):
end = i
break
depth += s.startswith(Symbol.left)
depth -= s.startswith(Symbol.right)
if end == -1:
return ('', string)
extraction = string[start:end]
return (extraction, string.replace(startsymbol + extraction + endsymbol, ''))
def extractattribute(string, symbol):
return extract(string, symbol + Symbol.left, Symbol.right)
def extractkey(string):
return extractattribute(string, Symbol.key)[0]
def isempty(string):
return string == '' or string.isspace()
class Line:
def __init__(self, key, text='', author='', goto='', choices=[], condition='', action='', comment=''):
self.key = key
self.text = text
self.author = author
self.goto = goto
self.choices = choices
self.condition = condition
self.action = action
self.comment = comment
def __repr__(self) -> str:
return self.author + ': ' + self.text
class Talk:
def __init__(self):
self.lines = {}
self.key = ''
@staticmethod
def fromString(talkString):
talk = Talk()
while '\\\n\t' in talkString:
talkString = talkString.replace('\\\n\t', '\\\n')
while '\\\n' in talkString:
talkString = talkString.replace('\\\n', '')
lines = [line for line in talkString.splitlines() if not isempty(line)]
for i, line in enumerate(lines):
if isempty(extractkey(line)):
lines[i] = line + Symbol.key + Symbol.left + Symbol.key + str(i) + Symbol.right
previousauthor = ''
for i, line in enumerate(lines):
choices = []
goto, text = extractattribute(line, Symbol.goto)
if isempty(goto):
tabs_i = prefixcount(line, '\t')
if tabs_i % 2 == 0:
tabs_min = tabs_i
for j in range(i + 1, len(lines)):
tabs_j = prefixcount(lines[j], '\t')
tabs_min = min(tabs_j, tabs_min)
if tabs_j <= tabs_min:
if choices:
break
if tabs_j % 2 == 0:
goto = extractkey(lines[j])
break
if tabs_j == tabs_i + 1:
choices.append(extractkey(lines[j]))
elif i + 1 < len(lines):
goto = extractkey(lines[i + 1])
key, text = extractattribute(text, Symbol.key)
author, text = extractattribute(text, Symbol.author)
condition, text = extractattribute(text, Symbol.condition)
action, text = extractattribute(text, Symbol.action)
comment, text = extractattribute(text, Symbol.comment)
talk.addLine(Line(
key,
text = text.strip(),
author = author if not isempty(author) else previousauthor,
goto = goto,
choices = choices,
condition = condition,
action = action,
comment = comment
))
if i == 0:
talk.key = key
previousauthor = author
return talk
def addLine(self, line: Line):
self.lines[line.key] = line
def talk(self):
string = ''
line = self.lines[self.key]
while isempty(line.text):
self.key = line.goto
line = self.lines[self.key]
string += str(line) + '\n'
choices = [l for l in self.lines.values() if l.key in line.choices]
if choices:
for i, choice in enumerate(choices):
string += str(i) + ' ' + str(choice) + '\n'
return string
def input(self, string):
line = self.lines[self.key]
choices = [l.key for l in self.lines.values() if l.key in line.choices]
if choices:
try:
self.key = choices[int(string)]
except:
self.key = choices[0]
else:
self.key = line.goto
| class Symbol:
key = '#'
author = '@'
goto = '>'
condition = '?'
action = '!'
comment = '%'
left = '{'
right = '}'
def prefixcount(string, prefix):
i = 0
while string[i] == prefix:
i += 1
return i
def extract(string, startsymbol, endsymbol):
if not startsymbol in string and endsymbol in string:
return ('', string)
start = string.find(startsymbol) + len(startsymbol)
end = -1
depth = 0
for i in range(start, len(string)):
s = string[i:]
if not depth and s.startswith(endsymbol):
end = i
break
depth += s.startswith(Symbol.left)
depth -= s.startswith(Symbol.right)
if end == -1:
return ('', string)
extraction = string[start:end]
return (extraction, string.replace(startsymbol + extraction + endsymbol, ''))
def extractattribute(string, symbol):
return extract(string, symbol + Symbol.left, Symbol.right)
def extractkey(string):
return extractattribute(string, Symbol.key)[0]
def isempty(string):
return string == '' or string.isspace()
class Line:
def __init__(self, key, text='', author='', goto='', choices=[], condition='', action='', comment=''):
self.key = key
self.text = text
self.author = author
self.goto = goto
self.choices = choices
self.condition = condition
self.action = action
self.comment = comment
def __repr__(self) -> str:
return self.author + ': ' + self.text
class Talk:
def __init__(self):
self.lines = {}
self.key = ''
@staticmethod
def from_string(talkString):
talk = talk()
while '\\\n\t' in talkString:
talk_string = talkString.replace('\\\n\t', '\\\n')
while '\\\n' in talkString:
talk_string = talkString.replace('\\\n', '')
lines = [line for line in talkString.splitlines() if not isempty(line)]
for (i, line) in enumerate(lines):
if isempty(extractkey(line)):
lines[i] = line + Symbol.key + Symbol.left + Symbol.key + str(i) + Symbol.right
previousauthor = ''
for (i, line) in enumerate(lines):
choices = []
(goto, text) = extractattribute(line, Symbol.goto)
if isempty(goto):
tabs_i = prefixcount(line, '\t')
if tabs_i % 2 == 0:
tabs_min = tabs_i
for j in range(i + 1, len(lines)):
tabs_j = prefixcount(lines[j], '\t')
tabs_min = min(tabs_j, tabs_min)
if tabs_j <= tabs_min:
if choices:
break
if tabs_j % 2 == 0:
goto = extractkey(lines[j])
break
if tabs_j == tabs_i + 1:
choices.append(extractkey(lines[j]))
elif i + 1 < len(lines):
goto = extractkey(lines[i + 1])
(key, text) = extractattribute(text, Symbol.key)
(author, text) = extractattribute(text, Symbol.author)
(condition, text) = extractattribute(text, Symbol.condition)
(action, text) = extractattribute(text, Symbol.action)
(comment, text) = extractattribute(text, Symbol.comment)
talk.addLine(line(key, text=text.strip(), author=author if not isempty(author) else previousauthor, goto=goto, choices=choices, condition=condition, action=action, comment=comment))
if i == 0:
talk.key = key
previousauthor = author
return talk
def add_line(self, line: Line):
self.lines[line.key] = line
def talk(self):
string = ''
line = self.lines[self.key]
while isempty(line.text):
self.key = line.goto
line = self.lines[self.key]
string += str(line) + '\n'
choices = [l for l in self.lines.values() if l.key in line.choices]
if choices:
for (i, choice) in enumerate(choices):
string += str(i) + ' ' + str(choice) + '\n'
return string
def input(self, string):
line = self.lines[self.key]
choices = [l.key for l in self.lines.values() if l.key in line.choices]
if choices:
try:
self.key = choices[int(string)]
except:
self.key = choices[0]
else:
self.key = line.goto |
#value=input().split()
#B,G=value
#B=int(B) #B=ball
#G=int(G) #G=need
B=int(input())
G=int(input())
result = G//2
also_need=result-B
if (result<=B):
print("Amelia tem todas bolinhas!")
else:
print("Faltam",also_need,"bolinha(s)") | b = int(input())
g = int(input())
result = G // 2
also_need = result - B
if result <= B:
print('Amelia tem todas bolinhas!')
else:
print('Faltam', also_need, 'bolinha(s)') |
def GenerateCombination(N, ObjectNumber):
# initiate the object B and C positions
# Get all permutations of length 2
combinlist = []
for i in range(N):
if i < N-1:
j = i + 1
else:
j = 0
combin = [ObjectNumber, i, j]
combinlist.append(combin)
return combinlist
| def generate_combination(N, ObjectNumber):
combinlist = []
for i in range(N):
if i < N - 1:
j = i + 1
else:
j = 0
combin = [ObjectNumber, i, j]
combinlist.append(combin)
return combinlist |
class OTBDeepConfig:
fhog_params = {'fname': 'fhog',
'num_orients': 9,
'cell_size': 4,
'compressed_dim': 10,
# 'nDim': 9 * 3 + 5 -1
}
#cn_params = {"fname": 'cn',
# "table_name": "CNnorm",
# "use_for_color": True,
# "cell_size": 4,
# "compressed_dim": 3,
# # "nDim": 10
# }
# ic_params = {'fname': 'ic',
# "table_name": "intensityChannelNorm6",
# "use_for_color": False,
# "cell_size": 4,
# "compressed_dim": 3,
# # "nDim": 10
# }
cnn_params = {'fname': "cnn-resnet50",
'compressed_dim': [16, 64]
}
# cnn_params = {'fname': "cnn-vgg16",
# 'compressed_dim': [16, 64]
# }
features = [fhog_params, cnn_params]
# feature parameters
normalize_power = 2
normalize_size = True
normalize_dim = True
square_root_normalization = False
# image sample parameters
search_area_shape = 'square'
search_area_scale = 4.5
min_image_sample_size = 200 ** 2
max_image_sample_size = 250 ** 2
# detection parameters
refinement_iterations = 1 # number of iterations used to refine the resulting position in a frame
newton_iterations = 5
clamp_position = False # clamp the target position to be inside the image
# learning parameters
output_sigma_factor = 1 / 8. # label function sigma
learning_rate = 0.010
num_samples = 50
sample_replace_startegy = 'lowest_prior'
lt_size = 0
train_gap = 5
skip_after_frame = 1
use_detection_sample = True
# factorized convolution parameters
use_projection_matrix = True
update_projection_matrix = True
proj_init_method = 'pca'
projection_reg = 5e-8
# generative sample space model parameters
use_sample_merge = True
sample_merge_type = 'merge'
distance_matrix_update_type = 'exact'
# CG paramters
CG_iter = 5
init_CG_iter = 15 * 15
init_GN_iter = 15
CG_use_FR = False
CG_standard_alpha = True
CG_forgetting_rate = 75
precond_data_param = 0.3
precond_reg_param= 0.015
precond_proj_param = 35
# regularization window paramters
use_reg_window = True
reg_window_min = 1e-4
reg_window_edge = 10e-3
reg_window_power = 2
reg_sparsity_threshold = 0.05
# interpolation parameters
interp_method = 'bicubic'
interp_bicubic_a = -0.75
interp_centering = True
interp_windowing = False
# scale parameters
number_of_scales = 5
scale_step = 1.02# 1.015
use_scale_filter = False
vis=True | class Otbdeepconfig:
fhog_params = {'fname': 'fhog', 'num_orients': 9, 'cell_size': 4, 'compressed_dim': 10}
cnn_params = {'fname': 'cnn-resnet50', 'compressed_dim': [16, 64]}
features = [fhog_params, cnn_params]
normalize_power = 2
normalize_size = True
normalize_dim = True
square_root_normalization = False
search_area_shape = 'square'
search_area_scale = 4.5
min_image_sample_size = 200 ** 2
max_image_sample_size = 250 ** 2
refinement_iterations = 1
newton_iterations = 5
clamp_position = False
output_sigma_factor = 1 / 8.0
learning_rate = 0.01
num_samples = 50
sample_replace_startegy = 'lowest_prior'
lt_size = 0
train_gap = 5
skip_after_frame = 1
use_detection_sample = True
use_projection_matrix = True
update_projection_matrix = True
proj_init_method = 'pca'
projection_reg = 5e-08
use_sample_merge = True
sample_merge_type = 'merge'
distance_matrix_update_type = 'exact'
cg_iter = 5
init_cg_iter = 15 * 15
init_gn_iter = 15
cg_use_fr = False
cg_standard_alpha = True
cg_forgetting_rate = 75
precond_data_param = 0.3
precond_reg_param = 0.015
precond_proj_param = 35
use_reg_window = True
reg_window_min = 0.0001
reg_window_edge = 0.01
reg_window_power = 2
reg_sparsity_threshold = 0.05
interp_method = 'bicubic'
interp_bicubic_a = -0.75
interp_centering = True
interp_windowing = False
number_of_scales = 5
scale_step = 1.02
use_scale_filter = False
vis = True |
DECOY_PREFIX = 'decoy_'
HEADER_SPECFILE = '#SpecFile'
HEADER_SCANNR = 'ScanNum'
HEADER_SPECSCANID = 'SpecID'
HEADER_CHARGE = 'Charge'
HEADER_PEPTIDE = 'Peptide'
HEADER_PROTEIN = 'Protein'
HEADER_GENE = 'Gene ID'
HEADER_SYMBOL = 'Gene Name'
HEADER_DESCRIPTION = 'Description'
HEADER_PRECURSOR_MZ = 'Precursor'
HEADER_PRECURSOR_QUANT = 'MS1 area'
HEADER_PREC_PURITY = 'Precursor ion fraction'
HEADER_PRECURSOR_FWHM = 'FWHM'
HEADER_MASTER_PROT = 'Master protein(s)'
HEADER_PG_CONTENT = 'Protein group(s) content'
HEADER_PG_AMOUNT_PROTEIN_HITS = 'Amount of matching proteins in group(s)'
HEADER_PG = [HEADER_MASTER_PROT, HEADER_PG_CONTENT,
HEADER_PG_AMOUNT_PROTEIN_HITS]
HEADER_SVMSCORE = 'percolator svm-score'
HEADER_MISSED_CLEAVAGE = 'missed_cleavage'
HEADER_PSMQ = 'PSM q-value'
HEADER_PEPTIDE_Q = 'peptide q-value'
HEADER_TARGETDECOY = 'TD'
HEADER_MSGFSCORE = 'MSGFScore'
HEADER_EVALUE = 'EValue'
HEADER_SETNAME = 'Biological set'
HEADER_RETENTION_TIME = 'Retention time(min)'
HEADER_INJECTION_TIME = 'Ion injection time(ms)'
HEADER_ION_MOB = 'Ion mobility(Vs/cm2)'
MOREDATA_HEADER = [HEADER_RETENTION_TIME, HEADER_INJECTION_TIME, HEADER_ION_MOB]
PERCO_HEADER = [HEADER_SVMSCORE, HEADER_PSMQ, HEADER_PEPTIDE_Q, HEADER_TARGETDECOY]
| decoy_prefix = 'decoy_'
header_specfile = '#SpecFile'
header_scannr = 'ScanNum'
header_specscanid = 'SpecID'
header_charge = 'Charge'
header_peptide = 'Peptide'
header_protein = 'Protein'
header_gene = 'Gene ID'
header_symbol = 'Gene Name'
header_description = 'Description'
header_precursor_mz = 'Precursor'
header_precursor_quant = 'MS1 area'
header_prec_purity = 'Precursor ion fraction'
header_precursor_fwhm = 'FWHM'
header_master_prot = 'Master protein(s)'
header_pg_content = 'Protein group(s) content'
header_pg_amount_protein_hits = 'Amount of matching proteins in group(s)'
header_pg = [HEADER_MASTER_PROT, HEADER_PG_CONTENT, HEADER_PG_AMOUNT_PROTEIN_HITS]
header_svmscore = 'percolator svm-score'
header_missed_cleavage = 'missed_cleavage'
header_psmq = 'PSM q-value'
header_peptide_q = 'peptide q-value'
header_targetdecoy = 'TD'
header_msgfscore = 'MSGFScore'
header_evalue = 'EValue'
header_setname = 'Biological set'
header_retention_time = 'Retention time(min)'
header_injection_time = 'Ion injection time(ms)'
header_ion_mob = 'Ion mobility(Vs/cm2)'
moredata_header = [HEADER_RETENTION_TIME, HEADER_INJECTION_TIME, HEADER_ION_MOB]
perco_header = [HEADER_SVMSCORE, HEADER_PSMQ, HEADER_PEPTIDE_Q, HEADER_TARGETDECOY] |
# The path to the ROM file to load:
# SpaceInvaders starts to render visible pixels when
# the cpu halfClkCount reaches about 11000
#romFile = 'roms/SpaceInvaders.bin'
#romFile = 'roms/Pitfall.bin'
romFile = 'roms/DonkeyKong.bin'
# 8kb ROM, spins reading 0x282 switches
#romFile = 'roms/Asteroids.bin'
# 2kb ROM
#romFile = 'roms/Adventure.bin'
#romFile = 'roms/SpaceInvaders.bin'
imageOutputDir = 'outFrames'
# Files describing each chip's network of transistors and wires.
# Also contains names for various wires, some of which are the
# chips input and output pads.
#
chip6502File = 'chips/net_6502.pkl'
chipTIAFile = 'chips/net_TIA.pkl'
# How many simulation clock changes to run between updates
# of the OpenGL rendering.
numTIAHalfClocksPerRender = 128
# If you'd like to provide additional common sense names for
# a chip's wires, data like the following can be provided to
# CircuitSimulatorBase.updateWireNames(arrayOfArrays) which
# sets entries in the wireNames dictionary like:
# wireNames['A0'] = 737; wireNames['A1'] = 1234
# wireNames['X3'] = 1648
#
# The node numbers are listed in the status pane of the
# visual6502.org simulation when you left-click the chip
# image to select part of the circuit:
# http://visual6502.org/JSSim
# The 6502 chip data, node numbers, and names are the same
# here in this 2600 console simulation as they are in the
# visual6502 online javascript simulation.
#
# # A, X, and Y register bits from lsb to msb
mos6502WireInit = [['A', 737, 1234, 978, 162, 727, 858, 1136, 1653],
['X', 1216, 98, 1, 1648, 85, 589, 448, 777],
['Y', 64, 1148, 573, 305, 989, 615, 115, 843],
# stack. only low address has to be stored
['S', 1403, 183, 81, 1532, 1702, 1098, 1212, 1435],
# Program counter low byte, from lsb to msb
['PCL', 1139, 1022, 655, 1359, 900, 622, 377, 1611],
# Program counter high byte, from lsb to msb
['PCH', 1670, 292, 502, 584, 948, 49, 1551, 205],
# status register: C,Z,I,D,B,_,V,N (C is held in LSB)
# 6502 programming manual pgmManJan76 pg 24
['P', 687, 1444, 1421, 439, 1119, 0, 77, 1370],
]
scanlineNumPixels = 228 # for hblank and visible image
frameHeightPixels = 262 # 3 lines vsync, 37 lines vblank,
# 192 lines of image, 30 lines overscan
# The order in which these are listed matters. For busses, they should
# be from lsb to msb.
tiaAddressBusPadNames = ['AB0', 'AB1', 'AB2', 'AB3', 'AB4', 'AB5']
cpuAddressBusPadNames = ['AB0', 'AB1', 'AB2', 'AB3', 'AB4', 'AB5', 'AB6', 'AB7',
'AB8', 'AB9', 'AB10', 'AB11', 'AB12', 'AB13', 'AB14', 'AB15']
tiaInputPadNames = ['I0', 'I1', 'I2', 'I3', 'I4', 'I5']
dataBusPadNames = ['DB0', 'DB1', 'DB2', 'DB3', 'DB4', 'DB5', 'DB6', 'DB7']
tiaDataBusDrivers = ['DB6_drvLo', 'DB6_drvHi', 'DB7_drvHi', 'DB7_drvHi']
| rom_file = 'roms/DonkeyKong.bin'
image_output_dir = 'outFrames'
chip6502_file = 'chips/net_6502.pkl'
chip_tia_file = 'chips/net_TIA.pkl'
num_tia_half_clocks_per_render = 128
mos6502_wire_init = [['A', 737, 1234, 978, 162, 727, 858, 1136, 1653], ['X', 1216, 98, 1, 1648, 85, 589, 448, 777], ['Y', 64, 1148, 573, 305, 989, 615, 115, 843], ['S', 1403, 183, 81, 1532, 1702, 1098, 1212, 1435], ['PCL', 1139, 1022, 655, 1359, 900, 622, 377, 1611], ['PCH', 1670, 292, 502, 584, 948, 49, 1551, 205], ['P', 687, 1444, 1421, 439, 1119, 0, 77, 1370]]
scanline_num_pixels = 228
frame_height_pixels = 262
tia_address_bus_pad_names = ['AB0', 'AB1', 'AB2', 'AB3', 'AB4', 'AB5']
cpu_address_bus_pad_names = ['AB0', 'AB1', 'AB2', 'AB3', 'AB4', 'AB5', 'AB6', 'AB7', 'AB8', 'AB9', 'AB10', 'AB11', 'AB12', 'AB13', 'AB14', 'AB15']
tia_input_pad_names = ['I0', 'I1', 'I2', 'I3', 'I4', 'I5']
data_bus_pad_names = ['DB0', 'DB1', 'DB2', 'DB3', 'DB4', 'DB5', 'DB6', 'DB7']
tia_data_bus_drivers = ['DB6_drvLo', 'DB6_drvHi', 'DB7_drvHi', 'DB7_drvHi'] |
def setStringLength(string,length,align:"left"):
"""
:param string: A str which is you want to set length
:param length: Integer
:param align: left, mid or right
:return:
"""
real_str_len=len(string)
if real_str_len<length:
if align=="left":
text_which_add=""
for i in range(0,length-real_str_len):
text_which_add += " "
return string + text_which_add
elif align=="right":
text_which_add = ""
for i in range(0, length - real_str_len):
text_which_add += " "
return text_which_add + string
elif align=="mid":
left_text=""
rigth_text=""
for i in range(0, (length - real_str_len)):
if i%2==0:
left_text += " "
elif i%2==1:
rigth_text += " "
return left_text + string + rigth_text
if align not in ("left", "mid", "right"):
print("Align must be \"left\", \"mid\" or \"right\" !!")
return
elif real_str_len>length:
if align=="left":
return string[0:length]
elif align=="right":
return string[-(length):]
elif align=="mid":
mid_index_of_text=int(real_str_len/2)
if length%2==0:
left_length=int(length/2)
rigth_length=int(length/2)
elif length%2==1:
left_length=int(length/2)+1
rigth_length=int(length/2)
var_x=int(mid_index_of_text-left_length+1)
var_y=int(mid_index_of_text+rigth_length+1)
return string[var_x:var_y]
if not align in ("left", "mid", "right"):
print("Align must be \"left\", \"mid\" or \"right\" !!")
return
def addCharOnString(string,char,amount,type:"pre-post"):
"""
:param string: Text is which you want to add smth pre, post or both
:param char: Must be just one character
:param amount: int
:param type: pre, post, pre-post
:return:
"""
if type not in ("pre","post","pre-post"):
print("Type must be \"pre\", \"post\" or \"pre-post\" !!")
return
if not len(char)==1:
print("Lenght of char must be 1")
text_which_add=""
for i in range(0,amount):
text_which_add += f"{char}"
if type == "pre":
return text_which_add+string
elif type == "post":
return string+text_which_add
elif type == "pre-post":
return text_which_add+string+text_which_add
| def set_string_length(string, length, align: 'left'):
"""
:param string: A str which is you want to set length
:param length: Integer
:param align: left, mid or right
:return:
"""
real_str_len = len(string)
if real_str_len < length:
if align == 'left':
text_which_add = ''
for i in range(0, length - real_str_len):
text_which_add += ' '
return string + text_which_add
elif align == 'right':
text_which_add = ''
for i in range(0, length - real_str_len):
text_which_add += ' '
return text_which_add + string
elif align == 'mid':
left_text = ''
rigth_text = ''
for i in range(0, length - real_str_len):
if i % 2 == 0:
left_text += ' '
elif i % 2 == 1:
rigth_text += ' '
return left_text + string + rigth_text
if align not in ('left', 'mid', 'right'):
print('Align must be "left", "mid" or "right" !!')
return
elif real_str_len > length:
if align == 'left':
return string[0:length]
elif align == 'right':
return string[-length:]
elif align == 'mid':
mid_index_of_text = int(real_str_len / 2)
if length % 2 == 0:
left_length = int(length / 2)
rigth_length = int(length / 2)
elif length % 2 == 1:
left_length = int(length / 2) + 1
rigth_length = int(length / 2)
var_x = int(mid_index_of_text - left_length + 1)
var_y = int(mid_index_of_text + rigth_length + 1)
return string[var_x:var_y]
if not align in ('left', 'mid', 'right'):
print('Align must be "left", "mid" or "right" !!')
return
def add_char_on_string(string, char, amount, type: 'pre-post'):
"""
:param string: Text is which you want to add smth pre, post or both
:param char: Must be just one character
:param amount: int
:param type: pre, post, pre-post
:return:
"""
if type not in ('pre', 'post', 'pre-post'):
print('Type must be "pre", "post" or "pre-post" !!')
return
if not len(char) == 1:
print('Lenght of char must be 1')
text_which_add = ''
for i in range(0, amount):
text_which_add += f'{char}'
if type == 'pre':
return text_which_add + string
elif type == 'post':
return string + text_which_add
elif type == 'pre-post':
return text_which_add + string + text_which_add |
class RegionModel:
def __init__(self, dbRow):
self.ID = dbRow["ID"]
self.RegionName = dbRow["RegionName"]
self.RegionCode = dbRow["RegionCode"]
self.RegionChat = dbRow["RegionChat"] | class Regionmodel:
def __init__(self, dbRow):
self.ID = dbRow['ID']
self.RegionName = dbRow['RegionName']
self.RegionCode = dbRow['RegionCode']
self.RegionChat = dbRow['RegionChat'] |
def test_correct_abi_right_padding(tester, w3, get_contract_with_gas_estimation):
selfcall_code_6 = """
@external
def hardtest(arg1: Bytes[64], arg2: Bytes[64]) -> Bytes[128]:
return concat(arg1, arg2)
"""
c = get_contract_with_gas_estimation(selfcall_code_6)
assert c.hardtest(b"hello" * 5, b"hello" * 10) == b"hello" * 15
# Make sure underlying structe is correctly right padded
classic_contract = c._classic_contract
func = classic_contract.functions.hardtest(b"hello" * 5, b"hello" * 10)
tx = func.buildTransaction({
"gasPrice": 0,
})
del tx["chainId"]
del tx["gasPrice"]
tx["from"] = w3.eth.accounts[0]
res = w3.toBytes(hexstr=tester.call(tx))
static_offset = int.from_bytes(res[:32], "big")
assert static_offset == 32
dyn_section = res[static_offset:]
assert len(dyn_section) % 32 == 0 # first right pad assert
len_value = int.from_bytes(dyn_section[:32], "big")
assert len_value == len(b"hello" * 15)
assert dyn_section[32 : 32 + len_value] == b"hello" * 15
# second right pad assert
assert dyn_section[32 + len_value :] == b"\x00" * (len(dyn_section) - 32 - len_value)
| def test_correct_abi_right_padding(tester, w3, get_contract_with_gas_estimation):
selfcall_code_6 = '\n@external\ndef hardtest(arg1: Bytes[64], arg2: Bytes[64]) -> Bytes[128]:\n return concat(arg1, arg2)\n '
c = get_contract_with_gas_estimation(selfcall_code_6)
assert c.hardtest(b'hello' * 5, b'hello' * 10) == b'hello' * 15
classic_contract = c._classic_contract
func = classic_contract.functions.hardtest(b'hello' * 5, b'hello' * 10)
tx = func.buildTransaction({'gasPrice': 0})
del tx['chainId']
del tx['gasPrice']
tx['from'] = w3.eth.accounts[0]
res = w3.toBytes(hexstr=tester.call(tx))
static_offset = int.from_bytes(res[:32], 'big')
assert static_offset == 32
dyn_section = res[static_offset:]
assert len(dyn_section) % 32 == 0
len_value = int.from_bytes(dyn_section[:32], 'big')
assert len_value == len(b'hello' * 15)
assert dyn_section[32:32 + len_value] == b'hello' * 15
assert dyn_section[32 + len_value:] == b'\x00' * (len(dyn_section) - 32 - len_value) |
def primera_letra(lista_de_palabras):
primeras_letras = []
for palabra in lista_de_palabras:
assert type(palabra) == str, f'{palabra} no es str'
assert len(palabra) > 0, 'No se permiten str vacios'
primeras_letras.append(palabra[0])
return primeras_letras | def primera_letra(lista_de_palabras):
primeras_letras = []
for palabra in lista_de_palabras:
assert type(palabra) == str, f'{palabra} no es str'
assert len(palabra) > 0, 'No se permiten str vacios'
primeras_letras.append(palabra[0])
return primeras_letras |
load("@bazel_skylib//lib:paths.bzl", "paths")
load(":common.bzl", "declare_caches", "write_cache_manifest")
load("//dotnet/private:context.bzl", "dotnet_exec_context", "make_builder_cmd")
load("//dotnet/private:providers.bzl", "DotnetPublishInfo")
def pack(ctx):
info = ctx.attr.target[DotnetPublishInfo]
restore = info.restore
dotnet = dotnet_exec_context(ctx, False, False, restore.target_framework)
package_id = getattr(ctx.attr, "package_id", None)
if not package_id:
package_id = paths.split_extension(ctx.file.project_file.basename)[0]
nupkg = ctx.actions.declare_file(package_id + "." + ctx.attr.version + ".nupkg")
cache = declare_caches(ctx, "pack")
cache_manifest = write_cache_manifest(ctx, cache, info.caches)
args, cmd_outputs = make_builder_cmd(ctx, dotnet, "pack", restore.directory_info, restore.assembly_name)
args.add_all(["--version", ctx.attr.version, "--runfiles_manifest", info.runfiles_manifest])
inputs = depset(
[cache_manifest, info.runfiles_manifest],
transitive = [info.files, info.library.runfiles],
)
outputs = [nupkg, cache.result] + cmd_outputs
ctx.actions.run(
mnemonic = "DotnetPack",
inputs = inputs,
outputs = outputs,
executable = dotnet.sdk.dotnet,
arguments = [args],
env = dotnet.env,
tools = dotnet.builder.files,
)
return nupkg
| load('@bazel_skylib//lib:paths.bzl', 'paths')
load(':common.bzl', 'declare_caches', 'write_cache_manifest')
load('//dotnet/private:context.bzl', 'dotnet_exec_context', 'make_builder_cmd')
load('//dotnet/private:providers.bzl', 'DotnetPublishInfo')
def pack(ctx):
info = ctx.attr.target[DotnetPublishInfo]
restore = info.restore
dotnet = dotnet_exec_context(ctx, False, False, restore.target_framework)
package_id = getattr(ctx.attr, 'package_id', None)
if not package_id:
package_id = paths.split_extension(ctx.file.project_file.basename)[0]
nupkg = ctx.actions.declare_file(package_id + '.' + ctx.attr.version + '.nupkg')
cache = declare_caches(ctx, 'pack')
cache_manifest = write_cache_manifest(ctx, cache, info.caches)
(args, cmd_outputs) = make_builder_cmd(ctx, dotnet, 'pack', restore.directory_info, restore.assembly_name)
args.add_all(['--version', ctx.attr.version, '--runfiles_manifest', info.runfiles_manifest])
inputs = depset([cache_manifest, info.runfiles_manifest], transitive=[info.files, info.library.runfiles])
outputs = [nupkg, cache.result] + cmd_outputs
ctx.actions.run(mnemonic='DotnetPack', inputs=inputs, outputs=outputs, executable=dotnet.sdk.dotnet, arguments=[args], env=dotnet.env, tools=dotnet.builder.files)
return nupkg |
#===============================================================
# DMXIS Macro (c) 2010 db audioware limited
#===============================================================
RgbColour(255,127,80)
| rgb_colour(255, 127, 80) |
def remote_pip_install_simple(name, silent):
return remote_pip_install(name, True, 'python3', 'pip3', silent)
def remote_pip_install(name, usermode, py, pip, silent):
return lib_install(name, usermode=usermode, py=py, pip=pip, silent=silent)
| def remote_pip_install_simple(name, silent):
return remote_pip_install(name, True, 'python3', 'pip3', silent)
def remote_pip_install(name, usermode, py, pip, silent):
return lib_install(name, usermode=usermode, py=py, pip=pip, silent=silent) |
class RandomObjects:
prefix = ''
postfix = ''
def __init__(self):
self.displacements = {}
self.velocities = {}
self.accelerations = {}
self.load_vectors = {}
self.spc_forces = {}
self.mpc_forces = {}
self.crod_force = {}
self.conrod_force = {}
self.ctube_force = {}
self.cbar_force = {}
self.cbeam_force = {}
self.cbush_stress = {}
self.cbush_strain = {}
self.crod_stress = {}
self.conrod_stress = {}
self.ctube_stress = {}
self.cbar_stress = {}
self.cbeam_stress = {}
self.crod_strain = {}
self.conrod_strain = {}
self.ctube_strain = {}
self.cbar_strain = {}
self.cbeam_strain = {}
self.ctetra_strain = {}
self.cpenta_strain = {}
self.chexa_strain = {}
self.ctetra_stress = {}
self.cpenta_stress = {}
self.chexa_stress = {}
self.celas1_stress = {}
self.celas2_stress = {}
self.celas3_stress = {}
self.celas4_stress = {}
self.celas1_strain = {}
self.celas2_strain = {}
self.celas3_strain = {}
self.celas4_strain = {}
self.celas1_force = {}
self.celas2_force = {}
self.celas3_force = {}
self.celas4_force = {}
self.ctria3_force = {}
self.ctria6_force = {}
self.ctriar_force = {}
self.cquad4_force = {}
self.cquad8_force = {}
self.cquadr_force = {}
self.ctria3_stress = {}
self.ctria6_stress = {}
self.cquad4_stress = {}
self.cquad8_stress = {}
self.cquadr_stress = {}
self.ctriar_stress = {}
self.ctria3_strain = {}
self.ctria6_strain = {}
self.cquad4_strain = {}
self.cquad8_strain = {}
self.cquadr_strain = {}
self.ctriar_strain = {}
self.cbend_stress = {}
self.cbend_strain = {}
self.cbend_force = {}
self.cshear_stress = {}
self.cshear_strain = {}
self.cshear_force = {}
self.cbush_force = {}
self.cdamp1_force = {}
self.cdamp2_force = {}
self.cdamp3_force = {}
self.cdamp4_force = {}
self.cvisc_force = {}
self.cquad4_composite_stress = {}
self.cquad8_composite_stress = {}
self.cquadr_composite_stress = {}
self.ctria3_composite_stress = {}
self.ctria6_composite_stress = {}
self.ctriar_composite_stress = {}
self.cquad4_composite_strain = {}
self.cquad8_composite_strain = {}
self.cquadr_composite_strain = {}
self.ctria3_composite_strain = {}
self.ctria6_composite_strain = {}
self.ctriar_composite_strain = {}
def get_table_types(self):
tables = [
'displacements', 'velocities', 'accelerations',
'load_vectors', 'spc_forces', 'mpc_forces',
'celas1_force', 'celas2_force', 'celas3_force', 'celas4_force',
'crod_force', 'conrod_force', 'ctube_force',
'cbar_force', 'cbeam_force',
'cquad4_force', 'cquad8_force', 'cquadr_force',
'ctria3_force', 'ctria6_force', 'ctriar_force',
'celas1_stress', 'celas2_stress', 'celas3_stress', 'celas4_stress',
'crod_stress', 'conrod_stress', 'ctube_stress',
'cbar_stress', 'cbeam_stress',
'ctria3_stress', 'ctriar_stress', 'ctria6_stress',
'cquadr_stress', 'cquad4_stress', 'cquad8_stress',
'ctetra_stress', 'cpenta_stress', 'chexa_stress',
'celas1_strain', 'celas2_strain', 'celas3_strain', 'celas4_strain',
'crod_strain', 'conrod_strain', 'ctube_strain',
'cbar_strain', 'cbeam_strain',
'ctria3_strain', 'ctriar_strain', 'ctria6_strain',
'cquadr_strain', 'cquad4_strain', 'cquad8_strain',
'ctetra_strain', 'cpenta_strain', 'chexa_strain',
'cquad4_composite_stress', 'cquad8_composite_stress', 'cquadr_composite_stress',
'ctria3_composite_stress', 'ctria6_composite_stress', 'ctriar_composite_stress',
'cquad4_composite_strain', 'cquad8_composite_strain', 'cquadr_composite_strain',
'ctria3_composite_strain', 'ctria6_composite_strain', 'ctriar_composite_strain',
'cbend_stress', 'cbend_strain', 'cbend_force',
'cbush_stress', 'cbush_strain',
'cshear_stress', 'cshear_strain', 'cshear_force',
'cbush_force',
'cdamp1_force', 'cdamp2_force', 'cdamp3_force', 'cdamp4_force',
'cvisc_force',
]
return [self.prefix + table + self.postfix for table in tables]
class AutoCorrelationObjects(RandomObjects):
"""storage class for the ATO objects"""
prefix = 'ato.'
#postfix = ''
class PowerSpectralDensityObjects(RandomObjects):
"""storage class for the PSD objects"""
prefix = 'psd.'
#postfix = ''
class RootMeansSquareObjects(RandomObjects):
"""storage class for the RMS objects"""
prefix = 'rms.'
#postfix = ''
class CumulativeRootMeansSquareObjects(RandomObjects):
"""storage class for the CRMS objects"""
prefix = 'crm.'
#postfix = ''
class NumberOfCrossingsObjects(RandomObjects):
"""storage class for the NO objects"""
prefix = 'no.'
#postfix = ''
class RAECONS:
"""storage class for the RAECONS objects"""
def __init__(self):
self.ctria3_strain = {}
self.cquad4_strain = {}
self.chexa_strain = {}
def get_table_types(self):
tables = [
'chexa_strain',
'ctria3_strain', 'cquad4_strain',
]
return ['RAECONS.' + table for table in tables]
class RASCONS:
"""storage class for the RASCONS objects"""
def __init__(self):
self.ctetra_stress = {}
self.cpenta_stress = {}
self.chexa_stress = {}
self.ctetra_strain = {}
self.cpenta_strain = {}
self.chexa_strain = {}
self.ctria3_stress = {}
self.ctria6_stress = {}
self.cquad4_stress = {}
self.cquad8_stress = {}
self.cquadr_stress = {}
self.ctriar_stress = {}
self.ctria3_strain = {}
self.ctria6_strain = {}
self.cquad4_strain = {}
self.cquad8_strain = {}
self.cquadr_strain = {}
self.ctriar_strain = {}
def get_table_types(self):
tables = [
# OES - isotropic CTRIA3/CQUAD4 stress
'ctria3_stress', 'ctriar_stress', 'ctria6_stress',
'cquadr_stress', 'cquad4_stress', 'cquad8_stress',
# OES - isotropic CTRIA3/CQUAD4 strain
'ctria3_strain', 'ctriar_strain', 'ctria6_strain',
'cquadr_strain', 'cquad4_strain', 'cquad8_strain',
'ctetra_stress', 'chexa_stress', 'cpenta_stress',
'ctetra_strain', 'chexa_strain', 'cpenta_strain',
]
return ['RASCONS.' + table for table in tables]
class RAPCONS:
"""storage class for the RAPCONS objects"""
def __init__(self):
self.cquad4_composite_stress = {}
self.cquad8_composite_stress = {}
self.cquadr_composite_stress = {}
self.ctria3_composite_stress = {}
self.ctria6_composite_stress = {}
self.ctriar_composite_stress = {}
def get_table_types(self):
tables = [
'cquad4_composite_stress',
'cquad8_composite_stress',
'cquadr_composite_stress',
'ctria3_composite_stress',
'ctria6_composite_stress',
'ctriar_composite_stress',
#'cquad4_composite_strain',
#'cquad8_composite_strain',
#'cquadr_composite_strain',
#'ctria3_composite_strain',
#'ctria6_composite_strain',
#'ctriar_composite_strain',
]
return ['RAPCONS.' + table for table in tables]
class RAPEATC:
"""storage class for the RAPEATC objects"""
def __init__(self):
self.cquad4_composite_stress = {}
self.cquad8_composite_stress = {}
self.cquadr_composite_stress = {}
self.ctria3_composite_stress = {}
self.ctria6_composite_stress = {}
self.ctriar_composite_stress = {}
def get_table_types(self):
tables = [
'cquad4_composite_stress',
'cquad8_composite_stress',
'cquadr_composite_stress',
'ctria3_composite_stress',
'ctria6_composite_stress',
'ctriar_composite_stress',
#'cquad4_composite_strain',
#'cquad8_composite_strain',
#'cquadr_composite_strain',
#'ctria3_composite_strain',
#'ctria6_composite_strain',
#'ctriar_composite_strain',
]
return ['RAPEATC.' + table for table in tables]
class RAFCONS:
"""storage class for the RAFCONS objects"""
def __init__(self):
self.cbar_force = {}
self.cquad4_force = {}
self.cbush_force = {}
def get_table_types(self):
tables = [
'cbar_force',
'cquad4_force',
'cbush_force',
]
return ['RAFCONS.' + table for table in tables]
class RAGCONS:
"""storage class for the RAGCONS objects"""
def __init__(self):
self.grid_point_forces = {}
def get_table_types(self):
tables = [
'grid_point_forces',
]
return ['RAGCONS.' + table for table in tables]
class RAGEATC:
"""storage class for the RAGEATC objects"""
def __init__(self):
self.grid_point_forces = {}
def get_table_types(self):
tables = [
'grid_point_forces',
]
return ['RAGEATC.' + table for table in tables]
class RANCONS:
"""storage class for the RANCONS objects"""
def __init__(self):
self.cbar_strain_energy = {}
self.cbush_strain_energy = {}
self.chexa_strain_energy = {}
self.ctria3_strain_energy = {}
self.cquad4_strain_energy = {}
def get_table_types(self):
tables = [
'cbar_strain_energy', 'cbush_strain_energy',
'chexa_strain_energy',
'ctria3_strain_energy', 'cquad4_strain_energy',
]
return ['RANCONS.' + table for table in tables]
class RADEFFM:
"""storage class for the RADEFFM objects"""
def __init__(self):
self.eigenvectors = {}
def get_table_types(self):
tables = [
'eigenvectors',
]
return ['RADEFFM.' + table for table in tables]
class RADCONS:
def __init__(self):
self.eigenvectors = {}
def get_table_types(self):
tables = [
'eigenvectors',
]
return ['RADCONS.' + table for table in tables]
class RADEATC:
"""storage class for the RADEATC objects"""
def __init__(self):
self.eigenvectors = {}
def get_table_types(self):
tables = [
'eigenvectors',
]
return ['RADEATC.' + table for table in tables]
class RANEATC:
"""storage class for the RANEATC objects"""
def __init__(self):
self.cbar_strain_energy = {}
self.cbush_strain_energy = {}
self.chexa_strain_energy = {}
self.ctria3_strain_energy = {}
self.cquad4_strain_energy = {}
def get_table_types(self):
tables = [
'cbar_strain_energy', 'cbush_strain_energy',
'chexa_strain_energy',
'ctria3_strain_energy', 'cquad4_strain_energy',
]
return ['RANEATC.' + table for table in tables]
class ROUGV1:
"""storage class for the ROUGV1 objects"""
def __init__(self):
self.displacements = {}
self.velocities = {}
self.accelerations = {}
self.eigenvectors = {}
def get_table_types(self):
tables = [
'displacements', 'velocities', 'accelerations', 'eigenvectors',
]
return ['ROUGV1.' + table for table in tables]
class RAFEATC:
"""storage class for the RAFEATC objects"""
def __init__(self):
self.cbar_force = {}
self.cquad4_force = {}
self.cbush_force = {}
def get_table_types(self):
tables = [
'cbar_force',
'cquad4_force',
'cbush_force',
]
return ['RAFEATC.' + table for table in tables]
class RASEATC:
"""storage class for the RASEATC objects"""
def __init__(self):
self.chexa_stress = {}
self.cquad4_stress = {}
def get_table_types(self):
tables = [
'chexa_stress',
'cquad4_stress',
]
return ['RASEATC.' + table for table in tables]
class RAEEATC:
"""storage class for the RAEEATC objects"""
def __init__(self):
self.chexa_strain = {}
self.ctria3_strain = {}
self.cquad4_strain = {}
def get_table_types(self):
tables = [
'chexa_strain',
'ctria3_strain', 'cquad4_strain',
]
return ['RAEEATC.' + table for table in tables]
| class Randomobjects:
prefix = ''
postfix = ''
def __init__(self):
self.displacements = {}
self.velocities = {}
self.accelerations = {}
self.load_vectors = {}
self.spc_forces = {}
self.mpc_forces = {}
self.crod_force = {}
self.conrod_force = {}
self.ctube_force = {}
self.cbar_force = {}
self.cbeam_force = {}
self.cbush_stress = {}
self.cbush_strain = {}
self.crod_stress = {}
self.conrod_stress = {}
self.ctube_stress = {}
self.cbar_stress = {}
self.cbeam_stress = {}
self.crod_strain = {}
self.conrod_strain = {}
self.ctube_strain = {}
self.cbar_strain = {}
self.cbeam_strain = {}
self.ctetra_strain = {}
self.cpenta_strain = {}
self.chexa_strain = {}
self.ctetra_stress = {}
self.cpenta_stress = {}
self.chexa_stress = {}
self.celas1_stress = {}
self.celas2_stress = {}
self.celas3_stress = {}
self.celas4_stress = {}
self.celas1_strain = {}
self.celas2_strain = {}
self.celas3_strain = {}
self.celas4_strain = {}
self.celas1_force = {}
self.celas2_force = {}
self.celas3_force = {}
self.celas4_force = {}
self.ctria3_force = {}
self.ctria6_force = {}
self.ctriar_force = {}
self.cquad4_force = {}
self.cquad8_force = {}
self.cquadr_force = {}
self.ctria3_stress = {}
self.ctria6_stress = {}
self.cquad4_stress = {}
self.cquad8_stress = {}
self.cquadr_stress = {}
self.ctriar_stress = {}
self.ctria3_strain = {}
self.ctria6_strain = {}
self.cquad4_strain = {}
self.cquad8_strain = {}
self.cquadr_strain = {}
self.ctriar_strain = {}
self.cbend_stress = {}
self.cbend_strain = {}
self.cbend_force = {}
self.cshear_stress = {}
self.cshear_strain = {}
self.cshear_force = {}
self.cbush_force = {}
self.cdamp1_force = {}
self.cdamp2_force = {}
self.cdamp3_force = {}
self.cdamp4_force = {}
self.cvisc_force = {}
self.cquad4_composite_stress = {}
self.cquad8_composite_stress = {}
self.cquadr_composite_stress = {}
self.ctria3_composite_stress = {}
self.ctria6_composite_stress = {}
self.ctriar_composite_stress = {}
self.cquad4_composite_strain = {}
self.cquad8_composite_strain = {}
self.cquadr_composite_strain = {}
self.ctria3_composite_strain = {}
self.ctria6_composite_strain = {}
self.ctriar_composite_strain = {}
def get_table_types(self):
tables = ['displacements', 'velocities', 'accelerations', 'load_vectors', 'spc_forces', 'mpc_forces', 'celas1_force', 'celas2_force', 'celas3_force', 'celas4_force', 'crod_force', 'conrod_force', 'ctube_force', 'cbar_force', 'cbeam_force', 'cquad4_force', 'cquad8_force', 'cquadr_force', 'ctria3_force', 'ctria6_force', 'ctriar_force', 'celas1_stress', 'celas2_stress', 'celas3_stress', 'celas4_stress', 'crod_stress', 'conrod_stress', 'ctube_stress', 'cbar_stress', 'cbeam_stress', 'ctria3_stress', 'ctriar_stress', 'ctria6_stress', 'cquadr_stress', 'cquad4_stress', 'cquad8_stress', 'ctetra_stress', 'cpenta_stress', 'chexa_stress', 'celas1_strain', 'celas2_strain', 'celas3_strain', 'celas4_strain', 'crod_strain', 'conrod_strain', 'ctube_strain', 'cbar_strain', 'cbeam_strain', 'ctria3_strain', 'ctriar_strain', 'ctria6_strain', 'cquadr_strain', 'cquad4_strain', 'cquad8_strain', 'ctetra_strain', 'cpenta_strain', 'chexa_strain', 'cquad4_composite_stress', 'cquad8_composite_stress', 'cquadr_composite_stress', 'ctria3_composite_stress', 'ctria6_composite_stress', 'ctriar_composite_stress', 'cquad4_composite_strain', 'cquad8_composite_strain', 'cquadr_composite_strain', 'ctria3_composite_strain', 'ctria6_composite_strain', 'ctriar_composite_strain', 'cbend_stress', 'cbend_strain', 'cbend_force', 'cbush_stress', 'cbush_strain', 'cshear_stress', 'cshear_strain', 'cshear_force', 'cbush_force', 'cdamp1_force', 'cdamp2_force', 'cdamp3_force', 'cdamp4_force', 'cvisc_force']
return [self.prefix + table + self.postfix for table in tables]
class Autocorrelationobjects(RandomObjects):
"""storage class for the ATO objects"""
prefix = 'ato.'
class Powerspectraldensityobjects(RandomObjects):
"""storage class for the PSD objects"""
prefix = 'psd.'
class Rootmeanssquareobjects(RandomObjects):
"""storage class for the RMS objects"""
prefix = 'rms.'
class Cumulativerootmeanssquareobjects(RandomObjects):
"""storage class for the CRMS objects"""
prefix = 'crm.'
class Numberofcrossingsobjects(RandomObjects):
"""storage class for the NO objects"""
prefix = 'no.'
class Raecons:
"""storage class for the RAECONS objects"""
def __init__(self):
self.ctria3_strain = {}
self.cquad4_strain = {}
self.chexa_strain = {}
def get_table_types(self):
tables = ['chexa_strain', 'ctria3_strain', 'cquad4_strain']
return ['RAECONS.' + table for table in tables]
class Rascons:
"""storage class for the RASCONS objects"""
def __init__(self):
self.ctetra_stress = {}
self.cpenta_stress = {}
self.chexa_stress = {}
self.ctetra_strain = {}
self.cpenta_strain = {}
self.chexa_strain = {}
self.ctria3_stress = {}
self.ctria6_stress = {}
self.cquad4_stress = {}
self.cquad8_stress = {}
self.cquadr_stress = {}
self.ctriar_stress = {}
self.ctria3_strain = {}
self.ctria6_strain = {}
self.cquad4_strain = {}
self.cquad8_strain = {}
self.cquadr_strain = {}
self.ctriar_strain = {}
def get_table_types(self):
tables = ['ctria3_stress', 'ctriar_stress', 'ctria6_stress', 'cquadr_stress', 'cquad4_stress', 'cquad8_stress', 'ctria3_strain', 'ctriar_strain', 'ctria6_strain', 'cquadr_strain', 'cquad4_strain', 'cquad8_strain', 'ctetra_stress', 'chexa_stress', 'cpenta_stress', 'ctetra_strain', 'chexa_strain', 'cpenta_strain']
return ['RASCONS.' + table for table in tables]
class Rapcons:
"""storage class for the RAPCONS objects"""
def __init__(self):
self.cquad4_composite_stress = {}
self.cquad8_composite_stress = {}
self.cquadr_composite_stress = {}
self.ctria3_composite_stress = {}
self.ctria6_composite_stress = {}
self.ctriar_composite_stress = {}
def get_table_types(self):
tables = ['cquad4_composite_stress', 'cquad8_composite_stress', 'cquadr_composite_stress', 'ctria3_composite_stress', 'ctria6_composite_stress', 'ctriar_composite_stress']
return ['RAPCONS.' + table for table in tables]
class Rapeatc:
"""storage class for the RAPEATC objects"""
def __init__(self):
self.cquad4_composite_stress = {}
self.cquad8_composite_stress = {}
self.cquadr_composite_stress = {}
self.ctria3_composite_stress = {}
self.ctria6_composite_stress = {}
self.ctriar_composite_stress = {}
def get_table_types(self):
tables = ['cquad4_composite_stress', 'cquad8_composite_stress', 'cquadr_composite_stress', 'ctria3_composite_stress', 'ctria6_composite_stress', 'ctriar_composite_stress']
return ['RAPEATC.' + table for table in tables]
class Rafcons:
"""storage class for the RAFCONS objects"""
def __init__(self):
self.cbar_force = {}
self.cquad4_force = {}
self.cbush_force = {}
def get_table_types(self):
tables = ['cbar_force', 'cquad4_force', 'cbush_force']
return ['RAFCONS.' + table for table in tables]
class Ragcons:
"""storage class for the RAGCONS objects"""
def __init__(self):
self.grid_point_forces = {}
def get_table_types(self):
tables = ['grid_point_forces']
return ['RAGCONS.' + table for table in tables]
class Rageatc:
"""storage class for the RAGEATC objects"""
def __init__(self):
self.grid_point_forces = {}
def get_table_types(self):
tables = ['grid_point_forces']
return ['RAGEATC.' + table for table in tables]
class Rancons:
"""storage class for the RANCONS objects"""
def __init__(self):
self.cbar_strain_energy = {}
self.cbush_strain_energy = {}
self.chexa_strain_energy = {}
self.ctria3_strain_energy = {}
self.cquad4_strain_energy = {}
def get_table_types(self):
tables = ['cbar_strain_energy', 'cbush_strain_energy', 'chexa_strain_energy', 'ctria3_strain_energy', 'cquad4_strain_energy']
return ['RANCONS.' + table for table in tables]
class Radeffm:
"""storage class for the RADEFFM objects"""
def __init__(self):
self.eigenvectors = {}
def get_table_types(self):
tables = ['eigenvectors']
return ['RADEFFM.' + table for table in tables]
class Radcons:
def __init__(self):
self.eigenvectors = {}
def get_table_types(self):
tables = ['eigenvectors']
return ['RADCONS.' + table for table in tables]
class Radeatc:
"""storage class for the RADEATC objects"""
def __init__(self):
self.eigenvectors = {}
def get_table_types(self):
tables = ['eigenvectors']
return ['RADEATC.' + table for table in tables]
class Raneatc:
"""storage class for the RANEATC objects"""
def __init__(self):
self.cbar_strain_energy = {}
self.cbush_strain_energy = {}
self.chexa_strain_energy = {}
self.ctria3_strain_energy = {}
self.cquad4_strain_energy = {}
def get_table_types(self):
tables = ['cbar_strain_energy', 'cbush_strain_energy', 'chexa_strain_energy', 'ctria3_strain_energy', 'cquad4_strain_energy']
return ['RANEATC.' + table for table in tables]
class Rougv1:
"""storage class for the ROUGV1 objects"""
def __init__(self):
self.displacements = {}
self.velocities = {}
self.accelerations = {}
self.eigenvectors = {}
def get_table_types(self):
tables = ['displacements', 'velocities', 'accelerations', 'eigenvectors']
return ['ROUGV1.' + table for table in tables]
class Rafeatc:
"""storage class for the RAFEATC objects"""
def __init__(self):
self.cbar_force = {}
self.cquad4_force = {}
self.cbush_force = {}
def get_table_types(self):
tables = ['cbar_force', 'cquad4_force', 'cbush_force']
return ['RAFEATC.' + table for table in tables]
class Raseatc:
"""storage class for the RASEATC objects"""
def __init__(self):
self.chexa_stress = {}
self.cquad4_stress = {}
def get_table_types(self):
tables = ['chexa_stress', 'cquad4_stress']
return ['RASEATC.' + table for table in tables]
class Raeeatc:
"""storage class for the RAEEATC objects"""
def __init__(self):
self.chexa_strain = {}
self.ctria3_strain = {}
self.cquad4_strain = {}
def get_table_types(self):
tables = ['chexa_strain', 'ctria3_strain', 'cquad4_strain']
return ['RAEEATC.' + table for table in tables] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.