cppt-2.0.0
توضیحات
Command line tool to automate your competitive programming workflow without cluttering your workspace with testcase data
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cppt-2.0.0 |
| نام | cppt |
| نسخه کتابخانه | 2.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Vishal Agrawal |
| ایمیل نویسنده | vishalagrawalva22@gmail.com |
| آدرس صفحه اصلی | https://github.com/vishalagrawal22/CPPT |
| آدرس اینترنتی | https://pypi.org/project/cppt/ |
| مجوز | - |
# 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`
نیازمندی
| مقدار | نام |
|---|---|
| - | click |
| - | pyyaml |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl cppt-2.0.0:
pip install cppt-2.0.0.whl
نصب پکیج tar.gz cppt-2.0.0:
pip install cppt-2.0.0.tar.gz