Find file History
Type Name Latest commit message Commit time
Failed to load latest commit information.
templates document memory file Oct 25, 2014
README.rst fix #13: document stream parameter to save_to_memory Sep 8, 2015 🔨 sort import list and blacken its coding style Nov 6, 2018


Dealing with files in memory

This is an example of handling excel file in web development environment. Instead of saving the uploaded file, pyexcel enables loading it from memory.


You will need the html file in templates directory and keep the directory structure. Then please install Flask in addition:

$ pip install Flask

After that, you can launch the mini server:

$ python

Then visit http://localhost:5000/upload or http://localhost:5000/download

Relevant packages

Ready made plugins have been made on top of this example. Here is a list of them:

framework plugin/middleware/extension
Flask Flask-Excel
Django django-excel
Pyramid pyramid-excel

And you may make your own by using pyexcel-webio