Pytml

Pytml is a 15KB lightweight PyScript alternative — run Python in HTML with one script tag.

git clone https://github.com/notamitgamer/Pytml.git
· rebuilt hourlyOpen on GitHub
commit 236c30ccea5c1a502e655085e4c04ea343768f98
parent c2579d4ee5b939e83b58c93295a622e1e4463589
Author: ASWANTH R <aswanthr82@gmail.com>
Date:   Sun,  4 Oct 2026 18:43:28 +0530

Update fetch options for API call in pytml.js
Diffstat:
Mpytml.js | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/pytml.js b/pytml.js @@ -1,8 +1,10 @@ -fetch('https://pytml.vercel.app/api/count') +fetch('https://pytml.vercel.app/api/count', { + cache: 'no-store', + referrerPolicy: 'origin' +}) .then(r => r.json()) .then(data => console.log('Pytml loaded:', data.message, 'times')) .catch(() => {}); - /* * Pytml 2.5.0 * Python + HTML, powered by Pyodide.