This project is an enhanced version of Hyperledger's Python wrapper of the Indy SDK. It aims to provide easier usage than the original wrapper while also reducing the amount of coding required to add or edit the wrapper functions.
- Python (Version 3.6+)
- Libindy (Installation Instructions)
The SBCA-Indy-Wrapper is a pip
-compatible Python package and can therefore be installed as such. Run the command below in the command line of your system to install the wrapper.
pip install sbca-indy-wrapper @ git+https://github.com/swisscom-blockchain/sbca-indy-wrapper.git
Use the wrapper like you would any other Python package.
import sbca_wrapper
sbca_wrapper.LIBINDY.logger.info('Hello from Libindy!')
...
from sbca_wrapper import Wallet
async def create_wallet():
await Wallet.create_wallet(...)
...
from sbca_wrapper.error import WalletNotFoundError
...
raise WalletNotFoundError
You can also set some of Libindy's runtime configuration values.
from sbca_wrapper import LIBINDY
LIBINDY.set_runtime_config(collect_backtrace=False)
...
NOTE: Runtime configurations have to be set before using any other library functions!
Lead Development
- Roth Jeremy (Skilletpan)
Additional Development
- Krell Jérôme (JeromeK13)
Acknowledgments
- Alvarado Flores Jorge - Technical Manager
- Riva Luigi - Project Owner