content
stringlengths
7
1.05M
# -*- coding: utf-8 -*- """ Processing a list of power plants in Germany. SPDX-FileCopyrightText: 2016-2021 Uwe Krien <[email protected]> SPDX-License-Identifier: MIT """ __copyright__ = "Uwe Krien <[email protected]>" __license__ = "MIT" # from unittest.mock import MagicMock # from nose.tools import ok_, eq_ # import os # from deflex import scenario_tools, config as cfg # # # def clean_time_series(): # sc = scenario_tools.DeflexScenario(name="test", year=2014) # csv_path = os.path.join( # os.path.dirname(__file__), "data", "deflex_2014_de21_test_csv" # ) # sc.load_csv(csv_path) # # before cleaning # ok_(("DE05", "solar") in sc.table_collection["volatile_series"]) # ok_(("DE04", "district heating") in sc.table_collection["demand_series"]) # # sc.table_collection["volatile_source"].loc["DE05", "solar"] = 0 # sc.table_collection["demand_series"]["DE04", "district heating"] = 0 # basic_scenario.clean_time_series(sc.table_collection) # # # after cleaning # ok_(("DE05", "solar") not in sc.table_collection["volatile_series"]) # ok_( # ("DE04", "district heating") # not in sc.table_collection["demand_series"] # ) # # # def scenario_creation_main(): # sc = scenario_tools.DeflexScenario(name="test", year=2014) # csv_path = os.path.join( # os.path.dirname(__file__), "data", "deflex_2014_de21_test_csv" # ) # sc.load_csv(csv_path) # basic_scenario.create_scenario = MagicMock( # return_value=sc.table_collection # ) # cfg.tmp_set( # "paths", # "scenario", # os.path.join(os.path.expanduser("~"), "deflex_tmp_test_dir"), # ) # # fn = basic_scenario.create_basic_scenario(2014, "de21", only_out="csv") # ok_(fn.xls is None) # eq_( # fn.csv[-70:], # ( # "deflex_tmp_test_dir/deflex/2014/" # "deflex_2014_de21_heat_no-reg-merit_csv" # ), # ) # # fn = basic_scenario.create_basic_scenario(2014, "de21", only_out="xls") # ok_(fn.csv is None) # eq_( # fn.xls[-70:], # ( # "deflex_tmp_test_dir/deflex/2014/" # "deflex_2014_de21_heat_no-reg-merit.xls" # ), # ) # # fn = basic_scenario.create_basic_scenario( # 2014, "de21", csv_dir="fancy_csv", xls_name="fancy.xls" # ) # eq_(fn.xls[-41:], "deflex_tmp_test_dir/deflex/2014/fancy.xls") # eq_(fn.csv[-41:], "deflex_tmp_test_dir/deflex/2014/fancy_csv")
class Solution: """ @param t: the length of the flight @param dur: the length of movies @return: output the lengths of two movies """ def aerial_Movie(self, t, dur): t -= 30 dur.sort() left = 0 right = len(dur) - 1 longest = 0 longest_pair = None while left < right: summ = dur[left] + dur[right] if summ <= t: if summ > longest: longest = summ longest_pair = [dur[left], dur[right]] left += 1 else: right -= 1 return longest_pair
''' Source : https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock/ Author : Yuan Wang Date : 2018-06-02 /********************************************************************************** * * Say you have an array for which the ith element is the price of a given stock on day i. * * If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock), * design an algorithm to find the maximum profit. * *Time complexity : O(n). Only a single pass is needed. Space complexity : O(1). Only two variables are used. **********************************************************************************/ ''' def maxProfit(prices): """ :type prices: List[int] :rtype: int """ max_profit, min_price = 0, float('inf') for price in prices: min_price = min(min_price, price) profit = price - min_price max_profit = max(max_profit, profit) return max_profit def maxProfitB(prices): """ :type prices: List[int] :rtype: int """ maxCur=0 maxSoFar=0 for i in range(1,len(prices)): maxCur+=prices[i]-prices[i-1] maxCur=max(0,maxCur) maxSoFar=max(maxCur,maxSoFar) return maxSoFar print(maxProfitB([7,1,5,3,6,4]))
# 1. Escreva uma funcao que recebe como entrada as dimensoes M e N e o elemento E de preenchimento # e retorna uma lista de listas que corresponde a uma matriz MxN contendo o elemento e em todas # as posicoes. Exemplo: # >>> cria_matriz(2, 3, 0) # [[0, 0, 0], [0, 0, 0]] def f_preencheMatriz(m, n, el): matrizPreenchida = [] for lin in range(m): matrizPreenchida.append([]) for col in range(n): matrizPreenchida[lin].append(el) #fim for #fim for return matrizPreenchida #fim funcao def main(): m, n, el, matriz = 0, 0, 0, [] m = int(input("Informe a qtd de linhas da matriz: ")) n = int(input("Informe a qtd de colunas da matriz: ")) el = int(input("Informe o elemento a ser preenchido nas posicoes da matriz: ")) matriz = f_preencheMatriz(m, n, el) print(matriz) #fim main if __name__ == '__main__': main() #fim if
''' Python program to compute and print sum of two given integers (more than or equal to zero). If given integers or the sum have more than 80 digits, print "overflow". ''' print ("Input first integer:") x = int (input()) print ("Input second integer:") y = int (input()) if x >= 10 ** 80 or y >= 10 ** 80 or x + y >= 10 ** 80: print ("Overflow!") else : print ("Sum of the two integers: ", x + y)
### Caesar Cipher - Solution def caesarCipher(s, rot_count): for ch in range(len(s)): if s[ch].isalpha(): first_letter = 'A' if s[ch].isupper() else 'a' s[ch] = chr(ord(first_letter) + ((ord(s[ch]) - ord(first_letter) + rot_count) % 26)) print(*s, sep='') n = int(input()) s = list(input()[:n]) rot_count = int(input()) caesarCipher(s, rot_count)
# source: https://github.com/brownie-mix/upgrades-mix/blob/main/scripts/helpful_scripts.py def encode_function_data(*args, initializer=None): """Encodes the function call so we can work with an initializer. Args: initializer ([brownie.network.contract.ContractTx], optional): The initializer function we want to call. Example: `box.store`. Defaults to None. args (Any, optional): The arguments to pass to the initializer function Returns: [bytes]: Return the encoded bytes. """ if not len(args): args = b'' if initializer: return initializer.encode_input(*args) return b''
# atributos publicos, privados y protegidos class MiClase: def __init__(self): self.atributo_publico = "valor publico" self._atributo_protegido = "valor protegido" self.__atributo_privado = "valor privado" objeto1 = MiClase() # acceso a los atributos publicos print(objeto1.atributo_publico) # modificando atributos publicos objeto1.atributo_publico = "otro valor" print(objeto1.atributo_publico) # acceso a los atributos protegidos print(objeto1._atributo_protegido) # modificando atributo protegido objeto1._atributo_protegido = "otro nuevo valor" print(objeto1._atributo_protegido) # acceso a atributo privado try: print(objeto1.__atributo_privado) except AttributeError: print("No se puede acceder al atributo privado") # python convierte el atributo privado a: objeto._clase__atributo_privado print(objeto1._MiClase__atributo_privado) objeto1._MiClase__atributo_privado = "Nuevo valor privado" print(objeto1._MiClase__atributo_privado)
# Curso Python #004 - Manipulando Texto # As principais operações que vamos aprender são o Fatiamento de String, Análise com len(), count(), find(), transformações com replace(), upper(), lower(), capitalize(), title(), strip(), junção com join() #Primeira Parte #texto = str('Curso em Python') #print(texto[:15:2]) #Segunda Parte #texto = str('Curso em Video Python') #print(texto.upper().count('o')) #Terceiro Parte texto = str('Curso em Python') print(len(texto))
class Schemas: """ Class that contains DATABASE schema names. """ chemprop_schema = "sbox_rlougee_chemprop" dsstox_schema = "ro_20191118_dsstox" qsar_schema = "sbox_mshobair_qsar_snap" invitrodb_schema = "prod_internal_invitrodb_v3_3" information_schema = "information_schema"
# inheritance - 2 - normal methods class Person(): def details(self): print("Can have information specific to the person") class Student(Person): def details(self): super().details() print("Can have information specific to the student") s = Student() s.details()
# 255: '11111111' # 65536: '10000000000000000' # 16777215: '111111111111111111111111' d = 0 a = 8307757 while (d != a): c = d | 0x10000 d = 14070682 while True: d = (((d + (c & 0xFF)) & 0xFFFFFF) * 65899) & 0xFFFFFF if 256 > c: break c //= 256 print("Program halts")
""" # Definition for a Node. class Node: def __init__(self, val: int = 0, left: 'Node' = None, right: 'Node' = None, next: 'Node' = None): self.val = val self.left = left self.right = right self.next = next """ class Solution: def connect(self, root: 'Node') -> 'Node': if not root: return root prev = None q = deque([root]) while q: for _ in range(len(q)): n = q.popleft() if prev: prev.next = n prev = n if n.left: q.append(n.left) if n.right: q.append(n.right) prev = None return root
''' You may have noticed that the medals are ordered according to a lexicographic (dictionary) ordering: Bronze < Gold < Silver. However, you would prefer an ordering consistent with the Olympic rules: Bronze < Silver < Gold. You can achieve this using Categorical types. In this final exercise, after redefining the 'Medal' column of the DataFrame medals, you will repeat the area plot from the previous exercise to see the new ordering. ''' # Redefine 'Medal' as an ordered categorical medals.Medal = pd.Categorical(values = medals.Medal, categories=['Bronze', 'Silver', 'Gold'], ordered=True) # Create the DataFrame: usa usa = medals[medals.NOC == 'USA'] # Group usa by 'Edition', 'Medal', and 'Athlete' usa_medals_by_year = usa.groupby(['Edition', 'Medal'])['Athlete'].count() # Reshape usa_medals_by_year by unstacking usa_medals_by_year = usa_medals_by_year.unstack(level='Medal') # Create an area plot of usa_medals_by_year usa_medals_by_year.plot.area() plt.show()
class Node(object): def __init__(self, value): self.value = value self.next = None self.prev = None def __repr__(self): if not self: return '%s()' % (self.__class__.__name__,) return '%s(%r)' % (self.__class__.__name__, self.value) class BinaryNode(): def __init__(self, key): self.key = key self.left = None self.right = None
def getNextPowerof2(num): power = 1 while(power < num): power *= 2 return power def buildWalshTable(wTable, length, i1,i2, j1,j2, isComplement): if length == 2: if not isComplement: wTable[i1][j1] = 1 wTable[i1][j2] = 1 wTable[i2][j1] = 1 wTable[i2][j2] = -1 else: wTable[i1][j1] = -1 wTable[i1][j2] = -1 wTable[i2][j1] = -1 wTable[i2][j2] = 1 return midi = (i1+i2)//2 midj = (j1+j2)//2 buildWalshTable(wTable, length/2, i1, midi, j1, midj, isComplement) buildWalshTable(wTable, length/2, i1, midi, midj+1, j2, isComplement) buildWalshTable(wTable, length/2, midi+1, i2, j1, midj, isComplement) buildWalshTable(wTable, length/2, midi+1, i2, midj+1, j2, not isComplement) def getWalshTable(numberOfSender:int): num = getNextPowerof2(numberOfSender) wTable = [[0 for i in range(num)] for j in range(num)] if numberOfSender == 1: wTable = [[1]] return wTable buildWalshTable(wTable, num, 0, num - 1, 0, num - 1, False) return wTable
""" Number to Words """ UP_TO_TWENTY = ["", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten","Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen", "Nineteen"] TENS = ["", "", "Twenty", "Thirty", "Forty", "Fifty", "Sixty", "Seventy", "Eighty", "Ninety"] HUNDRED = 'Hundred' ZERO = "Zero" THOUSAND = "Thousand" MILLION = "Million" BILLION = "Billion" TRILLION = "Trillion" MINUS = "Minus" def up_to_100(n): words = [] if n >= 20: words.append(TENS[n // 10]) n = n % 10 words.append(UP_TO_TWENTY[n]) return words def up_to_1000(n, and_support=False): words = [] if n > 99: words.append(UP_TO_TWENTY[n // 100]) words.append(HUNDRED) n = n % 100 if n > 0: words += 'And' words += up_to_100(n) return words def triple_part(n, part, suffix, and_support=False): nn = (n // 10 ** part) % 1000 words = [] if nn > 0: words = up_to_1000(nn, and_support=and_support) words.append(suffix) return words def number_to_words(n, and_support=False): if n == 0: return ZERO words = [] if n < 0: words.append(MINUS) n = -n words += triple_part(n, 12, TRILLION, and_support=and_support) words += triple_part(n, 9, BILLION, and_support=and_support) words += triple_part(n, 6, MILLION, and_support=and_support) words += triple_part(n, 3, THOUSAND, and_support=and_support) words += triple_part(n, 0, "", and_support=and_support) result = ' '.join([w for w in words if w]) return result def euler_main(): total = 0 for i in range(1, 1001): s = number_to_words(i,and_support=True) total += sum(1 for ch in s if ch.isalpha()) return total def hacker_main(): t = int(input()) for _ in range(t): n = int(input()) result = number_to_words(n) print(result) print(number_to_words(101,and_support=True)) print(euler_main()) #print(number_to_words(104300513783)) # print(digits_sum(1000)) hacker_main()
""" An ordered symbol table implementation of key-value pairs using Binary Search Tree. """ class BinarySearchTreeST(object): """ Symbol table implementation using Binary Search Tree. The class represents an ordered symbol table of generic key-value pairs. A symbol table implements the associative array abstraction: when associating a value with a key that is already in the symbol table, the convention is to replace the old value with the new value. Setting the value associated with a key to None is equivalent to deleting the key from the symbol table. The implementation uses Binary Search Tree. """ #*************************** Nested Node Class ***************************# class Node(object): def __init__(self, key, value, size, height, left=None, right=None): self.key = key # the key self.value = value # the value associated with the key self.left = left # left subtree self.right = right # right subtree self.size = size # number of subtree rooted at this tree self.height = height # height of the subtree def __iter__(self): yield from self.left if self.left is not None else () yield self.key yield from self.right if self.right is not None else () #************************ End of Nested Node Class ***********************# def __init__(self): """ It initializes an ordered symbol table. """ self.root = None def is_empty(self): """ Check whether this symbol table is empty or not. """ return self.root is None def size(self): """ Return the number of key-value pairs in the symbol table. """ return self._size(self.root) def _size(self, x): """ Return the number of elements in the subtree. """ if x is None: return 0 else: return x.size def height(self): """ Computes the height of the Symbol Table. The convention is that the height of a empty subtree is -1 and subtree with one element is 0. Returns: the height of the tree. """ return self._height(self.root) def _height(self, x): """ Return the height of the given subtree. Args: x: the subtree """ if x is None: return -1 return 1 + max(self._height(x.left), self._height(x.right)) def get(self, key): """ Returns the value associated with given key or None if no such key. Args: key: the key of which value to be gotten Returns: value associated with the given key if the key is in the table and None if the key is not in the table. """ if key is None: raise ValueError("Can't search 'None' in the table") x = self._get(self.root, key) if x is None: return None return x.value def _get(self, x, key): """ Return the subtree associate with the given key. Args: x : the subtree key: the key with which a value is associated Returns: subtree corresponding to the given key if the key is in the tree and None if the key is not in the symbol table. """ if x is None: return None elif key < x.key: return self._get(x.left, key) elif key > x.key: return self._get(x.right, key) else: return x def contains(self, key): """ Check whether the symbol table contains the given key or not. Args: key: the key to check if it is in the table. Returns: True if the tree contains the given key or False otherwise. """ if key is None: raise ValueError("Can't search 'None'") return self.get(key) is not None def put(self, key, value): """ Inserts the key-value pair into the symbol table. It overwrites the old value with the new value if the key is already in the symbol table. If the value is None, this effectively deletes the key from the table. Args: key : the key to be inserted into the table value: value associated with the given key """ if key is None: raise ValueError("Can't insert 'None' in the table") if value is None: self._delete(self.root, key) return self.root = self._put(self.root, key, value) def _put(self, x, key, value): """ Add the given key-value pair in the subtree rooted at x. If the key is already in the tree, its value gets updated. Args: x : the subtree key : the key to be inserted into the symbol table. value: value associated with the given key """ if x is None: return self.Node(key, value, 1, 0) elif key < x.key: x.left = self._put(x.left, key, value) elif key > x.key: x.right = self._put(x.right, key, value) else: x.value = value return x x.size = 1 + self._size(x.left) + self._size(x.right) return x def delete(self, key): """ Remove the given key and associated value with it from the table. Args: key: the key to be removed """ if key is None: raise ValueError("Can't delete 'None' from the table") if not self.contains(key): return self.root = self._delete(self.root, key) def _delete(self, x, key): """ Remove the given key and associated value with it from the table. Args: x : the subtree key: the key to be removed from the tree Returns: The updated subtree """ if x is None: return elif key < x.key: x.left = self._delete(x.left, key) elif key > x.key: x.right = self._delete(x.right, key) else: if x.left is None: return x.right elif x.right is None: return x.left else: y = x x = self._min(y.right) x.right = self._delete_min(y.right) x.left = y.left x.size = 1 + self._size(x.left) + self._size(x.right) return x def delete_min(self): """ Removes the smallest key and its value from the table. """ if self.is_empty(): raise RuntimeError(" delete_min() is called on empty table") self.root = self._delete_min(self.root) def _delete_min(self, x): """ Delete the minimum key and its value from the table. Args: x: the subtree Returns: The updated subtree """ if x.left is None: return x.right x.left = self._delete_min(x.left) x.size = 1 + self._size(x.left) + self._size(x.right) return x def delete_max(self): """ Remove the largest key and its value from the symbol table. """ if self.is_empty(): return RuntimeError(" delete_max() is called on empty table") self.root = self._delete_max(self.root) def _delete_max(self, x): """ Remove the largest key and its value from the given subtree. Args: x: the subtree Returns: updated subtree (Node Object) """ if x.right is None: return x.right x.right = self._delete_max(x.right) x.size = 1 + self._size(x.left) + self._size(x.right) return x def max(self): """ Reutrns the largest key in the Symbol table. """ if self.is_empty(): return RuntimeError(" max() is called in empty table") return self._max(self.root) def _max(self, x): """ Reutrns the subtree with the largest key in the table. """ if x.right is None: return x else: return self._max(x.right) def min(self): """ Reutrns the smallest key in the Symbol table. """ if self.is_empty(): return RuntimeError(" min() is called in empty table") return self._min(self.root) def _min(self, x): """ Reutrns the subtree with the smallest key in the Symbol table. """ if x.left is None: return x else: return self._min(x.left) def floor(self, key): """ Returns the largest key less than or equal to the given key. Args: key: the key Returns: the largest key less than or equal to the given key. """ if key is None: raise ValueError("Can't search 'None' in the table") if self.is_empty(): raise RuntimeError(" floor(key) is called on empty table") x = self._floor(self.root, key) if x is None: return None return x.key def _floor(self, x, key): """ Returns the subtree with the largest key ≤ the given key. Args: x : the subtree key: the key Returns: subtree with the largest key less than or equal to the given key. """ if x is None: return None elif key == x.key: return x elif key < x.key: return self._floor(x.left, key) y = self._floor(x.right, key) if y is not None: return y else: return x def ceiling(self, key): """ Returns the smallest key greater than or equal to the given key. Args: key: the key Returns: the smallest key greater than or equal to the given key """ if key is None: raise ValueError("Can't search 'None' from the table") if self.is_empty(): raise RuntimeError("ceiling(key) is called on empty table") x = self._ceiling(self.root, key) if x is None: return None return x.key def _ceiling(self, x, key): """ Returns the subtree with the smallest key ≥ the given key. Args: x : the subtree key: the key Returns: subtree with the smallest key greater than or equal to given key. """ if x is None: return None if key == x.key: return x if key > x.key: return self._ceiling(x.right, key) y = self._ceiling(x.left, key) if y is not None: return y else: return x def select(self, k): """ Returns the kth smallest key in the symbol table. Args: K: the order statistic Returns: the kth smallest key in the table. """ if k < 0 or k >= self.size(): raise ValueError("k is out of range") x = self._select(self.root, k) return x.key def _select(self, x, k): """ Returns the subtree with the kth smallest key. Args: x: the subtree k: the kth smallest key in the subtree Returns: the subtree with the kth smallest key """ if x is None: return None elif k < self._size(x.left): return self._select(x.left, k) elif k > self._size(x.left): return self._select(x.right, (k - self._size(x.left))-1) else: return x def rank(self, key): """ Returns the number of keys in the table strictly less than key. Args: key: the key Returns: the number of keys in the table strictly less than key. """ if key is None: raise ValueError("key can't be 'None'") return self._rank(self.root, key) def _rank(self, x, key): """ Returns the number of keys in the subtree less than key. Args: x : the subtree key: the key Returns: the number of keys in the subtree less than key. """ if x is None: return 0 elif key < x.key: return self._rank(x.left, key) elif key > x.key: return 1 + self._size(x.left) + self._rank(x.right, key) else: return self._size(x.left) def keys(self): """ Returns all keys in the symbol table. Returns: an iterable containing all keys in the symbol table. """ if hasattr(self, "__iter__"): q = [] for key in self: q.append(key) return q else: return self.keys_inorder() def keys_inorder(self): """ Returns all keys in the table following the in-order traversal. Returns: an iterable containing all keys in the table. """ q = [] self._keys_inorder(self.root, q) return q def _keys_inorder(self, x, queue): """ Adds the keys to queue following an in-order traversal. Args: x : the subtree queue: the queue to hold the keys. """ if x is None: return self._keys_inorder(x.left, queue) queue.append(x.key) self._keys_inorder(x.right, queue) def keys_level_order(self): """ Returns all keys in the table following the in-order traversal. Returns: an iterable containing all keys in the table. """ q1 = [] if not self.is_empty(): q2 = [] q2.append(self.root) while len(q2) > 0: x = q2.pop(0) q1.append(x.key) if x.left is not None: q2.append(x.left) if x.right is not None: q2.append(x.right) return q1 def keys_inrange(self, low_key, high_key): """ Returns all keys in between low_key and high_key (exclusive). Args: low_key : the lowest key high_key: the highest key Returns: an iterable containing all keys in between low_key (inclusive) and high_key (exclusive). """ if low_key is None: raise ValueError("keys can't be 'None'") if high_key is None: raise ValueError("keys can't be 'None'") q = [] self._keys_inrange(self.root, q, low_key, high_key) return q def _keys_inrange(self, x, q, low_key, high_key): """ Returns all keys in between low_key and high_key as iterable. Args: x : the subtree queue : the queue to hold the keys low_key : the lowest key high_key: the highest key """ if x is None: return None if low_key < x.key: self._keys_inrange(x.left, q, low_key, high_key) if low_key == x.key and high_key >= x.key: q.append(x.key) if high_key > x.key: self._keys_inrange(x.right, q, low_key, high_key) def size_inrange(self, low_key, high_key): """ Returns the number of keys in in between low_key and high_key. Args: low_key : the lowest key high_key: the highest key Returns: the number of keys in between low_key (inclusive) and high_key (inclusive). """ if low_key is None: raise ValueError("keys can't be 'None'") if high_key is None: raise ValueError("keys can't be 'None'") if low_key > high_key: return 0 if self.contains(high_key): return self.rank(high_key) - self.rank(low_key) + 1 return self.rank(high_key) - self.rank(low_key) def checked(self): """ Check if all the representation invariants are consistent. Returns: True if all the representation invariants are consistent or False otherwise. """ if not self.is_BST(): print("Symmetric order not consistent") if not self.is_size_consistent(): print("Subtree counts not consistent") if not self.is_rank_consistent(): print("Ranks not consistent") return self.is_BST() and \ self.is_size_consistent() and \ self.is_rank_consistent() def is_BST(self): """ Check if the Binary Search Tree property of the ST is consistent. Returns: True if BST property is consistent or False otherwise. """ return self._is_BST(self.root, None, None) def _is_BST(self, x, parent1, parent2): """ Check if the BST property of the subtree (x) is consistent. Args: x: the subtree Returns: True if BST property of subtree is consistent or False otherwise. """ if x is None: return True if parent1 is not None and parent1 <= x.key: return False if parent2 is not None and parent2 >= x.key: return False return self._is_BST(x.left, x.key, parent2) and \ self._is_BST(x.right, parent1, x.key) def is_size_consistent(self): """ Check if the size of the ST is consistent. Returns: True if the size of the ST is consistent or False otherwise. """ return self._is_size_consistent(self.root) def _is_size_consistent(self, x): """ Check if the size of the subtree (x) is consistent. Args: x: the subtree Returns: True if the size of the subtree is consistent or False otherwise. """ if x is None: return True if self._size(x) != 1 + self._size(x.left) + self._size(x.right): return False return self._is_size_consistent(x.left) and \ self._is_size_consistent(x.right) def is_rank_consistent(self): """ Check if the rank of the ST is consistent. Returns: True if the rank of the ST is consistent or False otherwise. """ for i in range(self.size()): if i != self.rank(self.select(i)): return False for key in self.keys(): if key != self.select(self.rank(key)): return False return True def __len__(self): return self.size() def __setitem__(self, key, value): self.put(key, value) def __getitem__(self, key): return self.get(key) def __contains__(self, key): return self.contains(key) def __delitem__(self, key): self.delete(key) def __iter__(self): if self.root is not None: return iter(self.root) else: return iter([])
class Credential: """ Class that generates new instances of credentials. """ credential_list = [] # Empty credential list def __init__(self, account_name, account_user_name, account_password): """ __init__ method that helps us define properties for our objects. """ self.account_name = account_name self.account_user_name = account_user_name self.account_password = account_password def save_credential(self): ''' save_credential method saves credential objects into credential_list ''' Credential.credential_list.append(self) def delete_credential(self): ''' delete_credential method deletes a saved credential from the credential_list ''' Credential.credential_list.remove(self) @classmethod def find_account_name(cls,account_name): ''' Method that takes in an account_name and returns a credential that matches that account_name. ''' for credential in cls.credential_list: if credential.account_name == account_name: return credential @classmethod def credential_exist(cls,account_name): ''' Method that checks if a credential exists from the credential list. ''' for credential in cls.credential_list: if credential.account_name == account_name: return True return False @classmethod def display_credentials(cls): ''' method that returns the credential list ''' return cls.credential_list
# # 1021. Remove Outermost Parentheses # # Q: https://leetcode.com/problems/remove-outermost-parentheses/ # A: https://leetcode.com/problems/remove-outermost-parentheses/discuss/275804/Javascript-Python3-C%2B%2B-Stack-solutions # class Solution: def removeOuterParentheses(self, parens: str) -> str: s, x = [], [] for c in parens: if c == ')': s.pop() if len(s): x.append(c) if c == '(': s.append(c) return ''.join(x)
""" [2014-12-3] Challenge #191 [Intermediate] Space Probe. Alright Alright Alright. https://www.reddit.com/r/dailyprogrammer/comments/2o5tb7/2014123_challenge_191_intermediate_space_probe/ #Description: NASA has contracted you to program the AI of a new probe. This new probe must navigate space from a starting location to an end location. The probe will have to deal with Asteroids and Gravity Wells. Hopefully it can find the shortest path. #Map and Path: This challenge requires you to establish a random map for the challenge. Then you must navigate a probe from a starting location to an end location. #Map: You are given N -- you generate a NxN 2-D map (yes space is 3-D but for this challenge we are working in 2-D space) * 30% of the spots are "A" asteroids * 10% of the spots are "G" gravity wells (explained below) * 60% of the spots are "." empty space. When you generate the map you must figure out how many of each spaces is needed to fill the map. The map must then be randomly populated to hold the amount of Gravity Wells and Asteroids based on N and the above percentages. ## N and Obstacles As n changes so does the design of your random space map. Truncate the amount of obstacles and its always a min size of 1. (So say N is 11 so 121 spaces. At 10% for wells you need 12.1 or just 12 spots) N can be between 2 and 1000. To keep it simple you will assume every space is empty then populate the random Asteroids and Gravity wells (no need to compute the number of empty spaces - they will just be the ones not holding a gravity well or asteroid) ## Asteroids Probes cannot enter the space of an Asteroid. It will just be destroyed. ## Empty Spaces Probes can safely cross space by the empty spaces of space. Beware of gravity wells as described below. ## Gravity Wells Gravity wells are interesting. The Space itself is so dense it cannot be travelled in. The adjacent spaces of a Gravity well are too strong and cannot be travelled in. Therefore you might see this. . = empty space, G = gravity well ..... ..... ..G.. ..... ..... But due to the gravity you cannot pass (X = unsafe) ..... .XXX. .XGX. .XXX. ..... You might get Gravity wells next to each other. They do not effect each other but keep in mind the area around them will not be safe to travel in. ...... .XXXX. .XGGX. .XXXX. ...... #Probe Movement: Probes can move 8 directions. Up, down, left, right or any of the 4 adjacent corners. However there is no map wrapping. Say you are at the top of the map you cannot move up to appear on the bottom of the map. Probes cannot fold space. And for whatever reason we are contained to only the spots on the map even thou space is infinite in any direction. #Output: Must show the final Map and shortest safe route on the map. * . = empty space * S = start location * E = end location * G = gravity well * A = Asteroid * O = Path. If you fail to get to the end because of no valid path you must travel as far as you can and show the path. Note that the probe path was terminated early due to "No Complete Path" error. #Challenge Input: using (row, col) for coordinates in space. Find solutions for: * N = 10, start = (0,0) end = (9,9) * N = 10, start = (9, 0) end = (0, 9) * N= 50, start = (0,0) end = (49, 49) #Map Obstacle % I generated a bunch of maps and due to randomness you will get easy ones or hard ones. I suggest running your solutions many times to see your outcomes. If you find the solution is always very straight then I would increase your asteroid and gravity well percentages. Or if you never get a good route then decrease the obstacle percentages. #Challenge Theme Music: If you need inspiration for working on this solution listen to this in the background to help you. https://www.youtube.com/watch?v=4PL4kzsrVX8 Or https://www.youtube.com/watch?v=It4WxQ6dnn0 """ def main(): pass if __name__ == "__main__": main()
# QUESTION """ Given an array A[] of size n. The task is to find the largest element in it. Example 1: Input: n = 5 A[] = {1, 8, 7, 56, 90} Output: 90 Explanation: The largest element of given array is 90. Example 2: Input: n = 7 A[] = {1, 2, 0, 3, 2, 4, 5} Output: 5 Explanation: The largest element of given array is 5. Your Task: You don't need to read input or print anything. Your task is to complete the function largest() which takes the array A[] and its size n as inputs and returns the maximum element in the array. Expected Time Complexity: O(N) Expected Auxiliary Space: O(1) """ #SOLUTION #User function Template for python3 def largest( arr, n): max=arr[0] for i in range(n): if max>arr[i]: continue else: max=arr[i] return max #{ # Driver Code Starts #Initial Template for Python 3 def main(): T = int(input()) while(T > 0): n = int(input()) a = [int(x) for x in input().strip().split()] print(largest(a, n)) T -= 1 if __name__ == "__main__": main() # } Driver Code Ends
{'983ab651-eb86-4471-8361-c97a5015637e': ('eb86', 'gcpuujtn5ydu', 'SW3', 'Chelsea', ['Chelsea'], (51.491239, -0.16875000000000001)), '83f496df-fcc8-4dcf-8161-a60a75364cf2': ('fcc8', 'gcpuwf1xsv7d', 'SE26', 'Sydenham', ['Sydenham'], (51.428317999999997, -0.052663000000000001)), '31f90575-7945-4999-b3a7-5045bb860302': ('7945', 'gcpuwqsv468q', 'SE22', 'EastDulwich', ['East Dulwich'], (51.452593999999998, -0.070283999999999999)), 'bfbf3ae9-2de6-4121-ad2d-f0af56aead36': ('2de6', 'gcpuuxpu34wm', 'SW1', 'StJamess', ["St James's"], (51.499156999999997, -0.14311399999999999)), '84ef8a77-21b6-4ee7-aa1e-b6c3f46ec594': ('21b6', 'gcpv5skk61e3', 'W9', 'MaidaVale', ['Maida Vale'], (51.527990000000003, -0.191827)), '5e835e97-dc8c-4dd6-bccd-a10fd9a32cdf': ('dc8c', 'gcpucby83fj5', 'SW14', 'Mortlake', ['Mortlake'], (51.464134999999999, -0.26565)), 'ecba74ab-9924-4a75-9d35-3425360b24d3': ('9924', 'gcpvpyrfxbn9', 'E15', 'Stratford', ['Stratford'], (51.538668000000001, -1.9999999999999999e-06)), '2463521e-627b-4c8a-86a1-103dad37603c': ('627b', 'gcpuf7h3m8bj', 'SW13', 'Castelnau', ['Castelnau'], (51.476660000000003, -0.246613)), 'f4bb9dff-1053-417a-a2b5-e1e74f1dca87': ('1053', 'gcpvpkx3jc6n', 'E3', 'OldFord', ['Old Ford'], (51.528804999999998, -0.022752999999999999)), '51983070-a4a1-4d31-97cd-62ce2a116df1': ('a4a1', 'gcpuub2qphrv', 'SW4', 'ClaphamPark', ['Clapham Park'], (51.462387999999997, -0.14216799999999999)), 'e43e519e-a914-4d5a-80fc-5d12deef77d2': ('a914', 'u10hb99hf4mm', 'SE3', 'Kidbrooke', ['Kidbrooke'], (51.469028999999999, 0.023439000000000002)), '55425e98-f4ca-44e5-be77-fbda71da5f55': ('f4ca', 'gcputq019puc', 'SW2', 'StreathamHill', ['Streatham Hill'], (51.449274000000003, -0.1208)), 'd96fe7f2-efdb-4b54-9fb8-0820543c92f9': ('efdb', 'gcpvqf9kqcng', 'E5', 'LowerClapton', ['Lower Clapton'], (51.56232, -0.052915999999999998)), '60416efe-ad71-48de-8fcd-fb9d3b4b2836': ('ad71', 'gcpvmq7qde7j', 'N8', 'Hornsey', ['Hornsey'], (51.583317999999998, -0.116275)), 'd4783dc6-f280-4e70-8e0d-a67608cc5bda': ('f280', 'gcpvxzewnu5j', 'E4', 'SouthChingford', ['South Chingford'], (51.634048, -0.0058859999999999997)), '94fee5ec-dbd5-464c-9033-2e83c120e29f': ('dbd5', 'gcpuz4fnu72k', 'SE14', 'NewCrossGate', ['New Cross Gate'], (51.476244000000001, -0.041015999999999997)), 'ff3571f8-890c-44c7-9cea-a6060fb290de': ('890c', 'u10h9m8d8xf3', 'SE9', 'NewEltham', ['New Eltham'], (51.446699000000002, 0.055642999999999998)), '04df0845-7c22-4d09-93d5-5989d26a54fd': ('7c22', 'gcpvm30np125', 'N7', 'LowerHolloway', ['Lower Holloway'], (51.554381999999997, -0.120549)), '525a86a4-991f-47ed-b021-641420d4c0b3': ('991f', 'u10hceucd7v2', 'SE18', 'ShootersHill', ["Shooter's Hill"], (51.480837999999999, 0.072544999999999998)), '40cfb279-cb70-4c66-9e50-c9533b22ff1a': ('cb70', 'u10hbu3sg932', 'SE7', 'NewCharlton', ['New Charlton'], (51.484129000000003, 0.035171000000000001)), '6243716d-0acd-4367-8d44-ccf16a0380e8': ('0acd', 'u10hbh808hv5', 'SE10', 'Greenwich', ['Greenwich'], (51.484791999999999, 6.9999999999999999e-06)), '171c72b8-2ddf-411d-869a-614aff049e75': ('2ddf', 'gcpvj5wjvs5n', 'WC1', 'StPancras', ['St Pancras'], (51.524141999999998, -0.12335599999999999)), '34f8fa53-5797-457d-9683-82873b564bb9': ('5797', 'u10hftqqzu2f', 'SE2', 'AbbeyWood', ['Abbey Wood'], (51.489981999999998, 0.11878)), '0b1d9677-0d94-43d7-bf35-81fdbaaeb39b': ('0d94', 'gcpuy9ch3swp', 'SE15', 'Peckham', ['Peckham'], (51.470329, -0.064472000000000002)), '800a7f3a-5277-4aac-9890-6189235ebfbd': ('5277', 'gcpv1cqz2wb5', 'W3', 'SouthActon', ['South Acton'], (51.512053999999999, -0.26536700000000002)), '450d69a1-7298-45e4-9278-fb0b87ecb396': ('7298', 'gcpvh9fbt2jv', 'W1', 'Soho', ['Soho'], (51.513606000000003, -0.14979899999999999)), '72d89cc1-4467-4790-96f2-f1f2b99d99b5': ('4467', 'gcpuug5d4wcn', 'SW9', 'Stockwell', ['Stockwell'], (51.476821000000001, -0.137907)), '88f209f1-a4d5-4d7c-b444-0c521e89d420': ('a4d5', 'u10j2kh63fey', 'E11', 'Leytonstone', ['Leytonstone'], (51.570225000000001, 0.016903000000000001)), 'd0dd9e9e-5c2b-48c4-9621-03cbe5620a81': ('5c2b', 'gcpuw0246ymx', 'SE19', 'NorwoodNewTown', ['Norwood New Town'], (51.417810000000003, -0.087764999999999996)), '9c0eb702-fa19-48fe-a122-54c729bdf8ef': ('fa19', 'gcpuugpfm07m', 'SW8', 'SouthLambeth', ['South Lambeth'], (51.476829000000002, -0.13195999999999999)), 'f2aa6787-5a3c-4b00-9973-1339eb3e02bf': ('5a3c', 'gcpvtsuvsst1', 'N13', 'PalmersGreen', ['Palmers Green'], (51.618858000000003, -0.10314)), 'ba2f866f-d4ec-4f8e-a146-c24c51d48601': ('d4ec', 'gcpuz0j754c3', 'SE4', 'HonorOakPark', ['Honor Oak Park'], (51.460490999999998, -0.036604999999999999)), '730a4947-903f-4f87-95a6-3f43972cc52b': ('903f', 'gcpvjdrgghcv', 'EC4', 'StPauls', ["St Paul's"], (51.516936000000001, -0.099088999999999997)), '202ec7c8-ff91-49eb-b1b7-ec6f6960e4a6': ('ff91', 'gcpug6fvvvdp', 'SW6', 'SandsEnd', ['Sands End'], (51.476084999999998, -0.20471400000000001)), '21f228c9-53ae-4456-98c6-5d7f61b8a756': ('53ae', 'gcpv7t2z70tq', 'NW11', 'HampsteadGardenSuburb', ['Hampstead Garden Suburb'], (51.577939000000001, -0.19658800000000001)), 'fa6c4eaa-965b-400f-b69c-75461c88e37f': ('965b', 'gcpuwv5g2y8k', 'SE23', 'ForestHill', ['Forest Hill'], (51.444074999999998, -0.049749000000000002)), '0b5189f3-2a7d-4b18-85c3-6afb539817cd': ('2a7d', 'u10j884sxfer', 'E18', 'SouthWoodford', ['South Woodford'], (51.592584000000002, 0.025742999999999999)), '212e503d-ee81-4294-b88e-c80330c34a4f': ('ee81', 'gcpugu4kmehu', 'SW10', 'Chelsea', ['Chelsea'], (51.482680000000002, -0.18343499999999999)), '0814e592-837f-430c-ae1d-1f03ace83565': ('837f', 'gcpv11sqy0gp', 'W5', 'LittleEaling', ['Little Ealing'], (51.513309999999997, -0.30151899999999998)), 'd2f8c6d7-f6e8-4d48-a6c2-b6ddff4e0e99': ('f6e8', 'gcpuz7d45bzg', 'SE8', 'StJohns', ["St John's"], (51.479534999999998, -0.030041000000000002)), '83b92fd8-8943-42e8-a630-18a5d10750f3': ('8943', 'gcpve9e3w57f', 'N3', 'Finchley', ['Finchley'], (51.600312000000002, -0.19302800000000001)), 'fc6db129-b514-4019-ad15-8acdcc91d72b': ('b514', 'gcpvqnjp4k68', 'N15', 'SouthTottenham', ['South Tottenham'], (51.582034999999998, -0.080923999999999996)), 'c86f4d27-97f3-4d00-87f7-505c9514bdb0': ('97f3', 'gcpvq9xjqmtj', 'N6', 'Highgate', ['Highgate'], (51.557023000000001, -0.056030000000000003)), '128346f0-cc6d-49da-af42-41eb2f9aeb57': ('cc6d', 'gcpv48vch87m', 'W12', 'ShepherdsBush', ["Shepherd's Bush"], (51.508200000000002, -0.23360500000000001)), 'c1b0c4a2-e463-47c7-a87e-fd2f80f053b5': ('e463', 'gcpugx6z7e0j', 'W8', 'Kensington', ['Kensington'], (51.501047999999997, -0.193827)), '517df5a0-4beb-4960-b605-4924420852b8': ('4beb', 'gcpvpp61444j', 'E9', 'SouthHackney', ['South Hackney'], (51.543914999999998, -0.041110000000000001)), '6ac3107a-92b7-45b3-b928-0e8d585fb37f': ('92b7', 'gcpuqxhuk2ft', 'SE20', 'Penge', ['Penge'], (51.411256999999999, -0.059208999999999998)), '19c47730-6dee-43ea-af7d-adcbdd02eec9': ('6dee', 'gcpue38x3ktv', 'SW19', 'Southfields', ['Southfields'], (51.425525, -0.20799200000000001)), '4b9d261a-de5f-4ca7-8ed2-965490308a35': ('de5f', 'gcpv539sjgzc', 'W11', 'NottingHill', ['Notting Hill'], (51.512853, -0.206423)), '1ce75af5-caef-4cd2-83f0-536882c92706': ('caef', 'gcpuewe8s2jv', 'SW18', 'Earlsfield', ['Earlsfield'], (51.451808, -0.19275700000000001)), '9be7b8b6-30f8-4e04-abc1-e71af5566be2': ('30f8', 'u10j01qmsbp8', 'E16', 'Silvertown', ['Silvertown'], (51.511716999999997, 0.0087969999999999993)), '6c608fad-09ab-4ca1-ac71-c503796df5a8': ('09ab', 'gcpufvcjm9yk', 'W6', 'Hammersmith', ['Hammersmith'], (51.492457999999999, -0.22909499999999999)), '8afcb180-b06f-4d91-a053-0235286fa1e5': ('b06f', 'gcpvegyn7rnz', 'N12', 'NorthFinchley', ['North Finchley'], (51.613508000000003, -0.17837900000000001)), '1d3b7666-ee1d-4e40-b666-ef3bda16f8b6': ('ee1d', 'gcpuvmpr79rm', 'SE11', 'Lambeth', ['Lambeth'], (51.488678999999998, -0.110733)), 'f4875ab4-d771-46c1-ac49-69166cbdcfba': ('d771', 'gcpvhtqek3v4', 'NW1', 'SomersTown', ['Somers Town'], (51.533313, -0.14469299999999999)), '50c8042b-fec6-4b22-80eb-4e09cb00f185': ('fec6', 'gcpvk10mxy5j', 'NW3', 'SwissCottage', ['Swiss Cottage'], (51.554321999999999, -0.17510100000000001)), 'ead567a9-0edc-4cac-bdf4-c1917e7620bd': ('0edc', 'gcpvwjrtn3rv', 'N9', 'LowerEdmonton', ['Lower Edmonton'], (51.621502, -0.077312000000000006)), 'cd1a60cf-b122-4011-9496-bf2e0de91847': ('b122', 'gcpvjg9vyzt4', 'EC1', 'StLukes', ['St Lukes'], (51.524160000000002, -0.096176999999999999)), 'b79116a7-4a7f-4095-acbb-5599ce4cba67': ('4a7f', 'gcpuvvh5w2xu', 'SE17', 'Kennington', ['Kennington'], (51.488030999999999, -0.093104999999999993)), '5225659f-84df-4bb1-9fe5-df245e76df1f': ('84df', 'u10j0s4tw9bg', 'E13', 'Plaistow', ['Plaistow'], (51.526833000000003, 0.025686)), '5bd781bc-be2e-4f83-99f3-63ba3bd5ec6a': ('be2e', 'gcpvkpk9j61e', 'N2', 'HampsteadGardenSuburb', ['Hampstead Garden Suburb'], (51.587859999999999, -0.169374)), '186c888a-53e1-41aa-878e-94d3ab60625f': ('53e1', 'gcpvjfm0n5j0', 'EC3', 'Monument', ['Monument'], (51.516281999999997, -0.091745999999999994)), 'cfd7c10a-2aaa-4a53-ab76-fdef599a7568': ('2aaa', 'u10h8sugc59d', 'SE12', 'Lee', ['Lee'], (51.442771, 0.028541)), '1c58f914-c1f8-4439-8c39-cf11edc45c04': ('c1f8', 'gcpvmsj40epd', 'N4', 'StroudGreen', ['Stroud Green'], (51.570183999999998, -0.102965)), 'd014fffa-23d3-40ee-baef-b9ef5ef86f19': ('23d3', 'gcpudwnb9j9y', 'SW15', 'Roehampton', ['Roehampton'], (51.449091000000003, -0.23238400000000001)), '99d2e512-1679-4ed9-87ba-90bfb303adec': ('1679', 'u10j17ctvf9v', 'E6', 'EastHam', ['East Ham'], (51.525506999999998, 0.057241)), 'f064057e-56f1-4f30-bda0-ca35fd1b0275': ('56f1', 'gcpv035z084j', 'W7', 'Hanwell', ['Hanwell'], (51.510601999999999, -0.33540199999999998)), '57d92dfa-5afc-4b66-a69b-375048374bbc': ('5afc', 'gcpvre3p0my3', 'E10', 'Leyton', ['Leyton'], (51.566937000000003, -0.020580000000000001)), '8264e8b8-2888-40a3-9a4c-010cf12fbeb6': ('2888', 'gcpuywxvqy5n', 'SE16', 'SurreyQuays', ['Surrey Quays'], (51.496600999999998, -0.054981000000000002)), '428c88ee-09a3-457f-be28-1aa3093b1f72': ('09a3', 'gcpuvfk5wemz', 'SE5', 'Camberwell', ['Camberwell'], (51.472940000000001, -0.093096999999999999)), '67d104ca-2f95-4a8d-b3ce-1c42613e591f': ('2f95', 'gcpuvye9s9wv', 'SE1', 'Southwark', ['Southwark'], (51.495933000000001, -0.093867999999999993)), 'd39d0988-cefc-4d8f-8b72-64ed3881d4c2': ('cefc', 'gcpvrwfw78yu', 'E17', 'HighamHill', ['Higham Hill'], (51.586008, -0.018380000000000001)), 'd09d5605-f644-4155-ae45-5cf4a3303e74': ('f644', 'gcpvq68k4xkv', 'N16', 'StokeNewington', ['Stoke Newington'], (51.562311000000001, -0.076447000000000001)), '597632a0-8635-4c58-bded-10ab82f3d96f': ('8635', 'gcpvsu2fr2xx', 'N11', 'NewSouthgate', ['New Southgate'], (51.615532999999999, -0.14147100000000001)), '2bf2ef47-d531-4762-a6c1-582dd87b67dc': ('d531', 'gcpvjfgp1e36', 'EC2', 'Shoreditch', ['Shoreditch'], (51.520232, -0.094690999999999997)), '91e5f13b-d90e-4aa1-8050-4749ca54ec3d': ('d90e', 'gcpvmc0f6dqm', 'N5', 'Highbury', ['Highbury'], (51.553744000000002, -0.097730999999999998)), '5859f04d-a8a8-45ec-a368-bea08222c0d0': ('a8a8', 'gcput0fc803g', 'SW16', 'StreathamVale', ['Streatham Vale'], (51.420394999999999, -0.128057)), '0bc702d1-efc8-42bd-95d9-efd42fa7804a': ('efc8', 'gcpvdshzhj7k', 'NW7', 'MillHill', ['Mill Hill'], (51.615000000000002, -0.23499999999999999)), '4b5c4caa-33ea-4952-b972-7b7a8fb53660': ('33ea', 'gcpv5qz2vh66', 'NW6', 'SouthHampstead', ['South Hampstead'], (51.541136999999999, -0.19856599999999999)), '9aece44b-d117-492f-b33b-6208214eab2b': ('d117', 'gcpus4sq65c6', 'SW17', 'Summerstown', ['Summerstown'], (51.430841999999998, -0.16985700000000001)), '6f1f25f4-9c2d-4ea4-aedd-09e5b8e295ea': ('9c2d', 'gcpvvb3hsqec', 'N14', 'Southgate', ['Southgate'], (51.637923000000001, -0.097316)), '50e43d8d-96c1-476e-b218-54c85fab68db': ('96c1', 'gcpvj6cqvmuv', 'N1', 'Shoreditch', ['Shoreditch'], (51.520203000000002, -0.11890100000000001)), '799851e1-1570-4c9b-80d6-c9a451fa4ed7': ('1570', 'gcpv6zsbj7fe', 'NW4', 'Hendon', ['Hendon'], (51.589070999999997, -0.22396099999999999)), '4dd3a18e-8787-4723-be8b-4c4b4c0a8fd1': ('8787', 'gcpvhj0e7wbk', 'NW8', 'StJohnsWood', ["St John's Wood"], (51.531967000000002, -0.17494399999999999)), 'aa7bcc09-a080-4581-a1d0-5cf0aecae0f7': ('a080', 'gcpvndj2852y', 'E1', 'Stepney', ['Stepney'], (51.514997000000001, -0.058707000000000002)), '36ec9cff-ee6b-40e9-ae13-a69774c8d8ea': ('ee6b', 'gcpuqk88jj63', 'SE25', 'SouthNorwood', ['South Norwood'], (51.396818000000003, -0.075999999999999998)), 'be88118b-1e83-4961-b8c4-dc1f8649e932': ('1e83', 'gcpvs8tg6j2f', 'N10', 'MuswellHill', ['Muswell Hill'], (51.595129999999997, -0.14582500000000001)), 'a747f0a7-bba6-4eae-a659-8985281c5d6c': ('bba6', 'gcpvj1xc18kj', 'WC2', 'Strand', ['Strand'], (51.512320000000003, -0.12112299999999999)), '8166dc3b-15ac-4b59-a720-aaa7225a1ff0': ('15ac', 'gcpvje5vyfkq', 'W10', 'NorthKensington', ['North Kensington'], (51.521386, -0.104418)), '61645feb-3027-4428-b0c9-c42fee257c8c': ('3027', 'gcpvnrrch0g7', 'E8', 'Hackney', ['Hackney'], (51.543908000000002, -0.066085000000000005)), 'ec003925-2a7f-4351-917f-597d010d4528': ('2a7f', 'u10j30uqsn1g', 'E12', 'ManorPark', ['Manor Park'], (51.55312, 0.049956)), '55ff69b9-6d76-4ff6-9006-e0198d420bf3': ('6d76', 'gcpustk68s07', 'SW12', 'Balham', ['Balham'], (51.445306000000002, -0.14795)), '26161918-e6d0-4225-9f5c-0ee6579ebd17': ('e6d0', 'gcputwrmr4bq', 'SE24', 'HerneHill', ['Herne Hill'], (51.451264999999999, -0.099606)), '5afdd212-5851-4fc7-9b36-237c4cb94bb1': ('5851', 'gcpuwh8s43e6', 'SE21', 'Dulwich', ['Dulwich'], (51.441429999999997, -0.087103)), '4fc9354c-16d7-49e4-bf23-6ee8b6faa710': ('16d7', 'gcpuxz85b4np', 'SE13', 'Lewisham', ['Lewisham'], (51.45787, -0.010978)), 'a57f18e2-65e7-4472-aa70-cdc6ffb083e9': ('65e7', 'gcpu6y8eff8j', 'SW20', 'SouthWimbledon', ['South Wimbledon'], (51.408434, -0.229908)), '1ad1b8f1-c615-424a-90f7-4f92e885102b': ('c615', 'gcpuzxepvydq', 'E14', 'Poplar', ['Poplar'], (51.502526000000003, -0.017603000000000001)), '225dec1e-4b47-4f4b-8d3c-1b34e8cd355f': ('4b47', 'u10j0xuk6051', 'E7', 'ForestGate', ['Forest Gate'], (51.547207999999998, 0.027899)), 'f7a54813-2396-403d-b1e3-437937f094aa': ('2396', 'gcpv5cuzym7p', 'W2', 'Paddington', ['Paddington'], (51.514879000000001, -0.17997199999999999)), 'd8b3bf21-a2aa-4de2-92ba-542b1827882e': ('a2aa', 'gcpugtkw2hwj', 'SW5', 'EarlsCourt', ["Earl's Court"], (51.489897999999997, -0.19156599999999999)), 'b03a5366-3c31-4ec5-8c51-64195bf64f24': ('3c31', 'gcpv4pnxt9ch', 'NW10', 'Stonebridge', ['Stonebridge'], (51.543655999999999, -0.25450800000000001)), '5ae64e5d-fddb-4eb1-8025-ed1eb9b91be9': ('fddb', 'gcpvwknwtxb8', 'N18', 'Edmonton', ['Edmonton'], (51.614927000000002, -0.067740999999999996)), '0397f4fd-bfb5-4d8a-bd2e-0fbbb92e7c63': ('bfb5', 'gcpuu0ym1p5p', 'SW11', 'ClaphamJunction', ['Clapham Junction'], (51.464978000000002, -0.16715099999999999)), 'b60b7507-6cf3-4543-a38a-1ab5d5eadb68': ('6cf3', 'gcpvt3ucuyvd', 'N22', 'NoelPark', ['Noel Park'], (51.601747000000003, -0.11411499999999999)), 'f771fc64-ebc5-4c65-9982-d1bf0bf96daa': ('ebc5', 'gcpuxetvshmd', 'SE6', 'HitherGreen', ['Hither Green'], (51.436208999999998, -0.013897)), '5d1d956f-1209-4f4c-9bdc-335453e2a5cf': ('1209', 'gcpuun82bjd1', 'SW7', 'SouthKensington', ['South Kensington'], (51.495825000000004, -0.17543500000000001)), 'e2c32ded-1b66-4a40-97ae-2c6da262d753': ('1b66', 'gcpvnsshv31u', 'E2', 'Shoreditch', ['Shoreditch'], (51.529446999999998, -0.060197000000000001)), 'b94cb0a1-6dc6-4707-b57d-e36cbf912898': ('6dc6', 'gcpv6nfh9ne3', 'NW9', 'Kingsbury', ['Kingsbury'], (51.585737999999999, -0.260878)), 'ad2b3b27-53ff-4cc2-99b6-d5051d9f1d8f': ('53ff', 'gcpvk9pjf7mu', 'NW5', 'KentishTown', ['Kentish Town'], (51.554349999999999, -0.144091)), '418c1037-5ef2-42f2-9de3-8e02202b0859': ('5ef2', 'gcpvkfzee7gc', 'N19', 'DartmouthPark', ['Dartmouth Park'], (51.563578999999997, -0.132378)), '2260e8b8-7b09-4b58-a103-8f5d5bf5e924': ('7b09', 'gcpv6fj5cg01', 'NW2', 'Neasden', ['Neasden'], (51.559497999999998, -0.223771)), '55e97cec-6288-4bfb-86b0-1c942acbfd53': ('6288', 'gcpucvpmyk8q', 'W4', 'Chiswick', ['Chiswick'], (51.488439, -0.26443299999999997))}
"""Hackerrank Problems""" def staircase(n): """Print right justified staircase usings spaces and hashes""" for row in range(n): n_hashes = row + 1 n_spaces = n - n_hashes print(" " * n_spaces, end="") print("#" * n_hashes)
"""Specialized mobject base classes. Modules ======= .. autosummary:: :toctree: ../reference ~image_mobject ~point_cloud_mobject ~vectorized_mobject """
#print('\033[0;30;41mOlá mundo') #print('\033[4;33;44mOlá mundo') #print('\033[1;35;43mOlá mundo') #print('\033[30;42mOlá mundo') #print('\033[7;30mOlá mundo') #a = 5 #b = 5 #print('Os valores são \033[0;30;41m{} e \033[7;30m{}'.format(1, b)) #nome = 'Tiago' #print('Olá! Prazer em te conhecer {} {} {}!!!!'.format('\033[4;34m', nome, '\033[m')) nome = 'Tiago' cores = {'limpa':'\033[m', 'azul':'\033[34m', 'amarelo':'\033[33m', 'pretoebranco':'\033[7;30m'} print('Olá! Prazer em te conhecer {} {} {}!!!!'.format(cores['pretoebranco'], nome, cores['limpa']))
def mayor(a,b): if(a>b): print("a es mayor que b") mayor(4,3) mayor(0,-1) mayor(9,9)
class TextureType: PLAYER = 0 HOUSE_INTERIOR = 1 GROCERY_STORE_INTERIOR = 2 VEHICLE = 3 SINK = 4 SHOPPING_CART = 5 DOG = 6 FOOD = 7 SOAP = 8 HAND_SANITIZER = 9 TOILET_PAPER = 10 MASK = 11 PET_SUPPLIES = 12 AISLE = 13 DOOR = 14 HOUSE_EXTERIOR = 15 STORE_EXTERIOR = 16 SELF_CHECKOUT = 17 CLOSET = 18 CIVILIAN = 19 FUEL_DISPENSER = 20 ROAD = 21 SIDEWALK = 22 DRIVEWAY = 23 PARKING_LOT = 24 KITCHEN = 25 COUNTER = 26 BED = 27 DESK = 28 COMPUTER = 29 STOCKER = 30 GAS_STATION_INTERIOR = 31 GAS_STATION_EXTERIOR = 32 GROCERY_STORE_EXTERIOR = 33 SPLASH_SCREEN = 34 HOUSE_EXTERIOR_REAR = 35 GRASS = 36 MINI_MAP = 37 MAIN_MENU = 38 LOSE_SCREEN = 39 class LocationType: HOUSE = 0 GROCERY_STORE = 1 GAS_STATION = 2 HOUSE_REAR = 3 class ItemType: VEHICLE = 0 SINK = 1 SHOPPING_CART = 2 SUPPLY = 3 DOOR = 4 SELF_CHECKOUT = 5 CLOSET = 6 FUEL_DISPENSER = 7 KITCHEN = 8 BED = 9 COMPUTER = 10 class SupplyType: FOOD = 0 SOAP = 1 HAND_SANITIZER = 2 TOILET_PAPER = 3 PET_SUPPLIES = 4 MASK = 5 supply_strs = [ "food", "soap", "hand sanitizer", "toilet paper", "mask", "pet supplies" ] class CharacterType: PET = 0 SHOPPER = 1 STOCKER = 2 class PetType: DOG = 0 CAT = 1 class AisleType: GROCERIES = 0 TOILETRIES = 1 PET_SUPPLIES = 2 class InventoryType: BACKPACK = 0 SHOPPING_CART = 1 CLOSET = 2 class MapElementType: AISLE = 0 ROAD = 1 SIDEWALK = 2 DRIVEWAY = 3 PARKING_LOT = 4 COUNTER = 5 DESK = 6 class RoadType: SMALL = 0 MEDIUM = 1 LARGE = 2
mys1 = {1,2,3,4} mys2 = {1,2,3,4,5,6} print(mys2.issuperset(mys1)) # ISUP1 mys3 = {'a','b','c','d'} mys4 = {'d','w','f','g'} mys5 = {'a','b', 'c', 'd','v','w','x','z'} print(mys3.issuperset(mys4)) # ISUP2 print(mys4.issuperset(mys5)) # ISUP3 print(mys5.issuperset(mys3)) # ISUP4
fa=open('MGI_HGNC_homologene.rpt') L={} fa.readline() for line in fa: seq=line.rstrip().split('\t') try: l= abs(float(seq[11])-float(seq[12])) L[seq[1]]=l except Exception as e: pass fi=open('GSE109125_Gene_count_table.csv.uniq') fo=open('GSE109125_Gene_count_table.csv.uniq.rpk','w') fo.write(fi.readline()) for line in fi: seq=line.rstrip().split('\t') if seq[0] in L: l=L[seq[0]] fo.write(seq[0]) for one in seq[1:]: rpk=float(one)/l * 1000 fo.write('\t'+str(rpk)) fo.write('\n')
# # @lc app=leetcode id=215 lang=python3 # # [215] Kth Largest Element in an Array # # https://leetcode.com/problems/kth-largest-element-in-an-array/description/ # # algorithms # Medium (59.69%) # Likes: 6114 # Dislikes: 378 # Total Accepted: 944.8K # Total Submissions: 1.6M # Testcase Example: '[3,2,1,5,6,4]\n2' # # Given an integer array nums and an integer k, return the k^th largest element # in the array. # # Note that it is the k^th largest element in the sorted order, not the k^th # distinct element. # # # Example 1: # Input: nums = [3,2,1,5,6,4], k = 2 # Output: 5 # Example 2: # Input: nums = [3,2,3,1,2,4,5,5,6], k = 4 # Output: 4 # # # Constraints: # # # 1 <= k <= nums.length <= 10^4 # -10^4 <= nums[i] <= 10^4 # # # # @lc code=start class Solution: def findKthLargest(self, nums: List[int], k: int) -> int: nums.sort() return nums[-k] # @lc code=end
blog_list = [ {"date": "Dec 2018", "title": "Starcraft II A.I. Bot", "content": "Industria is a mixture of role-based A.I. with an deep learning decision process enhancement. While most of it's actions are scripted, it decides about an army composition.", "keywords": ['starcraft-ii','bot','artificial-intelligence','q-learning','reinforcement-learning'], "img": "https://user-images.githubusercontent.com/26208598/47260876-9d6ded00-d4bb-11e8-94bd-3d718231d34b.PNG", "link": "https://github.com/LukaszMalucha/Starcraf2-A.I.-Bot" }, {"date": "Feb 2019", "title": "Twitter Dashboard", "content": "Project Goal was to create fully functional interface for Twitter API. Flask App allows user to find out what is currently trending and extract data sample to MongoDB. " "Once data sample is extracted, next step is to pre-process it and load to SQL database. Final step is to apply " "Keras LSTM model on processed tweets to find out what's the dominating sentiment among conversation participants - positive, negative or neutral.", "keywords": [ 'twitter-api', 'mongodb', 'sentiment-analysis', 'flask', 'python', ], "img": "https://user-images.githubusercontent.com/26208598/48212361-5749d200-e373-11e8-9e1c-de0939c4b5b0.PNG", "link": "https://github.com/LukaszMalucha/Twitter-Flask" }, {"date": "Feb 2019", "title": "ML Library Project", "content": "Goal of the project is to create robust, fully-responsive, open-source URL platform where user will be " "able to find information about particular machine learning algorithm. Data will be easily accessible and in the compact form. " "It will be ML cheat sheet in a form of a website. Project will be stored on GitHub.", "keywords": [ 'html', 'css', 'bootstrap', 'material-design', ], "img": "https://user-images.githubusercontent.com/26208598/45377204-cfa14a80-b5f1-11e8-88a5-106b311f541f.JPG", "link": "https://github.com/LukaszMalucha/ML-Library" }, {"date": "Feb 2019", "title": "RestBank API", "content": "Django RESTful banking application for asset management. With integrated Token authorization and view permissions App allows bank customer safely interact with his Asset Portfolio. " "User can buy and sell financial instruments, top up his cash balance. It also allows bank staff members to create or delete available instruments and also update current price.", "keywords": [ 'django-rest -framework', 'python', 'banking', 'django' ], "img": "https://user-images.githubusercontent.com/26208598/53289476-45f3cc80-378e-11e9-8c19-36568d8f95ed.JPG", "link": "https://github.com/LukaszMalucha/RESTBank-App" }, {"date": "Mar 2019", "title": "Springboard Analytics", "content": "Django App that allows user to: Scrape and clean course data from Springboardcourses.ie. " "Visualize course data in order to get some useful insights. Apply machine learning apriori algorithm on gathered information. " "Extract course data from Django Postgres db with a handy RESTful Backend.", "keywords": [ 'django' 'data-preprocessing', 'rest-api', 'restful-api', 'rest', 'pandas', 'django-rest-framework' ], "img": "https://user-images.githubusercontent.com/26208598/53902093-57fc2780-4038-11e9-81db-517067de0c2f.jpg", "link": "https://github.com/LukaszMalucha/Springboard-Insights" }, {"date": "Mar 2019", "title": "Data Labs with Python & Tableau", "content": "What is a current value of you property? We'll determine most attractive investments in the area. " "Also we'll answer the question what's the ultimate toolbox for Data Science based on scraped Linkedin profiles.", "keywords": [ 'tableau', 'django', 'pandas', 'restful-api', 'machine-learning' ], "img": "https://user-images.githubusercontent.com/26208598/54075691-1f5b8880-429a-11e9-8919-baf9744a40b4.JPG", "link": "https://github.com/LukaszMalucha/Data-Labs-with-Python-Tableau" }, {"date": "Mar 2019", "title": "Project Management Dashboard", "content": "Project management Dashboard made with Django." " This Project is a simulation of work environment, " "where more traditional agile techniques are blended with key gamification concepts of 'reward' and 'role'. ", "keywords": [ 'django', 'agile', 'project-management', 'docker', 'postgresql', 'python', 'heroku', 'gamification', ], "img": "https://user-images.githubusercontent.com/26208598/54495673-ecd70e80-48dd-11e9-81b4-7c8634ed8a6a.JPG", "link": "https://github.com/LukaszMalucha/Project-Dashboard-with-Django" }, {"date": "Mar 2019", "title": "Twitter API Dashboard", "content": "Flask application hosting Twitter API. Main functionality allows user to find out what is currently trending and extract data sample to MongoDB. Once data sample is extracted, next step is to pre-process it and load to SQL database. " "Final step is to apply Keras LSTM model on processed tweets to find out what's the dominating sentiment among conversation participants - positive, negative or neutral.", "keywords": [ 'flask', 'twitter', 'sentiment-analysis', 'selenium', 'api', 'python', 'tweepy', ], "img": "https://user-images.githubusercontent.com/26208598/52292307-57ef0600-296c-11e9-872b-f8ccdf31c024.JPG", "link": "https://github.com/LukaszMalucha/Twitter-API-Dashboard" }, {"date": "Apr 2019", "title": "Geocoder IE", "content": "Coding Assignment. We received list of approx. " "3000 Irish addresses from one of our Customers. Our customer wants those addresses to be geocoded. " "Regarding accuracy they expect each geocode to be accurate at least at county level. ", "keywords": [ 'geocoder', 'dataset', 'pandas', 'geocode-data', 'flask', 'leafletjs', 'csv', 'rest-api', ], "img": "https://user-images.githubusercontent.com/26208598/55428834-e4d7c980-5581-11e9-991a-da9bf0a1a9f5.JPG", "link": "https://github.com/LukaszMalucha/Geocoder-IE" }, {"date": "Apr 2019", "title": "Flask Js Survey", "content": "It's hard to decide if you have so many different algorithms to your disposal. But with certain information given about analyzed dataset, " "we can narrow that choice to few best matches. Project is also an example of building connection between MongoDB database, " "Flask Backend, and jQuery frontend.", "keywords": [ 'algorithm', 'mongodb', 'flask', 'python', 'jquery', 'ajax', 'sqlite3', 'rest-api', ], "img": "https://user-images.githubusercontent.com/26208598/55672680-a568f000-5895-11e9-94d2-92aff7f8984a.JPG", "link": "https://github.com/LukaszMalucha/Flask-Js-Survey" }, {"date": "Apr 2019", "title": "Cat vs. Dog Image Classifier", "content": "Image classifier trained to distinct between cats and dogs images. " "Convolutional Neural Network was built with Keras & Tensorflow(GPU). Heroku-hosted web application was built with Flask framework. ", "keywords": [ 'image-classifier', 'flask', 'convolutional-neural-networks', 'gpu', 'tensorflow', 'numpy', ], "img": "https://user-images.githubusercontent.com/26208598/55568076-e24ab080-56f6-11e9-82e2-ed877c52ff6b.JPG", "link": "https://github.com/LukaszMalucha/Cat-vs.-Dog-Classifier" }, {"date": "Apr 2019", "title": "Digit Recognition with Keras", "content": "Hand-Written Digit Recognition based on MNIST Dataset. " "Convolutional Neural Network was built with Keras & Tensorflow(GPU). Heroku-hosted web application was built with Flask framework, Ajax & FileSaver. ", "keywords": [ 'digit-recognition', 'flask', 'dataset', 'mnist-dataset', 'convolutional-neural-networks', 'tensorflow', 'keras', 'jquery', 'ajax', ], "img": "https://user-images.githubusercontent.com/26208598/55821040-756b5800-5af4-11e9-9b8b-0d1f5455d17a.JPG", "link": "https://github.com/LukaszMalucha/Digit-Recognition" }, {"date": "Apr 2019", "title": "A.I. Sommelier", "content": "Can A.I. accurately predict red wine quality rating? Anyway, what is quality if not how wine taster's tongue precepts wine's chemical components?" "Let's try to answer that question with machine learning approach, where various classifier algorithms will try to discover all the patters in wine rating process. " "As a last part of a project, let's build some artificial sommeliers and let them handle real-world wine samples. Everything in a form of python flask application.", "keywords": [ 'classifier', 'flask', 'machine-learning', 'sklearn', 'pandas', 'wine-quality', 'xgboost', 'random-forest', ], "img": "https://user-images.githubusercontent.com/26208598/55909851-e41fe280-5bd4-11e9-9390-f34556a2f978.JPG", "link": "https://github.com/LukaszMalucha/Flask-Wine-Quality" }, {"date": "Apr 2019", "title": "Blockchain Environment Simulation", "content": "Flask App simulation of a Blockchain. Great for getting your head around basic concepts of a Technology: blockchain: " "Mining Block | Proof of Work | Hash | Validation Check | Blockchain Token ICO. " "Happy mining!", "keywords": [ 'blockchain', 'flask', 'solidity', 'jquery', 'ajax', 'bitcoin', 'mining', 'sqlite3', ], "img": "https://user-images.githubusercontent.com/26208598/56019047-94880680-5cfb-11e9-948a-8d84275c4f72.JPG", "link": "https://github.com/LukaszMalucha/Blockchain-Simulation" }, {"date": "Apr 2019", "title": "Pathfinder AI", "content": "Practical application of Q-Learning algorithm on pathfinding problem. " "Additionally, project includes algorithm that generate an array of all the possible moves in 8x8 grid, easily adjustable.", "keywords": [ 'artificial-intelligence', 'flask', 'q-learning', 'reinforcement-learning', 'numpy', 'algorithm', 'rest-api', 'jquery', 'ajax' ], "img": "https://user-images.githubusercontent.com/26208598/56038938-12afd180-5d2b-11e9-92ab-7faa8ff5e32d.JPG", "link": "https://github.com/LukaszMalucha/Pathfinder-AI" }, ]
def reduceBlue(picture, amount): for pixel in getPixels(picture): newBlue = getBlue(pixel) * amount setBlue(pixel, newBlue) repaint(picture) def swapRedBlue(picture): for pixel in getPixels(picture): swapBlue = getRed(pixel) swapRed = getBlue(pixel) setRed(pixel, swapRed) setBlue(pixel, swapBlue) repaint(picture) def makeSunset(picture): for pixel in getPixels(picture): setGreen(pixel, getGreen(pixel) * .6) setBlue(pixel, getBlue(pixel) * .6) repaint(picture) def makeNegative(picture): for pixel in getPixels(picture): newRed = 255 - getRed(pixel) newGreen = 255 - getGreen(pixel) newBlue = 255 - getBlue(pixel) newColor = makeColor(newRed, newGreen, newBlue) setColor(pixel, newColor) repaint(picture) def makeGrayscale(picture): for pixel in getPixels(picture): r = getRed(pixel) g = getGreen(pixel) b = getBlue(pixel) avg = (r + g + b) / 3 newColor = makeColor(avg, avg, avg) setColor(pixel, newColor) repaint(picture)
n, _ = input().split() n = int(n) l = [[] for i in range(n)] while True: try: a, b = input().split() a = int(a) b = int(b) l[a].append(b) except Exception as e: break for r in range(len(l)): for i in l[r]: print(r+1, i+1)
#!/usr/bin/python3 update_dictionary = __import__('7-update_dictionary').update_dictionary print_sorted_dictionary = __import__('6-print_sorted_dictionary').print_sorted_dictionary a_dictionary = { 'language': "C", 'number': 89, 'track': "Low level" } new_dict = update_dictionary(a_dictionary, 'language', "Python") print_sorted_dictionary(new_dict) print("--") print_sorted_dictionary(a_dictionary) print("--") print("--") new_dict = update_dictionary(a_dictionary, 'city', "San Francisco") print_sorted_dictionary(new_dict) print("--") print_sorted_dictionary(a_dictionary)
pumpvalues = [119.480003,119.699997,119.830002,119.900002,119.949997,119.980003,119.989998,120.0,120.0,120.0,120.0,120.010002,120.010002,120.010002,120.010002,120.010002,120.010002,120.010002,120.010002,120.0,119.989998,119.949997,119.900002,119.800003,119.629997,119.360001,118.949997,118.389999,117.68,116.889999,116.089996,115.349998,114.730003,114.25,113.900002,113.650002,113.489998,113.379997,113.309998,113.260002,113.230003,113.209999,113.199997,113.199997,113.190002,113.190002, 118.779999,119.279999,119.580002,119.760002,119.870003,119.93,119.959999,119.980003,119.989998,120.0,120.0,120.0,120.010002,120.010002,120.010002,120.010002,120.010002,120.010002,120.010002,120.010002,120.0,119.980003,119.949997,119.889999,119.790001,119.629997,119.379997,119.019997,118.580002,118.099998,117.610001,117.160004,116.790001,116.510002,116.309998,116.169998,116.080002,116.010002,115.980003,115.949997,115.93,115.919998,115.919998,115.910004,115.910004,115.910004, 117.349998,118.360001,119.019997,119.419998,119.669998,119.809998,119.900002,119.949997,119.970001,119.989998,120.0,120.0,120.0,120.0,120.010002,120.010002,120.010002,120.010002,120.010002,120.0,120.0,120.0,119.980003,119.949997,119.900002,119.809998,119.660004,119.449997,119.199997,118.910004,118.620003,118.370003,118.160004,118.0,117.879997,117.809998,117.75,117.720001,117.699997,117.68,117.669998,117.669998,117.669998,117.660004,117.660004,117.660004, 114.519997,116.489998,117.800003,118.660004,119.199997,119.540001,119.739998,119.860001,119.93,119.959999,119.989998,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.010002,120.0,120.010002,120.0,120.0,119.980003,119.959999,119.910004,119.839996,119.730003,119.580002,119.43,119.269997,119.129997,119.019997,118.93,118.870003,118.830002,118.800003,118.779999,118.769997,118.760002,118.760002,118.75,118.75,118.75,118.75,118.75, 109.309998,112.910004,115.389999,117.07,118.18,118.900002,119.349998,119.629997,119.800003,119.900002,119.949997,119.980003,119.989998,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,119.989998,119.970001,119.93,119.879997,119.809998,119.730003,119.650002,119.580002,119.529999,119.480003,119.449997,119.43,119.419998,119.410004,119.400002,119.400002,119.389999,119.389999,119.389999,119.389999,119.389999,119.389999, 100.339996,106.489998,110.900002,113.989998,116.120003,117.550003,118.489998,119.110001,119.489998,119.720001,119.849998,119.93,119.959999,119.989998,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,119.989998,119.980003,119.959999,119.93,119.889999,119.860001,119.830002,119.800003,119.779999,119.769997,119.75,119.75,119.739998,119.739998,119.739998,119.739998,119.739998,119.739998,119.739998,119.739998,119.739998, 85.866997,95.662003,103.010002,108.379997,112.199997,114.889999,116.720001,117.959999,118.769997,119.290001,119.610001,119.790001,119.900002,119.949997,119.980003,119.989998,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,119.989998,119.980003,119.970001,119.949997,119.940002,119.93,119.919998,119.919998,119.910004,119.910004,119.910004,119.910004,119.910004,119.910004,119.910004,119.910004,119.910004,119.910004,119.910004, 64.337997,78.625999,90.030998,98.758003,105.25,109.959999,113.309998,115.650002,117.260002,118.32,119.0,119.440002,119.690002,119.839996,119.93,119.970001,119.980003,119.989998,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,119.989998,119.989998,119.989998,119.980003,119.980003,119.980003,119.980003,119.980003,119.970001,119.970001,119.970001,119.970001,119.970001,119.970001,119.970001,119.970001,119.980003, 35.59,54.111,70.158997,83.304001,93.600998,101.389999,107.150002,111.32,114.260002,116.32,117.699997,118.629997,119.199997,119.559998,119.769997,119.879997,119.949997,119.980003,119.989998,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0, 2.0524,22.681,42.555,60.358002,75.347,87.371002,96.669998,103.650002,108.790001,112.489998,115.089996,116.879997,118.080002,118.870003,119.349998,119.650002,119.82,119.919998,119.959999,119.980003,119.989998,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0, -31.610001,-12.185,8.7734,29.719,49.147999,66.022003,79.918999,90.905998,99.316002,105.610001,110.190002,113.470001,115.769997,117.339996,118.370003,119.029999,119.459999,119.709999,119.839996,119.93,119.959999,119.989998,119.989998,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0, -60.794998,-45.25,-26.669001,-5.8685,15.744,36.556,55.254002,71.103996,83.932999,93.958,101.589996,107.230003,111.330002,114.25,116.279999,117.660004,118.559998,119.150002,119.510002,119.739998,119.860001,119.93,119.970001,119.989998,119.989998,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0, -83.192001,-72.330002,-58.290001,-40.959999,-20.837,0.91646,22.708,43.021999,60.799,75.577003,87.383003,96.521004,103.43,108.510002,112.190002,114.82,116.629997,117.860001,118.68,119.209999,119.540001,119.739998,119.860001,119.93,119.970001,119.980003,119.989998,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0,120.0, -98.944,-92.044998,-82.708,-70.338997,-54.591999,-35.632999,-14.328,7.904,29.438,48.959999,65.678001,79.360001,90.189003,98.512001,104.779999,109.389999,112.739998,115.129997,116.790001,117.93,118.690002,119.190002,119.510002,119.709999,119.830002,119.900002,119.940002,119.970001,119.980003,119.989998,119.989998,119.989998,119.989998,120.0,120.0,120.0,120.0,120.0,119.989998,120.0,120.0,120.0,120.0,120.0,120.0,120.0, -109.459999,-105.32,-99.608002,-91.738998,-81.073997,-67.108002,-49.728001,-29.437,-7.4079,14.809,35.691002,54.164001,69.714996,82.317001,92.220001,99.834,105.57,109.82,112.919998,115.150002,116.709999,117.809998,118.550003,119.050003,119.379997,119.589996,119.720001,119.809998,119.860001,119.889999,119.910004,119.93,119.940002,119.940002,119.940002,119.949997,119.949997,119.949997,119.949997,119.949997,119.949997,119.949997,119.949997,119.949997,119.949997,119.949997, -116.330002,-113.889999,-110.540001,-105.879997,-99.337997,-90.300003,-78.170998,-62.615002,-43.805,-22.594,-0.36559,21.319,41.169998,58.384998,72.710999,84.258003,93.336998,100.339996,105.639999,109.620003,112.550003,114.68,116.209999,117.300003,118.07,118.589996,118.949997,119.190002,119.349998,119.459999,119.529999,119.57,119.599998,119.620003,119.629997,119.639999,119.639999,119.650002,119.650002,119.650002,119.650002,119.650002,119.650002,119.650002,119.650002,119.650002, -120.800003,-119.349998,-117.410004,-114.730003,-110.940002,-105.550003,-97.970001,-87.579002,-73.906998,-56.862999,-36.973999,-15.381,6.4336,27.070999,45.522999,61.308998,74.362999,84.880997,93.185997,99.638,104.580002,108.339996,111.150002,113.230003,114.75,115.849998,116.639999,117.190002,117.559998,117.82,117.989998,118.099998,118.169998,118.220001,118.25,118.269997,118.279999,118.290001,118.290001,118.290001,118.300003,118.300003,118.300003,118.300003,118.300003,118.300003, -123.739998,-122.870003,-121.730003,-120.18,-118.019997,-114.93,-110.480003,-104.139999,-95.285004,-83.385002,-68.165001,-49.897999,-29.454,-8.1684,12.564,31.631001,48.367001,62.533001,74.206001,83.625,91.095001,96.943001,101.459999,104.900002,107.489998,109.410004,110.800003,111.779999,112.459999,112.919998,113.230003,113.43,113.559998,113.639999,113.699997,113.730003,113.75,113.769997,113.769997,113.779999,113.779999,113.790001,113.790001,113.790001,113.790001,113.790001, -125.739998,-125.18,-124.489998,-123.580002,-122.339996,-120.57,-118.019997,-114.309998,-108.949997,-101.370003,-90.998001,-77.475998,-60.887001,-41.888,-21.627001,-1.4352,17.542999,34.541,49.189999,61.450001,71.472,79.508003,85.833,90.724998,94.431,97.176003,99.156998,100.550003,101.5,102.139999,102.559998,102.839996,103.010002,103.120003,103.190002,103.239998,103.269997,103.290001,103.300003,103.300003,103.309998,103.309998,103.309998,103.309998,103.32,103.32, -127.139999,-126.760002,-126.32,-125.769997,-125.029999,-124.0,-122.519997,-120.370003,-117.209999,-112.589996,-105.989998,-96.842003,-84.754997,-69.703003,-52.191002,-33.219002,-14.018,4.2855,20.868,35.292999,47.424999,57.348999,65.255997,71.398003,76.041,79.452003,81.883003,83.568001,84.706001,85.459,85.950996,86.267998,86.471001,86.599998,86.681999,86.734001,86.766998,86.788002,86.800003,86.808998,86.814003,86.817001,86.82,86.820999,86.820999,86.821999, -128.169998,-127.889999,-127.589996,-127.239998,-126.779999,-126.160004,-125.290001,-124.010002,-122.129997,-119.349998,-115.25,-109.339996,-101.099998,-90.117996,-76.330002,-60.154999,-42.487,-24.476,-7.2115,8.4766,22.114,33.521999,42.740002,49.945,55.391998,59.375,62.194,64.132004,65.431999,66.287003,66.842003,67.198997,67.427002,67.571999,67.664001,67.722,67.759003,67.781998,67.796997,67.806,67.811996,67.815002,67.818001,67.82,67.82,67.820999, -128.970001,-128.75,-128.529999,-128.279999,-127.980003,-127.589996,-127.050003,-126.269997,-125.129997,-123.419998,-120.870003,-117.099998,-111.629997,-103.980003,-93.757004,-80.902,-65.796997,-49.283001,-32.450001,-16.348,-1.7805,10.776,21.139999,29.356001,35.619999,40.220001,43.481998,45.723999,47.228001,48.216999,48.859001,49.271,49.534,49.701,49.807999,49.875,49.917,49.944,49.960999,49.971001,49.978001,49.983002,49.985001,49.987,49.987999,49.988998, -129.630005,-129.440002,-129.25,-129.070007,-128.860001,-128.600006,-128.25,-127.760002,-127.029999,-125.959999,-124.330002,-121.900002,-118.279999,-113.029999,-105.68,-95.903999,-83.640999,-69.300003,-53.708,-37.917999,-22.933001,-9.5146,1.8967,11.152,18.334,23.677999,27.504999,30.157,31.944,33.124001,33.890999,34.384998,34.700001,34.901001,35.028999,35.109001,35.16,35.192001,35.213001,35.226002,35.234001,35.238998,35.242001,35.243999,35.245998,35.245998, -130.190002,-130.009995,-129.850006,-129.699997,-129.539993,-129.350006,-129.119995,-128.789993,-128.320007,-127.610001,-126.550003,-124.940002,-122.510002,-118.889999,-113.669998,-106.389999,-96.758003,-84.786003,-70.921997,-56.014999,-41.091,-27.107,-14.762,-4.437,3.7798,10.024,14.572,17.764999,19.938999,21.385,22.33,22.940001,23.330999,23.58,23.738001,23.837999,23.902,23.941999,23.966999,23.983,23.993,23.999001,24.003,24.006001,24.007,24.007999, -130.679993,-130.5,-130.350006,-130.220001,-130.089996,-129.949997,-129.779999,-129.559998,-129.229996,-128.759995,-128.039993,-126.940002,-125.279999,-122.760002,-119.019997,-113.639999,-106.220001,-96.487999,-84.553001,-70.934998,-56.512001,-42.303001,-29.204,-17.836,-8.4986,-1.211,4.2194,8.1023,10.785,12.588,13.775,14.546,15.041,15.358,15.559,15.686,15.767,15.818,15.85,15.871,15.884,15.892,15.897,15.9,15.902,15.903, -131.130005,-130.940002,-130.800003,-130.669998,-130.559998,-130.449997,-130.320007,-130.160004,-129.929993,-129.600006,-129.100006,-128.330002,-127.160004,-125.370003,-122.669998,-118.690002,-113.010002,-105.239998,-95.213997,-83.125,-69.583,-55.518002,-41.923,-29.625999,-19.157,-10.724,-4.267,0.45675,3.7806,6.0459,7.5532,8.5387,9.1751,9.5828,9.8424,10.007,10.112,10.178,10.22,10.246,10.263,10.273,10.28,10.284,10.287,10.288, -131.539993,-131.350006,-131.199997,-131.080002,-130.979996,-130.889999,-130.789993,-130.660004,-130.490005,-130.25,-129.889999,-129.339996,-128.5,-127.199997,-125.230003,-122.260002,-117.910004,-111.769997,-103.5,-93.014,-80.638,-67.082001,-53.314999,-40.296001,-28.768999,-19.156,-11.568,-5.8692,-1.7708,1.071,2.9861,4.2495,5.0705,5.5985,5.9359,6.1504,6.2865,6.3727,6.4271,6.4615,6.4832,6.4969,6.5056,6.5111,6.5145,6.5167, -131.929993,-131.720001,-131.570007,-131.460007,-131.360001,-131.270004,-131.190002,-131.089996,-130.960007,-130.779999,-130.520004,-130.119995,-129.5,-128.539993,-127.07,-124.830002,-121.489998,-116.650002,-109.910004,-100.989998,-89.934998,-77.198997,-63.606998,-50.146999,-37.727001,-26.981001,-18.216,-11.44,-6.4466,-2.9144,-0.49777,1.1145,2.1703,2.853,3.2907,3.5697,3.7469,3.8591,3.9301,3.975,4.0034,4.0212,4.0326,4.0397,4.0442,4.047, -132.289993,-132.070007,-131.919998,-131.800003,-131.699997,-131.630005,-131.550003,-131.470001,-131.369995,-131.240005,-131.039993,-130.729996,-130.270004,-129.550003,-128.440002,-126.730003,-124.150002,-120.330002,-114.860001,-107.360001,-97.681999,-85.989998,-72.894997,-59.313,-46.234001,-34.478001,-24.558001,-16.653,-10.672,-6.3464,-3.3347,-1.2991,0.046546,0.92228,1.4861,1.8465,2.0758,2.2212,2.3133,2.3715,2.4083,2.4315,2.4462,2.4554,2.4613,2.465, -132.630005,-132.410004,-132.240005,-132.119995,-132.029999,-131.949997,-131.880005,-131.809998,-131.729996,-131.630005,-131.470001,-131.240005,-130.889999,-130.339996,-129.479996,-128.160004,-126.139999,-123.110001,-118.68,-112.440002,-104.07,-93.540001,-81.195,-67.802002,-54.345001,-41.77,-30.781,-21.749001,-14.725,-9.5245,-5.8337,-3.3018,-1.6097,-0.50023,0.21777,0.67828,0.97192,1.1585,1.2767,1.3514,1.3987,1.4285,1.4474,1.4593,1.4668,1.4715, -132.970001,-132.720001,-132.550003,-132.419998,-132.330002,-132.25,-132.190002,-132.130005,-132.059998,-131.979996,-131.850006,-131.669998,-131.399994,-130.970001,-130.300003,-129.259995,-127.669998,-125.239998,-121.639999,-116.449997,-109.290001,-99.929001,-88.508003,-75.571999,-62.015999,-48.852001,-36.941002,-26.837999,-18.76,-12.634,-8.1959,-5.1023,-3.0097,-1.6257,-0.72468,-0.14446,0.22646,0.46247,0.61218,0.70697,0.7669,0.80476,0.82868,0.84377,0.8533,0.85932]
config = { # Fallback default used when a terminal width cannot be inferred. "display.fallback_width": 88, # Human-friendly line width for paragraphs. "display.text_width": 88, }
rooms = { 1 : { 'name' : '1. room', 'description': 'first room', 'completed': False}, 2 : { 'name' : '2. room', 'description': 'second room', 'completed': False}, 3 : { 'name' : '3. room', 'description': 'third room', 'completed': False} }
class Error(Exception): pass class ConcreateError(Error): pass
# # PySNMP MIB module CADANT-HW-MEAS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CADANT-HW-MEAS-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:28: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) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint") cadIf3CmtsCmUsStatusChIfIndex, = mibBuilder.importSymbols("CADANT-CMTS-IF3-MIB", "cadIf3CmtsCmUsStatusChIfIndex") cadIfMacDomainIfIndex, = mibBuilder.importSymbols("CADANT-CMTS-LAYER2CMTS-MIB", "cadIfMacDomainIfIndex") cadIfCmtsCmStatusMacAddress, = mibBuilder.importSymbols("CADANT-CMTS-MAC-MIB", "cadIfCmtsCmStatusMacAddress") cadEquipment, = mibBuilder.importSymbols("CADANT-PRODUCTS-MIB", "cadEquipment") CardId, CadIfDirection, PortId = mibBuilder.importSymbols("CADANT-TC", "CardId", "CadIfDirection", "PortId") TenthdB, = mibBuilder.importSymbols("DOCS-IF-MIB", "TenthdB") IfDirection, = mibBuilder.importSymbols("DOCS-QOS3-MIB", "IfDirection") docsSubmgt3FilterGrpEntry, = mibBuilder.importSymbols("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpEntry") ifIndex, InterfaceIndex = mibBuilder.importSymbols("IF-MIB", "ifIndex", "InterfaceIndex") pktcEScTapStreamIndex, pktcEScTapMediationContentId = mibBuilder.importSymbols("PKTC-ES-TAP-MIB", "pktcEScTapStreamIndex", "pktcEScTapMediationContentId") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") TimeTicks, MibIdentifier, Counter32, ObjectIdentity, ModuleIdentity, Counter64, NotificationType, Bits, Integer32, IpAddress, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "MibIdentifier", "Counter32", "ObjectIdentity", "ModuleIdentity", "Counter64", "NotificationType", "Bits", "Integer32", "IpAddress", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Unsigned32") TruthValue, DisplayString, TimeStamp, MacAddress, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "DisplayString", "TimeStamp", "MacAddress", "TextualConvention") cadHardwareMeasMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2)) cadHardwareMeasMib.setRevisions(('2015-08-27 00:00', '2015-07-13 00:00', '2015-06-03 00:00', '2014-10-14 00:00', '2014-06-13 00:00', '2014-06-04 00:00', '2013-11-22 00:00', '2012-10-30 00:00', '2012-05-09 00:00', '2011-08-31 00:00', '2011-06-29 00:00', '2011-02-28 00:00', '2011-02-24 00:00', '2011-02-18 00:00', '2010-11-22 00:00', '2010-03-09 00:00', '2008-11-24 00:00', '2008-11-21 00:00', '2008-11-05 00:00', '2008-04-24 00:00', '2006-09-14 00:00', '2006-04-14 00:00', '2005-07-13 00:00', '2004-12-10 00:00', '2004-08-31 00:00', '2004-04-09 00:00', '2004-03-09 00:00', '2004-02-23 00:00', '2004-02-18 00:00', '2004-02-15 00:00', '2004-01-24 00:00', '2003-12-18 00:00', '2003-12-10 00:00', '2003-09-19 00:00', '2003-08-26 00:00', '2003-07-30 00:00', '2002-05-06 00:00',)) if mibBuilder.loadTexts: cadHardwareMeasMib.setLastUpdated('201508270000Z') if mibBuilder.loadTexts: cadHardwareMeasMib.setOrganization('Arris International, Inc.') class DFIDIndex(TextualConvention, Unsigned32): status = 'current' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 4294967295) class PktClassId(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(1, 65535) class SFIDIndex(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(1, 2147483647) class UFIDIndex(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(1, 32768) class SIDValue(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 16384) class TMSide(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("tma", 1), ("tmb", 2)) cadantHWMeasGeneral = MibIdentifier((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 1)) cadantFabActualDepth = MibScalar((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantFabActualDepth.setStatus('current') cadantFabAvgDepth = MibScalar((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantFabAvgDepth.setStatus('current') cadantUPortMeasTable = MibTable((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3), ) if mibBuilder.loadTexts: cadantUPortMeasTable.setStatus('current') cadantUPortMeasEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1), ).setIndexNames((0, "CADANT-HW-MEAS-MIB", "cadantUPortMeasCardId"), (0, "CADANT-HW-MEAS-MIB", "cadantUPortMeasPortId")) if mibBuilder.loadTexts: cadantUPortMeasEntry.setStatus('current') cadantUPortMeasCardId = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 1), CardId()) if mibBuilder.loadTexts: cadantUPortMeasCardId.setStatus('current') cadantUPortMeasPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 2), PortId()) if mibBuilder.loadTexts: cadantUPortMeasPortId.setStatus('current') cadantUPortMeasUcastFrms = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasUcastFrms.setStatus('current') cadantUPortMeasMcastFrms = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasMcastFrms.setStatus('current') cadantUPortMeasBcastFrms = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasBcastFrms.setStatus('current') cadantUPortMeasUcastDataFrms = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasUcastDataFrms.setStatus('current') cadantUPortMeasMcastDataFrms = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasMcastDataFrms.setStatus('current') cadantUPortMeasBcastDataFrms = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasBcastDataFrms.setStatus('current') cadantUPortMeasDiscardFrms = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasDiscardFrms.setStatus('current') cadantUPortMeasIfInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasIfInOctets.setStatus('current') cadantUPortMeasIfInDataOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasIfInDataOctets.setStatus('current') cadantUPortMeasIfInUnknownProtos = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasIfInUnknownProtos.setStatus('current') cadantUPortMeasAppMinusBWReqFrms = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasAppMinusBWReqFrms.setStatus('current') cadantUPortMeasErroredFrms = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasErroredFrms.setStatus('current') cadantUPortMeasFilteredFrms = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasFilteredFrms.setStatus('current') cadantUPortMeasBcastReqOpps = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 17), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasBcastReqOpps.setStatus('current') cadantUPortMeasBcastReqColls = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 18), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasBcastReqColls.setStatus('current') cadantUPortMeasBcastReqNoEnergies = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 19), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasBcastReqNoEnergies.setStatus('current') cadantUPortMeasBcastReqRxPwr1s = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 20), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasBcastReqRxPwr1s.setStatus('current') cadantUPortMeasBcastReqRxPwr2s = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 21), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasBcastReqRxPwr2s.setStatus('current') cadantUPortMeasInitMaintOpps = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 22), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasInitMaintOpps.setStatus('current') cadantUPortMeasInitMaintColls = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 23), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasInitMaintColls.setStatus('current') cadantUPortMeasInitMaintNoEnergies = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 24), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasInitMaintNoEnergies.setStatus('current') cadantUPortMeasInitMaintRxPwr1s = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 25), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasInitMaintRxPwr1s.setStatus('current') cadantUPortMeasInitMaintRxPwr2s = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 3, 1, 26), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUPortMeasInitMaintRxPwr2s.setStatus('current') cadantDPortMeasTable = MibTable((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4), ) if mibBuilder.loadTexts: cadantDPortMeasTable.setStatus('current') cadantDPortMeasEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1), ).setIndexNames((0, "CADANT-HW-MEAS-MIB", "cadantDPortMeasCardId"), (0, "CADANT-HW-MEAS-MIB", "cadantDPortMeasPortId")) if mibBuilder.loadTexts: cadantDPortMeasEntry.setStatus('current') cadantDPortMeasCardId = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 1), CardId()) if mibBuilder.loadTexts: cadantDPortMeasCardId.setStatus('current') cadantDPortMeasPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 2), PortId()) if mibBuilder.loadTexts: cadantDPortMeasPortId.setStatus('current') cadantDPortMeasIfOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasIfOutOctets.setStatus('current') cadantDPortMeasIfOutUcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasIfOutUcastPkts.setStatus('current') cadantDPortMeasIfOutMcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasIfOutMcastPkts.setStatus('current') cadantDPortMeasIfOutBcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasIfOutBcastPkts.setStatus('current') cadantDPortMeasIfOutDataOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasIfOutDataOctets.setStatus('current') cadantDPortMeasIfOutUcastDataPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasIfOutUcastDataPkts.setStatus('current') cadantDPortMeasIfOutMcastDataPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasIfOutMcastDataPkts.setStatus('current') cadantDPortMeasIfOutBcastDataPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasIfOutBcastDataPkts.setStatus('current') cadantDPortMeasGotNoDMACs = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasGotNoDMACs.setStatus('current') cadantDPortMeasGotNoClasses = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasGotNoClasses.setStatus('current') cadantDPortMeasSyncPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasSyncPkts.setStatus('current') cadantDPortMeasAppUcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasAppUcastPkts.setStatus('current') cadantDPortMeasAppMcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasAppMcastPkts.setStatus('current') cadantDPortMeasIfOutTotalOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasIfOutTotalOctets.setStatus('current') cadantDPortMeasOfdmIfSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 17), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasOfdmIfSpeed.setStatus('current') cadantDPortMeasOfdmHighestAvgBitsPerSubc = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 18), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasOfdmHighestAvgBitsPerSubc.setStatus('current') cadantDPortMeasOfdmNumDataSubc = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 19), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasOfdmNumDataSubc.setStatus('current') cadantDPortMeasOfdmChanUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 4, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('percent').setMaxAccess("readonly") if mibBuilder.loadTexts: cadantDPortMeasOfdmChanUtilization.setStatus('current') cadantUFIDMeasTable = MibTable((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6), ) if mibBuilder.loadTexts: cadantUFIDMeasTable.setStatus('current') cadantUFIDMeasEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "CADANT-HW-MEAS-MIB", "cadantUFIDMeasSID")) if mibBuilder.loadTexts: cadantUFIDMeasEntry.setStatus('current') cadantUFIDMeasSID = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 3), SIDValue()) if mibBuilder.loadTexts: cadantUFIDMeasSID.setStatus('current') cadantUFIDMeasPktsSGreedyDrop = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasPktsSGreedyDrop.setStatus('current') cadantUFIDMeasBytsOtherDrop = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasBytsOtherDrop.setStatus('current') cadantUFIDMeasBytsArrived = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasBytsArrived.setStatus('current') cadantUFIDMeasPktsArrived = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasPktsArrived.setStatus('current') cadantUFIDMeasSIDCorrecteds = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDCorrecteds.setStatus('current') cadantUFIDMeasSIDUnerroreds = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDUnerroreds.setStatus('current') cadantUFIDMeasSIDUnCorrecteds = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDUnCorrecteds.setStatus('current') cadantUFIDMeasSIDNoUniqueWordDetecteds = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDNoUniqueWordDetecteds.setStatus('current') cadantUFIDMeasSIDCollidedBursts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDCollidedBursts.setStatus('current') cadantUFIDMeasSIDNoEnergyDetecteds = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDNoEnergyDetecteds.setStatus('current') cadantUFIDMeasSIDLengthErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDLengthErrors.setStatus('current') cadantUFIDMeasSIDMACErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDMACErrors.setStatus('current') cadantUFIDMeasMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 17), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasMacAddress.setStatus('current') cadantUFIDMeasSCN = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 18), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSCN.setStatus('current') cadantUFIDMeasSFID = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 19), SFIDIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSFID.setStatus('current') cadantUFIDMeasPHSUnknowns = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 20), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasPHSUnknowns.setStatus('current') cadantUFIDMeasFragPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 21), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasFragPkts.setStatus('current') cadantUFIDMeasIncompletePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 22), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasIncompletePkts.setStatus('current') cadantUFIDMeasConcatBursts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 23), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasConcatBursts.setStatus('current') cadantUFIDMeasSIDSignalNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 24), TenthdB()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDSignalNoise.setStatus('current') cadantUFIDMeasSIDMicroreflections = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 25), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDMicroreflections.setStatus('current') cadantUFIDMeasSIDHCSErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 26), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDHCSErrors.setStatus('current') cadantUFIDMeasSIDCRCErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 27), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDCRCErrors.setStatus('current') cadantUFIDMeasUFIDIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 28), UFIDIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasUFIDIndex.setStatus('current') cadantUFIDMeasGateID = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 29), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasGateID.setStatus('current') cadantUFIDMeasSIDMacIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 30), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDMacIfIndex.setStatus('current') cadantUFIDMeasSIDBonded = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 31), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasSIDBonded.setStatus('current') cadantUFIDMeasCcfStatsSgmtValids = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 32), Counter32()).setUnits('segments').setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasCcfStatsSgmtValids.setStatus('current') cadantUFIDMeasCcfStatsSgmtLost = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 33), Counter32()).setUnits('segments').setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasCcfStatsSgmtLost.setStatus('current') cadantUFIDMeasCcfStatsSgmtDrop = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 6, 1, 34), Counter32()).setUnits('segments').setMaxAccess("readonly") if mibBuilder.loadTexts: cadantUFIDMeasCcfStatsSgmtDrop.setStatus('current') cadantEtherPhyMeasTable = MibTable((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10), ) if mibBuilder.loadTexts: cadantEtherPhyMeasTable.setStatus('current') cadantEtherPhyMeasEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1), ).setIndexNames((0, "CADANT-HW-MEAS-MIB", "cadantEtherPhyMeasCardId"), (0, "CADANT-HW-MEAS-MIB", "cadantEtherPhyMeasPortId")) if mibBuilder.loadTexts: cadantEtherPhyMeasEntry.setStatus('current') cadantEtherPhyMeasCardId = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 1), CardId()) if mibBuilder.loadTexts: cadantEtherPhyMeasCardId.setStatus('current') cadantEtherPhyMeasPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 2), PortId()) if mibBuilder.loadTexts: cadantEtherPhyMeasPortId.setStatus('current') cadantEtherPhyMeasRxOctOK = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxOctOK.setStatus('current') cadantEtherPhyMeasRxUniOK = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxUniOK.setStatus('current') cadantEtherPhyMeasRxMultiOK = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxMultiOK.setStatus('current') cadantEtherPhyMeasRxBroadOK = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxBroadOK.setStatus('current') cadantEtherPhyMeasRxOverflow = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxOverflow.setStatus('current') cadantEtherPhyMeasRxNormAlign = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxNormAlign.setStatus('current') cadantEtherPhyMeasRxNormCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxNormCRC.setStatus('current') cadantEtherPhyMeasRxLongOK = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxLongOK.setStatus('current') cadantEtherPhyMeasRxLongCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxLongCRC.setStatus('current') cadantEtherPhyMeasRxFalsCRS = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxFalsCRS.setStatus('current') cadantEtherPhyMeasRxSymbolErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxSymbolErrors.setStatus('current') cadantEtherPhyMeasRxPause = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxPause.setStatus('current') cadantEtherPhyMeasTxOctOK = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasTxOctOK.setStatus('current') cadantEtherPhyMeasTxUniOK = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasTxUniOK.setStatus('current') cadantEtherPhyMeasTxMultiOK = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 17), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasTxMultiOK.setStatus('current') cadantEtherPhyMeasTxBroadOK = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 18), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasTxBroadOK.setStatus('current') cadantEtherPhyMeasTxScol = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 19), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasTxScol.setStatus('current') cadantEtherPhyMeasTxMcol = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 20), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasTxMcol.setStatus('current') cadantEtherPhyMeasTxDeferred = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 21), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasTxDeferred.setStatus('current') cadantEtherPhyMeasTxLcol = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 22), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasTxLcol.setStatus('current') cadantEtherPhyMeasTxCcol = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 23), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasTxCcol.setStatus('current') cadantEtherPhyMeasTxErr = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 24), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasTxErr.setStatus('current') cadantEtherPhyMeasTxPause = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 25), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasTxPause.setStatus('current') cadantEtherPhyMeasRxShortOK = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 26), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxShortOK.setStatus('current') cadantEtherPhyMeasRxShortCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 27), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxShortCRC.setStatus('current') cadantEtherPhyMeasRxRunt = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 28), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxRunt.setStatus('current') cadantEtherPhyMeasRxOctBad = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 10, 1, 29), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadantEtherPhyMeasRxOctBad.setStatus('current') cadDFIDMeasTable = MibTable((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14), ) if mibBuilder.loadTexts: cadDFIDMeasTable.setStatus('current') cadDFIDMeasEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "CADANT-HW-MEAS-MIB", "cadDFIDMeasIndex")) if mibBuilder.loadTexts: cadDFIDMeasEntry.setStatus('current') cadDFIDMeasIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14, 1, 3), SFIDIndex()) if mibBuilder.loadTexts: cadDFIDMeasIndex.setStatus('current') cadDFIDMeasBytsArrived = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDFIDMeasBytsArrived.setStatus('current') cadDFIDMeasPktsArrived = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDFIDMeasPktsArrived.setStatus('current') cadDFIDMeasBytsDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDFIDMeasBytsDropped.setStatus('current') cadDFIDMeasPktsDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDFIDMeasPktsDropped.setStatus('current') cadDFIDMeasBytsUnkDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDFIDMeasBytsUnkDropped.setStatus('current') cadDFIDMeasDFID = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14, 1, 9), DFIDIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDFIDMeasDFID.setStatus('current') cadDFIDMeasPHSUnknowns = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDFIDMeasPHSUnknowns.setStatus('current') cadDFIDMeasMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14, 1, 11), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDFIDMeasMacAddress.setStatus('current') cadDFIDMeasSCN = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14, 1, 12), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDFIDMeasSCN.setStatus('current') cadDFIDMeasPolicedDelayPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDFIDMeasPolicedDelayPkts.setStatus('current') cadDFIDMeasGateID = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 14, 1, 14), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDFIDMeasGateID.setStatus('current') cadQosPktClassMeasTable = MibTable((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 16), ) if mibBuilder.loadTexts: cadQosPktClassMeasTable.setStatus('current') cadQosPktClassMeasEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 16, 1), ).setIndexNames((0, "CADANT-HW-MEAS-MIB", "cadQosPktClassMeasIfIndex"), (0, "CADANT-HW-MEAS-MIB", "cadQosPktClassMeasSFID"), (0, "CADANT-HW-MEAS-MIB", "cadQosPktClassMeasPktClassId")) if mibBuilder.loadTexts: cadQosPktClassMeasEntry.setStatus('current') cadQosPktClassMeasIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 16, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: cadQosPktClassMeasIfIndex.setStatus('current') cadQosPktClassMeasSFID = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 16, 1, 2), SFIDIndex()) if mibBuilder.loadTexts: cadQosPktClassMeasSFID.setStatus('current') cadQosPktClassMeasPktClassId = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 16, 1, 3), PktClassId()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadQosPktClassMeasPktClassId.setStatus('current') cadQosPktClassMeasPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 16, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadQosPktClassMeasPkts.setStatus('current') cadIfMeasTable = MibTable((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18), ) if mibBuilder.loadTexts: cadIfMeasTable.setStatus('current') cadIfMeasEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: cadIfMeasEntry.setStatus('current') cadIfInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1, 1), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadIfInOctets.setStatus('current') cadIfInUcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadIfInUcastPkts.setStatus('current') cadIfInMulticastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadIfInMulticastPkts.setStatus('current') cadIfInBroadcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadIfInBroadcastPkts.setStatus('current') cadIfInDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadIfInDiscards.setStatus('current') cadIfInErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadIfInErrors.setStatus('current') cadIfInUnknownProtos = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadIfInUnknownProtos.setStatus('current') cadIfOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadIfOutOctets.setStatus('current') cadIfOutUcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadIfOutUcastPkts.setStatus('current') cadIfOutMulticastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadIfOutMulticastPkts.setStatus('current') cadIfOutBroadcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadIfOutBroadcastPkts.setStatus('current') cadIfOutDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadIfOutDiscards.setStatus('current') cadIfOutErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 18, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadIfOutErrors.setStatus('current') cadDCardMeasTable = MibTable((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 20), ) if mibBuilder.loadTexts: cadDCardMeasTable.setStatus('current') cadDCardMeasEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 20, 1), ).setIndexNames((0, "CADANT-HW-MEAS-MIB", "cadDCardMeasCardId")) if mibBuilder.loadTexts: cadDCardMeasEntry.setStatus('current') cadDCardMeasCardId = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 20, 1, 1), CardId()) if mibBuilder.loadTexts: cadDCardMeasCardId.setStatus('current') cadDCardIpInReceives = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 20, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDCardIpInReceives.setStatus('current') cadDCardIpInHdrErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 20, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDCardIpInHdrErrors.setStatus('current') cadDCardIpInAddrErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 20, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDCardIpInAddrErrors.setStatus('current') cadDCardDhcpThrottleDropPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 20, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDCardDhcpThrottleDropPkts.setStatus('current') cadDCardArpThrottleDropPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 20, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDCardArpThrottleDropPkts.setStatus('current') cadDCardDhcpV6ThrottleDropPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 20, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDCardDhcpV6ThrottleDropPkts.setStatus('current') cadDCardNdThrottleDropPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 20, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDCardNdThrottleDropPkts.setStatus('current') cadDCardIgmpThrottleDropPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 20, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadDCardIgmpThrottleDropPkts.setStatus('current') cadInterfaceUtilizationTable = MibTable((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 23), ) if mibBuilder.loadTexts: cadInterfaceUtilizationTable.setStatus('current') cadInterfaceUtilizationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 23, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "CADANT-HW-MEAS-MIB", "cadInterfaceUtilizationDirection")) if mibBuilder.loadTexts: cadInterfaceUtilizationEntry.setStatus('current') cadInterfaceUtilizationDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 23, 1, 1), CadIfDirection()) if mibBuilder.loadTexts: cadInterfaceUtilizationDirection.setStatus('current') cadInterfaceUtilizationPercentage = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 23, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('percent').setMaxAccess("readonly") if mibBuilder.loadTexts: cadInterfaceUtilizationPercentage.setStatus('current') cadInterfaceUtilizationAvgContSlots = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 23, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('percent').setMaxAccess("readonly") if mibBuilder.loadTexts: cadInterfaceUtilizationAvgContSlots.setStatus('current') cadInterfaceHighResUtilizationPercentage = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 23, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setUnits('Hundredth of a percent').setMaxAccess("readonly") if mibBuilder.loadTexts: cadInterfaceHighResUtilizationPercentage.setStatus('current') cadInterfaceIntervalOctetsForwarded = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 23, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadInterfaceIntervalOctetsForwarded.setStatus('current') cadSubMgtPktFilterExtTable = MibTable((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 25), ) if mibBuilder.loadTexts: cadSubMgtPktFilterExtTable.setStatus('current') cadSubMgtPktFilterExtEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 25, 1), ) docsSubmgt3FilterGrpEntry.registerAugmentions(("CADANT-HW-MEAS-MIB", "cadSubMgtPktFilterExtEntry")) cadSubMgtPktFilterExtEntry.setIndexNames(*docsSubmgt3FilterGrpEntry.getIndexNames()) if mibBuilder.loadTexts: cadSubMgtPktFilterExtEntry.setStatus('current') cadSubMgtPktFilterMatchesReset = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 25, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cadSubMgtPktFilterMatchesReset.setStatus('current') cadSubMgtPktFilterLastChanged = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 25, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadSubMgtPktFilterLastChanged.setStatus('current') cadSubMgtPktFilterCaptureEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 25, 1, 3), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cadSubMgtPktFilterCaptureEnabled.setStatus('current') cadLaesCountTable = MibTable((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 26), ) if mibBuilder.loadTexts: cadLaesCountTable.setStatus('current') cadLaesCountEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 26, 1), ).setIndexNames((0, "PKTC-ES-TAP-MIB", "pktcEScTapMediationContentId"), (0, "PKTC-ES-TAP-MIB", "pktcEScTapStreamIndex")) if mibBuilder.loadTexts: cadLaesCountEntry.setStatus('current') cadLaesCountMacDomainIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 26, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadLaesCountMacDomainIfIndex.setStatus('current') cadLaesCountStreamDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 26, 1, 2), IfDirection()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadLaesCountStreamDirection.setStatus('current') cadLaesCountInterceptedPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 26, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadLaesCountInterceptedPackets.setStatus('current') cadLaesCountInterceptDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 26, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadLaesCountInterceptDrops.setStatus('current') cadFftUpstreamChannelTable = MibTable((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 24), ) if mibBuilder.loadTexts: cadFftUpstreamChannelTable.setStatus('current') cadFftUpstreamChannelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 24, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: cadFftUpstreamChannelEntry.setStatus('current') cadFftInProgress = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 24, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadFftInProgress.setStatus('current') cadFftCurrentTriggers = MibTableColumn((1, 3, 6, 1, 4, 1, 4998, 1, 1, 10, 2, 24, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cadFftCurrentTriggers.setStatus('current') mibBuilder.exportSymbols("CADANT-HW-MEAS-MIB", cadantDPortMeasOfdmNumDataSubc=cadantDPortMeasOfdmNumDataSubc, cadIfInUcastPkts=cadIfInUcastPkts, cadDCardDhcpV6ThrottleDropPkts=cadDCardDhcpV6ThrottleDropPkts, cadIfInMulticastPkts=cadIfInMulticastPkts, cadSubMgtPktFilterCaptureEnabled=cadSubMgtPktFilterCaptureEnabled, cadLaesCountMacDomainIfIndex=cadLaesCountMacDomainIfIndex, cadFftUpstreamChannelEntry=cadFftUpstreamChannelEntry, cadIfInOctets=cadIfInOctets, cadantEtherPhyMeasRxOctOK=cadantEtherPhyMeasRxOctOK, cadantEtherPhyMeasRxLongCRC=cadantEtherPhyMeasRxLongCRC, cadantUPortMeasMcastFrms=cadantUPortMeasMcastFrms, cadantUFIDMeasPHSUnknowns=cadantUFIDMeasPHSUnknowns, cadantUFIDMeasSIDUnerroreds=cadantUFIDMeasSIDUnerroreds, cadantEtherPhyMeasTxUniOK=cadantEtherPhyMeasTxUniOK, cadantEtherPhyMeasRxMultiOK=cadantEtherPhyMeasRxMultiOK, cadSubMgtPktFilterExtEntry=cadSubMgtPktFilterExtEntry, cadantEtherPhyMeasRxFalsCRS=cadantEtherPhyMeasRxFalsCRS, cadantUPortMeasUcastFrms=cadantUPortMeasUcastFrms, cadantEtherPhyMeasRxSymbolErrors=cadantEtherPhyMeasRxSymbolErrors, cadantUPortMeasIfInOctets=cadantUPortMeasIfInOctets, cadLaesCountEntry=cadLaesCountEntry, cadantUFIDMeasIncompletePkts=cadantUFIDMeasIncompletePkts, cadantEtherPhyMeasRxOctBad=cadantEtherPhyMeasRxOctBad, DFIDIndex=DFIDIndex, cadantUPortMeasMcastDataFrms=cadantUPortMeasMcastDataFrms, cadLaesCountInterceptDrops=cadLaesCountInterceptDrops, cadantUPortMeasBcastDataFrms=cadantUPortMeasBcastDataFrms, cadantDPortMeasGotNoDMACs=cadantDPortMeasGotNoDMACs, cadInterfaceHighResUtilizationPercentage=cadInterfaceHighResUtilizationPercentage, cadantUFIDMeasSIDCorrecteds=cadantUFIDMeasSIDCorrecteds, cadantEtherPhyMeasTxMultiOK=cadantEtherPhyMeasTxMultiOK, cadantUPortMeasTable=cadantUPortMeasTable, cadantFabAvgDepth=cadantFabAvgDepth, cadantDPortMeasIfOutBcastPkts=cadantDPortMeasIfOutBcastPkts, cadantUFIDMeasBytsArrived=cadantUFIDMeasBytsArrived, cadIfOutOctets=cadIfOutOctets, cadInterfaceIntervalOctetsForwarded=cadInterfaceIntervalOctetsForwarded, cadantUPortMeasEntry=cadantUPortMeasEntry, cadLaesCountTable=cadLaesCountTable, cadantDPortMeasPortId=cadantDPortMeasPortId, cadIfInDiscards=cadIfInDiscards, cadantEtherPhyMeasRxShortOK=cadantEtherPhyMeasRxShortOK, cadantEtherPhyMeasRxPause=cadantEtherPhyMeasRxPause, cadDFIDMeasSCN=cadDFIDMeasSCN, cadDCardNdThrottleDropPkts=cadDCardNdThrottleDropPkts, cadantUFIDMeasPktsArrived=cadantUFIDMeasPktsArrived, cadantDPortMeasIfOutMcastDataPkts=cadantDPortMeasIfOutMcastDataPkts, cadantUFIDMeasFragPkts=cadantUFIDMeasFragPkts, cadantEtherPhyMeasTxCcol=cadantEtherPhyMeasTxCcol, cadSubMgtPktFilterExtTable=cadSubMgtPktFilterExtTable, cadantUFIDMeasBytsOtherDrop=cadantUFIDMeasBytsOtherDrop, cadantDPortMeasIfOutUcastDataPkts=cadantDPortMeasIfOutUcastDataPkts, cadantUFIDMeasEntry=cadantUFIDMeasEntry, cadDFIDMeasBytsArrived=cadDFIDMeasBytsArrived, cadantUPortMeasIfInDataOctets=cadantUPortMeasIfInDataOctets, cadantUFIDMeasSFID=cadantUFIDMeasSFID, cadDCardMeasEntry=cadDCardMeasEntry, cadantDPortMeasIfOutDataOctets=cadantDPortMeasIfOutDataOctets, cadHardwareMeasMib=cadHardwareMeasMib, cadantUFIDMeasCcfStatsSgmtLost=cadantUFIDMeasCcfStatsSgmtLost, cadantUFIDMeasPktsSGreedyDrop=cadantUFIDMeasPktsSGreedyDrop, cadantUFIDMeasSIDMicroreflections=cadantUFIDMeasSIDMicroreflections, cadIfOutDiscards=cadIfOutDiscards, UFIDIndex=UFIDIndex, cadantUFIDMeasSIDBonded=cadantUFIDMeasSIDBonded, cadantEtherPhyMeasRxBroadOK=cadantEtherPhyMeasRxBroadOK, cadantEtherPhyMeasRxOverflow=cadantEtherPhyMeasRxOverflow, cadantEtherPhyMeasRxShortCRC=cadantEtherPhyMeasRxShortCRC, cadDCardArpThrottleDropPkts=cadDCardArpThrottleDropPkts, cadantUFIDMeasSIDHCSErrors=cadantUFIDMeasSIDHCSErrors, cadantUFIDMeasConcatBursts=cadantUFIDMeasConcatBursts, cadInterfaceUtilizationPercentage=cadInterfaceUtilizationPercentage, cadantEtherPhyMeasPortId=cadantEtherPhyMeasPortId, cadInterfaceUtilizationEntry=cadInterfaceUtilizationEntry, cadantUFIDMeasSIDNoUniqueWordDetecteds=cadantUFIDMeasSIDNoUniqueWordDetecteds, cadantUPortMeasInitMaintColls=cadantUPortMeasInitMaintColls, cadantDPortMeasIfOutBcastDataPkts=cadantDPortMeasIfOutBcastDataPkts, cadantEtherPhyMeasTxBroadOK=cadantEtherPhyMeasTxBroadOK, cadantDPortMeasEntry=cadantDPortMeasEntry, cadIfInUnknownProtos=cadIfInUnknownProtos, cadantDPortMeasIfOutOctets=cadantDPortMeasIfOutOctets, cadDCardIpInHdrErrors=cadDCardIpInHdrErrors, cadantUPortMeasBcastFrms=cadantUPortMeasBcastFrms, cadDCardDhcpThrottleDropPkts=cadDCardDhcpThrottleDropPkts, cadDFIDMeasIndex=cadDFIDMeasIndex, cadantEtherPhyMeasRxNormAlign=cadantEtherPhyMeasRxNormAlign, cadantEtherPhyMeasTxLcol=cadantEtherPhyMeasTxLcol, cadantEtherPhyMeasCardId=cadantEtherPhyMeasCardId, cadantDPortMeasIfOutUcastPkts=cadantDPortMeasIfOutUcastPkts, cadantDPortMeasAppMcastPkts=cadantDPortMeasAppMcastPkts, cadantUFIDMeasCcfStatsSgmtDrop=cadantUFIDMeasCcfStatsSgmtDrop, cadantEtherPhyMeasEntry=cadantEtherPhyMeasEntry, cadIfInErrors=cadIfInErrors, cadantEtherPhyMeasRxUniOK=cadantEtherPhyMeasRxUniOK, cadantUFIDMeasSIDSignalNoise=cadantUFIDMeasSIDSignalNoise, cadLaesCountInterceptedPackets=cadLaesCountInterceptedPackets, cadantUPortMeasFilteredFrms=cadantUPortMeasFilteredFrms, cadantEtherPhyMeasRxLongOK=cadantEtherPhyMeasRxLongOK, cadFftUpstreamChannelTable=cadFftUpstreamChannelTable, cadDCardIpInReceives=cadDCardIpInReceives, cadQosPktClassMeasPkts=cadQosPktClassMeasPkts, cadIfMeasEntry=cadIfMeasEntry, cadantUFIDMeasMacAddress=cadantUFIDMeasMacAddress, cadantDPortMeasOfdmIfSpeed=cadantDPortMeasOfdmIfSpeed, cadIfOutMulticastPkts=cadIfOutMulticastPkts, cadantUPortMeasIfInUnknownProtos=cadantUPortMeasIfInUnknownProtos, cadIfInBroadcastPkts=cadIfInBroadcastPkts, PYSNMP_MODULE_ID=cadHardwareMeasMib, cadantHWMeasGeneral=cadantHWMeasGeneral, cadantUPortMeasBcastReqOpps=cadantUPortMeasBcastReqOpps, cadantUPortMeasCardId=cadantUPortMeasCardId, cadantUFIDMeasSIDUnCorrecteds=cadantUFIDMeasSIDUnCorrecteds, cadantUPortMeasPortId=cadantUPortMeasPortId, cadantEtherPhyMeasTxOctOK=cadantEtherPhyMeasTxOctOK, cadantUFIDMeasCcfStatsSgmtValids=cadantUFIDMeasCcfStatsSgmtValids, cadIfOutUcastPkts=cadIfOutUcastPkts, cadDFIDMeasMacAddress=cadDFIDMeasMacAddress, cadantUFIDMeasSIDMACErrors=cadantUFIDMeasSIDMACErrors, cadantUPortMeasBcastReqRxPwr2s=cadantUPortMeasBcastReqRxPwr2s, cadIfMeasTable=cadIfMeasTable, cadFftCurrentTriggers=cadFftCurrentTriggers, cadantUFIDMeasTable=cadantUFIDMeasTable, cadantEtherPhyMeasTxErr=cadantEtherPhyMeasTxErr, cadDFIDMeasTable=cadDFIDMeasTable, cadantUFIDMeasSCN=cadantUFIDMeasSCN, SIDValue=SIDValue, cadSubMgtPktFilterMatchesReset=cadSubMgtPktFilterMatchesReset, cadantDPortMeasIfOutMcastPkts=cadantDPortMeasIfOutMcastPkts, cadantDPortMeasOfdmHighestAvgBitsPerSubc=cadantDPortMeasOfdmHighestAvgBitsPerSubc, cadDCardMeasTable=cadDCardMeasTable, cadDFIDMeasBytsDropped=cadDFIDMeasBytsDropped, cadIfOutBroadcastPkts=cadIfOutBroadcastPkts, cadantUFIDMeasSIDMacIfIndex=cadantUFIDMeasSIDMacIfIndex, cadDFIDMeasDFID=cadDFIDMeasDFID, cadantUPortMeasAppMinusBWReqFrms=cadantUPortMeasAppMinusBWReqFrms, cadantDPortMeasCardId=cadantDPortMeasCardId, cadantUFIDMeasSIDLengthErrors=cadantUFIDMeasSIDLengthErrors, cadantEtherPhyMeasTxPause=cadantEtherPhyMeasTxPause, cadantEtherPhyMeasRxNormCRC=cadantEtherPhyMeasRxNormCRC, cadantUPortMeasBcastReqNoEnergies=cadantUPortMeasBcastReqNoEnergies, cadantUPortMeasBcastReqRxPwr1s=cadantUPortMeasBcastReqRxPwr1s, cadDFIDMeasPktsArrived=cadDFIDMeasPktsArrived, cadantFabActualDepth=cadantFabActualDepth, cadantUFIDMeasSID=cadantUFIDMeasSID, cadIfOutErrors=cadIfOutErrors, cadQosPktClassMeasPktClassId=cadQosPktClassMeasPktClassId, PktClassId=PktClassId, cadantUPortMeasInitMaintOpps=cadantUPortMeasInitMaintOpps, cadDFIDMeasPolicedDelayPkts=cadDFIDMeasPolicedDelayPkts, cadInterfaceUtilizationTable=cadInterfaceUtilizationTable, cadInterfaceUtilizationAvgContSlots=cadInterfaceUtilizationAvgContSlots, cadantEtherPhyMeasTxDeferred=cadantEtherPhyMeasTxDeferred, cadantUFIDMeasSIDCRCErrors=cadantUFIDMeasSIDCRCErrors, cadantUPortMeasErroredFrms=cadantUPortMeasErroredFrms, cadantDPortMeasOfdmChanUtilization=cadantDPortMeasOfdmChanUtilization, TMSide=TMSide, cadQosPktClassMeasSFID=cadQosPktClassMeasSFID, cadantUPortMeasDiscardFrms=cadantUPortMeasDiscardFrms, cadantDPortMeasIfOutTotalOctets=cadantDPortMeasIfOutTotalOctets, cadantUPortMeasInitMaintRxPwr1s=cadantUPortMeasInitMaintRxPwr1s, cadQosPktClassMeasIfIndex=cadQosPktClassMeasIfIndex, cadantUFIDMeasUFIDIndex=cadantUFIDMeasUFIDIndex, SFIDIndex=SFIDIndex, cadSubMgtPktFilterLastChanged=cadSubMgtPktFilterLastChanged, cadantEtherPhyMeasTxScol=cadantEtherPhyMeasTxScol, cadantDPortMeasSyncPkts=cadantDPortMeasSyncPkts, cadDFIDMeasPktsDropped=cadDFIDMeasPktsDropped, cadDCardMeasCardId=cadDCardMeasCardId, cadantEtherPhyMeasTxMcol=cadantEtherPhyMeasTxMcol, cadantEtherPhyMeasTable=cadantEtherPhyMeasTable, cadQosPktClassMeasTable=cadQosPktClassMeasTable, cadFftInProgress=cadFftInProgress, cadantUPortMeasBcastReqColls=cadantUPortMeasBcastReqColls, cadantDPortMeasGotNoClasses=cadantDPortMeasGotNoClasses, cadantUFIDMeasSIDCollidedBursts=cadantUFIDMeasSIDCollidedBursts, cadQosPktClassMeasEntry=cadQosPktClassMeasEntry, cadantDPortMeasTable=cadantDPortMeasTable, cadLaesCountStreamDirection=cadLaesCountStreamDirection, cadantDPortMeasAppUcastPkts=cadantDPortMeasAppUcastPkts, cadDFIDMeasEntry=cadDFIDMeasEntry, cadDFIDMeasBytsUnkDropped=cadDFIDMeasBytsUnkDropped, cadantUFIDMeasGateID=cadantUFIDMeasGateID, cadDFIDMeasGateID=cadDFIDMeasGateID, cadantUFIDMeasSIDNoEnergyDetecteds=cadantUFIDMeasSIDNoEnergyDetecteds, cadantUPortMeasInitMaintRxPwr2s=cadantUPortMeasInitMaintRxPwr2s, cadDCardIgmpThrottleDropPkts=cadDCardIgmpThrottleDropPkts, cadInterfaceUtilizationDirection=cadInterfaceUtilizationDirection, cadantUPortMeasUcastDataFrms=cadantUPortMeasUcastDataFrms, cadantEtherPhyMeasRxRunt=cadantEtherPhyMeasRxRunt, cadDFIDMeasPHSUnknowns=cadDFIDMeasPHSUnknowns, cadDCardIpInAddrErrors=cadDCardIpInAddrErrors, cadantUPortMeasInitMaintNoEnergies=cadantUPortMeasInitMaintNoEnergies)
# Exercício Python 33: Faça um programa que leia três números e mostre qual é o maior e qual é o menor. n1 = int(input('Digite o primeiro número: ')) n2 = int(input('Digite o segundo número: ')) n3 = int(input('Digite o terceiro número: ')) maior = menor = n1 # verificando o maior if n2 > n1 and n2 > n3: maior = n2 if n3 > n1 and n3 > n2: maior = n3 # verificando o menor if n2 < n1 and n2 < n3: menor = n2 if n3 < n1 and n3 < n2: menor = n3 print('O maior número digitado foi {} e o menor foi {}.'.format(maior, menor))
# -*- coding: UTF-8 -*- # @yasinkuyu # TODO class analyze(): def position(): return 1 @staticmethod def direction(ticker): # Todo: Analyze, best price position hight = float(ticker['hight']) low = float(ticker['low']) return False
""" ID: MRNA Title: Inferring mRNA from Protein URL: http://rosalind.info/problems/mrna/ """ # RNA codon table rna_codon_dict = { "F": ["UUU", "UUC"], "L": ["UUA", "UUG", "CUU", "CUC", "CUA", "CUG"], "S": ["UCU", "UCC", "UCA", "UCG", "AGU", "AGC"], "Y": ["UAU", "UAC"], "C": ["UGU", "UGC"], "W": ["UGG"], "P": ["CCU", "CCC", "CCA", "CCG"], "H": ["CAU", "CAC"], "Q": ["CAA", "CAG"], "R": ["CGU", "CGC", "CGA", "CGG", "AGA", "AGG"], "I": ["AUU", "AUC", "AUA"], "M": ["AUG"], "T": ["ACU", "ACC", "ACA", "ACG"], "N": ["AAU", "AAC"], "K": ["AAA", "AAG"], "V": ["GUU", "GUC", "GUA", "GUG"], "A": ["GCU", "GCC", "GCA", "GCG"], "D": ["GAU", "GAC"], "E": ["GAA", "GAG"], "G": ["GGU", "GGC", "GGA", "GGG"], "Stop": ["UAA", "UAG", "UGA"] # stop codons } def get_total(protein): """ Calculates the total number of different RNA strings from which the protein could have been translated, modulo 1000000. Args: protein (str): protein string. Returns: int: The total number of different RNA strings from which the protein could have been translated, modulo 1000000. """ total = 1 for character in protein: total *= len(rna_codon_dict[character]) return (total * 3) % 1000000 # times 3 because of 3 possible stop codons
li = ["entrance"] sc = ["food", "others", "descry"] current = li[len(li) - 1] size = len(li) while True: print(current) choice = input("enter choice") if choice == "b" and size == 1: print("LAsT ScReEN") elif choice == "b" and size > 1: print(f"your were in {current}") last = li[len(li) - 1] li.remove(last) current = li[len(li) - 1] size = len(li) if choice == "a": name = input("Enter csn name") li.append(name) current = li[len(li) - 1] size = len(li) - 1 if choice == "c": print(f"you were in {current}") print(f"you have {size} screens") print(f"you have {sc}") if choice == "q": break print("bye")
#Placeholder class for player class Player(object): def __init__(self): self.maxHp = 250 self.hp = self.maxHp self.maxArk = 1000 self.ark = maxArk
track_width = 1.4476123429435463 track_original = [(-7.328797578811646, 0.7067412286996826), (-7.174184083938599, 0.9988523125648499), (-7.014955043792725, 1.2884796857833862), (-6.852129220962524, 1.5760955214500427), (-6.69096302986145, 1.8646469712257385), (-6.549050569534302, 2.133627951145172), (-6.420227527618408, 2.360764980316162), (-6.282472848892212, 2.563578486442566), (-6.135417461395264, 2.7340999841690063), (-5.977877140045166, 2.8688275814056396), (-5.81035041809082, 2.968791961669922), (-5.633065938949585, 3.0333319902420044), (-5.446821928024292, 3.0640629529953003), (-5.251659393310547, 3.060586452484131), (-5.045768976211548, 3.024727463722229), (-4.825798511505127, 2.9580509662628174), (-4.588956356048584, 2.8663644790649414), (-4.31685209274292, 2.7589694261550903), (-4.021718144416809, 2.6605225205421448), (-3.7218724489212036, 2.5771239399909973), (-3.4001494646072388, 2.5014730095863342), (-3.0785800218582153, 2.4250680208206177), (-2.7574269771575928, 2.3469924926757812), (-2.4364190101623535, 2.268289566040039), (-2.1156229972839355, 2.18874454498291), (-1.7946394681930542, 2.1099590063095093), (-1.4724169969558716, 2.036425471305847), (-1.1480990052223206, 1.972858488559723), (-0.8215269446372986, 1.9220375418663025), (-0.49347320199012756, 1.882027506828308), (-0.16523528099060059, 1.8431255221366882), (0.15957121597602963, 1.7846184968948364), (0.47961319983005524, 1.704276978969574), (0.7935185432434082, 1.6027245819568634), (1.1075600385665894, 1.5037027299404144), (1.3076865077018738, 1.4583993554115295), (1.5055664777755737, 1.4348017573356628), (1.6923699975013733, 1.436053216457367), (1.8664454817771912, 1.4613812565803528), (2.0277739763259888, 1.5097875595092773), (2.178537964820862, 1.5850645303726196), (2.313390552997589, 1.6858949661254883), (2.4278720021247864, 1.8132139444351196), (2.5151830315589905, 1.9660619497299194), (2.566936492919922, 2.1485629677772526), (2.5689350366592407, 2.358330011367798), (2.5144699811935425, 2.6066219806671143), (2.4257004261016846, 2.8845890760421753), (2.3359305262565613, 3.2552294731140137), (2.3159735798835754, 3.5993000268936157), (2.3787535429000854, 3.9212855100631714), (2.478807508945465, 4.290599465370178), (2.636470079421997, 4.603878498077393), (2.8344470262527466, 4.881711959838867), (3.0565370321273804, 5.138339042663574), (3.2876089811325073, 5.387208461761475), (3.5140345096588135, 5.6403584480285645), (3.5140345096588135, 5.6403584480285645), (3.7155704498291016, 5.867789030075073), (3.9150513410568237, 6.070695161819458), (4.123555541038513, 6.237838506698608), (4.350278377532959, 6.357916831970215), (4.597380638122559, 6.43809700012207), (4.853857040405273, 6.455471992492676), (5.102698564529419, 6.429849624633789), (5.323245525360107, 6.36712646484375), (5.529232978820801, 6.26619815826416), (5.686629056930542, 6.151557445526123), (5.822824001312256, 6.024678468704224), (5.938603401184082, 5.889411926269531), (6.033949375152588, 5.739620923995972), (6.104636907577515, 5.578918933868408), (6.150783538818359, 5.403707981109619), (6.164923906326294, 5.222965478897095), (6.1468329429626465, 5.038176536560059), (6.079972505569458, 4.82081151008606), (5.97437596321106, 4.61850380897522), (5.8233723640441895, 4.414783954620361), (5.634581804275513, 4.2054924964904785), (5.428040027618408, 3.975582003593445), (5.241874933242798, 3.7154849767684937), (5.102576971054077, 3.419975996017456), (5.015120983123779, 3.1196454763412476), (4.971808433532715, 2.8488609790802), (4.960218191146851, 2.585760474205017), (4.977452993392944, 2.3392809629440308), (5.023159027099609, 2.1146004796028137), (5.096908330917358, 1.921861469745636), (5.196659564971924, 1.7596720457077026), (5.3221518993377686, 1.6261754631996155), (5.46985650062561, 1.5239906907081604), (5.630683898925781, 1.4561519622802734), (5.807667970657349, 1.418973684310913), (5.991654634475708, 1.4157988727092743), (6.173375368118286, 1.4475385546684265), (6.361251354217529, 1.5157389640808105), (6.552232980728149, 1.6238649785518646), (6.742959976196289, 1.7797954678535461), (6.928569316864014, 1.979457974433899), (7.1327619552612305, 2.2291980385780334), (7.3353002071380615, 2.4614279866218567), (7.552741527557373, 2.6543909907341003), (7.788616895675659, 2.7964354753494263), (8.033162117004395, 2.8772475719451904), (8.27453899383545, 2.8965189456939697), (8.491207122802734, 2.8657994270324707), (8.696878433227539, 2.7887370586395264), (8.883398056030273, 2.671844482421875), (9.050030708312988, 2.5171889066696167), (9.195130348205566, 2.3260200023651123), (9.31544828414917, 2.1004135608673096), (9.404008388519287, 1.8435750007629395), (9.44702672958374, 1.5588589906692505), (9.426554679870605, 1.2522504925727844), (9.337581634521484, 0.9353834688663483), (9.192826747894287, 0.6319848001003265), (8.996197700500488, 0.35549574717879295), (8.740715503692627, 0.12512008845806122), (8.460927486419678, -0.07559703290462494), (8.175841569900513, -0.2658586651086807), (7.892965793609619, -0.4588608369231224), (7.611706018447876, -0.6587495300918818), (7.324141502380371, -0.8574651554226875), (7.013044595718384, -1.0239490866661072), (6.681285381317139, -1.146332487463951), (6.335738897323608, -1.230746567249298), (5.990506172180176, -1.2988191843032837), (5.643296957015991, -1.334423303604126), (5.297202110290527, -1.3324593007564545), (4.961018323898315, -1.2930377125740051), (4.627946138381958, -1.2881913483142853), (4.2974913120269775, -1.3248490691184998), (3.971156597137451, -1.4057363867759705), (3.6392279863357544, -1.460619181394577), (3.3074809312820435, -1.4712965488433838), (2.9761369228363037, -1.4499823153018951), (2.649322509765625, -1.400215595960617), (2.3273664712905884, -1.3234277367591858), (2.009637951850891, -1.2304291427135468), (1.7677425146102905, -1.1627453565597534), (1.5230990052223206, -1.1080912500619888), (1.3532370328903198, -1.0856162011623383), (1.195859968662262, -1.0760365426540375), (1.0345217287540436, -1.083674892783165), (0.8724515438079834, -1.1083671748638153), (0.711279958486557, -1.152745246887207), (0.5507968962192535, -1.209416925907135), (0.39081355929374695, -1.2751052379608154), (0.20988519862294197, -1.352755606174469), (0.027120925951749086, -1.4227381646633148), (-0.15986499935388565, -1.4767869412899017), (-0.35081079602241516, -1.5067747831344604), (-0.5378659963607788, -1.50830939412117), (-0.7263861894607544, -1.4828526973724365), (-0.9641014337539673, -1.4054632782936096), (-1.1858603358268738, -1.2872214317321777), (-1.4105505347251892, -1.1229303479194641), (-1.6448439955711365, -0.9379797577857971), (-1.8947490453720093, -0.7638485766947269), (-2.1554964780807495, -0.5910995323210955), (-2.4273550510406494, -0.42916758358478546), (-2.725504517555237, -0.2837444841861725), (-2.99622642993927, -0.18140959739685059), (-3.219103455543518, -0.11459633708000183), (-3.4286000728607178, -0.0705919861793518), (-3.6258760690689087, -0.04686114192008972), (-3.8121869564056396, -0.04533001780509949), (-3.989760994911194, -0.06408235430717468), (-4.157929539680481, -0.10413399338722229), (-4.316835522651677, -0.16417834162712333), (-4.466385602951046, -0.24498264491557906), (-4.601896524429319, -0.3419640436768511), (-4.72392392158508, -0.45354240271262586), (-4.832186937332153, -0.5788427442312241), (-4.923211812973023, -0.7173683494329479), (-4.9949941635131845, -0.8676890134811426), (-5.046401023864746, -1.022179692983629), (-5.0796074867248535, -1.1705849170684814), (-5.093028545379639, -1.3209239840507507), (-5.110311985015869, -1.545432984828949), (-5.156613349914551, -1.8119059801101685), (-5.23431396484375, -2.074813961982727), (-5.337328910827637, -2.3319250345230103), (-5.440672397613525, -2.5615949630737305), (-5.537067413330078, -2.7935789823532104), (-5.601041078567505, -3.0084774494171143), (-5.629537582397461, -3.2162104845046997), (-5.62337851524353, -3.4190534353256226), (-5.583552598953247, -3.617501974105835), (-5.511371850967407, -3.813294529914856), (-5.409692049026489, -4.009515404701233), (-5.285758972167969, -4.2109215259552), (-5.15318751335144, -4.420788526535034), (-5.032635450363159, -4.634819030761719), (-4.952491044998169, -4.822279453277588), (-4.896421194076538, -5.005449533462524), (-4.867075443267822, -5.213198900222778), (-4.872295141220093, -5.416158437728882), (-4.910168647766113, -5.610260486602783), (-4.973554372787476, -5.776232004165649), (-5.060508966445923, -5.920712471008301), (-5.165009498596191, -6.048253059387207), (-5.289099931716919, -6.157153606414795), (-5.434471368789673, -6.242535829544067), (-5.604140520095825, -6.297412633895874), (-5.79407811164856, -6.322732925415039), (-6.00898551940918, -6.311539173126221), (-6.244884967803955, -6.256653070449829), (-6.4949564933776855, -6.147663354873657), (-6.781038045883179, -5.9773054122924805), (-7.061333417892456, -5.802093505859375), (-7.340768337249756, -5.625651121139526), (-7.619298696517944, -5.4476518630981445), (-7.828180313110352, -5.296770811080933), (-8.016002416610718, -5.123382568359375), (-8.15831708908081, -4.937673568725586), (-8.257988691329956, -4.7432403564453125), (-8.318733215332031, -4.53918194770813), (-8.349838495254517, -4.327398061752319), (-8.358692169189453, -4.073875427246094), (-8.348212242126465, -3.7435275316238403), (-8.3358793258667, -3.4132790565490723), (-8.341327905654907, -3.082790970802307), (-8.343693256378174, -2.7523809671401978), (-8.330488443374634, -2.4221235513687134), (-8.290509700775146, -2.0941930413246155), (-8.228468656539917, -1.7695454955101013), (-8.158297777175903, -1.4466065168380737), (-8.076175212860107, -1.1264664828777313), (-7.979531764984131, -0.8104383051395416), (-7.870174884796143, -0.4985577389597893), (-7.749021291732788, -0.19107545539736748), (-7.6169209480285645, 0.11187849193811417), (-7.476149082183838, 0.4108997918665409), (-7.328797578811646, 0.7067412286996826)]
_base_ = [ '../../../_base_/datasets/two_branch/few_shot_voc.py', '../../../_base_/schedules/schedule.py', '../../mpsr_r101_fpn.py', '../../../_base_/default_runtime.py' ] # classes splits are predefined in FewShotVOCDataset # FewShotVOCDefaultDataset predefine ann_cfg for model reproducibility. data = dict( train=dict( dataset=dict( type='FewShotVOCDefaultDataset', ann_cfg=[dict(method='MPSR', setting='SPLIT1_1SHOT')], num_novel_shots=1, num_base_shots=1, classes='ALL_CLASSES_SPLIT1')), val=dict(classes='ALL_CLASSES_SPLIT1'), test=dict(classes='ALL_CLASSES_SPLIT1')) evaluation = dict( interval=500, class_splits=['BASE_CLASSES_SPLIT1', 'NOVEL_CLASSES_SPLIT1']) checkpoint_config = dict(interval=2000) optimizer = dict( lr=0.005, paramwise_cfg=dict( custom_keys=dict({'.bias': dict(lr_mult=2.0, decay_mult=0.0)}))) lr_config = dict( warmup_iters=500, warmup_ratio=1. / 3, step=[1300], ) runner = dict(max_iters=2000) # load_from = 'path of base training model' load_from = ( 'work_dirs/mpsr_r101_fpn_2xb2_voc-split1_base-training/latest.pth') model = dict( roi_head=dict( bbox_roi_extractor=dict(roi_layer=dict(aligned=False)), bbox_head=dict(init_cfg=[ dict( type='Normal', override=dict(type='Normal', name='fc_cls', std=0.001)) ])))
# -*- coding: utf-8 -*- DESC = "trtc-2019-07-22" INFO = { "DescribeRealtimeQuality": { "params": [ { "name": "StartTime", "desc": "Query start time in the format of local UNIX timestamp, such as 1588031999s, which is a point in time in the last 24 hours." }, { "name": "EndTime", "desc": "Query end time in the format of local UNIX timestamp, such as 1588031999s." }, { "name": "SdkAppId", "desc": "User `sdkappid`" }, { "name": "DataType", "desc": "Type of data to query\nenterTotalSuccPercent: room entry success rate;\nfistFreamInSecRate: instant playback rate of the first frame;\nblockPercent: video lag rate;\naudioBlockPercent: audio lag rate." } ], "desc": "This API is used to query real-time quality data for the last 24 hours according to `sdkappid`, including the room entry success rate, instant playback rate of the first frame, audio lag rate, and video lag rate. The query time range cannot exceed 1 hour." }, "DescribeHistoryScale": { "params": [ { "name": "SdkAppId", "desc": "User `sdkappid`" }, { "name": "StartTime", "desc": "Query start time in the format of local UNIX timestamp, such as 1588031999s, which is a point in time in the last 5 days." }, { "name": "EndTime", "desc": "Query end time in the format of local UNIX timestamp, such as 1588031999s." } ], "desc": "This API is used to query the number of historical rooms and users for the last 5 days. It can query once per minute." }, "DescribeRealtimeScale": { "params": [ { "name": "StartTime", "desc": "Query start time in the format of local UNIX timestamp, such as 1588031999s, which is a point in time in the last 24 hours." }, { "name": "EndTime", "desc": "Query end time in the format of local UNIX timestamp, such as 1588031999s." }, { "name": "SdkAppId", "desc": "User `sdkappid`" }, { "name": "DataType", "desc": "Type of data to query\n`UserNum: number of users in call;\nRoomNum: number of rooms." } ], "desc": "This API is used to query the real-time scale for the last 24 hours according to `sdkappid`. The query time range cannot exceed 1 hour." }, "DescribeRealtimeNetwork": { "params": [ { "name": "StartTime", "desc": "Query start time in the format of local UNIX timestamp, such as 1588031999s, which is a point in time in the last 24 hours." }, { "name": "EndTime", "desc": "Query end time in the format of local UNIX timestamp, such as 1588031999s." }, { "name": "SdkAppId", "desc": "User `sdkappid`" }, { "name": "DataType", "desc": "Type of data to query\nsendLossRateRaw: upstream packet loss rate;\nrecvLossRateRaw: downstream packet loss rate." } ], "desc": "This API is used to query real-time network status for the last 24 hours according to `sdkappid`, including upstream and downstream packet losses. The query time range cannot exceed 1 hour." }, "DescribeRoomInformation": { "params": [ { "name": "SdkAppId", "desc": "User `sdkappid`" }, { "name": "StartTime", "desc": "Query start time in the format of local UNIX timestamp, such as 1588031999s, which is a point in time in the last 5 days." }, { "name": "EndTime", "desc": "Query end time in the format of local UNIX timestamp, such as 1588031999s." }, { "name": "RoomId", "desc": "Room ID of uint type" }, { "name": "PageNumber", "desc": "Page index. If it is left empty, 10 entries will be returned by default." }, { "name": "PageSize", "desc": "Page size. Maximum value: 100. If it is left empty, 10 entries will be returned by default." } ], "desc": "This API is used to query the room list for the last 5 days according to `sdkappid`. It returns 10 calls by default and up to 100 calls at a time." }, "RemoveUser": { "params": [ { "name": "SdkAppId", "desc": "`SDKAppId` of TRTC." }, { "name": "RoomId", "desc": "Room number." }, { "name": "UserIds", "desc": "List of up to 10 users to be removed." } ], "desc": "This API is used to remove a user from a room. It is applicable to scenarios where the anchor, room owner, or admin wants to kick out a user. It supports all platforms. For Android, iOS, Windows, and macOS, the TRTC SDK needs to be upgraded to v6.6 or above." }, "DescribeCallDetail": { "params": [ { "name": "CommId", "desc": "Call ID (unique call ID): sdkappid_roomgString (room ID)_createTime (room creation time in UNIX timestamp in seconds). You can get the parameter value through the `DescribeRoomInformation` API which is used to query the room list." }, { "name": "StartTime", "desc": "Query start time in the format of local UNIX timestamp, such as 1588031999s, which is a point in time in the last 5 days." }, { "name": "EndTime", "desc": "Query end time in the format of local UNIX timestamp, such as 1588031999s." }, { "name": "SdkAppId", "desc": "User `sdkappid`" }, { "name": "UserIds", "desc": "User array to query, which contains up to 6 users. If it is left empty, 6 users will be returned by default." }, { "name": "DataType", "desc": "Metric to query. The user list will be returned if it is left empty; all metrics will be returned if its value is `all`.\nappCpu: CPU utilization of application;\nsysCpu: CPU utilization of system;\naBit: upstream/downstream audio bitrate;\naBlock: audio lag duration;\nvBit: upstream/downstream video bitrate;\nvCapFps: video capturing frame rate;\nvEncFps: video sending frame rate;\nvDecFps: rendering frame rate;\nvBlock: video lag duration;\naLoss: upstream/downstream audio packet loss;\nvLoss: upstream/downstream video packet loss;\nvWidth: upstream/downstream resolution in width;\nvHeight: upstream/downstream resolution in height." } ], "desc": "This API is used to query the user list and user call quality data in a specified time period. It can query data of up to 6 users for the last 5 days, and the query time range cannot exceed 1 hour." }, "DismissRoom": { "params": [ { "name": "SdkAppId", "desc": "`SDKAppId` of TRTC." }, { "name": "RoomId", "desc": "Room number." } ], "desc": "This API is used to remove all users from a room and dismiss the room. It supports all platforms. For Android, iOS, Windows, and macOS, the TRTC SDK needs to be upgraded to v6.6 or above." } }
"""DSM 6 SYNO.API.Info data with surveillance surppot.""" DSM_6_API_INFO = { "data": { "SYNO.API.Auth": {"maxVersion": 6, "minVersion": 1, "path": "auth.cgi"}, "SYNO.API.Encryption": { "maxVersion": 1, "minVersion": 1, "path": "encryption.cgi", }, "SYNO.API.Info": {"maxVersion": 1, "minVersion": 1, "path": "query.cgi"}, "SYNO.API.OTP": {"maxVersion": 1, "minVersion": 1, "path": "otp.cgi"}, "SYNO.AntiVirus.Config": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AntiVirus.FileExt": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AntiVirus.General": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AntiVirus.Log": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AntiVirus.Purchase": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AntiVirus.Quarantine": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AntiVirus.Scan": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AntiVirus.Schedule": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AntiVirus.WhiteList": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AudioPlayer": { "maxVersion": 2, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AudioPlayer.Stream": { "maxVersion": 2, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AudioStation.Album": { "maxVersion": 3, "minVersion": 1, "path": "AudioStation/album.cgi", }, "SYNO.AudioStation.Artist": { "maxVersion": 4, "minVersion": 1, "path": "AudioStation/artist.cgi", }, "SYNO.AudioStation.Browse.Playlist": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AudioStation.Composer": { "maxVersion": 2, "minVersion": 1, "path": "AudioStation/composer.cgi", }, "SYNO.AudioStation.Cover": { "maxVersion": 3, "minVersion": 1, "path": "AudioStation/cover.cgi", }, "SYNO.AudioStation.Download": { "maxVersion": 1, "minVersion": 1, "path": "AudioStation/download.cgi", }, "SYNO.AudioStation.Folder": { "maxVersion": 3, "minVersion": 1, "path": "AudioStation/folder.cgi", }, "SYNO.AudioStation.Genre": { "maxVersion": 3, "minVersion": 1, "path": "AudioStation/genre.cgi", }, "SYNO.AudioStation.Info": { "maxVersion": 4, "minVersion": 1, "path": "AudioStation/info.cgi", }, "SYNO.AudioStation.Lyrics": { "maxVersion": 2, "minVersion": 1, "path": "AudioStation/lyrics.cgi", }, "SYNO.AudioStation.LyricsSearch": { "maxVersion": 2, "minVersion": 1, "path": "AudioStation/lyrics_search.cgi", }, "SYNO.AudioStation.MediaServer": { "maxVersion": 1, "minVersion": 1, "path": "AudioStation/media_server.cgi", }, "SYNO.AudioStation.Pin": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AudioStation.Playlist": { "maxVersion": 3, "minVersion": 1, "path": "AudioStation/playlist.cgi", }, "SYNO.AudioStation.Proxy": { "maxVersion": 1, "minVersion": 1, "path": "AudioStation/proxy.cgi", }, "SYNO.AudioStation.Radio": { "maxVersion": 2, "minVersion": 1, "path": "AudioStation/radio.cgi", }, "SYNO.AudioStation.RemotePlayer": { "maxVersion": 3, "minVersion": 1, "path": "AudioStation/remote_player.cgi", }, "SYNO.AudioStation.RemotePlayerStatus": { "maxVersion": 1, "minVersion": 1, "path": "AudioStation/remote_player_status.cgi", }, "SYNO.AudioStation.Search": { "maxVersion": 1, "minVersion": 1, "path": "AudioStation/search.cgi", }, "SYNO.AudioStation.Song": { "maxVersion": 3, "minVersion": 1, "path": "AudioStation/song.cgi", }, "SYNO.AudioStation.Stream": { "maxVersion": 2, "minVersion": 1, "path": "AudioStation/stream.cgi", }, "SYNO.AudioStation.Tag": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AudioStation.VoiceAssistant.Browse": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AudioStation.VoiceAssistant.Challenge": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AudioStation.VoiceAssistant.Info": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AudioStation.VoiceAssistant.Stream": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.AudioStation.WebPlayer": { "maxVersion": 1, "minVersion": 1, "path": "AudioStation/web_player.cgi", }, "SYNO.Backup.App": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.App.Backup": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.App.Restore": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.App2.Backup": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.App2.Restore": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Config.Backup": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Config.Restore": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Lunbackup": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Repository": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Repository.Certificate": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Restore": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Server": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Service.NetworkBackup": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Service.TimeBackup": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Share.Restore": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Source.Folder": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.AmazonCloudDrive.Container": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.Azure.Container": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.Connect.Network": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.Dropbox.Container": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.GoogleDrive.Container": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.HiDrive.Container": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.OpenStack.Container": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.OpenStack.Region": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.S3.Bucket": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.Share.Local": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.Share.Network": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.Share.Rsync": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.WebDAV.Container": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Storage.hubiC.Container": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Target": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Target.Config": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Task": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Version": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Backup.Version.History": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.AuthForeign": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.Cal": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.Chatbot": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.Event": { "maxVersion": 4, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.InviteMail": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.InviteMailInit": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.Proxy": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.SendMail": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.Setting": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.Share.Priv": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.Sharing": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.SyncUser": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.Timezone": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Cal.Todo": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.CloudSync": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ACL": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.AppNotify": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.AppPortal": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.AppPortal.AccessControl": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.AppPortal.Config": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.AppPortal.ReverseProxy": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.AppPriv": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.AppPriv.App": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.AppPriv.Rule": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.BandwidthControl": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.BandwidthControl.Protocol": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.BandwidthControl.Status": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.CMS": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.CMS.Cache": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.CMS.Info": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.CMS.Policy": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.CMS.ServerInfo": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.CMS.Token": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Certificate": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Certificate.CRT": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Certificate.CSR": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Certificate.LetsEncrypt": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Certificate.LetsEncrypt.Account": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Certificate.Service": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.CurrentConnection": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.DDNS.ExtIP": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.DDNS.Provider": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.DDNS.Record": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.DDNS.Synology": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.DDNS.TWNIC": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.DSMNotify": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.DataCollect": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.DataCollect.Application": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Desktop.Defs": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Desktop.Initdata": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Desktop.JSUIString": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Desktop.SessionData": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Desktop.Timeout": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Desktop.UIString": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Directory.Azure.SSO": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Directory.Domain": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Directory.Domain.ADHealthCheck": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Directory.Domain.Conf": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Directory.Domain.Schedule": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Directory.LDAP": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Directory.LDAP.BaseDN": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Directory.LDAP.Login.Notify": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Directory.LDAP.Profile": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Directory.SSO": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Directory.SSO.Profile": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Directory.SSO.utils": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Directory.WebSphere.SSO": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.EventScheduler": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Bluetooth": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Bluetooth.Device": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Bluetooth.Settings": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.DefaultPermission": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Printer": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Printer.BonjourSharing": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Printer.Driver": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Printer.Network": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Printer.Network.Host": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Printer.OAuth": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Printer.USB": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Storage.EUnit": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Storage.Setting": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Storage.USB": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.Storage.eSATA": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ExternalDevice.UPS": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.EzInternet": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Factory.Config": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Factory.Manutild": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.File": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.File.Thumbnail": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.AFP": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.FTP": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.FTP.ChrootUser": { "maxVersion": 2, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.FTP.SFTP": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.FTP.Security": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.NFS": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.NFS.AdvancedSetting": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.NFS.IDMap": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.NFS.Kerberos": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.NFS.SharePrivilege": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.ReflinkCopy": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.Rsync.Account": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.SMB": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.ServiceDiscovery": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.FileServ.ServiceDiscovery.WSTransfer": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Findhost": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Group": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Group.ExtraAdmin": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Group.Member": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Group.ValidLocalAdmin": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.GroupSettings": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.BeepControl": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.DCOutput": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.DCOutput.Task": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.FanSpeed": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.Hibernation": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.LCM": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.Led.Brightness": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.MemoryLayout": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.NeedReboot": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.PowerRecovery": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.PowerSchedule": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.RemoteFanStatus": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.SpectreMeltdown": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.VideoTranscoding": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Hardware.ZRAM": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Help": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ISCSI.LUN": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ISCSI.Lunbkp": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ISCSI.Node": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ISCSI.Replication": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ISCSI.Target": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.ISCSI.VLUN": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.MediaIndexing": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.MediaIndexing.IndexFolder": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.MediaIndexing.MediaConverter": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.MediaIndexing.MobileEnabled": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.MediaIndexing.ThumbnailQuality": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.MyDSCenter": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.MyDSCenter.Account": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.MyDSCenter.Purchase": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Authentication": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Authentication.Cert": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Bond": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Bridge": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.DHCPServer": { "maxVersion": 4, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.DHCPServer.ClientList": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.DHCPServer.PXE": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.DHCPServer.Reservation": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.DHCPServer.Vendor": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.DHCPServer.WPAD": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Ethernet": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.IPv6": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.IPv6.Router": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.IPv6.Router.Prefix": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.IPv6Tunnel": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Interface": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.LocalBridge": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.MACClone": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.OVS": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.PPPoE": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.PPPoE.Relay": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Proxy": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Router.ConnectionList": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Router.CountryCode": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Router.DMZ": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Router.Gateway.List": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Router.LocalLan": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Router.MacFilter": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Router.ParentalControl": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Router.PkgList": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Router.PortForward": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Router.Static.Route": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Router.Topology": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.TrafficControl.RouterRules": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.TrafficControl.Rules": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.UPnPServer": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.USBModem": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.VPN": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.VPN.L2TP": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.VPN.OpenVPN": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.VPN.OpenVPN.CA": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.VPN.OpenVPNWithConf": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.VPN.OpenVPNWithConf.Certs": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.VPN.PPTP": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.WOL": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Wifi.Client": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Wifi.Hotspot": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Network.Wifi.WPS": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.NormalUser": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.NormalUser.LoginNotify": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.Advance.CustomizedData": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.Advance.FilterSettings": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.Advance.Variables": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.Advance.WarningPercentage": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.CMS": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.CMS.Conf": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.Mail": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.Mail.Auth": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.Mail.Conf": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.Push": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.Push.AuthToken": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.Push.Conf": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.Push.Mail": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.Push.Mobile": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.SMS": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.SMS.Conf": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Notification.SMS.Provider": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.OAuth.Scope": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.OAuth.Server": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.OTP": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.OTP.Admin": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.OTP.EnforcePolicy": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.OTP.Mail": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Account": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Control": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.FakeIFrame": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Feed": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Feed.Keyring": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Info": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Installation": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Installation.Download": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Log": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.MyDS": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.MyDS.Purchase": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Screenshot": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Screenshot.Server": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Server": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Setting": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Setting.Update": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Setting.Volume": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Term": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Thumb": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Package.Uninstallation": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PersonalNotification.Device": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PersonalNotification.Event": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PersonalNotification.Filter": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PersonalNotification.Settings": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PersonalNotification.android": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PersonalNotification.iOS": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PersonalNotification.windows": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PersonalSettings": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PhotoViewer": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Polling.Data": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PortForwarding": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PortForwarding.Compatibility": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PortForwarding.RouterConf": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PortForwarding.RouterInfo": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PortForwarding.RouterList": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PortForwarding.Rules": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PortForwarding.Rules.Serv": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.PortForwarding.UserDataCollector": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.QuickConnect": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.QuickConnect.Permission": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.QuickConnect.Upnp": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.QuickStart.Info": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.QuickStart.Install": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Quota": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.RecycleBin": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.RecycleBin.User": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Region.Language": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Region.NTP": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Region.NTP.DateTimeFormat": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Region.NTP.Server": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SNMP": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.AutoBlock": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.AutoBlock.Rules": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.DSM": { "maxVersion": 4, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.DSM.Embed": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.DSM.Proxy": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.DoS": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.Firewall": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.Firewall.Adapter": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.Firewall.Conf": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.Firewall.Geoip": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.Firewall.Profile": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.Firewall.Profile.Apply": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.Firewall.Rules": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.Firewall.Rules.Serv": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.VPNPassthrough": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Security.VPNPassthrough.Status": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SecurityScan.Conf": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SecurityScan.Operation": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SecurityScan.Status": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Service": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Service.Conf": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Service.PortInfo": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Share": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Share.Crypto": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Share.Crypto.Key": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Share.CryptoFile": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Share.KeyManager.AutoKey": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Share.KeyManager.Key": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Share.KeyManager.MachineKey": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Share.KeyManager.Store": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Share.Migration": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Share.Migration.Task": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Share.Permission": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Share.Snapshot": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Sharing": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Sharing.Initdata": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Sharing.Login": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Sharing.Session": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SmartBlock": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SmartBlock.Device": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SmartBlock.Trusted": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SmartBlock.Untrusted": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SmartBlock.User": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Storage.Disk": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Storage.Pool": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Storage.Volume": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Storage.iSCSILUN": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Storage.iSCSITargets": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Storage.iSCSIUtils": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SupportForm.Form": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SupportForm.Log": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SupportForm.Service": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Synohdpack": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SyslogClient.FileTransfer": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SyslogClient.Log": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SyslogClient.PersonalActivity": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SyslogClient.Setting.Notify": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.SyslogClient.Status": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.System": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.System.Process": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.System.ProcessGroup": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.System.ResetButton": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.System.Status": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.System.Utilization": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.TFTP": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.TaskScheduler": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Terminal": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Theme.AppPortalLogin": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Theme.Desktop": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Theme.FileSharingLogin": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Theme.Image": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Theme.Login": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.TrustDevice": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Tuned": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.UISearch": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Upgrade": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Upgrade.AutoUpgrade": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Upgrade.Group": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Upgrade.Group.Download": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Upgrade.Group.Setting": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Upgrade.GroupInstall": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Upgrade.GroupInstall.Network": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Upgrade.Patch": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Upgrade.PreCheck": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Upgrade.Server": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Upgrade.Server.Download": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Upgrade.Setting": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.User": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.User.Group": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.User.Home": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.User.PasswordConfirm": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.User.PasswordExpiry": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.User.PasswordMeter": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.User.PasswordPolicy": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.UserSettings": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Virtualization.Host.Capability": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Web.DSM": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Web.DSM.External": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Web.Security.HTTPCompression": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Core.Web.Security.TLSProfile": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.DR.Node": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.DR.Node.Credential": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.DR.Node.Session": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.DSM.FindMe": { "maxVersion": 2, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.DSM.Info": { "maxVersion": 2, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.DSM.Network": { "maxVersion": 2, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.DSM.PortEnable": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.DSM.PushNotification": { "maxVersion": 2, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.DisasterRecovery.Log": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.DisasterRecovery.Retention": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Entry.Request": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Entry.Request.Polling": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.BackgroundTask": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.CheckExist": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.CheckPermission": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Compress": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.CopyMove": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.CreateFolder": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Delete": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.DirSize": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Download": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.External.GoogleDrive": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Extract": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Favorite": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.FormUpload": { "maxVersion": 2, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Info": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.List": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.MD5": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Mount": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Mount.List": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Notify": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Property": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Property.ACLOwner": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Property.CompressSize": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Property.Mtime": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Rename": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Search": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Search.History": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Settings": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Sharing": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Sharing.Download": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Snapshot": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Thumb": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Timeout": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.UIString": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.Upload": { "maxVersion": 3, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.UserGrp": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.VFS.Connection": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.VFS.File": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.VFS.GDrive": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.VFS.Profile": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.VFS.Protocol": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.VFS.User": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FileStation.VirtualFolder": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.AppIndexing.Search": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.Bookmark": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.Elastic.SearchHistory": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.Elastic.Spotlight": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.Elastic.Term": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.File": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.File.Cover": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.File.Thumbnail": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.FileIndexing.Folder": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.FileIndexing.Highlight": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.FileIndexing.Indicate": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.FileIndexing.Search": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.FileIndexing.Status": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.FileIndexing.Term": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.Preference": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.Settings": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Finder.UserGrp": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FolderSharing.Download": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FolderSharing.List": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.FolderSharing.Thumb": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.License.HA": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.OAUTH.Client": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.OAUTH.Common": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.OAUTH.Log": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.OAUTH.Token": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Package": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PersonMailAccount": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PersonMailAccount.Contacts": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PersonMailAccount.Mail": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.Application.Info": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.MailAccount": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.MailAccount.Contacts": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.MailAccount.Mail": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.Notification.Conf": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.Notification.Device": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.Notification.Event": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.Notification.Filter": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.Notification.GDPR": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.Notification.Identifier": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.Notification.Mobile": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.Notification.Settings": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.Notification.Token": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.Notification.VapidPublicKey": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.Profile": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Personal.Profile.Photo": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Browse.Album": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Browse.Category": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Browse.Concept": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Browse.Diff": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Browse.Folder": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Browse.GeneralTag": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Browse.Geocoding": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Browse.Item": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Browse.Person": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Browse.RecentlyAdded": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Browse.Timeline": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Browse.Unit": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Discover.Category": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Discover.Similar": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Discover.Status": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Discover.Style": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Download": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Enhancement": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Index": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Search": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Setting.Admin": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Setting.Mobile": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Setting.User": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Sharing": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.SharingLogin": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Streaming": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Thumbnail": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Photo.Upload.Item": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Browse.Album": { "maxVersion": 2, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Browse.Category": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Browse.Concept": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Browse.Diff": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Browse.Folder": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Browse.GeneralTag": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Browse.Geocoding": { "maxVersion": 2, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Browse.Item": { "maxVersion": 3, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Browse.Person": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Browse.RecentlyAdded": { "maxVersion": 3, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Browse.Timeline": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Browse.Unit": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Discover.Category": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Discover.Similar": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Discover.Status": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Discover.Style": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Download": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Enhancement": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Index": { "maxVersion": 2, "minVersion": 2, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Permission": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Search": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Setting.User": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Sharing": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Streaming": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Thumbnail": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.PhotoTeam.Upload.Item": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.ResourceMonitor.EventRule": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.ResourceMonitor.Log": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.ResourceMonitor.Setting": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.S2S.Client": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.S2S.Client.Job": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.S2S.Server": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.S2S.Server.Pair": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SAS.APIRunner": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SAS.APIRunner.Chatbot": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SAS.Encryption": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SAS.Group": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SAS.Group.Members": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SAS.Guest": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SDS.Backup.Client.Common.Log": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SDS.Backup.Client.Common.Statistic": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SDS.Backup.Client.Common.Target": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SDS.Backup.Client.Common.Version": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SDS.Backup.Client.Explore.File": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SDS.Backup.Client.Explore.Folder": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SDS.Backup.Client.Explore.Job": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SDS.Backup.Client.Explore.Target": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SDS.Backup.Client.Explore.Version": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SDS.Backup.Client.Fuse.Target": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SecurityAdvisor.Conf": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SecurityAdvisor.Conf.Checklist": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SecurityAdvisor.Conf.Checklist.Alert": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SecurityAdvisor.Conf.Location": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SecurityAdvisor.LoginActivity": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SecurityAdvisor.Report": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SecurityAdvisor.Report.HTML": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.ShareLink.Action": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.ShareLink.Download": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.ShareLink.Manage": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Snap.Usage.Share": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Storage.CGI.Check": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Storage.CGI.DualEnclosure": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Storage.CGI.Enclosure": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Storage.CGI.Flashcache": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Storage.CGI.HddMan": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Storage.CGI.Pool": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Storage.CGI.Smart": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Storage.CGI.Smart.Scheduler": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Storage.CGI.Spare": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Storage.CGI.Spare.Conf": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Storage.CGI.Storage": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Storage.CGI.TaipeiEnclosure": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Storage.CGI.Volume": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.ActionRule": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.AddOns": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Alert": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Alert.Setting": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Analytics.Setting": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.AppCenter": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Archiving.Pull": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Archiving.Push": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.AudioOut": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.AudioPattern": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.AudioStream": { "maxVersion": 2, "minVersion": 1, "path": "SurveillanceStation/audioStreaming.cgi", }, "SYNO.SurveillanceStation.AxisAcsCtrler": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.AxisAcsCtrler.Search": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.CMS": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.CMS.DsSearch": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.CMS.Failover": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.CMS.GetDsStatus": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.CMS.SlavedsList": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.CMS.SlavedsWizard": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Camera": { "maxVersion": 9, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Camera.Event": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Camera.Export": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Camera.Group": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Camera.Import": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Camera.Intercom": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Camera.Search": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Camera.Status": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Camera.VolEval": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Camera.Wizard": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.CameraCap": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Device": { "maxVersion": 2, "minVersion": 1, "path": "SurveillanceStation/device.cgi", }, "SYNO.SurveillanceStation.DigitalOutput": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.DualAuth": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Emap": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Emap.Image": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Event": { "maxVersion": 5, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Event.Export": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Event.Mount": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Event.Mount.Wizard": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.ExternalDevice.IFTTT": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.ExternalDevice.Storage.USB": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.ExternalDevice.Webhook": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.ExternalEvent": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.ExternalRecording": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Fisheye": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.GlobalSearch": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Help": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.HomeMode": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.HomeMode.Mobile": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.IOModule": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.IOModule.Search": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.IPSpeaker": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.IPSpeaker.Broadcast": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.IPSpeaker.Group": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.IPSpeaker.Search": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.IVA": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.IVA.Archive": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.IVA.License": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.IVA.Recording": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.IVA.Report": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.IVA.Simulator": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.IVA.TaskGroup": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Info": { "maxVersion": 8, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.JoystickSetting": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Layout": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.License": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.LocalDisplay": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Log": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.MobileCam": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Notification": { "maxVersion": 8, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Notification.Email": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Notification.Filter": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Notification.MobileSetting": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Notification.PushService": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Notification.SMS": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Notification.SMS.ServiceProvider": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Notification.Schedule": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.PTZ": { "maxVersion": 5, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.PTZ.Patrol": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.PTZ.Preset": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.PersonalSettings.Image": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.PersonalSettings.Layout": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.PersonalSettings.Photo": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Player": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Player.LiveviewSrc": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Preload": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Recording": { "maxVersion": 6, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Recording.Bookmark": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Recording.Export": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Recording.Mount": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Recording.Mount.Wizard": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Recording.Reindex": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Recording.ShareRecording": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.RecordingPicker": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Share": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.SnapShot": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Sort": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Stream": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Stream.VideoStreaming": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Streaming": { "maxVersion": 2, "minVersion": 1, "path": "SurveillanceStation/streaming.cgi", }, "SYNO.SurveillanceStation.System": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.TaskQueue": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.TimeLapse": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.TimeLapse.Recording": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Transactions.Device": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Transactions.Transaction": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.UserPrivilege": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.VideoStream": { "maxVersion": 1, "minVersion": 1, "path": "SurveillanceStation/videoStreaming.cgi", }, "SYNO.SurveillanceStation.VideoStreaming": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.VisualStation": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.VisualStation.Install": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.VisualStation.Layout": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.VisualStation.Search": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.Webhook": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SurveillanceStation.YoutubeLive": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.AdvanceSharing": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.AdvanceSharing.Public": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.AppIntegration": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Authentication": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Config": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Connection": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.DBUsage": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.DSM": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Export": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Files": { "maxVersion": 3, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Info": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.KeyManagement": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Labels": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Log": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Metrics": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Metrics.Token": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Migration": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Node": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Node.Delete": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Node.Download": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Node.Restore": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Notifications": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Office": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Photos": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Privilege": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Profile": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Revisions": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.SCIM.Photo": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.SCIM.User": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Services.DocumentViewer": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Services.SynologyChat": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Services.VideoStation": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Settings": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Shard": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Share": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Share.Priv": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Sharing": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.String": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Tasks": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.TeamFolders": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Trash": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Users": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDrive.Webhooks": { "maxVersion": 2, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDriveShareSync.Config": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDriveShareSync.Connection": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDriveShareSync.Session": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.SynologyDriveShareSync.Session.Set": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.Utils": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.VideoPlayer.Subtitle": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.VideoPlayer.SynologyDrive.Subtitle": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.WebDAV.CalDAV": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.WebDAV.CalDAV.Calendar": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, "SYNO.WebDAV.Common": { "maxVersion": 1, "minVersion": 1, "path": "entry.cgi", "requestFormat": "JSON", }, }, "success": True, }
class Paras: COURSE_LABEL_SIZE = None FINE_2_COURSE = None IX_a = None IX_t = None IX_s = None IX_a_out = None IX_p_out = None @staticmethod def init(): print("Paras.init started...") Paras.COURSE_LABEL_SIZE = 6 Paras.FINE_2_COURSE = {} Paras.FINE_2_COURSE[()] = 0 Paras.FINE_2_COURSE[("NP", )] = 1 Paras.FINE_2_COURSE[("WHNP",)] = 1 Paras.FINE_2_COURSE[("NAC",)] = 1 Paras.FINE_2_COURSE[("NX",)] = 1 Paras.FINE_2_COURSE[("S", )] = 2 Paras.FINE_2_COURSE[("SINV",)] = 2 Paras.FINE_2_COURSE[("SBAR", )] = 2 Paras.FINE_2_COURSE[("SBARQ",)] = 2 Paras.FINE_2_COURSE[("SQ", )] = 2 Paras.FINE_2_COURSE[("VP",)] = 2 Paras.FINE_2_COURSE[("ADJP",)] = 3 Paras.FINE_2_COURSE[("ADVP",)] = 3 Paras.FINE_2_COURSE[("PP",)] = 3 Paras.FINE_2_COURSE[("WHADJP",)] = 3 Paras.FINE_2_COURSE[("WHADVP",)] = 3 Paras.FINE_2_COURSE[("WHPP",)] = 3 Paras.FINE_2_COURSE[("PRN",)] = 3 Paras.FINE_2_COURSE[("QP",)] = 3 Paras.FINE_2_COURSE[("RRC",)] = 3 Paras.FINE_2_COURSE[("UCP",)] = 3 Paras.FINE_2_COURSE[("LST",)] = 3 Paras.FINE_2_COURSE[("INTJ",)] = 4 Paras.FINE_2_COURSE[("PRT",)] = 4 Paras.FINE_2_COURSE[("CONJP",)] = 4 Paras.FINE_2_COURSE[("X",)] = 5 Paras.FINE_2_COURSE[("FRAG",)] = 5 Paras.IX_a = {} Paras.IX_t = {} Paras.IX_s = {} Paras.IX_a_out = {} Paras.IX_p_out = {} for span_len in range(1, 500): Paras.IX_a[span_len] = [[(0, j, i) for i in range(0, span_len - 1)] for j in range(1, span_len)] Paras.IX_t[span_len] = [[(i, j, span_len) for i in range(0, span_len - 1)] for j in range(1, span_len)] Paras.IX_s[span_len] = [[(j, span_len) for i in range(0, span_len - 1)] for j in range(1, span_len)] Paras.IX_a_out[span_len] = [(0, span_len, j) for j in range(0, span_len)] Paras.IX_p_out[span_len] = [(0, span_len, j) for j in range(1, span_len)] print("Paras.init finished...") if __name__ == '__main__': Paras.init()
def find_slowest_time(messages): simulated_communication_times = {message.sender: message.body['simulated_time'] for message in messages} slowest_client = max(simulated_communication_times, key=simulated_communication_times.get) simulated_time = simulated_communication_times[ slowest_client] # simulated time it would take for server to receive all values return simulated_time
# Реализуйте функцию is_palindrome, которая принимает на вход слово, # определяет является ли оно палиндромом и возвращает логическое значение. # def is_palindrome(string): # i = 0 # out = True # while i < len(string) - 1: # if string[i] != string[-(i+1)]: # out = False # break # i += 1 # return out def is_palindrome(string): return string == string[::-1] print(is_palindrome('radar1'))
''' Excited States software: qFit 3.0 Contributors: Saulo H. P. de Oliveira, Gydo van Zundert, and Henry van den Bedem. Contact: [email protected] Copyright (C) 2009-2019 Stanford University Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: This entire text, including the above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ''' BondLengthTable = {'H': {'H': '0.7380', 'C': '1.0900', 'N': '1.0100', 'O': '0.9600', 'F': '0.9200', 'Cl': '1.2800', 'Br': '1.4100', 'I': '1.6000', 'P': '1.4100', 'S': '1.3400'}, 'C': {'H': '1.0900', 'C': '1.5260', 'N': '1.4700', 'O': '1.4400', 'F': '1.3700', 'Cl': '1.8000', 'Br': '1.9400', 'I': '2.1600', 'P': '1.8300', 'S': '1.8200'}, 'N': {'H': '1.0100', 'C': '1.4700', 'N': '1.4410', 'O': '1.4200', 'F': '1.4200', 'Cl': '1.7500', 'Br': '1.9300', 'I': '2.1200', 'P': '1.7200', 'S': '1.6900'}, 'O': {'H': '0.9600', 'C': '1.4400', 'N': '1.4200', 'O': '1.4600', 'F': '1.4100', 'Cl': '1.7000', 'Br': '1.7900', 'I': '2.1100', 'P': '1.6400', 'S': '1.6500'}, 'F': {'H': '0.9200', 'C': '1.3700', 'N': '1.4200', 'O': '1.4100', 'F': '1.4060', 'P': '1.5000', 'S': '1.5800'}, 'Cl': {'H': '1.2800', 'C': '1.8000', 'N': '1.7500', 'O': '1.7000', 'Cl': '2.0310', 'P': '2.0400', 'S': '2.0300'}, 'Br': {'H': '1.4100', 'C': '1.9400', 'N': '1.9300', 'O': '1.7900', 'Br': '2.3370', 'P': '2.2400', 'S': '2.2100'}, 'I': {'H': '1.6000', 'C': '2.1600', 'N': '2.1200', 'O': '2.1100', 'I': '2.8360', 'P': '2.4900', 'S': '2.5600'}, 'P': {'H': '1.4100', 'C': '1.8300', 'N': '1.7200', 'O': '1.6400', 'F': '1.5000', 'Cl': '2.0400', 'Br': '2.2400', 'I': '2.4900', 'P': '2.3240', 'S': '2.1200'}, 'S': {'H': '1.3400', 'C': '1.8200', 'N': '1.6900', 'O': '1.6500', 'F': '1.5800', 'Cl': '2.0300', 'Br': '2.2100', 'I': '2.5600', 'P': '2.1200', 'S': '2.0380'}}
jobs = 1 mid_x = -0.5 mid_y = 0.0 render_width = 2.5 render_height = 2.5 iterations = 256 width = 50 height = 25 output = [0] * (width * height) def mandelbrot_int(cx, cy): int_precision = 28 zx = 0 zy = 0 cx = int(cx * (1 << int_precision)) cy = int(cy * (1 << int_precision)) depth = None for d in range(iterations): sq_zx = (zx * zx) >> int_precision sq_zy = (zy * zy) >> int_precision if sq_zx + sq_zy > (4 << int_precision): depth = d break new_zx = sq_zx - sq_zy + cx zy = ((2 * zx * zy) >> int_precision) + cy zx = new_zx return depth def mandelbrot_float(cx, cy): zx = 0 zy = 0 depth = 0 for d in range(iterations) : sq_zx = zx * zx sq_zy = zy * zy if sq_zx + sq_zy > 4 : depth = d break new_zx = sq_zx - sq_zy + cx zy = (2 * zx * zy) + cy zx = new_zx return depth def generate_mandelbrot_range(job, mandel_func): for iy in range(job, height, jobs): for ix in range(0, width): i = iy * width + ix cx = (ix - (width / 2)) * (render_width / width) + mid_x cy = (iy - (height / 2)) * (render_height / height) + mid_y depth = mandel_func(cx, cy) output[i] = "#" if depth == 0 else " " #chr(max(32, min(126, depth))) def main(use_float = False): mandel_func = mandelbrot_float if use_float else mandelbrot_int generate_mandelbrot_range(0, mandel_func) for y in range(height): start = y * width print("".join(output[start : start + width])) if __name__ == "__main__": main(True)
#!/usr/bin/env python # -*- coding: utf-8 -*- def get_tensor_shape(t): return [d for d in t.shape] def get_tensors_shapes_string(tensors): res = [] for t in tensors: res.extend([str(v) for v in get_tensor_shape(t)]) return " ".join(res)
__author__ = 'Rahul Gupta' # Contains relevant constants for running the LDSC pipeline for the Pan Ancestry project. project_dir = '/Volumes/rahul/Projects/2020_ukb_diverse_pops/Experiments/200501_ldsc_div_pops_pipeline/Data/' flat_file_location = 'gs://ukb-diverse-pops/sumstats_flat_files/' bucket = 'rgupta-ldsc' # ancestries = ['AFR', 'AMR', 'CSA', 'EAS', 'EUR', 'MID'] output_bucket = f'gs://{bucket}/' #anc_to_ldscore = lambda anc: f'gs://ukb-diverse-pops-public/ld_release/UKBB.{anc}' anc_to_ldscore = lambda anc: f'gs://rgupta-ldsc/ld/UKBB.{anc}'
print('i am batman', end='\n') print('hello world', end='\t\t') print('this is cool\n', end=' ----- ') print('i am still here')
# -*- coding: utf-8 -*- """Top-level package for DjangoCMS Blog plugin.""" __author__ = """Carlos Martinez""" __email__ = '[email protected]' __version__ = '0.1.2'
# Code generated by font_to_py.py. # Font: Arial.ttf Char set: 0123456789: # Cmd: ./font_to_py.py Arial.ttf 50 arial_50.py -x -c 0123456789: version = '0.33' def height(): return 50 def baseline(): return 49 def max_width(): return 37 def hmap(): return True def reverse(): return False def monospaced(): return False def min_ch(): return 48 def max_ch(): return 63 _font =\ b'\x25\x00\x00\x03\xfe\x00\x00\x00\x1f\xff\xc0\x00\x00\x7f\xff\xf0'\ b'\x00\x00\xff\xff\xf8\x00\x01\xff\xff\xfc\x00\x03\xff\xff\xfe\x00'\ b'\x07\xfe\x03\xff\x00\x07\xf8\x00\xff\x80\x0f\xf0\x00\x7f\x80\x0f'\ b'\xe0\x00\x3f\x80\x0f\xc0\x00\x1f\xc0\x1f\xc0\x00\x1f\xc0\x1f\xc0'\ b'\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x03\x80\x00\x0f\xc0\x00\x00\x00'\ b'\x0f\xc0\x00\x00\x00\x0f\xc0\x00\x00\x00\x1f\x80\x00\x00\x00\x3f'\ b'\x80\x00\x00\x00\x7f\x00\x00\x00\x00\xff\x00\x00\x00\x01\xfe\x00'\ b'\x00\x00\x03\xfc\x00\x00\x00\x07\xf8\x00\x00\x00\x0f\xf0\x00\x00'\ b'\x00\x1f\xe0\x00\x00\x00\x3f\xc0\x00\x00\x00\x7f\x80\x00\x00\x00'\ b'\x7f\x00\x00\x00\x00\xfe\x00\x00\x00\x00\xfc\x00\x00\x00\x01\xfc'\ b'\x00\x00\x00\x01\xfc\x00\x00\x00\x01\xf8\x00\x00\x00\x01\xf8\x00'\ b'\x00\x00\x01\xf8\x00\x00\x00\x01\xf8\x00\x00\x00\x01\xf8\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xf8\x00\x00\x00\x01'\ b'\xf8\x00\x00\x00\x01\xf8\x00\x00\x00\x01\xf8\x00\x00\x00\x01\xf8'\ b'\x00\x00\x00\x01\xf8\x00\x00\x00\x00\x00\x00\x00\x25\x00\x00\x00'\ b'\x00\x00\x00\x00\x03\xfe\x00\x00\x00\x0f\xff\x80\x00\x00\x3f\xff'\ b'\xe0\x00\x00\x7f\xff\xf0\x00\x00\xff\xff\xf8\x00\x01\xff\xff\xfc'\ b'\x00\x03\xfe\x07\xfc\x00\x03\xfc\x01\xfe\x00\x07\xf0\x00\xfe\x00'\ b'\x07\xf0\x00\x7f\x00\x07\xe0\x00\x3f\x00\x0f\xe0\x00\x3f\x00\x0f'\ b'\xc0\x00\x1f\x80\x0f\xc0\x00\x1f\x80\x0f\xc0\x00\x1f\x80\x0f\xc0'\ b'\x00\x1f\x80\x1f\x80\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f\x80\x00'\ b'\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f\x80\x00\x0f'\ b'\xc0\x1f\x80\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f\x80\x00\x0f\xc0'\ b'\x1f\x80\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f'\ b'\x80\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f\x80'\ b'\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x0f\xc0\x00\x1f\x80\x0f\xc0\x00'\ b'\x1f\x80\x0f\xc0\x00\x1f\x80\x0f\xc0\x00\x1f\x80\x0f\xe0\x00\x3f'\ b'\x80\x07\xe0\x00\x3f\x00\x07\xf0\x00\x7f\x00\x07\xf8\x00\xff\x00'\ b'\x03\xfc\x01\xfe\x00\x03\xff\x07\xfe\x00\x01\xff\xff\xfc\x00\x00'\ b'\xff\xff\xf8\x00\x00\x7f\xff\xf0\x00\x00\x3f\xff\xe0\x00\x00\x0f'\ b'\xff\x80\x00\x00\x03\xfe\x00\x00\x25\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x07\x80\x00\x00\x00\x0f\x80\x00\x00\x00\x0f\x80\x00\x00\x00'\ b'\x1f\x80\x00\x00\x00\x3f\x80\x00\x00\x00\x7f\x80\x00\x00\x00\xff'\ b'\x80\x00\x00\x03\xff\x80\x00\x00\x07\xff\x80\x00\x00\x0f\xff\x80'\ b'\x00\x00\x3f\xff\x80\x00\x00\xff\xdf\x80\x00\x01\xff\x9f\x80\x00'\ b'\x01\xfe\x1f\x80\x00\x01\xfc\x1f\x80\x00\x01\xf0\x1f\x80\x00\x01'\ b'\xc0\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00'\ b'\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f'\ b'\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80'\ b'\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00'\ b'\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00'\ b'\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00'\ b'\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f'\ b'\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80'\ b'\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00'\ b'\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00'\ b'\x00\x00\x00\x00\x25\x00\x00\x00\x00\x00\x00\x00\x03\xfe\x00\x00'\ b'\x00\x1f\xff\xc0\x00\x00\x7f\xff\xe0\x00\x01\xff\xff\xf8\x00\x03'\ b'\xff\xff\xfc\x00\x03\xff\xff\xfc\x00\x07\xfe\x07\xfe\x00\x0f\xf0'\ b'\x00\xff\x00\x0f\xe0\x00\x7f\x00\x0f\xc0\x00\x3f\x00\x1f\xc0\x00'\ b'\x3f\x80\x1f\x80\x00\x1f\x80\x1f\x80\x00\x1f\x80\x03\x80\x00\x1f'\ b'\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80'\ b'\x00\x00\x00\x3f\x00\x00\x00\x00\x3f\x00\x00\x00\x00\x7f\x00\x00'\ b'\x00\x00\xfe\x00\x00\x00\x01\xfe\x00\x00\x00\x03\xfc\x00\x00\x00'\ b'\x07\xf8\x00\x00\x00\x0f\xf0\x00\x00\x00\x1f\xe0\x00\x00\x00\x3f'\ b'\xe0\x00\x00\x00\x7f\xc0\x00\x00\x00\xff\x80\x00\x00\x01\xfe\x00'\ b'\x00\x00\x03\xfc\x00\x00\x00\x07\xf8\x00\x00\x00\x1f\xf0\x00\x00'\ b'\x00\x3f\xe0\x00\x00\x00\x7f\xc0\x00\x00\x00\xff\x80\x00\x00\x01'\ b'\xfe\x00\x00\x00\x03\xfc\x00\x00\x00\x07\xf8\x00\x00\x00\x07\xf0'\ b'\x00\x00\x00\x0f\xe0\x00\x00\x00\x0f\xe0\x00\x00\x00\x1f\xff\xff'\ b'\xff\x80\x1f\xff\xff\xff\x80\x3f\xff\xff\xff\x80\x3f\xff\xff\xff'\ b'\x80\x3f\xff\xff\xff\x80\x3f\xff\xff\xff\x80\x00\x00\x00\x00\x00'\ b'\x25\x00\x00\x00\x00\x00\x00\x00\x07\xfc\x00\x00\x00\x1f\xff\x80'\ b'\x00\x00\x7f\xff\xe0\x00\x00\xff\xff\xf0\x00\x01\xff\xff\xf8\x00'\ b'\x03\xff\xff\xfc\x00\x07\xfc\x07\xfe\x00\x0f\xf0\x01\xfe\x00\x0f'\ b'\xe0\x00\xfe\x00\x0f\xc0\x00\x7f\x00\x1f\xc0\x00\x3f\x00\x1f\x80'\ b'\x00\x3f\x00\x03\x80\x00\x3f\x00\x00\x00\x00\x3f\x00\x00\x00\x00'\ b'\x3f\x00\x00\x00\x00\x7e\x00\x00\x00\x00\xfe\x00\x00\x00\x01\xfc'\ b'\x00\x00\x00\x0f\xf8\x00\x00\x01\xff\xf0\x00\x00\x01\xff\xe0\x00'\ b'\x00\x01\xff\xe0\x00\x00\x01\xff\xf8\x00\x00\x01\xff\xfc\x00\x00'\ b'\x01\x8f\xfe\x00\x00\x00\x01\xff\x00\x00\x00\x00\x7f\x00\x00\x00'\ b'\x00\x3f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\xc0\x00\x00\x00'\ b'\x0f\xc0\x00\x00\x00\x0f\xc0\x00\x00\x00\x0f\xc0\x00\x00\x00\x0f'\ b'\xc0\x00\x00\x00\x0f\xc0\x03\x80\x00\x0f\xc0\x1f\x80\x00\x0f\xc0'\ b'\x1f\xc0\x00\x1f\x80\x1f\xc0\x00\x1f\x80\x0f\xe0\x00\x3f\x80\x0f'\ b'\xf0\x00\x7f\x00\x07\xf8\x00\xff\x00\x07\xfe\x03\xfe\x00\x03\xff'\ b'\xff\xfc\x00\x01\xff\xff\xf8\x00\x00\xff\xff\xf0\x00\x00\x7f\xff'\ b'\xe0\x00\x00\x1f\xff\x80\x00\x00\x03\xfc\x00\x00\x25\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xf0\x00\x00\x00\x03'\ b'\xf0\x00\x00\x00\x07\xf0\x00\x00\x00\x0f\xf0\x00\x00\x00\x0f\xf0'\ b'\x00\x00\x00\x1f\xf0\x00\x00\x00\x3f\xf0\x00\x00\x00\x7f\xf0\x00'\ b'\x00\x00\x7f\xf0\x00\x00\x00\xff\xf0\x00\x00\x01\xff\xf0\x00\x00'\ b'\x01\xff\xf0\x00\x00\x03\xfb\xf0\x00\x00\x07\xf3\xf0\x00\x00\x0f'\ b'\xf3\xf0\x00\x00\x0f\xe3\xf0\x00\x00\x1f\xc3\xf0\x00\x00\x3f\x83'\ b'\xf0\x00\x00\x7f\x83\xf0\x00\x00\x7f\x03\xf0\x00\x00\xfe\x03\xf0'\ b'\x00\x01\xfc\x03\xf0\x00\x03\xfc\x03\xf0\x00\x03\xf8\x03\xf0\x00'\ b'\x07\xf0\x03\xf0\x00\x0f\xf0\x03\xf0\x00\x0f\xe0\x03\xf0\x00\x1f'\ b'\xc0\x03\xf0\x00\x3f\x80\x03\xf0\x00\x7f\x80\x03\xf0\x00\x7f\xff'\ b'\xff\xff\xc0\x7f\xff\xff\xff\xc0\x7f\xff\xff\xff\xc0\x7f\xff\xff'\ b'\xff\xc0\x7f\xff\xff\xff\xc0\x7f\xff\xff\xff\xc0\x00\x00\x03\xf0'\ b'\x00\x00\x00\x03\xf0\x00\x00\x00\x03\xf0\x00\x00\x00\x03\xf0\x00'\ b'\x00\x00\x03\xf0\x00\x00\x00\x03\xf0\x00\x00\x00\x03\xf0\x00\x00'\ b'\x00\x03\xf0\x00\x00\x00\x03\xf0\x00\x00\x00\x03\xf0\x00\x00\x00'\ b'\x03\xf0\x00\x00\x00\x00\x00\x00\x25\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x7f\xff\xff\x00\x00\x7f\xff\xff\x00\x00\xff'\ b'\xff\xff\x00\x00\xff\xff\xff\x00\x00\xff\xff\xff\x00\x00\xff\xff'\ b'\xff\x00\x00\xfc\x00\x00\x00\x01\xfc\x00\x00\x00\x01\xf8\x00\x00'\ b'\x00\x01\xf8\x00\x00\x00\x01\xf8\x00\x00\x00\x01\xf8\x00\x00\x00'\ b'\x03\xf8\x00\x00\x00\x03\xf0\x00\x00\x00\x03\xf0\x00\x00\x00\x03'\ b'\xf0\x7f\x00\x00\x03\xf3\xff\xc0\x00\x07\xf7\xff\xf0\x00\x07\xff'\ b'\xff\xf8\x00\x07\xff\xff\xfc\x00\x07\xff\xff\xfe\x00\x07\xfe\x03'\ b'\xff\x00\x0f\xf8\x00\xff\x00\x0f\xf0\x00\x7f\x80\x0f\xe0\x00\x3f'\ b'\x80\x01\xc0\x00\x1f\x80\x00\x00\x00\x1f\xc0\x00\x00\x00\x0f\xc0'\ b'\x00\x00\x00\x0f\xc0\x00\x00\x00\x0f\xc0\x00\x00\x00\x0f\xc0\x00'\ b'\x00\x00\x0f\xc0\x00\x00\x00\x0f\xc0\x00\x00\x00\x0f\xc0\x00\x00'\ b'\x00\x0f\xc0\x1f\x80\x00\x1f\x80\x1f\x80\x00\x1f\x80\x1f\xc0\x00'\ b'\x1f\x80\x0f\xc0\x00\x3f\x00\x0f\xe0\x00\x7f\x00\x07\xf0\x00\xfe'\ b'\x00\x07\xfc\x03\xfe\x00\x03\xff\xff\xfc\x00\x01\xff\xff\xf8\x00'\ b'\x00\xff\xff\xf0\x00\x00\x7f\xff\xe0\x00\x00\x1f\xff\x80\x00\x00'\ b'\x07\xfc\x00\x00\x25\x00\x00\x00\x00\x00\x00\x00\x01\xfe\x00\x00'\ b'\x00\x0f\xff\xc0\x00\x00\x3f\xff\xf0\x00\x00\x7f\xff\xf8\x00\x00'\ b'\xff\xff\xfc\x00\x01\xff\xff\xfe\x00\x03\xff\x03\xfe\x00\x03\xf8'\ b'\x00\xff\x00\x07\xf0\x00\x7f\x00\x07\xf0\x00\x3f\x00\x0f\xe0\x00'\ b'\x3f\x80\x0f\xc0\x00\x1f\x80\x0f\xc0\x00\x00\x00\x1f\x80\x00\x00'\ b'\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00'\ b'\x1f\x00\xff\x00\x00\x3f\x07\xff\xc0\x00\x3f\x0f\xff\xf0\x00\x3f'\ b'\x3f\xff\xf8\x00\x3f\x7f\xff\xfc\x00\x3f\x7f\xff\xfe\x00\x3f\xfe'\ b'\x03\xff\x00\x3f\xf0\x00\xff\x00\x3f\xe0\x00\x7f\x80\x3f\xc0\x00'\ b'\x3f\x80\x3f\x80\x00\x1f\x80\x3f\x80\x00\x1f\xc0\x3f\x00\x00\x0f'\ b'\xc0\x3f\x00\x00\x0f\xc0\x3f\x00\x00\x0f\xc0\x3f\x00\x00\x0f\xc0'\ b'\x1f\x00\x00\x0f\xc0\x1f\x00\x00\x0f\xc0\x1f\x00\x00\x0f\xc0\x1f'\ b'\x80\x00\x1f\xc0\x1f\x80\x00\x1f\x80\x0f\xc0\x00\x1f\x80\x0f\xc0'\ b'\x00\x3f\x80\x07\xe0\x00\x7f\x00\x07\xf8\x00\xff\x00\x03\xfe\x03'\ b'\xfe\x00\x01\xff\xff\xfc\x00\x01\xff\xff\xfc\x00\x00\x7f\xff\xf8'\ b'\x00\x00\x3f\xff\xe0\x00\x00\x0f\xff\xc0\x00\x00\x01\xfe\x00\x00'\ b'\x25\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1f\xff\xff\xff'\ b'\xc0\x1f\xff\xff\xff\xc0\x1f\xff\xff\xff\xc0\x1f\xff\xff\xff\xc0'\ b'\x1f\xff\xff\xff\xc0\x1f\xff\xff\xff\x80\x00\x00\x00\x0f\x80\x00'\ b'\x00\x00\x1f\x00\x00\x00\x00\x3e\x00\x00\x00\x00\x7c\x00\x00\x00'\ b'\x00\xfc\x00\x00\x00\x01\xf8\x00\x00\x00\x01\xf0\x00\x00\x00\x03'\ b'\xf0\x00\x00\x00\x07\xe0\x00\x00\x00\x07\xc0\x00\x00\x00\x0f\xc0'\ b'\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x3f\x00\x00'\ b'\x00\x00\x3f\x00\x00\x00\x00\x7e\x00\x00\x00\x00\x7e\x00\x00\x00'\ b'\x00\xfc\x00\x00\x00\x00\xfc\x00\x00\x00\x01\xf8\x00\x00\x00\x01'\ b'\xf8\x00\x00\x00\x03\xf0\x00\x00\x00\x03\xf0\x00\x00\x00\x03\xf0'\ b'\x00\x00\x00\x07\xe0\x00\x00\x00\x07\xe0\x00\x00\x00\x07\xe0\x00'\ b'\x00\x00\x0f\xc0\x00\x00\x00\x0f\xc0\x00\x00\x00\x0f\xc0\x00\x00'\ b'\x00\x0f\xc0\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00'\ b'\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x3f'\ b'\x00\x00\x00\x00\x3f\x00\x00\x00\x00\x3f\x00\x00\x00\x00\x3f\x00'\ b'\x00\x00\x00\x3f\x00\x00\x00\x00\x00\x00\x00\x00\x25\x00\x00\x00'\ b'\x00\x00\x00\x00\x03\xfe\x00\x00\x00\x1f\xff\x80\x00\x00\x3f\xff'\ b'\xe0\x00\x00\x7f\xff\xf0\x00\x00\xff\xff\xf8\x00\x01\xff\xff\xfc'\ b'\x00\x03\xfe\x03\xfe\x00\x03\xf8\x00\xfe\x00\x03\xf0\x00\x7e\x00'\ b'\x07\xf0\x00\x7f\x00\x07\xe0\x00\x3f\x00\x07\xe0\x00\x3f\x00\x07'\ b'\xe0\x00\x3f\x00\x07\xe0\x00\x3f\x00\x07\xe0\x00\x3f\x00\x07\xf0'\ b'\x00\x7f\x00\x03\xf0\x00\x7e\x00\x03\xf8\x00\xfe\x00\x01\xfe\x03'\ b'\xfc\x00\x00\xff\xff\xf8\x00\x00\x7f\xff\xf0\x00\x00\x1f\xff\xc0'\ b'\x00\x00\x3f\xff\xe0\x00\x00\xff\xff\xf8\x00\x01\xff\xff\xfc\x00'\ b'\x03\xfe\x03\xfe\x00\x07\xf8\x00\xff\x00\x07\xe0\x00\x7f\x00\x0f'\ b'\xe0\x00\x3f\x80\x0f\xc0\x00\x1f\x80\x1f\xc0\x00\x1f\xc0\x1f\x80'\ b'\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f\x80\x00'\ b'\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f\xc0\x00\x1f'\ b'\xc0\x0f\xc0\x00\x1f\x80\x0f\xc0\x00\x3f\x80\x0f\xe0\x00\x3f\x80'\ b'\x07\xf8\x00\xff\x00\x07\xfe\x03\xff\x00\x03\xff\xff\xfe\x00\x01'\ b'\xff\xff\xfc\x00\x00\xff\xff\xf8\x00\x00\x7f\xff\xf0\x00\x00\x1f'\ b'\xff\xc0\x00\x00\x03\xfe\x00\x00\x25\x00\x00\x00\x00\x00\x00\x00'\ b'\x03\xfc\x00\x00\x00\x1f\xff\x00\x00\x00\x7f\xff\xc0\x00\x00\xff'\ b'\xff\xf0\x00\x01\xff\xff\xf8\x00\x03\xff\xff\xfc\x00\x03\xfe\x03'\ b'\xfc\x00\x07\xf8\x00\xfe\x00\x0f\xf0\x00\x7e\x00\x0f\xe0\x00\x3f'\ b'\x00\x0f\xe0\x00\x1f\x00\x1f\xc0\x00\x1f\x80\x1f\xc0\x00\x0f\x80'\ b'\x1f\x80\x00\x0f\x80\x1f\x80\x00\x0f\x80\x1f\x80\x00\x0f\xc0\x1f'\ b'\x80\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f\x80\x00\x0f\xc0\x1f\x80'\ b'\x00\x0f\xc0\x1f\xc0\x00\x1f\xc0\x0f\xc0\x00\x1f\xc0\x0f\xe0\x00'\ b'\x3f\xc0\x0f\xf0\x00\x7f\xc0\x07\xf8\x00\xff\xc0\x07\xfe\x03\xff'\ b'\xc0\x03\xff\xff\xff\xc0\x01\xff\xff\xef\xc0\x00\xff\xff\xcf\xc0'\ b'\x00\x7f\xff\x0f\xc0\x00\x1f\xfe\x0f\xc0\x00\x07\xf0\x0f\xc0\x00'\ b'\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00\x00\x1f\x80\x00\x00'\ b'\x00\x1f\x80\x00\x00\x00\x3f\x00\x0f\xc0\x00\x3f\x00\x0f\xc0\x00'\ b'\x3f\x00\x0f\xe0\x00\x7e\x00\x07\xe0\x00\xfe\x00\x07\xf0\x01\xfc'\ b'\x00\x03\xfc\x07\xfc\x00\x03\xff\xff\xf8\x00\x01\xff\xff\xf0\x00'\ b'\x00\xff\xff\xe0\x00\x00\x7f\xff\xc0\x00\x00\x1f\xff\x00\x00\x00'\ b'\x07\xf8\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x03\xf0\x00\x03\xf0\x00\x03\xf0\x00\x03\xf0\x00\x03\xf0\x00\x03'\ b'\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x03\xf0\x00\x03\xf0\x00\x03\xf0\x00'\ b'\x03\xf0\x00\x03\xf0\x00\x03\xf0\x00\x00\x00\x00' _index =\ b'\x00\x00\xfc\x00\xf8\x01\xf4\x02\xf0\x03\xec\x04\xe8\x05\xe4\x06'\ b'\xe0\x07\xdc\x08\xd8\x09\xd4\x0a\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x6c\x0b' _mvfont = memoryview(_font) _mvi = memoryview(_index) ifb = lambda l : l[0] | (l[1] << 8) def get_ch(ch): oc = ord(ch) ioff = 2 * (oc - 48 + 1) if oc >= 48 and oc <= 63 else 0 doff = ifb(_mvi[ioff : ]) width = ifb(_mvfont[doff : ]) next_offs = doff + 2 + ((width - 1)//8 + 1) * 50 return _mvfont[doff + 2:next_offs], 50, width
def get_divisors(number: int) -> list: # we only accept positive numbers assert number >= 1, f'{number} Only positive numbers are allowed' return [i for i in range(0, number + 1) if i % 2 == 0] def run(): try: number = int(input('Enter a number to calculate all divisors: ')) print(get_divisors(number)) print('End of the program') except ValueError: print('You must enter only numbers') if __name__ == '__main__': run()
"""Utility functions.""" def node_type(node) -> str: """ Get the type of the node. This is the Python equivalent of the [`nodeType`](https://github.com/stencila/schema/blob/bd90c808d14136c8489ce8bb945b2bb6085b9356/ts/util/nodeType.ts) function. """ # pylint: disable=R0911 if node is None: return "Null" if isinstance(node, bool): return "Boolean" if isinstance(node, (int, float)): return "Number" if isinstance(node, str): return "Text" if isinstance(node, (list, tuple)): return "Array" if isinstance(node, dict): type_name = node.get("type") if type_name is not None: return type_name return "Object"
# # Copyright 2019 The Project Oak Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # This file is configuring the toolchain to use for wasm32, which is clang and llvm. # It overwrites the tool paths to point to clang and sets the needed flags for different # types of actions. load( "@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl", "action_config", "feature", "flag_group", "flag_set", "tool", "tool_path", ) load("@bazel_tools//tools/build_defs/cc:action_names.bzl", "ACTION_NAMES") all_link_actions = [ ACTION_NAMES.cpp_link_executable, ACTION_NAMES.cpp_link_dynamic_library, ACTION_NAMES.cpp_link_nodeps_dynamic_library, ACTION_NAMES.cpp_link_static_library, ] lto_index_actions = [ ACTION_NAMES.lto_index_for_executable, ACTION_NAMES.lto_index_for_dynamic_library, ACTION_NAMES.lto_index_for_nodeps_dynamic_library, ] all_cpp_compile_actions = [ ACTION_NAMES.cpp_compile, ACTION_NAMES.linkstamp_compile, ACTION_NAMES.cpp_header_parsing, ACTION_NAMES.cpp_module_compile, ACTION_NAMES.cpp_module_codegen, ACTION_NAMES.clif_match, ] def _impl(ctx): # Overwrite the paths to point to clang. # TODO: Bazel has a limitation as these paths can be only relative to the toolchain folder. # The hack around this is to have a script file that just redirects to the correct binary. # We need to fix this once Bazel does this properly. tool_paths = [ tool_path( name = "gcc", path = "clang.sh", ), tool_path( name = "ld", path = "clang.sh", ), tool_path( name = "ar", path = "/bin/false", ), tool_path( name = "cpp", path = "/bin/false", ), tool_path( name = "gcov", path = "/bin/false", ), tool_path( name = "nm", path = "/bin/false", ), tool_path( name = "objdump", path = "/bin/false", ), tool_path( name = "strip", path = "/bin/false", ), ] # Setup the correct flags for compile + link + lto wasm_flags = feature( name = "wasm_flags", enabled = True, flag_sets = [ flag_set( actions = all_cpp_compile_actions + all_link_actions + lto_index_actions, flag_groups = [ flag_group( flags = [ "-ffreestanding", # Bazel require explicit include paths for system headers "-isystem", "external/clang_llvm/lib/clang/8.0.0/include", "-isystem", "external/clang_llvm/include/c++/v1/", "--target=wasm32-unknown-unknown", # Make sure we don't link stdlib "-nostdlib", ], ), ], ), ], ) # Flags to pass to lld. link_flags = feature( name = "link_flags", enabled = True, flag_sets = [ flag_set( actions = all_link_actions, flag_groups = [ flag_group( flags = [ # No main file for wasm. "--for-linker", "-no-entry", # Export symbol in the executable which are marked as # visibility=default. "--for-linker", "--export-dynamic", # Allow undefined symbols. These will be defined by the wasm vm. "--for-linker", "--allow-undefined", ], ), ], ), ], ) # Put everythign together and return a config_info. return cc_common.create_cc_toolchain_config_info( ctx = ctx, toolchain_identifier = "clang_llvm-toolchain", host_system_name = "i686-unknown-linux-gnu", target_system_name = "wasm32-unknown-unknown", target_cpu = "wasm32", target_libc = "unknown", compiler = "clang", abi_version = "unknown", abi_libc_version = "unknown", tool_paths = tool_paths, features = [ wasm_flags, link_flags, ], ) cc_toolchain_config = rule( implementation = _impl, attrs = {}, provides = [CcToolchainConfigInfo], )
# # Copyright (C) 2018 The Android Open Source Project # # 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. # # model model = Model() i1 = Input("op1", "TENSOR_FLOAT32", "{1, 2, 3, 1}") i2 = Parameter("op2", "TENSOR_INT32", "{4, 2}", [0, 0, 0, 2, 1, 3, 0, 0]) i3 = Output("op3", "TENSOR_FLOAT32", "{1, 4, 7, 1}") model = model.Operation("PAD", i1, i2).To(i3) model = model.RelaxedExecution(True) # Example 1. Input in operand 0, input0 = {i1: # input 0 [1.0, 2.0, 3.0, 4.0, 5.0, 6.0]} output0 = {i3: # output 0 [0, 1, 2, 3, 0, 0, 0, 0, 4, 5, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]} # Instantiate an example Example((input0, output0))
class MissingSessionError(Exception): """Excetion raised for when the user tries to access a database session before it is created.""" def __init__(self): msg = """ No session found! Either you are not currently in a request context, or you need to manually create a session context by using a `db` instance as a context manager e.g.: with db(): db.session.query(User).all() """ super().__init__(msg) class SessionNotInitialisedError(Exception): """Exception raised when the user creates a new DB session without first initialising it.""" def __init__(self): msg = """ Session not initialised! Ensure that DBSessionMiddleware has been initialised before attempting database access. """ super().__init__(msg)
class _MultiHeadFunc: """base mixin for multiheaded losses and metrics""" def __init__(self, **kwargs): self._fns = {} for k, v in kwargs.items(): if not callable(v): raise TypeError( f'functions passed to {self.__class__.__name__} must be callable' f' but got type {type(v)} for key {k}!' ) self._fns[k] = v def items(self): return self._fns.items() def keys(self): return self._fns.keys() def values(self): return self._fns.values() def _argrepr(self): return ', '.join(f'{k}={v}' for k, v in self.items()) def __repr__(self): return f'{self.__class__.__name__}({self._argrepr()})'
numero=int(input("Digite um número: ")) antecessor=(numero-1) sucessor=(numero+1) print('O número antecessor é: ', antecessor) print('O número sucessor é: ', sucessor)
#TRABALHANDO COM STRINGS #CONTA A QUANTIDADE DE LETRA A NUMA FRASE E INDICA SUAS POSIÇÕES while True: frase = input("Digite uma frase: ").strip().upper() if "SAIR" == frase: print("saiu", "\n") break elif "SAIR" != frase: print("ANALISANDO FRASE...") print("A letra A aparece {} vezes na frase".format(frase.count("A"))) print("A primeira letra A apareceu na posição {}".format(frase.find("A"))) #find() indica a posição. Procura a partir do lado esquerdo. print("A última letra A apareceu na posição {}".format(frase.rfind("A")), "\n") #rfind() indica a posição. Procura a partir do lado direito.
__title__ = 'frashfeed-python' __description__ = 'News feed for Alexa.' __url__ = 'https://github.com/alexiob/flashfeed-python' __version__ = '1.0.2' __author__ = 'Alessandro Iob' __author_email__ = '[email protected]' __license__ = 'MIT' __copyright__ = 'Copyright 2019 Alessandro Iob'
class NotAnEffect(): """ Not an effect (doesn't inherit from AbstractEffect). """ def __init__(self) -> None: pass def compose(self) -> None: pass # pragma: no cover def __repr__(self) -> str: return "NotAnEffect()" # pragma: no cover
""" radish ~~~~~~ The root from red to green. BDD tooling for Python. :copyright: (c) 2019 by Timo Furrer <[email protected]> :license: MIT, see LICENSE for more details. """
with open("input.txt", "r") as f: inp = [int(i) for i in f.readlines()] # Part 1 n = sum([inp[i] > inp[i-1] for i in range(1, len(inp))]) print("Part 1:", n) # Part 2 n2 = sum([inp[i] + inp[i+1] + inp[i+2] < inp[i+1] + inp[i+2] + inp[i+3] for i in range(len(inp) - 3)]) print("Part 2:", n2)
text_dict = {} text_2_dict = {} compare_result = [] f_object = "" f_text, s_text = "", "" def set_first_object(obj_no): global f_object f_object = obj_no def joinText(text, obNo=""): global f_object global f_text, s_text if obNo is f_object: f_text = text else: s_text = text def readFiles(f_file_path, s_file_path): try: with open(f_file_path, mode='r', encoding="utf-8") as read_file: f_text = read_file.readlines() except: print("First File Didn't Read") try: with open(s_file_path, mode='r', encoding="utf-8") as read_file: s_text = read_file.readlines() except: print("Second File Didn't Read") try: return f_text, s_text except: print("Return Nothing") def clearText(f_text, s_text): first, second = "", "" # First Text for index, text in enumerate(f_text): if text is "\n": if f_text[index - 1] is "\n": pass else: first += text else: first += text f_text = first # Second Text for index, text in enumerate(s_text): if text is '\n': if s_text[index - 1] is "\n": pass else: second += text else: second += text s_text = second return f_text, s_text def compareTexts(f_text, s_text): global text_dict, text_2_dict text_dict, text_2_dict = {}, {} f, s = clearText(f_text, s_text) compare_results = [] compare_2_results = [] # First Text divided to lines line = "" line_count = 0 for index, text in enumerate(f): if text is "\n": line = "" line_count += 1 else: line += text text_dict[line_count] = line # Second text divided to lines line = "" line_count = 0 for index, text in enumerate(s): if text is "\n": line = "" line_count += 1 else: line += text text_2_dict[line_count] = line # Comparing lines and letters for ind in range(0, len(text_dict)): try: for index, latter in enumerate(text_dict[ind]): if text_dict[ind][index] is text_2_dict[ind][index]: pass else: compare_results.append([ind, index]) except: compare_results.append([ind, index]) # Comparing for second lines and letters for ind in range(0, len(text_2_dict)): try: for index, latter in enumerate(text_dict[ind]): if text_2_dict[ind][index] is text_dict[ind][index]: pass else: compare_2_results.append([ind, index]) except: compare_2_results.append([ind, index]) for res in compare_2_results: if res in compare_results: pass else: compare_results.append(res) # for res in compare_result: # if res in compare_2_results: # pass # else: # compare_result.append(res) # print(compare_result) return compare_results def retResult(): global compare_result global f_text, s_text try: result = compareTexts(f_text, s_text) compare_result = result return result except: # print("olmadı") pass
#!/usr/bin/python3 # -*- coding: utf-8 -*- ''' This module contains the base class for our plots that support the brushing & linking technique. ''' class BrushableCanvas: ''' Class to define the basic interface of a drawable area that supports brushing & linking of its data instances. ''' def __init__(self, canvas_name, parent=None): ''' BrushableCanvas default constructor. Arguments --------- canvas_name: str The name of this object instance. This is passed as an argument to the parent widget when notifying it of changes in the selected data. parent: object The parent widget. Default is None. The parent widget must implement the 'set_brushed_data' method. This method receives this objects's canvas_name and a list containing the indices of all objects highlighted. ''' self._name = canvas_name self._parent_canvas = parent self._highlighted_data = set() def __del__(self): del self._highlighted_data self._name = None self._parent_canvas = None @property def name(self): ''' Returns the name given to this object. Returns ------- out: str The name of this object. ''' return self._name @property def highlighted_data(self): ''' Returns the set of highlighted data indices. Returns ------- out: set The set of indices of highlighted data. ''' return self._highlighted_data @property def parent_canvas(self): ''' Returns the parent widget of this object. Returns ------- out: object The parent widget. ''' return self._parent_canvas def notify_parent(self): ''' Notifies the parent widget of changes in the selected data. If there is no parent widget, then no action is performed. ''' if self.parent_canvas: self.parent_canvas.set_brushed_data(self.name, list(self.highlighted_data)) def is_data_instance_highlighted(self, data_idx): ''' Returns if the given data instance is highlighted. Returns ------- out: boolean True if the instance is highlighted or False otherwise. ''' return data_idx in self.highlighted_data def highlight_data(self, data_idx, erase, update_chart=True): ''' Adds a data instance to the highlighted data set, or removes it from the set. Arguments --------- data_idx: int or iterable Index (or indices) of the data instance(s). erase: boolean Switch that indicates if the given data instances should be removed from the highlighted data set. update_chart: boolean Switch that indicates if the plot should be updated with the newly selected data instances. ''' if isinstance(data_idx, int): if erase: self._highlighted_data.discard(data_idx) else: self._highlighted_data.add(data_idx) else: if isinstance(data_idx, list): data_idx = set(data_idx) if erase: self._highlighted_data = self._highlighted_data - data_idx else: self._highlighted_data.update(data_idx) if update_chart: self.update_chart(selected_data=True) def update_chart(self, **kwargs): ''' Updates the plot. Arguments --------- kwargs: Keyword argumens Supported keyword arguments are: * selected_data - Indicates if there are changes in the selected data set. ''' raise NotImplementedError('update_chart method must be overriden')
syntax = r'^\+haunted(?: (?P<locations>.+))?$' def haunted(caller, locations='here'): locations = search(locations, kind=db.Room) if search(caller, within=locations, kind=db.Character, not_within=[caller.character], flags=['dark', '!deaf']).count(): pemit(caller, "You feel some sort of presence.") return pemit(caller, "You do not sense a hidden presence.") haunted.safe = True haunted.complete = True
def rule(event): # filter events; event type 11 is an actor_user changed user password return event.get("event_type_id") == 11 def title(event): return ( f"User [{event.get('actor_user_name', '<UNKNOWN_USER>')}] has exceeded the user" f" account password change threshold" )
# Copyright 2021 Google LLC # # 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 # # https://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. """Simple helpers for converting continuous-time dynamics to discrete-time.""" def euler(dynamics, dt=0.01): return lambda x, u, t: x + dt * dynamics(x, u, t) def rk4(dynamics, dt=0.01): def integrator(x, u, t): dt2 = dt / 2.0 k1 = dynamics(x, u, t) k2 = dynamics(x + dt2 * k1, u, t) k3 = dynamics(x + dt2 * k2, u, t) k4 = dynamics(x + dt * k3, u, t) return x + (dt / 6.0) * (k1 + 2 * k2 + 2 * k3 + k4) return integrator
print('-=-' * 20) print('Analisador de Triângulos...') print('-=-' * 20) a = float(input('Valor da primeira reta: ')) b = float(input('Valor da segunda reta: ')) c = float(input('Valor da terceira reta: ')) cond1 = (b - c) < a < (b + c) cond2 = (a - c) < b < (a + c) cond3 = (a - b) < c < (a + b) if cond1 and cond2 and cond3: print('As retas {}, {} e {} PODEM formar um triângulo'.format(a, b, c)) else: print('As retas {}, {} e {} NÃO podem formar um triângulo'.format(a, b, c))
#!/usr/bin/env python DESCRIPTION = "Conti ransomware api hash with seed 0xE9FF0077" TYPE = 'unsigned_int' TEST_1 = 3760887415 def hash(data): API_buffer = [] i = len(data) >> 3 count = 0 while i != 0: for index in range(0, 8): API_buffer.append(data[index + count]) count += 8 i -= 1 if len(data) & 7 != 0: v8 = len(data) & 7 while v8 != 0: API_buffer.append(data[count]) count += 1 v8 -= 1 hash_val = 0 for i in range(0, len(API_buffer)): API_buffer[i] = ord(chr(API_buffer[i])) v15 = 0xE9FF0077 string_length_2 = len(data) API_buffer_count = 0 if len(data) >= 4: count = string_length_2 >> 2 string_length_2 = (string_length_2 - 4 * (string_length_2 >> 2)) & 0xFFFFFFFF while True: temp_buffer_val = API_buffer[API_buffer_count + 3] << 24 | API_buffer[API_buffer_count + 2] << 16 | API_buffer[API_buffer_count + 1] << 8 | API_buffer[API_buffer_count] temp = (0x5BD1E995 * temp_buffer_val) & 0xFFFFFFFF API_buffer_count += 4 v15 = ((0x5BD1E995 * (temp ^ (temp >> 0x18))) & 0xFFFFFFFF) ^ ((0x5BD1E995 * v15) & 0xFFFFFFFF) count -= 1 if count == 0: break v18 = string_length_2 - 1 v19 = v18 - 1 if v18 == 0: hash_val ^= API_buffer[API_buffer_count] elif v19 == 0: hash_val ^= API_buffer[API_buffer_count + 1] << 8 hash_val ^= API_buffer[API_buffer_count] elif v19 == 1: hash_val ^= API_buffer[API_buffer_count + 2] << 16 hash_val ^= API_buffer[API_buffer_count + 1] << 8 hash_val ^= API_buffer[API_buffer_count] v20 = (0x5BD1E995 * hash_val) & 0xFFFFFFFF edi = (0x5BD1E995 * len(data)) & 0xFFFFFFFF eax = v20 >> 0x18 eax ^= v20 ecx = (0x5BD1E995 * eax) & 0xFFFFFFFF eax = (0x5BD1E995 * v15) & 0xFFFFFFFF ecx ^= eax eax = edi eax >>= 0x18 eax ^= edi edx = (0x5BD1E995 * ecx) & 0xFFFFFFFF eax = (0x5BD1E995 * eax) & 0xFFFFFFFF edx ^= eax eax = edx eax >>= 0xD eax ^= edx ecx = (0x5BD1E995 * eax) & 0xFFFFFFFF eax = ecx eax >>= 0xF eax ^= ecx return eax
class Solution: def strStr(self, haystack: str, needle: str) -> int: h_len = len(haystack) n_len = len(needle) if (n_len == 0): return 0 if n_len > h_len: return -1 n_jump = [0] * n_len i = 2 i_p = i - 1 s_p = 0 cnt = 0 while(i < n_len): if (needle[i_p] == needle[s_p]): if (i_p == i-1): n_jump[i] = s_p + 1 i += 1 s_p += 1 i_p += 1 elif (s_p == 0): n_jump[i] = 0 i += 1 i_p += 1 else: i_p -= s_p - 1 s_p = 0 cnt += 1 print(cnt, i_p, s_p, n_jump) # print(n_jump) sub_p = 0 i = 0 while (i < h_len): # print(haystack[i] , needle[sub_p] , sub_p) if (haystack[i] == needle[sub_p]): if (sub_p == n_len - 1): return i - sub_p sub_p += 1 i += 1 elif (sub_p == 0): i += 1 else: sub_p = n_jump[sub_p] return -1 # # haystack = "mississippi" # needle = "issip" haystack = "aabaaabaaac" needle = 'aaaaaaaabc' # needle = "aabaaac" # haystack ="bbababaaaababbaabbbabbbaaabbbaaababbabaabbaaaaabbaaabbbbaaabaabbaababbbaabaaababbaaabbbbbbaabbbbbaaabbababaaaaabaabbbababbaababaabbaa" # needle ="bbabba" # haystack = "a" # needle = "a" print(Solution().strStr(haystack, needle))
# Time: O(n) # Space: O(h) # Definition for a binary tree node. class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class Solution(object): def getAllElements(self, root1, root2): """ :type root1: TreeNode :type root2: TreeNode :rtype: List[int] """ def inorder_gen(root): result, stack = [], [(root, False)] while stack: root, is_visited = stack.pop() if root is None: continue if is_visited: yield root.val else: stack.append((root.right, False)) stack.append((root, True)) stack.append((root.left, False)) yield None result = [] left_gen, right_gen = inorder_gen(root1), inorder_gen(root2) left, right = next(left_gen), next(right_gen) while left is not None or right is not None: if right is None or (left is not None and left < right): result.append(left) left = next(left_gen) else: result.append(right) right = next(right_gen) return result
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def rightSideView(self, root): if not root: return [] nodes = [root.val] stack = [(root, 0)] while stack: node, level = stack.pop() # will only append first node seen with this specific # level (rightmost due to our pushing.) if level >= len(nodes): nodes.append(node.val) left, right = node.left, node.right if left: stack.append((left, level + 1)) # we wanna see rightmost first so push second # on stack. if right: stack.append((right, level + 1)) return nodes
""" Cursor Access Mode. """ class CursorAccessMode: """ Define thre methods of access of cursors. """ Insert = 0 Edit = 1 Del = 2 Browse = 3
def plane(): print('Plane') def car(): print('Car') def main(): print('-' * 55) plane() car() main()
test = { 'name': 'scale-stream', 'points': 1, 'suites': [ { 'cases': [ { 'code': r""" scm> (car s2) 2 scm> (car (cdr-stream s2)) 4 scm> (car s4) 4 scm> (car (cdr-stream s4)) 8 """, 'hidden': False, 'locked': False } ], 'scored': True, 'setup': r""" scm> (load 'hw11) scm> (define s (cons-stream 1 (cons-stream 2 nil))) scm> (define s2 (scale-stream s 2)) scm> (define s4 (scale-stream s2 2)) """, 'teardown': '', 'type': 'scheme' }, { 'cases': [ { 'code': r""" scm> (car s2) 2 scm> (car (cdr-stream s2)) 2 scm> (car (cdr-stream (cdr-stream s2))) 2 scm> (car (cdr-stream (cdr-stream s))) 1 """, 'hidden': False, 'locked': False } ], 'scored': True, 'setup': r""" scm> (load 'hw11) scm> (define s (cons-stream 1 s)) scm> (define s2 (scale-stream s 2)) """, 'teardown': '', 'type': 'scheme' } ] }
__author__ = 'shenoisz' def get_object_list( args ): csv = open( str( args ) , 'r') lines = [ ] for divier in csv.readlines( ): fatias = divier.replace('\n', '').split('|') lines.append( fatias ) csv.close( ) return lines def get_object_dict( args ): csv = open( str( args ) , 'r') lines = [ ] for divier in csv.readlines( ): fatias = divier.replace('\n', '').split('|') lines.append( { 'embed': fatias[0].replace('608','100%').replace('338','550'), 'url': fatias[1], 'imagem': fatias[2], 'flipboard': fatias[3], 'titulo': fatias[4], 'tags': fatias[5], 'duracao': fatias[6], 'views': fatias[7], 'qtdavaliacoes': fatias[8], 'totalavaliacoes': fatias[9], 'avaliacao': fatias[10], } ) csv.close( ) return lines
#!/usr/bin/env python # coding: utf-8 # Copyright (c) 2012, Machinalis S.R.L. # This file is part of quepy and is distributed under the Modified BSD License. # You should have received a copy of license in the LICENSE file. # # Authors: Rafael Carrascosa <[email protected]> # Gonzalo Garcia Berrotaran <[email protected]> """ Init for testapp quepy. """
'''Some helper functions to support `native-image` invocation within rules. ''' load("//java:providers/JavaDependencyInfo.bzl", "JavaDependencyInfo") load("//graalvm:common/extract/toolchain_info.bzl", "extract_graalvm_native_image_toolchain_info") def _file_to_path(file): return file.path # TODO(dwtj): Consider revising control flow so that this is called just once, # not twice. Maybe just cache the result. But where? I probably can't just use # a script global variable. Does Bazel provide some target-local storage? def make_class_path_depset(ctx): depsets = [] for dep in ctx.attr.deps: dep_info = dep[JavaDependencyInfo] depsets.append(dep_info.run_time_class_path_jars) return depset([], transitive = depsets) def make_class_path_args(ctx): args = ctx.actions.args() toolchain_info = extract_graalvm_native_image_toolchain_info(ctx) jar_depset = make_class_path_depset(ctx) args.add_joined( "--class-path", jar_depset, join_with = toolchain_info.class_path_separator, map_each = _file_to_path, ) return args def make_class_path_str(ctx): separator = extract_graalvm_native_image_toolchain_info(ctx).class_path_separator jar_paths = [jar.path for jar in make_class_path_depset(ctx).to_list()] return separator.join(jar_paths) def make_native_image_options_args(ctx): args = ctx.actions.args() args.add_all(ctx.attr.native_image_options) return args
def login(driver,time): # Asking the user for their private phrase to login to the account a = 0 while a == 0: PRIVATE_PHRASE = input("░ What is your BitClout private phrase? (WE DO NOT SAVE THIS): ") # Fetching BITCLOUT.COM driver.get("https://bitclout.com/") # Defining the login button and clicking it time.sleep(2) login_button = driver.find_element_by_xpath('/html/body/app-root/div/app-landing-page/div[2]/div/div/div[' '2]/a[2]') login_button.click() # Loading the account with PRIVATE PHRASE load_account_textbox = driver.find_element_by_css_selector('textarea') load_account_textbox.send_keys(str(PRIVATE_PHRASE)) # Clicks the load account button load_account_button = driver.find_element_by_css_selector('button') load_account_button.click() time.sleep(2) print(driver.current_url) if driver.current_url != 'https://bitclout.com/log-in': print("░ You are now logged in...") break else: print("░ There was an error logging into your account... Please check your private phrase and try again...")
"""ds4drv is a Sony DualShock 4 userspace driver for Linux.""" __title__ = "ds4drv" __version__ = "0.5.0" __author__ = "Christopher Rosell" __credits__ = ["Christopher Rosell", "George Gibbs", "Lauri Niskanen"] __license__ = "MIT"
# Faça um programa que mostre a tabuada de varios numeros, um de cada vez, para cada valor digitado pelo usuario. # O programa será interrompido quando o numero solicitado for negativo. num = int(input('Diga um numero que vc deseja ver a tabuada: ')) while num > 0: print('-=-' * 12 ) for n in range(1, 11): tab = num * n print(f'{num} x {n} = {tab} ') print('-=-' * 12) num = int(input('Deseja saber de outro Numero? se não digite um valor negativo: ')) print('Encerrando programa')
"""Print 'Hello world' to the terminal. Here's where the |foo| substitution is used - it is defined below. .. |foo| replace:: Here's where it's defined. So far so good, but what if the definition is not in the same docstring fragment - it could be in an included footer? Here the |bar| substitution definition is missing, so this docstring in isolation should fail validation:: $ flake8 --select RST RST305/substitution.py RST305/substitution.py:11:1: RST305 Undefined substitution referenced: "bar" """ print("Hello world")
class Solution(object): def __init__(self, *args, **kwargs): self.num = None self.target = None def addOperators(self, num, target): """ :type num: str :type target: int :rtype: List[str] """ if num is None or len(num) == 0: return [] self.num = num self.target = target res = [] self.dfs(0, 0, 0, '', res) return res def dfs(self, pos, last, sum, path, res): if pos == len(self.num): if sum == self.target: res.append(path) return cur_val = 0 cur = '' for i in range(pos, len(self.num)): cur_val = cur_val * 10 + int(self.num[i]) cur += self.num[i] if pos == 0: self.dfs(i + 1, cur_val, cur_val, path + cur, res) else: self.dfs(i + 1, cur_val, sum + cur_val, path + '+' + cur, res) self.dfs(i + 1, -cur_val, sum - cur_val, path + '-' + cur, res) self.dfs(i + 1, last * cur_val, sum - last + last * cur_val, path + '*' + cur, res) if self.num[pos] == '0': break
#!/usr/bin/env python # This tests a particular tricky case: the interplay of "black" wrap mode # with fill color. Outside the s,t [0,1] range, it should be black, NOT # fill color. # Make an RGB grid for our test command += (oiio_app("oiiotool") + OIIO_TESTSUITE_IMAGEDIR + "/grid.tif" + " -ch R,G,B -o grid3.tif >> out.txt ;\n") # And a 1-channel grid for our test command += (oiio_app("oiiotool") + OIIO_TESTSUITE_IMAGEDIR + "/grid.tif" + " -ch R -o grid1.tif >> out.txt ;\n") command += testtex_command ("grid3.tif", " -res 256 256 -automip " + " -wrap black -fill 0.5 -d uint8 -o out3.tif") command += testtex_command ("grid1.tif", " -res 200 200 -automip --graytorgb " + " -wrap black -fill 0.5 -d uint8 -o out1.tif") outputs = [ "out3.tif", "out1.tif" ]
engine_id = "" grid_node_address = "" grid_gateway_address = "" data_dir = "" dataset_id = ""
record = "linux" cats = [ "cats/linux-kernel.cat" ] cfgs = [ "cfgs/linux-kernel.cfg" ] illustrative_tests = [ "tests/MP+relacq.litmus" ]
cities = ( ("Andaman and Nicobar Islands", (("Port Blair", "Port Blair"),)), ( "Andhra Pradesh", ( ("Visakhapatnam", "Visakhapatnam"), ("Vijayawada", "Vijayawada"), ("Guntur", "Guntur"), ("Nellore", "Nellore"), ("Kurnool", "Kurnool"), ("Rajamahendravaram", "Rajamahendravaram"), ("Tirupati", "Tirupati"), ("Kadapa", "Kadapa"), ("Kakinada", "Kakinada"), ("Anantapur", "Anantapur"), ("Vizianagaram", "Vizianagaram"), ("Eluru", "Eluru"), ("Ongole", "Ongole"), ("Nandyal", "Nandyal"), ("Machilipatnam", "Machilipatnam"), ("Adoni", "Adoni"), ("Tenali", "Tenali"), ("Proddatur", "Proddatur"), ("Chittoor", "Chittoor"), ("Hindupur", "Hindupur"), ("Bhimavaram", "Bhimavaram"), ("Madanapalle", "Madanapalle"), ("Guntakal", "Guntakal"), ("Srikakulam", "Srikakulam"), ("Dharmavaram", "Dharmavaram"), ("Gudivada", "Gudivada"), ("Narasaraopet", "Narasaraopet"), ("Tadipatri", "Tadipatri"), ("Tadepalligudem", "Tadepalligudem"), ("Amaravati", "Amaravati"), ("Chilakaluripet", "Chilakaluripet"), ), ), ( "Bihar", ( ("Patna", "Patna"), ("Gaya", "Gaya"), ("Bhagalpur", "Bhagalpur"), ("Muzaffarpur", "Muzaffarpur"), ("Purnia", "Purnia"), ("Darbhanga", "Darbhanga"), ("Bihar Sharif", "Bihar Sharif"), ("Arrah", "Arrah"), ("Begusarai", "Begusarai"), ("Katihar", "Katihar"), ("Munger", "Munger"), ("Chhapra", "Chhapra"), ("Bettiah", "Bettiah"), ("Saharsa", "Saharsa"), ("Hajipur", "Hajipur"), ("Sasaram", "Sasaram"), ("Dehri", "Dehri"), ("Siwan", "Siwan"), ("Motihari", "Motihari"), ("Nawada", "Nawada"), ("Bagaha", "Bagaha"), ("Buxar", "Buxar"), ("Kishanganj", "Kishanganj"), ("Sitamarhi", "Sitamarhi"), ("Jamalpur", "Jamalpur"), ("Jehanabad", "Jehanabad"), ("Aurangabad", "Aurangabad"), ("Lakhisarai", "Lakhisarai"), ), ), ("Chandigarh", (("Chandigarh", "Chandigarh"),),), ( "Chhattisgarh", ( ("Raipur", "Raipur"), ("Durg", "Durg"), ("Naya Raipur", "Naya Raipur"), ("Korba", "Korba"), ("Bilaspur", "Bilaspur"), ("Rajnandgaon", "Rajnandgaon"), ("Pakhanjore", "Pakhanjore"), ("Jagdalpur", "Jagdalpur"), ("Ambikapur", "Ambikapur"), ("Chirmiri", "Chirmiri"), ("Dhamtari", "Dhamtari"), ("Raigarh", "Raigarh"), ("Mahasamund", "Mahasamund"), ), ), ("Daman and Diu", (("Daman", "Daman"),),), ("Delhi", (("Delhi", "Delhi"),),), ("Dadra and Nagar Haveli", (("Silvassa", "Silvassa"),),), ( "Goa", ( ("Panaji", "Panaji"), ("Vasco", "Vasco"), ("Mormugao", "Mormugao"), ("Margao", "Margao"), ), ), ( "Gujarat", ( ("Ahmedabad", "Ahmedabad"), ("Surat", "Surat"), ("Vadodara", "Vadodara"), ("Rajkot", "Rajkot"), ("Bhavnagar", "Bhavnagar"), ("Jamnagar", "Jamnagar"), ("Junagadh", "Junagadh"), ("Gandhidham", "Gandhidham"), ("Nadiad", "Nadiad"), ("Gandhinagar", "Gandhinagar"), ("Anand", "Anand"), ("Morbi", "Morbi"), ("Khambhat", "Khambhat"), ("Surendranagar", "Surendranagar"), ("Bharuch", "Bharuch"), ("Vapi", "Vapi"), ("Navsari", "Navsari"), ("Veraval", "Veraval"), ("Porbandar", "Porbandar"), ("Godhra", "Godhra"), ("Bhuj", "Bhuj"), ("Ankleshwar", "Ankleshwar"), ("Botad", "Botad"), ("Patan", "Patan"), ("Palanpur", "Palanpur"), ("Dahod", "Dahod"), ("Jetpur", "Jetpur"), ("Valsad", "Valsad"), ("Kalol", "Kalol"), ("Gondal", "Gondal"), ("Deesa", "Deesa"), ("Amreli", "Amreli"), ("Amreli", "Amreli"), ("Mahuva", "Mahuva"), ("Mehsana", "Mehsana"), ), ), ("Himachal Pradesh", (("Shimla", "Shimla"),),), ( "Haryana", ( ("Faridabad", "Faridabad"), ("Gurgaon", "Gurgaon"), ("Panipat", "Panipat"), ("Ambala", "Ambala"), ("Yamunanagar", "Yamunanagar"), ("Rohtak", "Rohtak"), ("Hisar", "Hisar"), ("Karnal", "Karnal"), ("Sonipat", "Sonipat"), ("Panchkula", "Panchkula"), ("Bhiwani", "Bhiwani"), ("Sirsa", "Sirsa"), ("Bahadurgarh", "Bahadurgarh"), ("Jind", "Jind"), ("Thanesar", "Thanesar"), ("Kaithal", "Kaithal"), ("Rewari", "Rewari"), ("Palwal", "Palwal"), ), ), ( "Jharkhand", ( ("Jamshedpur", "Jamshedpur"), ("Dhanbad", "Dhanbad"), ("Ranchi", "Ranchi"), ("Bokaro Steel City", "Bokaro Steel City"), ("Deoghar", "Deoghar"), ("Phusro", "Phusro"), ("Hazaribagh", "Hazaribagh"), ("Giridih", "Giridih"), ("Ramgarh", "Ramgarh"), ("Medininagar", "Medininagar"), ("Chirkunda", "Chirkunda"), ("Jhumri Telaiya", "Jhumri Telaiya"), ("Sahibganj", "Sahibganj"), ), ), ( "Jammu and Kashmir", (("Srinagar", "Srinagar"), ("Jammu", "Jammu"), ("Anantnag", "Anantnag"),), ), ( "Karnataka", ( ("Bengaluru", "Bengaluru"), ("Hubli", "Hubli"), ("Mysore", "Mysore"), ("Gulbarga", "Gulbarga"), ("Mangalore", "Mangalore"), ("Belgaum", "Belgaum"), ("Davangere", "Davangere"), ("Bellary", "Bellary"), ("Bijapur", "Bijapur"), ("Shimoga", "Shimoga"), ("Tumkur", "Tumkur"), ("Raichur", "Raichur"), ("Bidar", "Bidar"), ("Hospet", "Hospet"), ("Hassan", "Hassan"), ("Gadag", "Gadag"), ("Udupi", "Udupi"), ("Robertsonpet", "Robertsonpet"), ("Bhadravati", "Bhadravati"), ("Chitradurga", "Chitradurga"), ("Harihar", "Harihar"), ("Kolar", "Kolar"), ("Mandya", "Mandya"), ("Chikkamagallooru", "Chikkamagallooru"), ("Chikmagalur", "Chikmagalur"), ("Gangawati", "Gangawati"), ("Ranebennuru", "Ranebennuru"), ("Ramanagara", "Ramanagara"), ("Bagalkot", "Bagalkot"), ), ), ( "Kerala", ( ("Thiruvananthapuram", "Thiruvananthapuram"), ("Kochi", "Kochi"), ("Calicut", "Calicut"), ("Kollam", "Kollam"), ("Thrissur", "Thrissur"), ("Kannur", "Kannur"), ("Kasaragod", "Kasaragod"), ("Alappuzha", "Alappuzha"), ("Alappuzha", "Alappuzha"), ("Palakkad", "Palakkad"), ("Kottayam", "Kottayam"), ("Kothamangalam", "Kothamangalam"), ("Malappuram", "Malappuram"), ("Manjeri", "Manjeri"), ("Thalassery", "Thalassery"), ("Ponnani", "Ponnani"), ), ), ("Lakshadweep", (("Kavaratti", "Kavaratti"),),), ( "Maharashtra", ( ("Mumbai", "Mumbai"), ("Pune", "Pune"), ("Nagpur", "Nagpur"), ("Nashik", "Nashik"), ("Pimpri-Chinchwad", "Pimpri-Chinchwad"), ("Aurangabad", "Aurangabad"), ("Solapur", "Solapur"), ("Bhiwandi", "Bhiwandi"), ("Amravati", "Amravati"), ("Nanded", "Nanded"), ("Kolhapur", "Kolhapur"), ("Sangli-Miraj-Kupwad", "Sangli-Miraj-Kupwad"), ("Jalgaon", "Jalgaon"), ("Akola", "Akola"), ("Latur", "Latur"), ("Malegaon", "Malegaon"), ("Dhule", "Dhule"), ("Ahmednagar", "Ahmednagar"), ("Nandurbar", "Nandurbar"), ("Ichalkaranji", "Ichalkaranji"), ("Chandrapur", "Chandrapur"), ("Jalna", "Jalna"), ("Parbhani", "Parbhani"), ("Bhusawal", "Bhusawal"), ("Satara", "Satara"), ("Beed", "Beed"), ("Pandharpur", "Pandharpur"), ("Yavatmal", "Yavatmal"), ("Kamptee", "Kamptee"), ("Gondia", "Gondia"), ("Achalpur", "Achalpur"), ("Osmanabad", "Osmanabad"), ("Hinganghat", "Hinganghat"), ("Wardha", "Wardha"), ("Barshi", "Barshi"), ("Chalisgaon", "Chalisgaon"), ("Amalner", "Amalner"), ("Khamgaon", "Khamgaon"), ("Akot", "Akot"), ("Udgir", "Udgir"), ("Bhandara", "Bhandara"), ("Parli", "Parli"), ), ), ("Meghalaya", (("Shillong", "Shillong"),),), ("Manipur", (("Imphal", "Imphal"),),), ( "Madhya Pradesh", ( ("Indore", "Indore"), ("Bhopal", "Bhopal"), ("Jabalpur", "Jabalpur"), ("Gwalior", "Gwalior"), ("Ujjain", "Ujjain"), ("Sagar", "Sagar"), ("Dewas", "Dewas"), ("Satna", "Satna"), ("Ratlam", "Ratlam"), ("Rewa", "Rewa"), ("Katni", "Katni"), ("Singrauli", "Singrauli"), ("Burhanpur", "Burhanpur"), ("Khandwa", "Khandwa"), ("Morena", "Morena"), ("Bhind", "Bhind"), ("Chhindwara", "Chhindwara"), ("Guna", "Guna"), ("Shivpuri", "Shivpuri"), ("Vidisha", "Vidisha"), ("Chhatarpur", "Chhatarpur"), ("Damoh", "Damoh"), ("Mandsaur", "Mandsaur"), ("Khargone", "Khargone"), ("Neemuch", "Neemuch"), ("Pithampur", "Pithampur"), ("Hoshangabad", "Hoshangabad"), ("Itarsi", "Itarsi"), ("Sehore", "Sehore"), ("Betul", "Betul"), ("Seoni", "Seoni"), ("Datia", "Datia"), ("Nagda", "Nagda"), ("Dhanpuri", "Dhanpuri"), ("Dhar", "Dhar"), ("Balaghat", "Balaghat"), ), ), ("Mizoram", (("Aizawl", "Aizawl"),),), ("Nagaland", (("Dimapur", "Dimapur"), ("Kohima", "Kohima"),),), ( "Odisha", ( ("Bhubaneswar", "Bhubaneswar"), ("Cuttack", "Cuttack"), ("Rourkela", "Rourkela"), ("Berhampur", "Berhampur"), ("Sambalpur", "Sambalpur"), ("Puri", "Puri"), ("Balasore", "Balasore"), ("Bhadrak", "Bhadrak"), ("Baripada", "Baripada"), ("Balangir", "Balangir"), ("Jharsuguda", "Jharsuguda"), ("Jeypore", "Jeypore"), ), ), ( "Punjab", ( ("Ludhiana", "Ludhiana"), ("Amritsar", "Amritsar"), ("Jalandhar", "Jalandhar"), ("Patiala", "Patiala"), ("Bathinda", "Bathinda"), ("Hoshiarpur", "Hoshiarpur"), ("Batala", "Batala"), ("Mohali", "Mohali"), ("Abohar", "Abohar"), ("Pathankot", "Pathankot"), ("Moga", "Moga"), ("Malerkotla", "Malerkotla"), ("Khanna", "Khanna"), ("Muktasar", "Muktasar"), ("Barnala", "Barnala"), ("Firozpur", "Firozpur"), ("Kapurthala", "Kapurthala"), ("Phagwara", "Phagwara"), ("Zirakpur", "Zirakpur"), ("Rajpura", "Rajpura"), ), ), ( "Puducherry", ( ("Pondicherry", "Pondicherry"), ("Ozhukarai", "Ozhukarai"), ("Karaikal", "Karaikal"), ), ), ( "Rajasthan", ( ("Jaipur", "Jaipur"), ("Jodhpur", "Jodhpur"), ("Kota", "Kota"), ("Bikaner", "Bikaner"), ("Ajmer", "Ajmer"), ("Udaipur", "Udaipur"), ("Bhilwara", "Bhilwara"), ("Alwar", "Alwar"), ("Bharatpur", "Bharatpur"), ("Sri Ganganagar", "Sri Ganganagar"), ("Sikar", "Sikar"), ("Pali", "Pali"), ("Barmer", "Barmer"), ("Tonk", "Tonk"), ("Kishangarh", "Kishangarh"), ("Chittorgarh", "Chittorgarh"), ("Beawar", "Beawar"), ("Hanumangarh", "Hanumangarh"), ("Dholpur", "Dholpur"), ("Gangapur", "Gangapur"), ("Sawai Madhopur", "Sawai Madhopur"), ("Churu", "Churu"), ("Baran", "Baran"), ("Makrana", "Makrana"), ("Nagaur", "Nagaur"), ("Hindaun", "Hindaun"), ("Bhiwadi", "Bhiwadi"), ("Bundi", "Bundi"), ("Sujangarh", "Sujangarh"), ("Jhunjhunu", "Jhunjhunu"), ("Banswara", "Banswara"), ("Sardarshahar", "Sardarshahar"), ("Fatehpur", "Fatehpur"), ("Dausa", "Dausa"), ("Karauli", "Karauli"), ), ), ("Sikkim", (("Gangtok", "Gangtok"),),), ( "Telangana", ( ("Hyderabad", "Hyderabad"), ("Warangal", "Warangal"), ("Nizamabad", "Nizamabad"), ("Karimnagar", "Karimnagar"), ("Ramagundam", "Ramagundam"), ("Khammam", "Khammam"), ("Mahbubnagar", "Mahbubnagar"), ("Nalgonda", "Nalgonda"), ("Adilabad", "Adilabad"), ("Siddipet", "Siddipet"), ("Suryapet", "Suryapet"), ("Miryalaguda", "Miryalaguda"), ("Jagtial", "Jagtial"), ("Mancherial", "Mancherial"), ("Kothagudem", "Kothagudem"), ), ), ( "Tamil Nadu", ( ("Chennai", "Chennai"), ("Coimbatore", "Coimbatore"), ("Madurai", "Madurai"), ("Tiruchirappalli", "Tiruchirappalli"), ("Tirupur", "Tirupur"), ("Salem", "Salem"), ("Erode", "Erode"), ("Tirunelveli", "Tirunelveli"), ("Vellore", "Vellore"), ("Tuticorin", "Tuticorin"), ("Gudiyatham", "Gudiyatham"), ("Nagercoil", "Nagercoil"), ("Thanjavur", "Thanjavur"), ("Dindigul", "Dindigul"), ("Vaniyambadi", "Vaniyambadi"), ("Cuddalore", "Cuddalore"), ("Komarapalayam", "Komarapalayam"), ("Kanchipuram", "Kanchipuram"), ("Ambur", "Ambur"), ("Tiruvannamalai", "Tiruvannamalai"), ("Pudukkottai", "Pudukkottai"), ("Kumbakonam", "Kumbakonam"), ("Rajapalayam", "Rajapalayam"), ("Hosur", "Hosur"), ("Karaikudi", "Karaikudi"), ("Neyveli", "Neyveli"), ("Nagapattinam", "Nagapattinam"), ("Viluppuram", "Viluppuram"), ("Paramakudi", "Paramakudi"), ("Tiruchengode", "Tiruchengode"), ("Kovilpatti", "Kovilpatti"), ("Theni-Allinagaram", "Theni-Allinagaram"), ("Kadayanallur", "Kadayanallur"), ("Pollachi", "Pollachi"), ("Ooty", "Ooty"), ), ), ("Tripura", (("Agartala", "Agartala"),),), ( "Uttar Pradesh", ( ("Kanpur", "Kanpur"), ("Lucknow", "Lucknow"), ("Ghaziabad", "Ghaziabad"), ("Agra", "Agra"), ("Varanasi", "Varanasi"), ("Meerut", "Meerut"), ("Allahabad", "Allahabad"), ("Bareilly", "Bareilly"), ("Aligarh", "Aligarh"), ("Moradabad", "Moradabad"), ("Saharanpur", "Saharanpur"), ("Gorakhpur", "Gorakhpur"), ("Faizabad", "Faizabad"), ("Firozabad", "Firozabad"), ("Jhansi", "Jhansi"), ("Muzaffarnagar", "Muzaffarnagar"), ("Mathura", "Mathura"), ("Budaun", "Budaun"), ("Rampur", "Rampur"), ("Shahjahanpur", "Shahjahanpur"), ("Farrukhabad", "Farrukhabad"), ("Mau", "Mau"), ("Hapur", "Hapur"), ("Noida", "Noida"), ("Etawah", "Etawah"), ("Mirzapur", "Mirzapur"), ("Bulandshahr", "Bulandshahr"), ("Sambhal", "Sambhal"), ("Amroha", "Amroha"), ("Hardoi", "Hardoi"), ("Fatehpur", "Fatehpur"), ("Raebareli", "Raebareli"), ("Orai", "Orai"), ("Sitapur", "Sitapur"), ("Bahraich", "Bahraich"), ("Modinagar", "Modinagar"), ("Unnao", "Unnao"), ("Jaunpur", "Jaunpur"), ("Lakhimpur", "Lakhimpur"), ("Hathras", "Hathras"), ("Banda", "Banda"), ("Pilibhit", "Pilibhit"), ("Barabanki", "Barabanki"), ("Mughalsarai", "Mughalsarai"), ("Khurja", "Khurja"), ("Gonda", "Gonda"), ("Mainpuri", "Mainpuri"), ("Lalitpur", "Lalitpur"), ("Etah", "Etah"), ("Deoria", "Deoria"), ("Ujhani", "Ujhani"), ("Ghazipur", "Ghazipur"), ("Sultanpur", "Sultanpur"), ("Azamgarh", "Azamgarh"), ("Bijnor", "Bijnor"), ("Sahaswan", "Sahaswan"), ("Basti", "Basti"), ("Chandausi", "Chandausi"), ("Akbarpur", "Akbarpur"), ("Ballia", "Ballia"), ("Mubarakpur", "Mubarakpur"), ("Tanda", "Tanda"), ("Greater Noida", "Greater Noida"), ("Shikohabad", "Shikohabad"), ("Shamli", "Shamli"), ("Baraut", "Baraut"), ("Khair", "Khair"), ("Kasganj", "Kasganj"), ("Auraiya", "Auraiya"), ("Khatauli", "Khatauli"), ("Deoband", "Deoband"), ("Nagina", "Nagina"), ("Mahoba", "Mahoba"), ("Muradnagar", "Muradnagar"), ("Bhadohi", "Bhadohi"), ("Dadri", "Dadri"), ("Pratapgarh", "Pratapgarh"), ("Najibabad", "Najibabad"), ), ), ( "Uttarakhand", ( ("Dehradun", "Dehradun"), ("Haridwar", "Haridwar"), ("Roorkee", "Roorkee"), ("Haldwani", "Haldwani"), ("Rudrapur", "Rudrapur"), ("Kashipur", "Kashipur"), ("Rishikesh", "Rishikesh"), ), ), ( "West Bengal", ( ("Kolkata", "Kolkata"), ("Asansol", "Asansol"), ("Siliguri", "Siliguri"), ("Durgapur", "Durgapur"), ("Bardhaman", "Bardhaman"), ("Malda", "Malda"), ("Baharampur", "Baharampur"), ("Habra", "Habra"), ("Jalpaiguri", "Jalpaiguri"), ("Kharagpur", "Kharagpur"), ("Shantipur", "Shantipur"), ("Dankuni", "Dankuni"), ("Dhulian", "Dhulian"), ("Ranaghat", "Ranaghat"), ("Haldia", "Haldia"), ("Raiganj", "Raiganj"), ("Krishnanagar", "Krishnanagar"), ("Nabadwip", "Nabadwip"), ("Midnapore", "Midnapore"), ("Balurghat", "Balurghat"), ("Basirhat", "Basirhat"), ("Bankura", "Bankura"), ("Chakdaha", "Chakdaha"), ("Darjeeling", "Darjeeling"), ("Alipurduar", "Alipurduar"), ("Purulia", "Purulia"), ("Jangipur", "Jangipur"), ("Bangaon", "Bangaon"), ("Cooch Behar", "Cooch Behar"), ("Bolpur", "Bolpur"), ("Kanthi", "Kanthi"), ), ), )
#Q: Add all the natural numbers below one thousand that are multiples of 3 or 5. #A: 233168 sum([i for i in xrange(1,1000) if i%3==0 or i%5==0])
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # http://doc.scrapy.org/en/latest/topics/spider-middleware.html class DianpingCrawlerSpiderMiddleware(object): def process_request(self, request, spider): cookies = spider.settings.get('COOKIES', {}) request.cookies.update(cookies)
class PLAN_CMDS(object): FETCH_PLAN = "fetch_plan" FETCH_PROTOCOL = "fetch_protocol" class TENSOR_SERIALIZATION(object): TORCH = "torch" NUMPY = "numpy" TF = "tf" ALL = "all" class GATEWAY_ENDPOINTS(object): SEARCH_TAGS = "/search" SEARCH_MODEL = "/search-model" SEARCH_ENCRYPTED_MODEL = "/search-encrypted-model" SELECT_MODEL_HOST = "/choose-model-host" SELECT_ENCRYPTED_MODEL_HOSTS = "/choose-encrypted-model-host" class REQUEST_MSG(object): TYPE_FIELD = "type" GET_ID = "get-id" CONNECT_NODE = "connect-node" HOST_MODEL = "host-model" RUN_INFERENCE = "run-inference" LIST_MODELS = "list-models" DELETE_MODEL = "delete-model" RUN_INFERENCE = "run-inference" AUTHENTICATE = "authentication" class RESPONSE_MSG(object): NODE_ID = "id" ERROR = "error" SUCCESS = "success" MODELS = "models" INFERENCE_RESULT = "prediction" SYFT_VERSION = "syft_version"
FreeMonoBoldOblique12pt7bBitmaps = [ 0x1C, 0xF3, 0xCE, 0x38, 0xE7, 0x1C, 0x61, 0x86, 0x00, 0x63, 0x8C, 0x00, 0xE7, 0xE7, 0xE6, 0xC6, 0xC6, 0xC4, 0x84, 0x03, 0x30, 0x19, 0x81, 0xDC, 0x0C, 0xE0, 0x66, 0x1F, 0xFC, 0xFF, 0xE1, 0x98, 0x0C, 0xC0, 0xEE, 0x06, 0x70, 0xFF, 0xCF, 0xFE, 0x1D, 0xC0, 0xCC, 0x06, 0x60, 0x77, 0x03, 0x30, 0x00, 0x01, 0x00, 0x70, 0x0C, 0x07, 0xF1, 0xFE, 0x71, 0xCC, 0x11, 0x80, 0x3F, 0x03, 0xF0, 0x0F, 0x20, 0x6E, 0x0D, 0xC3, 0x3F, 0xE7, 0xF8, 0x1C, 0x03, 0x00, 0x60, 0x0C, 0x00, 0x0E, 0x03, 0xE0, 0xC4, 0x10, 0x82, 0x30, 0x7C, 0x07, 0x78, 0x7C, 0x7F, 0x19, 0xF0, 0x62, 0x08, 0x41, 0x18, 0x3E, 0x03, 0x80, 0x07, 0xC1, 0xF8, 0x62, 0x0C, 0x01, 0x80, 0x38, 0x0F, 0x03, 0xF7, 0x6F, 0xD8, 0xF3, 0x1E, 0x7F, 0xE7, 0xF8, 0xFF, 0x6D, 0x20, 0x06, 0x1C, 0x70, 0xC3, 0x06, 0x18, 0x30, 0xC1, 0x83, 0x06, 0x0C, 0x18, 0x30, 0x70, 0x60, 0xC1, 0x00, 0x0C, 0x18, 0x38, 0x30, 0x60, 0xC1, 0x83, 0x06, 0x0C, 0x30, 0x61, 0xC3, 0x0E, 0x38, 0x61, 0xC2, 0x00, 0x06, 0x00, 0xC0, 0x18, 0x3F, 0x7F, 0xFE, 0xFF, 0x07, 0x81, 0xF8, 0x77, 0x0C, 0x60, 0x03, 0x00, 0x70, 0x07, 0x00, 0x60, 0x06, 0x0F, 0xFF, 0xFF, 0xF0, 0xE0, 0x0C, 0x00, 0xC0, 0x0C, 0x01, 0xC0, 0x18, 0x00, 0x1C, 0xE3, 0x1C, 0x63, 0x08, 0x00, 0x7F, 0xFF, 0xFF, 0xC0, 0x7F, 0x00, 0x00, 0x08, 0x00, 0x70, 0x01, 0x80, 0x0E, 0x00, 0x70, 0x03, 0x80, 0x0C, 0x00, 0x70, 0x03, 0x80, 0x0C, 0x00, 0x70, 0x03, 0x80, 0x0C, 0x00, 0x70, 0x03, 0x80, 0x0C, 0x00, 0x70, 0x03, 0x80, 0x0C, 0x00, 0x20, 0x00, 0x07, 0x83, 0xF8, 0xE3, 0x98, 0x37, 0x06, 0xC0, 0xD8, 0x1B, 0x03, 0xE0, 0xF8, 0x1B, 0x03, 0x60, 0xEE, 0x38, 0xFE, 0x0F, 0x00, 0x03, 0xC1, 0xF0, 0x7E, 0x0C, 0xC0, 0x38, 0x07, 0x00, 0xC0, 0x18, 0x07, 0x00, 0xE0, 0x18, 0x03, 0x00, 0x61, 0xFF, 0xFF, 0xF0, 0x03, 0xE0, 0x3F, 0x83, 0x8E, 0x38, 0x31, 0x81, 0x80, 0x18, 0x01, 0xC0, 0x1C, 0x01, 0xC0, 0x38, 0x03, 0x80, 0x38, 0x47, 0x87, 0x3F, 0xF3, 0xFF, 0x80, 0x07, 0xC1, 0xFF, 0x18, 0x70, 0x03, 0x00, 0x30, 0x06, 0x07, 0xC0, 0x7C, 0x00, 0xE0, 0x06, 0x00, 0x60, 0x06, 0xC1, 0xCF, 0xF8, 0x7E, 0x00, 0x01, 0xE0, 0x3C, 0x0F, 0x03, 0x60, 0xCC, 0x3B, 0x8E, 0x63, 0x8C, 0x61, 0x9F, 0xFB, 0xFF, 0x01, 0x81, 0xF8, 0x3F, 0x00, 0x0F, 0xF1, 0xFE, 0x18, 0x01, 0x80, 0x18, 0x03, 0xF8, 0x3F, 0xC3, 0x8E, 0x00, 0x60, 0x06, 0x00, 0x60, 0x0C, 0xC1, 0xCF, 0xF8, 0x7E, 0x00, 0x03, 0xE1, 0xFC, 0x70, 0x1C, 0x03, 0x00, 0xC0, 0x1B, 0xC7, 0xFC, 0xF3, 0x98, 0x33, 0x06, 0x60, 0xCE, 0x30, 0xFC, 0x0F, 0x00, 0xFF, 0xFF, 0xFB, 0x07, 0x60, 0xC0, 0x38, 0x06, 0x01, 0xC0, 0x30, 0x0E, 0x01, 0x80, 0x70, 0x1C, 0x03, 0x80, 0x60, 0x08, 0x00, 0x07, 0x83, 0xF8, 0xE3, 0xB0, 0x36, 0x06, 0xC0, 0xDC, 0x31, 0xFC, 0x3F, 0x8C, 0x3B, 0x03, 0x60, 0x6C, 0x39, 0xFE, 0x1F, 0x00, 0x07, 0x81, 0xF8, 0x63, 0x98, 0x33, 0x06, 0x60, 0xCE, 0x79, 0xFF, 0x1E, 0xC0, 0x18, 0x06, 0x01, 0xC0, 0x71, 0xFC, 0x3E, 0x00, 0x19, 0xCC, 0x00, 0x00, 0x00, 0x67, 0x30, 0x06, 0x1C, 0x30, 0x00, 0x00, 0x00, 0x00, 0x38, 0x71, 0xC3, 0x0E, 0x18, 0x20, 0x00, 0x00, 0x18, 0x03, 0xC0, 0x7C, 0x1F, 0x03, 0xE0, 0x3E, 0x00, 0x7C, 0x01, 0xF0, 0x03, 0xE0, 0x07, 0x80, 0x08, 0x7F, 0xFB, 0xFF, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xFB, 0xFF, 0xC0, 0x30, 0x01, 0xE0, 0x07, 0xC0, 0x0F, 0x00, 0x3E, 0x00, 0x7C, 0x1F, 0x03, 0xE0, 0x7C, 0x07, 0x80, 0x20, 0x00, 0x3E, 0x7F, 0xB0, 0xF8, 0x30, 0x18, 0x1C, 0x1C, 0x3C, 0x38, 0x18, 0x00, 0x06, 0x07, 0x03, 0x00, 0x03, 0xC0, 0x7E, 0x0C, 0x71, 0x83, 0x30, 0x33, 0x0F, 0x33, 0xE6, 0x76, 0x6C, 0x66, 0xC6, 0x6C, 0x6C, 0xFC, 0xC7, 0xEC, 0x00, 0xC0, 0x0C, 0x00, 0xE3, 0x07, 0xF0, 0x3C, 0x00, 0x07, 0xF0, 0x1F, 0xE0, 0x07, 0xC0, 0x1F, 0x80, 0x3B, 0x00, 0xE7, 0x01, 0x8E, 0x07, 0x1C, 0x1F, 0xF8, 0x3F, 0xF0, 0xE0, 0x71, 0x80, 0xEF, 0xC7, 0xFF, 0x8F, 0xC0, 0x3F, 0xF1, 0xFF, 0xC3, 0x06, 0x38, 0x31, 0xC1, 0x8C, 0x18, 0x7F, 0xC3, 0xFE, 0x38, 0x39, 0xC0, 0xCC, 0x06, 0x60, 0x6F, 0xFF, 0x7F, 0xE0, 0x03, 0xEC, 0x3F, 0xF1, 0xC3, 0x8C, 0x06, 0x60, 0x19, 0x80, 0x0C, 0x00, 0x30, 0x00, 0xC0, 0x03, 0x00, 0x0C, 0x03, 0x3C, 0x1C, 0x7F, 0xE0, 0x7E, 0x00, 0x3F, 0xE1, 0xFF, 0x87, 0x0C, 0x30, 0x31, 0x81, 0x8C, 0x0C, 0xE0, 0x67, 0x03, 0x30, 0x31, 0x81, 0x8C, 0x0C, 0xE1, 0xCF, 0xFC, 0x7F, 0x80, 0x1F, 0xFE, 0x3F, 0xFC, 0x38, 0x38, 0x70, 0x70, 0xCC, 0xC1, 0x98, 0x03, 0xF0, 0x0F, 0xE0, 0x1D, 0x80, 0x31, 0x18, 0x60, 0x70, 0xC0, 0xE7, 0xFF, 0x9F, 0xFF, 0x00, 0x1F, 0xFF, 0x1F, 0xFE, 0x0E, 0x06, 0x0C, 0x0E, 0x0C, 0xC4, 0x0C, 0xC0, 0x1F, 0xC0, 0x1F, 0xC0, 0x19, 0xC0, 0x19, 0x80, 0x18, 0x00, 0x38, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0x07, 0xEC, 0x7F, 0xF3, 0x83, 0x9C, 0x06, 0x60, 0x19, 0x80, 0x0C, 0x00, 0x30, 0xFE, 0xC3, 0xFB, 0x01, 0xCC, 0x07, 0x3C, 0x38, 0x7F, 0xE0, 0x7E, 0x00, 0x0F, 0xBF, 0x1F, 0xBE, 0x0E, 0x0C, 0x0C, 0x0C, 0x0C, 0x1C, 0x0C, 0x1C, 0x1F, 0xF8, 0x1F, 0xF8, 0x18, 0x18, 0x18, 0x38, 0x18, 0x38, 0x38, 0x30, 0x7C, 0xFC, 0xFC, 0xF8, 0x3F, 0xF3, 0xFF, 0x03, 0x00, 0x70, 0x07, 0x00, 0x60, 0x06, 0x00, 0x60, 0x0E, 0x00, 0xE0, 0x0E, 0x00, 0xC0, 0xFF, 0xCF, 0xFC, 0x03, 0xFF, 0x03, 0xFF, 0x00, 0x38, 0x00, 0x30, 0x00, 0x30, 0x00, 0x30, 0x00, 0x70, 0x20, 0x70, 0x60, 0x60, 0x60, 0x60, 0x60, 0xE0, 0xE1, 0xC0, 0xFF, 0x80, 0x3F, 0x00, 0x1F, 0x9F, 0x1F, 0x9E, 0x0E, 0x38, 0x0C, 0x70, 0x0C, 0xE0, 0x0F, 0xC0, 0x1F, 0xC0, 0x1F, 0xE0, 0x1C, 0xE0, 0x18, 0x60, 0x18, 0x70, 0x38, 0x70, 0xFE, 0x3C, 0xFC, 0x3C, 0x3F, 0xC1, 0xFE, 0x01, 0x80, 0x1C, 0x00, 0xE0, 0x06, 0x00, 0x30, 0x01, 0x80, 0x1C, 0x18, 0xE0, 0xC6, 0x06, 0x30, 0x7F, 0xFF, 0xFF, 0xF8, 0x1E, 0x07, 0x87, 0x81, 0xE0, 0xF0, 0xF0, 0x7C, 0x7C, 0x1F, 0x1F, 0x06, 0xCF, 0x81, 0xBF, 0x60, 0xEF, 0x98, 0x3B, 0xEE, 0x0C, 0x73, 0x83, 0x1C, 0xC0, 0xC0, 0x30, 0xFC, 0x7E, 0x3F, 0x1F, 0x80, 0x3C, 0x3F, 0x3E, 0x3F, 0x1E, 0x0C, 0x1F, 0x1C, 0x1F, 0x1C, 0x1B, 0x98, 0x3B, 0x98, 0x3B, 0x98, 0x31, 0xF8, 0x31, 0xF8, 0x30, 0xF0, 0x70, 0xF0, 0xFC, 0x70, 0xF8, 0x70, 0x03, 0xE0, 0x3F, 0xE1, 0xC3, 0x8C, 0x07, 0x60, 0x0D, 0x80, 0x3C, 0x00, 0xF0, 0x03, 0xC0, 0x1B, 0x00, 0x6E, 0x03, 0x1C, 0x38, 0x7F, 0xC0, 0x7C, 0x00, 0x3F, 0xE1, 0xFF, 0x83, 0x0E, 0x38, 0x31, 0xC1, 0x8C, 0x0C, 0x60, 0xC3, 0xFC, 0x3F, 0xC1, 0xC0, 0x0C, 0x00, 0x60, 0x0F, 0xF0, 0x7F, 0x80, 0x03, 0xE0, 0x3F, 0xE1, 0xC3, 0x8C, 0x07, 0x60, 0x0D, 0x80, 0x3C, 0x00, 0xF0, 0x03, 0xC0, 0x1B, 0x00, 0x6E, 0x03, 0x1C, 0x38, 0x7F, 0xC0, 0xFC, 0x03, 0x02, 0x1F, 0xFC, 0xFF, 0xE0, 0x1F, 0xF0, 0x3F, 0xF0, 0x38, 0x70, 0x60, 0x60, 0xC0, 0xC1, 0x87, 0x07, 0xFC, 0x0F, 0xF0, 0x18, 0xF0, 0x30, 0xE0, 0x60, 0xC1, 0xC1, 0xCF, 0xE1, 0xFF, 0xC3, 0xC0, 0x0F, 0xB1, 0xFF, 0x30, 0xE6, 0x06, 0x60, 0x67, 0x80, 0x7F, 0x01, 0xFC, 0x01, 0xC4, 0x0C, 0xC0, 0xCE, 0x18, 0xFF, 0x8B, 0xE0, 0x7F, 0xFB, 0xFF, 0xD9, 0xCF, 0xCE, 0x7C, 0x63, 0x63, 0x18, 0x18, 0x01, 0xC0, 0x0E, 0x00, 0x60, 0x03, 0x00, 0x18, 0x0F, 0xF8, 0x7F, 0xC0, 0x7E, 0xFF, 0xF3, 0xF3, 0x03, 0x1C, 0x0C, 0x60, 0x31, 0x81, 0xC6, 0x06, 0x38, 0x18, 0xE0, 0x63, 0x03, 0x8C, 0x0C, 0x30, 0x70, 0x7F, 0x80, 0xF8, 0x00, 0xFC, 0x7F, 0xF8, 0xFD, 0xC0, 0x61, 0x81, 0xC3, 0x87, 0x07, 0x0C, 0x0E, 0x38, 0x0C, 0x60, 0x19, 0xC0, 0x3F, 0x00, 0x7C, 0x00, 0xF8, 0x00, 0xE0, 0x01, 0x80, 0x00, 0x7E, 0x7E, 0xFC, 0xFD, 0xC0, 0x73, 0x9C, 0xE7, 0x79, 0x8E, 0xF7, 0x1B, 0xEE, 0x36, 0xD8, 0x7D, 0xF0, 0xF3, 0xE1, 0xE7, 0x83, 0x8F, 0x07, 0x1E, 0x1C, 0x38, 0x00, 0x1F, 0x1F, 0x1F, 0x1F, 0x0E, 0x1C, 0x07, 0x38, 0x07, 0x70, 0x03, 0xE0, 0x03, 0xC0, 0x03, 0xC0, 0x07, 0xE0, 0x0E, 0xE0, 0x1C, 0x70, 0x38, 0x70, 0xFC, 0xFC, 0xFC, 0xFC, 0xF8, 0xFF, 0xC7, 0xCC, 0x38, 0x73, 0x83, 0x9C, 0x0F, 0xC0, 0x7C, 0x01, 0xC0, 0x0C, 0x00, 0x60, 0x03, 0x00, 0x38, 0x0F, 0xF8, 0x7F, 0x80, 0x0F, 0xF8, 0x7F, 0xE1, 0xC7, 0x86, 0x1C, 0x18, 0xE0, 0x07, 0x00, 0x38, 0x01, 0xC0, 0x0E, 0x00, 0x70, 0xC3, 0x83, 0x1C, 0x1C, 0x7F, 0xF3, 0xFF, 0x80, 0x0F, 0x87, 0xC3, 0x03, 0x81, 0xC0, 0xC0, 0x60, 0x30, 0x38, 0x1C, 0x0C, 0x06, 0x03, 0x03, 0x81, 0xC0, 0xC0, 0x60, 0x3E, 0x3F, 0x00, 0x41, 0xC3, 0x83, 0x07, 0x0E, 0x1C, 0x18, 0x38, 0x70, 0xE0, 0xC1, 0xC3, 0x83, 0x06, 0x0E, 0x1C, 0x18, 0x20, 0x1F, 0x0F, 0x80, 0xC0, 0xE0, 0x70, 0x30, 0x18, 0x0C, 0x0E, 0x07, 0x03, 0x01, 0x80, 0xC0, 0xE0, 0x70, 0x30, 0x18, 0x7C, 0x3E, 0x00, 0x02, 0x01, 0x80, 0xF0, 0x7E, 0x3B, 0x9C, 0x7E, 0x1F, 0x03, 0xFF, 0xFF, 0xFF, 0xFC, 0xCE, 0x73, 0x1F, 0xC3, 0xFE, 0x00, 0x60, 0x06, 0x0F, 0xE3, 0xFE, 0x70, 0xCC, 0x0C, 0xC3, 0xCF, 0xFF, 0x7F, 0xF0, 0x1E, 0x00, 0x3C, 0x00, 0x38, 0x00, 0x70, 0x00, 0xDF, 0x81, 0xFF, 0x83, 0xC3, 0x8F, 0x03, 0x1C, 0x06, 0x38, 0x0C, 0x70, 0x18, 0xE0, 0x63, 0xE1, 0x9F, 0xFE, 0x3D, 0xF8, 0x00, 0x0F, 0xF3, 0xFF, 0x30, 0x76, 0x07, 0xE0, 0x6C, 0x00, 0xC0, 0x0C, 0x00, 0xE0, 0x67, 0xFE, 0x3F, 0x80, 0x00, 0x3C, 0x00, 0xF0, 0x01, 0xC0, 0x06, 0x07, 0xD8, 0x7F, 0xE3, 0x0F, 0x98, 0x1E, 0x60, 0x73, 0x01, 0xCC, 0x07, 0x30, 0x3C, 0xE1, 0xF1, 0xFF, 0xE3, 0xF7, 0x80, 0x0F, 0xC1, 0xFE, 0x78, 0x76, 0x03, 0xFF, 0xFF, 0xFF, 0xC0, 0x0C, 0x00, 0xE0, 0xE7, 0xFE, 0x1F, 0x80, 0x00, 0xFC, 0x07, 0xF8, 0x0C, 0x00, 0x38, 0x01, 0xFF, 0x07, 0xFE, 0x01, 0x80, 0x07, 0x00, 0x0E, 0x00, 0x18, 0x00, 0x30, 0x00, 0x60, 0x01, 0xC0, 0x1F, 0xF8, 0x3F, 0xF0, 0x00, 0x0F, 0xBC, 0x7F, 0xF3, 0x0F, 0x18, 0x1C, 0xC0, 0x73, 0x01, 0x8C, 0x0E, 0x30, 0x38, 0xE3, 0xE1, 0xFF, 0x83, 0xEC, 0x00, 0x30, 0x01, 0xC0, 0x06, 0x07, 0xF0, 0x1F, 0x80, 0x1E, 0x01, 0xF0, 0x03, 0x00, 0x18, 0x00, 0xDE, 0x0F, 0xF8, 0x78, 0xC3, 0x86, 0x18, 0x30, 0xC1, 0x8E, 0x1C, 0x70, 0xE3, 0x06, 0x7E, 0xFF, 0xE7, 0xE0, 0x03, 0x80, 0x70, 0x00, 0x0F, 0xC1, 0xF0, 0x06, 0x00, 0xC0, 0x38, 0x07, 0x00, 0xC0, 0x18, 0x03, 0x0F, 0xFF, 0xFF, 0xC0, 0x00, 0x70, 0x07, 0x00, 0x00, 0xFF, 0x1F, 0xF0, 0x07, 0x00, 0x70, 0x06, 0x00, 0x60, 0x06, 0x00, 0xE0, 0x0E, 0x00, 0xC0, 0x0C, 0x00, 0xC0, 0x1C, 0x03, 0x87, 0xF0, 0xFE, 0x00, 0x1E, 0x00, 0x78, 0x00, 0xE0, 0x03, 0x80, 0x0C, 0xFC, 0x33, 0xE0, 0xDE, 0x07, 0xE0, 0x1F, 0x00, 0x7C, 0x01, 0xF8, 0x06, 0xF0, 0x39, 0xC3, 0xE7, 0xEF, 0x1F, 0x80, 0x0F, 0x81, 0xF0, 0x06, 0x01, 0xC0, 0x38, 0x06, 0x00, 0xC0, 0x18, 0x07, 0x00, 0xE0, 0x18, 0x03, 0x00, 0x61, 0xFF, 0xFF, 0xF8, 0x3F, 0xBC, 0x7F, 0xFC, 0xF3, 0x98, 0xC6, 0x33, 0x9C, 0xE7, 0x39, 0xCC, 0x63, 0x18, 0xC6, 0x31, 0x8D, 0xF7, 0xBF, 0xEF, 0x78, 0x3D, 0xE1, 0xFF, 0x8F, 0x8C, 0x38, 0x61, 0x83, 0x0C, 0x18, 0xE1, 0xC7, 0x0E, 0x30, 0x67, 0xEF, 0xFE, 0x7E, 0x07, 0xC1, 0xFE, 0x38, 0x76, 0x03, 0xC0, 0x3C, 0x03, 0xC0, 0x3C, 0x06, 0xE1, 0xC7, 0xF8, 0x3E, 0x00, 0x1E, 0xFC, 0x1F, 0xFE, 0x0F, 0x87, 0x0F, 0x03, 0x0E, 0x03, 0x0E, 0x03, 0x0E, 0x07, 0x0E, 0x06, 0x1F, 0x0C, 0x1F, 0xF8, 0x19, 0xF0, 0x18, 0x00, 0x18, 0x00, 0x38, 0x00, 0xFE, 0x00, 0xFE, 0x00, 0x0F, 0xDE, 0x3F, 0xFC, 0xC3, 0xE3, 0x03, 0x84, 0x07, 0x18, 0x0E, 0x30, 0x1C, 0x60, 0x78, 0xE1, 0xE0, 0xFF, 0xC0, 0xF9, 0x80, 0x03, 0x00, 0x0E, 0x00, 0x1C, 0x01, 0xFC, 0x03, 0xF8, 0x1E, 0x78, 0x7F, 0xF0, 0x7C, 0xC3, 0xC0, 0x0E, 0x00, 0x30, 0x00, 0xC0, 0x03, 0x00, 0x1C, 0x03, 0xFF, 0x0F, 0xFC, 0x00, 0x07, 0xF1, 0xFF, 0x30, 0x73, 0x86, 0x3F, 0x81, 0xFE, 0x03, 0xE6, 0x06, 0xE0, 0xEF, 0xFC, 0xFF, 0x00, 0x0C, 0x07, 0x01, 0x83, 0xFF, 0xFF, 0xCE, 0x03, 0x00, 0xC0, 0x30, 0x1C, 0x07, 0x01, 0x83, 0x7F, 0xCF, 0xC0, 0xF0, 0xFF, 0x1F, 0x60, 0x76, 0x07, 0x60, 0x76, 0x06, 0x60, 0x66, 0x0E, 0x61, 0xE7, 0xFF, 0x3E, 0xF0, 0x7E, 0x7E, 0xFC, 0xFC, 0xE0, 0xC0, 0xC3, 0x81, 0x86, 0x03, 0x98, 0x07, 0x70, 0x06, 0xC0, 0x0F, 0x80, 0x1E, 0x00, 0x38, 0x00, 0xF8, 0x7F, 0xE3, 0xE6, 0x63, 0x1B, 0xDC, 0x6F, 0x61, 0xFF, 0x87, 0xFC, 0x1E, 0xF0, 0x73, 0x81, 0xCE, 0x06, 0x38, 0x00, 0x3E, 0x7C, 0xF9, 0xF1, 0xE7, 0x03, 0xF8, 0x07, 0xC0, 0x1F, 0x01, 0xFC, 0x0F, 0x38, 0x78, 0xFB, 0xF7, 0xEF, 0x9F, 0x80, 0x1F, 0x1F, 0x3E, 0x1F, 0x1C, 0x1C, 0x0C, 0x18, 0x0E, 0x38, 0x0E, 0x70, 0x06, 0x60, 0x07, 0xE0, 0x07, 0xC0, 0x07, 0xC0, 0x03, 0x80, 0x07, 0x00, 0x07, 0x00, 0x0E, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0x1F, 0xF1, 0xFF, 0x38, 0xE3, 0x1C, 0x03, 0x80, 0x70, 0x0E, 0x01, 0xC6, 0x38, 0x67, 0xFE, 0x7F, 0xE0, 0x01, 0xC0, 0xF0, 0x70, 0x18, 0x06, 0x03, 0x80, 0xE0, 0x30, 0x1C, 0x3E, 0x0F, 0x00, 0x60, 0x18, 0x06, 0x03, 0x80, 0xC0, 0x30, 0x0F, 0x01, 0xC0, 0x0C, 0x71, 0xC7, 0x18, 0x63, 0x8E, 0x30, 0xC3, 0x1C, 0x71, 0x86, 0x38, 0xE3, 0x04, 0x00, 0x0E, 0x07, 0x80, 0xC0, 0x60, 0x70, 0x30, 0x18, 0x0C, 0x06, 0x01, 0xC1, 0xE1, 0xC0, 0xC0, 0xE0, 0x70, 0x30, 0x38, 0x78, 0x38, 0x00, 0x3C, 0x27, 0xE6, 0xEF, 0xCC, 0x38 ] FreeMonoBoldOblique12pt7bGlyphs = [ [ 0, 0, 0, 14, 0, 1 ], # 0x20 ' ' [ 0, 6, 15, 14, 6, -14 ], # 0x21 '!' [ 12, 8, 7, 14, 6, -13 ], # 0x22 '"' [ 19, 13, 18, 14, 2, -15 ], # 0x23 '#' [ 49, 11, 20, 14, 3, -16 ], # 0x24 '$' [ 77, 11, 15, 14, 3, -14 ], # 0x25 '%' [ 98, 11, 13, 14, 2, -12 ], # 0x26 '&' [ 116, 3, 7, 14, 8, -13 ], # 0x27 ''' [ 119, 7, 19, 14, 7, -14 ], # 0x28 '(' [ 136, 7, 19, 14, 2, -14 ], # 0x29 ')' [ 153, 11, 10, 14, 4, -14 ], # 0x2A '#' [ 167, 12, 13, 14, 3, -12 ], # 0x2B '+' [ 187, 6, 7, 14, 3, -2 ], # 0x2C ',' [ 193, 13, 2, 14, 2, -7 ], # 0x2D '-' [ 197, 3, 3, 14, 6, -2 ], # 0x2E '.' [ 199, 14, 20, 14, 2, -16 ], # 0x2F '/' [ 234, 11, 15, 14, 3, -14 ], # 0x30 '0' [ 255, 11, 15, 14, 2, -14 ], # 0x31 '1' [ 276, 13, 15, 14, 1, -14 ], # 0x32 '2' [ 301, 12, 15, 14, 2, -14 ], # 0x33 '3' [ 324, 11, 14, 14, 3, -13 ], # 0x34 '4' [ 344, 12, 15, 14, 2, -14 ], # 0x35 '5' [ 367, 11, 15, 14, 4, -14 ], # 0x36 '6' [ 388, 11, 15, 14, 4, -14 ], # 0x37 '7' [ 409, 11, 15, 14, 3, -14 ], # 0x38 '8' [ 430, 11, 15, 14, 3, -14 ], # 0x39 '9' [ 451, 5, 11, 14, 5, -10 ], # 0x3A ':' [ 458, 7, 15, 14, 3, -10 ], # 0x3B '' [ 472, 13, 11, 14, 2, -11 ], # 0x3C '<' [ 490, 13, 7, 14, 2, -9 ], # 0x3D '=' [ 502, 13, 11, 14, 2, -11 ], # 0x3E '>' [ 520, 9, 14, 14, 5, -13 ], # 0x3F '?' [ 536, 12, 19, 14, 2, -14 ], # 0x40 '@' [ 565, 15, 14, 14, 0, -13 ], # 0x41 'A' [ 592, 13, 14, 14, 1, -13 ], # 0x42 'B' [ 615, 14, 14, 14, 2, -13 ], # 0x43 'C' [ 640, 13, 14, 14, 1, -13 ], # 0x44 'D' [ 663, 15, 14, 14, 0, -13 ], # 0x45 'E' [ 690, 16, 14, 14, 0, -13 ], # 0x46 'F' [ 718, 14, 14, 14, 1, -13 ], # 0x47 'G' [ 743, 16, 14, 14, 0, -13 ], # 0x48 'H' [ 771, 12, 14, 14, 2, -13 ], # 0x49 'I' [ 792, 16, 14, 14, 0, -13 ], # 0x4A 'J' [ 820, 16, 14, 14, 0, -13 ], # 0x4B 'K' [ 848, 13, 14, 14, 1, -13 ], # 0x4C 'L' [ 871, 18, 14, 14, 0, -13 ], # 0x4D 'M' [ 903, 16, 14, 14, 1, -13 ], # 0x4E 'N' [ 931, 14, 14, 14, 1, -13 ], # 0x4F 'O' [ 956, 13, 14, 14, 1, -13 ], # 0x50 'P' [ 979, 14, 17, 14, 1, -13 ], # 0x51 'Q' [ 1009, 15, 14, 14, 0, -13 ], # 0x52 'R' [ 1036, 12, 14, 14, 3, -13 ], # 0x53 'S' [ 1057, 13, 14, 14, 2, -13 ], # 0x54 'T' [ 1080, 14, 14, 14, 2, -13 ], # 0x55 'U' [ 1105, 15, 14, 14, 1, -13 ], # 0x56 'V' [ 1132, 15, 14, 14, 1, -13 ], # 0x57 'W' [ 1159, 16, 14, 14, 0, -13 ], # 0x58 'X' [ 1187, 13, 14, 14, 2, -13 ], # 0x59 'Y' [ 1210, 14, 14, 14, 1, -13 ], # 0x5A 'Z' [ 1235, 9, 19, 14, 5, -14 ], # 0x5B '[' [ 1257, 7, 20, 14, 5, -16 ], # 0x5C '\' [ 1275, 9, 19, 14, 3, -14 ], # 0x5D ']' [ 1297, 10, 8, 14, 4, -15 ], # 0x5E '^' [ 1307, 15, 2, 14, -1, 4 ], # 0x5F '_' [ 1311, 4, 4, 14, 7, -15 ], # 0x60 '`' [ 1313, 12, 11, 14, 2, -10 ], # 0x61 'a' [ 1330, 15, 15, 14, -1, -14 ], # 0x62 'b' [ 1359, 12, 11, 14, 2, -10 ], # 0x63 'c' [ 1376, 14, 15, 14, 2, -14 ], # 0x64 'd' [ 1403, 12, 11, 14, 2, -10 ], # 0x65 'e' [ 1420, 15, 15, 14, 2, -14 ], # 0x66 'f' [ 1449, 14, 16, 14, 2, -10 ], # 0x67 'g' [ 1477, 13, 15, 14, 1, -14 ], # 0x68 'h' [ 1502, 11, 14, 14, 2, -13 ], # 0x69 'i' [ 1522, 12, 19, 14, 1, -13 ], # 0x6A 'j' [ 1551, 14, 15, 14, 1, -14 ], # 0x6B 'k' [ 1578, 11, 15, 14, 2, -14 ], # 0x6C 'l' [ 1599, 15, 11, 14, 0, -10 ], # 0x6D 'm' [ 1620, 13, 11, 14, 1, -10 ], # 0x6E 'n' [ 1638, 12, 11, 14, 2, -10 ], # 0x6F 'o' [ 1655, 16, 16, 14, -1, -10 ], # 0x70 'p' [ 1687, 15, 16, 14, 1, -10 ], # 0x71 'q' [ 1717, 14, 11, 14, 1, -10 ], # 0x72 'r' [ 1737, 12, 11, 14, 2, -10 ], # 0x73 's' [ 1754, 10, 14, 14, 2, -13 ], # 0x74 't' [ 1772, 12, 11, 14, 2, -10 ], # 0x75 'u' [ 1789, 15, 11, 14, 1, -10 ], # 0x76 'v' [ 1810, 14, 11, 14, 2, -10 ], # 0x77 'w' [ 1830, 14, 11, 14, 1, -10 ], # 0x78 'x' [ 1850, 16, 16, 14, 0, -10 ], # 0x79 'y' [ 1882, 12, 11, 14, 2, -10 ], # 0x7A 'z' [ 1899, 10, 19, 14, 4, -14 ], # 0x7B '[' [ 1923, 6, 19, 14, 5, -14 ], # 0x7C '|' [ 1938, 9, 19, 14, 3, -14 ], # 0x7D ']' [ 1960, 12, 4, 14, 3, -7 ] ] # 0x7E '~' FreeMonoBoldOblique12pt7b = [ FreeMonoBoldOblique12pt7bBitmaps, FreeMonoBoldOblique12pt7bGlyphs, 0x20, 0x7E, 24 ] # Approx. 2638 bytes