flask + wtform + google storage

項目須要使用 flask 上傳、下載文件到 google storage 上,git

搜了一圈沒有能直接結合 wtform 使用的插件,因此動手造了個輪子。github

只實現了基本的上傳,下載的功能,後續可能會完善預覽、權限控制等功能。flask

安裝和使用方法參見 README --> https://github.com/FingerLiu/flask-wtf-storagegoogle

flask-wtf-storage

extend flask-wtf to support saving data to google storage插件

Installation

pip install flask-wtf-storagecode

Usage

see examples folderorm

不喜勿噴ip

相關文章
相關標籤/搜索