uppy/examples/xhr-python
Prakash a25226aab2
Fix @uppy/examples (#6099)
we forgot to update the examples after #5830
2025-12-08 09:48:23 +01:00
..
.gitignore Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
index.html Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
main.js Fix @uppy/examples (#6099) 2025-12-08 09:48:23 +01:00
package.json build(deps-dev): bump vite from 7.1.5 to 7.1.11 (#6021) 2025-10-21 10:07:47 +02:00
README.md Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
requirements.txt Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
server.py Cleanup examples (#5817) 2025-07-10 17:23:58 +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