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.5.tar.gz (224.5 kB view details)

Uploaded Source

File details

Details for the file naas-1.16.5.tar.gz.

File metadata

  • Download URL: naas-1.16.5.tar.gz
  • Upload date:
  • Size: 224.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for naas-1.16.5.tar.gz
Algorithm Hash digest
SHA256 ce14a2101567a08f4fd8a069485cc1a4654f20c6f0e3fa67090fd5aa0ba1b3f3
MD5 dbcdc019f310bc8b535aa068cda5d5d2
BLAKE2b-256 b84b9beceee8c7543742f5c5e6bf962d6cbb5c1c561480ecad48194c9ea4fa21

See more details on using hashes here.

Supported by

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