pactus-grpc
Python client for interacting with the Pactus blockchain via gRPC.
Installation
pip install pactus-grpc
Usage
import asyncio
import grpc
from pactus_grpc import blockchain_pb2_grpc, blockchain_pb2, network_pb2_grpc, network_pb2
async def main():
channel = grpc.aio.insecure_channel("127.0.0.1:50051")
blockchain_stub = blockchain_pb2_grpc.BlockchainStub(channel)
blockchain_request = blockchain_pb2.GetBlockchainInfoRequest()
blockchain_response = await blockchain_stub.GetBlockchainInfo(blockchain_request)
print(blockchain_response)
await channel.close()
if __name__ == "__main__":
asyncio.run(main())
Metadata
Release files for pactus-grpc 1.16.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pactus_grpc-1.16.0.tar.gz | 29.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pactus_grpc-1.16.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 64.1 kB
Release files / pactus_grpc-1.16.0.tar.gz
| Download URL | pactus_grpc-1.16.0.tar.gz |
|---|---|
| Size | 29.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd35d923e661827bd8f738d38cafdc46d647815227424d91d4e63be280408234
|
|
BLAKE2b-256 checksum How to use checksums |
695cb25f7bbfb26ae370592c417732dba6518b7dea3b5854ca023ea0f5d2023b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 9, 2026.
Transparency logRelease files / pactus_grpc-1.16.0-py3-none-any.whl
| Download URL | pactus_grpc-1.16.0-py3-none-any.whl |
|---|---|
| Size | 35.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98b20755b46366f44b5f0087294f85339960885e2f44a5e3c5111842785af707
|
|
BLAKE2b-256 checksum How to use checksums |
7024732ebe86bfb6c2b0d65e269162bc922339bd70833a6daf5786ecc7410344
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 9, 2026.
Transparency log