This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python client for Hyperledger.

Project Description

# hyperledger-py

[![Build Status](https://travis-ci.org/yeasy/hyperledger-py.svg?branch=master)](https://travis-ci.org/yeasy/hyperledger-py) [![PyPI Version](http://img.shields.io/pypi/v/hyperledger.svg)](https://pypi.python.org/pypi/hyperledger)

Python client for [Hyperledger](https://github.com/hyperledger/hyperledger).

This project will follow the [Hyperledger API](https://github.com/hyperledger/fabric/tree/master/docs/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="http://127.0.0.1:7050") >>> c.peer_list() {u'peers': [{u'type': 1, u'ID': {u'name': u'vp1'}, u'address': u'172.17.0.2:7051'}, {u'type': 1, u'ID': {u'name': u'vp2'}, u'address': u'172.17.0.3:7051'}]} `

If you want a quick start with a hyperledger cluster without any local configuration and vagrant setup, please use this [compose-file](https://github.com/yeasy/docker-compose-files#hyperledger).

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

The latest dev version is on [github](https://github.com/yeasy/hyperledger-py). `sh $ git clone https://github.com/yeasy/hyperledger-py.git $ cd hyperledger-py $ pip install -r requirements.txt $ python setup.py install `

## Change Logs See [change log](docs/change_log.md).

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

  • [API Usage](docs/api.md)

## 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/function_test.py HYPERLEDGER_API_URL `

## Contribution Please see [Contribution](CONTRIBUTION.md) and [Contribution Instruction](docs/contribution.md).

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

Release History

Release History

This version
History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.3

History Node

0.0.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hyperledger-0.1.5-py2.py3-none-any.whl (26.8 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Aug 10, 2016
hyperledger-0.1.5.tar.gz (14.3 kB) Copy SHA256 Checksum SHA256 Source Aug 10, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting