Skip to main content

prog_edu_assistant_tools

Tools to create autogradeable assignments in Jupyter notebooks. See the documentation in https://github.com/google/prog-edu-assistant to get started with the autograder.

This package contains a few functions that makes authoring programming assignments in Jupyter more convenient, including the following:

  • A summarizing test runner to run unit tests
  • A function that can run a unit test directly in the Jupyter notebook

The intention of this package is to hide all the smarts of having a complete master notebook capable of complete auto-testing behind nice and readable names that can be imported rather than reimplemented in every master notebook.

How to build this package

source ../../../venv/bin/activate
python setup.py bdist_wheel sdist

How to push this package to PyPI

pip install --upgrade twine
python setup.py bdist_wheel sdist
python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

How to install this package locally

pip install dist/prog_edu_assistant_tools-0.3.1-py3-none-any.whl

If you are a developer and want to reinstall the package, use the following:

pip install --ignore-installed dist/prog_edu_assistant_tools-0.3.1-py3-none-any.whl

How to use this package in master notebooks.

Here are some useful snippets for your master assignment notebooks:

from prog_edu_assistant_tools.summary_test_result import SummaryTestResult
from prog_edu_assistant_tools.magics import autotest, report

# Loads %%solution, %%submission, %%template
%load_ext prog_edu_assistant_tools.magics

Metadata

Release files for prog-edu-assistant-tools 0.3.1

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

Source distribution (sdist)

Source distribution for prog-edu-assistant-tools 0.3.1
File Size Uploaded Provenance Actions
prog_edu_assistant_tools-0.3.1.tar.gz 14.6 kB Without provenance Details for prog_edu_assistant_tools-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for prog-edu-assistant-tools 0.3.1
File Interpreter ABI Platform Actions
prog_edu_assistant_tools-0.3.1-py3-none-any.whl Python 3 none any Details for prog_edu_assistant_tools-0.3.1-py3-none-any.whl

Total release size: 30.6 kB

Release files / prog_edu_assistant_tools-0.3.1.tar.gz

Download URL prog_edu_assistant_tools-0.3.1.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bc12842df86dd40ec6f029d79ae6d1caa52ff2531537a2775484e3f12e771ac4
BLAKE2b-256 checksum
How to use checksums
06059892494a9d5c9b858fbac3a87fcc41b3638ef71c523d0c808d350aaf1843
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

Release files / prog_edu_assistant_tools-0.3.1-py3-none-any.whl

Download URL prog_edu_assistant_tools-0.3.1-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
567783d8f1bc3684c4a3e0bc91e92269eeddc59cbf0fa14407a2f6087c41beda
BLAKE2b-256 checksum
How to use checksums
71a89d154535605c8e060e751b51e1b13dbadfcbc4e4a54aba740137d867c6cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

Security for prog-edu-assistant-tools 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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