Naas Documentation
Naas.ai
GitHub
Slack Community
What's new?
Search…
Welcome to Naas
😎
Templates
🔄
Low-code features
🏎
Low-code drivers
💬
AI/Machine Learning
Airtable
Awesome-notebooks
Bubble
Canny
CityFalcon
FTP
HTML builder
Google Sheets
Healthchecks
Hubspot
IFTTT
Integromat
Mailbox
Jupyter
LinkedIn
Markdown
Microsoft Teams
MongoDB
NewsAPI
Notion
PDF
Plotly
Slack
Thinkific
Toucan
Qonto
Yahoo
Zapier
🌎
Community
Essentials
Advanced
Best Practices
FAQ
⚡
Naas manager
🔐
Security
Powered By
GitBook
Jupyter
Interact with Jupyter app
Project Jupyter
Website
Connect
You must Connect before any other methods
You should get your token here :
In Naas cloud you can connect without any argument it will find your token alone
https://app.naas.ai/hub/token
app.naas.ai
Connect to Jupyter instance
1
token
=
"*****"
2
jp
=
naas_drivers
.
jupyter
.
connect
(
token
)
Copied!
Get info
Get my profile
1
me
=
jp
.
get_me
()
Copied!
🔑 Admin
Only Naas admin can do it.
Get Users
1
users
=
jp
.
get_users
()
Copied!
Get one User
1
email
=
"
[email protected]
"
2
user
=
jp
.
get_user
(
email
)
Copied!
Create
1
email
=
"
[email protected]
"
2
password
=
"****"
3
user
=
jp
.
create_user
(
email
,
password
)
Copied!
Get Authorize
Get one Authorization for user.
1
email
=
"
[email protected]
"
2
is_authorize
=
jp
.
get_authorize_user
(
email
)
Copied!
Authorize
Authorize one user.
1
email
=
"
[email protected]
"
2
is_authorize
=
True
3
user
=
jp
.
change_authorize_user
(
email
,
is_authorize
)
Copied!
Active
check if user has running server
1
email
=
"
[email protected]
"
2
active
=
jp
.
is_user_active
(
email
)
Copied!
Change password
change password of one user
1
email
=
"
[email protected]
"
2
newPassowrd
=
"*****"
3
user
=
jp
.
change_password_user
(
email
,
newPassowrd
)
Copied!
Server uptime
1
email
=
"
[email protected]
"
2
uptime
=
jp
.
get_server_uptime
(
email
)
Copied!
Stop user
1
email
=
"
[email protected]
"
2
jp
.
stop_user
(
email
)
Copied!
Start user
1
email
=
"
[email protected]
"
2
jp
.
start_user
(
email
)
Copied!
Restart user
1
email
=
"
[email protected]
"
2
jp
.
restart_user
(
email
)
Copied!
Official documentation
Using JupyterHub’s REST API — JupyterHub 2.1.1 documentation
Previous
Mailbox
Next
LinkedIn
Copy link
Edit on GitHub
Contents
Connect
Connect to Jupyter instance
Get info
Get my profile
🔑 Admin
Get Users
Get one User
Create
Get Authorize
Authorize
Active
Change password
Server uptime
Stop user
Start user
Restart user
Official documentation