8000 [PYS-22] support pip in pyenv by fpliger · Pull Request #30 · pyscript/pyscript · GitHub
[go: up one dir, main page]

Skip to content

[PYS-22] support pip in pyenv #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 19, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update examples
  • Loading branch information
fpliger committed Apr 19, 2022
commit 792db8cd59c734e4fe01524faf5a7888553bc6d4
2 changes: 0 additions & 2 deletions pyscriptjs/examples/panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ <h1>Panel Example</h1>
<div id="myplot"></div>
<py-script>
import asyncio
import micropip

import panel as pn

slider = pn.widgets.FloatSlider(start=0, end=10, name='Amplitude')
Expand Down
4 changes: 1 addition & 3 deletions pyscriptjs/examples/panel_deckgl.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
- bokeh
- numpy
- pandas
- panel==0.13.1a1
</py-env>

<div class="container-fluid d-flex flex-column vh-100 overflow-hidden" id="container">
Expand Down Expand Up @@ -74,13 +75,10 @@
</div>
<py-script>
import asyncio
import micropip

from io import StringIO
from js import fetch

await micropip.install(['panel==0.13.1a1'])

import panel as pn
import param
import pandas as pd
Expand Down
5 changes: 2 additions & 3 deletions pyscriptjs/examples/panel_kmeans.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
- numpy
- pandas
- scikit-learn
- panel
- altair
</py-env>

<div class="container-fluid d-flex flex-column vh-100 overflow-hidden" id="container">
Expand Down Expand Up @@ -78,13 +80,10 @@
</div>
<py-script>
import asyncio
import micropip

from io import StringIO
from js import fetch

await micropip.install(['panel', 'altair'])

import altair as alt
import panel as pn
import pandas as pd
Expand Down
4 changes: 1 addition & 3 deletions pyscriptjs/examples/panel_stream.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
- bokeh
- numpy
- pandas
- panel
</py-env>

<div class="container-fluid d-flex flex-column vh-100 overflow-hidden" id="container">
Expand All @@ -69,9 +70,6 @@
</div>
<py-script>
import asyncio
import micropip

await micropip.install(['panel'])

import panel as pn
import numpy as np
Expand Down
0