Skip to main content

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.17.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pactus-grpc 1.17.0
File Size Uploaded Provenance Actions
pactus_grpc-1.17.0.tar.gz 32.1 kB With provenance Details for pactus_grpc-1.17.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pactus-grpc 1.17.0
File Interpreter ABI Platform Actions
pactus_grpc-1.17.0-py3-none-any.whl Python 3 none any Details for pactus_grpc-1.17.0-py3-none-any.whl

Total release size: 69.9 kB

Release files / pactus_grpc-1.17.0.tar.gz

Download URL pactus_grpc-1.17.0.tar.gz
Size 32.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7f6c30b3f1cd0dbce9c1022dfeecd78f92623d6bd8fd3b9d7f00d553d8484e74
BLAKE2b-256 checksum
How to use checksums
3b107edb5a92729e848ead04dd85929bb8b749d242373feef57e47eeff90d8eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 28, 2026.

Transparency log

Release files / pactus_grpc-1.17.0-py3-none-any.whl

Download URL pactus_grpc-1.17.0-py3-none-any.whl
Size 37.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a50e632a4b91da2d46c2aad46ca22b93689593f837d6b61be041d7fee49c4206
BLAKE2b-256 checksum
How to use checksums
337b82a38099b4c5c64fcd7c3e6bd0271559a0ae01a7153e988fffffa8ac2046
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 28, 2026.

Transparency log

Security for pactus-grpc 1.17.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pactus_grpc-1.17.0.tar.gz

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 Oct 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page