Metadata-Version: 2.1
Name: cppt
Version: 2.0.0
Summary: Command line tool to automate your competitive programming workflow without cluttering your workspace with testcase data
Home-page: https://github.com/vishalagrawal22/CPPT
Author: Vishal Agrawal
Author-email: vishalagrawalva22@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# Competitive Programming Practice Tool

This document is an overview of the tool. For complete details, refer to the [documentation](https://vishalagrawal22.github.io/CPPT/).

## 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.

```shell
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](https://github.com/jmerle/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](https://realpython.com/intro-to-pyenv/) and [pipenv](https://realpython.com/pipenv-guide/)

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