-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add RFC 004-Python Implementation #71
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
❤️ Many, many thanks for writing this up, Matt! We've been a little swamped, but this hasn't fallen off our radar. |
@mattrobenolt is attempting to deploy a commit to the connectrpc Team on Vercel. A member of the Team first needs to authorize it. |
@mattrobenolt @akshayjshah @mattrobenolt |
This covers both client and server
Thank you for creating the POC. The Connect over HTTP/1.1 is exactly what I was looking for. I might be checking the async implementation if other things related to Connect work well. |
any progress on this? |
👋 So to clarify, @mattrobenolt and @i2y if someone wants to contribute code for this effort, would it be best at this point to do so at https://github.com/mattrobenolt/connect-python or at https://github.com/i2y/connecpy and how hard would it be to merge these into one effort? Even more specifically, if I dumped any missing code from one into the other, from which repo to which repo should I go? I mean, it would also be great if someone could just get paid to work on this at their day job, but I know how hard it is to justify to management investing work on critical behind-the-scenes support when it is indirect to more immediate results. Thanks for all the volunteer work so far! ❤️ |
Hi folks, I wanted to share a project that I've been working on: https://github.com/dsludwig/sonora-connect This is a fork of the existing sonora which implemented GRPC-Web in both ASGI and WSGI handlers, without adding additional code-generators beyond the standard protobuf I have also added conformance tests for the clients based on @mattrobenolt's conformance code, and written server conformance tests. All supported server test cases are currently passing, and there are only a few remaining client test cases that are failing due to unimplemented features. |
@dsludwig Oh, that seems to be a great approach. Also, I have not noticed "sonora." I might contribute to your repository as well. However, as you can see in one of the diagrams I included in my Japanese blog post (https://tech-blog.monotaro.com/entry/2024/06/25/090000), we have already started using "connecpy" as one of the foundational libraries for our internal libraries. For that reason, it might not be possible to switch to your solution or library immediately, although it could become a possibility in the near future. At the same time, I think having alternative approaches or solutions available isn't necessarily a bad thing in open-source initiatives, so I may use your code and @mattrobenolt's code as references to improve "connecpy." In any case, I think your approach is very clever and impressive. Thanks for the sharing👍 |
bumping up this thread, is there any roadmap items for supporting connectrpc on python? |
bump |
So no buf plugin as for now, yes? |
Hey all 👋 So just a status update since I've been kinda MIA on this, when I expected to personally spearhead developing this. For a bit of history, most of my career has been professionally developing Python, starting back in Python 2.3 and I was quite involved in the Python community for a large period of that time. I mostly ended writing Python when Sentry started moving to Python 3, which was around the time Python 3.6 became popular. Prior to this, I spent most of that time writing Python 2.6 and 2.7, with Python 3 being for small scripts and small greenfield projects. I have since stopped writing Python entirely for anything professional. I keep writing Python for small scripts as needed, but basically just using Python 2.7 syntax in modern Python. As a part of this project, I got really burned out with the modern Python landscape trying to catch up. Very specifically modern Python types and ASGI/asyncio are... extremely not something I like. Publishing a modern Python library would come with the expectation of strong type safety and supporting asyncio, which is something I personally strongly disagree with in Python and that alone is a strong demotivator to write modern Python and publish a public library. On top of that, I have no personal or professional use for Connect in Python other than just a personal interest in developing it, but that personal interest kinda fizzed out by getting caught up in modern Python semantics. I have learned through this that I do not like writing modern Python, and publishing something how I'd want to do it would not be received very well, so I kinda lost a lot of interest in spending my personal time on something I find very frustrating and annoying. Connect is awesome, I just really hate modern Python. For those interested, I had a lot of progress on this branch: https://github.com/mattrobenolt/connect-python/tree/ref that was working on passing conformance tests. |
No description provided.