Build a PyScript interactive dashboard w/Altair | End-to-end PyScript Tutorial #3

  Рет қаралды 11,366

Samuel Chan

Samuel Chan

Күн бұрын

Пікірлер: 25
@AntonioSantos-ve6zv
@AntonioSantos-ve6zv 2 жыл бұрын
This is great stuff! Thanks for sharing! I suppose Anaconda team is working on getting it to load as it should so as to allow for acceptable UX!
@SamuelChan
@SamuelChan 2 жыл бұрын
Yes - reminder that PyScript was a project announced less than a month ago (as of today!) - plenty of opportunities to get better while collecting real usage stats, community feedback etc
@tonyl9741
@tonyl9741 2 жыл бұрын
Hello Samuel, I noticed it takes 5-10 seconds to load the graph every time you refreshed the page, is this a limitation of pyscript/webassembly? usually user won't wait that long for a simple graph.
@SamuelChan
@SamuelChan 2 жыл бұрын
Tony, you’re right. It does take a few seconds due to the compilation time (CPython into WebAssembly). And you’re right it’s not a fantastic user experience.
@RobbDunlap
@RobbDunlap 2 жыл бұрын
I would love to see a series on Altair
@SamuelChan
@SamuelChan 2 жыл бұрын
I've just released an end-to-end Altair visualization series (all 1 hour long video, total ~6 videos). Here's the playlist: kzbin.info/aero/PLXsFtK46HZxXBddVC0FqmbGdlvbDbaqzx Here's part 1: kzbin.info/www/bejne/q563qJ6dhtSilac
@SamuelChan
@SamuelChan 2 жыл бұрын
I've just released an end-to-end Altair visualization series (all 1 hour long video, total ~6 videos) due to the many requests for that. Here's the playlist: kzbin.info/aero/PLXsFtK46HZxXBddVC0FqmbGdlvbDbaqzx Here's part 1: kzbin.info/www/bejne/q563qJ6dhtSilac I'm releasing each part on a weekly schedule so best way to be notified is to subscribe and hit the notification bell. All videos are HD, 1 hour long, and 100% free -- no upsell, no paywall. All the videos you see on this channel have accompanying code, dataset etc on github, you will find them in the video description. Programming education should be accessible and freely available.
@เดชาหาญพิพัฒน์มงคล
@เดชาหาญพิพัฒน์มงคล 2 жыл бұрын
Sir, is it possible to import my Access database file with Pyscript?
@SamuelChan
@SamuelChan 2 жыл бұрын
No I don’t believe so. You’ll need Pyodbc or something that does the connector and it won’t be something your browser do I’m afraid. You will have better luck with turning that Access file into a SQLite or put it up on a remote server and accessing it to develop your plots / visualization I’d think! :)
@เดชาหาญพิพัฒน์มงคล
@เดชาหาญพิพัฒน์มงคล 2 жыл бұрын
@@SamuelChan Thank you
@rdark_benky3568
@rdark_benky3568 2 жыл бұрын
Is matplotlib supported?
@SamuelChan
@SamuelChan 2 жыл бұрын
Yes bro. In part 2 we’ve seen how to use matplotlib directly with pyscript: kzbin.info/www/bejne/pXnCo4eKec-ArK8
@rdark_benky3568
@rdark_benky3568 2 жыл бұрын
@@SamuelChan thanks
@2ncielkrommalzeme210
@2ncielkrommalzeme210 2 жыл бұрын
i get altair module can not find error . pip install altair and vega-datasets is it from me Why is it like that
@SamuelChan
@SamuelChan 2 жыл бұрын
Hey, since this is all front end code the app is fully deployed: onlyphantom.github.io/pyscript-altair/ meaning all the code I use are also on GitHub if you’d like to have a reference. To be clear, you DO NOT need to do any pip install workflow. Just declare them in py-env. Again, the full source code is on my GitHub repo bro. Repo: github.com/onlyphantom/pyscript-altair/blob/main/index.html
@SamuelChan
@SamuelChan 2 жыл бұрын
Here's part 1: kzbin.info/www/bejne/h6CblYuvgL2sg6c: Focus on importing PyScript, its syntax and key usage patterns. A get started guide for anyone new to pyscript. Here's part 2: kzbin.info/www/bejne/pXnCo4eKec-ArK8. This takes a full PyScript and deploy it onto GitHub Pages (using GitHub Action) for free! We'll use a lot of the same knowledge here but get to see an end-to-end deployment too! Part 4 kzbin.info/www/bejne/fmfVf62Hmtesh9E we'll build a CRUD (create read update delete) system in the form of a contact book / guest book using PyScript. This is something you'd do with Vue or React in the past, but now it's only a few lines of Python code.
@maheshsikka8852
@maheshsikka8852 2 жыл бұрын
Hi Sameul, I am a High Scbool student and made a python game using pygame library. I want to make its web app and want to play my game online. Can you please make a video, how can I do that using pyscript?
@SamuelChan
@SamuelChan 2 жыл бұрын
Hey Mahesh, you’ll probably need to take a look at pyjsdl (www.pygame.org/project-Pyjsdl-2888-4709.html), might be a more suitable tool for what you’re looking to make. I’ll add this to the “idea list” though, thanks for the suggestion Mahesh
@Deepsim
@Deepsim 2 жыл бұрын
Great tutorial! Thanks!
@gustavofelicidade_
@gustavofelicidade_ 2 жыл бұрын
Nice content!!!! 🔥🔥🔥
@Ryan-ix6dt
@Ryan-ix6dt 2 жыл бұрын
Thank you!
@sthefanocarvalho2823
@sthefanocarvalho2823 2 жыл бұрын
Awesome content. You've just got a sub! And oh A complete Altair tutorial would be awesome! Thanks for sharing :)
@SamuelChan
@SamuelChan 2 жыл бұрын
Thank you! Already have plans to put together an Altair tutorial 👌🏼
@sthefanocarvalho2823
@sthefanocarvalho2823 2 жыл бұрын
@@SamuelChan Awesome! I already hit the bell here to be notified! Thanks
@SamuelChan
@SamuelChan 2 жыл бұрын
​@@sthefanocarvalho2823 I've just released an end-to-end Altair visualization series (all 1 hour long video, total ~6 videos). Here's the playlist: kzbin.info/aero/PLXsFtK46HZxXBddVC0FqmbGdlvbDbaqzx Here's part 1: kzbin.info/www/bejne/q563qJ6dhtSilac
Build a PyScript guestbook webapp | PyScript Tutorial #4
41:33
Samuel Chan
Рет қаралды 4,5 М.
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 81 М.
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2,3 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,4 МЛН
PyScript Demo / Tutorial | End-to-end PyScript Tutorial #1
28:01
Samuel Chan
Рет қаралды 37 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 60 М.
5 Things I Wish I Knew Before Learning Streamlit
21:34
Fanilo Andrianasolo
Рет қаралды 30 М.
Introduction to Dash Plotly - Data Visualization in Python
29:21
Charming Data
Рет қаралды 790 М.
I run untested, viewer-submitted code on my 500-LED christmas tree.
45:17
7 Python Data Visualization Libraries in 15 minutes
15:03
Rob Mulla
Рет қаралды 79 М.
20 Programming Projects That Will Make You A God At Coding
14:27
The Coding Sloth
Рет қаралды 1,1 МЛН
Interactive Data Visualization with Altair
46:38
Hack the North
Рет қаралды 10 М.
The Home Server I've Been Wanting
18:14
Hardware Haven
Рет қаралды 146 М.
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,7 МЛН
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2,3 МЛН