PyUx is a UI module for iOS written in pure Python.
- Menu options for Button and ButtonItem controls
- Display styles for Date, DateTime and DatePicker controls
- Callback option for alerts and dialogs helps prevent troublesome background thread issues
- TableView options include long press context menus, pull-down refresh and search
- NavigationView, SplitView, TabBar and View presentation containers
- Provides keychain functions that support bio-metric authentication.
- Native color theme means effortless dark mode.
PyUx has been successfully tested with Pythonista, Pyto and Toga.
Scripts are generally compatible with Pythonista scripts. Many existing scripts may only need a simple change to a few import statements.
import ux as ui
from ux.dialogs import dialogs
import ux.alerts as console
import ux.keychain as keychain
The only requirement is rubicon-objc.
Copy the demo.py file along with the examples and ux folders into the iOS Python application of your choice. Launch demo.py.
Move the ux folder to site-packages for general use.
Many thanks to those who made this project possible!
- Pythonista
- Pyto
- Beeware-Toga
- Pythonista-Webview
- The many Pythonista Forum users over the years.
