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.6-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/e1/89/e468fd11ac60a1f3de84d523ba776d76aabb9adb708974ce2c33730317a8/puepy-0.4.6-py3-none-any.whl

Setting up your first project

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