TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

BlackSheep: Fast ASGI web framework for Python

63 点作者 klaussilveira5 个月前

12 条评论

grandimam5 个月前
I enjoy building frameworks and libraries for fun, so kudos to you for that. At first glance, BlackSheep seems to combine the aspects of Flask, Django, and FastAPI. However, I’m a bit skeptical about its ability to coexist alongside them. The one feature I believe could drive the success of the next Python framework is the ability to operate in nogil mode.
Majestic1215 个月前
What is the plus value vs a 'classical' equivalent like FastAPI ?
评论 #42455230 未加载
urduntupu5 个月前
Another ASGI web framework mimicking the Flask API: <a href="https:&#x2F;&#x2F;github.com&#x2F;pallets&#x2F;quart&#x2F;">https:&#x2F;&#x2F;github.com&#x2F;pallets&#x2F;quart&#x2F;</a>
评论 #42498327 未加载
anonyxbiz5 个月前
I&#x27;m building and maintaining Blazeio: <a href="https:&#x2F;&#x2F;github.com&#x2F;anonyxbiz&#x2F;Blazeio">https:&#x2F;&#x2F;github.com&#x2F;anonyxbiz&#x2F;Blazeio</a>. Blazeio is designed to handle massive concurrency with low response times and high requests per second. It utilizes a perishable buffer, discarding chunks as they are received, and operates with a single task throughout the entire request&#x2F;response cycle. In theory, Blazeio can scale to handle infinite concurrency. While Black Sheep crashes under heavy load, Blazeio continues to scale seamlessly and outperform it.
scotty795 个月前
So much negativity here ... I like it very much. Browsing docs makes me want to code some backend in Python, which historically never been the case.
nosefrog5 个月前
Are there any good alternatives to gunicorn out there that don&#x27;t require async? We&#x27;re not ready to migrate everything to async, but gunicorn&#x27;s forking model is blowing up on macOS 15.
评论 #42457569 未加载
评论 #42457369 未加载
jfuwfasdfs5 个月前
Nobody seems to be asking why Python doesn&#x27;t have the equivalent of Go&#x27;s net&#x2F;http.<p>I think Django is justified given how powerful it is, but these micro-frameworks are ridiculous.
评论 #42458090 未加载
tiffanyh5 个月前
How does this compare to Litestar?<p><a href="https:&#x2F;&#x2F;litestar.dev" rel="nofollow">https:&#x2F;&#x2F;litestar.dev</a>
adamredwoods5 个月前
I was trying to see the value of this as well, but I don&#x27;t know Python well enough. Maybe there is no ASGI for python?<p>And I assume Python cannot handle it&#x27;s own HTTP server (using threads, similar to Javalin&#x27;s virtual threads)? I always cringe when a programming language needs to find another solution&#x2F;language to handling its processes. I understand why you will need a load balancer, but for small, simple projects, I like to contain things.
评论 #42454683 未加载
评论 #42454722 未加载
评论 #42454853 未加载
评论 #42456007 未加载
评论 #42456266 未加载
tinthedev5 个月前
Feels like an in-between library that I&#x27;m not sure has a great fit in the current Python BE environment.<p>It&#x27;s not as batteries-included as Django, primarily because Django&#x27;s the incumbent and the ecosystem is vast.<p>It&#x27;s not as modular and independent as Flask, which it&#x27;s taking a lot of inspiration from.<p>It doesn&#x27;t seem to bring enough to the table to be flat out better all-rounder than FastAPI.<p>I&#x27;m quite unsure where I&#x27;d use it instead of one of those 3.<p>From searching through the documentation and trying to find it out, the primary &quot;secret sauce&quot; seems to be Dependency Injection, quite a hard sell for a Python framework.
评论 #42460186 未加载
评论 #42457957 未加载
somesun5 个月前
what&#x27;s the difference between fastapi?
Me0015 个月前
I’m worried about the psychological health of people that make stuff like this. Why? Nobody uses these frameworks unless paid, you need an actual team of people to maintain it.
评论 #42498361 未加载
评论 #42460094 未加载
评论 #42458076 未加载
评论 #42457660 未加载
评论 #42458033 未加载