def rai_from_raw(self, amount):
        """
        Divide a raw amount down by the rai ratio.

        :param amount: Amount in raw to convert to rai
        :type amount: int

        :raises: :py:exc:`nano.rpc.RPCException`

        >>> rpc.rai_from_raw(amount=1000000000000000000000000)
        1

        """

        amount = self._process_value(amount, 'int')

        payload = {"amount": amount}

        resp = self.call('rai_from_raw', payload)

        return int(resp['amount'])
Divide a raw amount down by the rai ratio.

        :param amount: Amount in raw to convert to rai
        :type amount: int

        :raises: :py:exc:`nano.rpc.RPCException`

        >>> rpc.rai_from_raw(amount=1000000000000000000000000)
        1