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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aleph-sdk-python-0.9.0.tar.gz
.
File metadata
- Download URL: aleph-sdk-python-0.9.0.tar.gz
- Upload date:
- Size: 80.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59a8f21e03f0d7bfb06119a95a0dc65054b0e158606680759de32a84954d262e |
|
MD5 | eeee93b0aa7f0aef96bbe8510c154bd0 |
|
BLAKE2b-256 | 08a338eb5235063af4439a629ec275b1aeab3968864977e1e82ef4e0357dbcd4 |
Provenance
File details
Details for the file aleph_sdk_python-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: aleph_sdk_python-0.9.0-py3-none-any.whl
- Upload date:
- Size: 54.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa504af879d8903d834fc41fbaebaa8100be5992ab8f2a7f33408375f1ab8658 |
|
MD5 | 9670971a9e1b1fe6bf1044aa2ca0823b |
|
BLAKE2b-256 | b9a7efe7ca519108add7360b0a8c1263f016b0f5c1ccfc826997a2c8d588b3cf |