Skip to main content

Handling submission of code to Udacity for automatic feedback

Project description

==============
nelson
==============

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.


Examples
---------

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

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

submit(course, quiz, filenames)

if __name__ == '__main__':
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:
helloworld.c

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

Waiting for results...Done!

Results:
--------
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.

Source Distribution

nelson-0.4.3.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

nelson-0.4.3-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file nelson-0.4.3.tar.gz.

File metadata

  • Download URL: nelson-0.4.3.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.2 setuptools/36.2.7 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/3.5.2

File hashes

Hashes for nelson-0.4.3.tar.gz
Algorithm Hash digest
SHA256 8f9752708677e29d38a2439076becaff1385562935a57050eb0d67f9ebdd7ae8
MD5 2e0751e6fdbc5ae28c26560223de83c3
BLAKE2b-256 8ff42fc481063ae2a1371afbf921979106fd7839b96abda6911f6ea509cfd39f

See more details on using hashes here.

File details

Details for the file nelson-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: nelson-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.2 setuptools/36.2.7 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/3.5.2

File hashes

Hashes for nelson-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 760077f737086a78be6cf311ada26100365911c9a7261d3eaed219785fe60156
MD5 2bae724666a6c3fd32b170abe1bafcda
BLAKE2b-256 9796f155f41f335fc168ed4fb03cd1095acaab321abf7d550d5352e8da236854

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page