uppy/examples/xhr-python
Prakash 5519b84409
@uppy: upgrade biome and more improvements (#6244)
- This PR upgrades `biome` from `2.0.5` -> `2.1.2` and adds two new
rules
-
[noUnusedImports](https://biomejs.dev/linter/rules/no-unused-private-class-members)
( we already had suppressions for this rule in code, but the rule itself
was never enabled in the config )
-
[noUnusedPrivateClassMembers](https://biomejs.dev/linter/rules/no-unused-private-class-members/)
- remove stale suppressions. 
- remove stale code.

---------

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2026-05-21 12:28:03 +08:00
..
.gitignore Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
index.html @uppy: upgrade biome and more improvements (#6244) 2026-05-21 12:28:03 +08: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