def block_put(self, file, **kwargs):
        return self._block_put.request(self._client, file, **kwargs)
>> c.block_put(io.StringIO(u'Mary had a little lamb'))
dataset/ETHPy150Open ipfs/py-ipfs-api/ipfsApi/client.py/Client.block_put