Merlijn Vos 7d6937300a meta: enable prettier for markdown (#5133) 1 år sedan
..
.gitignore 66f49db856 example: migrate `python-xhr` to ESM (#4010) 2 år sedan
README.md 7d6937300a meta: enable prettier for markdown (#5133) 1 år sedan
index.html 34c78e9093 meta: run Prettier on existing files (#4713) 1 år sedan
main.js 66f49db856 example: migrate `python-xhr` to ESM (#4010) 2 år sedan
package.json 975038cf4c meta: upgrade Vite and Vitest (#4881) 1 år sedan
requirements.txt 41ee14db75 add python example with flask 6 år sedan
server.py 8115538bc7 examples: update `server.py` (#4732) 1 år sedan

README.md

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