Skip to content
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

api generation in python betterproto format #54

Open
1 task done
gilloud opened this issue Mar 1, 2022 · 2 comments
Open
1 task done

api generation in python betterproto format #54

gilloud opened this issue Mar 1, 2022 · 2 comments

Comments

@gilloud
Copy link

gilloud commented Mar 1, 2022

  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary

I want to suggest to the community the generation of python packages in the betterproto format. This format is more robust for python development, and up to date regarding the norm.

What is the use-case?

Provide to the developpers a new way to interact with the chirpstack api

Implementation description

A new docker/Makefile could be created to generate in the python directory new module named chirpstack_api_betterproto

Can you implement this by yourself and make a pull request?

Yes ! Of course !

@aureylz
Copy link

aureylz commented Mar 1, 2022

I guess a chirpstack_api_betterproto library can help to solve this problem (Using MyPy with chirpstack_api)

@ldorigo
Copy link

ldorigo commented Dec 7, 2022

Came for a similar issue although I'm not sure this was exactly what asked by op: you can also use the plugin described here to generate python .pyi types that make it much nicer to interact with the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants