yuktai (Python)
Add YuktAI to pages rendered by Django, Flask or FastAPI in one line: the accessibility widget (♿), the page tools (🛠: QA report, forms, design, Ask page, voice) and everything in window.yuktai (data grid, icons, page RAG).
YuktAI runs in the visitor's browser: no API keys, no server calls, no telemetry. This package only writes the right <script> tags for you.
pip install yuktai
📖 Docs and live demos: https://yuktaidocs.netlify.app/ · npm: @yuktishaalaa/yuktai
Any Python template
import yuktai
html = yuktai.script_tag(position="right", show_page_tools=True, voice_lang="te-IN")
# put `html` just before </body>
Flask
import yuktai
yuktai.init_app(app, position="right", show_page_tools=True)
{{ yuktai_script() }} <!-- just before </body> -->
FastAPI (Jinja2 templates)
from fastapi.templating import Jinja2Templates
import yuktai
templates = Jinja2Templates(directory="templates")
yuktai.init_jinja(templates.env, show_page_tools=True)
{{ yuktai_script() }}
Django
# settings.py
INSTALLED_APPS = [..., "yuktai"]
YUKTAI = {"position": "right", "show_page_tools": True} # optional defaults
{% load yuktai_tags %}
{% yuktai_script %}
Options
| Option | Meaning |
|---|---|
version |
YuktAI release to load (default 5.3.10), or "latest" |
position |
"left" or "right" |
primary_color |
Button colour, e.g. "#0a4a85" |
title |
Settings dialog title |
show_page_tools |
Adds the 🛠 page tools button |
default_tab |
copilot, qa, forms, design, ask or voice |
voice_lang |
Speech language, e.g. "te-IN" |
auto_fix, show_skip_links |
Accessibility engine options |
extra |
Any other YUKTAI_CONFIG key |
cdn |
"jsdelivr" (default) or "unpkg" |
nonce |
For pages with a Content Security Policy |
Values are written as safe JSON, so they can't break out of the script tag.
Coming next
v0.2 adds YuktAI's Rust engines to Python: fast grid search and the Telugu-aware BM25 index for RAG retrieval, with the same results as the browser.
License
GPL-3.0, same as YuktAI. © Sandeep Miriyala, Yuktishaalaa AI Lab.
Metadata
Release files for yuktai 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yuktai-0.1.0.tar.gz | 18.3 kB | Without provenance | Details for yuktai-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yuktai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for yuktai-0.1.0-py3-none-any.whl |
Total release size: 36.5 kB
Release files / yuktai-0.1.0.tar.gz
| Download URL | yuktai-0.1.0.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a39644f6f732b1720e31ec2c5736d58eeb66364fdbd62a9087c786c89ba2ea5
|
|
BLAKE2b-256 checksum How to use checksums |
238d924052b1f5737dc862daf9cedc861290e1320a000beb84bca5a9283e9a88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Release files / yuktai-0.1.0-py3-none-any.whl
| Download URL | yuktai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 18.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa2550ac4b8187d5d0e1aeef40ca56996f5bbe7efa2c68e384f5fd3095bdc3f0
|
|
BLAKE2b-256 checksum How to use checksums |
8b537bb1398ee65dcbf296b31890c1e09cb73c339bc932724eb8f25ef4791916
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Security for yuktai 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.