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.16.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.16.0
File Size Uploaded
pactus_grpc-1.16.0.tar.gz 29.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pactus-grpc 1.16.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

1.16.0 This release

2 release files

1.15.6

2 release files

1.15.5

2 release files

1.15.3

2 release files

1.12.0

2 release files

1.11.1

2 release files

1.11.0

2 release files

1.10.1

2 release files

1.10.0

2 release files

1.9.4

2 release files

1.9.3

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.4

2 release files

1.7.3

1 release file

1.7.2

2 release files

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