Skip to main content

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.BlockMessage
  • dex_block_message_pb2.DexBlockMessage
  • ohlc_message_pb2.OhlcMessage
  • parsed_idl_block_message_pb2.ParsedIdlBlockMessage
  • token_block_message_pb2.TokenBlockMessage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitquery_pb2_kafka_package-0.1.1.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bitquery_pb2_kafka_package-0.1.1-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file bitquery_pb2_kafka_package-0.1.1.tar.gz.

File metadata

File hashes

Hashes for bitquery_pb2_kafka_package-0.1.1.tar.gz
Algorithm Hash digest
SHA256 93d260b434b256f9d57a4aa38dbe464d7d42cfc73311dd5820ff7968000512a2
MD5 75ddaefae649f96a4e8e852e351d88f6
BLAKE2b-256 15ba7baa0ed908e45e29f89b4d524c569fd37d50b2e8f94346444249bd70b734

See more details on using hashes here.

File details

Details for the file bitquery_pb2_kafka_package-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for bitquery_pb2_kafka_package-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1105a57cbf68a931e0b3ba89a8f98a78a0e9f8c90d31816bb493c7bfa872b3e1
MD5 1f95f4b395a7d45aa538456deadaaec7
BLAKE2b-256 0c90aa6fce4a70e0ba1cac1198d419688d68fff7cd21684ab7d64303ffebe796

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page