Poetry was great choice for dependency management in Python and allows us to package our code and publish it to private repository without too much overhead.
FastAPI was great for our usecase as it works very well with Pydantic and type annotations in Python. It's easy to write endpoints that are validated with Python types (amazing!)