Install & Compatibility
Where this runs
tested against v0.2.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.592s · 37.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.5s · import 0.546s · 38MB
37MB installed
● package 37MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Slider
✓ from textual_slider import Slider
✗ from textual_slider.slider import Slider
The public API is from the package directly, not from a module.
Minimal app with a slider widget. Adjust min, max, and default as needed.
from textual.app import App, ComposeResult
from textual_slider import Slider
class SliderApp(App):
def compose(self) -> ComposeResult:
yield Slider(min=0, max=100, default=50, id='my_slider')
if __name__ == '__main__':
SliderApp().run()
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'textual_slider'
Package not installed or installed under different name (e.g., textual-slider).
fixRun: pip install textual-slider
AttributeError: module 'textual_slider' has no attribute 'Slider'
Incorrect import path; attempting to import from wrong module.
fixUse: from textual_slider import Slider
Upgrade
Version history
0.2.0latest on PyPI · released Jan 24, 2025
Audit
Dependencies
textualrequiredCore dependency: Textual framework needed >=0.42.0