Skip to content

Installation

Client-side installation

Although PuePy is available on pypi, because PuePy is intended primarily as a client-side framework, "installation" is best achieved by downloading the wheel file and including it in your pyscript packages configuration.

A simple first project (with no web server) would be:

  • index.html (index.html file)
  • pyscript.json (pyscript config file)
  • hello.py (Hello World code)
  • puepy-0.4.5-py3-none-any.whl (PuePy wheel file)

The runtime file would contain only the files needed to actually execute PuePy code; no tests or other files. Runtime zips are available in each release's notes on GitHub.

Downloading client runtime

curl -O https://files.pythonhosted.org/packages/14/2a/3378dd6ac8279c77de462749ef0574c4bec130ed1ba0ee1edbbfa96ff02a/puepy-0.4.5-py3-none-any.whl

Setting up your first project

Continue to the tutorial to see how to set up your first project.