Skip to main content

Python toolkit for Tezos

Project description

PyTezos

Build Status Made With License: MIT

Python SDK for Tezos: RPC, cryptography, operations, smart contract interaction

Requirements

  • git
  • python 3.6+
  • pip 19.0.1+

You will also probably need to install several cryptographic packets.

For Ubuntu:

$ sudo apt install libsodium-dev libsecp256k1-dev libgmp-dev

For MacOS:

$ brew install libsodium

Installation

$ pip install pytezos

Usage

Read quick start guide, or just enjoy surfing the interactive documentation using Python console/Jupyter:

>>> from pytezos import pytezos
>>> pytezos
<pytezos.client.PyTezosClient object at 0x7f904cf339e8>

Properties
.key -> tz1grSQDByRpnVs7sPtaprNZRp531ZKz6Jmm
.shell -> https://tezos-dev.cryptonomic-infra.tech/ (alphanet)

Helpers
.Contract()
.Key()
.Proto()
.account()
.activate_account()
.alphanet()
.ballot()
.contract()
.delegation()
.double_baking_evidence()
.double_endorsement_evidence()
.endorsement()
.mainnet()
.operation()
.operation_group()
.origination()
.proposals()
.reveal()
.seed_nonce_revelation()
.transaction()
.using()
.zeronet()

About

The project was initially started by Arthur Breitman, now it's maintained by Baking Bad team. PyTezos development is supported by Tezos Foundation.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytezos-2.0.0.tar.gz (48.0 kB view hashes)

Uploaded Source

Built Distribution

pytezos-2.0.0-py3-none-any.whl (57.6 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