use plupload javascript library with python web apps based on bottlepy
Project description
bottlepy-plupload
=================
Uploading multiples files using plupload js library and bottlepy as never been easier.
Setup virtualenv
=================
```
virtualenv dev
. dev/bin/activate
pip install bottle
```
Run multiple upload with plupload and bottle
=================
```
. dev/bin/activate
python bottle-example.py
```
Save uploaded files in your Python code
=================
```
from bottle import request, post
from plupload import plupload
@post('/upload')
def index():
return plupload.save(request.forms, request.files, "/destination/folder")
```
=================
Uploading multiples files using plupload js library and bottlepy as never been easier.
Setup virtualenv
=================
```
virtualenv dev
. dev/bin/activate
pip install bottle
```
Run multiple upload with plupload and bottle
=================
```
. dev/bin/activate
python bottle-example.py
```
Save uploaded files in your Python code
=================
```
from bottle import request, post
from plupload import plupload
@post('/upload')
def index():
return plupload.save(request.forms, request.files, "/destination/folder")
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plupload-1.0.tar.gz
(8.9 kB
view details)
File details
Details for the file plupload-1.0.tar.gz
.
File metadata
- Download URL: plupload-1.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0412f1ddf272358843541c732b197b812e4e9cf9ffa38108912441b3c1212e9 |
|
MD5 | 424f6eaeb2fd909be13a0b06e38e56ca |
|
BLAKE2b-256 | 18ac31453a74576d9321de71a55baad910f14b26963513e6aec26d9409162651 |