{"library":"py-geth","title":"py-geth","description":"py-geth is a Python library for running Go-Ethereum (geth) as a subprocess. It provides a convenient interface to manage Ethereum nodes, including downloading, installing, and interacting with geth. The current version is 6.4.0, supporting Python 3.8+. The library is actively maintained and follows the Ethereum release cadence.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install py-geth"],"cli":{"name":"geth","version":"sh: 1: geth: not found"}},"imports":["from geth import GethProcess","from geth import get_binary_path","from geth import install_geth","from geth import DevGethProcess"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from geth import DevGethProcess\n\n# Start a dev geth instance with default settings\ngeth = DevGethProcess('~/ethereum')\ngeth.start()\n# Wait until the node is ready\ngeth.wait_for_rpc(timeout=60)\nprint(f'RPC available at {geth.rpc_url}')\ngeth.stop()","lang":"python","description":"Starts a Geth node in developer mode with a pre-funded account and mining enabled.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}