Get Started
These Docs will help you get started with Naas quickly, guide you through advanced features, and explain the core concepts that make Naas unique.
This documentation is in
beta
. It may change frequently. To propose changes or enhancements, please create a GitHub Issue. Notebooks as a service (Naas) is an open source platform that allows anyone touching data (analysts, scientists and engineers) to create powerful data solutions combining automation, analytics and AI from the comfort of their Jupyter notebooks.
Naas is an alternative to Google Colab, with superpowers.
The platform upgrades notebooks with 3 low-code layers to get things done faster: features, drivers, and templates.
Naas cloud is the fastest and easiest way to get you started!
Try all of Naas's features for free using Naas cloud a stable environment, without having to install anything.
The easiest way to go is simply to find the right template for you.
Naas creates a dynamic production environment for your Notebooks. Each time you run the following formulas in a notebook, it will be sent into the "⚡️ → Production" folder" for execution.
To get started, create a folder, open a notebook, and import Naas :
import naas
Send in production this notebook and run it, every day at 9:00
naas.scheduler.add(cron="0 9 * * *")
Send in production any file type like
test.csv
as a dependency:naas.dependency.add("test.csv")
Copy in production any secret key :
naas.secret.add(name="API_NAME", secret="API_KEY")
Remove the previous line and get your secret key with :
naas.secret.get(name="MY_API_KEY")
This allows you to push your notebook in production without sensitive data getting exposed.
Copy in production this notebook and allow to run it by calling the returned URL:
naas.webhook.add()
Call the URL with your navigator you will get a message and see the notebook has run.
If you want to download the notebook result instead, add this line:
naas.webhook.respond_notebook()
Copy in production this asset ( file ) and allow to get it by calling the returned url:
link = naas.assets.add("tesla-chart.html")
Send an email notification to anyone, to notify about data changes, alert on notebooks operations, etc...
# Get link var from previous step
email = "[email protected]"
subject = "The tesla action is going up"
content = "check in the link the chart data maide from fresh dataset : " + link
naas.notifications.send(email=email, subject=subject, content=content)
If at any time you are lost, you need help, or just want some info!
import naas
naas.open_help()
That will open a chat box with us
import naas
naas.close_help()
Show a button to quickly open this documentation from Jupyter
import naas
naas.doc()
We value all kinds of contributions - not just code. We are particularly motivated to support new contributors and people who are looking to learn and develop their skills.
You can reach out to us through the following channels:
Last modified 6mo ago