render_download_button
(bytes_data
:bytes
, filename
:str
, description
:str
='Download'
, color
:str
='default'
)
Loads data from buffer into base64 payload
embedded into a HTML button.
Recommended for small files only.
bytes_data: open file object ready for reading.
A file like object with a read method.
filename: str
The name when it is downloaded.
description: str
The text that goes into the button.