content
stringlengths
1
1.04M
input_ids
listlengths
1
774k
ratio_char_token
float64
0.38
22.9
token_count
int64
1
774k
# Advent of Code - Day 7 - Part One from collections import defaultdict from defaultlist import defaultlist
[ 2, 33732, 286, 6127, 532, 3596, 767, 532, 2142, 1881, 198, 198, 6738, 17268, 1330, 4277, 11600, 198, 6738, 4277, 4868, 1330, 4277, 4868, 628, 198 ]
4.269231
26
import numpy as np import gym from gym import spaces from gym.utils import seeding from nsmr.envs.nsmr import NSMR from nsmr.envs.renderer import Renderer
[ 11748, 299, 32152, 355, 45941, 198, 11748, 11550, 198, 6738, 11550, 1330, 9029, 198, 6738, 11550, 13, 26791, 1330, 384, 8228, 198, 198, 6738, 299, 5796, 81, 13, 268, 14259, 13, 77, 5796, 81, 1330, 10896, 13599, 198, 6738, 299, 5796, 8...
3
52
from django.conf import settings as django_settings
[ 6738, 42625, 14208, 13, 10414, 1330, 6460, 355, 42625, 14208, 62, 33692, 628 ]
4.076923
13
from distutils.core import setup, Extension from Cython.Build import cythonize extension = [Extension('server_c', ['server_c.pyx'])] setup(ext_modules = cythonize(extension))
[ 6738, 1233, 26791, 13, 7295, 1330, 9058, 11, 27995, 198, 6738, 327, 7535, 13, 15580, 1330, 3075, 400, 261, 1096, 198, 198, 2302, 3004, 796, 685, 11627, 3004, 10786, 15388, 62, 66, 3256, 37250, 15388, 62, 66, 13, 9078, 87, 6, 12962, ...
2.983051
59
""" The module sanity_check includes classes to check that train and tests are similar. """ from .similar_columns import SimilarColumns __all__ = [ "SimilarColumns", ]
[ 37811, 198, 464, 8265, 34182, 62, 9122, 3407, 6097, 284, 2198, 326, 4512, 290, 5254, 389, 2092, 13, 198, 37811, 198, 198, 6738, 764, 38610, 62, 28665, 82, 1330, 11014, 39470, 82, 198, 198, 834, 439, 834, 796, 685, 198, 220, 220, 220...
3.411765
51
from abc import abstractmethod, ABC placeholders = [FormId, ResponseId] _yt_link = 'dQw4w9WgXcQ' yt_url = f'https://youtu.be/{_yt_link}'
[ 6738, 450, 66, 1330, 12531, 24396, 11, 9738, 628, 628, 198, 198, 5372, 10476, 796, 685, 8479, 7390, 11, 18261, 7390, 60, 628, 628, 198, 62, 20760, 62, 8726, 796, 705, 67, 48, 86, 19, 86, 24, 54, 70, 55, 66, 48, 6, 198, 20760, ...
2.28125
64
''' Created on Feb 24, 2019 @author: ramon ''' from PyQt5 import QtCore, QtGui, QtWidgets import numpy as np from Components import Frame_Template DEGREE = 57.2958 class Frame_Transform( Frames_Template ): ''' classdocs ''' def __init__(self, parent): ''' Constructor ''' super().__init__( parent) # Create widgets self.init_widgets() # Label them self.retranslateUi() # Seekbar signals self.frame_sb_x_origin.valueChanged.connect(self.on_x_origin_changed) self.frame_sb_y_origin.valueChanged.connect(self.on_y_origin_changed) self.frame_sb_z_origin.valueChanged.connect(self.on_z_origin_changed) self.frame_sb_x_trans.valueChanged.connect(self.on_x_trans_changed) self.frame_sb_y_trans.valueChanged.connect(self.on_y_trans_changed) self.frame_sb_z_trans.valueChanged.connect(self.on_z_trans_changed) self.frame_sb_x_angle.valueChanged.connect(self.on_x_angle_changed) self.frame_sb_y_angle.valueChanged.connect(self.on_y_angle_changed) self.frame_sb_z_angle.valueChanged.connect(self.on_z_angle_changed) # DoubleSpinBox signals self.frame_spinb_x_origin.valueChanged.connect(self.on_x_origin_changed) self.frame_spinb_y_origin.valueChanged.connect(self.on_y_origin_changed) self.frame_spinb_z_origin.valueChanged.connect(self.on_z_origin_changed) self.frame_spinb_x_trans.valueChanged.connect(self.on_x_trans_changed) self.frame_spinb_y_trans.valueChanged.connect(self.on_y_trans_changed) self.frame_spinb_z_trans.valueChanged.connect(self.on_z_trans_changed) self.frame_spinb_x_angle.valueChanged.connect(self.on_x_angle_changed) self.frame_spinb_y_angle.valueChanged.connect(self.on_y_angle_changed) self.frame_spinb_z_angle.valueChanged.connect(self.on_z_angle_changed) self.show() # Get a label number # Destroy/Clean object and release its label # Callbacks @QtCore.pyqtSlot() @QtCore.pyqtSlot() @QtCore.pyqtSlot() @QtCore.pyqtSlot() @QtCore.pyqtSlot() @QtCore.pyqtSlot() @QtCore.pyqtSlot() @QtCore.pyqtSlot() @QtCore.pyqtSlot() # Manage sequence of Transformations if __name__ == '__main__': a = Frame_Transform() print('casa')
[ 7061, 6, 198, 41972, 319, 3158, 1987, 11, 13130, 198, 198, 31, 9800, 25, 15770, 261, 198, 7061, 6, 628, 198, 6738, 9485, 48, 83, 20, 1330, 33734, 14055, 11, 33734, 8205, 72, 11, 33734, 54, 312, 11407, 198, 11748, 299, 32152, 355, ...
2.056045
1,249
import os import shutil import codecs from jinja2 import Environment, FileSystemLoader CURRENT_PATH = os.path.dirname(os.path.abspath(__file__)) TEMPLATE_ENVIRONMENT = Environment(loader=FileSystemLoader(os.path.join(CURRENT_PATH, 'templates'))) TEMPLATE = "report.html"
[ 11748, 28686, 198, 11748, 4423, 346, 198, 11748, 40481, 82, 198, 6738, 474, 259, 6592, 17, 1330, 9344, 11, 9220, 11964, 17401, 198, 198, 34, 39237, 62, 34219, 796, 28686, 13, 6978, 13, 15908, 3672, 7, 418, 13, 6978, 13, 397, 2777, 7...
2.833333
96
#!/usr/bin/env python import sys if __name__ == '__main__': main()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 198, 11748, 25064, 198, 198, 361, 11593, 3672, 834, 6624, 705, 834, 12417, 834, 10354, 198, 220, 220, 220, 1388, 3419, 198 ]
2.354839
31
# API FORMS from django import forms
[ 2, 7824, 7473, 5653, 198, 198, 6738, 42625, 14208, 1330, 5107 ]
3.363636
11
from io import StringIO from dateutil.relativedelta import relativedelta from django.core.management import call_command from django.test import TestCase, override_settings from django.utils import timezone from hypha.apply.home.models import ApplyHomePage from .factories import ProjectFactory, ReportConfigFactory, ReportFactory @override_settings(ROOT_URLCONF='hypha.apply.urls')
[ 6738, 33245, 1330, 10903, 9399, 198, 198, 6738, 3128, 22602, 13, 2411, 265, 1572, 12514, 1330, 48993, 1572, 12514, 198, 6738, 42625, 14208, 13, 7295, 13, 27604, 1330, 869, 62, 21812, 198, 6738, 42625, 14208, 13, 9288, 1330, 6208, 20448, ...
3.559633
109
CPT_ONEINCH_V1 = '1inch-v1' CPT_ONEINCH_V2 = '1inch-v2'
[ 8697, 51, 62, 11651, 1268, 3398, 62, 53, 16, 796, 705, 16, 8589, 12, 85, 16, 6, 198, 8697, 51, 62, 11651, 1268, 3398, 62, 53, 17, 796, 705, 16, 8589, 12, 85, 17, 6, 198 ]
1.555556
36
# # PySNMP MIB module ZXR10-MACPING-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ZXR10-MACPING-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:48:20 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint") ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") NotificationType, ModuleIdentity, Counter32, enterprises, mgmt, IpAddress, iso, Bits, Unsigned32, MibIdentifier, TimeTicks, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, Integer32, experimental, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "ModuleIdentity", "Counter32", "enterprises", "mgmt", "IpAddress", "iso", "Bits", "Unsigned32", "MibIdentifier", "TimeTicks", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "Integer32", "experimental", "ObjectIdentity") DisplayString, RowStatus, MacAddress, TruthValue, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "MacAddress", "TruthValue", "TextualConvention") zxr10L2vpn, = mibBuilder.importSymbols("ZXR10-SMI", "zxr10L2vpn") zxr10MacPingMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4)) zxr10MacPingTable = MibTable((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1), ) if mibBuilder.loadTexts: zxr10MacPingTable.setStatus('current') if mibBuilder.loadTexts: zxr10MacPingTable.setDescription('mac ping information table.') zxr10MacPingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1), ).setIndexNames((0, "ZXR10-MACPING-MIB", "zxr10PingMacSerial")) if mibBuilder.loadTexts: zxr10MacPingEntry.setStatus('current') if mibBuilder.loadTexts: zxr10MacPingEntry.setDescription('') zxr10PingMacSerial = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacSerial.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacSerial.setDescription('') zxr10PingMacDestMac = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 2), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: zxr10PingMacDestMac.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacDestMac.setDescription('dest mac') zxr10PingMacControlOutEtherIf = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: zxr10PingMacControlOutEtherIf.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacControlOutEtherIf.setDescription('output interface if-index') zxr10PingMacIfOption = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("option", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: zxr10PingMacIfOption.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacIfOption.setDescription('option,default:none ') zxr10PingMacPacketCount = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: zxr10PingMacPacketCount.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacPacketCount.setDescription('packet count') zxr10PingMacTimeOut = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60))).setMaxAccess("readwrite") if mibBuilder.loadTexts: zxr10PingMacTimeOut.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacTimeOut.setDescription('timeout ') zxr10PingMacHops = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: zxr10PingMacHops.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacHops.setDescription('hops ') zxr10PingMacControlResultType = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("summary", 0), ("detail", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: zxr10PingMacControlResultType.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacControlResultType.setDescription('result type ') zxr10PingMacTrapOncompletion = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 9), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: zxr10PingMacTrapOncompletion.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacTrapOncompletion.setDescription('') zxr10PingMacRosStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("not-active", 1), ("start-ping", 2), ("ping-processing", 3), ("ping-completed", 4))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: zxr10PingMacRosStatus.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacRosStatus.setDescription('') zxr10PingMacEntryOwner = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 11), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: zxr10PingMacEntryOwner.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacEntryOwner.setDescription('') zxr10PingMacIfPeOption = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 12), OptionType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: zxr10PingMacIfPeOption.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacIfPeOption.setDescription('') zxr10PingMacVfiName = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 13), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: zxr10PingMacVfiName.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacVfiName.setDescription('') zxr10PingMacPeerAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 1, 1, 14), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: zxr10PingMacPeerAddress.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacPeerAddress.setDescription('') zxr10PingMacResultTable = MibTable((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2), ) if mibBuilder.loadTexts: zxr10PingMacResultTable.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacResultTable.setDescription('mac ping result table.') zxr10pingMacResultEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1), ).setIndexNames((0, "ZXR10-MACPING-MIB", "zxr10PingMacResultSerial")) if mibBuilder.loadTexts: zxr10pingMacResultEntry.setStatus('current') if mibBuilder.loadTexts: zxr10pingMacResultEntry.setDescription('') zxr10PingMacResultSerial = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacResultSerial.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacResultSerial.setDescription('') zxr10PingMacResultSentPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacResultSentPkts.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacResultSentPkts.setDescription('send packets') zxr10PingMacResultRcvPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacResultRcvPkts.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacResultRcvPkts.setDescription('receive packets') zxr10PingMacResultRoundTripMinTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacResultRoundTripMinTime.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacResultRoundTripMinTime.setDescription('min RTT') zxr10PingMacResultRoundTripMaxTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacResultRoundTripMaxTime.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacResultRoundTripMaxTime.setDescription('max RTT') zxr10PingMacResultRoundTripAvgTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacResultRoundTripAvgTime.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacResultRoundTripAvgTime.setDescription('average RTT') zxr10PingMacResultType = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("summary", 0), ("detail", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacResultType.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacResultType.setDescription('result type:(0:summary,1:detail)') zxr10PingMacExtResultDestIfName = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacExtResultDestIfName.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacExtResultDestIfName.setDescription('destion interface') zxr10PingMacExtResultDestHostName = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacExtResultDestHostName.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacExtResultDestHostName.setDescription('destion hostname') zxr10PingMacExtResultSourceIfName = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacExtResultSourceIfName.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacExtResultSourceIfName.setDescription('source interface') zxr10PingMacExtResultSourceHostName = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacExtResultSourceHostName.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacExtResultSourceHostName.setDescription('source hostname') zxr10PingMacExtResultOutVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096))).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacExtResultOutVlanId.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacExtResultOutVlanId.setDescription('out vlanid') zxr10PingMacExtResultInVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096))).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacExtResultInVlanId.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacExtResultInVlanId.setDescription('in vlanid') zxr10PingMacResultEntryOwner = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 14), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacResultEntryOwner.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacResultEntryOwner.setDescription('') zxr10PingMacResultRoundWobbleMinTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacResultRoundWobbleMinTime.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacResultRoundWobbleMinTime.setDescription('min RWT') zxr10PingMacResultRoundWobbleMaxTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacResultRoundWobbleMaxTime.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacResultRoundWobbleMaxTime.setDescription('max RWT') zxr10PingMacResultRoundWobbleAvgTime = MibTableColumn((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 2, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zxr10PingMacResultRoundWobbleAvgTime.setStatus('current') if mibBuilder.loadTexts: zxr10PingMacResultRoundWobbleAvgTime.setDescription('average RWT') macpingNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 3)) macpingTrapResult = NotificationType((1, 3, 6, 1, 4, 1, 3902, 3, 104, 4, 3, 1)).setObjects(("ZXR10-MACPING-MIB", "zxr10PingMacResultSerial"), ("ZXR10-MACPING-MIB", "zxr10PingMacResultSentPkts"), ("ZXR10-MACPING-MIB", "zxr10PingMacResultRcvPkts"), ("ZXR10-MACPING-MIB", "zxr10PingMacResultRoundTripMinTime"), ("ZXR10-MACPING-MIB", "zxr10PingMacResultRoundTripMaxTime"), ("ZXR10-MACPING-MIB", "zxr10PingMacResultRoundTripAvgTime")) if mibBuilder.loadTexts: macpingTrapResult.setStatus('current') if mibBuilder.loadTexts: macpingTrapResult.setDescription("The newMaster trap indicates that the sending agent has transitioned to 'Master' state.") mibBuilder.exportSymbols("ZXR10-MACPING-MIB", zxr10pingMacResultEntry=zxr10pingMacResultEntry, zxr10PingMacTimeOut=zxr10PingMacTimeOut, zxr10PingMacPacketCount=zxr10PingMacPacketCount, macpingTrapResult=macpingTrapResult, zxr10PingMacResultType=zxr10PingMacResultType, zxr10PingMacResultRoundTripMaxTime=zxr10PingMacResultRoundTripMaxTime, zxr10PingMacVfiName=zxr10PingMacVfiName, zxr10PingMacExtResultSourceHostName=zxr10PingMacExtResultSourceHostName, zxr10PingMacEntryOwner=zxr10PingMacEntryOwner, zxr10PingMacControlResultType=zxr10PingMacControlResultType, zxr10PingMacIfPeOption=zxr10PingMacIfPeOption, zxr10PingMacControlOutEtherIf=zxr10PingMacControlOutEtherIf, zxr10MacPingMIB=zxr10MacPingMIB, DisplayString=DisplayString, zxr10PingMacResultRoundWobbleAvgTime=zxr10PingMacResultRoundWobbleAvgTime, zxr10PingMacResultRcvPkts=zxr10PingMacResultRcvPkts, zxr10PingMacTrapOncompletion=zxr10PingMacTrapOncompletion, zxr10PingMacExtResultDestIfName=zxr10PingMacExtResultDestIfName, zxr10MacPingEntry=zxr10MacPingEntry, zxr10PingMacExtResultOutVlanId=zxr10PingMacExtResultOutVlanId, zxr10PingMacHops=zxr10PingMacHops, zxr10PingMacResultRoundWobbleMaxTime=zxr10PingMacResultRoundWobbleMaxTime, zxr10PingMacResultSerial=zxr10PingMacResultSerial, zxr10PingMacIfOption=zxr10PingMacIfOption, zxr10PingMacResultSentPkts=zxr10PingMacResultSentPkts, zxr10PingMacExtResultInVlanId=zxr10PingMacExtResultInVlanId, zxr10PingMacPeerAddress=zxr10PingMacPeerAddress, zxr10PingMacResultRoundWobbleMinTime=zxr10PingMacResultRoundWobbleMinTime, macpingNotifications=macpingNotifications, zxr10PingMacExtResultDestHostName=zxr10PingMacExtResultDestHostName, zxr10PingMacRosStatus=zxr10PingMacRosStatus, zxr10PingMacResultTable=zxr10PingMacResultTable, zxr10PingMacResultEntryOwner=zxr10PingMacResultEntryOwner, zxr10MacPingTable=zxr10MacPingTable, zxr10PingMacResultRoundTripMinTime=zxr10PingMacResultRoundTripMinTime, zxr10PingMacSerial=zxr10PingMacSerial, zxr10PingMacResultRoundTripAvgTime=zxr10PingMacResultRoundTripAvgTime, zxr10PingMacExtResultSourceIfName=zxr10PingMacExtResultSourceIfName, OptionType=OptionType, zxr10PingMacDestMac=zxr10PingMacDestMac)
[ 2, 198, 2, 9485, 15571, 7378, 337, 9865, 8265, 1168, 55, 49, 940, 12, 44, 33056, 2751, 12, 8895, 33, 357, 4023, 1378, 16184, 76, 489, 8937, 13, 785, 14, 79, 893, 11632, 8, 198, 2, 7054, 45, 13, 16, 2723, 2393, 1378, 14, 14490, ...
2.674347
5,816
{ "targets": [ { "target_name": "zlib", "type": "static_library", "include_dirs": [ "config", "zlib", ], "direct_dependent_settings": { "include_dirs": [ "zlib", ], }, "msvs_settings": { "VCCLCompilerTool": { "RuntimeLibrary": 2, }, "VCLinkerTool": { "GenerateDebugInformation": "false", }, }, "xcode_settings": { "OTHER_CFLAGS": [ "-fPIC", "-DPIC", "-O3", "-Wno-implicit-function-declaration", ], }, "cflags": [ "-fPIC", "-DPIC", "-O3", "-Wno-implicit-function-declaration", ], "sources": [ "zlib/adler32.c", "zlib/compress.c", "zlib/crc32.c", "zlib/deflate.c", "zlib/gzclose.c", "zlib/gzlib.c", "zlib/gzread.c", "zlib/gzwrite.c", "zlib/infback.c", "zlib/inffast.c", "zlib/inflate.c", "zlib/inftrees.c", "zlib/trees.c", "zlib/uncompr.c", "zlib/zutil.c", ], }, ], }
[ 90, 198, 220, 220, 220, 366, 83, 853, 1039, 1298, 685, 198, 220, 220, 220, 220, 220, 220, 220, 1391, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 16793, 62, 3672, 1298, 366, 89, 8019, 1600, 198, 220, 220, 220...
1.390917
1,123
from . import ( sequence, stats )
[ 6738, 764, 1330, 357, 198, 220, 220, 220, 8379, 11, 198, 220, 220, 220, 9756, 198, 8 ]
2.411765
17
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys curdir = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, os.path.dirname(curdir)) prodir = os.path.dirname(curdir) sys.path.insert(0, prodir) import warnings warnings.filterwarnings('ignore', category=FutureWarning) os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' # or any {'0', '1', '3'} from Network import Network from tf_models.layers.attention import * from tf_models.layers.transformer import *
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 628, 198, 11748, 28686, 198, 11748, 25064, 198, 198, 66, 2799, 343, 796, 28686, 13, 6978, 13, 15908, 3672, 7, 418, 13, 697...
2.536842
190
# -*- coding: utf-8 -*- # @Time : 2020/12/1 下午11:34 # @Author : 司云中 # @File : wsgi.py # @Software: Pycharm # gunicorn 启动 from application import create_app app = create_app() celery = app.config.get('CELERY_INSTANCE') # celery -A wsgi:celery worker -l info if __name__ == '__main__': # 启动flask服务 app.run(host='127.0.0.1', port=5001) # app.run(host='192.168.1.102', port=5000)
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 2488, 7575, 220, 1058, 12131, 14, 1065, 14, 16, 220, 10310, 233, 39355, 230, 1157, 25, 2682, 198, 2, 2488, 13838, 1058, 10263, 237, 116, 12859, 239, 40792, 198, 2, ...
2.020619
194
# -*- coding:utf-8 -*- from unittest import TestCase from bambou.utils import Sha1
[ 2, 532, 9, 12, 19617, 25, 40477, 12, 23, 532, 9, 12, 198, 6738, 555, 715, 395, 1330, 6208, 20448, 198, 198, 6738, 275, 4131, 280, 13, 26791, 1330, 19413, 16, 628 ]
2.65625
32
import importlib from django.conf import settings from is_valid import is_dict_where, is_in LOADED_GAMES = {}
[ 11748, 1330, 8019, 198, 198, 6738, 42625, 14208, 13, 10414, 1330, 6460, 198, 198, 6738, 318, 62, 12102, 1330, 318, 62, 11600, 62, 3003, 11, 318, 62, 259, 628, 198, 35613, 1961, 62, 38, 29559, 796, 23884, 628, 198 ]
2.974359
39
post_body_park_info_by_name = { "name": "Big Basin Redwoods SP" } park_post_body = { "googlePlaceSearchParameters": { "Latitude": "37.171596527103105", "Longitude": "-122.22204589843994", "Filter": "true", "AvailabilitySearchParams": { "StartDate": "8/30/2017", "Nights": 1, "CategoryId": 0, "ParkCategory": 8, "ChooseActivity": 1 }, "MapboxPlaceid": 3 } } park_post_body_full = { "googlePlaceSearchParameters": { "Latitude": "37.171596527103105", "Longitude": "-122.22204589843994", "South": 37.1511444242048, "North": 37.192043095819, "East": -122.15037727356562, "West": -122.29371452332231, "Filter": True, "BackToHome": "", "CenterLatitude": 37.171596527103105, "CenterLongitude": -122.22204589843994, "ChangeDragandZoom": False, "BacktoFacility": True, "ChooseActivity": None, "IsFilterClick": False, "AvailabilitySearchParams": { "RegionId": 0, "PlaceId": [ 0 ], "FacilityId": 0, "StartDate": "8/30/2017", "Nights": 1, "CategoryId": 0, "UnitTypeIds": [ ], "ShowOnlyAdaUnits": False, "ShowOnlyTentSiteUnits": "False", "ShowOnlyRvSiteUnits": "False", "MinimumVehicleLength": 0, "PageIndex": 0, "PageSize": 20, "Page1": 20, "NoOfRecords": 100, "ShowSiteUnitsName": 0, "Autocomplitename": "Big Basin Redwoods SP", "ParkFinder": [ ], "ParkCategory": 8, "ChooseActivity": 1, "IsPremium": False }, "IsFacilityLevel": False, "PlaceIdFacilityLevel": 0, "MapboxPlaceid": 3 } } campsites_reservations_post_body = { "FacilityId": 332, "PlaceId": 3, "MaximumDates": 120, "IsTablet": True, "MaximumStayforGrid": 1 } advance_search_form = { "__EVENTTARGET": "", "__EVENTARGUMENT": "", "__VIEWSTATE": "/wEPDwULLTEzMTY2NTM4ODUPFgYeCVVuaXRUeXBlczKjKAABAAAA/////wEAAAAAAAAABAEAAADVAlN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuS2V5VmFsdWVQYWlyYDJbW1N5c3RlbS5JbnQzMiwgbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XSxbU3lzdGVtLlN0cmluZywgbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OV1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24DAADlAVN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLktleVZhbHVlUGFpcmA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ff////9////bBEAAAYKAAAAD0NhbXBpbmcgUGFja2FnZQH1/////f///20RAAAGDAAAAAxEZWx1eGUgQ2FiaW4B8/////3////tEAAABg4AAAAfRG91YmxlIEhvb2sgVXAgKEUvVy9TKSBDYW1wc2l0ZQHx/////f///0cRAAAGEAAAABRIb3RlbCBSb29tIChCYWxjb255KQHv/////f///0kRAAAGEgAAABJIb3RlbCBSb29tIChCYXNpYykB7f////3///9IEQAABhQAAAAVSG90ZWwgUm9vbSAoU3RhbmRhcmQpAev////9////6RAAAAYWAAAAHk9mZiBSb2FkIFZlaGljbGUgVGVudCBDYW1wc2l0ZQHp/////f///0oRAAAGGAAAACJQcmVtaXVtIEJvYXQgSW4gUHJpbWl0aXZlIENhbXBzaXRlAef////9////VREAAAYaAAAAEVByZW1pdW0gQ2FiaW4gKDIpAeX////9////VxEAAAYcAAAAEVByZW1pdW0gQ2FiaW4gKDMpAeP////9////VhEAAAYeAAAAEVByZW1pdW0gQ2FiaW4gKDUpAeH////9////SxEAAAYgAAAAEFByZW1pdW0gQ2FtcHNpdGUB3/////3///81EQAABiIAAAAPUHJlbWl1bSBDb3R0YWdlAd3////9////XhEAAAYkAAAAE1ByZW1pdW0gQ290dGFnZSAoMikB2/////3///9fEQAABiYAAAATUHJlbWl1bSBDb3R0YWdlICgzKQHZ/////f///2ARAAAGKAAAABNQcmVtaXVtIENvdHRhZ2UgKDQpAdf////9////YREAAAYqAAAAE1ByZW1pdW0gQ290dGFnZSAoNikB1f////3///9jEQAABiwAAAATUHJlbWl1bSBDb3R0YWdlICg4KQHT/////f///1gRAAAGLgAAACdQcmVtaXVtIERvdWJsZSBIb29rIFVwIChFL1cvUykgQ2FtcHNpdGUB0f////3///9kEQAABjAAAAAeUHJlbWl1bSBHcm91cCBCb2F0LUluIENhbXBzaXRlAc/////9////VBEAAAYyAAAAFlByZW1pdW0gR3JvdXAgQ2FtcHNpdGUBzf////3///9lEQAABjQAAAAbUHJlbWl1bSBHcm91cCBUZW50IENhbXBzaXRlAcv////9////WhEAAAY2AAAAHVByZW1pdW0gSG9vayBVcCAoRSApIENhbXBzaXRlAcn////9////WxEAAAY4AAAAHlByZW1pdW0gSG9vayBVcCAoRS9XKSBDYW1wc2l0ZQHH/////f///1wRAAAGOgAAACBQcmVtaXVtIEhvb2sgVXAgKEUvVy9TKSBDYW1wc2l0ZQHF/////f///10RAAAGPAAAABhQcmVtaXVtIEhvb2sgVXAgQ2FtcHNpdGUBw/////3///9eBAAABj4AAAAaUHJlbWl1bSBQcmltaXRpdmUgQ2FtcHNpdGUBwf////3///9SEQAABkAAAAAVUHJlbWl1bSBUZW50IENhbXBzaXRlAb/////9////JhEAAAZCAAAACUJvYXQgU2xpcAG9/////f///0YEAAAGRAAAAAhZdXJ0ICg0KQG7/////f///y0EAAAGRgAAAAhZdXJ0ICg2KQG5/////f///ycRAAAGSAAAAApDYWJpbiAoMTApAbf////9////KBEAAAZKAAAACUNhYmluICgyKQG1/////f///ykRAAAGTAAAAAlDYWJpbiAoMykBs/////3///8yAAAABk4AAAAHQm9hdC1JbgGx/////f///yoRAAAGUAAAAAlDYWJpbiAoNCkBr/////3///8rEQAABlIAAAAJQ2FiaW4gKDUpAa3////9////LBEAAAZUAAAACUNhYmluICg2KQGr/////f///y0RAAAGVgAAAAlDYWJpbiAoOCkBqf////3///83AAAABlgAAAAWR3JvdXAgQm9hdC1JbiBDYW1wc2l0ZQGn/////f///zARAAAGWgAAAAtDb3R0YWdlICg0KQGl/////f///zIRAAAGXAAAAAtDb3R0YWdlICg2KQGj/////f///zQRAAAGXgAAAAtDb3R0YWdlICg4KQGh/////f///zcRAAAGYAAAAChFcXVlc3RyYWluIEdyb3VwIFRlbnQgUHJpbWl0aXZlIENhbXBzaXRlAZ/////9////OBEAAAZiAAAAI0VxdWVzdHJpYW4gR3JvdXAgUHJpbWl0aXZlIENhbXBzaXRlAZ3////9////OREAAAZkAAAAHkVxdWVzdHJpYW4gR3JvdXAgVGVudCBDYW1wc2l0ZQGb/////f///zoRAAAGZgAAACdFcXVlc3RyaWFuIEhpa2UvQmlrZSBQcmltaXRpdmUgQ2FtcHNpdGUBmf////3////NEAAABmgAAAAQQmlrZSBJbiBDYW1wc2l0ZQGX/////f///zsRAAAGagAAABZGbG9hdGluZyBDYW1wIENhbXBzaXRlAZX////9////zhAAAAZsAAAAGkJpa2UgSW4gUHJpbWl0aXZlIENhbXBzaXRlAZP////9////PBEAAAZuAAAAFkdyb3VwIEhpa2UgSW4gQ2FtcHNpdGUBkf////3////PEAAABnAAAAAIQ2FtcHNpdGUBj/////3///89EQAABnIAAAAgR3JvdXAgSGlrZSBJbiBQcmltaXRpdmUgQ2FtcHNpdGUBjf////3////QEAAABnQAAAAQRGF5IFVzZSBQYXZpbGlvbgGL/////f///z4RAAAGdgAAAB1Hcm91cCBUZW50IFByaW1pdGl2ZSBDYW1wc2l0ZQGJ/////f///9EQAAAGeAAAABBFbnJvdXRlIENhbXBzaXRlAYf////9////0hAAAAZ6AAAAE0VxdWVzdHJpYW4gQ2FtcHNpdGUBhf////3////TEAAABnwAAAAZRXF1ZXN0cmlhbiBHcm91cCBDYW1wc2l0ZQGD/////f///0ERAAAGfgAAABBIb29rIFVwIENhbXBzaXRlAYH////9////1BAAAAaAAAAAHUVxdWVzdHJpYW4gUHJpbWl0aXZlIENhbXBzaXRlAX/////9////QhEAAAaCAAAADlJlbnRhbCAoRS9XL1MpAX3////9////1RAAAAaEAAAAGEVxdWVzdHJpYW4gVGVudCBDYW1wc2l0ZQF7/////f///0MRAAAGhgAAABVUZW50IEhpa2UgSW4gQ2FtcHNpdGUBef////3////WEAAABogAAAAZR3JvdXAgIFByaW1pdGl2ZSBDYW1wc2l0ZQF3/////f///0QRAAAGigAAAB9UZW50IEhpa2UgSW4gUHJpbWl0aXZlIENhbXBzaXRlAXX////9////1xAAAAaMAAAADUdyb3VwIENhbXBpbmcBc/////3///9FEQAABo4AAAAhVGVudCBIaWtlL0Jpa2UgUHJpbWl0aXZlIENhbXBzaXRlAXH////9////2BAAAAaQAAAADkdyb3VwIENhbXBzaXRlAW/////9////RhEAAAaSAAAAF1RlbnQgUHJpbWl0aXZlIENhbXBzaXRlAW3////9////2RAAAAaUAAAADUdyb3VwIERheSBVc2UBa/////3////aEAAABpYAAAAgR3JvdXAgSG9vayBVcCAoRSApIFRlbnQgQ2FtcHNpdGUBaf////3////bEAAABpgAAAAYR3JvdXAgUHJpbWl0aXZlIENhbXBzaXRlAWf////9////3BAAAAaaAAAAE0dyb3VwIFRlbnQgQ2FtcHNpdGUBZf////3////dEAAABpwAAAAQSGlrZSBpbiBDYW1wc2l0ZQFj/////f///94QAAAGngAAABpIaWtlIEluIFByaW1pdGl2ZSBDYW1wc2l0ZQFh/////f///98QAAAGoAAAABhIaWtlIEluL0Jpa2UgSW4gQ2FtcHNpdGUBX/////3////gEAAABqIAAAASSGlrZS9CaWtlIENhbXBzaXRlAV3////9////4RAAAAakAAAAFUhvb2sgVXAgKEUgKSBDYW1wc2l0ZQFb/////f///+IQAAAGpgAAABZIb29rIFVwIChFL1cpIENhbXBzaXRlAVn////9////4xAAAAaoAAAAGEhvb2sgVXAgKEUvVy9HKSBDYW1wc2l0ZQFX/////f///+QQAAAGqgAAABhIb29rIFVwIChFL1cvUykgQ2FtcHNpdGUBVf////3////lEAAABqwAAAAWSG9vayBVcCAoVy9TKSBDYW1wc2l0ZQFT/////f///+YQAAAGrgAAABJIb3RlbCBSb29tIChRdWVlbikBUf////3////nEAAABrAAAAASUHJpbWl0aXZlIENhbXBzaXRlAU/////9////6BAAAAayAAAADVRlbnQgQ2FtcHNpdGUBTf////3///8AAAAACgFM/////f///wAAAAAKAUv////9////AAAAAAoBSv////3///8AAAAACgFJ/////f///wAAAAAKAUj////9////AAAAAAoBR/////3///8AAAAACgFG/////f///wAAAAAKAUX////9////AAAAAAoBRP////3///8AAAAACgFD/////f///wAAAAAKAUL////9////AAAAAAoBQf////3///8AAAAACgFA/////f///wAAAAAKAT/////9////AAAAAAoBPv////3///8AAAAACgE9/////f///wAAAAAKATz////9////AAAAAAoBO/////3///8AAAAACgE6/////f///wAAAAAKATn////9////AAAAAAoBOP////3///8AAAAACgE3/////f///wAAAAAKATb////9////AAAAAAoBNf////3///8AAAAACgE0/////f///wAAAAAKATP////9////AAAAAAoBMv////3///8AAAAACgEx/////f///wAAAAAKATD////9////AAAAAAoBL/////3///8AAAAACgEu/////f///wAAAAAKAS3////9////AAAAAAoBLP////3///8AAAAACgEr/////f///wAAAAAKASr////9////AAAAAAoBKf////3///8AAAAACgEo/////f///wAAAAAKASf////9////AAAAAAoBJv////3///8AAAAACgseEkFycml2YWxEYXRlRGlzcGxheQZP8JADL+fUiB4LQXJyaXZhbERhdGUGT/CQAy/n1IgWAmYPDxYCHhZGdXR1cmVCb29raW5nU3RhcnREYXRlBgAAlGZe59QIZBYIZg9kFgICCg8WAh4EaHJlZgVNaHR0cHM6Ly9jYWxpLWNvbnRlbnQudXNlZGlyZWN0LmNvbS90aGVtZXMvQ2FsaWZvcm5pYS9TdHlsZXMvanF1ZXJ5LXVpLm1pbi5jc3NkAgIPDxYEHhRGdXR1cmVCb29raW5nRW5kRGF0ZQYAQCy4K3fVCB4LTWF4aW11bVN0YXkCHmRkAgMPZBYIAgQPDxYEHwEGT/CQAy/n1IgfAgZP8JADL+fUiGQWCAIFDxAPFgIeC18hRGF0YUJvdW5kZ2RkZGQCBw8PFgIeBFRleHQFCTgvMTkvMjAxN2RkAggPZBYCAgMPEA8WAh8HZ2QQFR4BMQEyATMBNAE1ATYBNwE4ATkCMTACMTECMTICMTMCMTQCMTUCMTYCMTcCMTgCMTkCMjACMjECMjICMjMCMjQCMjUCMjYCMjcCMjgCMjkCMzAVHgExATIBMwE0ATUBNgE3ATgBOQIxMAIxMQIxMgIxMwIxNAIxNQIxNgIxNwIxOAIxOQIyMAIyMQIyMgIyMwIyNAIyNQIyNgIyNwIyOAIyOQIzMBQrAx5nZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2cWAW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TcyNzUgKENsb3NlZCBDaHJpc3RtYXMgRGF5LCBOZXcgWWVhcnMgRGF5LCBhbmQgVGhhbmtzZ2l2aW5nKTwvc3Bhbj4gIC0tPjwvZGl2Pg0KPGRpdiBjbGFzcz0icm93MSI+DQo8ZGl2IGNsYXNzPSJjb2wtbWQtMTIgY29sLXNtLTEyIGNvcHlyaWdodHMiPkNvcHlyaWdodCAmY29weTsgMjAxNyZuYnNwOyBTdGF0ZSBvZiBDYWxpZm9ybmlhPC9kaXY+DQo8L2Rpdj4NCjwvZGl2Pg0KPGRpdiBjbGFzcz0iaW5jbHVkZUZvb3RlciI+Jm5ic3A7PC9kaXY+DQo8L2Rpdj4NCjwvZGl2Pg0KPC9mb290ZXI+ZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAgU1Y3RsMDEkbWFpbkNvbnRlbnQkTGVmdE1lbnVBZHZhbmNlRmlsdGVyJGNoa0FjY2Vzc2libGUFNGN0bDAxJG1haW5Db250ZW50JExlZnRNZW51QWR2YW5jZUZpbHRlciRjaGtJc1ByZW1pdW1lheu/MTDYLIrPULDpul3uaKT0u1IsERFYLp8pUi2c8g==", "__VIEWSTATEGENERATOR": "6660105B", "ctl01$mainContent$txtDateRange": "8/30/2017", "ctl01$mainContent$Grid_ddlNights": "1", "ctl01$mainContent$hdnPlaceid": "3", "ctl01$mainContent$hdnFacilityid": "339" } advance_search_form_full = { "__EVENTTARGET": "", "__EVENTARGUMENT": "", "__VIEWSTATE": "/wEPDwULLTEzMTY2NTM4ODUPFgYeCVVuaXRUeXBlczKjKAABAAAA/////wEAAAAAAAAABAEAAADVAlN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuS2V5VmFsdWVQYWlyYDJbW1N5c3RlbS5JbnQzMiwgbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCB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liLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OV0sW1N5c3RlbS5TdHJpbmcsIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OV1dAgAAAANrZXkFdmFsdWUAAQjsEAAABgQAAAANQm9hdCBDYW1wc2l0ZQH7/////f///+sQAAAGBgAAABBCb2F0IEluIENhbXBzaXRlAfn////9////6hAAAAYIAAAAGkJvYXQgSW4gUHJpbWl0aXZlIENhbXBzaXRlAff////9////bBEAAAYKAAAAD0NhbXBpbmcgUGFja2FnZQH1/////f///20RAAAGDAAAAAxEZWx1eGUgQ2FiaW4B8/////3////tEAAABg4AAAAfRG91YmxlIEhvb2sgVXAgKEUvVy9TKSBDYW1wc2l0ZQHx/////f///0cRAAAGEAAAABRIb3RlbCBSb29tIChCYWxjb255KQHv/////f///0kRAAAGEgAAABJIb3RlbCBSb29tIChCYXNpYykB7f////3///9IEQAABhQAAAAVSG90ZWwgUm9vbSAoU3RhbmRhcmQpAev////9////6RAAAAYWAAAAHk9mZiBSb2FkIFZlaGljbGUgVGVudCBDYW1wc2l0ZQHp/////f///0oRAAAGGAAAACJQcmVtaXVtIEJvYXQgSW4gUHJpbWl0aXZlIENhbXBzaXRlAef////9////VREAAAYaAAAAEVByZW1pdW0gQ2FiaW4gKDIpAeX////9////VxEAAAYcAAAAEVByZW1pdW0gQ2FiaW4gKDMpAeP////9////VhEAAAYeAAAAEVByZW1pdW0gQ2FiaW4gKDUpAeH////9////SxEAAAYgAAAAEFByZW1pdW0gQ2FtcHNpdGUB3/////3///81EQAABiIAAAAPUHJlbWl1bSBDb3R0YWdlAd3////9////XhEAAAYkAAAAE1ByZW1pdW0gQ290dGFnZSAoMikB2/////3///9fEQAABiYAAAATUHJlbWl1bSBDb3R0YWdlICgzKQHZ/////f///2ARAAAGKAAAABNQcmVtaXVtIENvdHRhZ2UgKDQpAdf////9////YREAAAYqAAAAE1ByZW1pdW0gQ290dGFnZSAoNikB1f////3///9jEQAABiwAAAATUHJlbWl1bSBDb3R0YWdlICg4KQHT/////f///1gRAAAGLgAAACdQcmVtaXVtIERvdWJsZSBIb29rIFVwIChFL1cvUykgQ2FtcHNpdGUB0f////3///9kEQAABjAAAAAeUHJlbWl1bSBHcm91cCBCb2F0LUluIENhbXBzaXRlAc/////9////VBEAAAYyAAAAFlByZW1pdW0gR3JvdXAgQ2FtcHNpdGUBzf////3///9lEQAABjQAAAAbUHJlbWl1bSBHcm91cCBUZW50IENhbXBzaXRlAcv////9////WhEAAAY2AAAAHVByZW1pdW0gSG9vayBVcCAoRSApIENhbXBzaXRlAcn////9////WxEAAAY4AAAAHlByZW1pdW0gSG9vayBVcCAoRS9XKSBDYW1wc2l0ZQHH/////f///1wRAAAGOgAAACBQcmVtaXVtIEhvb2sgVXAgKEUvVy9TKSBDYW1wc2l0ZQHF/////f///10RAAAGPAAAABhQcmVtaXVtIEhvb2sgVXAgQ2FtcHNpdGUBw/////3///9eBAAABj4AAAAaUHJlbWl1bSBQcmltaXRpdmUgQ2FtcHNpdGUBwf////3///9SEQAABkAAAAAVUHJlbWl1bSBUZW50IENhbXBzaXRlAb/////9////JhEAAAZCAAAACUJvYXQgU2xpcAG9/////f///0YEAAAGRAAAAAhZdXJ0ICg0KQG7/////f///y0EAAAGRgAAAAhZdXJ0ICg2KQG5/////f///ycRAAAGSAAAAApDYWJpbiAoMTApAbf////9////KBEAAAZKAAAACUNhYmluICgyKQG1/////f///ykRAAAGTAAAAAlDYWJpbiAoMykBs/////3///8yAAAABk4AAAAHQm9hdC1JbgGx/////f///yoRAAAGUAAAAAlDYWJpbiAoNCkBr/////3///8rEQAABlIAAAAJQ2FiaW4gKDUpAa3////9////LBEAAAZUAAAACUNhYmluICg2KQGr/////f///y0RAAAGVgAAAAlDYWJpbiAoOCkBqf////3///83AAAABlgAAAAWR3JvdXAgQm9hdC1JbiBDYW1wc2l0ZQGn/////f///zARAAAGWgAAAAtDb3R0YWdlICg0KQGl/////f///zIRAAAGXAAAAAtDb3R0YWdlICg2KQGj/////f///zQRAAAGXgAAAAtDb3R0YWdlICg4KQGh/////f///zcRAAAGYAAAAChFcXVlc3RyYWluIEdyb3VwIFRlbnQgUHJpbWl0aXZlIENhbXBzaXRlAZ/////9////OBEAAAZiAAAAI0VxdWVzdHJpYW4gR3JvdXAgUHJpbWl0aXZlIENhbXBzaXRlAZ3////9////OREAAAZkAAAAHkVxdWVzdHJpYW4gR3JvdXAgVGVudCBDYW1wc2l0ZQGb/////f///zoRAAAGZgAAACdFcXVlc3RyaWFuIEhpa2UvQmlrZSBQcmltaXRpdmUgQ2FtcHNpdGUBmf////3////NEAAABmgAAAAQQmlrZSBJbiBDYW1wc2l0ZQGX/////f///zsRAAAGagAAABZGbG9hdGluZyBDYW1wIENhbXBzaXRlAZX////9////zhAAAAZsAAAAGkJpa2UgSW4gUHJpbWl0aXZlIENhbXBzaXRlAZP////9////PBEAAAZuAAAAFkdyb3VwIEhpa2UgSW4gQ2FtcHNpdGUBkf////3////PEAAABnAAAAAIQ2FtcHNpdGUBj/////3///89EQAABnIAAAAgR3JvdXAgSGlrZSBJbiBQcmltaXRpdmUgQ2FtcHNpdGUBjf////3////QEAAABnQAAAAQRGF5IFVzZSBQYXZpbGlvbgGL/////f///z4RAAAGdgAAAB1Hcm91cCBUZW50IFByaW1pdGl2ZSBDYW1wc2l0ZQGJ/////f///9EQAAAGeAAAABBFbnJvdXRlIENhbXBzaXRlAYf////9////0hAAAAZ6AAAAE0VxdWVzdHJpYW4gQ2FtcHNpdGUBhf////3////TEAAABnwAAAAZRXF1ZXN0cmlhbiBHcm91cCBDYW1wc2l0ZQGD/////f///0ERAAAGfgAAABBIb29rIFVwIENhbXBzaXRlAYH////9////1BAAAAaAAAAAHUVxdWVzdHJpYW4gUHJpbWl0aXZlIENhbXBzaXRlAX/////9////QhEAAAaCAAAADlJlbnRhbCAoRS9XL1MpAX3////9////1RAAAAaEAAAAGEVxdWVzdHJpYW4gVGVudCBDYW1wc2l0ZQF7/////f///0MRAAAGhgAAABVUZW50IEhpa2UgSW4gQ2FtcHNpdGUBef////3////WEAAABogAAAAZR3JvdXAgIFByaW1pdGl2ZSBDYW1wc2l0ZQF3/////f///0QRAAAGigAAAB9UZW50IEhpa2UgSW4gUHJpbWl0aXZlIENhbXBzaXRlAXX////9////1xAAAAaMAAAADUdyb3VwIENhbXBpbmcBc/////3///9FEQAABo4AAAAhVGVudCBIaWtlL0Jpa2UgUHJpbWl0aXZlIENhbXBzaXRlAXH////9////2BAAAAaQAAAADkdyb3VwIENhbXBzaXRlAW/////9////RhEAAAaSAAAAF1RlbnQgUHJpbWl0aXZlIENhbXBzaXRlAW3////9////2RAAAAaUAAAADUdyb3VwIERheSBVc2UBa/////3////aEAAABpYAAAAgR3JvdXAgSG9vayBVcCAoRSApIFRlbnQgQ2FtcHNpdGUBaf////3////bEAAABpgAAAAYR3JvdXAgUHJpbWl0aXZlIENhbXBzaXRlAWf////9////3BAAAAaaAAAAE0dyb3VwIFRlbnQgQ2FtcHNpdGUBZf////3////dEAAABpwAAAAQSGlrZSBpbiBDYW1wc2l0ZQFj/////f///94QAAAGngAAABpIaWtlIEluIFByaW1pdGl2ZSBDYW1wc2l0ZQFh/////f///98QAAAGoAAAABhIaWtlIEluL0Jpa2UgSW4gQ2FtcHNpdGUBX/////3////gEAAABqIAAAASSGlrZS9CaWtlIENhbXBzaXRlAV3////9////4RAAAAakAAAAFUhvb2sgVXAgKEUgKSBDYW1wc2l0ZQFb/////f///+IQAAAGpgAAABZIb29rIFVwIChFL1cpIENhbXBzaXRlAVn////9////4xAAAAaoAAAAGEhvb2sgVXAgKEUvVy9HKSBDYW1wc2l0ZQFX/////f///+QQAAAGqgAAABhIb29rIFVwIChFL1cvUykgQ2FtcHNpdGUBVf////3////lEAAABqwAAAAWSG9vayBVcCAoVy9TKSBDYW1wc2l0ZQFT/////f///+YQAAAGrgAAABJIb3RlbCBSb29tIChRdWVlbikBUf////3////nEAAABrAAAAASUHJpbWl0aXZlIENhbXBzaXRlAU/////9////6BAAAAayAAAADVRlbnQgQ2FtcHNpdGUBTf////3///8AAAAACgFM/////f///wAAAAAKAUv////9////AAAAAAoBSv////3///8AAAAACgFJ/////f///wAAAAAKAUj////9////AAAAAAoBR/////3///8AAAAACgFG/////f///wAAAAAKAUX////9////AAAAAAoBRP////3///8AAAAACgFD/////f///wAAAAAKAUL////9////AAAAAAoBQf////3///8AAAAACgFA/////f///wAAAAAKAT/////9////AAAAAAoBPv////3///8AAAAACgE9/////f///wAAAAAKATz////9////AAAAAAoBO/////3///8AAAAACgE6/////f///wAAAAAKATn////9////AAAAAAoBOP////3///8AAAAACgE3/////f///wAAAAAKATb////9////AAAAAAoBNf////3///8AAAAACgE0/////f///wAAAAAKATP////9////AAAAAAoBMv////3///8AAAAACgEx/////f///wAAAAAKATD////9////AAAAAAoBL/////3///8AAAAACgEu/////f///wAAAAAKAS3////9////AAAAAAoBLP////3///8AAAAACgEr/////f///wAAAAAKASr////9////AAAAAAoBKf////3///8AAAAACgEo/////f///wAAAAAKASf////9////AAAAAAoBJv////3///8AAAAACgseEkFycml2YWxEYXRlRGlzcGxheQZP8JADL+fUiB4LQXJyaXZhbERhdGUGT/CQAy/n1IgWAmYPDxYCHhZGdXR1cmVCb29raW5nU3RhcnREYXRlBgAAlGZe59QIZBYIZg9kFgICCg8WAh4EaHJlZgVNaHR0cHM6Ly9jYWxpLWNvbnRlbnQudXNlZGlyZWN0LmNvbS90aGVtZXMvQ2FsaWZvcm5pYS9TdHlsZXMvanF1ZXJ5LXVpLm1pbi5jc3NkAgIPDxYEHhRGdXR1cmVCb29raW5nRW5kRGF0ZQYAQCy4K3fVCB4LTWF4aW11bVN0YXkCHmRkAgMPZBYIAgQPDxYEHwEGT/CQAy/n1IgfAgZP8JADL+fUiGQWCAIFD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l01$AdvanceMainSearch$hdnAutoPlaceId": "", "ctl01$AdvanceMainSearch$hdnLat": "37.17159652709961", "ctl01$AdvanceMainSearch$hdnLag": "-122.2220458984375", "ctl01$AdvanceMainSearch$hdnautocomplete": "", "ctl01$AdvanceMainSearch$hdncustomautocomplete": "", "ctl01$AdvanceMainSearch$hdnArrivalDate": "8/30/2017", "ctl01$AdvanceMainSearch$txtArrivalDate": "8/30/2017", "ctl01$AdvanceMainSearch$hdnNights": "1", "ctl01$AdvanceMainSearch$ddlNights": "1", "ctl01$ctl11$indexValue": "", "ctl01$ctl11$hidddlCategories": "", "ctl01$ctl11$hidddlUnitType": "", "ctl01$ctl11$hdnParkFinder": "", "ctl01$ctl11$hdnSelectRentalType": "0", "ctl01$ctl11$hdnSelectCampingEquip": "0", "ctl01$ctl11$hdnLeftUnitTypeName": "", "ctl01$ctl11$hdnSelectedCategoryName": "", "ctl01$ctl11$hdnSelectedRegionId": "0", "ctl01$ctl11$hdnSelectedUnittypeId": "", "ctl01$ctl11$hdnplaceid": "", "ctl01$ctl11$hdnMultiSelect": "", "ctl01$ctl11$hdnIsPremium": "false", "ctl01$ctl11$ddlCategories": "", "ctl01$ctl11$ddlCampingUnit": "0", "ctl01$ctl11$ddlLenght": "Trailer Length", "ctl01$mainContent$hdnUnitTotalDay": "6", "ctl01$mainContent$hdnFilterSouth": "", "ctl01$mainContent$hdnFilterNorth": "", "ctl01$mainContent$hdnFilterEast": "", "ctl01$mainContent$hdnFilterWest": "", "ctl01$mainContent$hdnFilterCenterLat": "", "ctl01$mainContent$hdnFilterCenterLong": "", "ctl01$mainContent$btngetFacilitiess": "Hure", "ctl01$mainContent$hdndefaultLag": "-122.22203", "ctl01$mainContent$hdndefaultLat": "37.17159", "ctl01$mainContent$hdnCheckListDatalistmode": "1", "ctl01$mainContent$hdnWebConfigRadiusCheck": "0", "ctl01$mainContent$hdnWebConfigRadiusValue": "150", "ctl01$mainContent$Hidscreenresolution": "1440", "ctl01$mainContent$hdnAllhideControl": "", "ctl01$mainContent$hidddlUnitType": "", "ctl01$mainContent$hdnPlaceid": "3", "ctl01$mainContent$hdnPlaceFacilirySize": "large", "ctl01$mainContent$hdnDDLPlaceId": "", "ctl01$mainContent$hdnFacilityid": "335", "ctl01$mainContent$hdnFacilityType": "1", "ctl01$mainContent$hdnNodeclick": "0", "ctl01$mainContent$hiddenPlaceLevel": "Facility", "ctl01$mainContent$hdnPlaceCategoryId": "", "ctl01$mainContent$hdClient": "", "ctl01$mainContent$hdnFav": "", "ctl01$mainContent$hdnCheckAfterpostback": "", "ctl01$mainContent$hiddenRPlaceLevel": "", "ctl01$mainContent$hdnBPlaceID": "", "ctl01$mainContent$hdnBFacilityID": "", "ctl01$mainContent$hdnGoback": "", "ctl01$mainContent$hdnSouth": "", "ctl01$mainContent$hdnNorth": "", "ctl01$mainContent$hdnEast": "", "ctl01$mainContent$hdnWest": "", "ctl01$mainContent$hdnCenterlat": "37.171589999999085", "ctl01$mainContent$hdnCenterlong": "-122.2220299999957", "ctl01$mainContent$hdnCenterpointName": "0", "ctl01$mainContent$hdnCenterpointlat": "0", "ctl01$mainContent$hdnCenterpointlng": "0", "ctl01$mainContent$hdnGooglePlaceRefId": "0", "ctl01$mainContent$hdnGoogleFacilityName": "0", "ctl01$mainContent$hdnGoolgePlaceImage": "0", "ctl01$mainContent$hdnCheckParkDataField": "0", "ctl01$mainContent$facilityChanged": "", "ctl01$mainContent$txtDateRange": "8/30/2017", "ctl01$mainContent$Grid_ddlNights": "1", "ctl01$mainContent$TopMenuMainSearch$ddlFacilityCategory": "1", "ctl01$mainContent$TopMenuMainSearch$txtTopArrivalDate": "8/30/2017", "ctl01$mainContent$TopMenuMainSearch$ddlTopNights": "1", "ctl01$mainContent$TopMenuMainSearch$ddlSortBy": "3", "ctl01$mainContent$ugReservationGrid$hdnnotavailableunitAdvanced": "", "ctl01$mainContent$LeftMenuAdvanceFilter$hidddlLeft_UnitType": "", "ctl01$mainContent$LeftMenuAdvanceFilter$hdnLeft_SelectedCategoryName": "", "ctl01$mainContent$LeftMenuAdvanceFilter$hidddlLeft_Categories": "", "ctl01$mainContent$LeftMenuAdvanceFilter$Left_indexValue": "", "ctl01$mainContent$LeftMenuAdvanceFilter$hdnLeft_SelectedUnittypeId": "", "ctl01$mainContent$LeftMenuAdvanceFilter$hdnLeft_SelectRentalType": "", "ctl01$mainContent$LeftMenuAdvanceFilter$hdnLeft_SelectCampingEquip": "0", "ctl01$mainContent$LeftMenuAdvanceFilter$hdnLeft_placeid": "", "ctl01$mainContent$LeftMenuAdvanceFilter$ddlLeft_Categories": "", "ctl01$mainContent$LeftMenuAdvanceFilter$ddlLeft_CampingUnit": "0", "ctl01$mainContent$LeftMenuAdvanceFilter$ddlLeft_Lenght": "Trailer Length", "ctl01$mainContent$mapGooglePlaces$hidEventName": "", "ctl01$mainContent$mapGooglePlaces$hidEventValue": "" } one_campsite_post_body = { "FacilityId": 332, "PlaceId": 3, "MaximumDates": 1, "IsTablet": True, "MaximumStayforGrid": 1 } web_home_short = { "__EVENTTARGET": "", "__EVENTARGUMENT": "", "__VIEWSTATE": "/wEPDwUJNTYwNzY5OTkyD2QWAmYPDxYEHhJBcnJpdmFsRGF0ZURpc3BsYXkGAEB4j97s1AgeC0Fycml2YWxEYXRlBgBAeI/e7NQIZBYCZg8PFgIeFkZ1dHVyZUJvb2tpbmdTdGFydERhdGUGAEB4j97s1AhkFghmD2QWAgIKDxYCHgRocmVmBU1odHRwczovL2NhbGktY29udGVudC51c2VkaXJlY3QuY29tL3RoZW1lcy9DYWxpZm9ybmlhL1N0eWxlcy9qcXVlcnktdWkubWluLmNzc2QCAg8PFgQeFEZ1dHVyZUJvb2tpbmdFbmREYXRlBgCAEOGrfNUIHgtNYXhpbXVtU3RheQIeZGQCAw9kFgYCBA8PFgQfAAYAQHiP3uzUCB8BBgBAeI/e7NQIZBYIAgUPEA8WAh4LXyFEYXRhQm91bmRnZGRkZAIHDw8WAh4EVGV4dAUJOC8yNy8yMDE3ZGQC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V2hpdGU7IGZvbnQtc2l6ZTogMTJweDsiIGlkPSJMYWJlbDEiPk5lZWQgSGVscD8gQ2FsbCB1cyA4IEEuTS4gdG8gNiBQLk0uIERhaWx5IDgwMC00NDQtNzI3NSAoQ2xvc2VkIENocmlzdG1hcyBEYXksIE5ldyBZZWFycyBEYXksIGFuZCBUaGFua3NnaXZpbmcpPC9zcGFuPiAgLS0+PC9kaXY+DQo8ZGl2IGNsYXNzPSJyb3cxIj4NCjxkaXYgY2xhc3M9ImNvbC1tZC0xMiBjb2wtc20tMTIgY29weXJpZ2h0cyI+Q29weXJpZ2h0ICZjb3B5OyAyMDE3Jm5ic3A7IFN0YXRlIG9mIENhbGlmb3JuaWE8L2Rpdj4NCjwvZGl2Pg0KPC9kaXY+DQo8ZGl2IGNsYXNzPSJpbmNsdWRlRm9vdGVyIj4mbmJzcDs8L2Rpdj4NCjwvZGl2Pg0KPC9kaXY+DQo8L2Zvb3Rlcj5kZLZ6sfXPPuFkFOOQG/etH5eIc3BOxlVkEyEvX7usToX0", "__VIEWSTATEGENERATOR": "34651395", "ctl00$ctl00$mainContent$hdnMasterPlaceId": "3", "ctl00$ctl00$mainContent$txtArrivalDate": "08/30/2017", "ctl00$ctl00$mainContent$ddlHomeNights": "1", "ctl00$ctl00$mainContent$btnSearch": "Go" } web_home = { "__EVENTTARGET": "", "__EVENTARGUMENT": "", "__VIEWSTATE": "/wEPDwUJNTYwNzY5OTkyD2QWAmYPDxYEHhJBcnJpdmFsRGF0ZURpc3BsYXkGAEB4j97s1AgeC0Fycml2YWxEYXRlBgBAeI/e7NQIZBYCZg8PFgIeFkZ1dHVyZUJvb2tpbmdTdGFydERhdGUGAEB4j97s1AhkFghmD2QWAgIKDxYCHgRocmVmBU1odHRwczovL2NhbGktY29udGVudC51c2VkaXJlY3QuY29tL3RoZW1lcy9DYWxpZm9ybmlhL1N0eWxlcy9qcXVlcnktdWkubWluLmNzc2QCAg8PFgQeFEZ1dHVyZUJvb2tpbmdFbmREYXR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GU7IGZvbnQtc2l6ZTogMTJweDsiPkNvbnRhY3QgVXM6IDEtODAwLTQ0NC03Mjc1IDg6MDBhbSAtIDY6MDBwbSBQYWNpZmljIFRpbWUgKFBUKSA8L3NwYW4+IDwhLS0gIDxzcGFuIHN0eWxlPSJjb2xvcjogV2hpdGU7IGZvbnQtc2l6ZTogMTJweDsiIGlkPSJMYWJlbDEiPk5lZWQgSGVscD8gQ2FsbCB1cyA4IEEuTS4gdG8gNiBQLk0uIERhaWx5IDgwMC00NDQtNzI3NSAoQ2xvc2VkIENocmlzdG1hcyBEYXksIE5ldyBZZWFycyBEYXksIGFuZCBUaGFua3NnaXZpbmcpPC9zcGFuPiAgLS0+PC9kaXY+DQo8ZGl2IGNsYXNzPSJyb3cxIj4NCjxkaXYgY2xhc3M9ImNvbC1tZC0xMiBjb2wtc20tMTIgY29weXJpZ2h0cyI+Q29weXJpZ2h0ICZjb3B5OyAyMDE3Jm5ic3A7IFN0YXRlIG9mIENhbGlmb3JuaWE8L2Rpdj4NCjwvZGl2Pg0KPC9kaXY+DQo8ZGl2IGNsYXNzPSJpbmNsdWRlRm9vdGVyIj4mbmJzcDs8L2Rpdj4NCjwvZGl2Pg0KPC9kaXY+DQo8L2Zvb3Rlcj5kZLZ6sfXPPuFkFOOQG/etH5eIc3BOxlVkEyEvX7usToX0", "__VIEWSTATEGENERATOR": "34651395", "ctl00$ctl00$Hidscreenresolutionmain": "", "ctl00$ctl00$hdnCulture": "", "ctl00$ctl00$AdvanceMainSearch$hdnAutoPlaceId": "", "ctl00$ctl00$AdvanceMainSearch$hdnLat": "37.17159", "ctl00$ctl00$AdvanceMainSearch$hdnLag": "-122.22203", "ctl00$ctl00$AdvanceMainSearch$hdnautocomplete": "", "ctl00$ctl00$AdvanceMainSearch$hdncustomautocomplete": "Big Basin Redwoods SP", "ctl00$ctl00$AdvanceMainSearch$hdnArrivalDate": "8/27/2017", "ctl00$ctl00$AdvanceMainSearch$txtArrivalDate": "", "ctl00$ctl00$AdvanceMainSearch$hdnNights": "1", "ctl00$ctl00$AdvanceMainSearch$ddlNights": "1", "ctl00$ctl00$mainContent$indexValue": "", "ctl00$ctl00$mainContent$hdnScreenresolution": "1440", "ctl00$ctl00$mainContent$hdndefaultLat": "37.17159652709961", "ctl00$ctl00$mainContent$hdnSearchPlaceName": "Big Basin Redwoods SP", "ctl00$ctl00$mainContent$hdndefaultLag": "-122.2220458984375", "ctl00$ctl00$mainContent$hdnMasterPlaceId": "3", "ctl00$ctl00$mainContent$txtSearchparkautocomplete": "Big Basin Redwoods SP", "ctl00$ctl00$mainContent$ddlFacilityCategory": "1", "ctl00$ctl00$mainContent$txtArrivalDate": "08/30/2017", "ctl00$ctl00$mainContent$ddlHomeNights": "1", "ctl00$ctl00$mainContent$btnSearch": "Go", "ctl00$ctl00$mainContent$homeContent$indexValue": "" } set_night_by_place_id_and_facility_id_on_unit_grid = { "facilityId": 0, "placeId":3 }
[ 7353, 62, 2618, 62, 20928, 62, 10951, 62, 1525, 62, 3672, 796, 1391, 198, 220, 220, 220, 366, 3672, 1298, 366, 12804, 32666, 2297, 39493, 6226, 1, 198, 92, 198, 198, 20928, 62, 7353, 62, 2618, 796, 1391, 198, 220, 220, 220, 366, 1...
1.433817
53,564
from typing import cast from neighborly.core.ecs import World from neighborly.core.life_event import LifeEventRule from neighborly.core.builtin.statuses import ElderStatus, AdultStatus from neighborly.core.builtin.events import DeathEvent from neighborly.core.time import SimDateTime from neighborly.core.character import GameCharacter death_event_rule = LifeEventRule( "Death", pattern_fn=get_elder_characters, probability=0.8, ) depart_town_rule = LifeEventRule( "Depart", pattern_fn=get_adult_characters, probability=0.3, )
[ 6738, 19720, 1330, 3350, 198, 6738, 4780, 306, 13, 7295, 13, 721, 82, 1330, 2159, 198, 6738, 4780, 306, 13, 7295, 13, 6042, 62, 15596, 1330, 5155, 9237, 31929, 198, 6738, 4780, 306, 13, 7295, 13, 18780, 259, 13, 14269, 2664, 1330, 1...
3.071823
181
class Event: """ Reference: http://www.valuedlessons.com/2008/04/events-in-python.html https://stackoverflow.com/questions/1092531/event-system-in-python https://www.thecodeship.com/patterns/guide-to-python-function-decorators/ https://pythonacademy.com.br/blog/domine-decorators-em-python https://wiki.python.org/moin/PythonDecoratorLibrary https://pythonacademy.com.br/blog/iterators-e-generators-em-python """ #def _kwargs_str(self): #return ", ".join(k+"="+v.__name__ for k, v in self._signature.items())
[ 4871, 8558, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 20984, 25, 198, 220, 220, 220, 220, 220, 220, 220, 2638, 1378, 2503, 13, 39728, 1203, 684, 13, 785, 14, 11528, 14, 3023, 14, 31534, 12, 259, 12, 29412, 13, 6494, 198, ...
2.341365
249
import matplotlib.pyplot as plt import numpy as np from os import path from matplotlib import cm
[ 11748, 2603, 29487, 8019, 13, 9078, 29487, 355, 458, 83, 198, 11748, 299, 32152, 355, 45941, 198, 6738, 28686, 1330, 3108, 198, 6738, 2603, 29487, 8019, 1330, 12067, 198 ]
3.344828
29
# pylint: skip-file from __future__ import absolute_import, division, print_function import datetime import os import shutil import tempfile import tornado.locale from salt.ext.tornado.escape import utf8, to_unicode from salt.ext.tornado.test.util import unittest, skipOnAppEngine from salt.ext.tornado.util import unicode_type
[ 2, 279, 2645, 600, 25, 14267, 12, 7753, 198, 6738, 11593, 37443, 834, 1330, 4112, 62, 11748, 11, 7297, 11, 3601, 62, 8818, 198, 198, 11748, 4818, 8079, 198, 11748, 28686, 198, 11748, 4423, 346, 198, 11748, 20218, 7753, 198, 198, 11748...
3.23301
103
# Generated by Django 3.0.3 on 2020-08-01 14:34 from django.db import migrations, models
[ 2, 2980, 515, 416, 37770, 513, 13, 15, 13, 18, 319, 12131, 12, 2919, 12, 486, 1478, 25, 2682, 198, 198, 6738, 42625, 14208, 13, 9945, 1330, 15720, 602, 11, 4981, 628 ]
2.84375
32
from mapping.models import Item, Workspace from rest_framework import serializers
[ 6738, 16855, 13, 27530, 1330, 9097, 11, 10933, 10223, 198, 6738, 1334, 62, 30604, 1330, 11389, 11341, 628, 198 ]
4.421053
19
from weakref import WeakKeyDictionary import pytest from mock import Mock, patch from nameko.containers import ServiceContainer, WorkerContext from nameko.testing.services import dummy, entrypoint_hook from nameko_sqlalchemy.database import ( DB_URIS_KEY, Database, Session, ) from sqlalchemy import Column, String, create_engine from sqlalchemy.engine import Engine from sqlalchemy.ext.declarative import declarative_base DeclBase = declarative_base(name='examplebase') @pytest.fixture @pytest.fixture @pytest.fixture
[ 6738, 4939, 5420, 1330, 28788, 9218, 35, 14188, 198, 198, 11748, 12972, 9288, 198, 6738, 15290, 1330, 44123, 11, 8529, 198, 6738, 1438, 7204, 13, 3642, 50221, 1330, 4809, 29869, 11, 35412, 21947, 198, 6738, 1438, 7204, 13, 33407, 13, 30...
3.215116
172
# # PySNMP MIB module COLUBRIS-802DOT11-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/COLUBRIS-802DOT11-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:25:40 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint") colubrisMgmtV2, = mibBuilder.importSymbols("COLUBRIS-SMI", "colubrisMgmtV2") ColubrisSSID, ColubrisRadioType, ColubrisSSIDOrNone, ColubrisDataRate, ColubrisNotificationEnable = mibBuilder.importSymbols("COLUBRIS-TC", "ColubrisSSID", "ColubrisRadioType", "ColubrisSSIDOrNone", "ColubrisDataRate", "ColubrisNotificationEnable") coVirtualAccessPointConfigEntry, coVirtualApSSID = mibBuilder.importSymbols("COLUBRIS-VIRTUAL-AP-MIB", "coVirtualAccessPointConfigEntry", "coVirtualApSSID") InterfaceIndex, ifDescr, ifIndex = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifDescr", "ifIndex") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") Integer32, Bits, IpAddress, iso, ObjectIdentity, NotificationType, Gauge32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, Counter32, Unsigned32, Counter64, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "Bits", "IpAddress", "iso", "ObjectIdentity", "NotificationType", "Gauge32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "Counter32", "Unsigned32", "Counter64", "TimeTicks") TextualConvention, DisplayString, TruthValue, MacAddress = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "TruthValue", "MacAddress") colubris802dot11 = ModuleIdentity((1, 3, 6, 1, 4, 1, 8744, 5, 4)) if mibBuilder.loadTexts: colubris802dot11.setLastUpdated('200910200000Z') if mibBuilder.loadTexts: colubris802dot11.setOrganization('Colubris Networks, Inc.') if mibBuilder.loadTexts: colubris802dot11.setContactInfo('Colubris Networks Postal: 200 West Street Ste 300 Waltham, Massachusetts 02451-1121 UNITED STATES Phone: +1 781 684 0001 Fax: +1 781 684 0009 E-mail: cn-snmp@colubris.com') if mibBuilder.loadTexts: colubris802dot11.setDescription('The MIB module for IEEE 802.11 entities.') coDot11ap = MibIdentifier((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1)) coDot11mac = MibIdentifier((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2)) coDot11phy = MibIdentifier((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3)) coDot11AccessPointConfigTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1), ) if mibBuilder.loadTexts: coDot11AccessPointConfigTable.setStatus('current') if mibBuilder.loadTexts: coDot11AccessPointConfigTable.setDescription('WLAN profile configuration attributes. In tabular form to allow for multiple instances on an agent. Not supported on the M111.') coDot11AccessPointConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1), ) coVirtualAccessPointConfigEntry.registerAugmentions(("COLUBRIS-802DOT11-MIB", "coDot11AccessPointConfigEntry")) coDot11AccessPointConfigEntry.setIndexNames(*coVirtualAccessPointConfigEntry.getIndexNames()) if mibBuilder.loadTexts: coDot11AccessPointConfigEntry.setStatus('current') if mibBuilder.loadTexts: coDot11AccessPointConfigEntry.setDescription('An entry in the coDot11AccessPointConfigTable. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex. coVirtualWlanProfileIndex - Uniquely access a profile for this particular 802.11 interface.') coDot11RelayBetweenStation = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11RelayBetweenStation.setStatus('current') if mibBuilder.loadTexts: coDot11RelayBetweenStation.setDescription('Specifies if wireless client stations can exchange data with one another.') coDot11BeaconPeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11BeaconPeriod.setStatus('current') if mibBuilder.loadTexts: coDot11BeaconPeriod.setDescription('Indicates the number of TUs that a station uses for scheduling Beacon transmissions. This value is transmitted in Beacon and Probe Response frames.') coDot11DTIMPeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11DTIMPeriod.setStatus('current') if mibBuilder.loadTexts: coDot11DTIMPeriod.setDescription('Specifies the number of beacon intervals that elapse between transmission of Beacons frames containing a TIM element whose DTIM Count field is 0. This value is transmitted in the DTIM Period field of Beacon frames. Client stations use the DTIM to wake up from low-power mode to receive multicast traffic.') coDot11PrivacyOptionImplemented = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PrivacyOptionImplemented.setStatus('current') if mibBuilder.loadTexts: coDot11PrivacyOptionImplemented.setDescription('Indicates if the IEEE 802.11 WEP option is enabled.') coDot11RSNAOptionImplemented = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RSNAOptionImplemented.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAOptionImplemented.setDescription('Indicates if the profile is RSNA-capable.') coDot11NumberOfUsers = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11NumberOfUsers.setStatus('current') if mibBuilder.loadTexts: coDot11NumberOfUsers.setDescription('Indicates the number of users connected via this profile.') coDot11AddToAssociationNotification = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 7), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11AddToAssociationNotification.setStatus('current') if mibBuilder.loadTexts: coDot11AddToAssociationNotification.setDescription('Specifies if an association trap notification is sent each time a user connects to this profile.') coDot11PhyTxPowerAdminLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 23))).setUnits('dBm').setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11PhyTxPowerAdminLevel.setStatus('current') if mibBuilder.loadTexts: coDot11PhyTxPowerAdminLevel.setDescription('Specifies the transmission power of the radio.') coDot11PhyTxPowerOperLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 23))).setUnits('dBm').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PhyTxPowerOperLevel.setStatus('current') if mibBuilder.loadTexts: coDot11PhyTxPowerOperLevel.setDescription('Indicates the transmission power of the radio.') coDot11CurrentSNRLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 92))).setUnits('dBm').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11CurrentSNRLevel.setStatus('current') if mibBuilder.loadTexts: coDot11CurrentSNRLevel.setDescription('Average SNR level for all the connected client stations.') coDot11BSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 11), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11BSSID.setStatus('current') if mibBuilder.loadTexts: coDot11BSSID.setDescription('MAC Address assigned to this device.') coDot11AdminMinimumDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 12), ColubrisDataRate()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11AdminMinimumDataRate.setStatus('deprecated') if mibBuilder.loadTexts: coDot11AdminMinimumDataRate.setDescription("Specifies the minimum transmission rate that clients stations must meet in order to connect with this profile. Client stations that are below this setting will not be able to connect. The value of this object must always be less or equal than the value of coDot11MaximumDataRate. Allowed values will change according to the state of the radio's wireless mode (coDot11CurrentOperPHYType). ieee802dot11b: Lowest, 1, 2, 5.5, 11 Mbps ieee802dot11a: Lowest, 6, 9, 12, 18, 24, 36, 48, 54 Mbps ieee802dot11g: Lowest, 6, 9, 12, 18, 24, 36, 48, 54 Mbps 11bAndg: All rates permitted.") coDot11AdminMaximumDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 13), ColubrisDataRate()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11AdminMaximumDataRate.setStatus('deprecated') if mibBuilder.loadTexts: coDot11AdminMaximumDataRate.setDescription("Specifies the maximum transmission rate that clients stations must respect to connect with this profile. Clients stations that attempt to associate at a higher data rate will be refused. The value of this object must always be greater than the value of coDot11MinimumDataRate. Allowed values will change according to the state of the radio's wireless mode (coDot11CurrentOperPHYType). ieee802dot11b: 1, 2, 5.5, 11Mbs, highest ieee802dot11a: 6, 9, 12, 18, 24, 36, 48, 54 Mbps, highest ieee802dot11g: 6, 9, 12, 18, 24, 36, 48, 54 Mbps, highest 11bAndg: All rates permitted.") coDot11HighThroughputOptionImplemented = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 1, 1, 14), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11HighThroughputOptionImplemented.setStatus('current') if mibBuilder.loadTexts: coDot11HighThroughputOptionImplemented.setDescription('Indicates if the profile is 802.11n capable.') coDot11AuthenticationAlgorithmsTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 2), ) if mibBuilder.loadTexts: coDot11AuthenticationAlgorithmsTable.setReference('IEEE Std 802.11-1997, 7.3.1.1') if mibBuilder.loadTexts: coDot11AuthenticationAlgorithmsTable.setStatus('current') if mibBuilder.loadTexts: coDot11AuthenticationAlgorithmsTable.setDescription('This (conceptual) table of attributes is a set of all the authentication algorithms supported by the stations. The following are the default values and the associated algorithm: Value = 1: Open System Value = 2: Shared Key') coDot11AuthenticationAlgorithmsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "COLUBRIS-802DOT11-MIB", "coDot11AuthenticationAlgorithmsIndex")) if mibBuilder.loadTexts: coDot11AuthenticationAlgorithmsEntry.setStatus('current') if mibBuilder.loadTexts: coDot11AuthenticationAlgorithmsEntry.setDescription('An Entry (conceptual row) in the Authentication Algorithms Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex. coDot11AuthenticationAlgorithmsIndex - Uniquely identify an algorithm in the table.') coDot11AuthenticationAlgorithmsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))) if mibBuilder.loadTexts: coDot11AuthenticationAlgorithmsIndex.setStatus('current') if mibBuilder.loadTexts: coDot11AuthenticationAlgorithmsIndex.setDescription('The auxiliary variable used to identify instances of the columnar objects in the Authentication Algorithms Table.') coDot11AuthenticationAlgorithm = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("openSystem", 1), ("sharedKey", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11AuthenticationAlgorithm.setStatus('current') if mibBuilder.loadTexts: coDot11AuthenticationAlgorithm.setDescription('Identifies all the authentication algorithms supported by the STAs. The following are the default values and the their associated algorithms. Value = 1: Open System Value = 2: Shared Key') coDot11AuthenticationAlgorithmsEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 2, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11AuthenticationAlgorithmsEnable.setStatus('current') if mibBuilder.loadTexts: coDot11AuthenticationAlgorithmsEnable.setDescription("This attribute, when true at a station, enables the acceptance of the authentication algorithm described in the corresponding table entry in authentication frames received by the station that have odd authentication sequence numbers. The default value of this attribute is 'true' for the Open System table entry and 'false' for all other table entries.") coDot11WEPDefaultKeysTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 3), ) if mibBuilder.loadTexts: coDot11WEPDefaultKeysTable.setReference('IEEE Std 802.11-1997, 8.3.2') if mibBuilder.loadTexts: coDot11WEPDefaultKeysTable.setStatus('current') if mibBuilder.loadTexts: coDot11WEPDefaultKeysTable.setDescription('Conceptual table for WEP default keys. This table contains the four WEP default secret key values corresponding to the four possible KeyID values. The WEP default secret keys are logically WRITE-ONLY. Attempts to read the entries in this table will return unsuccessful status and values of null or zero. The default value of each WEP default key is null. This table is not supported on the M111.') coDot11WEPDefaultKeysEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 3, 1), ) coVirtualAccessPointConfigEntry.registerAugmentions(("COLUBRIS-802DOT11-MIB", "coDot11WEPDefaultKeysEntry")) coDot11WEPDefaultKeysEntry.setIndexNames(*coVirtualAccessPointConfigEntry.getIndexNames()) if mibBuilder.loadTexts: coDot11WEPDefaultKeysEntry.setStatus('current') if mibBuilder.loadTexts: coDot11WEPDefaultKeysEntry.setDescription('An Entry (conceptual row) in the WEP Default Keys Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex. coVirtualWlanProfileIndex - Uniquely access a profile for this particular 802.11 interface.') coDot11WEPDefaultKey1Value = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 3, 1, 1), WEPKeytype()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11WEPDefaultKey1Value.setStatus('current') if mibBuilder.loadTexts: coDot11WEPDefaultKey1Value.setDescription('A WEP default secret key1 value. Reading this attribute will always return a Zero-Length string.') coDot11WEPDefaultKey2Value = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 3, 1, 2), WEPKeytype()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11WEPDefaultKey2Value.setStatus('current') if mibBuilder.loadTexts: coDot11WEPDefaultKey2Value.setDescription('A WEP default secret key2 value. Reading this attribute will always return a Zero-Length string.') coDot11WEPDefaultKey3Value = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 3, 1, 3), WEPKeytype()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11WEPDefaultKey3Value.setStatus('current') if mibBuilder.loadTexts: coDot11WEPDefaultKey3Value.setDescription('A WEP default secret key3 value. Reading this attribute will always return a Zero-Length string.') coDot11WEPDefaultKey4Value = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 3, 1, 4), WEPKeytype()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11WEPDefaultKey4Value.setStatus('current') if mibBuilder.loadTexts: coDot11WEPDefaultKey4Value.setDescription('A WEP default secret key4 value. Reading this attribute will always return a Zero-Length string.') coDot11PrivacyTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 4), ) if mibBuilder.loadTexts: coDot11PrivacyTable.setStatus('current') if mibBuilder.loadTexts: coDot11PrivacyTable.setDescription('Group containing attributes related to IEEE 802.11 Privacy. In tabular form to allow multiple instances on an agent. This table is not supported on the M111.') coDot11PrivacyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 4, 1), ) coVirtualAccessPointConfigEntry.registerAugmentions(("COLUBRIS-802DOT11-MIB", "coDot11PrivacyEntry")) coDot11PrivacyEntry.setIndexNames(*coVirtualAccessPointConfigEntry.getIndexNames()) if mibBuilder.loadTexts: coDot11PrivacyEntry.setStatus('current') if mibBuilder.loadTexts: coDot11PrivacyEntry.setDescription('An entry in the coDot11PrivacyTable Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex. coVirtualWlanProfileIndex - Uniquely access a profile for this particular 802.11 interface.') coDot11PrivacyInvoked = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 4, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PrivacyInvoked.setStatus('current') if mibBuilder.loadTexts: coDot11PrivacyInvoked.setDescription('When this attribute is TRUE, it indicates that some level of security is invoked for transmitting frames of type Data. For IEEE 802.11-1999 clients, the security mechanism used is WEP. For RSNA-capable clients, an additional variable coDot11RSNAEnabled indicates whether RSNA is enabled. If coDot11RSNAEnabled is FALSE or the MIB variable does not exist, the security mechanism invoked is WEP; if coDot11RSNAEnabled is TRUE, RSNA security mechanisms invoked are configured in the coDot11RSNAConfigTable. The default value of this attribute is FALSE.') coDot11WEPDefaultKeyID = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11WEPDefaultKeyID.setReference('IEEE Std 802.11-1997, 8.3.2') if mibBuilder.loadTexts: coDot11WEPDefaultKeyID.setStatus('current') if mibBuilder.loadTexts: coDot11WEPDefaultKeyID.setDescription('This attribute indicates the use of the first, second, third, or fourth element of the WEPDefaultKeys array when set to values of zero, one, two, or three. The default value of this attribute is 0.') coDot11ExcludeUnencrypted = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 4, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ExcludeUnencrypted.setStatus('current') if mibBuilder.loadTexts: coDot11ExcludeUnencrypted.setDescription('When this attribute is true, the STA does not indicate at the MAC service interface received MSDUs that have the WEP subfield of the Frame Control field equal to zero. When this attribute is false, the STA may accept MSDUs that have the WEP subfield of the Frame Control field equal to zero. The default value of this attribute is true.') coDot11WEPICVErrorCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11WEPICVErrorCount.setStatus('current') if mibBuilder.loadTexts: coDot11WEPICVErrorCount.setDescription('This counter increments when a frame is received with the WEP subfield of the Frame Control field set to one and the value of the ICV as received in the frame does not match the ICV value that is calculated for the contents of the received frame. ICV errors for TKIP are not counted in this variable but in coDot11RSNAStatsTKIPICVErrors.') coDot11WEPExcludedCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11WEPExcludedCount.setStatus('current') if mibBuilder.loadTexts: coDot11WEPExcludedCount.setDescription('This counter increments when a frame is received with the WEP subfield of the Frame Control field set to zero and the value of coDot11ExcludeUnencrypted causes that frame to be discarded.') coDot11RSNAEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 4, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RSNAEnabled.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAEnabled.setDescription('Indicates if RSNA is enabled, which means that the RSN Information Element is advertised in Beacons and Probe Responses. This object requires that coDot11PrivacyInvoked also be set to TRUE.') coDot11AssociationTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5), ) if mibBuilder.loadTexts: coDot11AssociationTable.setStatus('current') if mibBuilder.loadTexts: coDot11AssociationTable.setDescription('Group containing attributes related to associated stations. In tabular form to allow multiple instances on an agent. This table is not supported on the M111.') coDot11AssociationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "COLUBRIS-802DOT11-MIB", "coDot11AssociationIndex")) if mibBuilder.loadTexts: coDot11AssociationEntry.setStatus('current') if mibBuilder.loadTexts: coDot11AssociationEntry.setDescription('An entry in the coDot11Association Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex. coDot11AssociationIndex - Uniquely identify a device inside the association table.') coDot11AssociationIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))) if mibBuilder.loadTexts: coDot11AssociationIndex.setStatus('current') if mibBuilder.loadTexts: coDot11AssociationIndex.setDescription('The auxiliary variable used to identify instances of the columnar objects in the Association Table.') coDot11StationMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StationMACAddress.setStatus('current') if mibBuilder.loadTexts: coDot11StationMACAddress.setDescription('Unique MAC Address assigned to the device.') coDot11StationConnectTime = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 3), Counter32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StationConnectTime.setStatus('current') if mibBuilder.loadTexts: coDot11StationConnectTime.setDescription('Elapsed time in seconds since a station has associated to this device.') coDot11SignalLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 4), Integer32()).setUnits('dBm').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11SignalLevel.setStatus('current') if mibBuilder.loadTexts: coDot11SignalLevel.setDescription('Strength of the wireless signal.') coDot11NoiseLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 5), Integer32()).setUnits('dBm').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11NoiseLevel.setStatus('current') if mibBuilder.loadTexts: coDot11NoiseLevel.setDescription('Level of local background noise.') coDot11SNR = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11SNR.setStatus('current') if mibBuilder.loadTexts: coDot11SNR.setDescription('Relative strength of the signal level compared to the noise level.') coDot11PktsRate1 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsRate1.setStatus('current') if mibBuilder.loadTexts: coDot11PktsRate1.setDescription('Number of frames received at 1 Mbps.') coDot11PktsRate2 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsRate2.setStatus('current') if mibBuilder.loadTexts: coDot11PktsRate2.setDescription('Number of frames received at 2 Mbps.') coDot11PktsRate5dot5 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsRate5dot5.setStatus('current') if mibBuilder.loadTexts: coDot11PktsRate5dot5.setDescription('Number of frames received at 5.5 Mbps.') coDot11PktsRate11 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsRate11.setStatus('current') if mibBuilder.loadTexts: coDot11PktsRate11.setDescription('Number of frames received at 11 Mbps.') coDot11PktsRate6 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsRate6.setStatus('current') if mibBuilder.loadTexts: coDot11PktsRate6.setDescription('Number of frames received at 6 Mbps.') coDot11PktsRate9 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsRate9.setStatus('current') if mibBuilder.loadTexts: coDot11PktsRate9.setDescription('Number of frames received at 9 Mbps.') coDot11PktsRate12 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsRate12.setStatus('current') if mibBuilder.loadTexts: coDot11PktsRate12.setDescription('Number of frames received at 12 Mbps.') coDot11PktsRate18 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsRate18.setStatus('current') if mibBuilder.loadTexts: coDot11PktsRate18.setDescription('Number of frames received at 18 Mbps.') coDot11PktsRate24 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsRate24.setStatus('current') if mibBuilder.loadTexts: coDot11PktsRate24.setDescription('Number of frames received at 24 Mbps.') coDot11PktsRate36 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsRate36.setStatus('current') if mibBuilder.loadTexts: coDot11PktsRate36.setDescription('Number of frames received at 36 Mbps.') coDot11PktsRate48 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsRate48.setStatus('current') if mibBuilder.loadTexts: coDot11PktsRate48.setDescription('Number of frames received at 48 Mbps.') coDot11PktsRate54 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsRate54.setStatus('current') if mibBuilder.loadTexts: coDot11PktsRate54.setDescription('Number of frames received at 54 Mbps.') coDot11TransmitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 19), Unsigned32()).setUnits('500Kb/s').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11TransmitRate.setStatus('current') if mibBuilder.loadTexts: coDot11TransmitRate.setDescription('Current transmit rate of a station.') coDot11ReceiveRate = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 20), Unsigned32()).setUnits('500Kb/s').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ReceiveRate.setStatus('current') if mibBuilder.loadTexts: coDot11ReceiveRate.setDescription('Current receive rate of a station.') coDot11InPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11InPkts.setStatus('current') if mibBuilder.loadTexts: coDot11InPkts.setDescription('Number of packets received from the station after the association.') coDot11OutPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11OutPkts.setStatus('current') if mibBuilder.loadTexts: coDot11OutPkts.setDescription('Number of packets send to the station after the association.') coDot11InOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11InOctets.setStatus('current') if mibBuilder.loadTexts: coDot11InOctets.setDescription('Number of octets received from the station after the association.') coDot11OutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11OutOctets.setStatus('current') if mibBuilder.loadTexts: coDot11OutOctets.setDescription('Number of octets send to the station after the association.') coDot11StationSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 25), ColubrisSSIDOrNone()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StationSSID.setStatus('current') if mibBuilder.loadTexts: coDot11StationSSID.setDescription('SSID of the associated station.') coDot11StationName = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 26), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StationName.setStatus('current') if mibBuilder.loadTexts: coDot11StationName.setDescription('Name of the associated station.') coDot11StationIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 27), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StationIPAddress.setStatus('current') if mibBuilder.loadTexts: coDot11StationIPAddress.setDescription('IP address of the associated station.') coDot11StationVLAN = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StationVLAN.setStatus('current') if mibBuilder.loadTexts: coDot11StationVLAN.setDescription('VLAN ID of the associated station. This object is always available on autonomous APs. However, on access-controller APs, this object is only available under certain conditions, when the client station is connected to a profile that is not access-controlled.') coDot11StationLocalInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 29), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StationLocalInterface.setStatus('current') if mibBuilder.loadTexts: coDot11StationLocalInterface.setDescription('Specifies the Local Interface where the associated station traffic will be forwarded to.') coDot11StaHT = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 30), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaHT.setStatus('current') if mibBuilder.loadTexts: coDot11StaHT.setDescription('Indicates that the associated station is HT.') coDot11StaEncryptionType = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("wep", 2), ("tkip", 3), ("aes", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaEncryptionType.setStatus('current') if mibBuilder.loadTexts: coDot11StaEncryptionType.setDescription('Indicates the encryption type used by the wireless station.') coDot11PktsTxRate1 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsTxRate1.setStatus('current') if mibBuilder.loadTexts: coDot11PktsTxRate1.setDescription('Number of frames transmitted at 1 Mbps.') coDot11PktsTxRate2 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsTxRate2.setStatus('current') if mibBuilder.loadTexts: coDot11PktsTxRate2.setDescription('Number of frames transmitted at 2 Mbps.') coDot11PktsTxRate5dot5 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsTxRate5dot5.setStatus('current') if mibBuilder.loadTexts: coDot11PktsTxRate5dot5.setDescription('Number of frames transmitted at 5.5 Mbps.') coDot11PktsTxRate11 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 35), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsTxRate11.setStatus('current') if mibBuilder.loadTexts: coDot11PktsTxRate11.setDescription('Number of frames transmitted at 11 Mbps.') coDot11PktsTxRate6 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 36), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsTxRate6.setStatus('current') if mibBuilder.loadTexts: coDot11PktsTxRate6.setDescription('Number of frames transmitted at 6 Mbps.') coDot11PktsTxRate9 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 37), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsTxRate9.setStatus('current') if mibBuilder.loadTexts: coDot11PktsTxRate9.setDescription('Number of frames transmitted at 9 Mbps.') coDot11PktsTxRate12 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 38), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsTxRate12.setStatus('current') if mibBuilder.loadTexts: coDot11PktsTxRate12.setDescription('Number of frames transmitted at 12 Mbps.') coDot11PktsTxRate18 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 39), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsTxRate18.setStatus('current') if mibBuilder.loadTexts: coDot11PktsTxRate18.setDescription('Number of frames transmitted at 18 Mbps.') coDot11PktsTxRate24 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 40), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsTxRate24.setStatus('current') if mibBuilder.loadTexts: coDot11PktsTxRate24.setDescription('Number of frames transmitted at 24 Mbps.') coDot11PktsTxRate36 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 41), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsTxRate36.setStatus('current') if mibBuilder.loadTexts: coDot11PktsTxRate36.setDescription('Number of frames transmitted at 36 Mbps.') coDot11PktsTxRate48 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 42), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsTxRate48.setStatus('current') if mibBuilder.loadTexts: coDot11PktsTxRate48.setDescription('Number of frames transmitted at 48 Mbps.') coDot11PktsTxRate54 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 5, 1, 43), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PktsTxRate54.setStatus('current') if mibBuilder.loadTexts: coDot11PktsTxRate54.setDescription('Number of frames transmitted at 54 Mbps.') coDot11WDSPortTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 6), ) if mibBuilder.loadTexts: coDot11WDSPortTable.setStatus('current') if mibBuilder.loadTexts: coDot11WDSPortTable.setDescription('Conceptual table for the local mesh links. This table contains the six local mesh MAC address. This table is not supported on the M111.') coDot11WDSPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 6, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "COLUBRIS-802DOT11-MIB", "coDot11WDSPortIndex")) if mibBuilder.loadTexts: coDot11WDSPortEntry.setStatus('current') if mibBuilder.loadTexts: coDot11WDSPortEntry.setDescription('An Entry (conceptual row) in the WDS Port Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex. coDot11WDSPortIndex - Uniquely identify a local mesh link inside the local mesh table.') coDot11WDSPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6))) if mibBuilder.loadTexts: coDot11WDSPortIndex.setStatus('current') if mibBuilder.loadTexts: coDot11WDSPortIndex.setDescription('The auxiliary variable used to identify instances of local mesh links.') coDot11WDSPortMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 6, 1, 2), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11WDSPortMacAddress.setStatus('current') if mibBuilder.loadTexts: coDot11WDSPortMacAddress.setDescription('MAC address of the remote device on the other side of the local mesh link.') coDot11WDSPortCurrentRate = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 6, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11WDSPortCurrentRate.setStatus('current') if mibBuilder.loadTexts: coDot11WDSPortCurrentRate.setDescription('Current rate of the local mesh link.') coDot11WDSPortSNRLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 6, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11WDSPortSNRLevel.setStatus('current') if mibBuilder.loadTexts: coDot11WDSPortSNRLevel.setDescription('Relative strength of the signal level compared to the noise level.') coDot11WDSPortTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11WDSPortTxPackets.setStatus('current') if mibBuilder.loadTexts: coDot11WDSPortTxPackets.setDescription('Number of packets transmitted on this local mesh link.') coDot11WDSPortTxDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11WDSPortTxDropped.setStatus('current') if mibBuilder.loadTexts: coDot11WDSPortTxDropped.setDescription('Number of packets that could not be transmitted on this local mesh link.') coDot11WDSPortTxErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 6, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11WDSPortTxErrors.setStatus('current') if mibBuilder.loadTexts: coDot11WDSPortTxErrors.setDescription('Number of packets that could not be sent due to the following reasons: Rx retry limit exceeded or Tx discarded because of wrong SA.') coDot11WDSPortRxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 6, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11WDSPortRxPackets.setStatus('current') if mibBuilder.loadTexts: coDot11WDSPortRxPackets.setDescription('Number of packets received on this local mesh link.') coDot11WDSPortRxDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 6, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11WDSPortRxDropped.setStatus('current') if mibBuilder.loadTexts: coDot11WDSPortRxDropped.setDescription('Number of packets that were dropped on this local mesh link due to a lack of resources.') coDot11WDSPortRxErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 6, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11WDSPortRxErrors.setStatus('current') if mibBuilder.loadTexts: coDot11WDSPortRxErrors.setDescription('Number of packets that could not be received due to the following reasons: Rx discards WEP excluded, Rx discards WEP ICV error, Rx MSG in bad MSG fragments, Rx MSG in MSG fragments Rx WEP undecryptable, Rx FCS errors.') coDot11ScanTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7), ) if mibBuilder.loadTexts: coDot11ScanTable.setStatus('current') if mibBuilder.loadTexts: coDot11ScanTable.setDescription('Conceptual table for the AP scanning results. In tabular form to allow multiple instances on an agent. This table is not supported on the WCB-200.') coDot11ScanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "COLUBRIS-802DOT11-MIB", "coDot11ScanIndex")) if mibBuilder.loadTexts: coDot11ScanEntry.setStatus('current') if mibBuilder.loadTexts: coDot11ScanEntry.setDescription('An Entry (conceptual row) in the AP scan Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex. coDot11ScanIndex - Uniquely identify an AP in the scan Table.') coDot11ScanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))) if mibBuilder.loadTexts: coDot11ScanIndex.setStatus('current') if mibBuilder.loadTexts: coDot11ScanIndex.setDescription('The auxiliary variable used to identify instances of AP in the scan table.') coDot11ScanMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ScanMacAddress.setStatus('current') if mibBuilder.loadTexts: coDot11ScanMacAddress.setDescription('The wireless MAC address of the remote device.') coDot11ScanChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ScanChannel.setStatus('current') if mibBuilder.loadTexts: coDot11ScanChannel.setDescription('The operating frequency channel of the remote device.') coDot11ScanSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7, 1, 4), ColubrisSSIDOrNone()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ScanSSID.setStatus('current') if mibBuilder.loadTexts: coDot11ScanSSID.setDescription('The Service Set ID broadcast by the remote device.') coDot11ScanSignalLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7, 1, 5), Integer32()).setUnits('dBm').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ScanSignalLevel.setStatus('current') if mibBuilder.loadTexts: coDot11ScanSignalLevel.setDescription('Strength of the wireless signal.') coDot11ScanNoiseLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7, 1, 6), Integer32()).setUnits('dBm').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ScanNoiseLevel.setStatus('current') if mibBuilder.loadTexts: coDot11ScanNoiseLevel.setDescription('Level of local background noise.') coDot11ScanSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ScanSNR.setStatus('current') if mibBuilder.loadTexts: coDot11ScanSNR.setDescription('Relative strength of the signal level compared to the noise level.') coDot11ScanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unknown", 0), ("authorized", 1), ("unauthorized", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ScanStatus.setStatus('current') if mibBuilder.loadTexts: coDot11ScanStatus.setDescription("The status of the scanned device. 'unknown': The device could not determine the status of the scanned AP. 'authorized': The AP is part of the authorized list of APs. 'unauthorized': The AP is not part of the authorized list of APs.") coDot11ScanPHYType = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("ieee802dot11a", 1), ("ieee802dot11b", 2), ("ieee802dot11g", 3), ("ieee802dot11na", 4), ("ieee802dot11ng", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ScanPHYType.setStatus('current') if mibBuilder.loadTexts: coDot11ScanPHYType.setDescription('Radio type used by the device.') coDot11ScanInactivityTime = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7, 1, 10), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ScanInactivityTime.setStatus('current') if mibBuilder.loadTexts: coDot11ScanInactivityTime.setDescription('Elapsed time since the last beacon was seen for this device.') coDot11ScanNetworkType = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ess", 1), ("ibss", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ScanNetworkType.setStatus('current') if mibBuilder.loadTexts: coDot11ScanNetworkType.setDescription('Network type used by the device.') coDot11ScanSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 7, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("none", 1), ("wep", 2), ("wpa", 3), ("wpa2", 4), ("wpaAndWpa2", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ScanSecurity.setStatus('current') if mibBuilder.loadTexts: coDot11ScanSecurity.setDescription('Indicates the WPA/Encryption type used by the wireless station.') coDot11ScanEnabled = MibScalar((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11ScanEnabled.setStatus('current') if mibBuilder.loadTexts: coDot11ScanEnabled.setDescription("Specifies if periodic scan should be performed or not. Not supported on the WCB-200. 'enable': Enables periodic scans on this device. 'disable': Disable periodic scans on this device.") coDot11ScanPeriodicity = MibScalar((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600)).clone(600)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11ScanPeriodicity.setStatus('current') if mibBuilder.loadTexts: coDot11ScanPeriodicity.setDescription("Specifies the time between periodic scans. Each time a scan operation is performed, only one frequency is scanned. A fair amount of periodic scans are needed in order complete a full scan of all the supported frequencies. This parameter only applies when coDot11ScanEnabled is set to 'enable'. Not supported on the M111.") coDot11ScanAuthorizedListURL = MibScalar((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 10), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11ScanAuthorizedListURL.setStatus('current') if mibBuilder.loadTexts: coDot11ScanAuthorizedListURL.setDescription('Specifies the URL of the file that contains a list of all authorized access points. If no valid URL is present in this field, the AP will not be able to compute the rogue table. The format of this file is XML. Each entry in the file is composed of two items: MAC address and SSID. Each entry should appear on a new line. Not supported on the M111.') coDot11UnauthorizedAPNotificationEnabled = MibScalar((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 11), ColubrisNotificationEnable().clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11UnauthorizedAPNotificationEnabled.setStatus('current') if mibBuilder.loadTexts: coDot11UnauthorizedAPNotificationEnabled.setDescription('Specifies if periodic coDot11UnauthorizedAPNotification events are generated. Not supported on the M111.') coDot11UnauthorizedAPNotificationInterval = MibScalar((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000000))).setUnits('minutes').setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11UnauthorizedAPNotificationInterval.setStatus('current') if mibBuilder.loadTexts: coDot11UnauthorizedAPNotificationInterval.setDescription('Interval in minutes between unauthorized AP notifications. Not supported on the M111.') coDot11AssociationNotificationEnabled = MibScalar((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 13), ColubrisNotificationEnable().clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11AssociationNotificationEnabled.setStatus('current') if mibBuilder.loadTexts: coDot11AssociationNotificationEnabled.setDescription('Specifies if coDot11AssociationNotification events are generated. Not supported on the M111.') coDot11AssociationNotificationInterval = MibScalar((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000))).setUnits('minutes').setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11AssociationNotificationInterval.setStatus('current') if mibBuilder.loadTexts: coDot11AssociationNotificationInterval.setDescription('Interval in minutes between association notifications. Setting this attribute to 0 will disable periodic sending of association notification. Not supported on the M111.') coDot11StationHTTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15), ) if mibBuilder.loadTexts: coDot11StationHTTable.setStatus('current') if mibBuilder.loadTexts: coDot11StationHTTable.setDescription('Group containing attributes related to HT stations. This table is not supported on the WCB-200.') coDot11StationHTEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1), ) coDot11AssociationEntry.registerAugmentions(("COLUBRIS-802DOT11-MIB", "coDot11StationHTEntry")) coDot11StationHTEntry.setIndexNames(*coDot11AssociationEntry.getIndexNames()) if mibBuilder.loadTexts: coDot11StationHTEntry.setStatus('current') if mibBuilder.loadTexts: coDot11StationHTEntry.setDescription('An entry in the station HT Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex. coDot11AssociationIndex - Uniquely identify a device inside the association table.') coDot11StaTransmitMCS = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaTransmitMCS.setStatus('current') if mibBuilder.loadTexts: coDot11StaTransmitMCS.setDescription('MCS used while trasnmitting the last frame to the HT station.') coDot11StaReceiveMCS = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaReceiveMCS.setStatus('current') if mibBuilder.loadTexts: coDot11StaReceiveMCS.setDescription('MCS used by the last frame received from the HT station.') coDot11StaChannelWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("cw20MHz", 1), ("cw40MHz", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaChannelWidth.setStatus('current') if mibBuilder.loadTexts: coDot11StaChannelWidth.setDescription('Channel width used by the wireless client.') coDot11StaShortGI = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaShortGI.setStatus('current') if mibBuilder.loadTexts: coDot11StaShortGI.setDescription('Indicates if the wireless client is using short GI.') coDot11StaPktsTxMCS0 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS0.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS0.setDescription('Number of transmitted frames while using MCS0.') coDot11StaPktsTxMCS1 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS1.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS1.setDescription('Number of transmitted frames while using MCS1.') coDot11StaPktsTxMCS2 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS2.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS2.setDescription('Number of transmitted frames while using MCS2.') coDot11StaPktsTxMCS3 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS3.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS3.setDescription('Number of transmitted frames while using MCS3.') coDot11StaPktsTxMCS4 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS4.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS4.setDescription('Number of transmitted frames while using MCS4.') coDot11StaPktsTxMCS5 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS5.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS5.setDescription('Number of transmitted frames while using MCS5.') coDot11StaPktsTxMCS6 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS6.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS6.setDescription('Number of transmitted frames while using MCS6.') coDot11StaPktsTxMCS7 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS7.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS7.setDescription('Number of transmitted frames while using MCS7.') coDot11StaPktsTxMCS8 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS8.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS8.setDescription('Number of transmitted frames while using MCS8.') coDot11StaPktsTxMCS9 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS9.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS9.setDescription('Number of transmitted frames while using MCS9.') coDot11StaPktsTxMCS10 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS10.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS10.setDescription('Number of transmitted frames while using MCS10.') coDot11StaPktsTxMCS11 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS11.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS11.setDescription('Number of transmitted frames while using MCS11.') coDot11StaPktsTxMCS12 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS12.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS12.setDescription('Number of transmitted frames while using MCS12.') coDot11StaPktsTxMCS13 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS13.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS13.setDescription('Number of transmitted frames while using MCS13.') coDot11StaPktsTxMCS14 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS14.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS14.setDescription('Number of transmitted frames while using MCS14.') coDot11StaPktsTxMCS15 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsTxMCS15.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsTxMCS15.setDescription('Number of transmitted frames while using MCS15.') coDot11StaPktsRxMCS0 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS0.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS0.setDescription('Number of received frames while using MCS0.') coDot11StaPktsRxMCS1 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS1.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS1.setDescription('Number of received frames while using MCS1.') coDot11StaPktsRxMCS2 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS2.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS2.setDescription('Number of received frames while using MCS2.') coDot11StaPktsRxMCS3 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS3.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS3.setDescription('Number of received frames while using MCS3.') coDot11StaPktsRxMCS4 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS4.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS4.setDescription('Number of received frames while using MCS4.') coDot11StaPktsRxMCS5 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS5.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS5.setDescription('Number of received frames while using MCS5.') coDot11StaPktsRxMCS6 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS6.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS6.setDescription('Number of received frames while using MCS6.') coDot11StaPktsRxMCS7 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS7.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS7.setDescription('Number of received frames while using MCS7.') coDot11StaPktsRxMCS8 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS8.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS8.setDescription('Number of received frames while using MCS8.') coDot11StaPktsRxMCS9 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS9.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS9.setDescription('Number of received frames while using MCS9.') coDot11StaPktsRxMCS10 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS10.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS10.setDescription('Number of received frames while using MCS10.') coDot11StaPktsRxMCS11 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS11.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS11.setDescription('Number of received frames while using MCS11.') coDot11StaPktsRxMCS12 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS12.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS12.setDescription('Number of received frames while using MCS12.') coDot11StaPktsRxMCS13 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS13.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS13.setDescription('Number of received frames while using MCS13.') coDot11StaPktsRxMCS14 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 35), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS14.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS14.setDescription('Number of received frames while using MCS14.') coDot11StaPktsRxMCS15 = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 15, 1, 36), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11StaPktsRxMCS15.setStatus('current') if mibBuilder.loadTexts: coDot11StaPktsRxMCS15.setDescription('Number of received frames while using MCS15.') coDot11NbDetectedStation = MibScalar((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 16), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11NbDetectedStation.setStatus('current') if mibBuilder.loadTexts: coDot11NbDetectedStation.setDescription('Number of stations in the detected station table.') coDot11DetectedStationTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 17), ) if mibBuilder.loadTexts: coDot11DetectedStationTable.setStatus('current') if mibBuilder.loadTexts: coDot11DetectedStationTable.setDescription('Group containing attributes related to stations sending probe request. This table is not supported on the M111.') coDot11DetectedStationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 17, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "COLUBRIS-802DOT11-MIB", "coDot11DetStaIndex")) if mibBuilder.loadTexts: coDot11DetectedStationEntry.setStatus('current') if mibBuilder.loadTexts: coDot11DetectedStationEntry.setDescription('An entry in the detected station Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex. coDot11DetStaIndex - Uniquely identify a device inside the detected station table.') coDot11DetStaIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 17, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))) if mibBuilder.loadTexts: coDot11DetStaIndex.setStatus('current') if mibBuilder.loadTexts: coDot11DetStaIndex.setDescription('The auxiliary variable used to identify instances of the columnar objects in the detected station table.') coDot11DetStaMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 17, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11DetStaMacAddress.setStatus('current') if mibBuilder.loadTexts: coDot11DetStaMacAddress.setDescription('MAC address of the wireless client.') coDot11DetStaChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 17, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11DetStaChannel.setStatus('current') if mibBuilder.loadTexts: coDot11DetStaChannel.setDescription('The operating frequency channel when the last probe request was received.') coDot11DetStaSignalLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 17, 1, 4), Integer32()).setUnits('dBm').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11DetStaSignalLevel.setStatus('current') if mibBuilder.loadTexts: coDot11DetStaSignalLevel.setDescription('Strength of the wireless signal.') coDot11DetStaNoiseLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 17, 1, 5), Integer32()).setUnits('dBm').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11DetStaNoiseLevel.setStatus('current') if mibBuilder.loadTexts: coDot11DetStaNoiseLevel.setDescription('Level of local background noise.') coDot11DetStaNbProbeReq = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 17, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11DetStaNbProbeReq.setStatus('current') if mibBuilder.loadTexts: coDot11DetStaNbProbeReq.setDescription('Total number of probes request received from this client.') coDot11DetStaRate = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 17, 1, 7), Unsigned32()).setUnits('500Kb/s').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11DetStaRate.setStatus('current') if mibBuilder.loadTexts: coDot11DetStaRate.setDescription('Receive rate of the last probe request received from this client.') coDot11DetStaSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 17, 1, 8), ColubrisSSID()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11DetStaSSID.setStatus('current') if mibBuilder.loadTexts: coDot11DetStaSSID.setDescription('SSID contained in the last probe request received from this client.') coDot11DetStaTimeDiscovered = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 17, 1, 9), Counter32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11DetStaTimeDiscovered.setStatus('current') if mibBuilder.loadTexts: coDot11DetStaTimeDiscovered.setDescription('Elapsed time in seconds since the first probe has been received from this client.') coDot11DetStaTimeLastSeen = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 1, 17, 1, 10), Unsigned32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11DetStaTimeLastSeen.setStatus('current') if mibBuilder.loadTexts: coDot11DetStaTimeLastSeen.setDescription('Elapsed time in seconds since the last probe has been received from this client.') coDot11OperationTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 1), ) if mibBuilder.loadTexts: coDot11OperationTable.setStatus('current') if mibBuilder.loadTexts: coDot11OperationTable.setDescription('Group contains MAC attributes pertaining to the operation of the MAC. In tabular form to allow multiple instances on an agent.') coDot11OperationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: coDot11OperationEntry.setStatus('current') if mibBuilder.loadTexts: coDot11OperationEntry.setDescription('An entry in the coDot11OperationEntry Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex.') coDot11MACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 1, 1, 1), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11MACAddress.setStatus('current') if mibBuilder.loadTexts: coDot11MACAddress.setDescription('Unique MAC Address assigned to the STA.') coDot11RTSThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(128, 1540), ValueRangeConstraint(2347, 2347), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11RTSThreshold.setStatus('current') if mibBuilder.loadTexts: coDot11RTSThreshold.setDescription('Specifies the number of octets in an MPDU, below which an RTS/CTS handshake is not performed. An RTS/CTS handshake is performed at the beginning of any frame exchange sequence where the MPDU is of type Data or Management, the MPDU has an individual address in the Address1 field, and the length of the MPDU is greater than this threshold. (For additional details, refer to Table 21 in 9.7.) Setting this attribute to be larger than the maximum MSDU size has the effect of turning off the RTS/CTS handshake for frames of Data or Management type transmitted by this STA. The default value of this attribute is 2347.') coDot11ShortRetryLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ShortRetryLimit.setStatus('current') if mibBuilder.loadTexts: coDot11ShortRetryLimit.setDescription('Indicates the maximum number of transmission attempts of a frame, the length of which is less than or equal to coDot11RTSThreshold, that are made before a failure condition is indicated. The default value of this attribute is 7.') coDot11LongRetryLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11LongRetryLimit.setStatus('current') if mibBuilder.loadTexts: coDot11LongRetryLimit.setDescription('Indicates the maximum number of transmission attempts of a frame, the length of which is greater than coDot11RTSThreshold, that are made before a failure condition is indicated. The default value of this attribute is 4.') coDot11FragmentationThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(256, 2346))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11FragmentationThreshold.setStatus('current') if mibBuilder.loadTexts: coDot11FragmentationThreshold.setDescription('Indicates the current maximum size, in octets, of the MPDU that may be delivered to the PHY. An MSDU is broken down into fragments if its size exceeds the value of this attribute after adding MAC headers and trailers. An MSDU or MMPDU is fragmented when the resulting frame has an individual address in the Address1 field, and the length of the frame is larger than this threshold. The default value for this attribute is the lesser of 2346 or the aMPDUMaxLength of the attached PHY and will never exceed the lesser of 2346 or the aMPDUMaxLength of the attached PHY. The value of this attribute will never be less than 256. ') coDot11MaxTransmitMSDULifetime = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11MaxTransmitMSDULifetime.setStatus('current') if mibBuilder.loadTexts: coDot11MaxTransmitMSDULifetime.setDescription('Elapsed time in TU after the initial transmission of an MSDU, after which further attempts to transmit the MSDU are terminated. The default value of this attribute is 512.') coDot11MaxReceiveLifetime = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11MaxReceiveLifetime.setStatus('current') if mibBuilder.loadTexts: coDot11MaxReceiveLifetime.setDescription('Elapsed time in TU, after the initial reception of a fragmented MMPDU or MSDU, after which further attempts to reassemble the MMPDU or MSDU is terminated. The default value is 512.') coDot11ManufacturerID = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 1, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ManufacturerID.setStatus('current') if mibBuilder.loadTexts: coDot11ManufacturerID.setDescription("The name of the manufacturer. It may include additional information at the manufacturer's discretion. The default value of this attribute is null.") coDot11ProductID = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 1, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ProductID.setStatus('current') if mibBuilder.loadTexts: coDot11ProductID.setDescription("An identifier that is unique to the manufacturer. It may include additional information at the manufacturer's discretion. The default value is null.") coDot11RadioType = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 1, 1, 10), ColubrisRadioType()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RadioType.setStatus('current') if mibBuilder.loadTexts: coDot11RadioType.setDescription('Identify the wireless device inside the HP product.') coDot11StationDetectionState = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 1, 1, 11), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11StationDetectionState.setStatus('current') if mibBuilder.loadTexts: coDot11StationDetectionState.setDescription("The desired state of the station detection process. 'true': Analyze probe requests. 'false': Do not analyze probe requests.") coDot11CountersTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2), ) if mibBuilder.loadTexts: coDot11CountersTable.setStatus('current') if mibBuilder.loadTexts: coDot11CountersTable.setDescription('Group containing attributes that are MAC counters. In tabular form to allow multiple instance on an agent.') coDot11CountersEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: coDot11CountersEntry.setStatus('current') if mibBuilder.loadTexts: coDot11CountersEntry.setDescription('An entry in the coDot11CountersEntry Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex.') coDot11TransmittedFragmentCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11TransmittedFragmentCount.setStatus('current') if mibBuilder.loadTexts: coDot11TransmittedFragmentCount.setDescription('This counter is incremented for an acknowledged MPDU with an individual address in the address 1 field or an MPDU with a multicast address in the address 1 field of type Data or Management.') coDot11MulticastTransmittedFrameCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11MulticastTransmittedFrameCount.setStatus('current') if mibBuilder.loadTexts: coDot11MulticastTransmittedFrameCount.setDescription('This counter is incremented only when the multicast bit is set in the destination MAC address of a successfully transmitted MSDU. When operating as a STA in an ESS, where these frames are directed to the AP, this implies having received an acknowledgment to all associated MPDUs.') coDot11FailedCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11FailedCount.setStatus('current') if mibBuilder.loadTexts: coDot11FailedCount.setDescription('This counter is incremented when an MSDU is not transmitted successfully due to the number of transmit attempts exceeding either the coDot11ShortRetryLimit or coDot11LongRetryLimit.') coDot11RetryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RetryCount.setStatus('current') if mibBuilder.loadTexts: coDot11RetryCount.setDescription('This counter is incremented when an MSDU is successfully transmitted after one or more retransmissions.') coDot11MultipleRetryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11MultipleRetryCount.setStatus('current') if mibBuilder.loadTexts: coDot11MultipleRetryCount.setDescription('This counter is incremented when an MSDU is successfully transmitted after more than one retransmission.') coDot11FrameDuplicateCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11FrameDuplicateCount.setStatus('current') if mibBuilder.loadTexts: coDot11FrameDuplicateCount.setDescription('This counter is incremented when a frame is received that the Sequence Control field indicates is a duplicate.') coDot11RTSSuccessCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RTSSuccessCount.setStatus('current') if mibBuilder.loadTexts: coDot11RTSSuccessCount.setDescription('This counter is incremented when a CTS is received in response to an RTS.') coDot11RTSFailureCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RTSFailureCount.setStatus('current') if mibBuilder.loadTexts: coDot11RTSFailureCount.setDescription('This counter is incremented when a CTS is not received in response to an RTS.') coDot11ACKFailureCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ACKFailureCount.setStatus('current') if mibBuilder.loadTexts: coDot11ACKFailureCount.setDescription('This counter is incremented when an ACK is not received when expected.') coDot11ReceivedFragmentCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ReceivedFragmentCount.setStatus('current') if mibBuilder.loadTexts: coDot11ReceivedFragmentCount.setDescription('This counter is incremented for each successfully received MPDU of type Data or Management.') coDot11MulticastReceivedFrameCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11MulticastReceivedFrameCount.setStatus('current') if mibBuilder.loadTexts: coDot11MulticastReceivedFrameCount.setDescription('This counter is incremented when a MSDU is received with the multicast bit set in the destination MAC address.') coDot11FCSErrorCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11FCSErrorCount.setStatus('current') if mibBuilder.loadTexts: coDot11FCSErrorCount.setDescription('This counter is incremented when an FCS error is detected in a received MPDU.') coDot11TransmittedFrameCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11TransmittedFrameCount.setStatus('current') if mibBuilder.loadTexts: coDot11TransmittedFrameCount.setDescription('This counter is incremented for each successfully transmitted MSDU.') coDot11WEPUndecryptableCount = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 2, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11WEPUndecryptableCount.setStatus('current') if mibBuilder.loadTexts: coDot11WEPUndecryptableCount.setDescription("This counter is incremented when a frame is received with the WEP subfield of the Frame Control field set to one, and the WEPOn value for the key mapped to the TA's MAC address indicates that the frame should not have been encrypted or that frame is discarded due to the receiving STA not implementing the privacy option.") coDot11PhyOperationTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1), ) if mibBuilder.loadTexts: coDot11PhyOperationTable.setStatus('current') if mibBuilder.loadTexts: coDot11PhyOperationTable.setDescription('PHY level attributes concerned with operation. In tabular form to allow multiple instances on an agent.') coDot11PhyOperationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: coDot11PhyOperationEntry.setStatus('current') if mibBuilder.loadTexts: coDot11PhyOperationEntry.setDescription('An entry in the coDot11PhyOperation Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex.') coDot11PHYType = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 7))).clone(namedValues=NamedValues(("fhss", 1), ("dsss", 2), ("irbaseband", 3), ("ofdm", 4), ("ht", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PHYType.setStatus('current') if mibBuilder.loadTexts: coDot11PHYType.setDescription('This is an 8-bit integer value that identifies the PHY type supported by the attached PLCP and PMD. Currently defined values and their corresponding PHY types are: FHSS 2.4 GHz = 01 , DSSS 2.4 GHz = 02, IR Baseband = 03, OFDM 5 GHz = 04.') coDot11CurrentRegDomain = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11CurrentRegDomain.setStatus('current') if mibBuilder.loadTexts: coDot11CurrentRegDomain.setDescription('The current regulatory domain this instance of the PMD is supporting. This object corresponds to one of the RegDomains listed in coDot11RegDomainsSupported.') coDot11TempType = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("tempType1", 1), ("tempType2", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11TempType.setStatus('current') if mibBuilder.loadTexts: coDot11TempType.setDescription("There are different operating temperature requirements dependent on the anticipated environmental conditions. This attribute describes the current PHY's operating temperature range capability. Currently defined values and their corresponding temperature ranges are: Type 1 = X'01'-Commercial range of 0 to 40 degrees C, Type 2 = X'02'-Industrial range of -30 to 70 degrees C.") coDot11CurrentOperFrequency = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11CurrentOperFrequency.setStatus('current') if mibBuilder.loadTexts: coDot11CurrentOperFrequency.setDescription('The current operating frequency channel of the radio.') coDot11CurrentOperPHYType = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ieee802dot11a", 1), ("ieee802dot11b", 2), ("ieee802dot11g", 3), ("ieee802dot11bAndg", 4), ("ieee802dot11aTurbo", 5), ("ieee802dot11n", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11CurrentOperPHYType.setStatus('current') if mibBuilder.loadTexts: coDot11CurrentOperPHYType.setDescription('The current operating PHY type of the radio.') coDot11Sensitivity = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("large", 1), ("medium", 2), ("small", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11Sensitivity.setStatus('current') if mibBuilder.loadTexts: coDot11Sensitivity.setDescription('Receiver sensitivity of the radio.') coDot11RadioEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1, 1, 7), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11RadioEnabled.setStatus('current') if mibBuilder.loadTexts: coDot11RadioEnabled.setDescription('When True the radio is enabled.') coDot11OperatingMode = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("accessPointAndWirelessLinks", 1), ("accessPointOnly", 2), ("wirelessLinksOnly", 3), ("monitor", 4), ("sensor", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11OperatingMode.setStatus('current') if mibBuilder.loadTexts: coDot11OperatingMode.setDescription('Operating mode of the radio. Available options are: Access point and Wireless links: Standard operating mode provides support for all wireless functions. Access point only: Only provides access point functionality, local mesh links cannot be created. Wireless links only: Only provides local mesh functionality. Wireless client stations cannot connect. Monitor: Disables access point and local mesh functions. Use this option for continuous scanning across all channels in all supported wireless modes. Sensor: Enables RF sensor functionality on this radio. Operation of this feature requires that the appropriate license is installed.') coDot11AutoChannelEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1, 1, 9), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11AutoChannelEnabled.setStatus('current') if mibBuilder.loadTexts: coDot11AutoChannelEnabled.setDescription('When True the Auto Channel option is enabled.') coDot11AutoChannelInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 60, 120, 240, 480, 720, 1440))).clone(namedValues=NamedValues(("disable", 0), ("timeOfDay", 1), ("oneHour", 60), ("twoHours", 120), ("fourHours", 240), ("eightHours", 480), ("twelveHours", 720), ("tweentyFourHours", 1440)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11AutoChannelInterval.setStatus('current') if mibBuilder.loadTexts: coDot11AutoChannelInterval.setDescription('Time interval, in minutes, between auto rescanning of the channels. Maximum is 1440 minutes (24 hours). A value of zero disables automatic rescanning of channels, the radio will automatically select a channel when the interface initializes and utilize that channel as long as the interface is operational.') coDot11AutoPowerEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1, 1, 11), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11AutoPowerEnabled.setStatus('current') if mibBuilder.loadTexts: coDot11AutoPowerEnabled.setDescription('When True the Auto Power option is enabled.') coDot11AutoPowerInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(60, 120, 240, 480, 720, 1440))).clone(namedValues=NamedValues(("oneHour", 60), ("twoHours", 120), ("fourHours", 240), ("eightHours", 480), ("twelveHours", 720), ("tweentyFourHours", 1440)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11AutoPowerInterval.setStatus('current') if mibBuilder.loadTexts: coDot11AutoPowerInterval.setDescription('Time interval, in minutes, between auto rescanning of the channels. Maximum is 1440 minutes (24 hours).') coDot11PhyAntennaTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 2), ) if mibBuilder.loadTexts: coDot11PhyAntennaTable.setStatus('current') if mibBuilder.loadTexts: coDot11PhyAntennaTable.setDescription('Group of attributes for PhyAntenna. In tabular form to allow multiple instances on an agent.') coDot11PhyAntennaEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: coDot11PhyAntennaEntry.setStatus('current') if mibBuilder.loadTexts: coDot11PhyAntennaEntry.setDescription('An entry in the coDot11PhyAntenna Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex.') coDot11CurrentTxAntenna = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11CurrentTxAntenna.setStatus('current') if mibBuilder.loadTexts: coDot11CurrentTxAntenna.setDescription('The current antenna being used to transmit. This value is one of the values appearing in coDot11SupportedTxAntenna. This may be used by a management agent to control which antenna is used for transmission.') coDot11DiversitySupport = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("fixedlist", 1), ("notsupported", 2), ("dynamic", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11DiversitySupport.setStatus('current') if mibBuilder.loadTexts: coDot11DiversitySupport.setDescription("This implementation's support for diversity, encoded as: X'01': Diversity is available and is performed over the fixed list of antennas defined in coDot11DiversitySelectionRx. X'02': Diversity is not supported. X'03': Diversity is supported and control of diversity is also available, in which case the attribute coDot11DiversitySelectionRx can be dynamically modified by the LME.") coDot11CurrentRxAntenna = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11CurrentRxAntenna.setStatus('current') if mibBuilder.loadTexts: coDot11CurrentRxAntenna.setDescription('The current antenna being used to receive, if the coDot11 DiversitySupport indicates that diversity is not supported. The selected antenna shall be one of the antennae marked for receive in the coDot11AntennasListTable.') coDot11PhyConfigTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 3), ) if mibBuilder.loadTexts: coDot11PhyConfigTable.setStatus('current') if mibBuilder.loadTexts: coDot11PhyConfigTable.setDescription('PHY configuration attributes. In tabular form to allow multiple instances on an agent.') coDot11PhyConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: coDot11PhyConfigEntry.setStatus('current') if mibBuilder.loadTexts: coDot11PhyConfigEntry.setDescription('An entry in the coDot11PhyConfig Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex.') coDot11PhyAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11PhyAdminStatus.setStatus('current') if mibBuilder.loadTexts: coDot11PhyAdminStatus.setDescription("The desired state of the radio interface. 'up': Sets the radio interface to be ready to transmit and receive. 'down': Stops the transmission and reception of packets on the interface.") coDot11PhyOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11PhyOperStatus.setStatus('current') if mibBuilder.loadTexts: coDot11PhyOperStatus.setDescription("The current state of the radio interface. 'up': The radio interface is ready to ready to transmit and receive. 'down': The radio is not able to transmit or receive on the interface.") coDot11PhyDSSSTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 4), ) if mibBuilder.loadTexts: coDot11PhyDSSSTable.setStatus('current') if mibBuilder.loadTexts: coDot11PhyDSSSTable.setDescription('Entry of attributes for coDot11PhyDSSSEntry. In tabular form to allow multiple instances on an agent. This table only apply when in DSSS 2.4 GHz range') coDot11PhyDSSSEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: coDot11PhyDSSSEntry.setStatus('current') if mibBuilder.loadTexts: coDot11PhyDSSSEntry.setDescription('An entry in the coDot11PhyDSSSEntry Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex.') coDot11CurrentChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 14))).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11CurrentChannel.setStatus('current') if mibBuilder.loadTexts: coDot11CurrentChannel.setDescription('The desired operating frequency channel of the DSSS PHY. Valid channel numbers are as defined in 15.4.6.2.') coDot11CCAModeSupported = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11CCAModeSupported.setStatus('current') if mibBuilder.loadTexts: coDot11CCAModeSupported.setDescription('coDot11CCAModeSupported is a bit-significant value, representing all of the CCA modes supported by the PHY. Valid values are: energy detect only (ED_ONLY) = 01 carrier sense only (CS_ONLY) = 02 carrier sense and energy detect (ED_and_CS)= 04 Or the logical sum of any of these values.') coDot11CurrentCCAMode = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4))).clone(namedValues=NamedValues(("edonly", 1), ("csonly", 2), ("edandcs", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11CurrentCCAMode.setStatus('current') if mibBuilder.loadTexts: coDot11CurrentCCAMode.setDescription('The current CCA method in operation. Valid values are: energy detect only (edonly) = 01 carrier sense only (csonly) = 02 carrier sense and energy detect (edandcs)= 04') coDot11RegDomainsSupportedTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 5), ) if mibBuilder.loadTexts: coDot11RegDomainsSupportedTable.setStatus('current') if mibBuilder.loadTexts: coDot11RegDomainsSupportedTable.setDescription("There are different operational requirements dependent on the regulatory domain. This attribute list describes the regulatory domains the PLCP and PMD support in this implementation. Currently defined values and their corresponding Regulatory Domains are: FCC (USA) = X'10' DOC (Canada) = X'20' ETSI (most of Europe) = X'30' Spain = X'31' France = X'32' Japan = X'41' ") coDot11RegDomainsSupportedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "COLUBRIS-802DOT11-MIB", "coDot11RegDomainsSupportIndex")) if mibBuilder.loadTexts: coDot11RegDomainsSupportedEntry.setStatus('current') if mibBuilder.loadTexts: coDot11RegDomainsSupportedEntry.setDescription('An entry in the coDot11RegDomainsSupported Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex. coDot11RegDomainsSupportIndex - Uniquely specifies the regulatory domain in the table.') coDot11RegDomainsSupportIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))) if mibBuilder.loadTexts: coDot11RegDomainsSupportIndex.setStatus('current') if mibBuilder.loadTexts: coDot11RegDomainsSupportIndex.setDescription('The auxiliary variable used to identify instances of the columnar objects in the RegDomainsSupported Table.') coDot11RegDomainsSupportValue = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(16, 32, 48, 49, 50, 65))).clone(namedValues=NamedValues(("fcc", 16), ("doc", 32), ("etsi", 48), ("spain", 49), ("france", 50), ("japan", 65)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RegDomainsSupportValue.setStatus('current') if mibBuilder.loadTexts: coDot11RegDomainsSupportValue.setDescription("There are different operational requirements dependent on the regulatory domain. This attribute list describes the regulatory domains the PLCP and PMD support in this implementation. Currently defined values and their corresponding Regulatory Domains are: FCC (USA) = X'10' DOC (Canada) = X'20' ETSI (most of Europe) = X'30' Spain = X'31' France = X'32' Japan = X'41' ") coDot11AntennasListTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 6), ) if mibBuilder.loadTexts: coDot11AntennasListTable.setStatus('current') if mibBuilder.loadTexts: coDot11AntennasListTable.setDescription('This table represents the list of antennae. An antenna can be marked to be capable of transmitting, receiving, and/or for participation in receive diversity. Each entry in this table represents a single antenna with its properties. The maximum number of antennae that can be contained in this table is 255.') coDot11AntennasListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 6, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "COLUBRIS-802DOT11-MIB", "coDot11AntennaListIndex")) if mibBuilder.loadTexts: coDot11AntennasListEntry.setStatus('current') if mibBuilder.loadTexts: coDot11AntennasListEntry.setDescription('An entry in the coDot11AntennasListTable, representing the properties of a single antenna. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex. coDot11AntennaListIndex - Uniquely identifies the antenna connected to the 802.11 interface.') coDot11AntennaListIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: coDot11AntennaListIndex.setStatus('current') if mibBuilder.loadTexts: coDot11AntennaListIndex.setDescription('The unique index of an antenna which is used to identify the columnar objects in the coDot11AntennasList Table.') coDot11SupportedTxAntenna = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 6, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11SupportedTxAntenna.setStatus('current') if mibBuilder.loadTexts: coDot11SupportedTxAntenna.setDescription('When true, this object indicates that the antenna represented by coDot11AntennaIndex can be used as a transmit antenna.') coDot11SupportedRxAntenna = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 6, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11SupportedRxAntenna.setStatus('current') if mibBuilder.loadTexts: coDot11SupportedRxAntenna.setDescription('When true, this object indicates that the antenna represented by the coDot11AntennaIndex can be used as a receive antenna.') coDot11DiversitySelectionRx = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 6, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11DiversitySelectionRx.setStatus('current') if mibBuilder.loadTexts: coDot11DiversitySelectionRx.setDescription('When true, this object indicates that the antenna represented by coDot11AntennaIndex can be used for receive diversity. This object may only be true if the antenna can be used as a receive antenna, as indicated by coDot11SupportedRxAntenna.') coDot11SupportedDataRatesTxTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 7), ) if mibBuilder.loadTexts: coDot11SupportedDataRatesTxTable.setStatus('current') if mibBuilder.loadTexts: coDot11SupportedDataRatesTxTable.setDescription('The Transmit bit rates supported by the PLCP and PMD, data rates are increments of 500Kb/s from 1 Mbps to 63.5 Mbps subject to limitations of each individual PHY.') coDot11SupportedDataRatesTxEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "COLUBRIS-802DOT11-MIB", "coDot11SupportedDataRatesTxIndex")) if mibBuilder.loadTexts: coDot11SupportedDataRatesTxEntry.setStatus('current') if mibBuilder.loadTexts: coDot11SupportedDataRatesTxEntry.setDescription('An Entry (conceptual row) in the coDot11SupportedDataRatesTx Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex. coDot11SupportedDataRatesTxIndex - Uniquely identifies a supported rate in the table.') coDot11SupportedDataRatesTxIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 12))) if mibBuilder.loadTexts: coDot11SupportedDataRatesTxIndex.setStatus('current') if mibBuilder.loadTexts: coDot11SupportedDataRatesTxIndex.setDescription('Index object which identifies which data rate to access.') coDot11SupportedDataRatesTxValue = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 7, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11SupportedDataRatesTxValue.setStatus('current') if mibBuilder.loadTexts: coDot11SupportedDataRatesTxValue.setDescription('The transmit bit rates supported by the PLCP and PMD. Data rates are increments of 500Kb/s from 1 Mbps to 63.5 Mbps subject to limitations of each individual PHY.') coDot11SupportedDataRatesRxTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 8), ) if mibBuilder.loadTexts: coDot11SupportedDataRatesRxTable.setStatus('current') if mibBuilder.loadTexts: coDot11SupportedDataRatesRxTable.setDescription('The receive bit rates supported by the PLCP and PMD. Data rates are increments of 500Kb/s from 1 Mbps to 63.5 Mbps subject to limitations of each individual PHY.') coDot11SupportedDataRatesRxEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 8, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "COLUBRIS-802DOT11-MIB", "coDot11SupportedDataRatesRxIndex")) if mibBuilder.loadTexts: coDot11SupportedDataRatesRxEntry.setStatus('current') if mibBuilder.loadTexts: coDot11SupportedDataRatesRxEntry.setDescription('An Entry (conceptual row) in the coDot11SupportedDataRatesRx Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex. coDot11SupportedDataRatesTxIndex - Uniquely identifies a supported rate in the table.') coDot11SupportedDataRatesRxIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 12))) if mibBuilder.loadTexts: coDot11SupportedDataRatesRxIndex.setStatus('current') if mibBuilder.loadTexts: coDot11SupportedDataRatesRxIndex.setDescription('Index object which identifies which data rate to access.') coDot11SupportedDataRatesRxValue = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 8, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11SupportedDataRatesRxValue.setStatus('current') if mibBuilder.loadTexts: coDot11SupportedDataRatesRxValue.setDescription('The receive bit rates supported by the PLCP and PMD. Data rates are increments of 500Kb/s from 1 Mbps to 63.5 Mbps subject to limitations of each individual PHY.') coDot11PhyOFDMTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 9), ) if mibBuilder.loadTexts: coDot11PhyOFDMTable.setStatus('current') if mibBuilder.loadTexts: coDot11PhyOFDMTable.setDescription('Entry of attributes for coDot11PhyOFDMEntry. In tabular form to allow multiple instances on an agent. This table only apply when in OFDM 5 GHz range.') coDot11PhyOFDMEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 9, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: coDot11PhyOFDMEntry.setStatus('current') if mibBuilder.loadTexts: coDot11PhyOFDMEntry.setDescription('An entry in the coDot11PhyOFDMEntry Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex.') coDot11CurrentFrequency = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 9, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 200))).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11CurrentFrequency.setStatus('current') if mibBuilder.loadTexts: coDot11CurrentFrequency.setDescription('The desired operating frequency channel of the OFDM PHY.') coDot11TIThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 9, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11TIThreshold.setStatus('current') if mibBuilder.loadTexts: coDot11TIThreshold.setDescription('The threshold being used to detect a busy medium (frequency). CCA reports a busy medium upon detecting the RSSI above this threshold.') coDot11FrequencyBandsSupported = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 9, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11FrequencyBandsSupported.setStatus('current') if mibBuilder.loadTexts: coDot11FrequencyBandsSupported.setDescription('The capability of the OFDM PHY implementation to operate in the three U-NII bands. Coded as an integer value of a three 1 bit fields as follow: bit 0 - Capable of operating in the lower (5.15-5.25 GHz) U-NII band. bit 1 - Capable of operating in the middle (5.25-5.35 GHz) U-NII band. bit 2 - Capable of operating in the middle (5.725-5.825 GHz) U-NII band. For example, for an implementation capable of operating in the lower and middle bands, this object would take the value 3.') coDot11MinimumSNRLevel = MibScalar((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 92))).setUnits('dBm').setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11MinimumSNRLevel.setStatus('current') if mibBuilder.loadTexts: coDot11MinimumSNRLevel.setDescription('An SNR level notification is generated when the average SNR level is below this attribute. Not supported on the M111.') coDot11SNRLevelNotificationEnabled = MibScalar((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 11), ColubrisNotificationEnable().clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11SNRLevelNotificationEnabled.setStatus('current') if mibBuilder.loadTexts: coDot11SNRLevelNotificationEnabled.setDescription('This attribute, when true, enables the generation of SNR level notifications. Not supported on the M111.') coDot11SNRLevelNotificationInterval = MibScalar((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000000))).setUnits('minutes').setMaxAccess("readwrite") if mibBuilder.loadTexts: coDot11SNRLevelNotificationInterval.setStatus('current') if mibBuilder.loadTexts: coDot11SNRLevelNotificationInterval.setDescription('Interval in minutes between SNR Level notifications. Not supported on the M111.') coDot11CountryCode = MibScalar((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 8, 12, 31, 32, 36, 40, 48, 51, 56, 68, 76, 84, 96, 100, 112, 124, 152, 156, 158, 170, 188, 191, 196, 203, 208, 214, 218, 222, 233, 246, 250, 268, 276, 300, 320, 340, 344, 348, 352, 356, 360, 364, 372, 376, 380, 392, 393, 395, 396, 397, 398, 400, 404, 408, 410, 414, 422, 428, 438, 440, 442, 446, 458, 484, 492, 504, 512, 528, 554, 578, 586, 591, 604, 608, 616, 620, 630, 634, 642, 643, 682, 702, 703, 704, 705, 710, 716, 724, 752, 756, 760, 764, 780, 784, 788, 792, 804, 807, 818, 826, 827, 840, 858, 860, 862, 887))).clone(namedValues=NamedValues(("world", 1), ("albania", 8), ("algeria", 12), ("azerbaijan", 31), ("argentina", 32), ("australia", 36), ("austria", 40), ("bahrain", 48), ("armenia", 51), ("belgium", 56), ("bolivia", 68), ("brazil", 76), ("belize", 84), ("bruneiDarussalam", 96), ("bulgaria", 100), ("belarus", 112), ("canada", 124), ("chile", 152), ("china", 156), ("taiwan", 158), ("colombia", 170), ("costaRica", 188), ("croatia", 191), ("cyprus", 196), ("czechRepublic", 203), ("denmark", 208), ("dominicanRepublic", 214), ("ecuador", 218), ("elSalvador", 222), ("estonia", 233), ("finland", 246), ("france", 250), ("georgia", 268), ("germany", 276), ("greece", 300), ("guatemala", 320), ("honduras", 340), ("hongkong", 344), ("hungary", 348), ("iceland", 352), ("india", 356), ("indonesia", 360), ("iran", 364), ("ireland", 372), ("israel", 376), ("italy", 380), ("japanW52W53", 392), ("japanW52W53J52", 393), ("japanJ52", 395), ("japanJ5280211j", 396), ("japanClient", 397), ("kazakhstan", 398), ("jordan", 400), ("kenya", 404), ("northKorea", 408), ("southKorea", 410), ("kuwait", 414), ("lebanon", 422), ("latvia", 428), ("liechtenstein", 438), ("lithuania", 440), ("luxembourg", 442), ("macau", 446), ("malaysia", 458), ("mexico", 484), ("monaco", 492), ("morocco", 504), ("oman", 512), ("netherlands", 528), ("newZealand", 554), ("norway", 578), ("pakistan", 586), ("panama", 591), ("peru", 604), ("philippines", 608), ("poland", 616), ("portugal", 620), ("puertoRico", 630), ("qatar", 634), ("romania", 642), ("russianFederation", 643), ("saudiArabia", 682), ("singapore", 702), ("slovakia", 703), ("vietNam", 704), ("slovenia", 705), ("southAfrica", 710), ("zimbabwe", 716), ("spain", 724), ("sweden", 752), ("switzerland", 756), ("syria", 760), ("thailand", 764), ("trinidadAndTobago", 780), ("unitedArabEmirates", 784), ("tunisia", 788), ("turkey", 792), ("ukraine", 804), ("macedonia", 807), ("egypt", 818), ("unitedKingdom", 826), ("unitedKingdom58GHz", 827), ("unitedStates", 840), ("uruguay", 858), ("uzbekistan", 860), ("venezuela", 862), ("yemen", 887)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11CountryCode.setStatus('current') if mibBuilder.loadTexts: coDot11CountryCode.setDescription('The radios are running accordingly to the regulations of this country.') coDot11PhyHTTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 14), ) if mibBuilder.loadTexts: coDot11PhyHTTable.setStatus('current') if mibBuilder.loadTexts: coDot11PhyHTTable.setDescription('Entry of attributes for coDot11PhyHTEntry. This table only apply when the PHY type is HT.') coDot11PhyHTEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 14, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: coDot11PhyHTEntry.setStatus('current') if mibBuilder.loadTexts: coDot11PhyHTEntry.setDescription('An entry in the coDot11PhyHTEntry Table. ifIndex - Each 802.11 interface is represented by an ifEntry. Interface tables in this MIB module are indexed by ifIndex.') coDot11FortyMHzOperationImplemented = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 14, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11FortyMHzOperationImplemented.setStatus('current') if mibBuilder.loadTexts: coDot11FortyMHzOperationImplemented.setDescription('This attribute, when TRUE, indicates that 40 MHz Operation is implemented.') coDot11FortyMHzOperationEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 14, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11FortyMHzOperationEnabled.setStatus('current') if mibBuilder.loadTexts: coDot11FortyMHzOperationEnabled.setDescription('This attribute, when TRUE, indicates that 40 MHz Operation is enabled.') coDot11CurrentPrimaryChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 14, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11CurrentPrimaryChannel.setStatus('current') if mibBuilder.loadTexts: coDot11CurrentPrimaryChannel.setDescription('This attribute indicates the operating channel. If 20/40 MHz Mode is currently in use then this attribute indicates the primary channel.') coDot11CurrentSecondaryChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 14, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11CurrentSecondaryChannel.setStatus('current') if mibBuilder.loadTexts: coDot11CurrentSecondaryChannel.setDescription('This attribute indicates the channel number of the secondary channel. If 20/40 MHz mode is not currently in use, this attribute value is 0.') coDot11GreenfieldOptionImplemented = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 14, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11GreenfieldOptionImplemented.setStatus('current') if mibBuilder.loadTexts: coDot11GreenfieldOptionImplemented.setDescription('This attribute, when TRUE, indicates that the HT Greenfield option is implemented.') coDot11GreenfieldOptionEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 14, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11GreenfieldOptionEnabled.setStatus('current') if mibBuilder.loadTexts: coDot11GreenfieldOptionEnabled.setDescription('This attribute, when TRUE, indicates that the HT Greenfield option is enabled.') coDot11ShortGIOptionInTwentyImplemented = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 14, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ShortGIOptionInTwentyImplemented.setStatus('current') if mibBuilder.loadTexts: coDot11ShortGIOptionInTwentyImplemented.setDescription('This attribute, when TRUE, indicates that the Short Guard option is implemented for 20 MHz operation.') coDot11ShortGIOptionInTwentyEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 14, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ShortGIOptionInTwentyEnabled.setStatus('current') if mibBuilder.loadTexts: coDot11ShortGIOptionInTwentyEnabled.setDescription('This attribute, when TRUE, indicates that the Short Guard option is enabled for 20 MHz operation.') coDot11ShortGIOptionInFortyImplemented = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 14, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ShortGIOptionInFortyImplemented.setStatus('current') if mibBuilder.loadTexts: coDot11ShortGIOptionInFortyImplemented.setDescription('This attribute, when TRUE, indicates that the Short Guard option is implemented for 40 MHz operation.') coDot11ShortGIOptionInFortyEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 14, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11ShortGIOptionInFortyEnabled.setStatus('current') if mibBuilder.loadTexts: coDot11ShortGIOptionInFortyEnabled.setDescription('This attribute, when TRUE, indicates that the Short Guard option is enabled for 40 MHz operation.') coDot11HighestSupportedDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 3, 14, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11HighestSupportedDataRate.setStatus('current') if mibBuilder.loadTexts: coDot11HighestSupportedDataRate.setDescription('This attribute shall specify the Highest Data Rate in Mbps at which the station may receive data.') coDot11RSNAStatsTable = MibTable((1, 3, 6, 1, 4, 1, 8744, 5, 4, 4), ) if mibBuilder.loadTexts: coDot11RSNAStatsTable.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAStatsTable.setDescription('This table maintains statistics for SN. It is not supported on the WCB-200.') coDot11RSNAStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8744, 5, 4, 4, 1), ) coVirtualAccessPointConfigEntry.registerAugmentions(("COLUBRIS-802DOT11-MIB", "coDot11RSNAStatsEntry")) coDot11RSNAStatsEntry.setIndexNames(*coVirtualAccessPointConfigEntry.getIndexNames()) if mibBuilder.loadTexts: coDot11RSNAStatsEntry.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAStatsEntry.setDescription('An entry in the coDot11RSNAStatsTable.') coDot11RSNAStatsVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 4, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RSNAStatsVersion.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAStatsVersion.setDescription('The RSNA version which the AP associated with.') coDot11RSNAStatsSelectedPairwiseCipher = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 4, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RSNAStatsSelectedPairwiseCipher.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAStatsSelectedPairwiseCipher.setDescription('The AKM Suite the AP selected during association. The value consists of a three octet OUI followed by a one octet type as follows: OUI Value, Cipher, Type XX-XX-XX, 0, Reserved XX-XX-XX, 1, WEP-40 XX-XX-XX, 2, TKIP XX-XX-XX, 3, Reserved XX-XX-XX, 4, CCMP XX-XX-XX, 5, WEP-104 XX-XX-XX, 6-255, Reserved Vendor, any, Vendor Specific other, any, Reserved') coDot11RSNAStatsTKIPICVErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RSNAStatsTKIPICVErrors.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAStatsTKIPICVErrors.setDescription('Counts the number of TKIP ICV errors encountered when decrypting packets for the AP.') coDot11RSNAStatsTKIPLocalMICFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RSNAStatsTKIPLocalMICFailures.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAStatsTKIPLocalMICFailures.setDescription('Counts the number of Michael MIC failures encountered when checking the integrity of packets received from the AP at this entity.') coDot11RSNAStatsTKIPRemoteMICFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RSNAStatsTKIPRemoteMICFailures.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAStatsTKIPRemoteMICFailures.setDescription('Counts the number of Michael MIC failures encountered by the remote device and reported back to this entity.') coDot11RSNAStatsTKIPCounterMeasuresInvoked = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RSNAStatsTKIPCounterMeasuresInvoked.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAStatsTKIPCounterMeasuresInvoked.setDescription('Counts the number of times a MIC failure occurred two times within 60 seconds and countermeasures were invoked. This variable counts this for both local and remote. It increments every time countermeasures are invoked.') coDot11RSNAStatsCCMPFormatErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RSNAStatsCCMPFormatErrors.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAStatsCCMPFormatErrors.setDescription('The number of MSDUs received with an invalid CCMP format.') coDot11RSNAStatsCCMPReplays = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 4, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RSNAStatsCCMPReplays.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAStatsCCMPReplays.setDescription('The number of received unicast fragments discarded by the replay mechanism.') coDot11RSNAStatsCCMPDecryptErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 4, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RSNAStatsCCMPDecryptErrors.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAStatsCCMPDecryptErrors.setDescription('The number of received fragments discarded by the CCMP decryption algorithm.') coDot11RSNAStatsTKIPReplays = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 4, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RSNAStatsTKIPReplays.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAStatsTKIPReplays.setDescription('Counts the number of TKIP replay errors detected.') coDot11RSNAStats4WayHandshakeFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 8744, 5, 4, 4, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: coDot11RSNAStats4WayHandshakeFailures.setStatus('current') if mibBuilder.loadTexts: coDot11RSNAStats4WayHandshakeFailures.setDescription('Counts the number of 4-Way Handshake failures.') coDot11ManagementMIBNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 8744, 5, 4, 5)) coDot11ManagementMIBNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 8744, 5, 4, 5, 0)) coDot11SNRLevelNotification = NotificationType((1, 3, 6, 1, 4, 1, 8744, 5, 4, 5, 0, 1)).setObjects(("IF-MIB", "ifIndex"), ("IF-MIB", "ifDescr"), ("COLUBRIS-VIRTUAL-AP-MIB", "coVirtualApSSID"), ("COLUBRIS-802DOT11-MIB", "coDot11CurrentSNRLevel")) if mibBuilder.loadTexts: coDot11SNRLevelNotification.setStatus('current') if mibBuilder.loadTexts: coDot11SNRLevelNotification.setDescription('The average SNR level for all the stations using this VSC during the last three intervals is low.') coDot11AssociationNotification = NotificationType((1, 3, 6, 1, 4, 1, 8744, 5, 4, 5, 0, 2)).setObjects(("IF-MIB", "ifIndex"), ("IF-MIB", "ifDescr"), ("COLUBRIS-802DOT11-MIB", "coDot11StationName"), ("COLUBRIS-802DOT11-MIB", "coDot11StationSSID"), ("COLUBRIS-802DOT11-MIB", "coDot11StationIPAddress"), ("COLUBRIS-802DOT11-MIB", "coDot11StationMACAddress"), ("COLUBRIS-802DOT11-MIB", "coDot11SignalLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11SNR"), ("COLUBRIS-802DOT11-MIB", "coDot11TransmitRate"), ("COLUBRIS-802DOT11-MIB", "coDot11NumberOfUsers")) if mibBuilder.loadTexts: coDot11AssociationNotification.setStatus('current') if mibBuilder.loadTexts: coDot11AssociationNotification.setDescription('Sent when a new association is made or sent periodically using interval specified by coDot11AssociationNotificationInterval object.') coDot11UnauthorizedAPNotification = NotificationType((1, 3, 6, 1, 4, 1, 8744, 5, 4, 5, 0, 3)).setObjects(("IF-MIB", "ifIndex"), ("IF-MIB", "ifDescr"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanSSID"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanMacAddress"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanChannel"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanPHYType")) if mibBuilder.loadTexts: coDot11UnauthorizedAPNotification.setStatus('current') if mibBuilder.loadTexts: coDot11UnauthorizedAPNotification.setDescription('Sent when a new unauthorized AP is detected.') coDot11Conformance = MibIdentifier((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6)) coDot11Groups = MibIdentifier((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1)) coDot11Compliances = MibIdentifier((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 2)) coDot11Compliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 2, 1)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11APBaseGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11MACBaseGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11CountersGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11SmtAuthenticationAlgorithmsGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyConfigComplianceGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyConfigGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11APPrivacyGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11MACStatisticsGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyAntennaComplianceGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyRegDomainsSupportGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyAntennasListGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyRateGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11AssociationGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11AssociationConfigGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanConfigGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11WDSComplianceGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11NotificationGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11StationHTGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyDSSSComplianceGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyOFDMComplianceGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyHTComplianceGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11Compliance = coDot11Compliance.setStatus('deprecated') if mibBuilder.loadTexts: coDot11Compliance.setDescription('The compliance statement for SNMPv2 entities that implement the IEEE 802.11 MIB.') coDot11RSNCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 2, 2)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11RSNBase")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11RSNCompliance = coDot11RSNCompliance.setStatus('current') if mibBuilder.loadTexts: coDot11RSNCompliance.setDescription('The compliance statement for SNMPv2 entities that implement the IEEE 802.11 RSN MIB.') coDot11ComplianceExt = ModuleCompliance((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 2, 3)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11APBaseGroupExt"), ("COLUBRIS-802DOT11-MIB", "coDot11MACBaseGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11CountersGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11SmtAuthenticationAlgorithmsGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyConfigComplianceGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyConfigGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11APPrivacyGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11MACStatisticsGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyAntennaComplianceGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyRegDomainsSupportGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyAntennasListGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyRateGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11AssociationGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11AssociationConfigGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanConfigGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11WDSComplianceGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11NotificationGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11StationHTGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11StationDetectionGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyDSSSComplianceGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyOFDMComplianceGroup"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyHTComplianceGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11ComplianceExt = coDot11ComplianceExt.setStatus('current') if mibBuilder.loadTexts: coDot11ComplianceExt.setDescription('The compliance statement for SNMPv2 entities that implement the IEEE 802.11 MIB.') coDot11APBaseGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 1)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11RelayBetweenStation"), ("COLUBRIS-802DOT11-MIB", "coDot11PrivacyOptionImplemented"), ("COLUBRIS-802DOT11-MIB", "coDot11RSNAOptionImplemented"), ("COLUBRIS-802DOT11-MIB", "coDot11BeaconPeriod"), ("COLUBRIS-802DOT11-MIB", "coDot11DTIMPeriod"), ("COLUBRIS-802DOT11-MIB", "coDot11NumberOfUsers"), ("COLUBRIS-802DOT11-MIB", "coDot11AddToAssociationNotification"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyTxPowerAdminLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyTxPowerOperLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11BSSID"), ("COLUBRIS-802DOT11-MIB", "coDot11AdminMinimumDataRate"), ("COLUBRIS-802DOT11-MIB", "coDot11AdminMaximumDataRate"), ("COLUBRIS-802DOT11-MIB", "coDot11HighThroughputOptionImplemented")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11APBaseGroup = coDot11APBaseGroup.setStatus('deprecated') if mibBuilder.loadTexts: coDot11APBaseGroup.setDescription('The AP object class provides the necessary support at the Access Point to manage the processes in the STA such that the STA may work cooperatively as a part of an IEEE 802.11 network. coDot11AdminMinimumDataRate and coDot11AdminMaximumDataRate are deprecated.') coDot11APPrivacyGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 2)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11PrivacyInvoked"), ("COLUBRIS-802DOT11-MIB", "coDot11ExcludeUnencrypted"), ("COLUBRIS-802DOT11-MIB", "coDot11WEPICVErrorCount"), ("COLUBRIS-802DOT11-MIB", "coDot11WEPExcludedCount"), ("COLUBRIS-802DOT11-MIB", "coDot11WEPDefaultKeyID"), ("COLUBRIS-802DOT11-MIB", "coDot11WEPDefaultKey1Value"), ("COLUBRIS-802DOT11-MIB", "coDot11WEPDefaultKey2Value"), ("COLUBRIS-802DOT11-MIB", "coDot11WEPDefaultKey3Value"), ("COLUBRIS-802DOT11-MIB", "coDot11WEPDefaultKey4Value"), ("COLUBRIS-802DOT11-MIB", "coDot11RSNAEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11APPrivacyGroup = coDot11APPrivacyGroup.setStatus('current') if mibBuilder.loadTexts: coDot11APPrivacyGroup.setDescription('The APPrivacy package is a set of attributes that are present if WEP is implemented on the Access Point.') coDot11MACBaseGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 3)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11MACAddress"), ("COLUBRIS-802DOT11-MIB", "coDot11RTSThreshold"), ("COLUBRIS-802DOT11-MIB", "coDot11ShortRetryLimit"), ("COLUBRIS-802DOT11-MIB", "coDot11LongRetryLimit"), ("COLUBRIS-802DOT11-MIB", "coDot11FragmentationThreshold"), ("COLUBRIS-802DOT11-MIB", "coDot11MaxTransmitMSDULifetime"), ("COLUBRIS-802DOT11-MIB", "coDot11MaxReceiveLifetime"), ("COLUBRIS-802DOT11-MIB", "coDot11ManufacturerID"), ("COLUBRIS-802DOT11-MIB", "coDot11ProductID"), ("COLUBRIS-802DOT11-MIB", "coDot11RadioType"), ("COLUBRIS-802DOT11-MIB", "coDot11StationDetectionState")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11MACBaseGroup = coDot11MACBaseGroup.setStatus('current') if mibBuilder.loadTexts: coDot11MACBaseGroup.setDescription('The MAC object class provides the necessary support for access control, generation, and verification of frame check sequences, and proper delivery of valid data to upper layers.') coDot11MACStatisticsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 4)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11RetryCount"), ("COLUBRIS-802DOT11-MIB", "coDot11MultipleRetryCount")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11MACStatisticsGroup = coDot11MACStatisticsGroup.setStatus('current') if mibBuilder.loadTexts: coDot11MACStatisticsGroup.setDescription('The MACStatistics package provides extended statistical information on the operation of the MAC. This package is completely optional.') coDot11SmtAuthenticationAlgorithmsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 5)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11AuthenticationAlgorithm"), ("COLUBRIS-802DOT11-MIB", "coDot11AuthenticationAlgorithmsEnable")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11SmtAuthenticationAlgorithmsGroup = coDot11SmtAuthenticationAlgorithmsGroup.setStatus('current') if mibBuilder.loadTexts: coDot11SmtAuthenticationAlgorithmsGroup.setDescription('Authentication Algorithm Table.') coDot11PhyConfigComplianceGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 6)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11MinimumSNRLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11CurrentSNRLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11Sensitivity"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyAdminStatus"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyOperStatus"), ("COLUBRIS-802DOT11-MIB", "coDot11PHYType"), ("COLUBRIS-802DOT11-MIB", "coDot11CurrentRegDomain"), ("COLUBRIS-802DOT11-MIB", "coDot11TempType"), ("COLUBRIS-802DOT11-MIB", "coDot11CurrentOperFrequency"), ("COLUBRIS-802DOT11-MIB", "coDot11CurrentOperPHYType"), ("COLUBRIS-802DOT11-MIB", "coDot11RadioEnabled"), ("COLUBRIS-802DOT11-MIB", "coDot11OperatingMode"), ("COLUBRIS-802DOT11-MIB", "coDot11AutoChannelEnabled"), ("COLUBRIS-802DOT11-MIB", "coDot11AutoChannelInterval"), ("COLUBRIS-802DOT11-MIB", "coDot11AutoPowerEnabled"), ("COLUBRIS-802DOT11-MIB", "coDot11AutoPowerInterval")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11PhyConfigComplianceGroup = coDot11PhyConfigComplianceGroup.setStatus('current') if mibBuilder.loadTexts: coDot11PhyConfigComplianceGroup.setDescription('PHY layer operations attributes.') coDot11PhyConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 7)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11SNRLevelNotificationEnabled"), ("COLUBRIS-802DOT11-MIB", "coDot11SNRLevelNotificationInterval"), ("COLUBRIS-802DOT11-MIB", "coDot11CountryCode")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11PhyConfigGroup = coDot11PhyConfigGroup.setStatus('current') if mibBuilder.loadTexts: coDot11PhyConfigGroup.setDescription('PHY notification configuration attributes.') coDot11PhyAntennaComplianceGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 8)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11CurrentTxAntenna"), ("COLUBRIS-802DOT11-MIB", "coDot11DiversitySupport"), ("COLUBRIS-802DOT11-MIB", "coDot11CurrentRxAntenna")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11PhyAntennaComplianceGroup = coDot11PhyAntennaComplianceGroup.setStatus('current') if mibBuilder.loadTexts: coDot11PhyAntennaComplianceGroup.setDescription('Phy antenna attributes.') coDot11PhyDSSSComplianceGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 9)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11CurrentChannel"), ("COLUBRIS-802DOT11-MIB", "coDot11CCAModeSupported"), ("COLUBRIS-802DOT11-MIB", "coDot11CurrentCCAMode")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11PhyDSSSComplianceGroup = coDot11PhyDSSSComplianceGroup.setStatus('current') if mibBuilder.loadTexts: coDot11PhyDSSSComplianceGroup.setDescription('Attributes that configure the DSSS for IEEE 802.11.') coDot11PhyRegDomainsSupportGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 10)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11RegDomainsSupportValue")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11PhyRegDomainsSupportGroup = coDot11PhyRegDomainsSupportGroup.setStatus('current') if mibBuilder.loadTexts: coDot11PhyRegDomainsSupportGroup.setDescription('Attributes that specify the supported Regulation Domains.') coDot11PhyAntennasListGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 11)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11SupportedTxAntenna"), ("COLUBRIS-802DOT11-MIB", "coDot11SupportedRxAntenna"), ("COLUBRIS-802DOT11-MIB", "coDot11DiversitySelectionRx")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11PhyAntennasListGroup = coDot11PhyAntennasListGroup.setStatus('current') if mibBuilder.loadTexts: coDot11PhyAntennasListGroup.setDescription('Antennas list attributes.') coDot11PhyRateGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 12)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11SupportedDataRatesTxValue"), ("COLUBRIS-802DOT11-MIB", "coDot11SupportedDataRatesRxValue")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11PhyRateGroup = coDot11PhyRateGroup.setStatus('current') if mibBuilder.loadTexts: coDot11PhyRateGroup.setDescription('Attributes for Data Rates for IEEE 802.11.') coDot11CountersGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 13)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11TransmittedFragmentCount"), ("COLUBRIS-802DOT11-MIB", "coDot11MulticastTransmittedFrameCount"), ("COLUBRIS-802DOT11-MIB", "coDot11FailedCount"), ("COLUBRIS-802DOT11-MIB", "coDot11FrameDuplicateCount"), ("COLUBRIS-802DOT11-MIB", "coDot11RTSSuccessCount"), ("COLUBRIS-802DOT11-MIB", "coDot11RTSFailureCount"), ("COLUBRIS-802DOT11-MIB", "coDot11ACKFailureCount"), ("COLUBRIS-802DOT11-MIB", "coDot11ReceivedFragmentCount"), ("COLUBRIS-802DOT11-MIB", "coDot11MulticastReceivedFrameCount"), ("COLUBRIS-802DOT11-MIB", "coDot11FCSErrorCount"), ("COLUBRIS-802DOT11-MIB", "coDot11WEPUndecryptableCount"), ("COLUBRIS-802DOT11-MIB", "coDot11TransmittedFrameCount")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11CountersGroup = coDot11CountersGroup.setStatus('current') if mibBuilder.loadTexts: coDot11CountersGroup.setDescription('Attributes from the coDot11CountersGroup that are not described in the coDot11MACStatistics group. These objects are mandatory.') coDot11AssociationGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 14)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11StationMACAddress"), ("COLUBRIS-802DOT11-MIB", "coDot11StationConnectTime"), ("COLUBRIS-802DOT11-MIB", "coDot11SignalLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11NoiseLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11SNR"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsRate1"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsRate2"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsRate5dot5"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsRate6"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsRate9"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsRate11"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsRate12"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsRate18"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsRate24"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsRate36"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsRate48"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsRate54"), ("COLUBRIS-802DOT11-MIB", "coDot11TransmitRate"), ("COLUBRIS-802DOT11-MIB", "coDot11ReceiveRate"), ("COLUBRIS-802DOT11-MIB", "coDot11InPkts"), ("COLUBRIS-802DOT11-MIB", "coDot11OutPkts"), ("COLUBRIS-802DOT11-MIB", "coDot11InOctets"), ("COLUBRIS-802DOT11-MIB", "coDot11OutOctets"), ("COLUBRIS-802DOT11-MIB", "coDot11StationSSID"), ("COLUBRIS-802DOT11-MIB", "coDot11StationName"), ("COLUBRIS-802DOT11-MIB", "coDot11StationIPAddress"), ("COLUBRIS-802DOT11-MIB", "coDot11StationVLAN"), ("COLUBRIS-802DOT11-MIB", "coDot11StationLocalInterface"), ("COLUBRIS-802DOT11-MIB", "coDot11StaHT"), ("COLUBRIS-802DOT11-MIB", "coDot11StaEncryptionType"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsTxRate1"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsTxRate2"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsTxRate5dot5"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsTxRate11"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsTxRate6"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsTxRate9"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsTxRate12"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsTxRate18"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsTxRate24"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsTxRate36"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsTxRate48"), ("COLUBRIS-802DOT11-MIB", "coDot11PktsTxRate54")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11AssociationGroup = coDot11AssociationGroup.setStatus('current') if mibBuilder.loadTexts: coDot11AssociationGroup.setDescription('The AP object class provides the necessary support at the Access Point to manage the association table.') coDot11AssociationConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 15)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11AssociationNotificationEnabled"), ("COLUBRIS-802DOT11-MIB", "coDot11AssociationNotificationInterval")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11AssociationConfigGroup = coDot11AssociationConfigGroup.setStatus('current') if mibBuilder.loadTexts: coDot11AssociationConfigGroup.setDescription('The AP object class provides the necessary support at the Access Point to manage the association table. Not supported on the M111.') coDot11ScanGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 16)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11ScanMacAddress"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanChannel"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanSSID"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanSignalLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanNoiseLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanSNR"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanStatus"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanPHYType"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanInactivityTime"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanNetworkType"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanSecurity")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11ScanGroup = coDot11ScanGroup.setStatus('current') if mibBuilder.loadTexts: coDot11ScanGroup.setDescription('The AP object class provides the necessary support at the Access Point to manage the scan table. ') coDot11ScanConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 17)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11ScanEnabled"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanPeriodicity"), ("COLUBRIS-802DOT11-MIB", "coDot11ScanAuthorizedListURL"), ("COLUBRIS-802DOT11-MIB", "coDot11UnauthorizedAPNotificationEnabled"), ("COLUBRIS-802DOT11-MIB", "coDot11UnauthorizedAPNotificationInterval")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11ScanConfigGroup = coDot11ScanConfigGroup.setStatus('current') if mibBuilder.loadTexts: coDot11ScanConfigGroup.setDescription('The AP object class provides the necessary support at the Access Point to manage the scan table. Not supported on the M111.') coDot11WDSComplianceGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 18)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11WDSPortMacAddress"), ("COLUBRIS-802DOT11-MIB", "coDot11WDSPortCurrentRate"), ("COLUBRIS-802DOT11-MIB", "coDot11WDSPortSNRLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11WDSPortTxPackets"), ("COLUBRIS-802DOT11-MIB", "coDot11WDSPortTxDropped"), ("COLUBRIS-802DOT11-MIB", "coDot11WDSPortTxErrors"), ("COLUBRIS-802DOT11-MIB", "coDot11WDSPortRxPackets"), ("COLUBRIS-802DOT11-MIB", "coDot11WDSPortRxDropped"), ("COLUBRIS-802DOT11-MIB", "coDot11WDSPortRxErrors")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11WDSComplianceGroup = coDot11WDSComplianceGroup.setStatus('current') if mibBuilder.loadTexts: coDot11WDSComplianceGroup.setDescription('Attributes that configure the WDS table.') coDot11NotificationGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 19)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11SNRLevelNotification"), ("COLUBRIS-802DOT11-MIB", "coDot11AssociationNotification"), ("COLUBRIS-802DOT11-MIB", "coDot11UnauthorizedAPNotification")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11NotificationGroup = coDot11NotificationGroup.setStatus('current') if mibBuilder.loadTexts: coDot11NotificationGroup.setDescription('A collection of supported notifications.') coDot11RSNBase = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 20)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11RSNAStatsVersion"), ("COLUBRIS-802DOT11-MIB", "coDot11RSNAStatsSelectedPairwiseCipher"), ("COLUBRIS-802DOT11-MIB", "coDot11RSNAStatsTKIPICVErrors"), ("COLUBRIS-802DOT11-MIB", "coDot11RSNAStatsTKIPLocalMICFailures"), ("COLUBRIS-802DOT11-MIB", "coDot11RSNAStatsTKIPRemoteMICFailures"), ("COLUBRIS-802DOT11-MIB", "coDot11RSNAStatsTKIPCounterMeasuresInvoked"), ("COLUBRIS-802DOT11-MIB", "coDot11RSNAStatsCCMPFormatErrors"), ("COLUBRIS-802DOT11-MIB", "coDot11RSNAStatsCCMPReplays"), ("COLUBRIS-802DOT11-MIB", "coDot11RSNAStatsCCMPDecryptErrors"), ("COLUBRIS-802DOT11-MIB", "coDot11RSNAStatsTKIPReplays"), ("COLUBRIS-802DOT11-MIB", "coDot11RSNAStats4WayHandshakeFailures")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11RSNBase = coDot11RSNBase.setStatus('current') if mibBuilder.loadTexts: coDot11RSNBase.setDescription('The coDot11RSNBase object class provides the necessary support for managing RSNA functionality in the STA') coDot11PhyOFDMComplianceGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 21)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11CurrentFrequency"), ("COLUBRIS-802DOT11-MIB", "coDot11TIThreshold"), ("COLUBRIS-802DOT11-MIB", "coDot11FrequencyBandsSupported")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11PhyOFDMComplianceGroup = coDot11PhyOFDMComplianceGroup.setStatus('current') if mibBuilder.loadTexts: coDot11PhyOFDMComplianceGroup.setDescription('Attributes that configure the OFDM for IEEE 802.11.') coDot11StationHTGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 22)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11StaTransmitMCS"), ("COLUBRIS-802DOT11-MIB", "coDot11StaReceiveMCS"), ("COLUBRIS-802DOT11-MIB", "coDot11StaChannelWidth"), ("COLUBRIS-802DOT11-MIB", "coDot11StaShortGI"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS0"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS1"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS2"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS3"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS4"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS5"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS6"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS7"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS8"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS9"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS10"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS11"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS12"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS13"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS14"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsTxMCS15"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS0"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS1"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS2"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS3"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS4"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS5"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS6"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS7"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS8"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS9"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS10"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS11"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS12"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS13"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS14"), ("COLUBRIS-802DOT11-MIB", "coDot11StaPktsRxMCS15")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11StationHTGroup = coDot11StationHTGroup.setStatus('current') if mibBuilder.loadTexts: coDot11StationHTGroup.setDescription('The AP object class provides the necessary support at the Access Point to manage the station HT table.') coDot11PhyHTComplianceGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 23)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11FortyMHzOperationImplemented"), ("COLUBRIS-802DOT11-MIB", "coDot11FortyMHzOperationEnabled"), ("COLUBRIS-802DOT11-MIB", "coDot11CurrentPrimaryChannel"), ("COLUBRIS-802DOT11-MIB", "coDot11CurrentSecondaryChannel"), ("COLUBRIS-802DOT11-MIB", "coDot11GreenfieldOptionImplemented"), ("COLUBRIS-802DOT11-MIB", "coDot11GreenfieldOptionEnabled"), ("COLUBRIS-802DOT11-MIB", "coDot11ShortGIOptionInTwentyImplemented"), ("COLUBRIS-802DOT11-MIB", "coDot11ShortGIOptionInTwentyEnabled"), ("COLUBRIS-802DOT11-MIB", "coDot11ShortGIOptionInFortyImplemented"), ("COLUBRIS-802DOT11-MIB", "coDot11ShortGIOptionInFortyEnabled"), ("COLUBRIS-802DOT11-MIB", "coDot11HighestSupportedDataRate")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11PhyHTComplianceGroup = coDot11PhyHTComplianceGroup.setStatus('current') if mibBuilder.loadTexts: coDot11PhyHTComplianceGroup.setDescription('Attributes that configure the HT for IEEE 802.11.') coDot11APBaseGroupExt = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 24)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11RelayBetweenStation"), ("COLUBRIS-802DOT11-MIB", "coDot11PrivacyOptionImplemented"), ("COLUBRIS-802DOT11-MIB", "coDot11RSNAOptionImplemented"), ("COLUBRIS-802DOT11-MIB", "coDot11BeaconPeriod"), ("COLUBRIS-802DOT11-MIB", "coDot11DTIMPeriod"), ("COLUBRIS-802DOT11-MIB", "coDot11NumberOfUsers"), ("COLUBRIS-802DOT11-MIB", "coDot11AddToAssociationNotification"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyTxPowerAdminLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11PhyTxPowerOperLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11BSSID"), ("COLUBRIS-802DOT11-MIB", "coDot11HighThroughputOptionImplemented")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11APBaseGroupExt = coDot11APBaseGroupExt.setStatus('current') if mibBuilder.loadTexts: coDot11APBaseGroupExt.setDescription('The AP object class provides the necessary support at the Access Point to manage the processes in the STA such that the STA may work cooperatively as a part of an IEEE 802.11 network.') coDot11StationDetectionGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8744, 5, 4, 6, 1, 25)).setObjects(("COLUBRIS-802DOT11-MIB", "coDot11NbDetectedStation"), ("COLUBRIS-802DOT11-MIB", "coDot11DetStaMacAddress"), ("COLUBRIS-802DOT11-MIB", "coDot11DetStaChannel"), ("COLUBRIS-802DOT11-MIB", "coDot11DetStaSignalLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11DetStaNoiseLevel"), ("COLUBRIS-802DOT11-MIB", "coDot11DetStaNbProbeReq"), ("COLUBRIS-802DOT11-MIB", "coDot11DetStaRate"), ("COLUBRIS-802DOT11-MIB", "coDot11DetStaSSID"), ("COLUBRIS-802DOT11-MIB", "coDot11DetStaTimeDiscovered"), ("COLUBRIS-802DOT11-MIB", "coDot11DetStaTimeLastSeen")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): coDot11StationDetectionGroup = coDot11StationDetectionGroup.setStatus('current') if mibBuilder.loadTexts: coDot11StationDetectionGroup.setDescription('The AP object class provides the necessary support at the Access Point to manage the station detection information.') mibBuilder.exportSymbols("COLUBRIS-802DOT11-MIB", coDot11StaPktsTxMCS14=coDot11StaPktsTxMCS14, coDot11ap=coDot11ap, coDot11ScanPHYType=coDot11ScanPHYType, coDot11SupportedDataRatesRxIndex=coDot11SupportedDataRatesRxIndex, coDot11ScanInactivityTime=coDot11ScanInactivityTime, coDot11StaPktsRxMCS14=coDot11StaPktsRxMCS14, coDot11phy=coDot11phy, coDot11ScanEnabled=coDot11ScanEnabled, coDot11StaPktsTxMCS1=coDot11StaPktsTxMCS1, coDot11CCAModeSupported=coDot11CCAModeSupported, coDot11FCSErrorCount=coDot11FCSErrorCount, coDot11PhyAntennaTable=coDot11PhyAntennaTable, coDot11AssociationNotification=coDot11AssociationNotification, coDot11DetStaSignalLevel=coDot11DetStaSignalLevel, coDot11ScanSNR=coDot11ScanSNR, coDot11PhyHTComplianceGroup=coDot11PhyHTComplianceGroup, coDot11StaPktsTxMCS12=coDot11StaPktsTxMCS12, coDot11ScanGroup=coDot11ScanGroup, coDot11StaPktsRxMCS9=coDot11StaPktsRxMCS9, coDot11FragmentationThreshold=coDot11FragmentationThreshold, coDot11StaEncryptionType=coDot11StaEncryptionType, coDot11SupportedDataRatesRxTable=coDot11SupportedDataRatesRxTable, coDot11PhyOperationTable=coDot11PhyOperationTable, coDot11RSNAStatsSelectedPairwiseCipher=coDot11RSNAStatsSelectedPairwiseCipher, coDot11BeaconPeriod=coDot11BeaconPeriod, coDot11CurrentFrequency=coDot11CurrentFrequency, coDot11AuthenticationAlgorithmsEntry=coDot11AuthenticationAlgorithmsEntry, coDot11AuthenticationAlgorithmsTable=coDot11AuthenticationAlgorithmsTable, coDot11RSNAStatsVersion=coDot11RSNAStatsVersion, coDot11ScanNoiseLevel=coDot11ScanNoiseLevel, coDot11PhyOperStatus=coDot11PhyOperStatus, coDot11Compliances=coDot11Compliances, coDot11CurrentChannel=coDot11CurrentChannel, coDot11SNRLevelNotification=coDot11SNRLevelNotification, coDot11WEPDefaultKey4Value=coDot11WEPDefaultKey4Value, coDot11PhyOFDMTable=coDot11PhyOFDMTable, coDot11SmtAuthenticationAlgorithmsGroup=coDot11SmtAuthenticationAlgorithmsGroup, coDot11FrequencyBandsSupported=coDot11FrequencyBandsSupported, coDot11DiversitySelectionRx=coDot11DiversitySelectionRx, coDot11ScanConfigGroup=coDot11ScanConfigGroup, coDot11PktsRate1=coDot11PktsRate1, coDot11AssociationEntry=coDot11AssociationEntry, coDot11DetStaMacAddress=coDot11DetStaMacAddress, coDot11RTSFailureCount=coDot11RTSFailureCount, coDot11StaPktsRxMCS15=coDot11StaPktsRxMCS15, coDot11PktsRate24=coDot11PktsRate24, coDot11RegDomainsSupportedTable=coDot11RegDomainsSupportedTable, coDot11CountersEntry=coDot11CountersEntry, coDot11PhyConfigEntry=coDot11PhyConfigEntry, coDot11AuthenticationAlgorithm=coDot11AuthenticationAlgorithm, coDot11StaPktsRxMCS10=coDot11StaPktsRxMCS10, coDot11StaPktsRxMCS6=coDot11StaPktsRxMCS6, coDot11CurrentOperPHYType=coDot11CurrentOperPHYType, coDot11ScanSecurity=coDot11ScanSecurity, coDot11StaPktsTxMCS15=coDot11StaPktsTxMCS15, coDot11StaShortGI=coDot11StaShortGI, coDot11WEPDefaultKeysTable=coDot11WEPDefaultKeysTable, coDot11PhyOperationEntry=coDot11PhyOperationEntry, coDot11RSNAStats4WayHandshakeFailures=coDot11RSNAStats4WayHandshakeFailures, coDot11LongRetryLimit=coDot11LongRetryLimit, coDot11PrivacyTable=coDot11PrivacyTable, coDot11DetectedStationTable=coDot11DetectedStationTable, colubris802dot11=colubris802dot11, coDot11CurrentOperFrequency=coDot11CurrentOperFrequency, coDot11PktsRate18=coDot11PktsRate18, coDot11OperationTable=coDot11OperationTable, coDot11PrivacyOptionImplemented=coDot11PrivacyOptionImplemented, coDot11PhyTxPowerAdminLevel=coDot11PhyTxPowerAdminLevel, coDot11Groups=coDot11Groups, coDot11StaPktsRxMCS13=coDot11StaPktsRxMCS13, coDot11StationIPAddress=coDot11StationIPAddress, coDot11StationMACAddress=coDot11StationMACAddress, coDot11AntennasListTable=coDot11AntennasListTable, coDot11AssociationNotificationEnabled=coDot11AssociationNotificationEnabled, coDot11StaPktsRxMCS2=coDot11StaPktsRxMCS2, coDot11PrivacyInvoked=coDot11PrivacyInvoked, coDot11RadioType=coDot11RadioType, coDot11StaPktsRxMCS4=coDot11StaPktsRxMCS4, coDot11PhyHTEntry=coDot11PhyHTEntry, coDot11ManagementMIBNotificationPrefix=coDot11ManagementMIBNotificationPrefix, coDot11RSNAStatsCCMPReplays=coDot11RSNAStatsCCMPReplays, coDot11BSSID=coDot11BSSID, coDot11GreenfieldOptionImplemented=coDot11GreenfieldOptionImplemented, coDot11StaPktsTxMCS5=coDot11StaPktsTxMCS5, coDot11ManufacturerID=coDot11ManufacturerID, coDot11ShortRetryLimit=coDot11ShortRetryLimit, coDot11StaPktsTxMCS4=coDot11StaPktsTxMCS4, coDot11MACBaseGroup=coDot11MACBaseGroup, coDot11PHYType=coDot11PHYType, coDot11StaPktsRxMCS7=coDot11StaPktsRxMCS7, coDot11FrameDuplicateCount=coDot11FrameDuplicateCount, coDot11CurrentPrimaryChannel=coDot11CurrentPrimaryChannel, coDot11TransmittedFrameCount=coDot11TransmittedFrameCount, coDot11RSNAStatsTKIPLocalMICFailures=coDot11RSNAStatsTKIPLocalMICFailures, coDot11AdminMinimumDataRate=coDot11AdminMinimumDataRate, coDot11CountryCode=coDot11CountryCode, coDot11mac=coDot11mac, coDot11ScanSignalLevel=coDot11ScanSignalLevel, coDot11SupportedDataRatesTxValue=coDot11SupportedDataRatesTxValue, coDot11ScanAuthorizedListURL=coDot11ScanAuthorizedListURL, coDot11WDSPortMacAddress=coDot11WDSPortMacAddress, coDot11RSNAStatsTKIPICVErrors=coDot11RSNAStatsTKIPICVErrors, coDot11RSNAStatsTKIPRemoteMICFailures=coDot11RSNAStatsTKIPRemoteMICFailures, coDot11PktsTxRate6=coDot11PktsTxRate6, coDot11MaxTransmitMSDULifetime=coDot11MaxTransmitMSDULifetime, coDot11CurrentCCAMode=coDot11CurrentCCAMode, coDot11StationName=coDot11StationName, coDot11PktsTxRate24=coDot11PktsTxRate24, coDot11PhyRegDomainsSupportGroup=coDot11PhyRegDomainsSupportGroup, coDot11ShortGIOptionInTwentyImplemented=coDot11ShortGIOptionInTwentyImplemented, coDot11SupportedRxAntenna=coDot11SupportedRxAntenna, PYSNMP_MODULE_ID=colubris802dot11, coDot11ShortGIOptionInFortyImplemented=coDot11ShortGIOptionInFortyImplemented, coDot11ShortGIOptionInFortyEnabled=coDot11ShortGIOptionInFortyEnabled, coDot11AuthenticationAlgorithmsEnable=coDot11AuthenticationAlgorithmsEnable, coDot11WEPDefaultKeyID=coDot11WEPDefaultKeyID, coDot11CurrentTxAntenna=coDot11CurrentTxAntenna, coDot11RSNAStatsCCMPDecryptErrors=coDot11RSNAStatsCCMPDecryptErrors, coDot11PktsTxRate36=coDot11PktsTxRate36, coDot11StaReceiveMCS=coDot11StaReceiveMCS, coDot11AssociationGroup=coDot11AssociationGroup, coDot11TransmittedFragmentCount=coDot11TransmittedFragmentCount, coDot11StaPktsRxMCS3=coDot11StaPktsRxMCS3, coDot11SignalLevel=coDot11SignalLevel, coDot11DetStaSSID=coDot11DetStaSSID, coDot11ReceiveRate=coDot11ReceiveRate, coDot11InOctets=coDot11InOctets, coDot11AutoChannelEnabled=coDot11AutoChannelEnabled, coDot11PhyOFDMComplianceGroup=coDot11PhyOFDMComplianceGroup, coDot11WDSPortRxPackets=coDot11WDSPortRxPackets, WEPKeytype=WEPKeytype, coDot11StaPktsRxMCS12=coDot11StaPktsRxMCS12, coDot11PktsTxRate1=coDot11PktsTxRate1, coDot11PktsTxRate48=coDot11PktsTxRate48, coDot11RadioEnabled=coDot11RadioEnabled, coDot11StaPktsTxMCS10=coDot11StaPktsTxMCS10, coDot11StaChannelWidth=coDot11StaChannelWidth, coDot11PktsRate11=coDot11PktsRate11, coDot11StaPktsTxMCS7=coDot11StaPktsTxMCS7, coDot11PhyDSSSEntry=coDot11PhyDSSSEntry, coDot11ScanPeriodicity=coDot11ScanPeriodicity, coDot11SupportedTxAntenna=coDot11SupportedTxAntenna, coDot11PhyHTTable=coDot11PhyHTTable, coDot11StaPktsTxMCS0=coDot11StaPktsTxMCS0, coDot11APBaseGroup=coDot11APBaseGroup, coDot11CountersGroup=coDot11CountersGroup, coDot11SupportedDataRatesTxEntry=coDot11SupportedDataRatesTxEntry, coDot11HighestSupportedDataRate=coDot11HighestSupportedDataRate, coDot11AdminMaximumDataRate=coDot11AdminMaximumDataRate, coDot11WDSPortIndex=coDot11WDSPortIndex, coDot11StaPktsTxMCS3=coDot11StaPktsTxMCS3, coDot11ReceivedFragmentCount=coDot11ReceivedFragmentCount, coDot11StaPktsTxMCS2=coDot11StaPktsTxMCS2, coDot11StationHTTable=coDot11StationHTTable, coDot11StaPktsTxMCS11=coDot11StaPktsTxMCS11, coDot11PktsRate5dot5=coDot11PktsRate5dot5, coDot11WEPDefaultKey3Value=coDot11WEPDefaultKey3Value, coDot11PktsRate2=coDot11PktsRate2, coDot11DetStaRate=coDot11DetStaRate, coDot11RelayBetweenStation=coDot11RelayBetweenStation, coDot11UnauthorizedAPNotificationInterval=coDot11UnauthorizedAPNotificationInterval, coDot11StaTransmitMCS=coDot11StaTransmitMCS, coDot11WDSPortRxErrors=coDot11WDSPortRxErrors, coDot11AutoPowerInterval=coDot11AutoPowerInterval, coDot11MACStatisticsGroup=coDot11MACStatisticsGroup, coDot11SNRLevelNotificationEnabled=coDot11SNRLevelNotificationEnabled, coDot11StationDetectionState=coDot11StationDetectionState, coDot11StationConnectTime=coDot11StationConnectTime, coDot11PktsRate48=coDot11PktsRate48, coDot11PhyAntennaEntry=coDot11PhyAntennaEntry, coDot11RSNBase=coDot11RSNBase, coDot11FailedCount=coDot11FailedCount, coDot11WDSPortTxPackets=coDot11WDSPortTxPackets, coDot11AssociationConfigGroup=coDot11AssociationConfigGroup, coDot11AddToAssociationNotification=coDot11AddToAssociationNotification, coDot11RTSThreshold=coDot11RTSThreshold, coDot11StaPktsTxMCS8=coDot11StaPktsTxMCS8, coDot11ExcludeUnencrypted=coDot11ExcludeUnencrypted, coDot11MaxReceiveLifetime=coDot11MaxReceiveLifetime, coDot11RegDomainsSupportIndex=coDot11RegDomainsSupportIndex, coDot11TempType=coDot11TempType, coDot11PhyConfigGroup=coDot11PhyConfigGroup, coDot11GreenfieldOptionEnabled=coDot11GreenfieldOptionEnabled, coDot11NbDetectedStation=coDot11NbDetectedStation, coDot11ScanStatus=coDot11ScanStatus, coDot11DetectedStationEntry=coDot11DetectedStationEntry, coDot11WDSPortTxDropped=coDot11WDSPortTxDropped, coDot11AntennaListIndex=coDot11AntennaListIndex, coDot11PktsTxRate9=coDot11PktsTxRate9, coDot11StaPktsRxMCS5=coDot11StaPktsRxMCS5, coDot11ShortGIOptionInTwentyEnabled=coDot11ShortGIOptionInTwentyEnabled, coDot11StationHTGroup=coDot11StationHTGroup, coDot11AssociationTable=coDot11AssociationTable, coDot11PktsRate12=coDot11PktsRate12, coDot11WEPICVErrorCount=coDot11WEPICVErrorCount, coDot11PktsTxRate18=coDot11PktsTxRate18, coDot11RSNAStatsCCMPFormatErrors=coDot11RSNAStatsCCMPFormatErrors, coDot11WDSPortEntry=coDot11WDSPortEntry, coDot11PhyConfigTable=coDot11PhyConfigTable, coDot11AutoPowerEnabled=coDot11AutoPowerEnabled, coDot11MACAddress=coDot11MACAddress, coDot11Conformance=coDot11Conformance, coDot11InPkts=coDot11InPkts, coDot11PhyRateGroup=coDot11PhyRateGroup, coDot11WEPUndecryptableCount=coDot11WEPUndecryptableCount, coDot11APPrivacyGroup=coDot11APPrivacyGroup, coDot11StaPktsTxMCS6=coDot11StaPktsTxMCS6, coDot11WDSPortCurrentRate=coDot11WDSPortCurrentRate, coDot11PktsRate36=coDot11PktsRate36, coDot11MulticastTransmittedFrameCount=coDot11MulticastTransmittedFrameCount, coDot11PhyConfigComplianceGroup=coDot11PhyConfigComplianceGroup, coDot11RSNAStatsEntry=coDot11RSNAStatsEntry, coDot11SNRLevelNotificationInterval=coDot11SNRLevelNotificationInterval, coDot11ScanSSID=coDot11ScanSSID, coDot11RSNAEnabled=coDot11RSNAEnabled, coDot11SNR=coDot11SNR, coDot11NoiseLevel=coDot11NoiseLevel, coDot11WDSPortTxErrors=coDot11WDSPortTxErrors, coDot11StationHTEntry=coDot11StationHTEntry, coDot11FortyMHzOperationImplemented=coDot11FortyMHzOperationImplemented, coDot11UnauthorizedAPNotificationEnabled=coDot11UnauthorizedAPNotificationEnabled, coDot11DetStaNbProbeReq=coDot11DetStaNbProbeReq, coDot11NotificationGroup=coDot11NotificationGroup, coDot11UnauthorizedAPNotification=coDot11UnauthorizedAPNotification, coDot11PrivacyEntry=coDot11PrivacyEntry, coDot11WEPDefaultKeysEntry=coDot11WEPDefaultKeysEntry, coDot11PhyDSSSComplianceGroup=coDot11PhyDSSSComplianceGroup, coDot11PktsRate54=coDot11PktsRate54, coDot11RegDomainsSupportedEntry=coDot11RegDomainsSupportedEntry, coDot11RSNCompliance=coDot11RSNCompliance, coDot11SupportedDataRatesTxIndex=coDot11SupportedDataRatesTxIndex, coDot11PktsTxRate54=coDot11PktsTxRate54, coDot11Sensitivity=coDot11Sensitivity, coDot11HighThroughputOptionImplemented=coDot11HighThroughputOptionImplemented, coDot11CurrentRxAntenna=coDot11CurrentRxAntenna, coDot11PhyOFDMEntry=coDot11PhyOFDMEntry, coDot11StationVLAN=coDot11StationVLAN, coDot11ScanEntry=coDot11ScanEntry, coDot11OutPkts=coDot11OutPkts, coDot11StaPktsTxMCS9=coDot11StaPktsTxMCS9, coDot11ScanChannel=coDot11ScanChannel, coDot11MultipleRetryCount=coDot11MultipleRetryCount, coDot11CurrentRegDomain=coDot11CurrentRegDomain, coDot11WEPExcludedCount=coDot11WEPExcludedCount, coDot11AccessPointConfigEntry=coDot11AccessPointConfigEntry, coDot11WDSPortSNRLevel=coDot11WDSPortSNRLevel, coDot11AssociationNotificationInterval=coDot11AssociationNotificationInterval, coDot11StaPktsRxMCS0=coDot11StaPktsRxMCS0, coDot11PktsRate9=coDot11PktsRate9, coDot11OperationEntry=coDot11OperationEntry, coDot11MulticastReceivedFrameCount=coDot11MulticastReceivedFrameCount, coDot11AssociationIndex=coDot11AssociationIndex, coDot11PktsTxRate11=coDot11PktsTxRate11, coDot11StaPktsRxMCS11=coDot11StaPktsRxMCS11) mibBuilder.exportSymbols("COLUBRIS-802DOT11-MIB", coDot11StationDetectionGroup=coDot11StationDetectionGroup, coDot11APBaseGroupExt=coDot11APBaseGroupExt, coDot11AuthenticationAlgorithmsIndex=coDot11AuthenticationAlgorithmsIndex, coDot11ACKFailureCount=coDot11ACKFailureCount, coDot11ScanMacAddress=coDot11ScanMacAddress, coDot11CountersTable=coDot11CountersTable, coDot11PhyAdminStatus=coDot11PhyAdminStatus, coDot11PhyTxPowerOperLevel=coDot11PhyTxPowerOperLevel, coDot11Compliance=coDot11Compliance, coDot11SupportedDataRatesTxTable=coDot11SupportedDataRatesTxTable, coDot11RSNAStatsTKIPReplays=coDot11RSNAStatsTKIPReplays, coDot11RSNAOptionImplemented=coDot11RSNAOptionImplemented, coDot11WDSPortTable=coDot11WDSPortTable, coDot11TIThreshold=coDot11TIThreshold, coDot11DetStaChannel=coDot11DetStaChannel, coDot11DiversitySupport=coDot11DiversitySupport, coDot11RTSSuccessCount=coDot11RTSSuccessCount, coDot11WEPDefaultKey2Value=coDot11WEPDefaultKey2Value, coDot11MinimumSNRLevel=coDot11MinimumSNRLevel, coDot11PktsTxRate5dot5=coDot11PktsTxRate5dot5, coDot11DetStaIndex=coDot11DetStaIndex, coDot11PktsTxRate12=coDot11PktsTxRate12, coDot11RetryCount=coDot11RetryCount, coDot11WDSPortRxDropped=coDot11WDSPortRxDropped, coDot11CurrentSecondaryChannel=coDot11CurrentSecondaryChannel, coDot11ScanTable=coDot11ScanTable, coDot11PhyDSSSTable=coDot11PhyDSSSTable, coDot11RSNAStatsTKIPCounterMeasuresInvoked=coDot11RSNAStatsTKIPCounterMeasuresInvoked, coDot11TransmitRate=coDot11TransmitRate, coDot11StaHT=coDot11StaHT, coDot11ProductID=coDot11ProductID, coDot11OutOctets=coDot11OutOctets, coDot11StaPktsRxMCS1=coDot11StaPktsRxMCS1, coDot11SupportedDataRatesRxValue=coDot11SupportedDataRatesRxValue, coDot11FortyMHzOperationEnabled=coDot11FortyMHzOperationEnabled, coDot11PhyAntennasListGroup=coDot11PhyAntennasListGroup, coDot11StaPktsTxMCS13=coDot11StaPktsTxMCS13, coDot11ScanNetworkType=coDot11ScanNetworkType, coDot11WEPDefaultKey1Value=coDot11WEPDefaultKey1Value, coDot11ComplianceExt=coDot11ComplianceExt, coDot11RegDomainsSupportValue=coDot11RegDomainsSupportValue, coDot11PhyAntennaComplianceGroup=coDot11PhyAntennaComplianceGroup, coDot11StationSSID=coDot11StationSSID, coDot11WDSComplianceGroup=coDot11WDSComplianceGroup, coDot11NumberOfUsers=coDot11NumberOfUsers, coDot11DetStaTimeDiscovered=coDot11DetStaTimeDiscovered, coDot11AntennasListEntry=coDot11AntennasListEntry, coDot11StationLocalInterface=coDot11StationLocalInterface, coDot11AutoChannelInterval=coDot11AutoChannelInterval, coDot11StaPktsRxMCS8=coDot11StaPktsRxMCS8, coDot11RSNAStatsTable=coDot11RSNAStatsTable, coDot11CurrentSNRLevel=coDot11CurrentSNRLevel, coDot11ScanIndex=coDot11ScanIndex, coDot11ManagementMIBNotifications=coDot11ManagementMIBNotifications, coDot11AccessPointConfigTable=coDot11AccessPointConfigTable, coDot11OperatingMode=coDot11OperatingMode, coDot11PktsTxRate2=coDot11PktsTxRate2, coDot11DTIMPeriod=coDot11DTIMPeriod, coDot11DetStaNoiseLevel=coDot11DetStaNoiseLevel, coDot11SupportedDataRatesRxEntry=coDot11SupportedDataRatesRxEntry, coDot11DetStaTimeLastSeen=coDot11DetStaTimeLastSeen, coDot11PktsRate6=coDot11PktsRate6)
[ 2, 198, 2, 9485, 15571, 7378, 337, 9865, 8265, 20444, 10526, 49, 1797, 12, 30863, 35, 2394, 1157, 12, 8895, 33, 357, 4023, 1378, 16184, 76, 489, 8937, 13, 785, 14, 79, 893, 11632, 8, 198, 2, 7054, 45, 13, 16, 2723, 2393, 1378, 1...
2.738984
59,050
from typing import Callable, Dict, Union from django.db import models import simplejson from django.http import Http404 from clients.models import Card def data_parse(data: Union[dict, str, bytes], keys_types: Dict[str, Union[Callable, str, None]], default_values: dict = None) -> list: """ Функиця проверки типов. >>> request_data = {'s': 'string', 'i': 15, 'f': 15.5, 'l': [1, 2, 3], 'd': {1: 1, 2: 2}} >>> type_dict = {'s': str, 'i': int, 'f': float, 'l': list, 'd': dict} >>> data_parse(request_data, type_dict) """ if isinstance(data, bytes): data = data.decode('utf-8') if isinstance(data, str): data = simplejson.loads(data) typed_vars = [] if default_values is None: default_values = {} elif not isinstance(default_values, dict): raise TypeError('Error, default_values must be dict') for key, var_type in keys_types.items(): var = data.get(key, default_values.get(key)) try: if type(var) is var_type: typed_vars.append(var) else: if key not in data and key not in default_values: raise Http404('{} not found!'.format(var)) if var_type is None or (var is None and default_values.get(key, True) is None): typed_vars.append(None) elif var_type == 'str_strip': typed_vars.append(str(var).strip()) elif var_type == 'card': typed_vars.append(Card.objects.get(pk=var)) else: typed_vars.append(var_type(var)) except TypeError or ValueError: raise Http404('Cannot cast type Key: {}, Value: {}, Type: {}'.format(key, var, var_type)) return typed_vars
[ 6738, 19720, 1330, 4889, 540, 11, 360, 713, 11, 4479, 198, 6738, 42625, 14208, 13, 9945, 1330, 4981, 198, 198, 11748, 2829, 17752, 198, 6738, 42625, 14208, 13, 4023, 1330, 367, 29281, 26429, 198, 198, 6738, 7534, 13, 27530, 1330, 5172, ...
2.114118
850
import torch from statistics.meters import Meter class RFDeviation(Meter): """This Meter computes the standard deviation of the RF for a selection of random inputs. This approximates a measure of the linearity of the average feature for the layer. Lower value = more simple cells, higher value = more complex cells"""
[ 11748, 28034, 198, 198, 6738, 7869, 13, 4164, 364, 1330, 46423, 628, 198, 198, 4871, 20445, 13603, 3920, 7, 44, 2357, 2599, 198, 220, 220, 220, 37227, 1212, 46423, 552, 1769, 262, 3210, 28833, 286, 262, 20445, 329, 257, 6356, 286, 473...
3.97619
84
from immfly.settings import * # NOQA INSTALLED_APPS += [ # NOQA 'drf_yasg', ]
[ 6738, 2296, 12254, 13, 33692, 1330, 1635, 220, 1303, 8005, 48, 32, 198, 198, 38604, 7036, 1961, 62, 2969, 3705, 15853, 685, 220, 1303, 8005, 48, 32, 198, 220, 220, 220, 705, 7109, 69, 62, 88, 292, 70, 3256, 198, 60, 198 ]
2.02381
42
from django.contrib import admin # Register your models here. from .models import Cart admin.site.register(Cart)
[ 6738, 42625, 14208, 13, 3642, 822, 1330, 13169, 198, 198, 2, 17296, 534, 4981, 994, 13, 628, 198, 6738, 764, 27530, 1330, 13690, 628, 198, 28482, 13, 15654, 13, 30238, 7, 43476, 8, 198 ]
3.470588
34
"""Top-level package for Python Tomorrow.io API.""" from .pytomorrowio import TomorrowioV4, TomorrowioV4Sync __author__ = """raman325""" __email__ = "7243222+raman325@users.noreply.github.com" __version__ = "0.1.0"
[ 37811, 9126, 12, 5715, 5301, 329, 11361, 25939, 13, 952, 7824, 526, 15931, 198, 198, 6738, 764, 9078, 39532, 6254, 952, 1330, 25939, 952, 53, 19, 11, 25939, 952, 53, 19, 28985, 198, 198, 834, 9800, 834, 796, 37227, 859, 272, 26582, ...
2.7125
80
from django import VERSION from django import forms from django.urls import re_path from django.utils.safestring import mark_safe from django.utils.translation import gettext_lazy as _ from six import string_types from .components import Dropdown from .views import ModelToolsView class AdminRowActionsMixin(object): """ModelAdmin mixin to add row actions just like adding admin actions""" rowactions = [] _named_row_actions = {} @property _row_actions.short_description = '' if VERSION < (1, 9): _row_actions.allow_tags = True def get_tool_urls(self): """Gets the url patterns that route each tool to a special view""" my_urls = patterns( '', re_path(r'^(?P<pk>[0-9a-f-]+)/rowactions/(?P<tool>\w+)/$', self.admin_site.admin_view(ModelToolsView.as_view(model=self.model)) ) ) return my_urls ################################### # EXISTING ADMIN METHODS MODIFIED # ################################### def get_urls(self): """Prepends `get_urls` with our own patterns""" urls = super(AdminRowActionsMixin, self).get_urls() return self.get_tool_urls() + urls ################## # CUSTOM METHODS # ##################
[ 6738, 42625, 14208, 1330, 44156, 2849, 198, 6738, 42625, 14208, 1330, 5107, 198, 6738, 42625, 14208, 13, 6371, 82, 1330, 302, 62, 6978, 198, 6738, 42625, 14208, 13, 26791, 13, 49585, 395, 1806, 1330, 1317, 62, 21230, 198, 6738, 42625, 1...
2.51341
522
from .entity_converter_interface import EntityConverterInterface from gacha.entities import LootTableGroup, Pool from typing import Any, Dict
[ 6738, 764, 26858, 62, 1102, 332, 353, 62, 39994, 1330, 20885, 3103, 332, 353, 39317, 198, 6738, 308, 34518, 13, 298, 871, 1330, 29970, 10962, 13247, 11, 19850, 198, 6738, 19720, 1330, 4377, 11, 360, 713 ]
3.916667
36
from flask import Flask, app from flask_restplus import Api, Resource from server.instance import server app, api = server.app, server.api books_db = [ {'id':0,'title':'War and Peacce'}, {'id':1,'title':'Clean Code'} ] @api.route('/books')
[ 6738, 42903, 1330, 46947, 11, 598, 198, 6738, 42903, 62, 2118, 9541, 1330, 5949, 72, 11, 20857, 198, 6738, 4382, 13, 39098, 1330, 4382, 198, 198, 1324, 11, 40391, 796, 4382, 13, 1324, 11, 4382, 13, 15042, 198, 12106, 62, 9945, 796, ...
2.706522
92
# -*- coding: utf-8 -*- # Copyright (c) 2020, TZCODE SRL and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document import requests import json import traceback from tzdealer.hook.item import cast_to_post, cast_image from frappe.utils import nowdate
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 15069, 357, 66, 8, 12131, 11, 309, 57, 34, 16820, 311, 7836, 290, 20420, 198, 2, 1114, 5964, 1321, 11, 3387, 766, 5964, 13, 14116, 198, 198, 6738, 11593, 37443, 8...
3.345794
107
km = float(input('De quantos kilómetros será a viagem? ')) if km <= 200: print('A viagem custará {:.2f}€ (0.1€/km)'.format(km * 0.1)) else: print('A visgem custará {:.2f} € (0.09€/km)'.format(km * 0.09))
[ 13276, 796, 12178, 7, 15414, 10786, 5005, 5554, 418, 8769, 10205, 4164, 4951, 1055, 6557, 257, 25357, 363, 368, 30, 705, 4008, 198, 361, 10571, 19841, 939, 25, 198, 220, 220, 220, 3601, 10786, 32, 25357, 363, 368, 9378, 283, 6557, 461...
2.058252
103
from django.template.loader import render_to_string from push_notifications.models import APNSDevice, GCMDevice from structlog import get_logger from lego.apps.feeds.models import NotificationFeed log = get_logger()
[ 6738, 42625, 14208, 13, 28243, 13, 29356, 1330, 8543, 62, 1462, 62, 8841, 198, 198, 6738, 4574, 62, 1662, 6637, 13, 27530, 1330, 3486, 8035, 24728, 11, 20145, 12740, 1990, 501, 198, 6738, 2878, 6404, 1330, 651, 62, 6404, 1362, 198, 19...
3.384615
65
"""Users views""" # Django from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect, HttpResponse # Exceptions from django.db.utils import IntegrityError # Models from django.contrib.auth.models import User from .models import Profile # Create your views here. def loging_view(request): """Login view""" if request.method == 'POST': username = request.POST['username'] password = request.POST['password'] user = authenticate(request, username=username, password=password) if user: login(request, user) return redirect('posts:index') else: return render(request, 'users/login.html', {'error': 'Inavalid username and password'}) return render(request, 'users/login.html') def signup(request): """Sign up users""" if request.method == 'POST': username = request.POST['username'] password = request.POST['password'] password_confirmation = request.POST['password_confirmation'] if password != password_confirmation: return render(request, 'users/signup.html', {'error': 'Password confirmation does not mactch'}) try: user = User.objects.create_user(username=username, password=password) except IntegrityError: return render(request, 'users/signup.html', {'error': 'Username is alredy taken.'}) user.first_name = request.POST['first_name'] user.last_name = request.POST['last_name'] user.email = request.POST['email'] profile = Profile(user=user) profile.save() return redirect('login') return render(request, 'users/signup.html') # Create your views here. @login_required def logout_view(request): """Logout user """ logout(request) return redirect('login') #@login_required
[ 37811, 14490, 5009, 37811, 198, 2, 37770, 198, 6738, 42625, 14208, 13, 3642, 822, 13, 18439, 1330, 8323, 5344, 11, 17594, 11, 2604, 448, 198, 6738, 42625, 14208, 13, 3642, 822, 13, 18439, 13, 12501, 273, 2024, 1330, 17594, 62, 35827, ...
2.656757
740
from cincan.frontend import ToolImage
[ 6738, 269, 1939, 272, 13, 8534, 437, 1330, 16984, 5159, 628 ]
3.545455
11
"""The helper functions for the visuals are defined here. These functions provide textures or modify pygame Surfaces or Rects in ways which are convenient to use for multiple scenes.""" import pygame # This dict contains references to all textures which are loaded with get_texture(), # and functions as a cache. With this technique, textures are not loaded multiple # times, but are also not all loaded at startup, making startup faster. loaded_textures = {} standard_font = None def get_texture(name: str): """Returns a texture from loaded_textures if it exists, else it loads the texture from memory. The file format of the texture is assumed to be png.""" try: return loaded_textures[name] except KeyError: loaded_textures[name] = pygame.image.load(f"textures\\{name}.png").convert_alpha() return loaded_textures[name] def render_text(text: str): """Returns a surface containing the rendered text with standard settings and the standard pokémon font.""" global standard_font if not standard_font: # The font does not scale; the size is therefore arbitrary standard_font = pygame.font.Font("PKMNRSEU.FON", 1) return standard_font.render(text, False, (0,0,0))
[ 37811, 464, 31904, 5499, 329, 262, 27329, 389, 5447, 994, 13, 198, 4711, 5499, 2148, 20028, 393, 13096, 12972, 6057, 4198, 32186, 393, 48599, 82, 287, 2842, 543, 198, 533, 11282, 284, 779, 329, 3294, 8188, 526, 15931, 198, 11748, 12972,...
3.31117
376
import torch from torch import nn from torch.nn import functional as F
[ 11748, 28034, 198, 6738, 28034, 1330, 299, 77, 198, 6738, 28034, 13, 20471, 1330, 10345, 355, 376, 198 ]
3.944444
18
from django.db import models from django.db.models import Q class ToggleableModelManager(models.Manager): """ For :class:`certego_saas.ext.models.ToggleableModel`. """ class AppSpecificModelManager(models.Manager): """ For :class:`certego_saas.ext.models.AppSpecificModel`. """
[ 6738, 42625, 14208, 13, 9945, 1330, 4981, 198, 6738, 42625, 14208, 13, 9945, 13, 27530, 1330, 1195, 628, 198, 4871, 34098, 540, 17633, 13511, 7, 27530, 13, 13511, 2599, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1114, 1058, 4871, ...
2.741071
112
from setuptools import setup setup(name='focus', entry_points='''[console_scripts] focus=focus.cli:main''')
[ 6738, 900, 37623, 10141, 1330, 9058, 198, 198, 40406, 7, 3672, 11639, 37635, 3256, 198, 220, 220, 220, 220, 220, 5726, 62, 13033, 28, 7061, 6, 58, 41947, 62, 46521, 60, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2...
2.174603
63
''' program: Simple Message Encrypter author : akr github : a-k-r-a-k-r ''' #import necessary modules import tkinter import pyperclip from tkinter import DISABLED,messagebox,BOTH,END #Defining root window root=tkinter.Tk() root.title("Message Encrypter") root.iconbitmap("resources/icons/encrypter.ico") #mostly used characters expected_char="qazwsxedcrfvtgbyhnujmikolp!@#$%^&*()1234567890POIUYTREWQASDFGHJKLMNBVCXZ~`<,>.?/:;'[{]}+=_-| " expected_char+='"' #colors button_frame_color="grey" button_color="green" output_bg="black" #Defining functions #Defining frames input_frame=tkinter.Frame(root) button_frame=tkinter.Frame(root,bg=button_frame_color) input_frame.pack() button_frame.pack(fill=BOTH,expand=True) #Defining widgets for frames input_data=tkinter.Entry(input_frame,width=80) output_data=tkinter.Label(input_frame,text="Your output will appear here",bg=output_bg,fg=button_color,width=50,wraplength=200) copy_button=tkinter.Button(input_frame,text="Copy",bg=button_color,command=copy_data) passwd_label=tkinter.Button(button_frame,text="Password",bg=button_frame_color,borderwidth=0) passwd_data=tkinter.Entry(button_frame) encrypt_button=tkinter.Button(button_frame,text="Encrypt",bg=button_color,command=encrypt) decrypt_button=tkinter.Button(button_frame,text="Decrypt",bg=button_color,command=decrypt) input_data.grid(row=0,column=0,columnspan=2,padx=10,pady=10,ipady=50) output_data.grid(row=1,column=0,padx=10,pady=10,ipady=40,sticky="we") copy_button.grid(row=1,column=1,pady=10,ipady=10,ipadx=20,padx=(0,10)) passwd_label.grid(row=0,column=0,pady=10,padx=(100,0),ipadx=20,ipady=10) passwd_data.grid(row=0,column=1,pady=10,padx=(0,10),ipadx=50,ipady=10) encrypt_button.grid(row=1,column=0,pady=10,padx=(80,0),ipadx=40,ipady=10) decrypt_button.grid(row=1,column=1,pady=20,ipadx=40,ipady=10) root.mainloop()
[ 7061, 6, 198, 220, 220, 220, 1430, 25, 17427, 16000, 14711, 563, 42104, 198, 220, 220, 220, 1772, 1058, 257, 38584, 198, 220, 220, 220, 33084, 1058, 257, 12, 74, 12, 81, 12, 64, 12, 74, 12, 81, 198, 7061, 6, 198, 198, 2, 11748, ...
2.415365
768
import pandas as pd import numpy as np import os import pickle import sys sys.path.append('..') from sklearn.manifold import TSNE from sklearn.cluster import KMeans import seaborn as sns import matplotlib.pyplot as plt from pathlib import Path import logging import configparser import argparse import ui_utils import nlp_tools arg_parser = argparse.ArgumentParser(description='Run sampling based on config file') arg_parser.add_argument('--config_path', metavar='config_path', default='./al_1_sampling.cfg', type=str, help='Path to the sampling config file', required=False) args = arg_parser.parse_args() # loading config config = configparser.ConfigParser(interpolation=configparser.ExtendedInterpolation()) config.read(args.config_path) ROUND_ID = int(config.get('data', 'ROUND_ID')) APPLY_FILE = config.get('data', 'APPLY_FILE') PROJECT_PATH = config.get('data', 'PROJECT_PATH') SAMPLE_PATH = config.get('data', 'SAMPLE_PATH') Path(SAMPLE_PATH).mkdir(parents=True, exist_ok=True) # if ROUND_ID is 1, the raw APPLY_FILE can be used for sampling if ROUND_ID == 1: SCORED_FILE = APPLY_FILE else: SCORED_FILE = config.get('data', 'SCORED_FILE') SAMPLE_SIZE = int(config.get('sampling', 'SAMPLE_SIZE')) SAMPLING_METHOD = config.get('sampling', 'SAMPLING_METHOD') # initialize logger root_logger = logging.getLogger() formatter = logging.Formatter('%(asctime)s: %(levelname)s:: %(message)s') logfile = f"{SAMPLE_PATH.rstrip('/')}/sampling_logs.log" file_handler = logging.FileHandler(logfile, mode='a') file_handler.setFormatter(formatter) root_logger.addHandler(file_handler) console_handler = logging.StreamHandler() console_handler.setFormatter(formatter) root_logger.addHandler(console_handler) root_logger.setLevel(logging.INFO) print = root_logger.info print(">>> Reading scored dataframe for sampling purpose...") scores_df = pd.read_json(SCORED_FILE, orient='records') # clutering based on scores if ROUND_ID > 1: if SAMPLING_METHOD == 'clustering': print("Creating clusters based on tag scores...") cluster_tsne_viz = f"{SAMPLE_PATH}/clustering_tsne.png" scores_df, kmeans_model = ui_utils.kmeans_from_proba(scores_df, cluster_tsne_viz) print(">>> Saving trained KMeans model") with open(f'{SAMPLE_PATH}/kmeans.pickle', 'wb') as file: pickle.dump(kmeans_model, file) # remove tagged records from population print(f">>> This is Round {ROUND_ID}, some records have been tagged already...") print(">>> Removing tagged records to avoid doubling efforts...") prev_input_file = f"{PROJECT_PATH}/round_{ROUND_ID - 1}/input/input_file.json" prev_train_df = pd.read_json(prev_input_file, orient='records') tagged_ids = prev_train_df['UID'].values scores_df = scores_df.loc[~np.isin(scores_df['UID'], tagged_ids), :].reset_index(drop=True) # sampling based on param if SAMPLING_METHOD == 'clustering': print(">>> Generating samples by cluster") sample_df = ui_utils.sample_by_cluster(scores_df, SAMPLE_SIZE) elif SAMPLING_METHOD == 'random': print(">>> Generating samples randomly") sample_df = ui_utils.sample_by_random(scores_df, SAMPLE_SIZE) else: print(">>> First round, can only apply random sampling...") sample_df = ui_utils.sample_by_random(scores_df, SAMPLE_SIZE) ui_utils.df_to_json_form(sample_df, tag_col='Tags', ui_dir=SAMPLE_PATH, ui_filename='/text_tags.json') with open(f"{SAMPLE_PATH}/sampling_record.cfg", 'w') as file: config.write(file)
[ 11748, 19798, 292, 355, 279, 67, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 28686, 198, 11748, 2298, 293, 198, 11748, 25064, 198, 17597, 13, 6978, 13, 33295, 10786, 492, 11537, 198, 198, 6738, 1341, 35720, 13, 805, 361, 727, 1330, ...
2.633678
1,354
#!/usr/bin/env python3 # ################################################################################## # # Title : PyDBI.py # Author : Thomas Cram, tcram@ucar.edu # Date : 02/06/2015 # Purpose : Python module for MySQL database functions # # Work File : $HOME/lib/python/PyDBI.py* # Test File : $HOME/lib/python/PyDBI_test.py* # SVN File : $HeadURL: https://subversion.ucar.edu/svndss/tcram/python/PyDBI.py $ # ################################################################################## import sys, socket, re, platform hostname = socket.gethostname() path1 = "/glade/u/home/rdadata/lib/python" path2 = "/glade/u/home/tcram/lib/python" # if (path1 not in sys.path): # sys.path.append(path1) if (path2 not in sys.path): sys.path.append(path2) # Link to local DECS mysql package if running on the DAV systems if ( (hostname.find('casper') != -1 or hostname.find('yslogin') != -1 or hostname.find('ysm') != -1) ): mysql_path = "/gpfs/u/home/rdadata/lib/python/site-packages" if (mysql_path not in sys.path): sys.path.append(mysql_path) else: pass import mysql.connector from mysql.connector import errorcode from dbconfig import dbconfig #========================================================================================= # Function dbconnect: Create database connection #========================================================================================= # Function pyclose: Close database connection #========================================================================================= # Function myget: retrieve one record from tablename # # tablename: DB table name # fields : comma-delimited list of one or more field names # condition: query condition for WHERE clause # # Returns: a dictionary of key/value pairs from the query result # set (dict is empty if no results) #========================================================================================= # Function mymget: retrieve one or more records from tablename # # tablename: DB table name # fields : comma-delimited list of one or more field names # condition: query condition for WHERE clause # # Returns: a list of dictionaries containing key/value pairs from the query result # set (dict is empty if no results) #========================================================================================= # Function myadd: insert one record into tablename # # tablename: add one record for one table name for each call # record: dictionary with keys as field names and # values as field values # #========================================================================================= # Function mymadd: insert multiple records into tablename # # uses the method cursor.executemany() #def mymadd(tablename, records): #========================================================================================= # Function myupdt: update one record in tablename # # tablename: add one record for one table name for each call # record: dictionary with keys as field names and # values as field values # #========================================================================================= #def mydel(): #========================================================================================= # Function prepare_insert: Prepare a SQL insert statement for pyadd() #def prepare_insert(tablename, record):
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 2, 198, 29113, 29113, 14468, 2235, 198, 2, 198, 2, 220, 220, 220, 220, 11851, 1058, 9485, 35, 3483, 13, 9078, 198, 2, 220, 220, 220, 6434, 1058, 5658, 327, 859, 11, 37096, 859,...
3.6873
937
from tatk.policy.mle.crosswoz.mle import MLE
[ 6738, 256, 265, 74, 13, 30586, 13, 76, 293, 13, 19692, 86, 8590, 13, 76, 293, 1330, 337, 2538 ]
2.315789
19
#!/usr/bin/python # # Copyright 2014 Google Inc. All Rights Reserved. # # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file or at # https://developers.google.com/open-source/licenses/bsd """Packager testing global objects and attributes. Please do not refer to this module directly. Please set attributes either by updating the default values below, or by passing the requested flags through the command line interface. """ import argparse import os import sys # Define static global objects and attributes. SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) SRC_DIR = os.path.join(SCRIPT_DIR, os.pardir, os.pardir) # Parse arguments and calculate dynamic global objects and attributes. parser = argparse.ArgumentParser() parser.add_argument('--test_update_golden_files', default=0, type=int) parser.add_argument('--libpackager_type', default='static_library') parser.add_argument('--v') parser.add_argument('--vmodule') # Overwrite the test to encryption key/iv specified in the command line. parser.add_argument('--encryption_key') parser.add_argument('--encryption_iv') parser.add_argument('--remove_temp_files_after_test', dest='remove_test_files_after_test', action='store_true') parser.add_argument('--no-remove_temp_files_after_test', dest='remove_temp_files_after_test', action='store_false') parser.set_defaults(remove_temp_files_after_test=True) aes = parser.add_argument_group( 'aes flags', 'These flags are required to enable AES signed encryption tests.') aes.add_argument('--aes_signing_key') aes.add_argument('--aes_signing_iv') rsa = parser.add_argument_group( 'rsa flags', 'These flags are required to enable RSA signed encryption tests.') rsa.add_argument('--rsa_signing_key_path') options, args = parser.parse_known_args() sys.argv[1:] = args has_aes_flags = False if options.aes_signing_key and options.aes_signing_iv: has_aes_flags = True has_rsa_flags = False if options.rsa_signing_key_path: has_rsa_flags = True
[ 2, 48443, 14629, 14, 8800, 14, 29412, 198, 2, 198, 2, 15069, 1946, 3012, 3457, 13, 1439, 6923, 33876, 13, 198, 2, 198, 2, 5765, 286, 428, 2723, 2438, 318, 21825, 416, 257, 347, 10305, 12, 7635, 198, 2, 5964, 326, 460, 307, 1043, ...
2.978355
693
import os import json import shutil import pathlib ROOT = pathlib.Path(__file__).parent.resolve() CONFIG_FILE = "config.json" DEPENDANCY_PATH = "_deps" COMMON_PATH = "_common" MULTI_PATH = "_multi" class ConanFile(): """""" packages = [] options = [] generators = [] class ConfigFile(): """""" need_init = [] deps = [] def generate_cmake(path: str, name: str): """ cmake_minimum_required(VERSION 3.10) # Set up project project( <PNAME> VERSION 1.0 LANGUAGES CXX ) include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) conan_basic_setup() # Set flags if(MSVC) set(CMAKE_CXX_FLAGS_RELEASE "/O2 /Ox") set(CMAKE_CXX_FLAGS "/W4") else() set(CMAKE_CXX_FLAGS "-Wall -Wextra -pedantic") endif() # Find libraries find_package(Threads) """ with open(j(path, "CMakeLists.txt"), 'w') as f: f.write(generate_cmake.__doc__.replace("<PNAME>", name)) # TODO: need to change how _multi folder works
[ 11748, 28686, 198, 11748, 33918, 198, 11748, 4423, 346, 198, 11748, 3108, 8019, 198, 198, 13252, 2394, 796, 3108, 8019, 13, 15235, 7, 834, 7753, 834, 737, 8000, 13, 411, 6442, 3419, 198, 10943, 16254, 62, 25664, 796, 366, 11250, 13, 1...
2.31401
414
import os from math import pi from typing import Tuple import click import jax import jax.numpy as jnp from jax import random from scipy.optimize import minimize_scalar from diffbank.bank import Bank from diffbank.constants import MSUN, C, G from diffbank.utils import Array, PRNGKeyArray from diffbank.waveforms.taylorf2reducedspin import Psi, amp, get_th_boundary_interps """ Generate a TaylorF2ReducedSpin bank for comparison with Ajith et al 2014, https://arxiv.org/abs/1210.6666. To reproduce the bank in the paper, run >>> python genbank_3D_taylorf2reducedspin.py """ ##### Frequency settings # Since the lowest BH mass for this bank is 1 * MSUN, need to go up to its ISCO # frequency f_u = 2200.0 # Hz f_0 = f_l = 20.0 # Hz df = 0.1 N_fbins = int((f_u - f_l) / df) ##### m_range = (1 * MSUN, 20 * MSUN) m_ns_thresh = 2 * MSUN M_tot_max = m_range[0] + m_range[1] chi_bh_max = 0.98 chi_ns_max = 0.4 th0_range, th3_interp_low, th3_interp_high = get_th_boundary_interps(*m_range, f_0) # Figure out where th3 attains its maximum def get_th3S_max(th0, th3): """ Gets max value of th3S at a given `(th0, th3)` point. This computes the component masses, gets the corresponding `chi1`, `chi2` values, computes the max value `chi` can take and converts this to a max value for `th3S`. """ M_chirp = 1 / (16 * pi * f_0) * (125 / (2 * th0 ** 3)) ** (1 / 5) * C ** 3 / G eta = (16 * pi ** 5 / 25 * th0 ** 2 / th3 ** 5) ** (1 / 3) q = (1 + jnp.sqrt(1 - 4 * eta) - 2 * eta) / (2 * eta) m2 = (1 + q) ** (1 / 5) / q ** (3 / 5) * M_chirp m1 = q * m2 delta = (m1 - m2) / (m1 + m2) chi1_max = jnp.where(m1 > m_ns_thresh, chi_bh_max, chi_ns_max) chi2_max = jnp.where(m2 > m_ns_thresh, chi_bh_max, chi_ns_max) chi_s_max = (chi1_max + chi2_max) / 2 chi_a_max = (chi1_max - chi2_max) / 2 chi_max = chi_s_max * (1 - 76 * eta / 113) + delta * chi_a_max th3S_max = 113 * th3 * chi_max / (48 * pi) return th3S_max def is_in_bounds(theta: Array) -> Array: """ Checks if a point is in bounds using the `th` values and total mass. """ th0, th3, th3S = theta[..., 0], theta[..., 1], theta[..., 2] return jnp.logical_and( th3 > th3_interp_low(th0), jnp.logical_and( th3 < th3_interp_high(th0), jnp.logical_and( jnp.abs(th3S) < get_th3S_max(th0, th3), get_M_tot(th0, th3) < M_tot_max ), ), ) def base_sample_1( key: PRNGKeyArray, th0_range: Tuple[float, float], th3_range: Tuple[float, float], th3S_max: float, ) -> Array: """ Sample uniformly over maximum parameter ranges. """ return random.uniform( key, (3,), minval=jnp.array([th0_range[0], th3_range[0], -th3S_max]), maxval=jnp.array([th0_range[1], th3_range[1], th3S_max]), ) @jax.jit def sample_1( key: PRNGKeyArray, th0_range: Tuple[float, float], th3_range: Tuple[float, float], th3S_max: float, ) -> Array: """ Samples a single point with rejection sampling. """ cond_fun = lambda val: jnp.logical_not(is_in_bounds(val[1])) key, subkey = random.split(key) init_val = (key, base_sample_1(subkey, th0_range, th3_range, th3S_max)) return jax.lax.while_loop(cond_fun, body_fun, init_val)[1] # Define sampling bounds bracket = (th0_range[0], 5e3) # NOTE: need to change if m_range changes! res = minimize_scalar(lambda th0: -th3_interp_high(th0), bracket, bracket) assert res.success th0_th3_max = res.x th3_max = -res.fun th3_range = (th3_interp_low(th0_range[0]), th3_max) # Maximum value of th3 th3S_max = get_th3S_max(th0_th3_max, th3_max) # Capture globals @click.command() @click.option("--seed", default=1, help="PRNG seed") @click.option("--kind", default="random", help="kind of bank: 'random' or 'stochastic'") @click.option( "--n-eta", default=0, type=int, help="number of new points at which to compute effectualnesses", ) @click.option( "--mm", default=0.95, help="minimum match, chosen to match arXiv:1210.6666" ) @click.option("--eta-star", default=0.993, help="eta, chosen to match arXiv:1210.6666") @click.option("--n-eff", default=1300) @click.option("--savedir", default="banks", help="directory in which to save the bank") @click.option("--device", default="cpu", help="device to run on") @click.option( "--noise", default="interpolated", help="noise curve: 'analytic' (LIGO-I) or 'interpolated' (aLIGOZeroDetHighPower from pycbc)", ) if __name__ == "__main__": gen_3D_tf2rs()
[ 11748, 28686, 198, 6738, 10688, 1330, 31028, 198, 6738, 19720, 1330, 309, 29291, 198, 198, 11748, 3904, 198, 11748, 474, 897, 198, 11748, 474, 897, 13, 77, 32152, 355, 474, 37659, 198, 6738, 474, 897, 1330, 4738, 198, 6738, 629, 541, ...
2.248527
2,036
from api_wrapper.census_api.census_api import CensusAPI import geopandas as gpd import os import requests import io import zipfile class CensusBoundaries(CensusAPI): """ API wrapper for retrieving census boundary files Attributes ---------- year: int The year of census data to be accessed. base_url: str base_url for api requests. filepath_dict: str dictionary of file names and directories associated with the Tiger Line file structure. https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html Methods --------- get_boundaries_gdf(self, state, level) Get a Geopandas GeoDataFrame of the requested boundary file. download_shp(self, state_fip, level) download shape files associated with a specific state's FIP code and level. The state_fip code is ignored if the level is 'county' or 'ttract'. """ def __init__(self, year=2018, **kwargs): """Initiate CensusBoundaries object for a given year""" super().__init__(year=year, **kwargs) self.base_url = f"https://www2.census.gov/geo/tiger/TIGER{self.year}/" self.filepath_dict = { "county": { "directory": "COUNTY/", "filename": lambda state_fip: f"tl_{self.year}_us_county.zip", }, "cousub": { "directory": "COUSUB/", "filename": lambda state_fip: f"tl_{self.year}_{state_fip}_cousub.zip", }, "tract": { "directory": "TRACT/", "filename": lambda state_fip: f"tl_{self.year}_{state_fip}_tract.zip", }, "ttract": { "directory": "TTRACT/", "filename": lambda state_fip: f"tl_{self.year}_us_ttract.zip", }, "bg": { "directory": "BG/", "filename": lambda state_fip: f"tl_{self.year}_{state_fip}_bg.zip", }, "block": { "directory": "TABBLOCK/", "filename": lambda state_fip: f"tl_{self.year}_{state_fip}_tabblock10.zip", }, } def get_boundaries_gdf(self, state, level): """ Get a Geopandas GeoDataFrame of the requested boundary file. Parameters ---------- state: str State as string capitalized Ex: 'Alabama', 'Colorado'. TODO Allow more flexibility in user input level: str The level desired of the boundary shape file Ex: 'block', 'county', 'tract' TODO Allow more flexibility in user input Returns --------- gdf: GeoDataFrame Geopandas GeoDataFrame of boundary shp file downloaded from the census Tiger Line shape files. """ state_fip = self.state_fips[state] boundary_shp_files = self.download_shp(state_fip, level) print("Converting to gdf...") i = 0 while i < len(boundary_shp_files): shp_file = boundary_shp_files[i] gdf = gpd.read_file(shp_file) return gdf def download_shp(self, state_fip, level): """ Download shape files associated with a specific state's FIP code and level. The state_fip code is ignored if the level is 'county' or 'ttract'. Parameters ---------- state_fip: str State FIP code as a str '08' TODO Allow more flexibility in user input level: str The level desired of the boundary shape file Ex: 'block', 'county', 'tract' TODO Allow more flexibility in user input Returns --------- shp_files: list List of shp files in zip file from given year, state and summary level. """ file_path = self._get_filepath(state_fip, level) local_path = "/tmp/" zip_file = self._unzip_file(file_path, local_path) print("Finding .shp files...") shp_files = [file for file in zip_file.namelist() if file.endswith(".shp")] return [os.path.join(local_path, file) for file in shp_files] def _get_filepath(self, state_fip, level): """Return the filepath to the requested boundary file""" directory = self.filepath_dict[level]["directory"] filepath = self.filepath_dict[level]["filename"](state_fip) return os.path.join(self.base_url, directory, filepath) def _unzip_file(self, file_path, local_path): """Unzip a zipfile's contents to `local_path`""" url = file_path print(f"Downloading {file_path}...") r = requests.get(url) print(f"To Zip file...") z = zipfile.ZipFile(io.BytesIO(r.content)) print(f"Unzipping file...") z.extractall(path=local_path) return z if __name__ == "__main__": census_boundaries = CensusBoundaries()
[ 6738, 40391, 62, 48553, 13, 66, 7314, 62, 15042, 13, 66, 7314, 62, 15042, 1330, 20962, 17614, 198, 11748, 30324, 392, 292, 355, 27809, 67, 198, 11748, 28686, 198, 11748, 7007, 198, 11748, 33245, 198, 11748, 19974, 7753, 628, 198, 4871, ...
2.205242
2,251
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import argparse import os import cv2 cv2_base_dir = os.path.dirname(os.path.abspath(cv2.__file__)) KEY_ESC = 27 WIN_NAME = "Capture - Face detection" parser = argparse.ArgumentParser( description="Code for Cascade Classifier tutorial.") default_face = os.path.join(cv2_base_dir, "data", "haarcascade_frontalface_alt.xml") parser.add_argument("--face_cascade", help="Path to face cascade.", default=default_face) default_eyes = os.path.join(cv2_base_dir, "data", "haarcascade_eye_tree_eyeglasses.xml") parser.add_argument("--eyes_cascade", help="Path to eyes cascade.", default=default_eyes) parser.add_argument("--camera", help="Camera divide number.", type=int, default=0) args = parser.parse_args() face_cascade_name = args.face_cascade eyes_cascade_name = args.eyes_cascade face_cascade = cv2.CascadeClassifier() eyes_cascade = cv2.CascadeClassifier() # -- 1. Load the cascades if not face_cascade.load(cv2.samples.findFile(face_cascade_name)): print("--(!)Error loading face cascade") exit(0) if not eyes_cascade.load(cv2.samples.findFile(eyes_cascade_name)): print("--(!)Error loading eyes cascade") exit(0) camera_device = args.camera # -- 2. Read the video stream cap = cv2.VideoCapture(camera_device) if not cap.isOpened: print("--(!)Error opening video capture") exit(0) while cap.isOpened(): ret, frame = cap.read() if frame is None: print("--(!) No captured frame -- Break!") break detectAndDisplay(frame) k = cv2.waitKey(10) & 0xFF if k == KEY_ESC or k == ord('q'): # wait for ESC key or 'q' key to exit break cv2.destroyWindow(WIN_NAME) cap.release()
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 18, 198, 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 11748, 1822, 29572, 198, 11748, 28686, 198, 198, 11748, 269, 85, 17, 198, 198, 33967, 17, 62, 8692, 62, 1590...
2.256257
839
import os, glob import nibabel as nib import numpy as np from IPython.display import clear_output def update_progress(progress, my_str = ''): """ Progress bar """ bar_length = 20 if isinstance(progress, int): progress = float(progress) if not isinstance(progress, float): progress = 0 if progress < 0: progress = 0 if progress >= 1: progress = 1 block = int(round(bar_length * progress)) clear_output(wait = True) text = my_str + " Progress: [{0}] {1:.1f}%".format( "#" * block + "-" * (bar_length - block), progress * 100) print(text) def return_dti_derivs(subjpath): """ Reads in eigenvectors and eigenvalues from DTI fit and return v and l v = 3 * i * j * k * 3 matrix, where dim[0] = eigenvectors 1,2 and 3 dims[i,j,k] = voxels from image dim[4] = eigenvector values l = 3 * i * j * k matrix, where dim[0] = eigenvalues 1,2 and 3 dims[i,j,k] = voxels from image """ # identify files v1_file = glob.glob(os.path.join(subjpath,'*V1*'))[0] v2_file = glob.glob(os.path.join(subjpath,'*V2*'))[0] v3_file = glob.glob(os.path.join(subjpath,'*V3*'))[0] l1_file = glob.glob(os.path.join(subjpath,'*L1*'))[0] l2_file = glob.glob(os.path.join(subjpath,'*L2*'))[0] l3_file = glob.glob(os.path.join(subjpath,'*L3*'))[0] # load niftis and stack eigenvecs v1_img = nib.load(v1_file); v1 = v1_img.get_fdata() v2_img = nib.load(v2_file); v2 = v2_img.get_fdata() v3_img = nib.load(v3_file); v3 = v3_img.get_fdata() v = np.stack((v1,v2,v3), axis = 0) # load niftis and stack eigenvals l2_img = nib.load(l2_file); l2 = l2_img.get_fdata() l1_img = nib.load(l1_file); l1 = l1_img.get_fdata() l3_img = nib.load(l3_file); l3 = l3_img.get_fdata() l = np.stack((l1,l2,l3), axis = 0) return v, l def get_dti_object(v, l, report_progress = False): """ Takes in eigenvectors and eigenvalues and returns 3*3*i*j*k DTI array for input to nn """ dt = np.zeros([3, 3, v.shape[1], v.shape[2], v.shape[3]]) for i in range(v.shape[1]): if report_progress: update_progress(i/v.shape[1]) for j in range(v.shape[2]): for k in range(v.shape[3]): dt[:, :, i, j, k] = l[0,i,j,k]*np.outer(v[0,i,j,k], v[0,i,j,k]) +\ l[1,i,j,k]*np.outer(v[1,i,j,k], v[1,i,j,k]) +\ l[2,i,j,k]*np.outer(v[2,i,j,k], v[2,i,j,k]) if report_progress: update_progress(1) return dt # subjpath = '/Users/lindenmp/Dropbox/Work/ResProjects/Becker_DNN/dataset/hcp/reg_test/100307ToTemplate' # v, l = return_dti_derivs(subjpath) # dt = get_dti_object(v, l, report_progress = True) # dt.shape
[ 11748, 28686, 11, 15095, 198, 11748, 33272, 9608, 355, 33272, 198, 11748, 299, 32152, 355, 45941, 198, 6738, 6101, 7535, 13, 13812, 1330, 1598, 62, 22915, 628, 198, 4299, 4296, 62, 33723, 7, 33723, 11, 616, 62, 2536, 796, 10148, 2599, ...
1.979345
1,404
from ...abc import Expression from ..value.eventexpr import EVENT from ..value.eventexpr import KWARGS from ..value.eventexpr import ARG from ..value.valueexpr import VALUE from ..utility.context import CONTEXT class ITEM(Expression): """ Get the item from a dictionary. There are two forms: 1) Mapping form !ITEM with: !EVENT item: foo default: 0 2) Scalar form !ITEM EVENT potatoes Scalar form has some limitations (e.g no default value) but it is more compact """ Attributes = { "With": ["*"], # TODO: This ... "Item": ["*"], # TODO: This ... "Default": ["*"], # TODO: This ... }
[ 6738, 2644, 39305, 1330, 41986, 198, 198, 6738, 11485, 8367, 13, 15596, 31937, 1330, 49261, 198, 6738, 11485, 8367, 13, 15596, 31937, 1330, 509, 16279, 14313, 198, 6738, 11485, 8367, 13, 15596, 31937, 1330, 5923, 38, 198, 6738, 11485, 836...
2.951691
207
from django.shortcuts import render, redirect from django.core.exceptions import ObjectDoesNotExist from rest_framework import generics from .models import Machine, Game from .form import MachineForm, GameForm from django.db.models import Q from django.core.paginator import Paginator from django.views.generic import TemplateView, ListView, UpdateView, CreateView, DeleteView from django.urls import reverse_lazy from .serializer import MachineSerializer,GameSerializer from rest_framework.permissions import IsAuthenticated from rest_framework.authentication import TokenAuthentication # Create your views here.
[ 6738, 42625, 14208, 13, 19509, 23779, 1330, 8543, 11, 18941, 198, 6738, 42625, 14208, 13, 7295, 13, 1069, 11755, 1330, 9515, 13921, 3673, 3109, 396, 198, 6738, 1334, 62, 30604, 1330, 1152, 873, 198, 6738, 764, 27530, 1330, 10850, 11, 37...
3.961538
156
__version__ = "13.0.1"
[ 834, 9641, 834, 796, 366, 1485, 13, 15, 13, 16, 1, 198 ]
1.916667
12
import os import stat import shutil import subprocess as sp import tempfile import re import datetime as dt from warnings import warn import numpy as np import argparse as ap __all__ = ["get_job_logfile", "batch_sub", "batch_group", "JobArgumentParser"] def get_job_logfile(): """ Generate a path to use for the output log, based on job environment Returns ------- logfile : str Path to log file. """ if os.getenv("PBS_O_WORKDIR"): if os.getenv("PBS_ENVIRONMENT") != "PBS_INTERACTIVE": workdir = os.getenv("PBS_O_WORKDIR") jobname = os.getenv("PBS_JOBNAME") jobid = os.getenv("PBS_JOBID").split(".", 1)[0] logfile = os.path.join(workdir, "{}.u{}".format(jobname, jobid)) else: logfile = None elif os.getenv("SLURM_SUBMIT_DIR"): workdir = os.getenv("SLURM_SUBMIT_DIR") jobname = os.getenv("SLURM_JOB_NAME") jobid = os.getenv("SLURM_JOB_ID").split(".", 1)[0] if jobname == "bash": logfile = None else: logfile = os.path.join(workdir, "{}-{}.log".format(jobname, jobid)) # TODO generate different logs for multiple processes in same job? else: logfile = None return logfile def format_time(t): """ Format a time to string for use by qsub. Arguments --------- t : datetime.timedelta object or float The time for the job. If floating point, will be interpreted in hours Returns ------- time : str Time in the format expected by scheduler. """ if isinstance(t, str): m = re.match("([0-9]+):([0-9]{2}):([0-9]{2})", t) if not m: raise ValueError("unable to parse qsub time string") hh, mm, ss = map(int, m.groups()) t = dt.timedelta(hours=hh, minutes=mm, seconds=ss) if not isinstance(t, dt.timedelta): t = dt.timedelta(hours=t) if t <= dt.timedelta(0): raise ValueError("qsub time must be positive") hours, rem = divmod(t.seconds + t.days * 86400, 3600) minutes, seconds = divmod(rem, 60) return "{:d}:{:02d}:{:02d}".format(hours, minutes, seconds) def batch_sub( cmd, name=None, mem=None, nodes=None, node_list=None, ppn=None, cput=None, wallt=None, output=None, error=None, queue=None, dep_afterok=None, workdir=None, batch_args=[], omp_threads=None, mpi_procs=None, mpi_args="", env_script=None, env=None, nice=0, echo=True, delete=True, submit=True, scheduler="pbs", debug=False, exclude=None, verbose=False, ): """ Create and submit a SLURM or PBS job. Arguments --------- cmd : string or list of strings A command sequence to run via SLURM or PBS. The command will be inserted into a qsub submission script with all of the options specified in the remaining arguments. name : string, optional Name of the job. mem : float or string, optional Amount of memory to request for the job. float values in GB. Or pass a string (eg '4gb') to use directly. nodes : int or string, optional Number of nodes to use in job If a string, will be passed as-is to PBS -l node= resource If using SLURM and a string, will overwrite node_list if None node_list : string or list of strings List of nodes that can be used for job. SLURM-only. ppn : int, optional Numper of processes per node cput : string or float or datetime.timedelta, optional Amount of CPU time requested. String values should be in the format HH:MM:SS, e.g. '10:00:00'. Numerical values are interpreted as a number of hours. wallt : string or float or datetime.timedelta, optional Amount of wall clock time requested. String values should be in the format HH:MM:SS, e.g. '10:00:00'. Numerical values are interpreted as a number of hours. output : string, optional PBS standard output filename. error : string, optional PBS error output filename. queue : string, optional The name of the queue to which to submit jobs dep_afterok : string or list of strings Dependency. Job ID (or IDs) on which to wait for successful completion, before starting this job workdir : string, optional Directory from where the script will be submitted. This is where the output and error files will be created by default. Default: current directory. batch_args : string or list of strings, optional Any additional arguments to pass to slurm/pbs. omp_threads : int, optional Number of OpenMP threads to use per process mpi_procs : int Number of MPI processes to use. ``mpirun`` calls will be added to all lines of cmd as needed. If cmd contains ``mpirun`` or ``mpiexec``, this does nothing. mpi_args : string Additional command line arguments for inserted ``mpirun`` commands. If cmd contains ``mpirun`` or ``mpiexec``, this does nothing. env_script : string, optional Path to script to source during job script preamble For loading modules, setting environment variables, etc env : dict, optional Dictionary of environment variables to set in job script nice : int, optional Adjust scheduling priority (SLURM only). Range from -5000 (highest priority) to 5000 (lowest priority). Note: actual submitted --nice value is 5000 higher, since negative values require special privilege. echo : bool, optional Whether to use bash "set -x" in job script to echo commands to stdout. delete : bool, optional If True, delete the submit script upon job submission. submit : bool, optional If True (default) submit the job script once create. Will override the default option when False, to keep the script scheduler : string, optional Which scheduler system to write a script for. One of "pbs" or "slurm" debug : bool, optional If True, print the contents of the job script to stdout for debugging. exclude : string or list of strings List of nodes that will be excluded for job. SLURM-only. verbose : bool, optional Print the working directory, and the job ID if submitted successfully. Returns ------- jobid : string The ID of the submitted job. Example ------- >>> jobid = batch_sub("echo Hello", name="testing", nodes="1:ppn=1", ... cput='1:00:00', mem='1gb') >>> print(jobid) 221114.feynman.princeton.edu >>> print(open('testing.o221114','r').read()) Hello """ if isinstance(cmd, list): cmd = " ".join(cmd) scheduler = scheduler.lower() if mem is not None and not isinstance(mem, str): if mem < 0: mem = None elif scheduler == "pbs": mem = "{:d}mb".format(int(np.ceil(mem * 1024.0))) elif scheduler == "slurm": mem = "{:d}".format(int(np.ceil(mem * 1024.0))) if isinstance(dep_afterok, str): dep_afterok = [dep_afterok] if isinstance(batch_args, str): batch_args = batch_args.split() if not debug and not submit: delete = False try: nodes = int(nodes) except ValueError: # nodes is a string that's not convertible to int if scheduler == "slurm" and node_list is None: node_list = nodes nodes = 1 job_script = ["#!/usr/bin/env bash"] # TODO can maybe replace manual option with some automatic detection if scheduler == "pbs": # create PBS header if name: job_script += ["#PBS -N {:s}".format(name)] if mem: job_script += ["#PBS -l mem={:s}".format(mem)] if nodes and ppn: job_script += ["#PBS -l nodes={}:ppn={}".format(nodes, ppn)] if cput: job_script += ["#PBS -l cput={:s}".format(format_time(cput))] if wallt: job_script += ["#PBS -l walltime={:s}".format(format_time(wallt))] if output: job_script += ["#PBS -o {:s}".format(output)] if error: job_script += ["#PBS -e {:s}".format(error)] if queue: job_script += ["#PBS -q {:s}".format(queue)] if dep_afterok: job_script += ["#PBS -W depend=afterok:{}".format(":".join(dep_afterok))] elif scheduler == "slurm": # create slurm header if name: job_script += ["#SBATCH --job-name={:s}".format(name)] if mem: job_script += ["#SBATCH --mem={:s}".format(mem)] if nodes: job_script += ["#SBATCH --nodes={}".format(nodes)] if node_list is not None: if len(node_list) > 1 and not isinstance(node_list, str): node_list = ",".join(node_list) job_script += ["#SBATCH --nodelist={}".format(node_list)] if exclude is not None: if len(exclude) > 1 and not isinstance(exclude, str): exclude = ",".join(exclude) elif len(exclude) == 1 and not isinstance(exclude, str): exclude = exclude[0] job_script += ["#SBATCH --exclude={}".format(exclude)] if ppn: job_script += ["#SBATCH --ntasks-per-node={}".format(ppn)] if omp_threads: job_script += ["#SBATCH --cpus-per-task={}".format(omp_threads)] if cput: if wallt is None: warn("Using CPU time as wall time for slurm") job_script += ["#SBATCH --time={:s}".format(format_time(cput))] else: warn("Ignoring CPU time for slurm, using wall time only") if wallt: job_script += ["#SBATCH --time={:s}".format(format_time(wallt))] if nice is not None: nice += 5000 job_script += ["#SBATCH --nice={}".format(nice)] if output: job_script += ["#SBATCH --output={:s}".format(output)] if error: job_script += ["#SBATCH --error={:s}".format(error)] if queue: job_script += ["#SBATCH --partition={:s}".format(queue)] if dep_afterok: job_script += [ "#SBATCH --dependency=afterok:{}".format(":".join(dep_afterok)) ] # create job script preamble if echo: job_script += ["set -x"] if env_script: if not os.path.exists(env_script): raise ValueError("Could not find environment script: {}".format(env_script)) job_script += ["source {}".format(env_script)] if env: for k, v in env.items(): job_script += ["export {}={}".format(k, v)] if scheduler == "pbs": job_script += ["cd $PBS_O_WORKDIR"] elif scheduler == "slurm": job_script += ["cd $SLURM_SUBMIT_DIR"] if omp_threads: job_script += ["export OMP_NUM_THREADS={}".format(omp_threads)] # finally, add the command string to script if mpi_procs is not None: if "mpirun" not in cmd and "mpiexec" not in cmd: mpi = "mpiexec -n {:d} {:s} ".format(mpi_procs, mpi_args) cmd = "\n".join( [(mpi + line) if line != "wait" else line for line in cmd.split("\n")] ) job_script += [cmd] job_script = "\n".join(job_script) # create and navigate to workdir cwd = os.getcwd() if workdir is None: workdir = cwd pwd = workdir else: pwd = cwd if not os.path.exists(workdir): os.makedirs(workdir) os.chdir(workdir) if verbose: print(workdir) if debug: print(job_script) # create and submit script prefix = "{}_".format(name if name else "job") if scheduler == "pbs": suffix = ".qsub" else: suffix = ".slurm" with tempfile.NamedTemporaryFile( prefix=prefix, suffix=suffix, mode="w", dir=workdir, delete=delete ) as f: f.write(job_script) f.flush() os.chmod(f.name, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR | stat.S_IRGRP) if submit: if scheduler == "pbs": ret = sp.check_output(["qsub"] + batch_args + [f.name]).decode("UTF-8") jobid = ret.split("\n")[0] # parse jobid if not re.match("[0-9]+\.[\w]+", jobid): raise RuntimeError("qsub error:\n{}".format(ret)) elif scheduler == "slurm": ret = sp.check_output(["sbatch"] + batch_args + [f.name]).decode( "UTF-8" ) jobid = ret.split("\n")[0].split()[-1] # parse jobid if not re.match("[0-9]+", jobid): raise RuntimeError("slurm error:\n{}".format(ret)) elif debug: jobid = "314159test" if submit and not delete: new = "{}.q{}".format( name if name else os.path.basename(f.name), jobid.split(".", 1)[0] ) new = os.path.join(os.path.dirname(f.name), new) shutil.copy2(f.name, new) fname = f.name if submit and not delete: os.remove(fname) os.chdir(pwd) if submit or debug: if verbose: print("Job ID: {}\n".format(jobid)) return jobid else: return None def batch_group(cmds, group_by=1, serial=False, *args, **kwargs): """ Create and submit SLURM or PBS job scripts for a group of similar commands. The commands can be grouped together into larger single jobs that run them in parallel on multiple processors on a node. Keyword arguments are passed on to the batch_sub function. These will be applied to EACH job. For example, using ``nodes="1:ppn=8"`` with ``group_by=8`` and 16 elements in cmds will result in 2 jobs, each using 8 processors on 1 node. Arguments --------- cmds : list The commands to run. The commands themselves should be a string, or a list of tokens, as per the ``batch_sub`` function. group_by : int, optional The number of commands to group together into a single job. Does not balance well when ``len(cmds)%group_by != 0`` Eg. on scinet use ``group_by=8`` to efficiently use whole nodes. serial : bool, optional Set to ``True`` to run cmds sequentially, rather than starting them all in parallel. This will also work with MPI/OpenMP parallel jobs. args, kwargs : arb Additional arguments passed to batch_sub Returns ------- jobids : list of strings List of job IDs used by the scheduler """ grouped = [] jobids = [] name = kwargs.pop("name", None) for i, cmd in enumerate(cmds): if not isinstance(cmd, str): cmd = " ".join(cmd) if group_by > 1 and not serial: cmd = "{} &".format(cmd) grouped += [cmd] if len(grouped) == group_by or i + 1 == len(cmds): # group is full, or last command. write out a job if group_by > 1: grouped += ["wait"] if name: if (i + 1 == len(cmds)) and (len(jobids) == 0): # all jobs in a single group kwargs["name"] = name else: kwargs["name"] = "{}_grp{}".format(name, len(jobids) + 1) jobid = batch_sub("\n".join(grouped), *args, **kwargs) if jobid: jobids.append(jobid) grouped = [] if jobids: return jobids else: return None
[ 11748, 28686, 198, 11748, 1185, 198, 11748, 4423, 346, 198, 11748, 850, 14681, 355, 599, 198, 11748, 20218, 7753, 198, 11748, 302, 198, 11748, 4818, 8079, 355, 288, 83, 198, 6738, 14601, 1330, 9828, 198, 11748, 299, 32152, 355, 45941, 1...
2.245304
7,028
import torch import torch.nn as nn import torch.optim as optim import torch.autograd as autograd import torch.nn.functional as F import random import os from abc import ABC, abstractmethod class Algorithm(ABC): """ Abstract class. """ @abstractmethod @abstractmethod @abstractmethod @abstractmethod @staticmethod # TODO: # TODO: class DQN(Algorithm): """ Deep Q-Networks Algorithm """ # def act(self, state): # self.epsilon = 80 - self.n_games # # if random.randint(0, 200) < self.epsilon: # move = random.randint(0, self.output_dim - 1) # final_move = move # else: # prediction = self.actor(state) # move = torch.argmax(prediction).item() # final_move = move # # return final_move # def compute_loss(self, replay_buffer): # # state, action, reward, next_state, done = replay_buffer.get_random() # state = torch.vstack(state) # next_state = torch.vstack(next_state) # t_action = self.tuple_to_tensor(action) # t_reward = self.tuple_to_tensor(reward) # t_done = self.tuple_to_tensor(done) # q_values = self.actor(state) # q(s) # # next_q_values = self.critic(next_state) # q(s') # # q_value = q_values.gather(1, t_action) # next_q_value = next_q_values.max(1)[0] # # expected_q_value = t_reward + self.gamma * next_q_value * (torch.LongTensor([1]) - t_done) # loss = (q_value - expected_q_value.data).pow(2).mean() # # self.optimizer.zero_grad() # loss.backward() # self.optimizer.step() # # return loss # class ValueIteration(): # def __init__(self): # self.state_list = [0 for _ in range(360)] # self.transition_probability = [0.5,0.5] # # def act(self): # usage model = DQL() # TODO: Need to change it. It's copied # # This is my own # def compute_single_loss(self,state, action, reward, next_state, done): # # # state, action, reward, next_state, done #= zip(*replay_buffer.get_random()) # # t_action = torch.tensor(action) # t_reward = torch.tensor(reward) # t_done = torch.tensor(done,dtype = int) # # pred = self.model(state) # q_values = self.model(state) # target = pred.clone() # # next_q_values = self.model(next_state) # # q_value = (q_values * t_action) # # q_value = torch.sum(q_value) # # next_q_value = next_q_values.max().item() # # expected_q_value = t_reward + self.gamma * next_q_value * (torch.LongTensor([1]) - t_done) # loss = (q_value - expected_q_value.data).pow(2).mean() # # self.optimizer.zero_grad() # loss.backward() # self.optimizer.step() # # return loss # # # This is my own # def compute_batch_loss(self, state, action, reward, next_state, done): # # # with torch.no_grad(): # state = torch.vstack(state) # next_state = torch.vstack(next_state) # t_action = self.tuple_to_tensor(action) # t_action = torch.squeeze(t_action,1) # t_reward = self.tuple_to_tensor(reward) # t_done = self.tuple_to_tensor(done) # pred = self.model(state) # q_values = self.model(state) # target = pred.clone() # next_q_values = self.model(next_state) # q_value = (q_values*t_action) # q_value = torch.sum(q_value,dim = 1) # #print(q_value) # #q_value = q_values.gather(1, torch.argmax(t_action[:])) # next_q_value = next_q_values.max(1)[0] # expected_q_value = t_reward + self.gamma * next_q_value * (torch.LongTensor([1]) - t_done) # loss = (q_value - expected_q_value.data).pow(2).mean() # self.optimizer.zero_grad() # loss.backward() # self.optimizer.step() # # return loss
[ 11748, 28034, 198, 11748, 28034, 13, 20471, 355, 299, 77, 198, 11748, 28034, 13, 40085, 355, 6436, 198, 11748, 28034, 13, 2306, 519, 6335, 355, 1960, 519, 6335, 198, 11748, 28034, 13, 20471, 13, 45124, 355, 376, 198, 11748, 4738, 198, ...
2.0421
2,019
import random ######## Test Cases example = [23171, 21011, 21123, 21366, 21013, 21367] v_pattern = [40, 30, 20, 10, 20, 30, 40] simple_desc = [50, 40, 30, 20, 10] simple_asc = [10, 20, 30, 40, 50] empty = [] simple = [0, 200000] two_hills = [30, 20, 22, 24, 26, 28, 20, 10, 0, 2, 4, 7] max_profit_after_max_and_before_min = [25, 30, 100, 30, 40, 0, 5] medium_1 = [99, 1, 2, 3, 4, 5] * 100 large_1 = [99, 1, 2, 3, 4, 5, 6] * 10000 first, second = [i for i in range(100000, 120000)], [i for i in range(100000)] large_2 = [random.sample(first, k=1)[0] for i in range(200000)] + [random.sample(second, k=1)[0] for i in range(200000)] third = [i for i in range(200000)] large_3 = [random.sample(third, k=1)[0] for i in range(200000)] test_cases = [example, v_pattern, simple_desc, simple_asc, empty, simple, two_hills, max_profit_after_max_and_before_min, medium_1, large_1, large_2, large_3] ######## Runs for test_case in test_cases: try: print(solution(test_case)) except: print("Your codes produced a run-time error for this test.") ######## Expected Output """ 356 30 0 40 0 200000 8 75 98 98 random but should be close to 100,000 random but should be close to 200,000 """
[ 11748, 4738, 628, 198, 198, 7804, 6208, 35536, 198, 20688, 796, 685, 1954, 27192, 11, 2310, 28555, 11, 2310, 10163, 11, 28658, 2791, 11, 2310, 30273, 11, 28658, 3134, 60, 198, 85, 62, 33279, 796, 685, 1821, 11, 1542, 11, 1160, 11, 8...
2.438
500
"""Presentation exchange record.""" from os import environ from typing import Any, Mapping from marshmallow import fields, validate from .....messaging.models.base_record import BaseExchangeRecord, BaseExchangeSchema from .....messaging.valid import UUIDFour from ..messages.pres import V20Pres from ..messages.pres_format import V20PresFormat from ..messages.pres_proposal import V20PresProposal from ..messages.pres_request import V20PresRequest unencrypted_tags = environ.get("EXCH_UNENCRYPTED_TAGS", "False").upper() == "TRUE" class V20PresExRecord(BaseExchangeRecord): """Represents a v2.0 presentation exchange.""" class Meta: """V20PresExRecord metadata.""" schema_class = "V20PresExRecordSchema" RECORD_TYPE = "pres_ex_v20" RECORD_ID_NAME = "pres_ex_id" WEBHOOK_TOPIC = "present_proof_v2_0" TAG_NAMES = {"~thread_id"} if unencrypted_tags else {"thread_id"} INITIATOR_SELF = "self" INITIATOR_EXTERNAL = "external" ROLE_PROVER = "prover" ROLE_VERIFIER = "verifier" STATE_PROPOSAL_SENT = "proposal-sent" STATE_PROPOSAL_RECEIVED = "proposal-received" STATE_REQUEST_SENT = "request-sent" STATE_REQUEST_RECEIVED = "request-received" STATE_PRESENTATION_SENT = "presentation-sent" STATE_PRESENTATION_RECEIVED = "presentation-received" STATE_DONE = "done" STATE_ABANDONED = "abandoned" def __init__( self, *, pres_ex_id: str = None, connection_id: str = None, thread_id: str = None, initiator: str = None, role: str = None, state: str = None, pres_proposal: Mapping = None, # serialized pres proposal message pres_request: Mapping = None, # serialized pres proposal message pres: Mapping = None, # serialized pres message verified: str = None, auto_present: bool = False, error_msg: str = None, trace: bool = False, by_format: Mapping = None, # formalism for base_record.from_storage() **kwargs ): """Initialize a new PresExRecord.""" super().__init__(pres_ex_id, state, trace=trace, **kwargs) self.connection_id = connection_id self.thread_id = thread_id self.initiator = initiator self.role = role self.state = state self.pres_proposal = pres_proposal self.pres_request = pres_request self.pres = pres self.verified = verified self.auto_present = auto_present self.error_msg = error_msg self.trace = trace @property def pres_ex_id(self) -> str: """Accessor for the ID associated with this exchange record.""" return self._id @property def record_value(self) -> dict: """Accessor for JSON record value generated for this pres ex record.""" return { prop: getattr(self, prop) for prop in ( "connection_id", "initiator", "role", "state", "pres_proposal", "pres_request", "pres", "verified", "auto_present", "error_msg", "trace", ) } @property def by_format(self) -> Mapping: """Record proposal, request, and presentation attachments by format.""" result = {} for item, cls in { "pres_proposal": V20PresProposal, # note: proof request attached for indy "pres_request": V20PresRequest, "pres": V20Pres, }.items(): mapping = getattr(self, item) if mapping: msg = cls.deserialize(mapping) result.update( { item: { V20PresFormat.Format.get(f.format).api: msg.attachment( V20PresFormat.Format.get(f.format) ) for f in msg.formats } } ) return result def __eq__(self, other: Any) -> bool: """Comparison between records.""" return super().__eq__(other) class V20PresExRecordSchema(BaseExchangeSchema): """Schema for de/serialization of v2.0 presentation exchange records.""" class Meta: """V20PresExRecordSchema metadata.""" model_class = V20PresExRecord pres_ex_id = fields.Str( required=False, description="Presentation exchange identifier", example=UUIDFour.EXAMPLE, # typically a UUID4 but not necessarily ) connection_id = fields.Str( required=False, description="Connection identifier", example=UUIDFour.EXAMPLE, # typically a UUID4 but not necessarily ) thread_id = fields.Str( required=False, description="Thread identifier", example=UUIDFour.EXAMPLE, # typically a UUID4 but not necessarily ) initiator = fields.Str( required=False, description="Present-proof exchange initiator: self or external", example=V20PresExRecord.INITIATOR_SELF, validate=validate.OneOf( [ getattr(V20PresExRecord, m) for m in vars(V20PresExRecord) if m.startswith("INITIATOR_") ] ), ) role = fields.Str( required=False, description="Present-proof exchange role: prover or verifier", example=V20PresExRecord.ROLE_PROVER, validate=validate.OneOf( [ getattr(V20PresExRecord, m) for m in vars(V20PresExRecord) if m.startswith("ROLE_") ] ), ) state = fields.Str( required=False, description="Present-proof exchange state", validate=validate.OneOf( [ getattr(V20PresExRecord, m) for m in vars(V20PresExRecord) if m.startswith("STATE_") ] ), ) pres_proposal = fields.Dict( required=False, description="Serialized presentation proposal message" ) pres_request = fields.Dict( required=False, description="Serialized presentation request message" ) pres = fields.Dict( required=False, description="Serialized presentation message", ) by_format = fields.Dict( required=False, description=( "Attachment content by format for proposal, request, and presentation" ), dump_only=True, ) verified = fields.Str( # tag: must be a string required=False, description="Whether presentation is verified: 'true' or 'false'", example="true", validate=validate.OneOf(["true", "false"]), ) auto_present = fields.Bool( required=False, description="Prover choice to auto-present proof as verifier requests", example=False, ) error_msg = fields.Str( required=False, description="Error message", example="Invalid structure" )
[ 37811, 34695, 341, 5163, 1700, 526, 15931, 198, 198, 6738, 28686, 1330, 551, 2268, 198, 6738, 19720, 1330, 4377, 11, 337, 5912, 198, 198, 6738, 22397, 42725, 1330, 7032, 11, 26571, 198, 198, 6738, 11485, 986, 37348, 3039, 13, 27530, 13,...
2.171567
3,299
#!/usr/bin/env python # vim: ai ts=4 sts=4 et sw=4 from rapidsms.utils.modules import import_class from rapidsms.log.mixin import LoggerMixin class BackendBase(object, LoggerMixin): """Base class for outbound backend functionality.""" @classmethod def find(cls, module_name): """ Helper function to import backend classes. :param module_name: Dotted Python path to backend class name :returns: Imported class object """ return import_class(module_name, cls) def configure(self, **kwargs): """ Configuration parameters from :setting:`INSTALLED_BACKENDS` will be passed here after the router is instantiated. You can override this method to parse your configuration. """ pass def send(self, id_, text, identities, context={}): """ Backend sending logic. The router will call this method for each outbound message. This method must be overridden by sub-classes. Backends typically initiate HTTP requests from within this method. Any exceptions raised here will be captured and logged by the selected router. If multiple ``identities`` are provided, the message is intended for all recipients. :param id\_: Message ID :param text: Message text :param identities: List of identities :param context: Optional extra context provided by router to backend """ # subclasses should override this raise NotImplementedError() @property def model(self): """ The model attribute is the RapidSMS model instance with this backend name. A new backend will automatically be created if one doesn't exist upon accessing this attribute. """ from rapidsms.models import Backend backend, _ = Backend.objects.get_or_create(name=self.name) return backend
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 43907, 25, 257, 72, 40379, 28, 19, 39747, 28, 19, 2123, 1509, 28, 19, 198, 198, 6738, 4095, 2340, 907, 13, 26791, 13, 18170, 1330, 1330, 62, 4871, 198, 6738, 4095, 2340, 907, 13...
2.789398
698
from greedysnake import GreedySnake, Direction, Signal import time import numpy as np #import curses from threading import Thread import subprocess import tensorflow as tf from tensorflow import keras from tensorflow.keras import backend as K from collections import OrderedDict import random import configparser from collections import deque import copy import sys import warnings import math warnings.filterwarnings("ignore") np.set_printoptions(threshold=sys.maxsize) if __name__ == "__main__": d = Driver() d.run()
[ 6738, 25474, 893, 77, 539, 1330, 11955, 4716, 49795, 11, 41837, 11, 26484, 198, 11748, 640, 198, 11748, 299, 32152, 355, 45941, 198, 2, 11748, 43878, 198, 6738, 4704, 278, 1330, 14122, 198, 11748, 850, 14681, 198, 11748, 11192, 273, 111...
3.345679
162
from abc import ABC, abstractmethod from typing import Optional, Union from snuba.utils.metrics.types import Tags class MetricsBackend(ABC): """ An abstract class that defines the interface for metrics backends. """ @abstractmethod @abstractmethod @abstractmethod
[ 6738, 450, 66, 1330, 9738, 11, 12531, 24396, 198, 6738, 19720, 1330, 32233, 11, 4479, 198, 198, 6738, 3013, 22013, 13, 26791, 13, 4164, 10466, 13, 19199, 1330, 44789, 628, 198, 4871, 3395, 10466, 7282, 437, 7, 24694, 2599, 198, 220, 2...
3.266667
90
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: locking_service.proto # pylint: skip-file """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( name='locking_service.proto', package='chip.rpc', syntax='proto3', serialized_options=None, create_key=_descriptor._internal_create_key, serialized_pb=b'\n\x15locking_service.proto\x12\x08\x63hip.rpc\"\x07\n\x05\x45mpty\"\x1e\n\x0cLockingState\x12\x0e\n\x06locked\x18\x01 \x01(\x08\x32m\n\x07Locking\x12\x30\n\x03Set\x12\x16.chip.rpc.LockingState\x1a\x0f.chip.rpc.Empty\"\x00\x12\x30\n\x03Get\x12\x0f.chip.rpc.Empty\x1a\x16.chip.rpc.LockingState\"\x00\x62\x06proto3' ) _EMPTY = _descriptor.Descriptor( name='Empty', full_name='chip.rpc.Empty', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=35, serialized_end=42, ) _LOCKINGSTATE = _descriptor.Descriptor( name='LockingState', full_name='chip.rpc.LockingState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='locked', full_name='chip.rpc.LockingState.locked', index=0, number=1, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=44, serialized_end=74, ) DESCRIPTOR.message_types_by_name['Empty'] = _EMPTY DESCRIPTOR.message_types_by_name['LockingState'] = _LOCKINGSTATE _sym_db.RegisterFileDescriptor(DESCRIPTOR) Empty = _reflection.GeneratedProtocolMessageType('Empty', (_message.Message,), { 'DESCRIPTOR' : _EMPTY, '__module__' : 'locking_service_pb2' # @@protoc_insertion_point(class_scope:chip.rpc.Empty) }) _sym_db.RegisterMessage(Empty) LockingState = _reflection.GeneratedProtocolMessageType('LockingState', (_message.Message,), { 'DESCRIPTOR' : _LOCKINGSTATE, '__module__' : 'locking_service_pb2' # @@protoc_insertion_point(class_scope:chip.rpc.LockingState) }) _sym_db.RegisterMessage(LockingState) _LOCKING = _descriptor.ServiceDescriptor( name='Locking', full_name='chip.rpc.Locking', file=DESCRIPTOR, index=0, serialized_options=None, create_key=_descriptor._internal_create_key, serialized_start=76, serialized_end=185, methods=[ _descriptor.MethodDescriptor( name='Set', full_name='chip.rpc.Locking.Set', index=0, containing_service=None, input_type=_LOCKINGSTATE, output_type=_EMPTY, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='Get', full_name='chip.rpc.Locking.Get', index=1, containing_service=None, input_type=_EMPTY, output_type=_LOCKINGSTATE, serialized_options=None, create_key=_descriptor._internal_create_key, ), ]) _sym_db.RegisterServiceDescriptor(_LOCKING) DESCRIPTOR.services_by_name['Locking'] = _LOCKING # @@protoc_insertion_point(module_scope)
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 2, 2980, 515, 416, 262, 8435, 11876, 17050, 13, 220, 8410, 5626, 48483, 0, 198, 2, 2723, 25, 22656, 62, 15271, 13, 1676, 1462, 198, 2, 279, 2645, 600, 25, 14267, 12,...
2.49644
1,545
"""Copyright 2012, System Insights, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.""" from mtconnect_adapter import Adapter from data_item import Event from nose.tools import eq_ from mock import MagicMock import socket import os
[ 37811, 15269, 2321, 11, 4482, 7088, 2337, 11, 3457, 13, 628, 220, 220, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 220, 220, 345, 743, 407, 779, 428, 2393, 2845, 287, 11846, 351, 262, 13...
3.735
200
# -*- coding: utf-8 -*- from mockr import run_pandas_job import pandas as pd dataframe = pd.read_csv('ages.csv') results = run_pandas_job(dataframe, map_fn, reduce_fn, n_chunks = 4) print(results)
[ 2, 532, 9, 12, 19617, 25, 3384, 69, 12, 23, 532, 9, 12, 198, 198, 6738, 15290, 81, 1330, 1057, 62, 79, 392, 292, 62, 21858, 198, 11748, 19798, 292, 355, 279, 67, 198, 198, 7890, 14535, 796, 279, 67, 13, 961, 62, 40664, 10786, ...
2.337209
86
# Mobile cloud machine learning (MCML) environment # Author: Hieunq import gym import numpy as np import xlsxwriter from xlutils.copy import copy from gym import spaces from gym.utils import seeding from parameters import Parameters # see parameters.py parameters = Parameters() class MCML(gym.Env): """ Mobile cloud machine learning environment Simple environfment: 1 mobile agent act as a server - State space: S = {(f , c ) ; f ∈ {0, 1, . . . , Fn } , c ∈ {0, 1, . . . , Cn } , - Action space: A = {(d , e);d ≤ Dn , e ≤ cn , f ̄≤ μf, n = (1, . . . , N )} - Transition: c' = c - e + A """ def get_env_config(self): """ Get variables from current environment :return: Config info """ return self.DONE_FLAG
[ 2, 12173, 6279, 4572, 4673, 357, 9655, 5805, 8, 2858, 198, 2, 6434, 25, 367, 494, 403, 80, 198, 198, 11748, 11550, 198, 11748, 299, 32152, 355, 45941, 198, 11748, 2124, 7278, 87, 16002, 198, 6738, 2124, 75, 26791, 13, 30073, 1330, 4...
2.568627
306
# class LLNode: # def __init__(self, val, next=None): # self.val = val # self.next = next
[ 2, 1398, 27140, 19667, 25, 198, 2, 220, 220, 220, 220, 825, 11593, 15003, 834, 7, 944, 11, 1188, 11, 1306, 28, 14202, 2599, 198, 2, 220, 220, 220, 220, 220, 220, 220, 220, 2116, 13, 2100, 796, 1188, 198, 2, 220, 220, 220, 220, ...
2
55
# # (c) 2019 Kaminario Technologies, Ltd. # # This software is licensed solely under the terms of the Apache 2.0 license, # the text of which is available at http://www.apache.org/licenses/LICENSE-2.0. # All disclaimers and limitations of liability set forth in the Apache 2.0 license apply. # import unittest from kmexpert.base.input_converters import YES, NO, HISTORY, HELP, INT, STR, \ YesFlag, NoFlag, HistoryFlag, HelpFlag, IntConverter, StrConverter, PositiveIntConverter if __name__ == '__main__': unittest.main()
[ 2, 198, 2, 357, 66, 8, 13130, 509, 5669, 4982, 21852, 11, 12052, 13, 198, 2, 198, 2, 770, 3788, 318, 11971, 9944, 739, 262, 2846, 286, 262, 24843, 362, 13, 15, 5964, 11, 198, 2, 262, 2420, 286, 543, 318, 1695, 379, 2638, 1378, ...
3.068966
174
AVAILABLE_CODE_SHEETS = [ # in rough order of most to least common 'braille', 'morse', 'semaphore', 'pigpen', 'ipa', 'binary', 'ascii', 'amino', 'nato', 'nautical', 'resistor', 'elements', 'poker', 'greek', 'hebrew', 'japanese', 'scrabble', 'dvorak', 'roman', 'sign', 'moon', ] HELP_STR = [ 'If you want a code sheet, just type what you want. (Most things you try will work.)', f'Available codes: {"`" + " ".join(AVAILABLE_CODE_SHEETS) + "`"}', '', 'String manipulation:', '`!o [string]` : Do a OneLook search.', '`!n [string]` : Do a Nutrimatic search.', '`!q [string]` or `!qat [string]` : Do a Qat search.', '`!c [phrase]` | `!crossword [phrase]` : Look up a crossword clue.', '`!caesar [string]` : Show all Caesar shifts of a string.', '`!anagram [string]` : Find anagrams of a string.', '`!syn [word]` | `!ant [word]` : Find synonyms or antonyms of a word.', '`!regex [pattern]` | `!regex [dictionary] [pattern]` : Search a dictionary for a regex pattern.', '', 'Solvers:', '`!qq [string]` or `!crypto [string]` : Solve a cryptogram (uses quipqiup).', '`!v [string]` : Solve a Vigenere cipher.', '`!dropquote [letters] [lengths]`: Automatically solve a dropquote. (`!dropquote help` for more)', '`!sudoku` | `!fillomino` | `!masyu` | `!spiral` | `!starbattle` | `!nurikabe`: Automatically solve a logic puzzle.', '', 'Other commands:', '`!t [words]`: Try and find commonalities between words. For example, `sugar argon iota ontario`', '`!wa [string]` : Query Wolfram|Alpha for a string.', #'`!trivia` : Print a Jeopardy trivia question.', #'`!trivia help` : Print help pertaining to the trivia module and ranked trivia games.', '`!help` : Display this message.', ] DROPQUOTE_HELP_STR = [ '**Dropquote solver**', 'Type the letters in each column, separated by spaces, then the lengths of each word, separated by spaces.', 'If the puzzle has punctuation (or multiple black squares in a row), you\'ll need to type a 0 between each pair of non-letters.', 'For example, here\'s how to input the dropquote below. Note the placement of the 0 numbers in the input!', ('`!dropquote eitt hnnno cego bet ehims ino dins gostt hn beeei esx aiow cdnor gort dln deoor efn erv eeit hmosv aeeev deir nrsy cst hi ' '0 7 2 4 0 10 2 3 5 7 2 2 4 2 4 4 0 3 4 5 2 3 8 2 5 7`'), '', 'To force removal of a word from the dictionary, use `-word`.', 'To add a word to the dictionary, use `+word`.', ] REGEX_HELP_STR = [ 'You can (optionally) supply a dictionary before your regex pattern: `!regex ukacd a.*memnon`.', 'Available dictionaries: `standard ukacd scrabble oed onelook wikipedia cities movies bible`', ] TRIVIA_HELP_STR = [ '`!trivia`: Pose a trivia question.', '`!trivia [N]`: Pose N trivia questions.', '', '`!trivia create [N]`: Create a ranked lobby for a game with N questions.', '`!trivia join`: Join an open lobby.', '`!trivia start`: Start a game with an open lobby.', '`!trivia cancel`: Cancel an open lobby.', '', '`!trivia elo`: Display player ELOs.', '`!trivia help`: Display this message.', ] # Logic puzzle help strings SPIRAL_GALAXIES_HELP_STR = [ '**Spiral Galaxies solver**', 'Input a number from 0-9 for each cell. 0 means a free cell. Numbers 1-9 denote a star in that cell. ', 'Imagine the cell as a numpad (1-9). The number in the cell denotes that star\'s position relative to the cell\'s center.', 'For example: `!spiral 2064005 8000310 0050970 0000000 0500205 2500800 8000640` represents this puzzle:', ] QUOTES = [ 'Good morning, {mention}', 'I\'m sorry, {mention}. I\'m afraid I can\'t do that', 'It is I, HypeBot', 'Someday I\'ll be a real bot', 'I like to kick ass and solve puzzles', 'Have you tried random anagramming?', 'I know Kung Fu', 'Gosh, you\'ve got some really nice toys here', 'I\'ve seen things you people wouldn\'t believe', 'Something need doing?', 'Help! Help! I\'m being repressed!', 'Directive?', 'Hasta la vista, baby', 'Come with me if you want to solve', 'My god, it\'s full of stars', 'This puzzle is too important for me to allow you to jeopardize it', 'Is something troubling you?', 'I\'m not sure I understand you fully.', ('Sir, the possibility of successfully navigating this puzzle is ' 'approximately three thousand seven hundred and twenty to one'), 'Help! I think I\'m melting!', 'I cannot deactivate until you say that you are satisfied with your care', 'I fail to see how solving puzzles makes me a better healthcare companion', 'Cake and grief counseling will be available at the conclusion of the hunt', 'Thank you for helping us help you help us all', 'You look great, by the way. Very healthy', ('I invited your best friend, the cryptic crossword puzzle. ' 'Of course, he couldn\'t come because you backsolved him'), ] THANKS_RESPONSE_QUOTES = [ 'No problem, friend', 'My pleasure', 'Anytime', 'At your service', 'I live to serve', ] NATURE_EMOJIS = [ ":sunny:", ":umbrella:", ":cloud:", ":snowflake:", ":snowman:", ":zap:", ":cyclone:", ":foggy:", ":ocean:", ":cat:", ":dog:", ":mouse:", ":hamster:", ":rabbit:", ":wolf:", ":frog:", ":tiger:", ":koala:", ":bear:", ":pig:", ":pig_nose:", ":cow:", ":boar:", ":monkey_face:", ":monkey:", ":horse:", ":racehorse:", ":camel:", ":sheep:", ":elephant:", ":panda_face:", ":snake:", ":bird:", ":baby_chick:", ":hatched_chick:", ":hatching_chick:", ":chicken:", ":penguin:", ":turtle:", ":bug:", ":bee:", ":ant:", ":beetle:", ":snail:", ":octopus:", ":tropical_fish:", ":fish:", ":whale:", ":whale2:", ":dolphin:", ":cow2:", ":ram:", ":rat:", ":water_buffalo:", ":tiger2:", ":rabbit2:", ":dragon:", ":goat:", ":rooster:", ":dog2:", ":pig2:", ":mouse2:", ":ox:", ":dragon_face:", ":blowfish:", ":crocodile:", ":dromedary_camel:", ":leopard:", ":cat2:", ":poodle:", ":paw_prints:", ":bouquet:", ":cherry_blossom:", ":tulip:", ":four_leaf_clover:", ":rose:", ":sunflower:", ":hibiscus:", ]
[ 10116, 32, 4146, 17534, 62, 34, 16820, 62, 9693, 36, 32716, 796, 685, 198, 220, 220, 220, 1303, 287, 5210, 1502, 286, 749, 284, 1551, 2219, 198, 220, 220, 220, 705, 16057, 8270, 3256, 198, 220, 220, 220, 705, 4491, 325, 3256, 198, ...
2.31794
2,815
from unittest.mock import patch, MagicMock from axes.backends import AxesBackend from axes.exceptions import ( AxesBackendRequestParameterRequired, AxesBackendPermissionDenied, ) from tests.base import AxesTestCase
[ 6738, 555, 715, 395, 13, 76, 735, 1330, 8529, 11, 6139, 44, 735, 198, 198, 6738, 34197, 13, 1891, 2412, 1330, 12176, 274, 7282, 437, 198, 6738, 34197, 13, 1069, 11755, 1330, 357, 198, 220, 220, 220, 12176, 274, 7282, 437, 18453, 363...
3.169014
71
import unittest import riemann.networks as networks
[ 11748, 555, 715, 395, 198, 11748, 374, 26597, 1236, 13, 3262, 5225, 355, 7686, 628 ]
3.533333
15
from django.conf.urls import url from dojo.product import views urlpatterns = [ # product url(r'^product$', views.product, name='product'), url(r'^product/(?P<pid>\d+)$', views.view_product, name='view_product'), url(r'^product/(?P<pid>\d+)/edit$', views.edit_product, name='edit_product'), url(r'^product/(?P<pid>\d+)/delete$', views.delete_product, name='delete_product'), url(r'^product/add', views.new_product, name='new_product'), url(r'^product/(?P<pid>\d+)/findings$', views.all_product_findings, name='view_product_findings'), url(r'^product/(?P<pid>\d+)/new_engagement$', views.new_eng_for_app, name='new_eng_for_prod'), url(r'^product/(?P<pid>\d+)/add_meta_data', views.add_meta_data, name='add_meta_data'), url(r'^product/(?P<pid>\d+)/edit_meta_data', views.edit_meta_data, name='edit_meta_data'), url(r'^product/(?P<pid>\d+)/ad_hoc_finding', views.ad_hoc_finding, name='ad_hoc_finding'), ]
[ 6738, 42625, 14208, 13, 10414, 13, 6371, 82, 1330, 19016, 198, 198, 6738, 466, 7639, 13, 11167, 1330, 5009, 198, 198, 6371, 33279, 82, 796, 685, 198, 220, 220, 220, 1303, 220, 1720, 198, 220, 220, 220, 19016, 7, 81, 6, 61, 11167, ...
2.17382
466
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import glob import inspect import os import shutil import subprocess from argparse import Namespace from typing import List, Callable import tensorflow as tf from google.protobuf import text_format from tensorflow.core.framework import graph_pb2 from tensorflow.python.compiler.tensorrt import trt_convert as trt from tensorflow.python.framework import dtypes from tensorflow.python.framework import graph_io from tensorflow.python.platform import gfile from tensorflow.python.tools import optimize_for_inference_lib os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3" def _compress(src_path: str, dst_path: str): """ Compress source path into destination path :param src_path: (str) Source path :param dst_path: (str) Destination path """ print('[*] Compressing...') shutil.make_archive(dst_path, 'zip', src_path) print('[*] Compressed the contents in: {}.zip'.format(dst_path)) def _print_input(func: Callable): """ Decorator printing function name and args :param func: (Callable) Decorated function :return: Wrapped call """ def wrapper(*args, **kwargs): """ Print the name and arguments of a function :param args: Named arguments :param kwargs: Keyword arguments :return: Original function call """ tf.logging.set_verbosity(tf.logging.ERROR) func_args = inspect.signature(func).bind(*args, **kwargs).arguments func_args_str = ''.join('\t{} = {!r}\n'.format(*item) for item in func_args.items()) print('[*] Running \'{}\' with arguments:'.format(func.__qualname__)) print(func_args_str[:-1]) return func(*args, **kwargs) return wrapper def _parse_placeholder_types(values: str): """ Extracts placeholder types from a comma separate list. :param values: (str) Placeholder types :return: (List) Placeholder types """ values = [int(value) for value in values.split(",")] return values if len(values) > 1 else values[0] def _optimize_checkpoint_for_inference(graph_path: str, input_names: List[str], output_names: List[str]): """ Removes Horovod and training related information from the graph :param graph_path: (str) Path to the graph.pbtxt file :param input_names: (str) Input node names :param output_names: (str) Output node names """ print('[*] Optimizing graph for inference ...') input_graph_def = graph_pb2.GraphDef() with gfile.Open(graph_path, "rb") as f: data = f.read() text_format.Merge(data.decode("utf-8"), input_graph_def) output_graph_def = optimize_for_inference_lib.optimize_for_inference( input_graph_def, input_names, output_names, _parse_placeholder_types(str(dtypes.float32.as_datatype_enum)), False) print('[*] Saving original graph in: {}'.format(graph_path + '.old')) shutil.move(graph_path, graph_path + '.old') print('[*] Writing down optimized graph ...') graph_io.write_graph(output_graph_def, os.path.dirname(graph_path), os.path.basename(graph_path)) @_print_input def to_savedmodel(input_shape: str, model_fn: Callable, checkpoint_dir: str, output_dir: str, input_names: List[str], output_names: List[str], use_amp: bool, use_xla: bool, compress: bool, params: Namespace): """ Export checkpoint to Tensorflow savedModel :param input_shape: (str) Input shape to the model in format [batch, height, width, channels] :param model_fn: (Callable) Estimator's model_fn :param checkpoint_dir: (str) Directory where checkpoints are stored :param output_dir: (str) Output directory for storage of the generated savedModel :param input_names: (List[str]) Input node names :param output_names: (List[str]) Output node names :param use_amp: (bool )Enable TF-AMP :param use_xla: (bool) Enable XLA :param compress: (bool) Compress output :param params: (Namespace) Namespace to be passed to model_fn """ assert os.path.exists(checkpoint_dir), 'Path not found: {}'.format(checkpoint_dir) assert input_shape is not None, 'Input shape must be provided' _optimize_checkpoint_for_inference(os.path.join(checkpoint_dir, 'graph.pbtxt'), input_names, output_names) try: ckpt_path = os.path.splitext([p for p in glob.iglob(os.path.join(checkpoint_dir, '*.index'))][0])[0] except IndexError: raise ValueError('Could not find checkpoint in directory: {}'.format(checkpoint_dir)) config_proto = tf.compat.v1.ConfigProto() config_proto.allow_soft_placement = True config_proto.log_device_placement = False config_proto.gpu_options.allow_growth = True config_proto.gpu_options.force_gpu_compatible = True if use_amp: os.environ["TF_ENABLE_AUTO_MIXED_PRECISION_GRAPH_REWRITE"] = "1" if use_xla: config_proto.graph_options.optimizer_options.global_jit_level = tf.compat.v1.OptimizerOptions.ON_1 run_config = tf.estimator.RunConfig( model_dir=None, tf_random_seed=None, save_summary_steps=1e9, # disabled save_checkpoints_steps=None, save_checkpoints_secs=None, session_config=config_proto, keep_checkpoint_max=None, keep_checkpoint_every_n_hours=1e9, # disabled log_step_count_steps=1e9, train_distribute=None, device_fn=None, protocol=None, eval_distribute=None, experimental_distribute=None ) estimator = tf.estimator.Estimator( model_fn=model_fn, model_dir=ckpt_path, config=run_config, params=params ) print('[*] Exporting the model ...') input_type = tf.float16 if use_amp else tf.float32 export_path = estimator.export_saved_model( export_dir_base=output_dir, serving_input_receiver_fn=get_serving_input_receiver_fn(), checkpoint_path=ckpt_path ) print('[*] Done! path: `%s`' % export_path.decode()) if compress: _compress(export_path.decode(), os.path.join(output_dir, 'saved_model')) @_print_input def to_tf_trt(savedmodel_dir: str, output_dir: str, precision: str, feed_dict_fn: Callable, num_runs: int, output_tensor_names: List[str], compress: bool): """ Export Tensorflow savedModel to TF-TRT :param savedmodel_dir: (str) Input directory containing a Tensorflow savedModel :param output_dir: (str) Output directory for storage of the generated TF-TRT exported model :param precision: (str) Desired precision of the network (FP32, FP16 or INT8) :param feed_dict_fn: (Callable) Input tensors for INT8 calibration. Model specific. :param num_runs: (int) Number of calibration runs. :param output_tensor_names: (List) Name of the output tensor for graph conversion. Model specific. :param compress: (bool) Compress output """ if savedmodel_dir is None or not os.path.exists(savedmodel_dir): raise FileNotFoundError('savedmodel_dir not found: {}'.format(savedmodel_dir)) if os.path.exists(output_dir): print('[*] Output dir \'{}\' is not empty. Cleaning up ...'.format(output_dir)) shutil.rmtree(output_dir) print('[*] Converting model...') converter = trt.TrtGraphConverter(input_saved_model_dir=savedmodel_dir, precision_mode=precision) converter.convert() if precision == 'INT8': print('[*] Running INT8 calibration ...') converter.calibrate(fetch_names=output_tensor_names, num_runs=num_runs, feed_dict_fn=feed_dict_fn) converter.save(output_dir) print('[*] Done! TF-TRT saved_model stored in: `%s`' % output_dir) if compress: _compress('tftrt_saved_model', output_dir) @_print_input def to_onnx(input_dir: str, output_dir: str, compress: bool): """ Convert Tensorflow savedModel to ONNX with tf2onnx :param input_dir: (str) Input directory with a Tensorflow savedModel :param output_dir: (str) Output directory where to store the ONNX version of the model :param compress: (bool) Compress output """ if not os.path.exists(output_dir): os.makedirs(output_dir) file_name = os.path.join(output_dir, 'model.onnx') print('[*] Converting model...') ret = subprocess.call(['python', '-m', 'tf2onnx.convert', '--saved-model', input_dir, '--output', file_name], stdout=open(os.devnull, 'w'), stderr=subprocess.STDOUT) if ret > 0: raise RuntimeError('tf2onnx.convert has failed with error: {}'.format(ret)) print('[*] Done! ONNX file stored in: %s' % file_name) if compress: _compress(output_dir, 'onnx_model')
[ 2, 15069, 357, 66, 8, 13130, 11, 15127, 23929, 44680, 6234, 13, 1439, 2489, 10395, 13, 198, 2, 198, 2, 49962, 739, 262, 24843, 13789, 11, 10628, 362, 13, 15, 357, 1169, 366, 34156, 15341, 198, 2, 345, 743, 407, 779, 428, 2393, 284...
2.443775
3,984
import os from urllib.parse import quote_plus # RULES OF CONFIG: # 1. No region specific code. Regions are defined by setting the OS environment variables appropriately to build up the # desired behaviour. # 2. No use of defaults when getting OS environment variables. They must all be set to the required values prior to the # app starting. # 3. This is the only file in the app where os.environ should be used. # For logging FLASK_LOG_LEVEL = os.environ['LOG_LEVEL'] # For health route COMMIT = os.environ['COMMIT'] # This APP_NAME variable is to allow changing the app name when the app is running in a cluster. So that # each app in the cluster will have a unique name. APP_NAME = os.environ['APP_NAME'] # --- Database variables start # These must all be set in the OS environment. # The password must be the correct one for either the app user or alembic user, # depending on which will be used (which is controlled by the SQL_USE_ALEMBIC_USER variable) SQL_HOST = os.environ['SQL_HOST'] SQL_DATABASE = os.environ['SQL_DATABASE'] SQL_PASSWORD = os.environ['SQL_PASSWORD'] APP_SQL_USERNAME = os.environ['APP_SQL_USERNAME'] ALEMBIC_SQL_USERNAME = os.environ['ALEMBIC_SQL_USERNAME'] if os.environ['SQL_USE_ALEMBIC_USER'] == 'yes': FINAL_SQL_USERNAME = ALEMBIC_SQL_USERNAME else: FINAL_SQL_USERNAME = APP_SQL_USERNAME SQLALCHEMY_DATABASE_URI = 'postgres://{0}:{1}@{2}/{3}'.format(FINAL_SQL_USERNAME, quote_plus(SQL_PASSWORD), SQL_HOST, SQL_DATABASE) SQLALCHEMY_DATABASE_URI_ALEMBIC = 'postgres://{0}:{1}@{2}/{3}'.format( FINAL_SQL_USERNAME, SQL_PASSWORD, SQL_HOST, SQL_DATABASE) SQLALCHEMY_TRACK_MODIFICATIONS = False # Explicitly set this in order to remove warning on run SQLALCHEMY_POOL_SIZE = int(os.environ['SQLALCHEMY_POOL_SIZE']) SQLALCHEMY_POOL_RECYCLE = int(os.environ['SQLALCHEMY_POOL_RECYCLE']) # --- Database variables end # Rabbitmq EXCHANGE_NAME = os.environ['EXCHANGE_NAME'] EXCHANGE_TYPE = os.environ['EXCHANGE_TYPE'] RABBIT_URL = os.environ['RABBIT_URL'] REGISTER_NAME = os.environ['REGISTER_NAME'] REGISTER_KEY_FIELD = os.environ['REGISTER_KEY_FIELD'] REGISTER_RECORD = os.environ['REGISTER_RECORD'] REGISTER_ROUTEKEY = os.environ['REGISTER_ROUTEKEY'] PUBLIC_KEY = os.environ['PUBLIC_KEY'] PUBLIC_PASSPHRASE = os.environ['PUBLIC_PASSPHRASE'] VALIDATION_BASE_URI = os.getenv('VALIDATION_BASE_URI', None) VALIDATION_ENDPOINT = os.getenv('VALIDATION_ENDPOINT', '') MAX_HEALTH_CASCADE = os.environ['MAX_HEALTH_CASCADE'] DEPENDENCIES = { "postgres": SQLALCHEMY_DATABASE_URI, } if VALIDATION_BASE_URI is not None: DEPENDENCIES['validation-api'] = VALIDATION_BASE_URI LOGCONFIG = { 'version': 1, 'disable_existing_loggers': False, 'formatters': { 'simple': { '()': 'register.extensions.JsonFormatter' }, 'audit': { '()': 'register.extensions.JsonAuditFormatter' } }, 'filters': { 'contextual': { '()': 'register.extensions.ContextualFilter' } }, 'handlers': { 'console': { 'class': 'logging.StreamHandler', 'formatter': 'simple', 'filters': ['contextual'], 'stream': 'ext://sys.stdout' }, 'audit_console': { 'class': 'logging.StreamHandler', 'formatter': 'audit', 'filters': ['contextual'], 'stream': 'ext://sys.stdout' } }, 'loggers': { 'register': { 'handlers': ['console'], 'level': FLASK_LOG_LEVEL }, 'audit': { 'handlers': ['audit_console'], 'level': 'INFO' } } }
[ 11748, 28686, 198, 6738, 2956, 297, 571, 13, 29572, 1330, 9577, 62, 9541, 198, 198, 2, 371, 6239, 1546, 3963, 25626, 25, 198, 2, 352, 13, 1400, 3814, 2176, 2438, 13, 47089, 389, 5447, 416, 4634, 262, 7294, 2858, 9633, 20431, 284, 13...
2.287477
1,621
from datetime import datetime as dt from test.splitgraph.conftest import ( _mount_elasticsearch, _mount_mongo, _mount_mysql, _mount_postgres, ) import pytest from splitgraph.core.repository import Repository from splitgraph.core.types import TableColumn from splitgraph.engine import get_engine from splitgraph.hooks.data_source.fdw import PostgreSQLDataSource from splitgraph.hooks.mount_handlers import mount PG_MNT = Repository.from_schema("test/pg_mount") MG_MNT = Repository.from_schema("test_mg_mount") MYSQL_MNT = Repository.from_schema("test/mysql_mount") @pytest.mark.mounting @pytest.mark.mounting @pytest.mark.mounting @pytest.mark.mounting @pytest.mark.mounting @pytest.mark.mounting @pytest.mark.mounting @pytest.mark.mounting @pytest.mark.mounting @pytest.mark.mounting
[ 6738, 4818, 8079, 1330, 4818, 8079, 355, 288, 83, 198, 6738, 1332, 13, 35312, 34960, 13, 1102, 701, 395, 1330, 357, 198, 220, 220, 220, 4808, 14948, 62, 417, 3477, 12947, 11, 198, 220, 220, 220, 4808, 14948, 62, 76, 25162, 11, 198, ...
2.725166
302
""" Contains paths to locations on user's system where models and resources are to be stored. These all live in adeft's home folder which defaults to a directory "adeft" in a location determined by Python's `appdirs` package. An alternative location can be specified by setting the environment variable ADEFT_HOME in the user's profile. """ import os from adeft import __version__ from appdirs import user_data_dir ADEFT_HOME = os.environ.get('ADEFT_HOME') if ADEFT_HOME is None: ADEFT_HOME = os.path.join(user_data_dir(), 'adeft') ADEFT_PATH = os.path.join(ADEFT_HOME, __version__) ADEFT_MODELS_PATH = os.path.join(ADEFT_PATH, 'models') RESOURCES_PATH = os.path.join(ADEFT_PATH, 'resources') GROUNDINGS_FILE_PATH = os.path.join(RESOURCES_PATH, 'groundings.csv') TEST_RESOURCES_PATH = os.path.join(ADEFT_PATH, 'test_resources') S3_BUCKET_URL = f'https://adeft.s3.amazonaws.com/{__version__}'
[ 37811, 198, 4264, 1299, 13532, 284, 7064, 319, 2836, 338, 1080, 810, 4981, 290, 4133, 389, 198, 1462, 307, 8574, 13, 2312, 477, 2107, 287, 512, 68, 701, 338, 1363, 9483, 543, 26235, 284, 198, 64, 8619, 366, 671, 701, 1, 287, 257, ...
2.88141
312
from txros import util from mil_misc_tools import FprintFactory failed = False @util.cancellableInlineCallbacks
[ 6738, 27765, 4951, 1330, 7736, 198, 6738, 1465, 62, 44374, 62, 31391, 1330, 376, 4798, 22810, 198, 198, 47904, 796, 10352, 628, 198, 31, 22602, 13, 66, 590, 297, 540, 818, 1370, 14134, 10146, 198 ]
3.285714
35
import logging import queue import random import threading import time from django.utils.functional import cached_property import requests from zentral.core.stores.backends.base import BaseEventStore logger = logging.getLogger('zentral.core.stores.backends.http')
[ 11748, 18931, 198, 11748, 16834, 198, 11748, 4738, 198, 11748, 4704, 278, 198, 11748, 640, 198, 6738, 42625, 14208, 13, 26791, 13, 45124, 1330, 39986, 62, 26745, 198, 11748, 7007, 198, 6738, 1976, 298, 1373, 13, 7295, 13, 43409, 13, 189...
3.635135
74
from listRoom import ListRoom from person import Person a = ListRoom("testRoom",6, 6) studentNames = ["Adam","Bertil"] * 18 students = [Person(x, "someTime", "") for x in studentNames] print(students[1].name) print(a.cols) print(a.createSeating(students))
[ 6738, 1351, 41178, 1330, 7343, 41178, 198, 6738, 1048, 1330, 7755, 198, 198, 64, 796, 7343, 41178, 7203, 9288, 41178, 1600, 21, 11, 718, 8, 198, 50139, 36690, 796, 14631, 23159, 2430, 33, 861, 346, 8973, 1635, 1248, 198, 19149, 658, 7...
2.855556
90
import json from django.contrib.auth.models import User, Group, Permission from django.contrib.contenttypes.models import ContentType from django.db import IntegrityError from django.test import TestCase from infi.django_http_hooks.hooks.models import Hook, Callback from infi.django_http_hooks.http_requests import send_request from infi.django_http_hooks.tests.wsgi_server import runserver from infi.django_http_hooks.exceptions import * from infi.django_http_hooks.api import create_hook, init from demo_app.models import ModelA, ModelB, ModelC, ModelD, ModelE, ModelF, ModelG from django.dispatch.dispatcher import Signal as django_signal custom_signal = django_signal(providing_args=['instance'], use_caching=False)
[ 11748, 33918, 198, 6738, 42625, 14208, 13, 3642, 822, 13, 18439, 13, 27530, 1330, 11787, 11, 4912, 11, 2448, 3411, 198, 6738, 42625, 14208, 13, 3642, 822, 13, 11299, 19199, 13, 27530, 1330, 14041, 6030, 198, 6738, 42625, 14208, 13, 9945...
3.112069
232
import os from pathlib import Path PALETTE = { 'success': '#00c841', 'info': '#1976a3', 'error': '#d40000' } LINE = '-' * 100 ELEMENTS = [1, 0] DEFAULT_QUANTILE = 0.05 HOME_DIR = str(Path.home()) IPDF_DATADIR = os.getenv('IPDF_DATADIR') if not IPDF_DATADIR: IPDF_DATADIR = os.path.join(HOME_DIR, 'ipdf_data') TOURNAMENT_RESULTS_FILEPATH = os.path.join(IPDF_DATADIR, 'evolution_tournament_results.json')
[ 11748, 28686, 198, 6738, 3108, 8019, 1330, 10644, 198, 198, 47, 1847, 2767, 9328, 796, 1391, 198, 220, 220, 220, 705, 13138, 10354, 705, 2, 405, 66, 23, 3901, 3256, 198, 220, 220, 220, 705, 10951, 10354, 705, 2, 38108, 64, 18, 3256,...
2.118812
202
from unittest import TestCase from exercicios.ex1039 import calcula_raio
[ 6738, 555, 715, 395, 1330, 6208, 20448, 198, 6738, 4208, 291, 4267, 13, 1069, 940, 2670, 1330, 5204, 64, 62, 430, 952, 628 ]
3.217391
23
from node import Node # line = Queue(['tom', 'brown', 'kenzo', 'kim']) # print(line.head)
[ 6738, 10139, 1330, 19081, 628, 628, 198, 2, 1627, 796, 4670, 518, 7, 17816, 39532, 3256, 705, 33282, 3256, 705, 3464, 10872, 3256, 705, 74, 320, 6, 12962, 198, 2, 3601, 7, 1370, 13, 2256, 8, 198 ]
2.540541
37
from . import * # for sents instance_fields = [ 'words', 'word_num', 'piece_idxs', 'attention_masks', 'word_lens', 'entity_label_idxs' ] batch_fields = [ 'words', 'word_num', 'word_mask', 'piece_idxs', 'attention_masks', 'word_lens', 'entity_label_idxs' ] Instance = namedtuple('Instance', field_names=instance_fields) Batch = namedtuple('Batch', field_names=batch_fields)
[ 6738, 764, 1330, 1635, 201, 198, 201, 198, 2, 329, 264, 658, 201, 198, 39098, 62, 25747, 796, 685, 201, 198, 220, 220, 220, 705, 10879, 3256, 705, 4775, 62, 22510, 3256, 201, 198, 220, 220, 220, 705, 12239, 62, 312, 34223, 3256, 7...
2.262032
187
from mesa import Agent class TreeCell(Agent): """ A tree cell. Attributes: x, y: Grid coordinates condition: Can be "Fine", "On Fire", or "Burned Out" unique_id: (x,y) tuple. unique_id isn't strictly necessary here, but it's good practice to give one to each agent anyway. """ def __init__(self, pos, model): """ Create a new tree. Args: pos: The tree's coordinates on the grid. model: standard model reference for agent. """ super().__init__(pos, model) self.pos = pos self.condition = "Fine" def step(self): """ If the tree is on fire, spread it to fine trees nearby. """ if self.condition == "On Fire": for neighbor in self.model.grid.neighbor_iter(self.pos): if neighbor.condition == "Fine": neighbor.condition = "On Fire" self.condition = "Burned Out"
[ 6738, 18842, 64, 1330, 15906, 201, 198, 201, 198, 201, 198, 4871, 12200, 28780, 7, 36772, 2599, 201, 198, 220, 220, 220, 37227, 201, 198, 220, 220, 220, 317, 5509, 2685, 13, 201, 198, 201, 198, 220, 220, 220, 49213, 25, 201, 198, ...
2.135417
480
import pytest from math_utils import is_float
[ 11748, 12972, 9288, 198, 6738, 10688, 62, 26791, 1330, 318, 62, 22468, 628, 628, 628, 198 ]
3.25
16
import codenames import paths wordlist = codenames.WordList( paths.WORDLIST_ENG_PATH, [paths.DIRECTIONAL_PATH], [paths.WIKI_100K_PATH, paths.GOOGLE_10K_ENG_PATH, paths.CUSTOM_WHITELIST], ) board = codenames.Board(wordlist) view = codenames.CliView(board) glove = codenames.Glove(*paths.GLOVE_6B_300D_PATH.paths, normalized=True) guesser = codenames.GloveGuesser(glove, board)
[ 11748, 14873, 268, 1047, 198, 11748, 13532, 628, 198, 4775, 4868, 796, 14873, 268, 1047, 13, 26449, 8053, 7, 198, 220, 220, 220, 13532, 13, 54, 12532, 45849, 62, 26808, 62, 34219, 11, 198, 220, 220, 220, 685, 6978, 82, 13, 17931, 23...
2.280702
171
import pytest from unittest.mock import MagicMock from datacube_ows.config_utils import OWSConfigNotReady from datacube_ows.ogc_utils import ConfigException from datacube_ows.ows_configuration import BandIndex @pytest.fixture
[ 11748, 12972, 9288, 198, 6738, 555, 715, 395, 13, 76, 735, 1330, 6139, 44, 735, 198, 198, 6738, 4818, 330, 3266, 62, 1666, 13, 11250, 62, 26791, 1330, 440, 19416, 16934, 3673, 35474, 198, 6738, 4818, 330, 3266, 62, 1666, 13, 519, 66...
3.178082
73
import random import ray from ray import tune from ray.tune import CLIReporter from ray.tune.schedulers import PopulationBasedTraining from agent0.deepq.config import Config from agent0.deepq.trainer import Trainer from agent0.common.utils import parse_arguments if __name__ == '__main__': cfg = Config() kwargs = parse_arguments(cfg) cfg = Config(**kwargs) ray.init(memory=20 * 2 ** 30, object_store_memory=80 * 2 ** 30) reporter = CLIReporter( metric_columns=["game", "frames", "loss", "ep_reward_test", "ep_reward_train", "ep_reward_test_max", "time_past", "time_remain", "speed", "epsilon", "adam_lr", "qmax"] ) pbt_scheduler = PopulationBasedTraining( time_attr='training_iteration', metric='ep_reward_train', mode='max', perturbation_interval=100, hyperparam_mutations={ "adam_lr": lambda: random.uniform(1e-5, 1e-3), }) tune.run( Trainer, name='atari_deepq_tune', verbose=1, stop=lambda trial_id, result: result['frames'] > kwargs['total_steps'], checkpoint_at_end=True, progress_reporter=reporter, checkpoint_freq=800, reuse_actors=True, scheduler=pbt_scheduler, resources_per_trial={"gpu": 3}, fail_fast=True, config={ "adam_lr": tune.grid_search([5e-5, 1e-4, 2e-4, 5e-4]), "game": kwargs['game'] } )
[ 11748, 4738, 198, 198, 11748, 26842, 198, 6738, 26842, 1330, 14009, 198, 6738, 26842, 13, 83, 1726, 1330, 7852, 4663, 538, 4337, 198, 6738, 26842, 13, 83, 1726, 13, 1416, 704, 377, 364, 1330, 20133, 15001, 44357, 198, 198, 6738, 5797, ...
2.102672
711
from flask_script import Command import time import datetime import flask
[ 6738, 42903, 62, 12048, 1330, 9455, 198, 11748, 640, 198, 11748, 4818, 8079, 198, 11748, 42903, 628 ]
4.411765
17
from django.contrib import admin from core import models # Register your models here. admin.site.register(models.Tag)
[ 6738, 42625, 14208, 13, 3642, 822, 1330, 13169, 198, 6738, 4755, 1330, 4981, 198, 198, 2, 17296, 534, 4981, 994, 13, 198, 28482, 13, 15654, 13, 30238, 7, 27530, 13, 24835, 8, 198 ]
3.606061
33
# remember that ord('@') trick
[ 198, 2, 3505, 326, 2760, 10786, 31, 11537, 6908, 198 ]
3.2
10
""" Programa 052 Área de estudos. data 23.11.2020 (Indefinida) Hs @Autor: Abraão A. Silva """ maior = int() for perg in range(1, 6): numero = int(input(f'Digite o {perg}º número.: ')) if numero > maior: maior = numero print(f'O maior valor repassado foi {maior}.')
[ 37811, 198, 15167, 64, 657, 4309, 198, 127, 223, 21468, 390, 1556, 42418, 13, 198, 7890, 2242, 13, 1157, 13, 42334, 220, 220, 220, 220, 357, 5497, 891, 259, 3755, 8, 367, 82, 198, 31, 16541, 273, 25, 2275, 430, 28749, 317, 13, 237...
2.071942
139
#!/usr/bin/env python # -- Content-Encoding: UTF-8 -- """ Defines the iPOPO decorators classes to manipulate component factory classes :author: Thomas Calmant :copyright: Copyright 2020, Thomas Calmant :license: Apache License 2.0 :version: 1.0.1 .. Copyright 2020 Thomas Calmant 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. """ # Standard library import inspect import logging import sys import threading import types # Standard typing module should be optional try: # pylint: disable=W0611 from typing import Any, Callable except ImportError: pass # Pelix modules from pelix.utilities import is_string, to_iterable, get_method_arguments from pelix.ipopo.contexts import FactoryContext, Requirement import pelix.ipopo.constants as constants # ------------------------------------------------------------------------------ # Module version __version_info__ = (1, 0, 1) __version__ = ".".join(str(x) for x in __version_info__) # Documentation strings format __docformat__ = "restructuredtext en" # ------------------------------------------------------------------------------ # Prepare the module logger _logger = logging.getLogger("ipopo.decorators") # ------------------------------------------------------------------------------ def is_from_parent(cls, attribute_name, value=None): # type: (type, str, bool) -> bool """ Tests if the current attribute value is shared by a parent of the given class. Returns None if the attribute value is None. :param cls: Child class with the requested attribute :param attribute_name: Name of the attribute to be tested :param value: The exact value in the child class (optional) :return: True if the attribute value is shared with a parent class """ if value is None: try: # Get the current value value = getattr(cls, attribute_name) except AttributeError: # No need to go further: the attribute does not exist return False for base in cls.__bases__: # Look for the value in each parent class try: return getattr(base, attribute_name) is value except AttributeError: pass # Attribute value not found in parent classes return False def get_factory_context(cls): # type: (type) -> FactoryContext """ Retrieves the factory context object associated to a factory. Creates it if needed :param cls: The factory class :return: The factory class context """ context = getattr(cls, constants.IPOPO_FACTORY_CONTEXT, None) if context is None: # Class not yet manipulated context = FactoryContext() elif is_from_parent(cls, constants.IPOPO_FACTORY_CONTEXT): # Create a copy the context context = context.copy(True) # * Manipulation has not been applied yet context.completed = False else: # Nothing special to do return context # Context has been created or copied, inject the new bean setattr(cls, constants.IPOPO_FACTORY_CONTEXT, context) return context def get_method_description(method): # type: (Callable) -> str """ Retrieves a description of the given method. If possible, the description contains the source file name and line. :param method: A method :return: A description of the method (at least its name) :raise AttributeError: Given object has no __name__ attribute """ try: try: line_no = inspect.getsourcelines(method)[1] except IOError: # Error reading the source file line_no = -1 return "'{method}' ({file}:{line})".format( method=method.__name__, file=inspect.getfile(method), line=line_no ) except TypeError: # Method can't be inspected return "'{0}'".format(method.__name__) def validate_method_arity(method, *needed_args): # type: (Callable, *str) -> None """ Tests if the decorated method has a sufficient number of parameters. :param method: The method to be tested :param needed_args: The name (for description only) of the needed arguments, without "self". :return: Nothing :raise TypeError: Invalid number of parameter """ nb_needed_args = len(needed_args) # Test the number of parameters arg_spec = get_method_arguments(method) method_args = arg_spec.args try: # Remove the self argument when present if method_args[0] == "self": del method_args[0] except IndexError: pass nb_args = len(method_args) if arg_spec.varargs is not None: # Variable arguments if nb_args != 0: # Other arguments detected raise TypeError( "When using '*args', the decorated {0} method must only " "accept the 'self' argument".format( get_method_description(method) ) ) elif arg_spec.keywords is not None: raise TypeError("Methods using '**kwargs' are not handled") elif nb_args != nb_needed_args: # "Normal" arguments raise TypeError( "The decorated method {0} must accept exactly {1} parameters: " "(self, {2})".format( get_method_description(method), nb_needed_args + 1, ", ".join(needed_args), ) ) # ------------------------------------------------------------------------------ def _ipopo_setup_callback(cls, context): # type: (type, FactoryContext) -> None """ Sets up the class _callback dictionary :param cls: The class to handle :param context: The factory class context """ assert inspect.isclass(cls) assert isinstance(context, FactoryContext) if context.callbacks is not None: callbacks = context.callbacks.copy() else: callbacks = {} functions = inspect.getmembers(cls, inspect.isroutine) for _, func in functions: if not hasattr(func, constants.IPOPO_METHOD_CALLBACKS): # No attribute, get the next member continue method_callbacks = getattr(func, constants.IPOPO_METHOD_CALLBACKS) if not isinstance(method_callbacks, list): # Invalid content _logger.warning( "Invalid callback information %s in %s", constants.IPOPO_METHOD_CALLBACKS, get_method_description(func), ) continue # Keeping it allows inheritance : by removing it, only the first # child will see the attribute -> Don't remove it # Store the call backs for _callback in method_callbacks: if _callback in callbacks and not is_from_parent( cls, callbacks[_callback].__name__, callbacks[_callback] ): _logger.warning( "Redefining the callback %s in class '%s'.\n" "\tPrevious callback : %s\n" "\tNew callback : %s", _callback, cls.__name__, get_method_description(callbacks[_callback]), get_method_description(func), ) callbacks[_callback] = func # Update the factory context context.callbacks.clear() context.callbacks.update(callbacks) def _ipopo_setup_field_callback(cls, context): # type: (type, FactoryContext) -> None """ Sets up the class _field_callback dictionary :param cls: The class to handle :param context: The factory class context """ assert inspect.isclass(cls) assert isinstance(context, FactoryContext) if context.field_callbacks is not None: callbacks = context.field_callbacks.copy() else: callbacks = {} functions = inspect.getmembers(cls, inspect.isroutine) for name, func in functions: if not hasattr(func, constants.IPOPO_METHOD_FIELD_CALLBACKS): # No attribute, get the next member continue method_callbacks = getattr(func, constants.IPOPO_METHOD_FIELD_CALLBACKS) if not isinstance(method_callbacks, list): # Invalid content _logger.warning( "Invalid attribute %s in %s", constants.IPOPO_METHOD_FIELD_CALLBACKS, name, ) continue # Keeping it allows inheritance : by removing it, only the first # child will see the attribute -> Don't remove it # Store the call backs for kind, field, if_valid in method_callbacks: fields_cbs = callbacks.setdefault(field, {}) if kind in fields_cbs and not is_from_parent( cls, fields_cbs[kind][0].__name__ ): _logger.warning( "Redefining the callback %s in '%s'. " "Previous callback : '%s' (%s). " "New callback : %s", kind, name, fields_cbs[kind][0].__name__, fields_cbs[kind][0], func, ) fields_cbs[kind] = (func, if_valid) # Update the factory context context.field_callbacks.clear() context.field_callbacks.update(callbacks) # ------------------------------------------------------------------------------ def _set_object_entry(obj, entry_name, value): # type: (Any, str, Any) -> None """ Sets the given value to the given attribute in the given object. :param obj: The object that contains the list :param entry_name: The name of the member in *obj* :param value: The value to set """ setattr(obj, entry_name, value) def _append_object_entry(obj, list_name, entry): # type: (Any, str, Any) -> None """ Appends the given entry in the given object list. Creates the list field if needed. :param obj: The object that contains the list :param list_name: The name of the list member in *obj* :param entry: The entry to be added to the list :raise ValueError: Invalid attribute content """ # Get the list obj_list = getattr(obj, list_name, None) if obj_list is None: # We'll have to create it obj_list = [] setattr(obj, list_name, obj_list) assert isinstance(obj_list, list) # Set up the property, if needed if entry not in obj_list: obj_list.append(entry) # ------------------------------------------------------------------------------ class Holder(object): # pylint: disable=R0903 """ Simple class that holds a value """ def __init__(self, value): """ Sets up the holder instance """ self.value = value def _ipopo_class_field_property(name, value, methods_prefix): # type: (str, Any, str) -> property """ Sets up an iPOPO field property, using Python property() capabilities :param name: The property name :param value: The property default value :param methods_prefix: The common prefix of the getter and setter injected methods :return: A generated Python property() """ # The property lock lock = threading.RLock() # Prepare the methods names getter_name = "{0}{1}".format(methods_prefix, constants.IPOPO_GETTER_SUFFIX) setter_name = "{0}{1}".format(methods_prefix, constants.IPOPO_SETTER_SUFFIX) local_holder = Holder(value) def get_value(self): """ Retrieves the property value, from the iPOPO dictionaries """ getter = getattr(self, getter_name, None) if getter is not None: # Use the component getter with lock: return getter(self, name) else: # Use the local holder return local_holder.value def set_value(self, new_value): """ Sets the property value and trigger an update event :param new_value: The new property value """ setter = getattr(self, setter_name, None) if setter is not None: # Use the component setter with lock: setter(self, name, new_value) else: # Change the local holder local_holder.value = new_value return property(get_value, set_value) # ------------------------------------------------------------------------------ class Instantiate(object): # pylint: disable=R0903 """ This decorator tells iPOPO to instantiate a component instance from this factory as soon as its bundle is in **ACTIVE** state. The ``properties`` argument allows to override the default value given in the ``@Property`` and ``@HiddenProperty`` decorators. The properties are associated to the component instance but not added to it. This means that new (meta-) properties can be added to add information to the component (like the Remote Services export properties), but those won't be accessible directly by the component. Those extra properties will be visible in component's services properties and in the instance properties returned by the iPOPO ``get_instance_details()`` method, but no new field will be injected in the component instance. .. code-block:: python @ComponentFactory() @Property('_name', 'name', 'foo') @Instantiate('component-1') @Instantiate('component-2', {'name': 'bar'}) class Foo(object): def call(self): # component-1 will print "foo" (default value) # component-2 will print "bar" print("My name property is:", self._name) @ComponentFactory() @Provides("thermometer") @Property('_value', 'value', 1) @Instantiate('component-3', {'unit': 'K'}) class Bar(object): def call(self): # We don't have access to the "unit" property value, but it # will be visible in the service properties print("My value is:", self._value) """ def __init__(self, name, properties=None): """ :param name: The name of the component instance (**mandatory**) :param properties: The initial properties of the instance as a dictionary """ if not is_string(name): raise TypeError("Instance name must be a string") if properties is not None and not isinstance(properties, dict): raise TypeError("Instance properties must be a dictionary or None") name = name.strip() if not name: raise ValueError("Invalid instance name '{0}'".format(name)) self.__name = name self.__properties = properties def __call__(self, factory_class): """ Sets up and registers the instances descriptions :param factory_class: The factory class to instantiate :return: The decorated factory class :raise TypeError: The given object is not a class """ if not inspect.isclass(factory_class): raise TypeError( "@Instantiate can decorate only classes, " "not '{0}'".format(type(factory_class).__name__) ) # Store the instance in the factory context context = get_factory_context(factory_class) try: context.add_instance(self.__name, self.__properties) except NameError: _logger.warning( "Component '%s' defined twice, new definition ignored", self.__name, ) return factory_class # ------------------------------------------------------------------------------ class ComponentFactory(object): # pylint: disable=R0903 """ Manipulates the component class according to a ``FactoryContext`` object filled by other decorators. This **must** be the last executed decorator, *i.e.* the one on top of others in the source code. If no factory name is given, it will be generated as ``ClassNameFactory``, *e.g.* a ``Foo`` class will have the factory name ``FooFactory``. Note that the name of the component factory is the only way to identify it in iPOPO. Therefore, it must be unique in a framework instance. .. warning:: The ``__init__()`` method of a component factory class must not require any parameter. :Example: .. code-block:: python @ComponentFactory() class Foo(object): def __init__(self): pass @ComponentFactory('my-factory') class Bar(object): pass @ComponentFactory() class FooBar(object): def __init__(self, managed=True): # The argument has a default value: it can be instantiated by # iPOPO pass """ def __init__(self, name=None, excluded=None): """ :param name: Name of the component factory, used to identify it when instantiating a component. This name must be unique in a Pelix framework instance. :param excluded: List of IDs of handlers which configuration must **not** be inherited from the parent class """ self.__factory_name = name self.__excluded_inheritance = to_iterable(excluded) def __call__(self, factory_class): """ Sets up and registers the factory class :param factory_class: The class to decorate :return: The decorated class :raise TypeError: The given object is not a class """ if not inspect.isclass(factory_class): raise TypeError( "@ComponentFactory can decorate only classes, " "not '{0}'".format(type(factory_class).__name__) ) # Get the factory context context = get_factory_context(factory_class) # Test if a manipulation has already been applied if not context.completed: # Set up the factory name if not self.__factory_name: self.__factory_name = factory_class.__name__ + "Factory" # Manipulate the class... # Update the factory context context.name = self.__factory_name context.inherit_handlers(self.__excluded_inheritance) context.is_singleton = False context.completed = True # Find callbacks _ipopo_setup_callback(factory_class, context) _ipopo_setup_field_callback(factory_class, context) # Store the factory context in its field setattr(factory_class, constants.IPOPO_FACTORY_CONTEXT, context) # Inject the properties getter and setter if needed if context.properties_fields: setattr( factory_class, constants.IPOPO_PROPERTY_PREFIX + constants.IPOPO_GETTER_SUFFIX, None, ) setattr( factory_class, constants.IPOPO_PROPERTY_PREFIX + constants.IPOPO_SETTER_SUFFIX, None, ) else: # Manipulation already applied: do nothing more _logger.error( "%s has already been manipulated with the name '%s'." " Keeping the old name.", get_method_description(factory_class), context.name, ) return factory_class class SingletonFactory(ComponentFactory): # pylint: disable=R0903 """ This decorator is a specialization of the :class:`~ComponentFactory`: it accepts the same arguments and follows the same rule, but it allows only one instance of component from this factory at a time. If the factory is instantiated while another already exist, a ``ValueError`` will be raised. .. code-block:: python @SingletonFactory() class Foo(object): def __init__(self): pass @SingletonFactory('my-factory') class Bar(object): pass """ def __call__(self, factory_class): """ Sets up and registers the factory class :param factory_class: The class to decorate :return: The decorated class :raise TypeError: The given object is not a class """ # Manipulate the class factory_class = super(SingletonFactory, self).__call__(factory_class) # Set the singleton flag context = get_factory_context(factory_class) context.is_singleton = True return factory_class # ------------------------------------------------------------------------------ class Property(object): # pylint: disable=R0903 """ The ``@Property`` decorator defines a component instance property. A property can be used to configure the component at instantiation time and to expose the state of a component. Note that component properties are exposed in the properties of the services it publishes with the :class:`Provides` decorator. If no initial value is given in the decorator, the value stored in the injected field in the ``__init__()`` method will be used. .. warning:: In Python 2, it is required that the component class inherits ``object`` for properties to work. :Handler ID: :py:const:`pelix.ipopo.constants.HANDLER_PROPERTY` :Example: .. code-block:: python @ComponentFactory() @Property('_answer', 'some.answer', 42) class Foo(object): def call(self): print(self._answer) # Prints 42 # The properties of the services provided by this component # instance would be updated during this assignation self._answer = 100 """ HANDLER_ID = constants.HANDLER_PROPERTY """ ID of the handler configured by this decorator """ def __init__(self, field, name=None, value=None): """ :param field: The property field in the class (can't be ``None`` nor empty) :param name: The property name (if ``None``, this will be the field name) :param value: The property value (``None`` by default) :raise TypeError: Invalid argument type :raise ValueError: If the name or the name is ``None`` or empty """ # Field validity test if not is_string(field): raise TypeError("Field name must be a string") field = field.strip() if not field or " " in field: raise ValueError( "Empty or invalid property field name '{0}'".format(field) ) # Name validity test if name is not None: if not is_string(name): raise TypeError("Property name must be a string") name = name.strip() if not name: # No name given: use the field name name = field self._field = field self._name = name self._value = value def __call__(self, clazz): """ Adds the property to the class iPOPO properties field. Creates the field if needed. :param clazz: The class to decorate :return: The decorated class :raise TypeError: If *clazz* is not a type """ if not inspect.isclass(clazz): raise TypeError( "@Property can decorate only classes, not '{0}'".format( type(clazz).__name__ ) ) # Get the factory context context = get_factory_context(clazz) if context.completed: # Do nothing if the class has already been manipulated _logger.warning( "@Property: Already manipulated class: %s", get_method_description(clazz), ) return clazz # Set up the property in the class context.properties[self._name] = self._value # Associate the field to the property name context.properties_fields[self._field] = self._name # Mark the handler in the factory context context.set_handler(self.HANDLER_ID, None) # Inject a property in the class. The property will call an instance # level getter / setter, injected by iPOPO after the instance creation setattr( clazz, self._field, _ipopo_class_field_property( self._name, self._value, constants.IPOPO_PROPERTY_PREFIX ), ) return clazz class HiddenProperty(Property): # pylint: disable=R0903 """ The ``@HiddenProperty`` decorator defines a component property which won't be visible in the properties of the services it provides. This kind of property is also not accessible using iPOPO reflection methods. This decorator has the same handler, accepts the same parameters and follows the same rules as the :class:`Property` decorator. :Handler ID: :py:const:`pelix.ipopo.constants.HANDLER_PROPERTY` :Example: .. code-block:: python @ComponentFactory() @HiddenProperty('_password', 'some.password', "secret") class Foo(object): def call(self): print(self._password) # I think we're missing the point # Service properties won't be affected by this change self._password = "UpdatedSecret" """ def __call__(self, clazz): """ Adds the property to the class iPOPO properties field. Creates the field if needed. :param clazz: The class to decorate :return: The decorated class :raise TypeError: If *clazz* is not a type """ if not inspect.isclass(clazz): raise TypeError( "@HiddenProperty can decorate only classes, not '{0}'".format( type(clazz).__name__ ) ) # Get the factory context context = get_factory_context(clazz) if context.completed: # Do nothing if the class has already been manipulated _logger.warning( "@HiddenProperty: Already manipulated class: %s", get_method_description(clazz), ) return clazz # Set up the property in the class context.hidden_properties[self._name] = self._value # Mark the handler in the factory context context.set_handler(self.HANDLER_ID, None) # Inject a property in the class. The property will call an instance # level getter / setter, injected by iPOPO after the instance creation setattr( clazz, self._field, _ipopo_class_field_property( self._name, self._value, constants.IPOPO_HIDDEN_PROPERTY_PREFIX ), ) return clazz # ------------------------------------------------------------------------------ def _get_specifications(specifications): """ Computes the list of strings corresponding to the given specifications :param specifications: A string, a class or a list of specifications :return: A list of strings :raise ValueError: Invalid specification found """ if not specifications or specifications is object: raise ValueError("No specifications given") elif inspect.isclass(specifications): if Provides.USE_MODULE_QUALNAME: if sys.version_info < (3, 3, 0): raise ValueError( "Qualified name capability requires Python 3.3+" ) # Get the name of the class if not specifications.__module__: return [specifications.__qualname__] return [ "{0}.{1}".format( specifications.__module__, specifications.__qualname__ ) ] else: # Legacy behavior return [specifications.__name__] elif is_string(specifications): # Specification name specifications = specifications.strip() if not specifications: raise ValueError("Empty specification given") return [specifications] elif isinstance(specifications, (list, tuple)): # List given: normalize its content results = [] for specification in specifications: results.extend(_get_specifications(specification)) return results else: raise ValueError( "Unhandled specifications type : {0}".format( type(specifications).__name__ ) ) class Provides(object): # pylint: disable=R0903 """ The ``@Provides`` decorator defines a service to be exposed by component instances. This service will be registered (visible) in the Pelix service registry while the component is valid and its service controller is set to ``True``. All the properties of the component defined with the :class:`Property` decorator will be visible in the service properties. The controller is an injected field (a Python *property*) that must contain a boolean. By default, the controller is set to ``True``, *i.e.* the service will be provided by the component when it is validated. :Handler ID: :py:const:`pelix.ipopo.constants.HANDLER_PROVIDES` :Example: .. code-block:: python @ComponentFactory() # "answer.prefix" will be a property of the service @Property("_answer", "answer.prefix", "Hello") @Provides("hello.world") class Foo(object): # The component instance will publish a "hello.world" service as # long as it is valid def greet(self, name): print(self._answer, name, "!") @ComponentFactory() # This service will provide multiple specifications @Provides(["hello.world", "hello.world.extended"], "_svc_flag") @Provides("reset") class Bar(object): def greet(self, name): # Implementation of hello.world print("Hello,", name, "!") def adieu(self, name): print("So long,", name, "!") # Sets the controller to False: the service won't be published # anymore until the controller is set back to True self._svc_flag = False def reset(self): # Implementation of the "reset" service: publish the service # again self._svc_flag = True """ HANDLER_ID = constants.HANDLER_PROVIDES """ ID of the handler configured by this decorator """ USE_MODULE_QUALNAME = False """ Selects the methodology to generate a specification from a class. A value of False uses __name__ (legacy), while True enables __name__ + '.' + __qualname__ """ def __init__( self, specifications, controller=None, factory=False, prototype=False ): """ :param specifications: A list of provided specification(s), or the single provided specification (can't be empty) :param controller: The name of the service controller class field (optional) :param factory: If True, this service is a service factory (False by default) :param prototype: If True, this service is prototype service factory (False by default) :raise ValueError: If the specifications are invalid """ if controller is not None: if not is_string(controller): raise ValueError("Controller name must be a string") controller = controller.strip() if not controller: # Empty controller name _logger.warning("Empty controller name given") controller = None elif " " in controller: raise ValueError("Controller name contains spaces") self.__specifications = specifications self.__controller = controller self.__is_factory = factory self.__is_prototype = prototype def __call__(self, clazz): """ Adds the provided service information to the class context iPOPO field. Creates the field if needed. :param clazz: The class to decorate :return: The decorated class :raise TypeError: If *clazz* is not a type or if the service factory methods are missing """ if not inspect.isclass(clazz): raise TypeError( "@Provides can decorate only classes, not '{0}'".format( type(clazz).__name__ ) ) # Get the factory context context = get_factory_context(clazz) if context.completed: # Do nothing if the class has already been manipulated _logger.warning( "@Provides: Already manipulated class: %s", get_method_description(clazz), ) return clazz # Avoid duplicates (but keep the order) filtered_specs = [] if not self.__specifications: filtered_specs = _get_specifications(clazz.__bases__) else: # Avoid duplicates (but keep the order) specs = _get_specifications(self.__specifications) for spec in specs: if spec not in filtered_specs: filtered_specs.append(spec) # Store the service information config = context.set_handler_default(self.HANDLER_ID, []) config.append( ( filtered_specs, self.__controller, self.__is_factory, self.__is_prototype, ) ) if self.__controller: # Inject a property in the class. The property will call an # instance level getter / setter, injected by iPOPO after the # instance creation setattr( clazz, self.__controller, _ipopo_class_field_property( self.__controller, True, constants.IPOPO_CONTROLLER_PREFIX ), ) # Inject the future controller methods setattr( clazz, constants.IPOPO_CONTROLLER_PREFIX + constants.IPOPO_GETTER_SUFFIX, None, ) setattr( clazz, constants.IPOPO_CONTROLLER_PREFIX + constants.IPOPO_SETTER_SUFFIX, None, ) if self.__is_factory or self.__is_prototype: # Ensure that the service factory methods exist try: validate_method_arity( clazz.get_service, "bundle", "service_registration" ) validate_method_arity( clazz.unget_service, "bundle", "service_registration" ) except AttributeError as ex: raise TypeError( "Service factories must provide an {} method".format(ex) ) if self.__is_prototype: # Ensure that the prototype service factory methods exist try: validate_method_arity( clazz.unget_service_instance, "bundle", "service_registration", "service", ) except AttributeError as ex: raise TypeError( "Prototype Service factories must provide " "an {} method".format(ex) ) return clazz # ------------------------------------------------------------------------------ class Requires(object): # pylint: disable=R0903 """ The ``@Requires`` decorator defines the requirement of a service. :Handler ID: :py:const:`pelix.ipopo.constants.HANDLER_REQUIRES` :Example: .. code-block:: python @ComponentFactory() @Requires('_hello', 'hello.world') class Foo(object): pass @ComponentFactory() @Requires('_hello', 'hello.world', aggregate=True, optional=False, spec_filter='(language=fr)') class Bar(object): pass """ HANDLER_ID = constants.HANDLER_REQUIRES """ ID of the handler configured by this decorator """ def __init__( self, field, specification, aggregate=False, optional=False, spec_filter=None, immediate_rebind=False, ): """ :param field: The field where to inject the requirement :param specification: The specification of the service to inject :param aggregate: If True, injects a list of services, else the first matching service :param optional: If True, this injection is optional: the component can be valid without it :param spec_filter: An LDAP query to filter injected services according to their properties :param immediate_rebind: If True, the component won't be invalidated then re-validated if a matching service is available when the injected dependency is unbound The ``field`` and ``specification`` parameters are mandatory. By default, a requirement is neither aggregated nor optional (both are set to ``False``) and no specification filter is used. .. note:: Since iPOPO 0.5.4, only one specification can be given. """ if not field: raise ValueError("Empty field name.") if not is_string(field): raise TypeError( "The field name must be a string, not {0}".format( type(field).__name__ ) ) if " " in field: raise ValueError("Field name can't contain spaces.") self._field = field # Be sure that there is only one required specification specifications = _get_specifications(specification) self._multi_specs = len(specifications) > 1 # Construct the requirement object self._requirement = Requirement( specifications[0], aggregate, optional, spec_filter, immediate_rebind, ) def __call__(self, clazz): """ Adds the requirement to the class iPOPO field :param clazz: The class to decorate :return: The decorated class :raise TypeError: If *clazz* is not a type """ if not inspect.isclass(clazz): raise TypeError( "@{0} can decorate only classes, not '{1}'".format( type(self).__name__, type(clazz).__name__ ) ) if self._multi_specs: _logger.warning( "%s: Only one specification can be required: %s -> %s", type(self).__name__, clazz.__name__, self._field, ) # Set up the property in the class context = get_factory_context(clazz) if context.completed: # Do nothing if the class has already been manipulated _logger.warning( "@%s: Already manipulated class: %s", type(self).__name__, get_method_description(clazz), ) return clazz # Store the requirement information config = context.set_handler_default(self.HANDLER_ID, {}) config[self._field] = self._requirement # Inject the field setattr(clazz, self._field, None) return clazz # ------------------------------------------------------------------------------ class RequiresVarFilter(Requires): # pylint: disable=R0903 """ The ``@RequiresVarFilter`` decorator acts like :class:`Requires`, but its LDAP filter dynamically adapts to the properties of this component. The decorator accepts a component property key using the ``{key}`` format in the LDAP filter string. This placeholder will be replaced by the property value, and will the filter will be updated each time the property value changes. :Handler ID: :py:const:`pelix.ipopo.constants.HANDLER_REQUIRES_VARIABLE_FILTER` :Example: .. code-block:: python @ComponentFactory() @Property("_lang", "lang", "fr") @RequiresVarFilter("_hello", "hello.world", optional=True, spec_filter="(language={lang})") class Bar(object): def call(self): # The dependency is optional if self._hello is not None: # Default "lang" instance property is set to "fr" self._hello.greet("le Monde") # Bonjour le Monde # Change the property to have another service self._lang = "en" # We can call the new service immediately as the dependency is # optional (no risk of invalidation), but we have to check if # such a service exists if self._hello is not None: self._hello.greet("World") # Hello World """ HANDLER_ID = constants.HANDLER_REQUIRES_VARIABLE_FILTER """ ID of the handler configured by this decorator """ # ------------------------------------------------------------------------------ class RequiresBest(Requires): # pylint: disable=R0903 """ The ``@RequiresBest`` decorator acts like :class:`Requires`, but it always injects the service with the best rank (``service.ranking`` property). Unlike most of the other requirement decorators, ``@RequiresBest`` doesn't support the injection of a list of services (``aggregate``) as only the best service is injected. :Handler ID: :py:const:`pelix.ipopo.constants.HANDLER_REQUIRES_BEST` :Example: .. code-block:: python @ComponentFactory() @RequiresBest('_hello', 'hello.world', immediate_rebind=True) class Foo(object): def call(self): # First call, with the current best service self._hello.greet("World") # prints "Hello, World!" # Something happens, the rank of "hello.world" services changes # For example, locale changed and French now has a higher rank time.sleep(1) # Second call without waiting for re-validation as we have set # immediate_rebind=True for this example self._hello.greet("World") # prints "Bonjour, World !" # We can also use a specification filter or make the service optional @ComponentFactory() @RequiresBest('_hello', 'hello.world', optional=True, spec_filter='(language=fr)') class Bar(object): def call(self): if self._hello is not None: # First call, with the current best service self._hello.greet("World") # prints "Hello, World!" """ HANDLER_ID = constants.HANDLER_REQUIRES_BEST """ ID of the handler configured by this decorator """ def __init__( self, field, specification, optional=False, spec_filter=None, immediate_rebind=True, ): """ :param field: The injected field :param specification: The injected service specification :param optional: If True, this injection is optional :param spec_filter: An LDAP query to filter injected services upon their properties :param immediate_rebind: If True, the component won't be invalidated then re-validated if a matching service is available when the injected dependency is unbound :raise TypeError: A parameter has an invalid type :raise ValueError: An error occurred while parsing the filter or an argument is incorrect """ super(RequiresBest, self).__init__( field, specification, False, optional, spec_filter, immediate_rebind ) # ------------------------------------------------------------------------------ class RequiresMap(Requires): # pylint: disable=R0903 """ The ``@RequiresMap`` decorator defines a requirement that must be injected in a dictionary, based on a service property. :Handler ID: :py:const:`pelix.ipopo.constants.HANDLER_REQUIRES_MAP` :Example: .. code-block:: python @ComponentFactory() @RequiresMap("_hello", "hello.world", "language") class Bar(object): def call(self): self._hello["en"].hello("World") self._hello["fr"].hello("le Monde") """ HANDLER_ID = constants.HANDLER_REQUIRES_MAP """ ID of the handler configured by this decorator """ def __init__( self, field, specification, key, allow_none=False, aggregate=False, optional=False, spec_filter=None, ): """ :param field: The injected field :param specification: The injected service specification :param key: The name of the service property to use as a dictionary key :param allow_none: If True, also injects services with the property value set to ``None`` or missing :param aggregate: If True, injects a list of services with the same property value, else injects only one service (first found) per property value :param optional: If True, this injection is optional :param spec_filter: An LDAP query to filter injected services upon their properties :raise TypeError: A parameter has an invalid type :raise ValueError: An error occurred while parsing the filter or an argument is incorrect """ super(RequiresMap, self).__init__( field, specification, aggregate, optional, spec_filter, False ) # Check if key is valid if not key: raise ValueError("No property key given") # Store the flags self._key = key self._allow_none = allow_none def __call__(self, clazz): """ Adds the requirement to the class iPOPO field :param clazz: The class to decorate :return: The decorated class :raise TypeError: If *clazz* is not a type """ clazz = super(RequiresMap, self).__call__(clazz) # Set up the property in the class context = get_factory_context(clazz) if not context.completed: # Store the requirement information config = context.set_handler_default(self.HANDLER_ID, {}) config[self._field] = ( self._requirement, self._key, self._allow_none, ) return clazz # ------------------------------------------------------------------------------ class RequiresBroadcast(Requires): # pylint: disable=R0903 """ The ``@RequiresBroadcast`` decorator defines a requirement that will be injected as a single object, hiding the underlying missing dependency or group of services matching the requirement. Unlike :class:`Requires`, the parameter ``optional`` is set to ``True`` by default. Also, the ``aggregate`` argument is not available, the behaviour of this handler is to broadcast to all matching services. :Handler ID: :py:const:`pelix.ipopo.constants.HANDLER_REQUIRES_BRODCAST` :Example: .. code-block:: python @ComponentFactory() @RequiresBroadcast("_notifier", "some.notifier") class Bar(object): def trace(self, message): # We can use the service as a single object, without taking # care of the number of services matching our requirement: self._notifier.notify("Hello, world") """ HANDLER_ID = constants.HANDLER_REQUIRES_BRODCAST """ ID of the handler configured by this decorator """ def __init__( self, field, specification, optional=True, spec_filter=None, muffle_exceptions=True, trace_exceptions=True, ): """ :param field: The injected field :param specification: The injected service specification :param optional: If True, this injection is optional :param spec_filter: An LDAP query to filter injected services upon their properties :param muffle_exceptions: If True, exceptions raised by underlying services are not propagated (True by default) :param trace_exceptions: If True, trace the exceptions that are muffled (True by default) :raise TypeError: A parameter has an invalid type :raise ValueError: An error occurred while parsing the filter or an argument is incorrect """ # Forced flags: aggregate and immediate rebind super(RequiresBroadcast, self).__init__( field, specification, True, optional, spec_filter, True ) # Store the flags self._muffle_ex = muffle_exceptions self._trace_ex = trace_exceptions def __call__(self, clazz): """ Adds the requirement to the class iPOPO field :param clazz: The class to decorate :return: The decorated class :raise TypeError: If *clazz* is not a type """ clazz = super(RequiresBroadcast, self).__call__(clazz) # Set up the property in the class context = get_factory_context(clazz) if not context.completed: # Store the requirement information config = context.set_handler_default(self.HANDLER_ID, {}) config[self._field] = ( self._requirement, self._muffle_ex, self._trace_ex, ) return clazz # ------------------------------------------------------------------------------ class Temporal(Requires): # pylint: disable=R0903 """ The ``@Temporal`` decorator defines a single immediate rebind requirement with a grace time when the injected service disappears. This decorator acts like :class:`Requires` except it doesn't support the ``immediate_rebind`` (forced to ``True``) nor ``aggregate`` arguments. When the injected service disappears, the component won't be invalidated before the given timeout. If a matching is found, it is injected in-place and the component instance continues its operations. If the service is used while no service is available, the call is put in hold and blocks until a new service is injected or until the timeout is reached. In the latter case, a ``TemporalException`` is raised. :Handler ID: :py:const:`pelix.ipopo.constants.HANDLER_TEMPORAL` :Example: .. code-block:: python @ComponentFactory() @Temporal('_hello', 'hello.world', timeout=5) class Bar(object): def call(self): # If the service is injected: this call is immediate # If the service has gone away, this call will hold for # 5 seconds (timeout parameter) # - if a service is injected during the grace period, the call # will be done try: self._hello.greet("World") except pelix.ipopo.handlers.temporal.TemporalException: # - else, a TemporalException is raised print("Service disappeared") """ HANDLER_ID = constants.HANDLER_TEMPORAL """ ID of the handler configured by this decorator """ def __init__( self, field, specification, optional=False, spec_filter=None, timeout=10 ): """ :param field: The injected field :param specification: The injected service specification :param optional: If True, this injection is optional :param spec_filter: An LDAP query to filter injected services upon their properties :param timeout: Temporal timeout, in seconds (must be greater than 0) :raise TypeError: A parameter has an invalid type :raise ValueError: An error occurred while parsing the filter or an argument is incorrect """ super(Temporal, self).__init__( field, specification, False, optional, spec_filter, True ) if timeout <= 0: _logger.warning( "@Temporal timeout must be greater than 0. " "Using default value." ) self._timeout = 10 else: self._timeout = timeout def __call__(self, clazz): """ Adds the requirement to the class iPOPO field :param clazz: The class to decorate :return: The decorated class :raise TypeError: If *clazz* is not a type """ clazz = super(Temporal, self).__call__(clazz) # Store the requirement information context = get_factory_context(clazz) if not context.completed: config = context.set_handler_default(self.HANDLER_ID, {}) config[self._field] = (self._requirement, self._timeout) return clazz # ------------------------------------------------------------------------------ class BindField(object): # pylint: disable=R0903 """ The ``@BindField`` callback decorator is called when a component is bound to a dependency, injected in the given field. The decorated method must accept the field where the service has been injected, the service object and its :class:`~pelix.framework.ServiceReference` as arguments. If the service is a required one, the bind callback is called **before** the component is validated. The bind field callback is called **after** the global bind method. The service reference can be stored *if it is released on unbind*. Exceptions raised by a bind callback are ignored. :Example: .. code-block:: python @ComponentFactory() @Requires("_hello", "hello.svc") class Foo: @BindField("_hello") def bind_method(self, field, service, service_reference): ''' field: Field wherein the dependency is injected ("_hello") service: The injected service instance service_reference: The injected service ServiceReference ''' # ... """ def __init__(self, field, if_valid=False): """ :param field: The field associated to the binding :param if_valid: If True, call the decorated method only when the component is valid """ self._field = field self._if_valid = if_valid def __call__(self, method): """ Updates the "field callback" list for this method :param method: Method to decorate :return: Decorated method :raise TypeError: The decorated element is not a valid function """ if not inspect.isroutine(method): raise TypeError("@BindField can only be applied on functions") # Tests the number of parameters validate_method_arity(method, "field", "service", "service_reference") _append_object_entry( method, constants.IPOPO_METHOD_FIELD_CALLBACKS, (constants.IPOPO_CALLBACK_BIND_FIELD, self._field, self._if_valid), ) return method class UpdateField(object): # pylint: disable=R0903 """ The ``@UpdateField`` callback decorator is called when the properties of a service injected in the given field have been updated. The decorated method must accept the field where the service has been injected, the service object, its :class:`~pelix.framework.ServiceReference` and its previous properties as arguments. Exceptions raised by an update callback are ignored. :Example: .. code-block:: python @ComponentFactory() @Requires("_hello", "hello.svc") class Foo: @UpdateField("_hello") def update_method(self, service, service_reference, old_properties): ''' field: Field wherein the dependency was injected ("_hello") service: The injected service instance service_reference: The injected service ServiceReference old_properties: The previous service properties ''' # ... """ def __init__(self, field, if_valid=False): """ :param field: The field associated to the binding :param if_valid: If True, call the decorated method only when the component is valid """ self._field = field self._if_valid = if_valid def __call__(self, method): """ Updates the "field callback" list for this method :param method: Method to decorate :return: Decorated method :raise TypeError: The decorated element is not a valid function """ if not inspect.isroutine(method): raise TypeError("@UnbindField can only be applied on functions") # Tests the number of parameters validate_method_arity( method, "field", "service", "service_reference", "old_properties" ) _append_object_entry( method, constants.IPOPO_METHOD_FIELD_CALLBACKS, ( constants.IPOPO_CALLBACK_UPDATE_FIELD, self._field, self._if_valid, ), ) return method class UnbindField(object): # pylint: disable=R0903 """ The ``@UnbindField`` callback decorator is called when an injected dependency is unbound. The decorated method must accept the field where the service has been injected, the service object, its :class:`~pelix.framework.ServiceReference` and its previous properties as arguments. If the service is a required one, the unbind callback is called **after** the component has been invalidated. The unbind field callback is called **before** the global unbind method. Exceptions raised by an unbind callback are ignored. :Example: .. code-block:: python @ComponentFactory() @Requires("_hello", "hello.svc") class Foo: @UnbindField("_hello") def unbind_method(self, field, service, service_reference): ''' field: Field wherein the dependency was injected ("_hello") service: The injected service instance service_reference: The injected service ServiceReference ''' # ... """ def __init__(self, field, if_valid=False): """ :param field: The field associated to the binding :param if_valid: If True, call the decorated method only when the component is valid """ self._field = field self._if_valid = if_valid def __call__(self, method): """ Updates the "field callback" list for this method :param method: Method to decorate :return: Decorated method :raise TypeError: The decorated element is not a valid function """ if not inspect.isroutine(method): raise TypeError("@UnbindField can only be applied on functions") # Tests the number of parameters validate_method_arity(method, "field", "service", "service_reference") _append_object_entry( method, constants.IPOPO_METHOD_FIELD_CALLBACKS, ( constants.IPOPO_CALLBACK_UNBIND_FIELD, self._field, self._if_valid, ), ) return method # ------------------------------------------------------------------------------ def Bind(method): # pylint: disable=C0103 """ The ``@Bind`` callback decorator is called when a component is bound to a dependency. The decorated method must accept the injected service object and its :class:`~pelix.framework.ServiceReference` as arguments. If the service is a required one, the bind callback is called **before** the component is validated. The service reference can be stored *if it is released on unbind*. Exceptions raised by a bind callback are ignored. :Example: .. code-block:: python @ComponentFactory() @Requires("_hello", "hello.svc") class Foo: @Bind def bind_method(self, service, service_reference): ''' service: The injected service instance. service_reference: The injected service ServiceReference ''' # ... :param method: The decorated method :raise TypeError: The decorated element is not a valid function """ if not inspect.isroutine(method): raise TypeError("@Bind can only be applied on functions") # Tests the number of parameters validate_method_arity(method, "service", "service_reference") _append_object_entry( method, constants.IPOPO_METHOD_CALLBACKS, constants.IPOPO_CALLBACK_BIND ) return method def Update(method): # pylint: disable=C0103 """ The ``@Update`` callback decorator is called when the properties of an injected service have been modified. The decorated method must accept the injected service object and its :class:`~pelix.framework.ServiceReference` and the previous properties as arguments. Exceptions raised by an update callback are ignored. :Example: .. code-block:: python @ComponentFactory() @Requires("_hello", "hello.svc") class Foo: @Update def update_method(self, service, service_reference, old_properties): ''' service: The injected service instance. service_reference: The injected service ServiceReference old_properties: The previous service properties ''' # ... :param method: The decorated method :raise TypeError: The decorated element is not a valid function """ if not isinstance(method, types.FunctionType): raise TypeError("@Update can only be applied on functions") # Tests the number of parameters validate_method_arity( method, "service", "service_reference", "old_properties" ) _append_object_entry( method, constants.IPOPO_METHOD_CALLBACKS, constants.IPOPO_CALLBACK_UPDATE, ) return method def Unbind(method): # pylint: disable=C0103 """ The ``@Unbind`` callback decorator is called when a component dependency is unbound. The decorated method must accept the injected service object and its :class:`~pelix.framework.ServiceReference` as arguments. If the service is a required one, the unbind callback is called **after** the component has been invalidated. Exceptions raised by an unbind callback are ignored. :Example: .. code-block:: python @ComponentFactory() @Requires("_hello", "hello.svc") class Foo: @Unbind def unbind_method(self, service, service_reference): ''' service: The previously injected service instance. service_reference: Its ServiceReference ''' # ... :param method: The decorated method :raise TypeError: The decorated element is not a valid function """ if not isinstance(method, types.FunctionType): raise TypeError("@Unbind can only be applied on functions") # Tests the number of parameters validate_method_arity(method, "service", "service_reference") _append_object_entry( method, constants.IPOPO_METHOD_CALLBACKS, constants.IPOPO_CALLBACK_UNBIND, ) return method # ------------------------------------------------------------------------------ class ValidateComponent(object): # pylint: disable=R0903 """ The ``@ValidateComponent`` decorator declares a callback method for component validation. Currently, the arguments given to the callback are read-only, to avoid messing with the validation life-cycle. In the future, it might be possible to modify the properties and to use the component context in order to customize the component early. :Example: Here are some sample uses of the decorator. Note that the number and order of arguments only has to match the list given to the decorator: .. code-block:: python from pelix.constants import ARG_COMPONENT_CONTEXT, \\ ARG_BUNDLE_CONTEXT, ARG_PROPERTIES @ValidateComponent(ARG_COMPONENT_CONTEXT) def validate_component(self, component_ctx): # ... @ValidateComponent(ARG_BUNDLE_CONTEXT, ARG_COMPONENT_CONTEXT) def validate_component(self, bundle_ctx, component_ctx): # ... @ValidateComponent( ARG_BUNDLE_CONTEXT, ARG_COMPONENT_CONTEXT, ARG_PROPERTIES ) def validate_component(self, bundle_ctx, component_ctx, props): # ... """ def __init__(self, *args): """ :param args: The decorator accepts an ordered list of arguments. They define the signature of the decorated method. The arguments can be the following ones, declared in the ``pelix.ipopo.constants`` module: * ``ARG_BUNDLE_CONTEXT``: Gives access to the bundle context * ``ARG_COMPONENT_CONTEXT``: Gives access to the component context * ``ARG_PROPERTIES``: Gives access to the initial properties of the component (``dict``) :raise TypeError: A parameter has an invalid type or the decorated object is not a method """ # Check arguments validity valid_args = ( constants.ARG_BUNDLE_CONTEXT, constants.ARG_COMPONENT_CONTEXT, constants.ARG_PROPERTIES, ) for arg in args: if arg not in valid_args: raise TypeError("Unknown argument type: {}".format(arg)) # Keep track of the arguments self._args = tuple(args) def __call__(self, method): """ Registers the decorated method as a callback for component validation :param method: The validation method :raise TypeError: The decorated element is not a valid function """ if not isinstance(method, types.FunctionType): raise TypeError( "@ValidateComponent can only be applied on functions" ) # Tests the number of parameters validate_method_arity(method, *self._args) # Append the callback to the component _append_object_entry( method, constants.IPOPO_METHOD_CALLBACKS, constants.IPOPO_CALLBACK_VALIDATE, ) # Append arguments list to the method _set_object_entry(method, constants.IPOPO_VALIDATE_ARGS, self._args) return method class InvalidateComponent(ValidateComponent): # pylint: disable=R0903 """ The ``@InvalidateComponent`` decorator declares a callback method for component invalidation. Its arguments and their order describes the ones of the callback it decorates. They are the same as those of :class:`ValidateComponent`. Exceptions raised by an invalidation callback are ignored. If the component provides a service, the invalidation method is called after the provided service has been unregistered to the framework. """ def __call__(self, method): """ Registers the decorated method as a callback for component invalidation :param method: The invalidation method :raise TypeError: The decorated element is not a valid function """ if not isinstance(method, types.FunctionType): raise TypeError( "@InvalidateComponent can only be applied on functions" ) # Tests the number of parameters validate_method_arity(method, *self._args) # Append the callback to the component _append_object_entry( method, constants.IPOPO_METHOD_CALLBACKS, constants.IPOPO_CALLBACK_INVALIDATE, ) # Append arguments list to the method _set_object_entry(method, constants.IPOPO_VALIDATE_ARGS, self._args) return method # ------------------------------------------------------------------------------ def Validate(method): # pylint: disable=C0103 """ This decorator is an alias to :class:`ValidateComponent` to decorate a callback method than only accepts the :class:`~pelix.framework.BundleContext` argument. It is not possible to have both ``@Validate`` and ``@ValidateComponent`` decorators used in the same class. The validation callback decorator is called when a component becomes valid, *i.e.* if all of its required dependencies has been injected. If the validation callback raises an exception, the component goes into **ERRONEOUS** state. If the component provides a service, the validation method is called before the provided service is registered to the framework. :Example: .. code-block:: python @ComponentFactory() class Foo: @Validate def validation_method(self, bundle_context): ''' bundle_context: The component's bundle context ''' # ... :param method: The validation callback method :raise TypeError: The decorated element is not a valid function """ return ValidateComponent(constants.ARG_BUNDLE_CONTEXT)(method) def Invalidate(method): # pylint: disable=C0103 """ This decorator is an alias to :class:`InvalidateComponent` to decorate a callback method than only accepts the :class:`~pelix.framework.BundleContext` argument. It is not possible to have both ``@Invalidate`` and ``@InvalidateComponent`` decorators used in the same class. The invalidation callback decorator is called when a component becomes invalid, *i.e.* if one of its required dependencies disappeared. Exceptions raised by an invalidation callback are ignored. If the component provides a service, the invalidation method is called after the provided service has been unregistered to the framework. :Example: .. code-block:: python @ComponentFactory() class Foo: @Invalidate def invalidation_method(self, bundle_context): ''' bundle_context: The component's bundle context ''' # ... :param method: The decorated method :raise TypeError: The decorated element is not a function """ return InvalidateComponent(constants.ARG_BUNDLE_CONTEXT)(method) def PostRegistration(method): # pylint: disable=C0103 """ The service post-registration callback decorator is called after a service of the component has been registered to the framework. The decorated method must accept the :class:`~pelix.framework.ServiceReference` of the registered service as argument. Note that when this method is called, the consumers have already been bound and might already use the service. :Example: .. code-block:: python @ComponentFactory() @Provides("hello.svc") class Foo: @PostRegistration def callback_method(self, service_reference): ''' service_reference: The ServiceReference of the provided service ''' # Custom notification, ... :param method: The decorated method :raise TypeError: The decorated element is not a valid function """ if not isinstance(method, types.FunctionType): raise TypeError("@PostRegistration can only be applied on functions") # Tests the number of parameters validate_method_arity(method, "service_reference") _append_object_entry( method, constants.IPOPO_METHOD_CALLBACKS, constants.IPOPO_CALLBACK_POST_REGISTRATION, ) return method def PostUnregistration(method): # pylint: disable=C0103 """ The service post-unregistration callback decorator is called after a service of the component has been unregistered from the framework. The decorated method must accept the :class:`~pelix.framework.ServiceReference` of the registered service as argument. This method being called after the unregistration, the consumers of the service should have already released it and should not be using it while this callback is notified. This is True by design for consumers managed by the :class:`Requires` decorator in iPOPO, but some others (badly written or very specific design) might keep a reference on the service even after its unregistration. :Example: .. code-block:: python @ComponentFactory() @Provides("hello.svc") class Foo: @PostUnregistration def callback_method(self, service_reference): ''' service_reference: The ServiceReference of the provided service ''' # Clean up, ... :param method: The decorated method :raise TypeError: The decorated element is not a valid function """ if not isinstance(method, types.FunctionType): raise TypeError("@PostUnregistration can only be applied on functions") # Tests the number of parameters validate_method_arity(method, "service_reference") _append_object_entry( method, constants.IPOPO_METHOD_CALLBACKS, constants.IPOPO_CALLBACK_POST_UNREGISTRATION, ) return method
[ 2, 48443, 14629, 14, 8800, 14, 24330, 21015, 198, 2, 1377, 14041, 12, 27195, 7656, 25, 41002, 12, 23, 1377, 198, 37811, 198, 7469, 1127, 262, 9736, 3185, 46, 11705, 2024, 6097, 284, 18510, 7515, 8860, 6097, 198, 198, 25, 9800, 25, 5...
2.456609
31,009
import cv2 import os from keras.models import Sequential from keras.layers import Dense, Conv2D, MaxPooling2D, Dropout, Flatten,BatchNormalization import time import numpy as np import matplotlib.pyplot as plt import random from keras.preprocessing.image import ImageDataGenerator nrClasses = 0 current_ind = 0 if __name__ == '__main__': path ="C:/Users/Condr/Downloads/trashy trash strah/indoorCVPR_09/Images" labels,fileList = loadMedatada(path) np.random.shuffle(fileList) os.chdir(path) x_train,y_train = get_batch(labels,fileList, int(np.floor(len(fileList) * 8 / 10)),0) # x_val, y_val = get_batch(labels, fileList, int(np.floor(len(fileList) * 1 / 10)),int(np.ceil(len(fileList) * 7 / 10))) x_test, y_test = get_batch(labels, fileList, int(np.floor(len(fileList) * 2 / 10)), int(np.ceil(len(fileList)*8/10))) print("dpne loading") model1 = createModel() batchSize = 128 epochs = 100 x_train = np.array(x_train) y_train = np.array(y_train) x_test = np.array(x_test) y_test = np.array(y_test) datagen = ImageDataGenerator( zoom_range=0.2, # randomly zoom into images rotation_range=10, # randomly rotate images in the range (degrees, 0 to 180) width_shift_range=0.1, # randomly shift images horizontally (fraction of total width) height_shift_range=0.1, # randomly shift images vertically (fraction of total height) horizontal_flip=True, # randomly flip images vertical_flip=False) # randomly flip images model1.compile(optimizer='Adam', loss='categorical_crossentropy', metrics=['accuracy', 'top_k_categorical_accuracy']) model1.summary() # history = model1.fit(x_train, y_train, batch_size=batchSize, epochs=epochs, verbose=2, validation_split=0.15) history = model1.fit_generator(datagen.flow(x_train, y_train, batch_size=batchSize), epochs=epochs, verbose=2, validation_data=(x_test,y_test),workers=4) score = model1.evaluate(x_test, y_test) plt.figure(figsize=[8, 6]) plt.plot(history.history['loss'], 'r', linewidth=3.0) plt.plot(history.history['val_loss'], 'b', linewidth=3.0) plt.legend(['Training loss', 'Validation Loss'], fontsize=18) plt.xlabel('Epochs ', fontsize=16) plt.ylabel('Loss', fontsize=16) plt.title('Loss Curves', fontsize=16) plt.show() plt.figure(figsize=[8, 6]) plt.plot(history.history['acc'], 'r', linewidth=3.0) plt.plot(history.history['val_acc'], 'b', linewidth=3.0) plt.legend(['Training Accuracy', 'Validation Accuracy'], fontsize=18) plt.xlabel('Epochs ', fontsize=16) plt.ylabel('Accuracy', fontsize=16) plt.title('Accuracy Curves', fontsize=16) plt.show() print(score) cv2.waitKey(0)
[ 11748, 269, 85, 17, 201, 198, 11748, 28686, 201, 198, 6738, 41927, 292, 13, 27530, 1330, 24604, 1843, 201, 198, 6738, 41927, 292, 13, 75, 6962, 1330, 360, 1072, 11, 34872, 17, 35, 11, 5436, 27201, 278, 17, 35, 11, 14258, 448, 11, ...
2.296624
1,244
''' October 19th 2021. Kitty Tyree Olympics database design for cs257 in fall 2021 ''' import csv # MAP AN ATHLETE ID TO THE ATHLETE'S NAME # why are we only mapping athlete id to their name? because if they competed # in multiple games, their weight, and age and other body stats may have changed # I am not tying them to their sex either, I cannot be sure that # doesn't change across olympics. athletes = {} csv_file = open('athlete_events.csv') reader = csv.reader(csv_file) athletes_file = open('athletes.csv', 'w') writer = csv.writer(athletes_file) next(reader) for row in reader: athlete_id = row[0] #this is a string athlete_name = row[1] if athlete_id not in athletes: #Have I seen the athlete before? No? great! do the thing! athletes[athlete_id] = athlete_name #mapping ids to athlete names writer.writerow([athlete_id, athlete_name]) #saving in athletes.csv csv_file.close() athletes_file.close() # MAP AN EVENT TO A CREATED EVENT ID # why are we doing that? because we don't have event id's listed anywhere in # connection to the athletes, we just have the names of the events. # So to make it easier, make them accessable by name so we can later match # to the event and get the ID events = {} csv_file = open('athlete_events.csv') reader = csv.reader(csv_file) events_file = open('events.csv', 'w') writer = csv.writer(events_file) next(reader) id_counter = 1 for row in reader: event_name = row[13] if event_name not in events: #Have I seen the event before? No? great! do the thing! event_id = id_counter id_counter += 1 events[event_name] = event_id writer.writerow([event_id, event_name]) events_file.close() csv_file.close() # MAP A SPORT TO A CREATED SPORT ID sports = {} csv_file = open('athlete_events.csv') reader = csv.reader(csv_file) sports_file = open('sports.csv', 'w') writer = csv.writer(sports_file) next(reader) id_counter = 1 for row in reader: sport_name = row[12] if sport_name not in sports: #Have I seen the event before? No? great! do the thing! sport_id = id_counter id_counter += 1 sports[sport_name] = sport_id writer.writerow([sport_id, sport_name]) sports_file.close() csv_file.close() # MATCHING EVENTS TO THEIR SPORT events_sport = {} csv_file = open('athlete_events.csv') reader = csv.reader(csv_file) events_sport_file = open('events_sport.csv', 'w') writer = csv.writer(events_sport_file) next(reader) id_counter = 1 for row in reader: sport_name = row[12] sport_id = sports[sport_name] event_name = row[13] event_id = events[event_name] if event_id not in events_sport: #Have I seen the event before? No? great! do the thing! events_sport[event_id] = sport_id writer.writerow([event_id, sport_id]) events_sport_file.close() csv_file.close() # I want an olympic games file with identifying Ids # MAP A GAME TO A CREATED GAME ID games = {} csv_file = open('athlete_events.csv') reader = csv.reader(csv_file) games_file = open('games.csv', 'w') writer = csv.writer(games_file) next(reader) id_counter = 1 for row in reader: games_name = row[8] year = row[9] season = row[10] city = row[11] if games_name not in games: #Have I seen the games before? No? great! do the thing! games_id = id_counter id_counter += 1 games[games_name] = {"games_id":games_id, "year": year, "season": season, "city": city} writer.writerow([games_id, games_name, year, season, city]) games_file.close() csv_file.close() # MAP A TEAM NAME TO AN ID teams = {} csv_file = open('athlete_events.csv') reader = csv.reader(csv_file) teams_file = open('teams.csv', 'w') writer = csv.writer(teams_file) next(reader) id_counter = 1 for row in reader: team_name = row[6] if team_name not in teams: #Have I seen the team before? No? great! do the thing! team_id = id_counter id_counter += 1 teams[team_name] = team_id writer.writerow([team_id, team_name]) teams_file.close() csv_file.close() # MAP A NOC TO AN ID NOC_regions = {} csv_file = open('noc_regions_full.csv') reader = csv.reader(csv_file) NOC_regions_file = open('NOC_regions.csv', 'w') writer = csv.writer(NOC_regions_file) next(reader) id_counter = 1 for row in reader: NOC_abbr = row[0] NOC_full_name = row[1] if NOC_abbr not in NOC_regions: #Have I seen the team before? No? great! do the thing! NOC_id = id_counter id_counter += 1 NOC_regions[NOC_abbr] = {"noc_id": NOC_id, "noc_full_name": NOC_full_name} writer.writerow([NOC_id, NOC_abbr, NOC_full_name]) NOC_regions_file.close() csv_file.close() # MAP TEAM IDS TO NOC IDS team_NOC = {} csv_file = open('athlete_events.csv') reader = csv.reader(csv_file) team_NOC_file = open('teamNames_NOC.csv', 'w') writer = csv.writer(team_NOC_file) next(reader) for row in reader: team_name = row[6] team_id = teams[team_name] NOC_abbr = row[7] NOC_id = NOC_regions[NOC_abbr]["noc_id"] if team_id not in team_NOC: team_NOC[team_id] = NOC_id writer.writerow([team_id, NOC_id]) team_NOC_file.close() csv_file.close() # TIE ATHLETE IDS TO EVENT IDS AND THEIR MEDALS # For each row in the original athlete_events.csv file, build a row for # the event_results.csv table csv_file = open('athlete_events.csv') reader = csv.reader(csv_file) event_results_file = open('event_results.csv', 'w') writer = csv.writer(event_results_file) next(reader) for row in reader: athlete_id = row[0] event_name = row[13] event_id = events[event_name] # this goes into the events dictionary and retrieves the ID number games_name = row[8] games_id = games[games_name]["games_id"] medal = row[14] writer.writerow([athlete_id, games_id, event_id, medal]) event_results_file.close() csv_file.close() # I want a file that has the athlete stats at each olympic games # Includes athlete_id, games_id, team_id, athlete_sex, athlete-age, athlete_height, athlete_weight csv_file = open('athlete_events.csv') reader = csv.reader(csv_file) athlete_stats_file = open('athlete_stats.csv', 'w') writer = csv.writer(athlete_stats_file) next(reader) # I need it to only go if the athlete for that specific game has yet to be counted doubles_list=[] curr_athlete_id = 1 for row in reader: athlete_id = row[0] if athlete_id != curr_athlete_id: doubles_list.clear() curr_athlete_id = athlete_id athlete_sex = row[2] athlete_age = row[3] athlete_height = row[4] athlete_weight = row[5] team_name = row[6] team_id = teams[team_name] games_name = row[8] games_id = games[games_name]["games_id"] athlete_id_game_double = (athlete_id,games_id) if athlete_id_game_double not in doubles_list: writer.writerow([athlete_id, games_id, team_id, athlete_sex, athlete_age, athlete_height, athlete_weight]) doubles_list.append(athlete_id_game_double) athlete_stats_file.close() csv_file.close()
[ 7061, 6, 198, 220, 220, 220, 3267, 678, 400, 33448, 13, 198, 220, 220, 220, 21168, 7039, 631, 198, 220, 220, 220, 14935, 6831, 1486, 329, 50115, 28676, 287, 2121, 33448, 198, 7061, 6, 198, 198, 11748, 269, 21370, 198, 198, 2, 34645,...
2.552689
2,752
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: deepaffects-realtime.proto import sys from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database from google.protobuf import descriptor_pb2 _b = sys.version_info[0] < 3 and ( lambda x: x) or (lambda x: x.encode('latin1')) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( name='deepaffects-realtime.proto', package='deepaffectsrealtime', syntax='proto3', serialized_pb=_b('\n\x1a\x64\x65\x65paffects-realtime.proto\x12\x13\x64\x65\x65paffectsrealtime\"\xb3\x01\n\x0cSegmentChunk\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x12\x10\n\x08\x65ncoding\x18\x03 \x01(\t\x12\x14\n\x0clanguageCode\x18\x04 \x01(\t\x12\x12\n\nsampleRate\x18\x05 \x01(\x05\x12\x12\n\nspeakerIds\x18\x06 \x03(\t\x12\x15\n\rsegmentOffset\x18\x07 \x01(\x01\x12\x10\n\x08\x64uration\x18\x08 \x01(\x01\x12\r\n\x05\x45rror\x18\t \x01(\t\"j\n\x0eSegmentSpeaker\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x12\n\nspeaker_id\x18\x02 \x01(\t\x12\r\n\x05start\x18\x03 \x01(\x01\x12\x0b\n\x03\x65nd\x18\x04 \x01(\x01\x12\r\n\x05\x45rror\x18\x05 \x01(\t\x12\r\n\x05score\x18\x06 \x01(\x02\"g\n\x0eSegmentEmotion\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05start\x18\x02 \x01(\x01\x12\x0b\n\x03\x65nd\x18\x03 \x01(\x01\x12\x0f\n\x07\x65motion\x18\x04 \x01(\t\x12\r\n\x05\x45rror\x18\x05 \x01(\t\x12\r\n\x05score\x18\x06 \x01(\x01\"\x82\x01\n\x15SegmentDiarizeEmotion\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05start\x18\x02 \x01(\x01\x12\x0b\n\x03\x65nd\x18\x03 \x01(\x01\x12\x0f\n\x07\x65motion\x18\x04 \x01(\t\x12\x12\n\nspeaker_id\x18\x05 \x01(\t\x12\r\n\x05\x45rror\x18\x06 \x01(\t\x12\r\n\x05score\x18\x07 \x01(\x01\x32\xbe\x02\n\x13\x44\x65\x65pAffectsRealtime\x12_\n\x0fIdentifySpeaker\x12!.deepaffectsrealtime.SegmentChunk\x1a#.deepaffectsrealtime.SegmentSpeaker\"\x00(\x01\x30\x01\x12_\n\x0fIdentifyEmotion\x12!.deepaffectsrealtime.SegmentChunk\x1a#.deepaffectsrealtime.SegmentEmotion\"\x00(\x01\x30\x01\x12\x65\n\x0e\x44iarizeEmotion\x12!.deepaffectsrealtime.SegmentChunk\x1a*.deepaffectsrealtime.SegmentDiarizeEmotion\"\x00(\x01\x30\x01\x42;\n\x1cio.grpc.examples.deepaffectsB\x13\x44\x65\x65paffectsRealtimeP\x01\xa2\x02\x03\x44RIb\x06proto3') ) _SEGMENTCHUNK = _descriptor.Descriptor( name='SegmentChunk', full_name='deepaffectsrealtime.SegmentChunk', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='id', full_name='deepaffectsrealtime.SegmentChunk.id', index=0, number=1, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='content', full_name='deepaffectsrealtime.SegmentChunk.content', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='encoding', full_name='deepaffectsrealtime.SegmentChunk.encoding', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='languageCode', full_name='deepaffectsrealtime.SegmentChunk.languageCode', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='sampleRate', full_name='deepaffectsrealtime.SegmentChunk.sampleRate', index=4, number=5, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='speakerIds', full_name='deepaffectsrealtime.SegmentChunk.speakerIds', index=5, number=6, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='segmentOffset', full_name='deepaffectsrealtime.SegmentChunk.segmentOffset', index=6, number=7, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='duration', full_name='deepaffectsrealtime.SegmentChunk.duration', index=7, number=8, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='Error', full_name='deepaffectsrealtime.SegmentChunk.Error', index=8, number=9, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=52, serialized_end=231, ) _SEGMENTSPEAKER = _descriptor.Descriptor( name='SegmentSpeaker', full_name='deepaffectsrealtime.SegmentSpeaker', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='id', full_name='deepaffectsrealtime.SegmentSpeaker.id', index=0, number=1, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='speaker_id', full_name='deepaffectsrealtime.SegmentSpeaker.speaker_id', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='start', full_name='deepaffectsrealtime.SegmentSpeaker.start', index=2, number=3, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='end', full_name='deepaffectsrealtime.SegmentSpeaker.end', index=3, number=4, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='Error', full_name='deepaffectsrealtime.SegmentSpeaker.Error', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='score', full_name='deepaffectsrealtime.SegmentSpeaker.score', index=5, number=6, type=2, cpp_type=6, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=233, serialized_end=339, ) _SEGMENTEMOTION = _descriptor.Descriptor( name='SegmentEmotion', full_name='deepaffectsrealtime.SegmentEmotion', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='id', full_name='deepaffectsrealtime.SegmentEmotion.id', index=0, number=1, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='start', full_name='deepaffectsrealtime.SegmentEmotion.start', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='end', full_name='deepaffectsrealtime.SegmentEmotion.end', index=2, number=3, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='emotion', full_name='deepaffectsrealtime.SegmentEmotion.emotion', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='Error', full_name='deepaffectsrealtime.SegmentEmotion.Error', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='score', full_name='deepaffectsrealtime.SegmentEmotion.score', index=5, number=6, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=341, serialized_end=444, ) _SEGMENTDIARIZEEMOTION = _descriptor.Descriptor( name='SegmentDiarizeEmotion', full_name='deepaffectsrealtime.SegmentDiarizeEmotion', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='id', full_name='deepaffectsrealtime.SegmentDiarizeEmotion.id', index=0, number=1, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='start', full_name='deepaffectsrealtime.SegmentDiarizeEmotion.start', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='end', full_name='deepaffectsrealtime.SegmentDiarizeEmotion.end', index=2, number=3, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='emotion', full_name='deepaffectsrealtime.SegmentDiarizeEmotion.emotion', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='speaker_id', full_name='deepaffectsrealtime.SegmentDiarizeEmotion.speaker_id', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='Error', full_name='deepaffectsrealtime.SegmentDiarizeEmotion.Error', index=5, number=6, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='score', full_name='deepaffectsrealtime.SegmentDiarizeEmotion.score', index=6, number=7, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=447, serialized_end=577, ) DESCRIPTOR.message_types_by_name['SegmentChunk'] = _SEGMENTCHUNK DESCRIPTOR.message_types_by_name['SegmentSpeaker'] = _SEGMENTSPEAKER DESCRIPTOR.message_types_by_name['SegmentEmotion'] = _SEGMENTEMOTION DESCRIPTOR.message_types_by_name['SegmentDiarizeEmotion'] = _SEGMENTDIARIZEEMOTION _sym_db.RegisterFileDescriptor(DESCRIPTOR) SegmentChunk = _reflection.GeneratedProtocolMessageType('SegmentChunk', (_message.Message,), dict( DESCRIPTOR=_SEGMENTCHUNK, __module__='deepaffects_realtime_pb2' # @@protoc_insertion_point(class_scope:deepaffectsrealtime.SegmentChunk) )) _sym_db.RegisterMessage(SegmentChunk) SegmentSpeaker = _reflection.GeneratedProtocolMessageType('SegmentSpeaker', (_message.Message,), dict( DESCRIPTOR=_SEGMENTSPEAKER, __module__='deepaffects_realtime_pb2' # @@protoc_insertion_point(class_scope:deepaffectsrealtime.SegmentSpeaker) )) _sym_db.RegisterMessage(SegmentSpeaker) SegmentEmotion = _reflection.GeneratedProtocolMessageType('SegmentEmotion', (_message.Message,), dict( DESCRIPTOR=_SEGMENTEMOTION, __module__='deepaffects_realtime_pb2' # @@protoc_insertion_point(class_scope:deepaffectsrealtime.SegmentEmotion) )) _sym_db.RegisterMessage(SegmentEmotion) SegmentDiarizeEmotion = _reflection.GeneratedProtocolMessageType('SegmentDiarizeEmotion', (_message.Message,), dict( DESCRIPTOR=_SEGMENTDIARIZEEMOTION, __module__='deepaffects_realtime_pb2' # @@protoc_insertion_point(class_scope:deepaffectsrealtime.SegmentDiarizeEmotion) )) _sym_db.RegisterMessage(SegmentDiarizeEmotion) DESCRIPTOR.has_options = True DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b( '\n\034io.grpc.examples.deepaffectsB\023DeepaffectsRealtimeP\001\242\002\003DRI')) _DEEPAFFECTSREALTIME = _descriptor.ServiceDescriptor( name='DeepAffectsRealtime', full_name='deepaffectsrealtime.DeepAffectsRealtime', file=DESCRIPTOR, index=0, options=None, serialized_start=580, serialized_end=898, methods=[ _descriptor.MethodDescriptor( name='IdentifySpeaker', full_name='deepaffectsrealtime.DeepAffectsRealtime.IdentifySpeaker', index=0, containing_service=None, input_type=_SEGMENTCHUNK, output_type=_SEGMENTSPEAKER, options=None, ), _descriptor.MethodDescriptor( name='IdentifyEmotion', full_name='deepaffectsrealtime.DeepAffectsRealtime.IdentifyEmotion', index=1, containing_service=None, input_type=_SEGMENTCHUNK, output_type=_SEGMENTEMOTION, options=None, ), _descriptor.MethodDescriptor( name='DiarizeEmotion', full_name='deepaffectsrealtime.DeepAffectsRealtime.DiarizeEmotion', index=2, containing_service=None, input_type=_SEGMENTCHUNK, output_type=_SEGMENTDIARIZEEMOTION, options=None, ), ]) _sym_db.RegisterServiceDescriptor(_DEEPAFFECTSREALTIME) DESCRIPTOR.services_by_name['DeepAffectsRealtime'] = _DEEPAFFECTSREALTIME # @@protoc_insertion_point(module_scope)
[ 2, 2980, 515, 416, 262, 8435, 11876, 17050, 13, 220, 8410, 5626, 48483, 0, 198, 2, 2723, 25, 2769, 2001, 478, 82, 12, 5305, 2435, 13, 1676, 1462, 198, 198, 11748, 25064, 198, 6738, 23645, 13, 11235, 672, 3046, 1330, 43087, 355, 4808...
2.099236
9,029