Python API for piloting windows automation for Marvelous using FastAPI, Celery and Flower Interface.
GET /taskstatus| Parameter | Type | Description |
|---|---|---|
task_id |
string |
REQUIRED Your task id |
POST /simulate| Parameter | Type | Description |
|---|---|---|
garment_id |
string |
REQUIRED Id of the garment to simulate |
user_id |
string |
REQUIRED Id of the user to save simulation |
folder_path |
string |
REQUIRED Folder path for sftp management |
To run this project, you will need to add the following environment variables to your .env file or directly to the docker-compose.yml environment variables.
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/0
C_FORCE_ROOT=true
environment:
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULT_BACKEND=redis://redis:6379/0
- C_FORCE_ROOT=true
To deploy this project run :
cd APIthon
docker-compose up --buildFlower is a task manager connected to Celery to view, manage and control all your celery's workers and theirs jobs/requests. You can check all the requests standing in the queue of a worker, view the priority assigned to certains jobs and see their processing.

