def incr(self, name, amount=1):
        """
        Increase the value at key ``name`` by ``amount``. If no key exists, the value
        will be initialized as ``amount`` .

        Like **Redis.INCR**

        :param string name: the key name
        :param int amount: increments
        :return: the integer value at key ``name``
        :rtype: int

        >>> ssdb.incr('set_count', 3)
        13
        >>> ssdb.incr('set_count', 1)
        14
        >>> ssdb.incr('set_count', -2)
        12
        >>> ssdb.incr('temp_count', 42)
        42        
        """                
        amount = get_integer('amount', amount)
        return self.execute_command('incr', name, amount)
def incr ( self , name , amount = 1 ) : amount = get_integer ( 'amount' , amount ) return self . execute_command ( 'incr' , name , amount )
Increase the value at key ``name`` by ``amount``. If no key exists, the value
        will be initialized as ``amount`` .

        Like **Redis.INCR**

        :param string name: the key name
        :param int amount: increments
        :return: the integer value at key ``name``
        :rtype: int

        >>> ssdb.incr('set_count', 3)
        13
        >>> ssdb.incr('set_count', 1)
        14
        >>> ssdb.incr('set_count', -2)
        12
        >>> ssdb.incr('temp_count', 42)
        42