Files
pyscript/docs/index.md
Jeff Glass d9b8b48972 Export Runtime from PyScript Module (#868)
* export 'pyscript' JS module with runtime attribute, to allow accessing (Pyodide) runtime and globals from JS.
* add docs to explain the js module
* add integration tests for the js module

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-23 13:46:19 -05:00

1.2 KiB

PyScript

Welcome to the PyScript documentation!

PyScript provides a way for you to run Python code directly in your browser, giving anyone the ability to program without infrastructure barriers. Add an interactive Python REPL directly to your website, share an interactive dashboard with a colleague as an HTML file, or create a client-side Python-powered web application. This documentation will show you how.

::::{grid} 2 :gutter: 3

:::{grid-item-card} Tutorials

Just getting started with PyScript?

Check out our getting started guide! ::: :::{grid-item-card} How-to guides

You already know the basics and want to learn specifics!

Passing Objects between JavaScript and Python Making async HTTP requests in pure Python

::: :::{grid-item-card} Concepts

What is PyScript?

::: :::{grid-item-card} Reference

Frequently asked questions

The PyScript JS Module

:::{toctree} :maxdepth: 1

::: ::::

---
maxdepth: 1
hidden:
---
tutorials/index
howtos/index
concepts/index
reference/index