/aleph-client

Lightweight Python Client library for the Aleph.im network

Primary LanguagePythonMIT LicenseMIT

aleph-client

Python Client for the aleph.im network, next generation network of decentralized big data applications. Developement follows the Aleph Whitepaper.

Documentation

Documentation (albeit still vastly incomplete as it is a work in progress) can be found at http://aleph-client.readthedocs.io/ or built from this repo with:

$ python setup.py docs

Requirements

Some cryptographic functionalities use curve secp256k1 and require installing libsecp256k1.

$ apt-get install -y python3-pip libsecp256k1-dev

Installation

Using pip and PyPI:

$ pip install aleph-client

Installation for development

If you want NULS2 support you will need to install nuls2-python (currently only available on github):

$ pip install git+https://github.com/aleph-im/nuls2-python.git

To install from source and still be able to modify the source code:

$ pip install -e . or $ python setup.py develop

Using Docker

Use the Aleph client and it's CLI from within Docker or Podman with:

docker run --rm -ti -v $(pwd)/device.key:/home/user/device.key:ro alephim/aleph-client:beta bash