Skip to main content

TinPyUI (tinpyui-ff)

Official Python type stubs and CLI integration for TinPyUI v1.6.0 — 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.6.0.tar.gz (263.6 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.6.0-py3-none-any.whl (261.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tinpyui_ff-1.6.0.tar.gz
  • Upload date:
  • Size: 263.6 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.6.0.tar.gz
Algorithm Hash digest
SHA256 237c6777fb86fcf6f9eded7b8e672e28222ed9ace5919f382108e8f8cb3dc01d
MD5 99e28968a849a698a0ce621d5fc64783
BLAKE2b-256 090e47adc0dd425a78eb48992587dc035f8105356b21872708b3fc2dc7fd4e2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tinpyui_ff-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 261.3 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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0db2e0fb8298436c00dff35fc7cf87aa877ff14b8b3befc525cfe21360cb6512
MD5 8e58017b9c3a532762549c9575572661
BLAKE2b-256 669ef351d7d068e2e25a83037a2537ea930351c21d0aeea0507291d2b8c015cc

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.6.0 This release

2 files

1.5.2

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