Skip to main content

Radiant: A Pythonic Web Framework

A lightweight and Python-first framework for building web applications with Brython.

GitHub top language PyPI - License PyPI PyPI - Status PyPI - Python Version GitHub last commit CodeFactor Grade Documentation Status

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!

Metadata

Release files for radiant-framework 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for radiant-framework 0.3.1
File Size Uploaded Provenance Actions
radiant_framework-0.3.1.tar.gz 12.6 MB With provenance Details for radiant_framework-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for radiant-framework 0.3.1
File Interpreter ABI Platform Actions
radiant_framework-0.3.1-py3-none-any.whl Python 3 none any Details for radiant_framework-0.3.1-py3-none-any.whl

Total release size: 25.4 MB

Release files / radiant_framework-0.3.1.tar.gz

Download URL radiant_framework-0.3.1.tar.gz
Size 12.6 MB
Tags Source
SHA-256 checksum
How to use checksums
27a42146d956d4cd5376f9f85159877961d9025db347748cc11ba53e386c2571
BLAKE2b-256 checksum
How to use checksums
5b94d9ccf6572a9a2d6252e0cff1395c74d5c714371ed7486c7f8fd76aa2d19d
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 3, 2025.

Transparency log

Release files / radiant_framework-0.3.1-py3-none-any.whl

Download URL radiant_framework-0.3.1-py3-none-any.whl
Size 12.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3ba989494a1a61fa82372592d09a89215c441c2c4bc92d5aeac1de108d180c3e
BLAKE2b-256 checksum
How to use checksums
3cde5ad1428230641befd0de204b8de5201d2ed458a1af2e1043d36b8f92c60e
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 3, 2025.

Transparency log

Security for radiant-framework 0.3.1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for radiant_framework-0.3.1.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 3, 2025.

Transparency log

A 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.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page