- Notifications
You must be signed in to change notification settings - Fork1.5k
Simplify PyScript Offline#2346
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
We have various ways to obtain files needed to use PyScript offlinehttps://docs.pyscript.net/2025.5.1/user-guide/offline/ and none of these is straight forward. The current way that doesn't require/need curl"$(curl -sS https://registry.npmjs.org/@pyscript/core/latest| jq -r .dist.tarball)" --output ./pyscript.tgz After that, usinguntar /gz brings in the Issues with all approaches
Proposal
The current bundle would be ~ 1.5MB all inclusive (as zip) so this should not be an issue but if we think it is, we could also host the artifact in GitHub when we release and point at that specific version ... all to be discussed, I've opened this to discuss indeed and/or have consensus about this way to simplify by far offline installation/use-case. |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 1 reply
-
I like this. Especially given some of the folks at PyCon wanted to have a local build of PyScript and one chap struggled to follow the instructions. Perhaps we should use a GitHub action to attach such an asset to the release, and we can link the asset in the auto-generated release web-page (like it already does with the docs, release notes and so on)..? E.g. as an asset attached to something like this:https://github.com/pyscript/pyscript/releases/tag/2025.5.1 and with links on a page like this:https://pyscript.net/releases/2025.5.1/ Just a thought... 👍 |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
anything that can make the whole documentation about offline PyScirpt shrink to a single link would do to me :-) |
BetaWas this translation helpful?Give feedback.