{"id":24703,"library":"textual-slider","title":"Textual Slider","description":"A Textual widget for a simple slider. Version 0.2.0 requires Python >=3.8 and Textual >=0.42.0. Release cadence appears irregular; early development.","status":"active","version":"0.2.0","language":"python","source_language":"en","source_url":"https://github.com/TomJGooding/textual-slider","tags":["textual","widget","slider","tui"],"install":[{"cmd":"pip install textual-slider","lang":"bash","label":"PyPi"}],"dependencies":[{"reason":"Core dependency: Textual framework needed >=0.42.0","package":"textual","optional":false}],"imports":[{"note":"The public API is from the package directly, not from a module.","wrong":"from textual_slider.slider import Slider","symbol":"Slider","correct":"from textual_slider import Slider"}],"quickstart":{"code":"from textual.app import App, ComposeResult\nfrom textual_slider import Slider\n\nclass SliderApp(App):\n    def compose(self) -> ComposeResult:\n        yield Slider(min=0, max=100, default=50, id='my_slider')\n\nif __name__ == '__main__':\n    SliderApp().run()","lang":"python","description":"Minimal app with a slider widget. Adjust min, max, and default as needed."},"warnings":[{"fix":"Pin to exact version if used in production.","message":"Slider API may change in future versions; currently no stable release.","severity":"breaking","affected_versions":"<1.0.0"},{"fix":"Ensure Textual is updated: pip install 'textual>=0.42.0'","message":"Slider requires Textual >=0.42.0. Older Textual versions will cause import or runtime errors.","severity":"gotcha","affected_versions":"0.2.0"},{"fix":"Always provide an id to access slider.value later via self.query_one('#my_slider').value","message":"The 'id' parameter is optional but recommended for value retrieval.","severity":"deprecated","affected_versions":"0.2.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run: pip install textual-slider","cause":"Package not installed or installed under different name (e.g., textual-slider).","error":"ModuleNotFoundError: No module named 'textual_slider'"},{"fix":"Use: from textual_slider import Slider","cause":"Incorrect import path; attempting to import from wrong module.","error":"AttributeError: module 'textual_slider' has no attribute 'Slider'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}