Notebooks was an experiment in running interactive Python against the Cloudflare API, right from your browser.
We're winding it down on August 1, 2026, after which notebooks.cloudflare.com
will go offline. Thank you for playing along.
The example notebooks will remain on GitHub.
You can find us on Discord.
These examples demonstrate how to use the Cloudflare API within interactive Python notebooks. They cover a number of relatively simple tasks, from analysing logs to writing billing reports, storing files in R2, or querying D1 databases. They aren't meant as complete solutions, but rather as starting points for your own ideas and explorations.
Each one of these notebooks is served from Cloudflare Workers and runs entirely within your browser, powered by Marimo (you can learn more about it at marimo.io and pyodide.org). If you wish to run heavier tasks, you may want to consider running them as an application instead.
See our open source repository on GitHub to learn more, contribute, and submit feedback!
If you have any questions, feel free to join our Discord server.