Groups
Groups
Sign in
Groups
Groups
python-cn(华蟒用户组,CPyUG 邮件列表)
Conversations
Labels
About
Send feedback
Help
Django gRPC framework,一个方便 Django 和 gRPC 结合使用的小工具
138 views
交流
Skip to first unread message
世鹏 冯
unread,
May 22, 2020, 10:17:33 AM
5/22/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python-cn(华蟒用户组,CPyUG 邮件列表)
最近用 Django REST framework 比较多,与此同时,又有使用 gRPC 提供内部服务的需求,
不过目前并没找到特别简单好用的 gRPC + Django 结合工具,所以花时间自己实现了一个,
目前的功能还比较简陋:
- 简单的通过 Model 自动生成 Proto
- 简单的 ModelService,类似 REST framework 的 ModelViewSet
- 支持 development mode 的 gRPC server (autoreloader, checks)
- 简单的 service test 支持
希望能帮助到有同样需求的同学 :)
项目链接:
https://github.com/fengsp/django-grpc-framework
文档链接:
https://djangogrpcframework.readthedocs.io/
Reply all
Reply to author
Forward
0 new messages