pip install omniweb
Complete auth system in 3 lines of code
from omniweb import OmniWeb
from omniweb.auth import enable_auth
app = OmniWeb()
auth = enable_auth(app)
# Done! Full auth ready:
# - JWT & Sessions
# - OAuth2 (Google, GitHub)
# - Magic links
# - 2FA support
WebSockets, SSE, and GraphQL subscriptions built-in
from omniweb.realtime import broadcast
@app.post("/notify")
async def notify(message: str):
await broadcast("notification",
{"message": message})
return {"status": "sent"}
# Auto-broadcasts to all
# connected clients!
Modern admin panel with charts and analytics
from omniweb.admin import AutoAdmin
admin = AutoAdmin(app)
admin.register(User)
admin.register(Post)
# Admin ready at /admin
# - Modern UI
# - Charts & Analytics
# - Export to CSV/Excel
# - Dark mode
Transform web apps into native desktop applications
from omniweb.desktop import run_as_desktop
if __name__ == "__main__":
# Run as desktop app!
run_as_desktop(app,
title="My App")
# 10x lighter than Electron
# Cross-platform (Win/Mac/Linux)
from omniweb import OmniWeb, Model
from omniweb.auth import enable_auth
app = OmniWeb(title="My API")
# Enable authentication
auth = enable_auth(app)
# Define model
class User(Model):
__table__ = "users"
# Create routes
@app.get("/")
async def home():
return {"message": "Hello OMNIWEB!"}
@app.get("/users")
async def list_users():
return await User.all()
if __name__ == "__main__":
app.run()
Made with ❤️ by Juste Elysée MALANDILA
Software Engineer | CEO at YusticApps