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.3.tar.gz (7.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.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bitquery_corecast_proto-1.0.3.tar.gz
  • Upload date:
  • Size: 7.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.3.tar.gz
Algorithm Hash digest
SHA256 cbbbe8c4e920e9db087256225987a0db36bc66e76fbecb8befe3f98487a693d7
MD5 2baeae6a25c9d8694f52f87c0a561239
BLAKE2b-256 15d562d73668227ccf577c5f4469e148f37d2a9553d52233a7e0426eba156f43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitquery_corecast_proto-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 64454bf18e55f4c051d709830f4828e0bba8ccaef12589148e08587213efd89a
MD5 02d2b916c4be35898e8f8e9d4a2dafae
BLAKE2b-256 8e3af60126fe0da6b4f7b147c590d6989dfdf2a3dcad52aa9beeabc5f0ce848a

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