Giter Club home page Giter Club logo

jupyter-notebooks's Introduction

Readme for Notebook gRPC API

This is a Notebook gRPC API implemented in Python. It allows users to create, read, update, and delete notebooks, as well as create, read, update, and delete cells within the notebooks. It uses the Notebook protobuf messages and gRPC services to communicate between client and server.

Installation

This project uses poetry for dependency management.

  1. Clone the repository
  2. Make a directory called notebooks inside the project. This will be used to store your (serialized) notebooks.
  3. Install dependencies with poetry install
  4. Set up the database URL in config/db_env.py
  5. Run the server with python server.py

Usage

Once the server is running, you can use the Notebook gRPC API to interact with notebooks and cells. You can use the Notebook gRPC client to interact with the server or use any gRPC client of your choice.

A sample client is given in client.py. Run the client with this command python client.py.

Supported methods

CreateNotebook

Create a new notebook.

GetNotebook

Get an existing notebook by ID.

UpdateNotebook

Update an existing notebook.

DeleteNotebook

Delete an existing notebook.

ListNotebooks

List all existing notebooks.

CreateCell

Create a new cell in a notebook.

GetCell

Get an existing cell by ID.

UpdateCell

Update an existing cell.

DeleteCell

Delete an existing cell.

ExecuteCell

Execute the source code in a cell and return the output.

License

This project is licensed under the MIT License.

jupyter-notebooks's People

Contributors

batra98 avatar

Watchers

 avatar

jupyter-notebooks's Issues

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.