Skip to main content

Aeneas fullnode API Python client

Project description

coverage PyPI version

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyaeneas, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size pyaeneas-0.2-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyaeneas-0.2.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page