Skip to content

Codeforces CLI for a fast competitive programming experience

License

Notifications You must be signed in to change notification settings

manh9203/Codeforces_CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Codeforces CLI

Introduction

Codeforce CLI provides a command line interface to see information from Codeforces and fast-submit source code through the terminal.

Install

Run

git clone https://github.com/manh9203/Codeforces_CLI.git
cd Codeforces_CLI
pip install .

Then go to the "app" directory in the package's location, or run:

cd $(pip show Codeforces_CLI | sed -n '8p' | cut -b 11-)/app

Next, create a .env file like the following:

CF_KEY=<your client key>
CF_SECRET=<your client secret>
CF_HANDLE=<your codeforces handle>
CF_PASSWORD=<your codeforces password>

Get your key and secret from (https://codeforces.com/settings/api), handle and password are from your Codeforces account.

Usage

ezgif com-video-to-gif (1)

cf + [command]

Supported command:

  contests    Show list of contest

  dashboard   Show contest's dashboard

  standing    Show standing

  submission  Show user's submission

  submit      Submit a problem

  user        Show user's info

  verdict     Show the most recent submission

​Run cf --help to see the help menu

Contribution

Please open an issue if you find any bugs, or have any idea for a feature. Feel free to submit an issue with your feedback!

About

Codeforces CLI for a fast competitive programming experience

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages