Skip to main content

Wrapper for EOS RPC API

Project description

pyeos_client

This is a non official python library build around the eosd Chain & Wallet RPC API. This library will allow you to easily interact with EOSIO node through REST API.

Installation

pip install pyeos-client

Getting Started

from pyeos_client.NodeosConnect import RequestHandlerAPI
from pyeos_client.EOSChainApi import ChainAPI

connection  = RequestHandlerAPI(base_url='http://nodeos-server:8888', headers={"Accept": "application/json"})
chainapi = ChainAPI(connection)
print(chainapi.get_info().json())
results
{
"server_version": "b2eb1667",
"head_block_num": 259590,
"last_irreversible_block_num": 259573,
"head_block_id": "0003f60677f3707f0704f16177bf5f007ebd45eb6efbb749fb1c468747f72046",
"head_block_time": "2017-12-10T17:05:36",
"head_block_producer": "initp",
"recent_slots": "1111111111111111111111111111111111111111111111111111111111111111",
"participation_rate": "1.00000000000000000"
}

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Official documentation

Contributing

  • Fork it (https://github.com/EvaCoop/pyeos_client.git)
  • Create your feature branch (git checkout -b feature/fooBar)
  • Commit your changes (git commit -am 'Add some fooBar')
  • Push to the branch (git push origin feature/fooBar)
  • Create a new Pull Request

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 pyeos-client, version 0.1.9
Filename, size File type Python version Upload date Hashes
Filename, size pyeos_client-0.1.9-py2.py3-none-any.whl (7.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page