Skip to main content

Lightweight Python Client library for the Aleph.im network

Project description

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

  • Linux :

Some cryptographic functionalities use curve secp256k1 and require installing libsecp256k1.

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

  • macOs :

    $ brew tap cuber/homebrew-libsecp256k1 $ brew install libsecp256k1

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)/data:/data ghcr.io/aleph-im/aleph-client/aleph-client:master –help

Warning: This will use an ephemeral key that will be discarded when stopping the container.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aleph-client-0.6.1.tar.gz (43.6 kB view hashes)

Uploaded Source

Built Distribution

aleph_client-0.6.1-py3-none-any.whl (30.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page