Skip to main content

TinPyUI (tinpyui-ff)

Official Python type stubs and CLI integration for TinPyUI v1.5.2 — the Zero-DOM WebAssembly UI framework with Pythonic syntax.

pypi license


🐍 Python Installation & Usage

Install the PyPI package:

pip install tinpyui-ff

Flask Server Integration

TinPyUI applications compile into a static Wasm engine (public/app.ir.json, tinui_engine.wasm, index.html) that can be served seamlessly from any Python backend such as Flask:

from flask import Flask, send_from_directory

app = Flask(__name__, static_folder='public')

@app.route('/')
def index():
    return send_from_directory(app.static_folder, 'index.html')

@app.route('/<path:path>')
def static_files(path):
    return send_from_directory(app.static_folder, path)

if __name__ == '__main__':
    print("[Info] Starting TinPyUI Flask Server on http://localhost:5000")
    app.run(debug=True, port=5000)

⚡️ Pythonic .tin Syntax Blueprint

Write UI components using indentation-based Pythonic syntax:

component Main():
    AnimatedBackground(effect="cyber-wave", primaryColor="neon-purple", secondaryColor="neon-cyan"):
        Navbar(padding=20, blur=true):
            Row(align="center", justify="space-between", width="full"):
                Text(text="TinPyUI App", color="neon-cyan", weight="bold")
                Row(gap=30, color="white"):
                    NavLink(text="Features")
                    NavLink(text="Docs")

        Section(align="center", paddingY=100, maxWidth=800, justify="center"):
            GradientText(text="The Zero-DOM Wasm Engine", gradient=["neon-cyan", "neon-purple"], size="hero")
            Text(text="Build high-performance web applications with Pythonic DSL.", size="large", color="white", marginTop=20)
            
            Row(gap=20, align="center", justify="center", marginTop=40):
                Button(text="Get Started", variant="solid", glow="neon-cyan", radius="pill")

📄 Repository & Documentation

For full documentation, CLI guides, and WebAssembly engine details, visit the main GitHub repository: github.com/barathanandh-coder/tinui

Download files

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

Source Distribution

tinpyui_ff-1.5.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

tinpyui_ff-1.5.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file tinpyui_ff-1.5.2.tar.gz.

File metadata

  • Download URL: tinpyui_ff-1.5.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tinpyui_ff-1.5.2.tar.gz
Algorithm Hash digest
SHA256 c8c527f24b2642415d4e546da3ccea2868386db0bea08241aaa3e3984d4777d2
MD5 4c01e2a8098dbdd48dd4a2b9c7d7c68f
BLAKE2b-256 06ee6ad7c594045b522e665c45099d566921d2d8ff8f3e7eaaad91407a024f29

See more details on using hashes here.

File details

Details for the file tinpyui_ff-1.5.2-py3-none-any.whl.

File metadata

  • Download URL: tinpyui_ff-1.5.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tinpyui_ff-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0a32de9f91e1fb7ac80f4d31dca5dcb34ee9ae9a76bb06108cbd05212d1f4dc9
MD5 5ee77b3fcefb0a83b4092189018b26ab
BLAKE2b-256 922bfa0a547aec8de4704166c4098c8718cbdd6dbecce53542b2804e8581c66f

See more details on using hashes here.

Release history Release notifications | RSS feed

1.6.0

2 files

This release

1.5.2 This release

2 files

1.5.1

2 files

1.5.0

2 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