Py

Python CLI for Compiling Jupyter Notebooks into FastAPI Apps

Hacker News

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 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

Share card

Actual performance

5points
4comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: apps, dock, tasks · Missing: mac, agents, macos
90%90% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: excited, open source, pipe · Missing: https docs, just released, exist
56%56% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
48%48% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: apps · Missing: mobile apps, ios, personal
43%43% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
30%30% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
22%22% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
2%2% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Pu
Puppy – CLI for managing Python environments and notebooks64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Puppy – CLI for managing Python environments and notebooks

Hacker News1
Bl
Black-nb - a simple python cli for linting Jupyter notebooks53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Black-nb - a simple python cli for linting Jupyter notebooks

Hacker News4
Le
Learn Evolutionary Algorithms with Python Notebooks68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Learn Evolutionary Algorithms with Python Notebooks

Hacker News11
I
I Wrote a Book on Evolutionary Algorithms with Python Notebooks78%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I Wrote a Book on Evolutionary Algorithms with Python Notebooks

Hacker News13
Co
Colorful CLI Spinners with Python45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Colorful CLI Spinners with Python

Hacker News5
Mi
Mineo.app – Better Python Notebooks67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mineo.app – Better Python Notebooks

Hacker News60
WA
WASM-powered codespaces for Python notebooks on GitHub89%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

WASM-powered codespaces for Python notebooks on GitHub

Hacker News204
Co
Convert Python Notebooks to Web Apps74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Convert Python Notebooks to Web Apps

Hacker News2
Py
Python CLI for the HNSearch API51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Python CLI for the HNSearch API

Hacker News8
Ob
Observable Notebooks67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Observable Notebooks

Hacker News654