Skip to main content

Python Toolkit for EOS

PyPi PyPi

Installation

On Linux platform

python3 -m pip install -U pip
python3 -m pip install pyeoskit

On Windows platform:

python -m pip install -U pip
python -m pip install pyeoskit

On Apple M1 hardware

pyeoskit does not have pre-built versions available for ARM chips. in order to build it from source code, you need to install cmake, go, scikit-build, cython.

brew install go
brew install cython
xcode-select --install
python3 -m pip install -U pip
python3 -m pip install cmake
python3 -m pip install scikit-build
python3 -m pip install pyeoskit

Code Examples

Example1

import os
from pyeoskit import eosapi, wallet
#import your account private key here
wallet.import_key('mywallet', '5K463ynhZoCDDa4RDcr63cUwWLTnKqmdcoTKTHBjqoKfv4u5V7p')

eosapi.set_node('https://eos.greymass.com')
info = eosapi.get_info()
print(info)
args = {
    'from': 'test1',
    'to': 'test2',
    'quantity': '1.0000 EOS',
    'memo': 'hello,world'
}
eosapi.push_action('eosio.token', 'transfer', args, {'test1':'active'})

Async Example

import os
import asyncio
from pyeoskit import wallet
from pyeoskit.chainapi import ChainApiAsync

#import your account private key here
wallet.import_key('mywallet', '5K463ynhZoCDDa4RDcr63cUwWLTnKqmdcoTKTHBjqoKfv4u5V7p')

async def test():
    eosapi = ChainApiAsync('https://eos.greymass.com')
    info = await eosapi.get_info()
    print(info)
    args = {
        'from': 'test1',
        'to': 'test2',
        'quantity': '1.0000 EOS',
        'memo': 'hello,world'
    }
    r = await eosapi.push_action('eosio.token', 'transfer', args, {'test1':'active'})
    print(r)

asyncio.run(test())

Sign With Ledger Hardware Wallet Example

import os
from pyeoskit import eosapi
eosapi.set_node('https://eos.greymass.com')
args = {
    'from': 'test1',
    'to': 'test2',
    'quantity': '1.0000 EOS',
    'memo': 'hello,world'
}

#indices is an array of ledger signing key indices
eosapi.push_action('eosio.token', 'transfer', args, {'test1':'active'}, indices=[0])

Docs

Building from Source Code

Installing Prerequisites

python3 -m pip install scikit-build
python3 -m pip install cython

For Windows platform

python -m pip install scikit-build
python -m pip install cython
  1. Download and Install gcc compiler from tdm-gcc
  2. Install Go compiler from download
  3. Install cmake from download
  4. Install python3 from downloads

Press Win+R to open Run Dialog, input the following command

cmd -k /path/to/gcc/mingwvars.bat

Downloading Source Code

git clone https://www.github.com/learnforpractice/pyeoskit
cd pyeoskit
git submodule update --init --recursive

Build

./build.sh

For Windows platform, in the cmd dialog, enter the following command:

python setup.py sdist bdist_wheel

Installation

./install.sh

For Windows platform

python -m pip uninstall pyeoskit -y;python -m pip install .\dist\pyeoskit-[SUFFIX].whl

License

MIT

Metadata

Release files for pyeoskit 1.1.12

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

Source distribution (sdist)

Source distribution for pyeoskit 1.1.12
File Size Uploaded Provenance
pyeoskit-1.1.12.tar.gz 3.8 MB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for pyeoskit 1.1.12
File
pyeoskit-1.1.12-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
pyeoskit-1.1.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
pyeoskit-1.1.12-cp310-cp310-macosx_10_15_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.15+ x86-64 Details
pyeoskit-1.1.12-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
pyeoskit-1.1.12-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
pyeoskit-1.1.12-cp39-cp39-macosx_10_15_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.15+ x86-64 Details
pyeoskit-1.1.12-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
pyeoskit-1.1.12-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
pyeoskit-1.1.12-cp38-cp38-macosx_10_15_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.15+ x86-64 Details
pyeoskit-1.1.12-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
pyeoskit-1.1.12-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details
pyeoskit-1.1.12-cp37-cp37m-macosx_10_15_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.15+ x86-64 Details

Total release size: 37.7 MB

Release files / pyeoskit-1.1.12.tar.gz

Download URL pyeoskit-1.1.12.tar.gz
Size 3.8 MB
Tags Source
SHA-256 checksum
How to use checksums
d3fa73d088ade904c44f2f0cf18110d08c11eb97953cea41a58538a47b4c3b48
BLAKE2b-256 checksum
How to use checksums
088fe0cd654cf3eb376923cce7f699729819d28cce3a312f59f2d827d871275f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / pyeoskit-1.1.12-cp310-cp310-win_amd64.whl

Download URL pyeoskit-1.1.12-cp310-cp310-win_amd64.whl
Size 3.1 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
f3a35b11b59f7f9f65736cb0e3c51aba713e9d98ca8a8ea67b7f6cdf84d4368c
BLAKE2b-256 checksum
How to use checksums
f9c7bbbd2ecfcdfdf659bd4957bd4646be89f4be6c074d0811c3f24b8961adf1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / pyeoskit-1.1.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyeoskit-1.1.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
6afeb92369c74ed215566446a360205f33314b10aaff9829ba418894b272de46
BLAKE2b-256 checksum
How to use checksums
fc4ac182d6659cccfc6076f7aec71234010e8305775cbbca124df7109aa22821
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / pyeoskit-1.1.12-cp310-cp310-macosx_10_15_x86_64.whl

Download URL pyeoskit-1.1.12-cp310-cp310-macosx_10_15_x86_64.whl
Size 2.0 MB
Tags CPython 3.10 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
7c1e1f5008651fc541c854d85f3afbb9a007a921addb38628e5f4b41fd813855
BLAKE2b-256 checksum
How to use checksums
e2a8693ca7faf67d100114bebfde10cfb6b531bd7aae54fdbaa1d81402e09ae4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / pyeoskit-1.1.12-cp39-cp39-win_amd64.whl

Download URL pyeoskit-1.1.12-cp39-cp39-win_amd64.whl
Size 3.1 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
9f78af92307bacc6aa1dccbb184470a4af4ead53fa68bccf4184126959999ea9
BLAKE2b-256 checksum
How to use checksums
7ff6738af95f986ad521af4eece8ca191fa779346dce3d5aca08072728d3b17c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / pyeoskit-1.1.12-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyeoskit-1.1.12-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.3 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d4a1f1f9196b77d3ed6c0b9db4f3373b468d2e757f16beed2f38237fc6f0766a
BLAKE2b-256 checksum
How to use checksums
15cdb8f084308cc6f72d9150527a8c7514443265edfdd1442df24362d301ab6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / pyeoskit-1.1.12-cp39-cp39-macosx_10_15_x86_64.whl

Download URL pyeoskit-1.1.12-cp39-cp39-macosx_10_15_x86_64.whl
Size 2.0 MB
Tags CPython 3.9 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
2ded06c7940f63bbddcd0fe548ba11f1605018e1f8b4f112ab30784b31881879
BLAKE2b-256 checksum
How to use checksums
145d983e5705ef3fbdbef6f09e7f1ff465341b9e42dd7c58c319bdffbfdf98b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / pyeoskit-1.1.12-cp38-cp38-win_amd64.whl

Download URL pyeoskit-1.1.12-cp38-cp38-win_amd64.whl
Size 3.1 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
d7459cd4ec8b9edc118bf5e83fe552acfbdd62d0c8e2b8852185938c8db5d2db
BLAKE2b-256 checksum
How to use checksums
167b0c119e6c9cbe0248e0744f165e13bfc98e714bbfb6a9286c699ba7824910
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / pyeoskit-1.1.12-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyeoskit-1.1.12-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.3 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5d2492ca1226505a4b08b1f8d4ee6cdae3682c1a46564fa5131085c2978c26da
BLAKE2b-256 checksum
How to use checksums
f701952281c53e488f3e42021f5b31a35b6e4d4b8e6b3174ae0eaa6de18cfacd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / pyeoskit-1.1.12-cp38-cp38-macosx_10_15_x86_64.whl

Download URL pyeoskit-1.1.12-cp38-cp38-macosx_10_15_x86_64.whl
Size 2.0 MB
Tags CPython 3.8 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
03270e4d77c8c36c5fd34331ac85516d0f7a637b65b459efcaaca80672beb9b5
BLAKE2b-256 checksum
How to use checksums
0aa951edc9525ff9b0921f3bfd37422f5da95084d5eace5ee129bc694efa5829
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / pyeoskit-1.1.12-cp37-cp37m-win_amd64.whl

Download URL pyeoskit-1.1.12-cp37-cp37m-win_amd64.whl
Size 3.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
abe471c568d90fead5e7723d6b708ecb8e60b6ad95a5658e3911afd6f9ed8617
BLAKE2b-256 checksum
How to use checksums
a439285cc3ab9e46b5c4b77f664df002e6e6d1a52c14cb6865503bd6d716f506
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / pyeoskit-1.1.12-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyeoskit-1.1.12-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.3 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
7872feb7a805d11128ab067a0e9a480183e2588fe2fd1a12acb332e8bf2504aa
BLAKE2b-256 checksum
How to use checksums
793d9d135ed8200021d0723117a56d33084b813a4f534ae842531e5051361a86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / pyeoskit-1.1.12-cp37-cp37m-macosx_10_15_x86_64.whl

Download URL pyeoskit-1.1.12-cp37-cp37m-macosx_10_15_x86_64.whl
Size 2.0 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
8a5fc065081abe532ab988138c9be2fc082e9913f784d1d3f121374af7e48f82
BLAKE2b-256 checksum
How to use checksums
35d7e9b2d5b3b47405b171d72e8bef1cffb42fd548448db668b1877f30630222
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Security for pyeoskit 1.1.12

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