| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
PyScript is a framework that allows users to create rich Python applications in the browser using HTML's interface and the power of Pyodide, MicroPython and WASM, and modern web technologies.
To get started see the Beginning PyScript tutorial.
For examples see here.
Other useful resources:
Every Tuesday at 15:30 UTC there is the PyScript Community Call on zoom, where we can talk about PyScript development in the open. Most of the maintainers regularly participate in the call, and everybody is welcome to join.
Every other Thursday at 16:00 UTC there is the PyScript FUN call: this is a call in which everybody is encouraged to show what they did with PyScript.
For more details on how to join the calls and up to date schedule, consult the official calendar:
PyScript is a meta project that aims to combine multiple open technologies into a framework that allows users to create sophisticated browser applications with Python. It integrates seamlessly with the way the DOM works in the browser and allows users to add Python logic in a way that feels natural both to web and Python developers.
To try PyScript, import the appropriate pyscript files into the <head> tag of your html page:
<head>
<link
rel="stylesheet"
href="https://pyscript.net/releases/2024.8.2/core.css"
/>
<script
type="module"
src="https://pyscript.net/releases/2024.8.2/core.js"
></script>
</head>
<body>
<script type="py" terminal>
from pyscript import display
display("Hello World!") # this goes to the DOM
print("Hello terminal") # this goes to the terminal
</script>
</body>You can then use PyScript components in your html page. PyScript currently offers various ways of running Python code:
Check out the official docs for more detailed documentation.
Read the contributing guide to learn about our development process, reporting bugs and improvements, creating issues and asking questions.
Check out the developing process documentation for more information on how to setup your development environment.
For technical details of the code, please see the README in pyscript.core.
The PyScript organization governance is documented in a separate repository.
To cut a new release of PyScript simply add a new release while remembering to write a comprehensive changelog. A GitHub action will kick in and ensure the release is described and deployed to a URL with the pattern: https://pyscript.net/releases/YYYY.M.v/ (year/month/version - as per our CalVer versioning scheme).
Then, the following three separate repositories need updating:
| Back | FazBrowse Home | New Git URL |