uppy/examples/python-xhr
Merlijn Vos 7d6937300a
meta: enable prettier for markdown (#5133)
* meta: enable prettier for markdown

* Ignore changelogs

* revert CHANGELOG changes

* More formatting

---------

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-05-02 11:35:55 +02:00
..
.gitignore example: migrate python-xhr to ESM (#4010) 2022-08-19 11:43:07 +02:00
index.html meta: run Prettier on existing files (#4713) 2023-09-29 11:11:28 +02:00
main.js example: migrate python-xhr to ESM (#4010) 2022-08-19 11:43:07 +02:00
package.json meta: upgrade Vite and Vitest (#4881) 2024-01-22 15:56:40 +01:00
README.md meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
requirements.txt add python example with flask 2019-03-28 16:33:59 +01:00
server.py examples: update server.py (#4732) 2023-10-16 10:33:48 +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