Skip to content

[Suggestion] Notebook version of the repo #333

Open
@modasserbillah

Description

@modasserbillah

The way this repo is structured can be hard to read at times. Have you considered creating a jupyter notebook version of this repo?

Pros

  • Better formatting of texts
  • Code output can be easily shown
  • The illustration images can be added on the same notebook

Overall it would be a nicer learning experience. I have created one example here.

Activity

faif

faif commented on Jul 2, 2020

@faif
Owner

Hi. I like jupyter and I think that this is a good idea. When this repo was created jupyter was out of scope, but if you want to put some effort I encourage you 👍

fkromer

fkromer commented on Jul 3, 2020

@fkromer

In case someone wants to jump into this I'd recommend to deploy the notebooks with binder.

modasserbillah

modasserbillah commented on Jul 3, 2020

@modasserbillah
ContributorAuthor

Thanks for the feedback! I have started putting them into notebooks on my repo. Feel free to check them out and collaborate. I'll deploy with binder once I have a good number of them added.

timhoffm

timhoffm commented on Feb 15, 2022

@timhoffm

Sphinx gallery might be worth a look:

  • Inputs can be .py files or notebooks.
  • It renders to a nice page (requires a sphinx setup)
  • You can download the result as .py or notebook independent of the input format used.
  • There's experimental Binder support.
RobinRH

RobinRH commented on Apr 8, 2024

@RobinRH

I'm going to give this a try.

hasansezertasan

hasansezertasan commented on May 16, 2024

@hasansezertasan

Instead of notebooks, one could build an interactive documentation similar to pydantic.

Screenshot:

Before running the example:

image

Starting the example:

image

Output:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @faif@timhoffm@RobinRH@modasserbillah@fkromer

      Issue actions

        [Suggestion] Notebook version of the repo · Issue #333 · faif/python-patterns