hayate 兼容web fetch 标准的python框架

hayate 尽管star 不多,但是设计思路是很不错的,可以使用类似hone 的web fetch 模式,web 周边的标准框架是越来越多,但是python 周边的就缺少了,hayate 是一个尝试

包含的特性

  • 提供了标准request,response,headers,URL,兼容WHATWG fetch 以及url 语义
  • 依赖少,使用标准python 语法
  • runtime 无关,使用了fetch(Request)->Response 函数,任何 ASGI Server 以及不少serverless 框架支持运行
  • 支持formdata 以及file 处理
  • 异步优先

说明

目前此项目star 比较少,但是思路特别好,可以学习下

参考资料

https://github.com/hayatepy/hayate-fetch

https://github.com/hayatepy/hayate

https://hayatepy.dev/

posted on 2026-08-20 08:00  荣锋亮  阅读(2)  评论(0)    收藏  举报

导航