Skip to main content

telospy

Lightweight python package for working with EOSIO based RPC APIs.

Install

pip3 install telospy

Example

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('http://127.0.0.1:8888', 'http://127.0.0.1:8999', 'v1')

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

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)

print(receipt)

Metadata

Release files for telospy 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telospy 0.1.2
File Size Uploaded Provenance Actions
telospy-0.1.2.tar.gz 8.7 kB Without provenance Details for telospy-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for telospy 0.1.2
File Interpreter ABI Platform Actions
telospy-0.1.2-py3-none-any.whl Python 3 none any Details for telospy-0.1.2-py3-none-any.whl

Total release size: 41.9 kB

Release files / telospy-0.1.2.tar.gz

Download URL telospy-0.1.2.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
78e9e58c92002d0c366c26ebe1a50a5f6633fdf7034cc1bf315773df66801cfa
BLAKE2b-256 checksum
How to use checksums
69c16a0bbabe072c00304ebb111b7ea4f0cad5b99cac595dfdbc4270fa99616a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

Release files / telospy-0.1.2-py3-none-any.whl

Download URL telospy-0.1.2-py3-none-any.whl
Size 33.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6729ff73f69e07de3edf576741b4660010d4429260fa0a63f271f2e5f34cb0e
BLAKE2b-256 checksum
How to use checksums
521b32ab6277df31e1664924619f828f78f9fc730c3f5cc193b539358cb134cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

Security for telospy 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page