Skip to main content

Python client for Hyperledger.

Project description

# hyperledger-py

[![Build Status](]( [![PyPI Version](](

Python client for [Hyperledger](

This project will follow the [Hyperledger API]( to let users use those APIs by importing a simple python library. e.g.,

`python >>> from hyperledger.client import Client >>> c = Client(base_url="") >>> c.peer_list() {u'peers': [{u'type': 1, u'ID': {u'name': u'vp1'}, u'address': u''}, {u'type': 1, u'ID': {u'name': u'vp2'}, u'address': u''}]} `

If you want a quick start with a hyperledger cluster without any local configuration and vagrant setup, please use this [compose-file](

## Installation The latest stable version is always available on PyPi. `sh $ pip install hyperledger --upgrade `

The latest dev version is on [github]( `sh $ git clone $ cd hyperledger-py $ pip install -r requirements.txt $ python install `

## Change Logs See [change log](docs/

## Documentation The source is available in the [docs](docs) directory.

  • [API Usage](docs/

## Testing All testing code is under [tests](tests) directory.

After installation, you can run a quick full-functional testing (deploy, invoke, query chaincode, etc.) with your hyperledger cluster by

`python $ python tests/ HYPERLEDGER_API_URL `

## Contribution Please see [Contribution]( and [Contribution Instruction](docs/

## Acknowledgement

This work is highly inspired by the following projects:

## License

This work is licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for full license text.

Project details

Download files

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

Files for hyperledger, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size hyperledger-0.1.5-py2.py3-none-any.whl (26.8 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size hyperledger-0.1.5.tar.gz (14.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page