pauleveritt / tagstr-site

Demos and docs for the draft PEP on tag strings in Python.
MIT License
5 stars 2 forks source link

Bring JupyterLite into this repo #2

Open pauleveritt opened 4 months ago

pauleveritt commented 4 months ago

I think Koudai's JupyterLite playground is going to be the number one way that people poke around with this. It's compelling.

Koudai, if you don't mind, can we set it up in this repo? I can then link to it from the README and work with you on some examples to go into the notebook's text.

We might have multiple notebooks (or pages in a notebook) for different uses: a very simple example, HTML templating, etc.

koxudaxi commented 4 months ago

@pauleveritt OK, I will bring the playground here this weekend. Can I use precisely the same method of deployment, etc.?

pauleveritt commented 4 months ago

@koxudaxi Yes, precisely the same. I think that was great.

Do you think we should have multiple notebooks for different topics, or just different pages per topic?

koxudaxi commented 4 months ago

It seems like it would be a good idea to have a note for each scenario such as html, SQL, etc.? I am not that familiar with notes, but it would be faster to actually try it.

pauleveritt commented 4 months ago

Any chance you have time this week to work on it? I could provide the text and examples for some pages.

koxudaxi commented 4 months ago

I had a busy weekend and went to bed early at night. This is the priority for this week's OSS task. I will now port JupyterLite from my repo.

pauleveritt commented 4 months ago

No rush at all. I'm sure it's been quite a week for you. Really enjoyed spending time together at PyCon.

koxudaxi commented 4 months ago

No rush at all. I'm sure it's been quite a week for you. Really enjoyed spending time

I had no idea it would be such a fun event! 😄 But it was a bit tired, unlike the days when I worked on the computer at home every day 😅

koxudaxi commented 4 months ago

@pauleveritt I tested a new notebook in my playground repo. We can add the notebooks to content directory to show up in the site. If you convert the PEP or tutorial rst into a notebook as it is, it may be difficult to understand. Also I am not familiar with notebooks, I just added a new notebook in PyCharm. https://github.com/koxudaxi/tagstr-playground/pull/3

https://koxudaxi.github.io/tagstr-playground/lab/index.html

image
pauleveritt commented 4 months ago

I agree that we shouldn't convert the PEP or tutorial as it is now. We should make something that is a good fit for a notebook.