S.H. Yu

Meet Violit: Build production-ready web apps in pure Python

by

Hi everyone..!!

I’m the creator of Violit, a new Python framework I’ve been building to solve a personal frustration: Why is it so hard to move from a great Python script to a "real" web app?

With Violit, I aim to liberate Python developers from frontend complexities. You shouldn't need to learn React just to ship an idea. I want to empower devs to build production-ready web apps using only pure Python and an intuitive, Streamlit-like syntax.

If you're like me, you love Streamlit for quick prototypes, but eventually, you hit a wall when you need better state management, multi-user sync, or just a more "ready for the real world" feel. Violit is my attempt to bridge that gap, keeping the simplicity you love while giving you the robustness you need.

🚀 What makes it special?

  • Real-time Multi-user Sync: I’ve built a shared_state system so you can create collaborative apps (like chat rooms or shared dashboards) as easily as a local variable.

  • Built for Production: Unlike scripts that rerun everything on every click, Violit uses a smart runtime designed for stability and efficiency.

  • Modern UI (Zero CSS): It uses Web Awesome components under the hood. You get beautiful buttons, layouts, and inputs out of the box, styled with Tailwind CSS, all through Python.

  • Hybrid Runtimes: Run it over high-performance WebSockets or use the lightweight "Lite" mode (HTMX-based) for simpler deployments.

⚡ See it in action (7 Examples)

Check out the source code for these in our Examples Folder:

  1. Demo Showcase: A full tour of all UI widgets and layout options available.

  2. Violit Blog: A functional blog template with multi-page navigation.

  3. Multi-DB SQLite Editor: A tool to browse and edit multiple SQLite databases through the web.

  4. LLM Chat App: A polished AI chat interface with real-time message streaming.

  5. ORM Integration: How to link your UI directly to a database for structured data persistence.

  6. Auth System: A complete login and session example for protected applications.

  7. Shared State Room: A collaborative demo where multiple users sync data instantly in real-time.

I’m gearing up for a Product Hunt launch soon!!

If you’ve ever felt limited by existing Python web tools, give Violit a spin, I’d love to hear your feedback!

20 views

Add a comment

Replies

Be the first to comment