項目須要使用 flask 上傳、下載文件到 google storage 上,git
搜了一圈沒有能直接結合 wtform 使用的插件,因此動手造了個輪子。github
只實現了基本的上傳,下載的功能,後續可能會完善預覽、權限控制等功能。flask
安裝和使用方法參見 README --> https://github.com/FingerLiu/flask-wtf-storagegoogle
extend flask-wtf to support saving data to google storage插件
pip install flask-wtf-storage
code
see examples folderorm
不喜勿噴ip