{"id":24548,"library":"runtime-builder","title":"runtime-builder","description":"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.","status":"active","version":"0.1.5","language":"python","source_language":"en","source_url":"https://github.com/tiangolo/runtime-builder","tags":["development","editable","auto-build","hot-reload"],"install":[{"cmd":"pip install runtime-builder","lang":"bash","label":"pip"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"activate","correct":"from runtime_builder import activate"},{"note":"","wrong":"","symbol":"get_class_path","correct":"from runtime_builder import get_class_path"}],"quickstart":{"code":"from runtime_builder import activate\nactivate()\n","lang":"python","description":"Call activate() at the start of your script to enable automatic rebuilds of editable installs."},"warnings":[{"fix":"Place activate() as the very first line after standard library imports.","message":"activate() must be called before any imports of the package being developed, otherwise the hook may not catch changes.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure your package is installed with pip install -e . before using runtime-builder.","message":"runtime-builder only works with packages installed in editable mode (pip install -e .). It does not affect non-editable installs.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install with: pip install runtime-builder","cause":"Package not installed or installed under a different name (e.g., 'runtime-builder' with hyphen).","error":"ModuleNotFoundError: No module named 'runtime_builder'"},{"fix":"Upgrade to 0.1.5+ or provide packages list: from runtime_builder import activate; activate(['my_package'])","cause":"Calling activate() without arguments before runtime-builder 0.1.5 (API changed).","error":"TypeError: activate() missing 1 required positional argument: 'packages'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}