TailPySCSS v0.5.3: The Frontend Engine
"Build Modern UI in Python. No Node.js. No npm. No Webpack."
TailPySCSS is a Python-Native CSS Engine. It gives you the power of utility classes (like Tailwind) and the structure of components (like Bootstrap) without the nightmare of a Node.js build pipeline.
It compiles SCSS to CSS directly in Python. It scans your Python code for usage. It treeshakes unused styles by default.
📖 Read the Full Documentation →
🔥 Creating UI in Python (New in v0.5.0+)
Forget writing HTML classes manually. Use the new Python Component Library:
from tailpyscss.ui import Card, Button, Input, Switch
def view():
return Card(
Input(placeholder="Enter email"),
Switch(label="Enable Notifications"),
Button("Save Changes", variant="primary")
)
What happens?
- The Scanner detects you used
Card,Input, andSwitch. - The Engine compiles only the CSS needed for those 3 components.
- The Output is a tiny, optimized CSS file (~9 KB for small apps).
🚀 Features
1. Zero Node.js Dependency
Stop fighting package.json, node_modules, and webpack.config.js. TailPySCSS is 100% Python.
- Install:
pip install tailpyscss - Run:
tailpyscss build
2. The Context Engine (Tree Shaking)
We don't include 500KB of unused CSS. If you don't use the Table component in your Python code, its CSS is not generated.
- Base Size: ~9 KB (Utilities only)
- Full Suite: ~19 KB (All 30+ components)
3. The Component Library (30+ Elements)
Batteries included. Neon-ready. Glassmorphism-ready.
- Essentials:
Button,Card,Badge,Alert,Navbar,Hero. - Forms:
Input,Select,Checkbox,Radio,Switch,File. - Overlay:
Modal,Toast,Tooltip,Popover. - Navigation:
Tabs,Sidebar,Pagination,Breadcrumb.
4. The Vibe Engine (Dynamic Theming)
Change your entire app's feel with one config line.
# tailpy_config.py
config = {
"vibe": "neon" # Options: 'flat', 'glass', 'neon'
}
⚡ Quick Start
1. Install
pip install tailpyscss
2. Initialize
tailpyscss init
Creates tailpy_config.py and styles/ folder.
3. Build & Watch
# Watch for changes (0.1s response time)
tailpyscss watch
🛠️ Configuration
Configure colors, spacing, and vibes in pure Python:
# tailpy_config.py
config = {
"colors": {
"primary": "#3b82f6", # Blue
"secondary": "#ec4899" # Pink
},
"vibe": "glass"
}
📚 Comparisons
| Feature | TailPySCSS (v2) | Tailwind JIT | Bootstrap 5 |
|---|---|---|---|
| Tech Stack | Python (Pip) | Node.js (Npm) | SASS |
| Setup Time | 1 Minute | 10-20 Minutes | 5 Minutes |
| Dependencies | 0 | 100+ (Node modules) | 0 (if CDN) |
| Output Size | ~9 KB - 19 KB | ~3 KB - 10 KB | ~200 KB + JS |
| Tree Shaking | Yes (Component) | Yes (Class) | Manual Only |
� Resources
- 📖 Full Documentation - Comprehensive guides and API reference
- 🚀 Quick Start Guide - Get up and running in 5 minutes
- 🎨 Component Showcase - See all 30+ components
- ❓ FAQ & Troubleshooting - Common issues and solutions
- 🐛 Report Issues - Bug reports and feature requests
�📄 License
MIT License. 100% Open Source. Created by Abdi Abdikarim.
Metadata
Release files for tailpyscss 0.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tailpyscss-0.5.3.tar.gz | 22.6 kB | With provenance | Details for tailpyscss-0.5.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tailpyscss-0.5.3-py3-none-any.whl | Python 3 | none | any | Details for tailpyscss-0.5.3-py3-none-any.whl |
Total release size: 47.9 kB
Release files / tailpyscss-0.5.3.tar.gz
| Download URL | tailpyscss-0.5.3.tar.gz |
|---|---|
| Size | 22.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0359a35c4b45bb55664c2f6ecc3c4316ebbf235402a7ef81c8096a46da1bbfae
|
|
BLAKE2b-256 checksum How to use checksums |
c677b9c50b8ddfc096a211e02f796c32ea4a362e8e5bcb09d0bcdbaff539cdf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 17, 2025.
Transparency logRelease files / tailpyscss-0.5.3-py3-none-any.whl
| Download URL | tailpyscss-0.5.3-py3-none-any.whl |
|---|---|
| Size | 25.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ea5faaa5c83325a8702fddfa32f8e0098c904803757df92440d8b2c1e75f09a
|
|
BLAKE2b-256 checksum How to use checksums |
c13f0df09af562e4822f274f0187110f0cdbe9a753c58aef0cc25d50019397b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 17, 2025.
Transparency logSecurity for tailpyscss 0.5.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for tailpyscss-0.5.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 17, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.