Selective Interface Design System: TailwindCSS + Python for universal GUIs
Project description
SIDS: Selective Interface Design System ๐
SIDS (Selective Interface Design System) integrates TailwindCSS with Python for building beautiful GUIs everywhere - web apps, desktop applications, and Jupyter notebooks.
๐ฏ Features
- Declarative Python API - Build UIs like React, but in Python
- TailwindCSS Integration - Beautiful, responsive styling out of the box
- Multi-Platform Rendering - Deploy to Flask, FastAPI, Jupyter, or Tkinter
- Component Library - Pre-built buttons, cards, forms, and more
- CLI Tools - Easy project setup and development
๐ Quick Start
Installation
pip install sids
Basic Example
import sids as ui
# Create an app
app = ui.App()
# Define your UI
with app.page("Dashboard"):
ui.H1("Welcome to SIDS! ๐", classes="text-blue-600")
ui.Button(
"Click Me",
color="blue",
on_click=lambda: print("Hello from SIDS!")
)
ui.Card(
"This is a beautiful card styled with Tailwind!",
classes="bg-gradient-to-r from-purple-500 to-pink-500"
)
# Run anywhere
app.run("flask") # Web app
app.run("jupyter") # Jupyter notebook
app.run("tkinter") # Desktop app
๐ฆ Installation Options
# Basic installation
pip install sids
# With FastAPI support
pip install sids[fastapi]
# With Jupyter support
pip install sids[jupyter]
# With everything
pip install sids[all]
# For development
pip install sids[dev]
๐ ๏ธ CLI Usage
# Initialize a new SIDS project
sids init my-app
# Run development server
sids run
# Build for production
sids build
๐๏ธ Architecture
SIDS provides a unified API that renders to multiple backends:
โโโโโโโโโโโโโโโโโโโ
โ Python API โ โ Your Code Here
โโโโโโโโโโโโโโโโโโโค
โ SIDS Core โ โ Component System
โโโโโโโโโโโโโโโโโโโค
โ Adapters โ โ Backend Integration
โโโโโโโฌโโโโโโฌโโโโโโค
โFlaskโJptr โTkntrโ โ Render Targets
โโโโโโโดโโโโโโดโโโโโโ
๐ Documentation
๐ค Contributing
We welcome contributions! Please see our Contributing Guide for details.
๐ License
MIT License - see LICENSE file for details.
๐ Acknowledgments
- Built with TailwindCSS
- Inspired by Streamlit and React
- Python packaging with setuptools
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sids-0.1.0.tar.gz.
File metadata
- Download URL: sids-0.1.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ec0a4089925367ef482c0a716b01c46f65f5de927a7d2e50293c809691e6845
|
|
| MD5 |
1154c7d00fd2705f978640c1c12b8399
|
|
| BLAKE2b-256 |
32910e1834d55daea16001a9a41d30ac03cab64300862d80fbe9e7f6a030f291
|
File details
Details for the file sids-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sids-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46122ac78bed6ba47dd88d6a0bf8f7f43bf9cb9271487a517915f1a2bba50b41
|
|
| MD5 |
a27c0387b59e433dc94cd06651bf440b
|
|
| BLAKE2b-256 |
3ea81a3533cc2066406acce0ca4f22a41a911cc1e213e879e2d6496a91f57a2c
|