-
Notifications
You must be signed in to change notification settings - Fork 6
Register, Docker Compose, Fast API #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…t is to be tested from inside the python
…et's finish calling plastimatch
renamed dockerfiles with docker_src since this folder contains more than dockerfile.
Thank you for your contribution @hosseinjafar. The fast api implementation and updated docker file are interesting (and if they are of general interest to the community I suggest to make them publicly available in a separate repository that we can reference). As in the current state, the Dockerfile and Compose setup are quite specific (e.g., only the registration command you add to the package is published in the fast api, no description how the referenced test files can be acquired, ..). The path to the Dockerfile also should not be changed unless for a specific reason to maintain compatibility where possible. |
Fair enough! Best |
…s include:\n 1. replacing _ with - in the inputs for the convert command.\n 2. automatically removing \temp\ temp_data/ from all the inputs and adding the correct path for temp_data. implementing the api call for conver
…and not the dev command for the other containers to notice it
Thanks for the nice package! I use a docker container with Ubuntu 24 on it. running
apt install plastimatch
was good enough to get everything to work. no need to install the compiled binaries in python manually.The following functionality was added along with documentation and unit tests:
Register:
The register command to the Plastimatch is now implemented in pyplastimatch.py the tests are placed in test/test_register.py.
Docker compose:
Simplifies volume mounting and environment setting when running a container.
FastAPI:
I use pyplastimatch on a remote cluster as a server. Implemented pyplasti.py to call register using http post request.