def sendable(self):
        self.trim_log()
        weighted_bytes = int(self.weighted_throughput / self.interval)
        return max(0, self.bytes_per_second - weighted_bytes)
How many bytes can we send without exceeding bandwidth?
dataset/ETHPy150Open jcrocholl/throxy/throxy.py/Throttle.sendable