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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bitquery_corecast_proto-1.0.7.tar.gz
Algorithm Hash digest
SHA256 b05866094082cc58b4eaf98573f56841d9cd04ca38e623084509c760bcb6bab2
MD5 c640d7b6be91d177e687f8ad44f38290
BLAKE2b-256 82eb968e9dce015a82b1724d6f6e5066c7676b9531fb7905fff08bb7886b4698

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitquery_corecast_proto-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a9586f67c02749f1d48a0a9c29c875ddbb371c0f1eda786ca642165bbe13e1d0
MD5 b96a804c2530419d69708774dcba9614
BLAKE2b-256 0f21256a9697151c104fc41bc56bb56807c49b003ed6247637f29648eb05a350

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