Skip to main content

Command line tool to automate your competitive programming workflow without cluttering your workspace with testcase data

Project description

Competitive Programming Practice Tool

A command-line tool to automate your competitive programming workflow without cluttering your workspace with test case data.

Setup Guide

Make sure you have python version >= 3.6 and pip installed. In case you do not know about installing packages in python you can check out https://packaging.python.org/tutorials/installing-packages/.

After getting everything ready, simply type the command pip install cppt to install the tool

After the tool is installed type the command cppt

you should see the following help text.

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

Options:
  -h, --help  Show this message and exit.

Commands:
  compile  compile source code
  config   get location of config file or reset config file
  create   create a task
  fetch    retrieve testcase data from online judge
  run      run code against testcases
  tc       commands related to testcase data
  test     brute force testing

To fetch test case data from an online judge, you will need competitive companion browser extension.

Features

  1. Fetch test case data from an online judge.
  2. Compile (if applied) and run source code against the provided or randomly generated test cases.
  3. Add your test cases to run your code on or enter the test case interactively.
  4. Create a source code file with your saved templates.
  5. Open the source code automatically in your favourite editor

Developer Guide

If you want to experiment with the project you need pyenv and pipenv

  1. clone the repo
  2. cd into the created folder
  3. then use the command pipenv install -e . --dev

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

cppt-1.3.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cppt-1.3.0-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file cppt-1.3.0.tar.gz.

File metadata

  • Download URL: cppt-1.3.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.9

File hashes

Hashes for cppt-1.3.0.tar.gz
Algorithm Hash digest
SHA256 bd617eb83fc50f7fd7fa3bc257ccde6479112bf8a8b96560d691f2e3d983b289
MD5 25403eeb1a8e765c79dc20a979d78c21
BLAKE2b-256 71069bdfc63e2cefd328107041fc492d755e9ee0b14a12ccfd29b1c58c9df0f5

See more details on using hashes here.

File details

Details for the file cppt-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: cppt-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.9

File hashes

Hashes for cppt-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e95708f3519008fc5661b543bf9c1e88ab9dbb1a937b94bae1aa5dec65563eb
MD5 a8b0960f99f3a00d0801de5bf4c5d069
BLAKE2b-256 4bb06e967329adc564fe8a36514370cc4438166eac5c3339ad673e3f35753dee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page