Skip to content

termicoder/termicoder

 
 

Repository files navigation

Termicoder

Build Status PyPI PyPI PyPI Requirements Status Licence

View, Code, Submit directly from terminal
Made with ❤️ by Divesh Uttamchandani

A python based command line interface for helping in competitive programming. Termicoder aims at automating and simplifying the process of coding, testing and submitting solutions to Online Judges so that one can concentrate only on algorithms

Inspiration behind Termicoder

Installation

User installation

pip install termicoder
use sudo -H if required. preferably use pip3 (python3)

Developer installation

  • clone this repo
  • in the root folder of this repo run
    pip install --editable .
    notice the dot(.) in above command at the end

Note: it is better to use virtualenv and pip3 (python3)

  • to remove this package, in the root folder of the repo run
    python setup.py develop --uninstall

Note: Termicoder is in its alpha stage and has only been tested on Ubuntu + python3. Support for other configurations is being worked on, if you are using some other platform and encounter errors, do create an issue for them. For windows one can also try using Bash on Ubuntu on Windows ; most features have been tested out there and work as expected.

Autocomplete for bash

To setup tab autocompetion for termicoder commands have a look at Autocomplete Setup.

Current Support

Judges Supported Currently:

  1. Iarcs Opc
  2. CodeChef

Languages Supported Currently:

  1. C
  2. C++
  3. Python2/3
  4. Java (is still being worked on)

Highlights

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

  view, code & submit problems directly from terminal.

Commands:
  code    creates file with template code.  
  setup   sets up problem, contests and login.  
  submit  submit a solution.  
  test    test code against the sample testcases.  
  view    view contests, problems and problem statement

Detailed Command Help

For details of a particular command use:

termicoder --help  
termicoder <COMMAND> --help  

or you can have a look at helptext which contains the output of all help commands

Sample Run

For a sample we reccommend going through sample run which contains the details

ChangeLog

ChangeLog and Older Releases are availible under Releases .

Contributing to Termicoder

Termicoder is mostly written in python.
If you are looking towards contributing to the code base, you should begin with reading the following:

You can also contribute otherwise by

  • Improving the Documentation.

    • Most of the documentation lies in the documentation folder. To start fork this repo, change and create a pull request
  • reporting a bug or requesting a feature.

    • Please create an issue about the bug/feature.
  • Giving feedback about the work. (both praise and criticism are equally appreciated).

LICENSE

MIT

Sponsor this project

Packages

 
 
 

Contributors