Giter Site home page Giter Site logo

litong01 / fabric-sdk-py Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hyperledger/fabric-sdk-py

0.0 1.0 0.0 1.32 MB

Home Page: https://hyperledger.org

License: Apache License 2.0

Python 99.05% Makefile 0.39% Shell 0.50% Dockerfile 0.05%

fabric-sdk-py's Introduction

Fabric-SDK-Py

Note: This is a read-only mirror of the Gerrit repository.

Fabric-SDK-Py is an implementation of the Hyperledger fabric SDK with Python 3.x!

Pre-requisite

The SDK requires the Python3 and Libssl pkgs.

Run the following cmd to install the pre-requisites if you do not have:

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

Tutorial

See Tutorial to get familiar with the major SDK APIs.

Quick Testing

Use Virtual Env

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

$ pip3 install virtualenv # install the virtualenv tool if not installed
$ make venv  # create a virtual env
$ source venv/bin/activate
$ # Do the testing here
$ deactivate  # deactive the virtual env
$ make clean # clean the temporary files

Run Integration Testing

The following command will run the testing.

$ make check # Check environment and run tests
$ make test # Only run test cases
$ tox -e py30 -- test/integration/ca_test.py  # Run specified test case

Generating Docker images

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

$ make image

Regenerating protos

Make sure you have grpcio-tools installed (pip install grpcio-tools)

make proto

Change Logs

See Change Log for the commit logs. Run make changelog to update the changelog before new release.

Other Important Links

Bug, Question and Code Contributions

Welcome for any kind of contributions, e.g., bugs, questions and documentation!

Recommend to read How to Contribution before taking action.

Incubation Notice

This project is in Incubation now, and was proposed and approved by Hyperledger TSC at Sep 08, 2016.

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.

fabric-sdk-py's People

Contributors

am2990 avatar bcbw avatar denyeart avatar dexhunter avatar grapebaba avatar guillaumecisco avatar hengfun avatar kelvin-m avatar lafenicecc avatar lindluni avatar nobody4t avatar oldsharp avatar pcsx22 avatar qiang0723 avatar rameshthoomu avatar ryjones avatar seprain avatar sudheesh001 avatar tcz001 avatar tijohnson avatar vieirin avatar yeasy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.