Aeneas fullnode API Python client
Project description
This package is a Python client for Aeneas platform fullnode WebSockets API.
Installation
Install from PyPI by pip install pyaeneas
Quickstart
from pyaeneas import Aeneas
api = Aeneas()
# invoke signup process
response = api.execute('Signup')
print(response['phrase'])
# confirm passphrase
response = api.execute('PassPhraseSaved', {'passPhrase': response['phrase']})
print(response)
Aeneas client uses this URI by default: ws://localhost:9085/aeneas. If you want to connect to another fullnode, pass URI as a client parameter:
from pyaeneas import Aeneas
api = Aeneas('ws://example.com/aeneas')
Tests
For running tests install and run Aeneas fullnode, then run a command from the parent pyaeneas directory:
python -m unittest pyaeneas.tests.test_client
Requirements
Python >= 3.5.3
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyaeneas-0.2.tar.gz.
File metadata
- Download URL: pyaeneas-0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e620685c14fe5fa9c6fdac3ac18464ed357ef0e7d3fb3d24af20cd2b1541deed
|
|
| MD5 |
9e8fe0cca98aeed3b265b4a82ea8f38a
|
|
| BLAKE2b-256 |
ded8c990bcb3e7e562750e75c854e0b66bc04e1f83c44ec7dbfce00fd7a40595
|
File details
Details for the file pyaeneas-0.2-py3-none-any.whl.
File metadata
- Download URL: pyaeneas-0.2-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7534767c74ec5a97ece04a757bcb24b97e0268a8710b5fe479fd96ca15e1b06
|
|
| MD5 |
0926bc1525205be9bb2b191df973b688
|
|
| BLAKE2b-256 |
37eac636e115c6ee61a19f8b98a38629598c0a2f96043962fcb1fd2186401af5
|