Giter Site home page Giter Site logo

fritterhoff / livefeedback-hub Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 144 KB

JupyterHub Extension for live feedback

License: BSD 3-Clause "New" or "Revised" License

Python 88.96% HTML 8.81% CSS 0.07% Dockerfile 2.16%
jupyterhub jupyter teaching

livefeedback-hub's Introduction

Live Feedback Extension for JupyterHub

Flake8 and Testing codecov

This package provides a service extension for JupyterHub to collect notebooks from JupyterLab, check them using predefined Otter-Grader checks and saves the results in a database. The results can be used for real time feedback during study courses and to evaluate the knowledge anonymously.

Requirements & Usage

This tool makes use of the grading functionality of Otter-Grader. Therefore, access to a docker daemon is required. In case of hosting JupyterHub inside a docker container you need to pass the docker.sock to this container (e.g. using -v /var/run/docker.sock:/var/run/docker.sock) and /tmp because otter-grader and the tool himself creates plenty of temporary files during execution. An example Dockerfile is provided in this repository installing all required packages for a common configuration containing OAuth authentication, DockerSpawner and the Live Feedback extension.

Furthermore, you must enable the service and provide a location for the (internal) database by setting the environment variable

c.JupyterHub.services = [
    {
        "name": "Feedback",
        "url": "http://127.0.0.1:10102",
        "command": ["livefeedback-hub"],
        "environment": {"SERVICE_DB_URL": "sqlite:////srv/jupyterhub/data.db", "PYTHONUNBUFFERED": "1"},
        "oauth_no_confirm": True
     },
]

livefeedback-hub's People

Contributors

dependabot[bot] avatar fritterhoff avatar

Stargazers

 avatar  avatar

Watchers

 avatar

livefeedback-hub'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.