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.5.0.tar.gz (51.7 kB view details)

Uploaded Source

Built Distribution

aleph_client-0.5.0-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

Details for the file aleph-client-0.5.0.tar.gz.

File metadata

  • Download URL: aleph-client-0.5.0.tar.gz
  • Upload date:
  • Size: 51.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.10

File hashes

Hashes for aleph-client-0.5.0.tar.gz
Algorithm Hash digest
SHA256 06d0712d059bfe334922026c99267ed847c7d85f7ed5d189e141722765d2fb63
MD5 b8588e3072ba1989ef0f7932ff4a1253
BLAKE2b-256 8d2008bc8d68bcfba3ff81691551dfe719205ec7e889a80b65e392f630880459

See more details on using hashes here.

Provenance

File details

Details for the file aleph_client-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aleph_client-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e59a6160f831da96cb7c0666a004435dacffe139a8d04d3bb645e585c04f8a9
MD5 ad6ae07bcbfb3c5edef8cc74b55f61f2
BLAKE2b-256 8c74f6dae1a9e9001d29a78500108f3ae0b4a409b2a9eaf2d76410086de94d8f

See more details on using hashes here.

Provenance

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