CCR
Command line tool for executing programs with input test file and 40+ languages support.
Installing
To install the tool from pip
pip install ccr
To install from source first clone the repo
git clone https://github.com/jigarWala/ccr.git
cd ccr
Than install the requirements
pip install -r requirements.txt
Now install the package by running the following commands
python setup.py build
python setup.py install
Usage
Without using input file
ccr test/test.cpp
With using input file
ccr test/test.py -i test/hello.txt
Note above methods uses extension to detect language
Specifying language explicitly
ccr test/test.py -i test/hello.txt -l python3
Demo
Todo
- Add more online judge clients
- better logging
- better exception handling
- improve cli
Note
For running code on python, preferably use
-l
parameter as python has different version.
Default is python3, if not specifying by
-l
Contributing
Please reach out to me if you wish to contribute to this project
Authors
- Jigar Wala - jigarWala
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT - see the LICENSE file for details