Skip to main content

Lightweight Python Client library for the Aleph.im network

Project description

aleph-sdk-python

Python SDK for the Aleph.im network, next generation network of decentralized big data applications.

Development follows the Aleph Whitepaper.

Documentation

Documentation (albeit still vastly incomplete as it is a work in progress) can be found at http://aleph-sdk-python.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

Using some chains may also require installing libgmp3-dev.

macOs

This project does not support Python 3.12 on macOS. Please use Python 3.11 instead.

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

Installation

Using pip and PyPI:

$ pip install aleph-sdk-python[ethereum,solana,tezos]

Installation for development

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

$ pip install -e .[testing]

or

$ python setup.py develop

Usage with LedgerHQ hardware

The SDK supports signatures using app-ethereum, the Ethereum app for the Ledger hardware wallets.

This has been tested successfully on Linux (amd64). Let us know if it works for you on other operating systems.

Using a Ledger device on Linux requires root access or the setup of udev rules.

Unlocking the device is required before using the relevant SDK functions.

Debian / Ubuntu

Install ledger-wallets-udev.

sudo apt-get install ledger-wallets-udev

On NixOS

Configure hardware.ledger.enable = true.

Other Linux systems

See https://github.com/LedgerHQ/udev-rules

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-sdk-python-0.9.1.tar.gz (79.9 kB view details)

Uploaded Source

Built Distribution

aleph_sdk_python-0.9.1-py3-none-any.whl (54.9 kB view details)

Uploaded Python 3

File details

Details for the file aleph-sdk-python-0.9.1.tar.gz.

File metadata

  • Download URL: aleph-sdk-python-0.9.1.tar.gz
  • Upload date:
  • Size: 79.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for aleph-sdk-python-0.9.1.tar.gz
Algorithm Hash digest
SHA256 76d1a0e6023c990ac475fbe18283fc3e4f58717139feb05a3d18984c25088fab
MD5 94f66e5564fb76f262e9ce01578ee3fe
BLAKE2b-256 a204b69602623149e42deb10f0eb3c745a08d8e98bb2b426327ec386611f4e61

See more details on using hashes here.

Provenance

File details

Details for the file aleph_sdk_python-0.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aleph_sdk_python-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05759b05b0f53441f64a5b034ece73550164d307d739dd000dd12252dd65290e
MD5 f566ccf6e1b7404b86d9fc860e7a6528
BLAKE2b-256 891b3822abbb57ced76df566c0f6eaee7fda949aa9c86f7d9e04d83a2656ea4c

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