hyperledger/fabric-sdk-py

Name: fabric-sdk-py

Owner: Hyperledger

Description: Read-only mirror of https://gerrit.hyperledger.org/r/#/admin/projects/fabric-sdk-py

Created: 2016-09-11 18:26:24.0

Updated: 2018-05-24 10:46:49.0

Pushed: 2018-05-24 10:46:48.0

Homepage: https://hyperledger.org

Size: 915

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Fabric-SDK-Py

Note: This is a read-only mirror of the formal Gerrit repository, where active development is ongoing.

Fabric-SDK-Py is an implementation of the Hyperledger fabric SDK in Python.

Incubation Notice

This project is a Hyperledger project in Incubation. It was proposed to the community and documented here, and was approved by Hyperledger TSC at 2016-09-08. Information on what Incubation entails can be found in the Hyperledger Project Lifecycle document.

Bug, Question and Code Contributions

Welcome for any kind of contribution, including bugs, questions and documentation!

Please see How to Contribution.

Coding Style

We're following pep8 style guide and Google style, please see coding style

Pre-requisite

The SDK requires the python-dev and libssl-dev pkgs, so please make sure it's already installed.

Run the following cmd according to ur OS type.

| OS | command | | – | ———- | | Ubuntu/Debian | sudo apt-get install python-dev python3-dev libssl-dev | | Redhat/CentOS | sudo yum install python-devel python3-devel openssl-devel | | MacOS | brew install python python3 openssl |

More details to build the crypto lib, can be found at

Testing
Use Virtual Env

virtualenv helps provide a clean environment, suggest to use it to test.

p install virtualenv # install the virtualenv tool if not installed
ke venv  # create a virtual env
urce venv/bin/activate
Do the testing here
activate  # deactive the virtual env
ke clean # clean the temporary files
Run Integration Testing

The following command will run the testing.

ke check # Check environment and run tests
ke test # Only run test cases
x -e py30 -- test/integration/ca_test.py  # Run specified test case
Tutorial

See Fabric SDK Tutorial.

Generating Docker images

The following command will build a Docker image hyperledger/fabric-sdk-py with the fabric-sdk-py installed.

ke image
Change Logs

See Change Log.

Wiki

More information, please see the project wiki.

About Hyperledger Project
License

The Hyperledger Fabric-SDK-Py software uses the Apache License Version 2.0 software license.

Creative Commons License
This document is licensed under a Creative Commons Attribution 4.0 International License.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.