Some helpful codePost tools to aid with grading flow.
Project description
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.
Documentation
The documentation can be found here.
Installation
$ pip install codepost-powertools
Usage
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 my_script.py
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
cptools.log_in_codepost()
# Call methods
Please see the “Writing Scripts” documentation for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file codepost_powertools-0.1.0.tar.gz
.
File metadata
- Download URL: codepost_powertools-0.1.0.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.10.2 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cb0376c46ca6cbed034d4d79b86f92352e886eb0850a5b9709117c49b79adeb |
|
MD5 | 19319273934c541adc5cee31ba26642a |
|
BLAKE2b-256 | 10a0bf66207d1e61e9c61cd65e8ea68128992a7670a5e5e10fae836dcb3f307e |
File details
Details for the file codepost_powertools-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: codepost_powertools-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.10.2 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcf7ef65fa1ea160c88abd27c9a8a4b4efaa4c2a79fa86cb6738e642e748013a |
|
MD5 | b0e4ed2281dc6a63fa80057f44dd1cbe |
|
BLAKE2b-256 | be6340f778519757ffa4c10bef259bdad5c68c74de441be433a9d0d250988507 |