Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anaconda/pyscript-tutorial
https://github.com/anaconda/pyscript-tutorial
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anaconda/pyscript-tutorial
- Owner: anaconda
- License: gpl-3.0
- Created: 2022-10-12T13:47:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-19T12:00:49.000Z (12 months ago)
- Last Synced: 2024-01-19T13:27:14.935Z (12 months ago)
- Language: HTML
- Size: 404 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyScript Tutorial
*Note: PyScript is under active developement and something in this tutorial may change in the future. Please check [documentation on pyscript.net](http://docs.pyscript.net/) for current updates*
This workshop consists of 3 chapters. In each chapter, by walking through hands-on exercises, we can use PyScirpt to create data visualisations and deploy Sci-Kit learn models, which are some of the most common tasks in data sciences.
## Chapter 1 - Python in the browser
In this chapter, we will go through the basics of using PyScript and running Python in browsers. First, we will go through how to start using PyScript: to call in the `pyscript.js` script, prepare the python environment to run the Python code, and write a "hello world" program in Python.
[Go to chapter 1](chapter_1/chapter_1.md)
## Chapter 2 - Visualisation with PyScript
With PyScript, fully customisable interactive visualisation can be created easily. In this chapter, we will do several exercises, first, we are going to generate a visualisation with Python. Then we start adding an interactive user interface and make the visual changes depending on the user input.
[Go to chapter 2](chapter_2/chapter_2.md)
## Chapter 3 - Deploying ML model
In this chapter, we will use a very simple machine learning example to try deploying a trained model with PyScript to the front end. Through the exercise, we will create a user interface that can accept input, pass it to the trained model that we loaded in via PyScript and provide an output back to the web page.
[Go to chapter 3](chapter_3/chapter_3.md)
## Prerequisites
We expect no prior knowledge of PyScript, however, we expect participants are familiar with using Python and some data science libraries like Pandas, SciKit-learn and visualisation libraries like Matplotlib.
## Who is the workshop for
This workshop is for Pythonistas or Data Scientists who need to deploy data science projects or present data science findings. They may be interested in learning PyScript and seeing if it can help them with their work.