Skip to main content

Some helpful codePost tools to aid with grading flow.

Project description

Documentation Status

Some helpful codePost tools to aid with grading flow using the codePost SDK!

These tools were originally created to support the grading process for COS126, the introductory Computer Science course at Princeton University.


The documentation can be found here.


$ pip install codepost-powertools


Please see the documentation for a more detailed description of the usage.

You should have a dedicated folder for the usage of these tools, since it requires an input config file and outputs files for certain commands / functions. It is recommended to use a virtual environment for this:

$ python -m venv env
$ source env/bin/activate
(env) $ python -m pip install codepost-powertools
(env) $ cptools --help
(env) $ python

By default, the package will look for a configuration file called config.yaml that contains a field "api_key" for your codePost API key. See this page for instructions on how to access your codePost API key, as well as more information on the config YAML file. You must have admin access to all the courses you wish to access with this package.

Command Line Usage

You can access the command-line interface with the cptools command:

$ cptools --help

Usage: cptools [OPTIONS] COMMAND [ARGS]...

  The `codepost_powertools` package on the command line.

Please see the CLI documentation for more information.

Script Usage

You can import the package in a script:

import codepost_powertools as cptools

# Log in to codePost

# Call methods

Please see the “Writing Scripts” documentation for more information.

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

codepost_powertools-0.1.0.tar.gz (15.0 kB view hashes)

Uploaded source

Built Distribution

codepost_powertools-0.1.0-py3-none-any.whl (18.3 kB view hashes)

Uploaded py3

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