← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 28
  1. Quart 0.23 is a new major release of Quart with a 25% performance improvement over Quart 0.22, a new development reloader, and backpressure handling.

  2. Amunden's Maxim, is a great guide to building applications.

  3. I like to use zod and react-hook-form to validate and manage my frontend forms.

  4. Asyncio's TaskGroup makes it much easier to write concurrent code and hence have faster routes.

  5. Flask has a great ecosystem of extensions.

  6. The current OWASP guidance (early 2023) is to use Argon2id for password hashing.

  7. PyPI have recently introduced a method to publish to PyPI via a github action without the need for manual tokens or username and passwords.

  8. With Flask approaching 13 years old I thought it would be helpful to compile 13 tips and techniques to get the most out of Modern Flask.

  9. The existing HTTP router used by Flask and Quart will soon be significantly faster thanks to improvements in the upcoming Werkzeug 2.2.

  10. Quart 0.17.0 and Flask 2.1.0 both introduce a new method to load configuration values directly from the environment.

  11. I'm often asked to compare Flask/Quart with FastAPI, usually in terms of the support of Pydantic based data validation and OpenAPI schema generation.

  12. Clients that half close the socket (shutdown the write part) are responded to by Hypercorn, as explained.

  13. How to use Sentry with Quart, focusing on the integration to use to capture errors and trace performance.

  14. How to use Postgres with Quart, focusing on the libraries to use and setup to make type conversions and things generally easy.

  15. Automatic API Testing

    How to use Hypothesis, and Quart-Schema, to automatically test your API.

  16. A guide to writing ASGI middleware via an example domain based dispatcher.

  17. I've been writing JSON-REST APIs for a number of years, all the time wanting to have tooling that validates the JSON sent and received and automatically generates documentation.

  18. I've rewritten the frontend of this website using Svelte + Sapper and it works great.

  19. Quart turns 3

    The first release of Quart, 0.1.0, was three years ago today.

  20. Packaging without setup.py

    I've recently started packaging without setup.py by using poetry and pyproject.toml.

  21. Type hints in Python 3 are executed at import time at a computational cost.

  22. I've proposed a change to Flask to support async(io) view functions following on from a recent change to Quart to support (non-blocking) sync view functions.

  23. Hypercorn 0.8.0 introduced support for HTTP/2 prioritisation the verification of which is demonstrated via a simple webpage.

  24. An early look at HTTP/3

    This is an overview of how this site performs when served over HTTP/3.

  25. Adding an RSS feed

    RSS is very useful feature that was missing from this blog, so I've added it.

  26. Serving HTTP/1, HTTP/2, and HTTP/3 in Python has never been easier, as Hypercorn can serve all three.

  27. Modern Single Page Apps have a increasingly common architecture whereby the frontend is served on a different domain to the backend necessitating the use of CORS.

  28. This is a commentrary on my usage of, and experience with, push promises and how I've added support in Quart.