Show And Tell -- Dash Resumable Upload


I made a new dash upload component (
I found that the one in dash core components was good, but it stores the uploaded data in the component itself, which is bad news if you want to upload a very big file since it will crash the users web browser.
This one chunks the file in the front end and sends small pieces to a new endpoint that is added to to the dash app.server using an included decorator function. Then whatever data the user uploads will be in a folder in the server side, and the component will only store the names of files, which you can use to load the files from disk. It is essentially a dash wrapper for the resumable.js file uploader, so there are a lot of fun extras you can play with, like a max files uploaded setting, max file sizes, setting accepted file extensions, pausing uploads, resuming uploads, multiple simultaneous uploads, canceling uploads.

Checkout the in the repo for an idea of how it works, and check out the codepen linked to in and fork it if you want to change how it looks.

I have tested this for 1 gb files and it worked great, I hope someone finds it useful.

Dash Upload Component - Decoding Large Files
Upload after confirmation and progress bar
Chrome crashes on uploading large files
Show and Tell - Community Thread :tada:
Show and Tell - Community Thread :tada:

Wow, this is amazing! 1GB uploads!

Thanks a ton for sharing :trophy:


Have you uploaded this to PyPI or do we need to install it locally?


I put it up on PyPi, so you can pip install dash-resumable-upload. I’ll get more detailed documentation on github when I get a chance, but looking at and looking at src/components/ to see the properties that you can change.


In case that could help anyone: If you run into problems with the pip version, see for now.


What would be the best way to handle the file uploaded with Dash Resumable Upload when the process completes? In other words, how can I get e.g. filename of the uploaded file when upload is finished? I could not find any particular event.