violit  by violit-dev

Python web framework for reactive, high-performance applications

Created 3 months ago
426 stars

Top 69.1% on SourcePulse

GitHubView on GitHub
Project Summary

Pure Python web framework Violit addresses the performance bottlenecks of Streamlit's full script rerun model by implementing a fine-grained reactive architecture. It targets developers who value Streamlit's productivity for data apps and dashboards but require a scalable solution for more complex web applications, offering built-in ORM and authentication.

How It Works

Violit utilizes a fine-grained reactive architecture, similar to modern JavaScript frameworks, where user interactions trigger updates only in dependent UI components. This signal-based approach, leveraging WebSockets or HTMX Lite, avoids the performance issues associated with Streamlit's complete script re-execution, enabling smoother scaling for stateful applications.

Quick Start & Requirements

  • Primary install: pip install violit
  • Run command: violit run app.py (supports --reload, --native, --port)
  • Prerequisites: Python.
  • Links: Docs: https://doc.violit.cloud, PyPI: https://pypi.org/project/violit/, GitHub: https://github.com/violit-dev/violit.

Highlighted Details

  • Streamlit-like declarative Python syntax without full script reruns.
  • Fine-grained, React-like reactivity for efficient state updates.
  • Integrated ORM (SQLModel) and authentication flows.
  • Tailwind-style utility classes for rapid UI styling.
  • Flexible runtimes: Browser, HTMX Lite, and Desktop Native (via pywebview).
  • Asynchronous task management with app.background() and app.interval().

Maintenance & Community

The project roadmap indicates active development, with planned features including custom component APIs, advanced theming, more examples, and a cloud deployment service. No specific community channels (e.g., Discord, Slack) or core contributor details are listed in the README.

Licensing & Compatibility

Violit is distributed under the MIT License. A trademark note reserves "Violit™" for The Violit Team. The MIT license generally permits commercial use and integration into closed-source projects.

Limitations & Caveats

Key features such as custom component APIs and advanced theming are still under development, as indicated by the roadmap. While designed for general web applications, its origins and primary examples stem from data apps and dashboards. The desktop native runtime depends on pywebview.

Health Check
Last Commit

23 hours ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
5
Star History
84 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Wei-Lin Chiang Wei-Lin Chiang(Cofounder of LMArena), and
5 more.

open-lovable by firecrawl

1.1%
26k
Build React apps instantly with AI chat
Created 8 months ago
Updated 5 months ago
Feedback? Help us improve.