Experimenting with Starlette 1.0 with Claude skills

(simonwillison.net)

12 points | by TheTaytay 2 days ago ago

4 comments

  • indigodaddy 2 days ago ago

    simonw, have you messed about with FastHTML yet? It uses Starlette for the basis of my it framework as well (however it's quite different).

    • simonw 2 days ago ago

      A tiny bit, but it never really appealed to me because I've never been heavily into the API-only version of web development - I still like building things that are mostly Jinja templates and HTML forms with a sprinkle of JavaScript.

      My JSON API needs are simple enough that default Starlette handles them well.

      I'm beginning to come round to the benefits of OpenAPI now which seems like a big note in FastAPI's favor, so maybe I'll give it more of a shot.

      • indigodaddy a day ago ago

        Just to be clear, I’m referring to:

        https://fastht.ml/

        • simonw a day ago ago

          Or sorry I misread as FastAPI.

          I'm too much of an HTML and JavaScript nerd to get excited about tools that let me write my HTML in Python.