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

This document is an overview of the tool. For complete details, refer to the documentation.

About

A command-line tool to automate your competitive programming workflow without cluttering your workspace with testcase 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 testcase data from an online judge, you will need competitive companion browser extension.

Features

  1. Fetch testcase data from an online judge.
  2. Compile (if applicable) and run source code against predefined or randomly generated testcases.
  3. Add your testcases to run your code on or enter the testcase 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-2.0.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

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

cppt-2.0.0-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cppt-2.0.0.tar.gz
Algorithm Hash digest
SHA256 dfcc523b14a175b85f37d87f8aca6a6e29c964b66b037335f1619c53e061f9f8
MD5 eeb59876f3e7babe3feab4037f7cae14
BLAKE2b-256 5c3f2b22c355a2850acae7f8ea81ac3a8ba0bef19d0d22050c92b1119a28a888

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for cppt-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23a57d1f66aa4b11621a8196fa5d6316f6fba2ca185bcbf97460388691cb1999
MD5 0ff5395c534b63511108b4c4ae527416
BLAKE2b-256 9b754ed10a33c2e763175acc597d80c061d9b905d77ea60f2b9c4b9c7650a3bc

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