nowfound

Dev tools · September 10, 2023

PC

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 →
  • KA
    Kyso – 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!

  • Jupyter Notebook Scheduler2019 · ▲88

    Run your Jupyter notebooks on a schedule with three clicks

  • MP
    Mercury – 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)…

  • Neptyne2024 · ▲125

    Run Python in Google Sheets

  • RCE-Blog2022 · ▲98

    Jupyter Notebooks for the web

  • FB

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • 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

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, September 2023

the whole month →
  • Loops1,561

    Email made easy

    Dev tools · 2023 · loops.so

  • Tally 2.01,479

    The simplest way to create forms for free

    Dev tools · 2023 · tally.so

  • Klu AI1,466

    Your data, unified and interactive

    AI · 2023 · klu.so

  • FirstHR1,063

    All-in-one HR platform for founders with dreams and teams

    Work · 2023 · firsthr.app

  • DevHunt946

    Open source Product Hunt for dev tools

    Dev tools · 2023 · devhunt.org

  • GenAI app to create personalized content

    AI · 2023 · yarnit.app