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.6.tar.gz (13.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_corecast_proto-1.0.6-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bitquery_corecast_proto-1.0.6.tar.gz
  • Upload date:
  • Size: 13.8 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.6.tar.gz
Algorithm Hash digest
SHA256 c45bde55e2f4176cc211cc2d3acf45f19c92c0ef9f9f3cdbfa24da005969be4f
MD5 e138709a9a7f5b9a75a9ac515b525639
BLAKE2b-256 4f0d66512fcb372a87a343dd65890ab8a157449124128251b2b29246728a09c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitquery_corecast_proto-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3ef179be641580b771ac80c41c7bb8c0fd7fcfa06150075200e7786a269f4b51
MD5 6d91702f28f13f5b3bf51a8d1220803a
BLAKE2b-256 a5fe4293c307b63c7b59b76bc3b7c8c68384e44b777c8c94c55715328bc4e3ac

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