Live data from Hacker News

Litestar is worth a look

b-list.org

11–20 of 86 posts

Re: Litestar is worth a look

#12

Pretty cool post! I'm not sure how I feel about SQLAlchemy (not the star of the post but mentioned quite a bit); it's such a big ball of state that has so many surprises, I wonder if some people build entirely without it.

I recently built a personal project using peewee and it doesn't have a ton of bells and whistles but it works well for what it does do.

Re: Litestar is worth a look

#15

Pretty cool post! I'm not sure how I feel about SQLAlchemy (not the star of the post but mentioned quite a bit); it's such a big ball of state that has so many surprises, I wonder if some people build entirely without it.

I usually just use asyncpg.

Re: Litestar is worth a look

#16
post #15

Pretty cool post! I'm not sure how I feel about SQLAlchemy (not the star of the post but mentioned quite a bit); it's such a big ball of state that has so many surprises, I wonder if some people build entirely without it.

I usually just use asyncpg.

You can use asyncpg in SQLAlchemy

Re: Litestar is worth a look

#18
I've been using Litestar for over a year now, serving both JSON and templated HTML. Great all-around Python async framework that manages to be fast (faster than FastAPI), lightweight, and still has enough batteries included to host a website with auth, sessions, etc. I'm a fan of first-class msgspec support and the Controller class for nested routing.

Highly recommend.

Re: Litestar is worth a look

#19
love litestar.. working on migrating a couple of internal consoles to it from fastAPI.

the docs could use some love though.

i feel most of it is references [1], the "how to"s could be better.

inb4, "where pull request", i don't grok asgi or the framework nuances to be able to say how to improve on it.

[1] https://diataxis.fr/

Re: Litestar is worth a look

#20

I've been using Litestar for over a year now, serving both JSON and templated HTML. Great all-around Python async framework that manages to be fast (faster than FastAPI), lightweight, and still has enough batteries included to host a website with auth, sessions, etc. I'm a fan of first-class msgspec support and the Controller class for nested routing. Highly recommend.

It definitely seems worth checking out. I've been using FastAPI for a few years now.
Post reply on HN