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
Metadata
Release files for pyaeneas 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyaeneas-0.2.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyaeneas-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / pyaeneas-0.2.tar.gz
| Download URL | pyaeneas-0.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e620685c14fe5fa9c6fdac3ac18464ed357ef0e7d3fb3d24af20cd2b1541deed
|
|
BLAKE2b-256 checksum How to use checksums |
ded8c990bcb3e7e562750e75c854e0b66bc04e1f83c44ec7dbfce00fd7a40595
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pyaeneas-0.2-py3-none-any.whl
| Download URL | pyaeneas-0.2-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7534767c74ec5a97ece04a757bcb24b97e0268a8710b5fe479fd96ca15e1b06
|
|
BLAKE2b-256 checksum How to use checksums |
37eac636e115c6ee61a19f8b98a38629598c0a2f96043962fcb1fd2186401af5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|