Python CLI for Compiling Jupyter Notebooks into FastAPI Apps
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 cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Puppy – CLI for managing Python environments and notebooks
Black-nb - a simple python cli for linting Jupyter notebooks
Learn Evolutionary Algorithms with Python Notebooks
I Wrote a Book on Evolutionary Algorithms with Python Notebooks
Colorful CLI Spinners with Python
Mineo.app – Better Python Notebooks
WASM-powered codespaces for Python notebooks on GitHub
Convert Python Notebooks to Web Apps
Python CLI for the HNSearch API
Observable Notebooks