Skip to main content

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

  1. Make sure you have an activated virtual environment.
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

check11-0.1.1.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

check11-0.1.1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file check11-0.1.1.tar.gz.

File metadata

  • Download URL: check11-0.1.1.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for check11-0.1.1.tar.gz
Algorithm Hash digest
SHA256 39d19923c0885dd7edf377ba0950494eab6fa77a283d94f99c4e356718f0a4dc
MD5 204a7a9a79ff41317d3d869c9b3e966d
BLAKE2b-256 28779b915c0ed4576da4f2ccb763b37a149ec3d1c7c9dd29c82edb55e56cb06b

See more details on using hashes here.

File details

Details for the file check11-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: check11-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for check11-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e2d9ef4a52907da565fb245b8c2687036b73e1401a783c5db0bb312490ddb0e
MD5 309e000303816833895a55f9aea6aa7b
BLAKE2b-256 77a480953a379deba0b6f78a447f8edd503f80540de0fd0e370bcb863ffdf696

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