tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

make a aggregated package from all notebooks

Open Borda opened this issue 2 years ago • 1 comments

🚀 Feature

As we generate ipython notebooks from each script we could also parse all functions and classes and copy them into a package that would have the same structure as notebooks

Motivation

extend the functionality of this project

Pitch

do not only showcase the classes/modules but also allow a reader to import and use them

Alternatives

Additional context

The package would have an identical module structure as notebooks/folders Consider also exporting some contacts no cross imports as the package will be generated to another separate branch (to keep it light for install)

Borda avatar Sep 03 '21 16:09 Borda

Each script need to be parsed and extract only functions and classes... Check out ast, https://docs.python.org/3/library/ast.html

Borda avatar Dec 12 '21 19:12 Borda