Skip to main content

EidosUI

Modern UI library for Python web frameworks. Built on Air and Tailwind CSS.

[!CAUTION] This library is in alpha, and may have semi-frequent breaking changes. I'd love for you to try it an contribute feedback or PRs!

Installation

pip install eidosui

Quick Start

from eidos import *
import air

app = air.Air()

@app.get("/")
def home():
    return Html(
        Head(
            Title("My App"),
            *EidosHeaders()  # Required CSS/JS
        ),
        Body(
            H1("Welcome"),
            P("Build modern web apps with Python."),
            DataTable.from_lists(
                [["Alice", "30"], ["Bob", "25"]], 
                headers=["Name", "Age"]
            )
        )
    )

app.run()

Features

  • Styled HTML tags - Pre-styled versions of all HTML elements
  • Components - DataTable, NavBar, and more
  • Themes - Light/dark themes via CSS variables
  • Type hints - Full type annotations
  • Air integration - Works seamlessly with Air framework

Plugins

Markdown

pip install "eidosui[markdown]"
from eidos.plugins.markdown import Markdown, MarkdownCSS

Head(
    *EidosHeaders(),
    MarkdownCSS()  # Add markdown styles
)

Body(
    Markdown("# Hello\n\nSupports **GitHub Flavored Markdown**")
)

Documentation

Full documentation: https://eidosui.readthedocs.io

License

MIT

Metadata

Release files for eidosui 0.12.3

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

Source distribution (sdist)

Source distribution for eidosui 0.12.3
File Size Uploaded
eidosui-0.12.3.tar.gz 27.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eidosui 0.12.3
File Interpreter ABI Platform
eidosui-0.12.3-py3-none-any.whl Python 3 none any Details

Total release size: 59.3 kB

Release files / eidosui-0.12.3.tar.gz

Download URL eidosui-0.12.3.tar.gz
Size 27.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e734f6cd69f9f2469946c430e9cb6a00d23e39a75bb7594e1763ffee3b7fb1b9
BLAKE2b-256 checksum
How to use checksums
b8e2a8d41c140f4d20bbcd08b9aa297a2eaad4a7a20e502117288b33f3972f05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.2

Release files / eidosui-0.12.3-py3-none-any.whl

Download URL eidosui-0.12.3-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec328980301c24dac4f99808af778eadf91880dd1c69562288f161c8a3a94a32
BLAKE2b-256 checksum
How to use checksums
01ba5bf9053c34765cab33a35c3ee9a563749c6d1e48df3a8b0eb842d67a624b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.2

Release history Release notifications | RSS feed

This release

0.12.3 This release

2 release files

0.12.2

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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