Coder Social home page Coder Social logo

e-cp's Introduction

E-CP

A CLI tool with a variety of features to help in practicing competitive programming problems.

Features:

  • Create dedicated folders for a specific problem, with output and expected files
  • Create test sessions for a specific problem
  • Default code template can be added
  • Cpp and Python supported

Getting Started

How to run locally?

  • Install Python with version >= 3.9.13
  • Install virtualenv globally
    pip install virtualenv
    
  • Clone this repository
    git clone https://github.com/ContriHUB/E-CP.git
    
  • Create Virtual Environment
    virtualenv <env_name>
    
  • Activate the environment
    • On Windows, run: <env_name>\Scripts\activate
    • On Linux/Mac, run: source <env_name>/bin/activate
  • Install the dependencies
    pip install -r requirements.txt
    
  • Change directory to E-CP
    cd E-CP
    
  • To install the CLI tool in your local computer (in editable mode). This will use setuptools module to install the cli tool in the current virtual environment. Read more about setuptools and editable mode from here
    pip install --editable .
    
  • Now, you can use the CLI tool in the current environment. Try some commands:
    ecp problem https://codeforces.com/contest/1739/problem/A .
    

Steps to contribute -

  • Fork this repo and clone it to your system.
  • Get the issue assigned to you on the ContriHUB website.
  • Make the required changes. Please keep your changes relevant only to the issue specified.
  • Add your name to CONTRIBUTORS.md.
  • Create a PR with your changes and a detailed description of the changes you have made.
  • Submit the PR link on the ContriHUB website.

Contributors

A list of contributors can be found in CONTRIBUTORS.md.

Maintainer

e-cp's People

Contributors

akstron avatar ashutoshsuthar2020 avatar dadaji18 avatar dna5769 avatar utkarsh1236 avatar

Watchers

 avatar  avatar

e-cp's Issues

Add codechef scraper

Add a web scraper to scrap codechef questions sample input/output, i.e., add support for codechef problems.

Update test time command

Current command 'ecp test time' returns time minutes. Update it to return time in hours if remaining time exceed 59 minutes 59 seconds, with proper formatting.

Support for proxy

Currently the CPI tool does not supports proxy. Add commands to setup and use proxy.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.