Skip to main content

Handling submission of code to Udacity for automatic feedback

Project description


Projects for Georgia Tech's OMSCS program or for Udacity's advanced nanodegree programs are typically distributed with project-specific submission scripts that handle the submission to Udacity's advanced automatic feedback service. These scripts typically rely on this underlying library, which contains most of the shared functionality.


This is simple example for GTOMSCS. It submits the file to the quiz named "hello_world" within the course "cs101".
from nelson.gtomscs import submit

def main():
course = 'cs101'
quiz = 'hello_world'
filenames = ['']

submit(course, quiz, filenames)

if __name__ == '__main__':

For Udacity, simply import from ``nelson.udacity`` instead of ``nelson.gtomscs``.

Typical output would be something like
GT Login required.
Username :jbarros7
Password :
Save the jwt?[y,N]y
Submission includes the following files:

Uploading submission...
[=========================== 100% ===========================] 376/376

Waiting for results...Done!

Tests that the code compiles cleanly: 5/5
Tests that the code prints "Hello World!": 5/5

(Details available in helloworld-result-2017-01-04-22-41-22.json)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nelson, version 0.4.3
Filename, size File type Python version Upload date Hashes
Filename, size nelson-0.4.3-py3-none-any.whl (15.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size nelson-0.4.3.tar.gz (9.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page