Registry / http-networking / smoldot-light

smoldot-light

JSON →
library0.1.0pypypi✓ verified 88d ago

Python bindings for the smoldot_light Rust crate, providing a lightweight WebAssembly-based Substrate/Polkadot light client. Current version 0.1.0, initial release.

pip install smoldot-light
INSTALL
IMPORT
SIG · SMOLDOT-LIGHT
S
smoldot-light
http-networkingpythonv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SmoldotClient
✓ from smoldot_light import SmoldotClient
✗ from smoldot_light import SmoldotLight

Create a light client instance and add a chain.

from smoldot_light import SmoldotLight client = SmoldotLight() # Example: connect to a Polkadot relay chain via a light client client.add_chain('polkadot') print(client.chains)
Debug
Known issues
gotchaThe library is in early alpha (v0.1.0). API may change without notice. Not production-ready.
fix
Pin to exact version and expect breaking changes.
affects: <=0.1.0
gotchaSmoldotLight is not thread-safe. Concurrent calls may cause undefined behavior.
fix
Use locks or run in a single-threaded context.
affects: <=0.1.0
deprecatedNo deprecations yet—library is at initial release.
fix
N/A
affects: all
breakingImport path is `smoldot_light`, not `smoldot_light.client` or other. Incorrect imports will fail with ModuleNotFoundError.
fix
Use 'from smoldot_light import SmoldotLight'.
affects: <=0.1.0
Upgrade
Version history
0.1.0latest on PyPI · released Jan 14, 2026
Audit
Dependencies
typing_extensionsoptionalUsed for type hints on Python <3.11
Agent activity
19 hits · last 30 days
node
16
OpenAI (training)
1
Resources
smoldot-light — pip install smoldot-light · libregistry