New ask Hacker News story: Ask HN: What would you use for a Python REST API in 2022?
Ask HN: What would you use for a Python REST API in 2022?
2 by oblio | 3 comments on Hacker News.
I've heard a lot of good things about django-rest-framework. However: 1. I've used SQLAlchemy in the past and I liked it, and I'm not sure how well it works with Django or if the Django ORM is as powerful. Though at the end of the day I just want a simple mapper and SQL query builder, not necessarily the super high level DSL. 2. How useful is the rest of Django when only the REST API parts are needed? Is it easy to disable the unneeded parts? Is it easy to completely remove them from the distribution (primarily for security concerns) What would you recommend for an average Python dev team? Some of the requirements: 1. authentication/authorization with support for IdPs. 2. paging. 3. built-in security features preventing various injections and web attacks. I know about Flask but it seems like a more barebones solution that has a longer ramp-up time, in order to find the right libraries that go together and make them work well.
2 by oblio | 3 comments on Hacker News.
I've heard a lot of good things about django-rest-framework. However: 1. I've used SQLAlchemy in the past and I liked it, and I'm not sure how well it works with Django or if the Django ORM is as powerful. Though at the end of the day I just want a simple mapper and SQL query builder, not necessarily the super high level DSL. 2. How useful is the rest of Django when only the REST API parts are needed? Is it easy to disable the unneeded parts? Is it easy to completely remove them from the distribution (primarily for security concerns) What would you recommend for an average Python dev team? Some of the requirements: 1. authentication/authorization with support for IdPs. 2. paging. 3. built-in security features preventing various injections and web attacks. I know about Flask but it seems like a more barebones solution that has a longer ramp-up time, in order to find the right libraries that go together and make them work well.
Comments
Post a Comment