Skip to main content

Hedera Protobufs

Project description

hedera-protobufs-python

Hedera API Definitions in Protocol Buffer compiled to Python

They are compiled from .proto files in Java Protobufs.

Usage

Install:

pip install hedera-proto

To use, just import them in your python program, e.g.:

from hedera_proto import AccountID
accountId = AccountID()

Or:

import hedera_proto as proto
accountId = proto.AccountID()

Note

This is used by pure Python Hedera SDK, which, as of now (2021/11), has not been released yet.

You are encouraged to use the fully functional Python SDK github.com/wensheng/hedera-sdk-py, which is a Python wrapper around Java SDK, while waiting for pure Python SDK.

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

hedera_proto-0.49.1.tar.gz (67.1 kB view hashes)

Uploaded Source

Built Distribution

hedera_proto-0.49.1-py3-none-any.whl (151.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page