Skip to main content

gRPC protobuf definitions and generated Python code for Bitquery CoreCast Solana gRPC

Project description

bitquery-corecast-proto

A Python package containing gRPC protobuf definitions and generated Python code for Bitquery CoreCast Solana gRPC.

Installation

pip install bitquery-corecast-proto

Quick Start

import grpc
from bitquery_corecast_proto import corecast_pb2, corecast_pb2_grpc
from bitquery_corecast_proto import stream_message_pb2

# Import Solana protobuf definitions
from solana import token_block_message_pb2, dex_block_message_pb2

# Create gRPC channel and stub
channel = grpc.insecure_channel('localhost:50051')
stub = corecast_pb2_grpc.CoreCastStub(channel)

# Make gRPC calls
request = corecast_pb2.StreamRequest()
response = stub.StreamMessages(request)

Available Modules

  • bitquery_corecast_proto.corecast_pb2 - Core request/response messages
  • bitquery_corecast_proto.corecast_pb2_grpc - gRPC service stubs
  • bitquery_corecast_proto.stream_message_pb2 - Stream message definitions
  • bitquery_corecast_proto.request_pb2 - Request message definitions

Solana Dependencies

This package automatically installs bitquery-pb2-kafka-package which provides:

  • solana.token_block_message_pb2 - Token block messages
  • solana.dex_block_message_pb2 - DEX block messages
  • solana.parsed_idl_block_message_pb2 - Parsed IDL block messages
  • solana.block_message_pb2 - Block messages

Requirements

  • Python 3.8+
  • grpcio>=1.60.0
  • grpcio-tools>=1.60.0
  • protobuf>=6.30.0,<7.0.0
  • bitquery-pb2-kafka-package

License

MIT License - see LICENSE file for details.

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_corecast_proto-1.0.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

bitquery_corecast_proto-1.0.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file bitquery_corecast_proto-1.0.2.tar.gz.

File metadata

  • Download URL: bitquery_corecast_proto-1.0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for bitquery_corecast_proto-1.0.2.tar.gz
Algorithm Hash digest
SHA256 fb9e3f2fb0ca2b66a3f63d29da187973a27b3029cb12a7f236579655f23c5842
MD5 7d09c3d2cb5b0848acddba36b4de1b1e
BLAKE2b-256 44ec19aefbd59a7fa62f010f0ce72aca8fa48fcde7da5499f0d232c03ce1c185

See more details on using hashes here.

File details

Details for the file bitquery_corecast_proto-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for bitquery_corecast_proto-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 356c5cc7cf64d9598859672bd1418b33d501a2aa2aec7732542b5d711d7f2450
MD5 23cd4063e38f1fcb2048c7c84157948c
BLAKE2b-256 0de28704a0ea623423e99e7ce7f44798d2aa0d7b39a33b602aa5bf4c548c9dbb

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