anchorpy
anchor-client-gen
Our great sponsors
anchorpy | anchor-client-gen | |
---|---|---|
7 | 1 | |
190 | 122 | |
- | - | |
8.6 | 5.0 | |
about 1 month ago | 9 months ago | |
Python | TypeScript | |
MIT License | MIT License |
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.
anchorpy
-
Solana SPL transfer Python
You looked in here? https://github.com/kevinheavey/anchorpy
-
Announcing Solders: a Python wrapper for the Solana Rust SDK
Hi, creator of AnchorPy and core maintainer of solana-py here.
-
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.
-
Announcing anchorpy client-gen 🐍 Generate Python clients from Anchor IDLs
Here's the repo and here are the client-gen docs. Do let me know if you try it out and have any suggestions!
-
apischema v0.17 - I've developed the fastest typed JSON (de)serialization library, and you can also build your GraphQL schema with it
I used this for parsing a JSON IDL and it worked really well https://github.com/kevinheavey/anchorpy/blob/main/src/anchorpy/idl.py
- I created AnchorPy: a library for interacting with Solana programs
- AnchorPy: Interact with Solana programs using Python
anchor-client-gen
-
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.
What are some alternatives?
solana-py - Solana Python SDK
genpy - An AST for Python code generation, in Python
nft-generator-py - This tool allows users to generate sets of unique images and metadata using weighted layer collections.
SolanaMint - Solana Minting Bot | MagicEden + MonkeLabs
solathon - ☄️ High performance, easy to use and feature-rich Solana SDK for Python.
defi-score - DeFi Score: An open framework for evaluating DeFi protocols
aio-eth - A simple python library that can be used to run large Web3 queries on Ethereum blockchain concurrently as per Ethereum JSON-RPC specification.
ape - The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
python-opensea - Python wrapper for the OpenSea API
solana.py - Solana Python SDK [Moved to: https://github.com/michaelhly/solana-py]
moonstream - Building blocks for your blockchain economy [Moved to: https://github.com/moonstream-to/api]
apischema - JSON (de)serialization, GraphQL and JSON schema generation using Python typing.