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 messagesbitquery_corecast_proto.corecast_pb2_grpc- gRPC service stubsbitquery_corecast_proto.stream_message_pb2- Stream message definitionsbitquery_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 messagessolana.dex_block_message_pb2- DEX block messagessolana.parsed_idl_block_message_pb2- Parsed IDL block messagessolana.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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bitquery_corecast_proto-1.0.5.tar.gz.
File metadata
- Download URL: bitquery_corecast_proto-1.0.5.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8976a9a8e2b7a762d618aa6628b8d9194a07c2a52b01c8caf2aabdfa43d7876
|
|
| MD5 |
fe346b4344192a40cc1e65faeb146920
|
|
| BLAKE2b-256 |
d0695c3069a70534be754e7ac6c15ff8d727cf36c9a7643d0a257563a4a447b2
|
File details
Details for the file bitquery_corecast_proto-1.0.5-py3-none-any.whl.
File metadata
- Download URL: bitquery_corecast_proto-1.0.5-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d17d0be51aa7e7279bb3f6c0f512fe0b4d964f16cb4e2332f092b971507f452d
|
|
| MD5 |
34b2bb971d7e6bfd7f9043d5a0de91b0
|
|
| BLAKE2b-256 |
87b584c7fdf37ccbee6a6d24d6a0f9f34a55acde32daa10e7a38dda1f0caea5a
|