-
Notifications
You must be signed in to change notification settings - Fork 29
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
Switch to FastAPI #108
Comments
It seems there's at least one stakeholder project using the flask app: https://github.com/supervisionearth/svs-tileserver But they seem to be using a fork so I may go ahead and do this change when I have free time |
Dear @banesullivan where is the difference between localtileserver and https://developmentseed.org/titiler/ ? They are using FastAPI as backend. |
@meteoDaniel Titiler uses rio-tiler/rasterio for data access while localtileserver uses the large-image module. |
Exactly correct, @vincentsarago! Thanks for chiming in! localtileserver is honestly a hobby/toy project of mine, and I never thought it would get as many users as it has. I'm hoping to refactor this entirely to only support Jupyter and CLI usage which would drop support for using localtileserver as microservivce in favor of Then I also want to experiment with using rio-tiler as the backend for this... but maybe it makes more sense for me to just contribute to rio-viz |
Flask has been giving me too many headaches lately, and I've been wanting to learn/use FastAPI.
I'm going to rewrite the internals of
localtileserver
to strip out flask and use fastapi. The average user will see not change in the Python API, but any projects using the flask blueprint (I think I'm the only person doing that) will no longer be supported.When this lands, it will completely change the dependencies (hopefully making them lighter).
The text was updated successfully, but these errors were encountered: