anchor-client-gen
A tool for generating solana web3 clients from anchor IDLs. (by kklas)
genpy
An AST for Python code generation, in Python (by inducer)
anchor-client-gen | genpy | |
---|---|---|
1 | 1 | |
162 | 30 | |
4.9% | - | |
3.9 | 6.4 | |
12 days ago | 3 months ago | |
TypeScript | Python | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
anchor-client-gen
Posts with mentions or reviews of anchor-client-gen.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-08.
-
I made a Python client generator for Solana Anchor projects (but I'm here to talk about codegen)
In building the client generator, I mimicked the Typescript tool anchor-client-gen but had to change a lot of things that didn't work in Python or weren't Pythonic if translated directly. The trickiest part was keeping track of types that I had generated in one file that needed to be imported in another generated file.
genpy
Posts with mentions or reviews of genpy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-08.
-
I made a Python client generator for Solana Anchor projects (but I'm here to talk about codegen)
Generating Python code seems to be really uncommon. I was surprised at this - it's not an obviously insane thing to do, right? However I found almost no existing tooling to help me, and I did search for quite a while. Eventually I found a small, half-finished library called genpy and decided I would extend that as needed.
What are some alternatives?
When comparing anchor-client-gen and genpy you can also consider the following projects:
anchorpy - The Python Anchor client.