Skip to main content

Scheduler system for notebooks

Project description

GitHub license Bump version Upload Python Package codecov PRs Welcome Maintainability Rating semantic-release Commitizen friendly PyPI

Naas: Notebooks-as-a-service

Schedule notebooks, to automate all your tasks.

Use the power of scripting in the cloud. Whenever you need it (even when you sleep).

  • Schedule your scripts
  • Use Notebooks as API
  • Share assets securely
  • Send emails

Documentation

Gitbooks naas

Issue

If you found a bug or need a new feature go there : https://naas.canny.io/

Try Naas

Using Binder You can try out some of Naas features using the My Binder service.

Click on a link below to try Naas, on a sandbox environment, without having to install anything. Test it in binder (WIP) Binder

Install

pip3 install naas

Install with drivers

pip3 install 'naas[full]'


DEVELOPMENT

Install

it will create and install all dependency in docker machine

./install

Test local server

./install -ro it will run your docker machine only.

if you want to rebuild docker too ./install -r

Then open your browser at the url: http://localhost:8888

enter naas as password

if you want other password ./install.sh -t=mypassword

Api documentation

We have a WIP documentation in swagger.

http://127.0.0.1:5000/swagger/

Livereload

If you do change in naas code, the server will live reload.

If you use naas in a notebook restart the kernel to get the changes.

isolated Manager

open manager outsite of jupyter context :

http://localhost:5000/naas

Run test

Open Jupyterlab click on + to open Launcher Open Shell Go the right directory cd naas Run it in the shell pytest -x to test your code

Each Change you do from your IDE or from jupyter in the Naas folder is live reloaded If you test naas feature inside a notebook reload your kernel between changes. Same for the manager page you have to reload the Page to see the changes. To go faster you can use isolated Manager to reload only manager and not full jupyterlab

Check lint

python -m black naas format better python -m flake8 naas check if any left error

Publish

You can commit from jupyter or from your local IDE, code of Naas is sync between docker machine and your computer

this auto publish by github action on main branch

Supporters:

Sentry Gitbooks Canny

Authors:

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

naas-1.16.1.tar.gz (224.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page