Creating Engineering Calculation layout page

I need help creating Jupyter layout for structural engineering calculations like this.

Some more context would be helpful.

Do you need…

  • some existing data (e.g. a pandas dataframe) loaded in a kernel to be shown in output that looks like this?
  • a whole, (previously-executed) notebook that looks like this in its static form?
  • an interactive input that makes the Jupyter Lab/Notebook UI look like this?

If the first one: it’s likely jinja2 would be the right place to start, rather than trying to coax an existing tool into drawing it

If the second, a custom nbconvert exporter might be required, which would probably also need a jinja2 template that extends one of the base ones

  • if you really need it to look exactly like that, LaTeX is going to end up being the way to go
  • if you kinda need it to look that way, HTML should be sufficient

If the third… the first pass would be the custom layout templates for ipywidgets that more-or-less wrap different CSS models. This would allow for basically writing excel-like features with observe callbacks. Not super fun, but doable.

If you need a whole Jupyter UI to look like that, that’s… a lot of frontend JavaScript/TypeScript/CSS work. It’s probably really good work to have done, but there might be nobody to volunteer to do it at this time.

3 Likes