Radiant Framework
Project description
Radiant: A Pythonic Web Framework
A lightweight and Python-first framework for building web applications with Brython.
Why Radiant?
Radiant is a modern web framework that enables Python developers to build full-stack web applications without writing JavaScript. It leverages Brython to run Python code directly in the browser, providing a seamless development experience.
Target Audience
Radiant is designed for Python developers who want to:
- Build web applications entirely in Python without JavaScript knowledge
- Create interactive web interfaces with a Pythonic approach
- Leverage Python's simplicity and expressiveness for frontend development
- Benefit from Python's rich ecosystem of libraries and tools
- Avoid context switching between Python and JavaScript
- Develop full-stack applications with a single language
- Learn web development while staying in a familiar Python environment
Whether you're a Python enthusiast, a web developer looking for a Python-first approach, or a beginner wanting to start web development with Python, Radiant provides an intuitive framework for your needs.
Key Features
- Pure Python Development: Build web applications without writing JavaScript
- Component-Based Architecture: Create reusable UI components in Python
- Real-time Updates: Built-in WebSocket support for live data updates
- Template System: Flexible HTML templating with Python syntax
- State Management: Simple state handling and reactivity
- Browser API Integration: Access browser features through Python interfaces
- Modern UI Tools: Built-in support for CSS frameworks and modern UI patterns
Getting Started
Prerequisites
- Python 3.7 or higher
- Basic understanding of Python
- pip package manager
Installation
Install Radiant using pip:
pip install radiant-framework
Quick Example
Here's a minimal example to get you started:
from radiant.framework.server import RadiantInterfaceApp
from browser import document, html
# Define a simple application using RadiantInterfaceApp
class MinimalApp(RadiantInterfaceApp):
def on_mount(self):
document <= html.H1("Minimal Interface App")
document <= html.P("This is a single-page app using Radiant.")
# Launch the app with default settings
if __name__ == "__main__":
MinimalApp.serve()
Visit http://localhost:5050 to see your first Radiant application!
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 radiant_framework-0.3.1.tar.gz.
File metadata
- Download URL: radiant_framework-0.3.1.tar.gz
- Upload date:
- Size: 12.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27a42146d956d4cd5376f9f85159877961d9025db347748cc11ba53e386c2571
|
|
| MD5 |
b97ba26c9a40461979f708b533bef112
|
|
| BLAKE2b-256 |
5b94d9ccf6572a9a2d6252e0cff1395c74d5c714371ed7486c7f8fd76aa2d19d
|
Provenance
The following attestation bundles were made for radiant_framework-0.3.1.tar.gz:
Publisher:
python-publish.yml on dunderlab/python-radiant_framework
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
radiant_framework-0.3.1.tar.gz -
Subject digest:
27a42146d956d4cd5376f9f85159877961d9025db347748cc11ba53e386c2571 - Sigstore transparency entry: 738242705
- Sigstore integration time:
-
Permalink:
dunderlab/python-radiant_framework@c0f9fb6f3d735d9ed7f8181f7bf30c5635919724 -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/dunderlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@c0f9fb6f3d735d9ed7f8181f7bf30c5635919724 -
Trigger Event:
release
-
Statement type:
File details
Details for the file radiant_framework-0.3.1-py3-none-any.whl.
File metadata
- Download URL: radiant_framework-0.3.1-py3-none-any.whl
- Upload date:
- Size: 12.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ba989494a1a61fa82372592d09a89215c441c2c4bc92d5aeac1de108d180c3e
|
|
| MD5 |
ae0e0f110562364f3de10bb14d3f3ad6
|
|
| BLAKE2b-256 |
3cde5ad1428230641befd0de204b8de5201d2ed458a1af2e1043d36b8f92c60e
|
Provenance
The following attestation bundles were made for radiant_framework-0.3.1-py3-none-any.whl:
Publisher:
python-publish.yml on dunderlab/python-radiant_framework
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
radiant_framework-0.3.1-py3-none-any.whl -
Subject digest:
3ba989494a1a61fa82372592d09a89215c441c2c4bc92d5aeac1de108d180c3e - Sigstore transparency entry: 738242724
- Sigstore integration time:
-
Permalink:
dunderlab/python-radiant_framework@c0f9fb6f3d735d9ed7f8181f7bf30c5635919724 -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/dunderlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@c0f9fb6f3d735d9ed7f8181f7bf30c5635919724 -
Trigger Event:
release
-
Statement type: