- Supports inline Python on
file://pages while keeping Pyodide on HTTPS. - Loads Pyodide only when a page contains Python blocks.
- Gives a clear error for relative local Python
srcfiles underfile://. - Improves async callbacks, timer handling, and HTML escaping.
Changelog
- Added inline Python support for
file://pages and clearer errors for local Pythonsrcfiles. - Avoided loading Pyodide on pages without Python blocks.
- Improved async callbacks, timer handling, and HTML escaping.
- Kept Pyodide 314.0.7 as the runtime.
- Added numbered
<pyN>block discovery. - Added inline
<btnN>,<inputN>and<txtN>preprocessing. - Added DOM and browser interaction helpers.
- Kept the public
https://pytml.vercel.app/pytml.jsscript URL. - Updated demos to use the public HTTPS runtime.
- Added a local-file example.
- Kept original bot/API and repository support files.
- The full Pytml compiler remains planned for v3.0.