Check11 service for cpnits.com
Project description
Cpnits Check11
Check11 checks Python >= 3.10 code for cpnits.com students.
You need a github account
Check11 relies on a working github in your computer.
Your github alias needs to be added to cpnits.com/check11. Ask your teacher to do that for you.
You can only check11 assignments that come with a check11 command. Your assignment should have a line somewhere mentioning: "Use
check11 assignmentname
to check your solution for proper structure and output."
How to install check11
- Make sure you have an activated virtual environment.
- Pip install check11 with...
pip install check11
How to use check11:
Let's asume that your assignment is called nerdy.
Check11 needs a path to the directory containing the Python files that you want tested.
With an absolute path (starting with /) to the dir containg the python files:
check11 nerdy /absolute/path/to/dir/with/assignment
or with a relative path (a relative path never starts with /):
check11 nerdy relative/path
or by omitting the path and run check11 from the current working directory:
check11 nerdy
For help:
check11 -h
or:
check11 -help
Additional arguments
Additional argument for no traceback in the testreport:
check11 nerdy --t /some/dir
Additional argument for errors only in the test report:
check11 nerdy --e /some/dir
Additional argument for clearing the prompt before printing the test report: :
check11 nerdy --p /some/dir
Combined arguments for no traceback and errors only:
check11 nerdy --et /some/dir
Examples
Example, where nerdy is the name of the assignment (assignment in current dir, errors only, no traceback, clear prompt):
check11 nerdy --etp
Example (assignment in relative dir, clear prompt):
check11 nerdy --p some/dir
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 check11-0.1.0.tar.gz
.
File metadata
- Download URL: check11-0.1.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07fe6ac33ab6a8ef8c8230546a7240599383e2df8f92b9978b8075d6cae6b7fb |
|
MD5 | c6e4adace7fe493f937c0540c4f636d4 |
|
BLAKE2b-256 | 4b3f88ba1cd575e6c55467538bdae66cb1818a744ae0b9f6200b84513e0c1bbe |
File details
Details for the file check11-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: check11-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4562d2bc6cab43c3b8d5d0f0adf4e6ee17d550f57ad8a4fddd850ad9a6db00bd |
|
MD5 | eaa042b81b62f6cc18746253c1be43ad |
|
BLAKE2b-256 | b5c20e6122b71c658cd2f3e04117821e4737f484c20c0c595aa3327336310f15 |