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 hashes)