runtime-builder

raw JSON →
0.1.5 verified Fri May 01 auth: no python

A Python library that provides a runtime hook to automatically build packages in edit mode, enabling developers to test modifications without manual rebuilds. Current version 0.1.5, with an experimental release cadence.

pip install runtime-builder
error ModuleNotFoundError: No module named 'runtime_builder'
cause Package not installed or installed under a different name (e.g., 'runtime-builder' with hyphen).
fix
Install with: pip install runtime-builder
error TypeError: activate() missing 1 required positional argument: 'packages'
cause Calling activate() without arguments before runtime-builder 0.1.5 (API changed).
fix
Upgrade to 0.1.5+ or provide packages list: from runtime_builder import activate; activate(['my_package'])
gotcha activate() must be called before any imports of the package being developed, otherwise the hook may not catch changes.
fix Place activate() as the very first line after standard library imports.
gotcha runtime-builder only works with packages installed in editable mode (pip install -e .). It does not affect non-editable installs.
fix Ensure your package is installed with pip install -e . before using runtime-builder.

Call activate() at the start of your script to enable automatic rebuilds of editable installs.

from runtime_builder import activate
activate()