Git Product home page Git Product logo

naas's Introduction

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:

naas's People

Contributors

riderx avatar actions-user avatar bobcashstory avatar github-actions[bot] avatar dependabot[bot] avatar quentinklebaur avatar dr0p42 avatar gilsonbridge avatar florentlvr avatar imasdekar avatar tomhamiltonstubber avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.