All Projects → jinixin → Upload Demo

jinixin / Upload Demo

Uploading a large file by fragmentation, powered by Flask and WebUploader.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Upload Demo

Tedivms Flask
Flask starter app with celery, bootstrap, and docker environment
Stars: ✭ 142 (-1.39%)
Mutual labels:  flask, bootstrap
Tableexport
The simple, easy-to-implement library to export HTML tables to xlsx, xls, csv, and txt files.
Stars: ✭ 781 (+442.36%)
Mutual labels:  flask, bootstrap
Bootstrap Flask
Bootstrap 4 helper for Flask/Jinja2.
Stars: ✭ 441 (+206.25%)
Mutual labels:  flask, bootstrap
Issue Label Bot
Code For The Issue Label Bot, an App that automatically labels issues using machine learning, available on the GitHub Marketplace. This is also code for the blog article: "How to automate tasks on GitHub with machine learning for fun and profit"
Stars: ✭ 292 (+102.78%)
Mutual labels:  flask, bootstrap
Job Web Demo
Python Web 实战项目,Flask + Jinja2 + Bootstrap 开发的招聘网站
Stars: ✭ 87 (-39.58%)
Mutual labels:  flask, bootstrap
Cookiecutter Flask
A flask template with Bootstrap 4, asset bundling+minification with webpack, starter templates, and registration/authentication. For use with cookiecutter.
Stars: ✭ 3,967 (+2654.86%)
Mutual labels:  flask, bootstrap
Gae Init
Google App Engine based on Python, Flask, RESTful, Bootstrap and tons of other cool features
Stars: ✭ 533 (+270.14%)
Mutual labels:  flask, bootstrap
Beibq
基于flask开发类似gitbook的知识管理网站。 http://demo.beibq.cn
Stars: ✭ 480 (+233.33%)
Mutual labels:  flask, bootstrap
Swarmops
Manage swarm clusters to provide a more concise and compact intermediate layer web application with swarm ui.
Stars: ✭ 63 (-56.25%)
Mutual labels:  flask, bootstrap
Databook
A facebook for data
Stars: ✭ 26 (-81.94%)
Mutual labels:  flask, bootstrap
Slapdash
Boilerplate for bootstrapping scalable multi-page Dash applications
Stars: ✭ 225 (+56.25%)
Mutual labels:  flask, bootstrap
Booklibrary
📚Simple Book library application written on flask with SQLite database.
Stars: ✭ 98 (-31.94%)
Mutual labels:  flask, bootstrap
Ssis Dashboard
HTML5 SQL Server Integration Services Dashboard
Stars: ✭ 206 (+43.06%)
Mutual labels:  flask, bootstrap
Flasksaas
A great starting point to build your SaaS in Flask & Python, with Stripe subscription billing 🚀
Stars: ✭ 412 (+186.11%)
Mutual labels:  flask, bootstrap
Flog
A Simple Blog Powered by Flask
Stars: ✭ 150 (+4.17%)
Mutual labels:  flask, bootstrap
Fuse
A simple file sharing web service in Vue.js and Flask
Stars: ✭ 7 (-95.14%)
Mutual labels:  flask, bootstrap
Flaskdash
Flask starter app featuring CoreUI and the FlaskUser module.
Stars: ✭ 90 (-37.5%)
Mutual labels:  flask, bootstrap
Weeklyreport
基于Flask的开源周报系统,快速docker部署
Stars: ✭ 102 (-29.17%)
Mutual labels:  flask, bootstrap
Bootstrap Waitingfor
"Waiting for..." modal dialog with progress bar for Bootstrap
Stars: ✭ 137 (-4.86%)
Mutual labels:  bootstrap
Lqycms
基于laravel框架的企业级开源cms管理系统,开源php商城源码,B2C微商城系统,企业建站cms。
Stars: ✭ 142 (-1.39%)
Mutual labels:  bootstrap

upload-demo (include download)

Uploading a large file by fragmentation, powered by Flask and WebUploader. Downloading the file through streaming.

目的

  • 前端采用分片方式上传大文件给后端,后端接收全部分片后,将其组合成一个文件

  • 支持多用户同时上传,互不干扰

  • 支持流式下载文件,低占用内存

安装

  • 通过pip install -r requirements安装所需包

运行

  • 命令行键入“./server.py runserver”启动服务器

  • 浏览器访问“127.0.0.1:5000 ”,点击“请选择”按钮,选择文件并上传

  • 浏览器访问“127.0.0.1:5000/file/list ”,点击一个上传的文件进行下载

效果

  • 文件上传成功

  • 文件上传失败

技术

未来

  • 将上传的分片组合成新文件时,需将分片内容全部读出,会造成内存紧张。可以考虑不合并分片,下载时直接按序读取并回传

  • demo中使用了三种开源框架,后续修改应注意遵守BSD与MIT协议,感谢

致谢

  • 提供开源框架的母公司

  • hulkbai 解决因编码造成的合并分片失败

  • CharlieLio 报告文件名乱码问题

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].