Skip to content

YellowSiC/NexiumUI

Repository files navigation

NexiumUI foundation

NexiumUI with Ant Design UI

Create an efficient and enjoyable work experience

NexiumUI empowers developers to effortlessly build real-time web, mobile, and desktop applications in Python, without requiring prior frontend experience.

It is an incredibly powerful Python library that allows you to create cross-platform graphical user interface and Web applications with ease, similar to Electronjs, but with an integrated React and Ant Design user interface.

⚡ From idea to app in minutes

This feature makes NexiumUI an ideal choice for creating sophisticated and comprehensive applications, catering to even the most demanding use cases.

At the heart of NexiumUI's architecture are cutting-edge technologies such as React, FastAPI, Pydantic, Chrome, and Uvicorn, providing an excellent platform for building high-quality applications that seamlessly blend into any environment.

NexiumUI also supports the Python ZVT 700 electronic cash register interface, allowing for seamless integration of other transactions into your applications. Additionally, NexiumUI supports PWA Progressive Web Applications, enabling easy installation of your app on IOS and Android operating systems.

🔋 Batteries included

If you're looking for a robust and versatile library to create visually stunning applications, then NexiumUI is undoubtedly the right choice. Explore the full potential of this exceptional library by giving it a try today!

PyPI version Documentation Status

📐 Simple architecture

No more complex architecture with JavaScript frontend, REST API backend, database, cache, etc. With NexiumUI you just write a monolith stateful app in Python only and get multi-user, realtime Single-Page Application (SPA).

✨ Features

  • browser-based graphical user interface

  • standard GUI elements like label, button, checkbox, switch, slider, input, file upload, ...

  • simple grouping with rows, columns, cards and dialogs

  • general-purpose HTML and Markdown elements

  • powerful high-level elements to

    • plot graphs and charts,
    • render 3D scenes,
    • get steering events via virtual joysticks
    • annotate and overlay images
    • interact with tables
    • navigate foldable tree structures
  • notifications, dialogs and menus to provide state of the art user interaction

  • shared and individual web pages

  • ability to add custom routes and data responses

  • capture keyboard input for global shortcuts etc.

  • customize look by defining primary, secondary and accent colors

  • live-cycle events and session data

🖥 Environment Support

  • Modern browsers
  • Client-side Rendering

Browsers support

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
iOS Safari
iOS Safari
Samsung
Samsung
Opera
Opera
IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions last 2 versions last 2 versions

📦 Install

pip install nexium

🔨 Usage

Write your NexiumUI UI:

from fastapi import FastAPI
from nexium import ui , NexiumUI, e









api = FastAPI()
client = NexiumUI()
client.init(app=api)
api.include_router(client)





page = {
    'display': 'flex',
    'flexDirection': 'column',
    'alignItems': 'center',
    'justifyContent': 'center',
    'height': '80vh',  # Vollständige Bildschirmhöhe
}

nav = {
    'fontSize': '100px',
    'fontWeight': 'bold',
    'color': '#E50914',  # Netflix-Rot
    'cursor': 'pointer',
    'marginBottom': '10px',  # Abstand zwischen Nexium und Beschreibung
}

description = {
    'fontSize': '14px',
    'color': '#555',
    'textAlign': 'center',  # Zentrierung des Textes
}


d ="""
Nexium empowers developers to effortlessly build real-time web, mobile, and desktop applications in Python, without requiring prior frontend experience.

It is an incredibly powerful Python library that allows you to create cross-platform graphical user interface and Web applications with ease, similar to Electronjs, but with an integrated React and Ant Design user interface.
"""

@api.get("/")
async def read_root():
  """ Nexium First API Endpoint """
  return ui.Layout(
    content=[
      ui.Content(style=page, content=[
        ui.Title(content='Nexium', style=nav),
        ui.Title(content='Nexium with Ant Design UI', style=description),
        ui.Text(content=d, style=description),
      ]),
      ui.Footer(
        content=[
          ui.ReactNode(component='h4', content='Nexium ©2024 Created by Malek Ali at Yellow-SiC Development'),
          ],
        style={
          'display': 'flex',
          'justifyContent': 'center',
          'alignItems': 'center',
          'fontSize': '13px',
          'color': '#333',  
          'margin':'15px'
        }
      )
    ],
      style = {
      'height':'100%'
      }
  )



   

In January 2024, NexiumUI has just been publicly released by software architecture Malek Ali at Yellow-SiC and is in Alpha Stage.

Anyone can install and use NexiumUI. There may be issues, but we are actively working to resolve them.

🤝 Contributing PRs Welcome

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published