perfect_python_project
perfect_python_project copied to clipboard
[FastHx](https://volfpeter.github.io/fasthx/) should be used to adopt HTMX into the perfect project template. It is better than the current partial implementation.
[Granian](https://github.com/emmett-framework/granian) looks promising. Maybe it can be used to replace Hypercorn as the default ASGI Server.
Improve FastAPI (minimum and complete) projects to log uncaught errors. Other ideas that can be used are well presented at [FastAPI Server Errors And Logs — Take Back Control](https://medium.com/@roy-pstr/fastapi-server-errors-and-logs-take-back-control-696405437983)
According to [0.8.0 release notes](https://github.com/encode/databases/releases/tag/0.8.0): > This release improves isolation of connections and transactions across concurrent tasks: > > * Database connections are now task-local and are not inherited by...
From time to time, it is desirable to squash the migrations to keep them short. This [article](https://notes.alexkehayias.com/squash-migrations-using-alembic/) proposes an interesting approach.