uppy/examples/python-xhr
2022-12-13 15:07:19 +01:00
..
.gitignore example: migrate python-xhr to ESM (#4010) 2022-08-19 11:43:07 +02:00
index.html example: migrate python-xhr to ESM (#4010) 2022-08-19 11:43:07 +02:00
main.js example: migrate python-xhr to ESM (#4010) 2022-08-19 11:43:07 +02:00
package.json meta: upgrade to Vite 4 and ESBuild 0.16 (#4243) 2022-12-13 15:07:19 +01:00
README.md example: migrate python-xhr to ESM (#4010) 2022-08-19 11:43:07 +02:00
requirements.txt add python example with flask 2019-03-28 16:33:59 +01:00
server.py example: migrate python-xhr to ESM (#4010) 2022-08-19 11:43:07 +02: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:

corepack yarn install
corepack yarn 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:

corepack yarn workspace @uppy-example/python-xhr installPythonDeps

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

corepack yarn workspace @uppy-example/python-xhr start