Skip to main content

Light weight interface for using EOSIO based RPC APIs

Project description


Lightweight python package for working with EOSIO based RPC APIs.


pip3 install telospy


from telospy.api import API
from telospy.models import Action
from telospy.models import Permission
from telospy.exceptions import AccountAlreadyExistsException

# This example assumes that there is a node running locally on the machine
# It also assumes that the chain is a telos chain, but telospy works on either telos or eos

api = API('', '', 'v1')

    api.create_account('eosio', 'goodblockio1', 'TLOS8BLqdVB2Lk4qppxrUkA3xGrgqbgbiBLM5iey7X5t1LbDYkG2yA')
except AccountAlreadyExistsException:

args = {'from': 'eosio', 'to': 'goodblockio1', 'quantity': '1000.0000 TLOS', 'memo': 'Sent from telospy!'}
permission = Permission('eosio', 'active')
transfer_action = Action(account='eosio.token', action_name='transfer', args=args, authorizations=permission)

receipt = api.send_transaction(transfer_action)


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 telospy, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size telospy-0.1.6-py3-none-any.whl (38.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size telospy-0.1.6.tar.gz (13.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page