uppy/examples/python-xhr
2021-12-09 18:12:34 +01:00
..
.gitignore create uploads folder, use uppy css from the bundle 2019-04-11 16:30:33 +03:00
index.html create uploads folder, use uppy css from the bundle 2019-04-11 16:30:33 +03:00
main.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
package.json meta: update npm deps (#3352) 2021-12-09 18:12:34 +01:00
readme.md Add retext to markdown linter (#3024) 2021-10-14 16:10:45 +02:00
requirements.txt add python example with flask 2019-03-28 16:33:59 +01:00
server.py add python example with flask 2019-03-28 16:33:59 +01:00

Uppy + Python Example

This example uses a Python Flask server and @uppy/xhr-upload to upload files to the local file system.

Run it

To run this example, make sure you've correctly installed the repository root:

npm install
npm run build

That will also install the npm dependencies for this example.

Additionally, this example uses python dependencies. Move into this directory, and install them using pip:

cd ./examples/python-xhr
pip install -r requirements.txt

Then, again in the repository root, start this example by doing:

npm run example python-xhr