Skip to main content

eosapi

version license python_version coverage

A simple, high-level and lightweight eosio sdk write by python.

What is it?

eosapi is a python library to interact with EOSIO blockchains.

its main focus are bot applications on the blockchain.

Install

$ pip install eosapi

Using

from eosapi import EosApi

api = EosApi(rpc_host="https://jungle3.greymass.com")
api.import_key("consumer1111", "5KWxgG4rPEXzHnRBaiVRCCE6WAfnqkRpTu1uHzJoQRzixqBB1k3")

trx = {
    "actions": [{
        "account": "eosio.token",
        "name": "transfer",
        "authorization": [
            {
                "actor": "consumer1111",
                "permission": "active",
            },
        ],
        "data": {
            "from": "consumer1111",
            "to": "consumer2222",
            "quantity": "0.0001 EOS",
            "memo": "by eosapi",
        },
    }]
}

resp = api.push_transaction(trx)

Metadata

Release files for eosapi 1.0.2

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

Built distribution (wheel)

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

Release files / eosapi-1.0.2-py3-none-any.whl

Download URL eosapi-1.0.2-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e05bf47b83bc1323263e24c3d626d955556cd14e6f27434488c50c8f986d7b30
BLAKE2b-256 checksum
How to use checksums
a6daa43f0d34153423bc925b0528dcb627e86eb610f37915e6fe1a760906e69c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for eosapi 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file No provenance

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