{"id":27404,"library":"smoldot-light","title":"smoldot-light","description":"Python bindings for the smoldot_light Rust crate, providing a lightweight WebAssembly-based Substrate/Polkadot light client. Current version 0.1.0, initial release.","status":"active","version":"0.1.0","language":"python","source_language":"en","source_url":"https://github.com/JAMdotTech/py-smoldot-light","tags":["substrate","polkadot","light-client","wasm","blockchain"],"install":[{"cmd":"pip install smoldot-light","lang":"bash","label":"PyPI"}],"dependencies":[{"reason":"Used for type hints on Python <3.11","package":"typing_extensions","optional":true}],"imports":[{"wrong":"from smoldot_light import SmoldotLight","symbol":"SmoldotClient","correct":"from smoldot_light import SmoldotClient"}],"quickstart":{"code":"from smoldot_light import SmoldotLight\n\nclient = SmoldotLight()\n# Example: connect to a Polkadot relay chain via a light client\nclient.add_chain('polkadot')\nprint(client.chains)","lang":"python","description":"Create a light client instance and add a chain."},"warnings":[{"fix":"Pin to exact version and expect breaking changes.","message":"The library is in early alpha (v0.1.0). API may change without notice. Not production-ready.","severity":"gotcha","affected_versions":"<=0.1.0"},{"fix":"Use locks or run in a single-threaded context.","message":"SmoldotLight is not thread-safe. Concurrent calls may cause undefined behavior.","severity":"gotcha","affected_versions":"<=0.1.0"},{"fix":"N/A","message":"No deprecations yet—library is at initial release.","severity":"deprecated","affected_versions":"all"},{"fix":"Use 'from smoldot_light import SmoldotLight'.","message":"Import path is `smoldot_light`, not `smoldot_light.client` or other. Incorrect imports will fail with ModuleNotFoundError.","severity":"breaking","affected_versions":"<=0.1.0"}],"env_vars":null,"search_vec":"'0.1.0':23 'base':17 'bind':5 'blockchain':32 'client':20,30 'crate':11 'current':21 'initi':24 'light':3,9,19,29 'light-client':28 'lightweight':14 'polkadot':27 'provid':12 'python':4 'releas':25 'rust':10 'smoldot':2,8 'smoldot-light':1 'substrat':26 'substrate/polkadot':18 'version':22 'wasm':31 'webassembl':16 'webassembly-bas':15","created_at":"2026-05-01T17:46:04.715862+00:00","updated_at":"2026-05-01T17:46:04.715862+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/JAMdotTech/py-smoldot-light","docs":null,"changelog":null,"pypi":"https://pypi.org/project/smoldot-light/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-networking","database","web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-30","last_verified":"2026-06-30","next_check":"2026-07-30","install_tag":null}}