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.
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.
Welcome for any kind of contribution!
Please see How to Contribution.
We're following pep8 style guide and Google style, please see coding style
Weekly scrum meeting will be held at chat channel #fabric-sdk-python at 03:00 UTC every Friday. More information, please see the project wiki.
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
- https://cryptography.io/en/latest/installation/#building-cryptography-on-linux
- https://cryptography.io/en/latest/installation/#building-cryptography-on-macos
The following command will run the testing.
$ make check
The following command will build a Docker image hyperledger/fabric-sdk-py
with the fabric-sdk-py installed.
$ make image
Also, you can use docker-compose to start a cluster for testing, including fabric-peer, fabric-orderer, fabric-ca, and fabric-sdk-py containers.
$ docker-compose up -d
$ docker exec -it fabric-sdk-py bash
See Change Log.
The Hyperledger Project uses the Apache License Version 2.0 software license.