Skip to main content

Real-time Jupyter Code Feedback (beta software)

This project provides a magic command to users of Jupyter Notebook.

The contents of a cell are sent to a remote server at the time of cell execution. This allows teachers in a class to mark certain cells with %postcell magic command and view how their students are performing those exercises in real-time. Instructors can sign up for this service at https://postcell.io

Pre-requisites

This utility is designed to work within Jupyter notebooks.

Installation

pip install postcell

Usage

Since contents of a cell are sent to a remote server, do the following to set up the server:

  1. Go to https://postcell.io to create an account
  2. Create a new class and click Sample config to get configuration information
  3. Create a file called postcell.conf in your project directory and paste the contents of the sample config dialog box. Here is an example:
{
"url" : "https://postcell.io/post_cell",
"student_id" : "TEST_USER",
"instructor_id": "INSTRUCTOR_ID_GENERATED_BY_THE_PROCESS_ABOVE",
"class_id": "PythonForPoets",
"should_send_to_server" : true
}

Load and register the newly created class

%reload_ext postcell
%postcell register

The register command will automatically look for postcell.conf in the directory containing your notebook, or any of the parent directories.

You can also give an explicit config file name as:

%postcell register -config C:\Users\...\custom_postcell.conf

If you prefer not to use a physical config file, you can pass in the following properties:

%postcell register -student_id STUDENT_USER_NAME -instructor_id INSTRUCTOR_ID -class_id python_intro

Submit code

Create a cell and give it an exercise name:

%%postcell TEST_EXERCISE1

1+1

Executing this cell will send the code to a server, where an instructor will be able to view submission in real-time. An instructor can monitor their students' progress, provide real-time feedback and even share the submission screen to show sudents how their classmates solve the same exercise.

Release files for postcell 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for postcell 0.1.4
File Interpreter ABI Platform
postcell-0.1.4-py3-none-any.whl Python 3 none any Details

Release files / postcell-0.1.4-py3-none-any.whl

Download URL postcell-0.1.4-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77983bac8bce1610565590b5b7e70d25e110e8bfaf8a4f49208cadd31c149fae
BLAKE2b-256 checksum
How to use checksums
cc8f18e86493d59380e132b7821f08e80cf82bec5ab4547020a97d1af6b5d8b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page