Dev tools · September 10, 2023
Python CLI for Compiling Jupyter Notebooks into FastAPI Apps
Hi HN! I recently built Neutrino Notebooks, an open source python library for compiling Jupyter notebooks into FastAPI apps. I work with notebooks a ton and typically find myself refactoring notebook code into a backend or some other python script. So, I made this to streamline that process. In short, it lets you: - Expose cells as HTTP or websockets endpoints with comment declaratives like `@HTTP` and `@WS` - Periodically run cells as scheduled tasks for simple data pipelines with `@SCHEDULE` - Automatic routing based on filename and directory structure, sort of similar to NextJs. - Ignore…
What it does
In the maker’s words, at launch
Hi HN! I recently built Neutrino Notebooks, an open source python library for compiling Jupyter notebooks into FastAPI apps. I work with notebooks a ton and typically find myself refactoring notebook code into a backend or some other python script. So, I made this to streamline that process. In short, it lets you: - Expose cells as HTTP or websockets endpoints with comment declaratives like `@HTTP` and `@WS` - Periodically run cells as scheduled tasks for simple data pipelines with `@SCHEDULE` - Automatic routing based on filename and directory structure, sort of similar to NextJs. - Ignore sandbox files by naming them ‘_sandbox’ You can compile your notebooks, which creates a /build folder with a dockerized FastAPI app for local testing or deployment. GitHub repo: https://github.com/neutrino-ai/neutrino-notebooks Excited for feedback from the HN community
Does the same job
all alternatives →- KAKyso – an easy way to share Jupyter notebooks2017 · ▲117
Hi HN, We're the founders of https://kyso.io We want to make it really easy to share data-science within teams, and we've started with Jupyter notebooks. We render the notebooks really nicely, so you can embed interactive visualisations like Bokeh, and Plotly plots. Another nice thing is we allow you to hide the code for non-technical readers, so you basically get a beautiful data blog. Look at https://kyso.io/laura/ for some examples. We really want to hear your feedback, let us know what you think!

- MPMercury – Publish Jupyter Notebook as web app by adding YAML header2022 · github.com · ▲61
Mercury is a perfect tool to share your Python notebooks with non-programmers. - You can turn your notebook into web app. - You can add interactive widgets to your notebook by defining the YAML header. Your users can change the input and execute the notebook. - You can hide your code to not scare your (non-coding) collaborators. - Users can interact with notebook and save they results. - You can share notebook as a web app with multiple users - they don't overwrite original notebook. The demo running at Heroku (free dyno) http://mercury-demo-1.herokuapp.com, at AWS EC2 (t3a.small)…


- FBFastAPI: build Python APIs with Go-like speed and automatic UI docs2019 · fastapi.tiangolo.com · ▲88
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com
