Skip to content

FittingHome/APIthon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APIthon

Python API for piloting windows automation for Marvelous using FastAPI, Celery and Flower Interface.

Acknowledgements

API Reference

Get task status

  GET /taskstatus
Parameter Type Description
task_id string REQUIRED Your task id

Post simulate

  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

Environment Variables

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

docker-compose Stack

    environment:
        - CELERY_BROKER_URL=redis://redis:6379/0
        - CELERY_RESULT_BACKEND=redis://redis:6379/0
        - C_FORCE_ROOT=true

Deployment

To deploy this project run :

  cd APIthon
  docker-compose up --build

Logo Logo

Flower Task Manager Interface

Flower 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.

Flower Interface

About

Python API for piloting windows automation for Marvelous Designer generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published