Skip to main content

Write professional web interface with Python

Project description

Python AdminUI

Write professional web interface with Python.

If you need a simple web interface and you don't want to mess around with React, Angular, Webpack or other fancy Javascript stuff, this project is for you. Now you can write web pages, forms, charts and dashboards with only Python.

This library is good for: data projects, tools and scripts, small IT systems and management systems, Hacker or Hackathon projects. Basically if you need an interface for your system and you don't care much about customizing the style or performance for large traffic, consider this package.

This project is based on Flask and the awesome Ant Design Pro frontend UI library.


  • Forms and detail pages
  • Line and Bar Chart
  • Create decent looking menus
  • Data tables with pagination
  • No HTML, CSS, JS needed

Installation and quick start

install the package with pip:

pip install adminui

The basic "form page" example:

from adminui import *

app = AdminApp()

def on_submit(form_data):
    print(form_data)'/', 'form')
def form_page():
    return [
        Form(on_submit = on_submit, content = [
            TextField('Title', required=True),
            FormActions(content = [

if __name__ == '__main__':

Run the Python file:


Then visit to see the result.

Contributing and Development

This is a personal project. So please create issues to tell me what you need from this project.

You may also give stars to let me know if this project is worthy to invest more time on.

To work with the source code:

This project has a Typescript front-end and a Python backend. The front-end is in the /src folder. Run npm install & npm start at the root folder will start developing with mock data inside /mock. When finished with the frontend, run npm run build will build the project. The front-end is based on the amazing Ant Design Pro library, you may consult their documentation during the development.

The Python backend is located in /python/adminui. It is Flask based. There are some examples in the /python folder.

Project details

Download files

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

Files for adminui, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size adminui-0.1.3-py3-none-any.whl (1.3 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size adminui-0.1.3.tar.gz (856.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page