Skip to main content

Radiant Framework

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

radiant_framework-0.3.1.tar.gz (12.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

radiant_framework-0.3.1-py3-none-any.whl (12.7 MB view details)

Uploaded Python 3

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

Hashes for radiant_framework-0.3.1.tar.gz
Algorithm Hash digest
SHA256 27a42146d956d4cd5376f9f85159877961d9025db347748cc11ba53e386c2571
MD5 b97ba26c9a40461979f708b533bef112
BLAKE2b-256 5b94d9ccf6572a9a2d6252e0cff1395c74d5c714371ed7486c7f8fd76aa2d19d

See more details on using hashes here.

Provenance

The following attestation bundles were made for radiant_framework-0.3.1.tar.gz:

Publisher: python-publish.yml on dunderlab/python-radiant_framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file radiant_framework-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for radiant_framework-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ba989494a1a61fa82372592d09a89215c441c2c4bc92d5aeac1de108d180c3e
MD5 ae0e0f110562364f3de10bb14d3f3ad6
BLAKE2b-256 3cde5ad1428230641befd0de204b8de5201d2ed458a1af2e1043d36b8f92c60e

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page