This package contains the pb2 files necessary to interact with Bitquery Kafka Protobuf messages
Project description
Solana Package
A Python library containing pb2 files to simplify parsing Solana blockchain data on Kafka.
Installation
Install easily via pip:
pip install bitquery-pb2-kafka-package
Usage
Importing and using protobuf messages: You can import and use the protobuf-generated Python classes as follows:
from solana import block_message_pb2
# Create a new BlockMessage instance
block_message = block_message_pb2.BlockMessage()
# Assign fields (replace with actual fields)
block_message.field_name = "value"
# Serialize the message to bytes
serialized_message = block_message.SerializeToString()
# Deserialize bytes back into a message
received_message = block_message_pb2.BlockMessage()
received_message.ParseFromString(serialized_message)
print(received_message)
Available Protobuf Messages
block_message_pb2.BlockMessagedex_block_message_pb2.DexBlockMessageohlc_message_pb2.OhlcMessageparsed_idl_block_message_pb2.ParsedIdlBlockMessagetoken_block_message_pb2.TokenBlockMessage
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bitquery_pb2_kafka_package-0.1.1.tar.gz.
File metadata
- Download URL: bitquery_pb2_kafka_package-0.1.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93d260b434b256f9d57a4aa38dbe464d7d42cfc73311dd5820ff7968000512a2
|
|
| MD5 |
75ddaefae649f96a4e8e852e351d88f6
|
|
| BLAKE2b-256 |
15ba7baa0ed908e45e29f89b4d524c569fd37d50b2e8f94346444249bd70b734
|
File details
Details for the file bitquery_pb2_kafka_package-0.1.1-py3-none-any.whl.
File metadata
- Download URL: bitquery_pb2_kafka_package-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1105a57cbf68a931e0b3ba89a8f98a78a0e9f8c90d31816bb493c7bfa872b3e1
|
|
| MD5 |
1f95f4b395a7d45aa538456deadaaec7
|
|
| BLAKE2b-256 |
0c90aa6fce4a70e0ba1cac1198d419688d68fff7cd21684ab7d64303ffebe796
|