All Projects â†’ endiliey â†’ Idne

endiliey / Idne

💎 Codeforces submit command line tool

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Idne

webargs-starlette
Declarative request parsing and validation for Starlette with webargs
Stars: ✭ 36 (-44.62%)
Mutual labels:  parsing, request
Core
🌎 Utility package containing tools for byte manipulation, Codable, OS APIs, and debugging.
Stars: ✭ 62 (-4.62%)
Mutual labels:  parsing
Frisbee
🐕 Modern fetch-based alternative to axios/superagent/request. Great for React Native.
Stars: ✭ 1,038 (+1496.92%)
Mutual labels:  request
Fable.simplehttp
Http with Fable, made simple.
Stars: ✭ 57 (-12.31%)
Mutual labels:  request
Redux Query
A library for managing network state in Redux
Stars: ✭ 1,055 (+1523.08%)
Mutual labels:  request
Alagarr
🦍 Alagarr is a request-response helper library that removes the boilerplate from your Node.js (AWS Lambda) serverless functions and helps make your code portable.
Stars: ✭ 58 (-10.77%)
Mutual labels:  request
Lug
Parsing expression grammar (PEG) embedded domain specific language and parsing machine for C++17
Stars: ✭ 44 (-32.31%)
Mutual labels:  parsing
Formula Parser
Parsing and evaluating mathematical formulas given as strings.
Stars: ✭ 62 (-4.62%)
Mutual labels:  parsing
Neuralamr
Sequence-to-sequence models for AMR parsing and generation
Stars: ✭ 60 (-7.69%)
Mutual labels:  parsing
Lazyjson
A very fast, very lazy JSON parser for Java.
Stars: ✭ 55 (-15.38%)
Mutual labels:  parsing
Commons Ip Math
Stars: ✭ 54 (-16.92%)
Mutual labels:  parsing
Plaso
Super timeline all the things
Stars: ✭ 1,055 (+1523.08%)
Mutual labels:  parsing
3bmd
markdown processor in CL using esrap parser
Stars: ✭ 58 (-10.77%)
Mutual labels:  parsing
Pyparsing
Python library for creating PEG parsers
Stars: ✭ 1,052 (+1518.46%)
Mutual labels:  parsing
Meta
A DSL parsing library for human readable text documents
Stars: ✭ 62 (-4.62%)
Mutual labels:  parsing
Oh My Request
🔮 simple request library by java8
Stars: ✭ 44 (-32.31%)
Mutual labels:  request
Creditcard
Creditcard number parsing, validation and information extraction
Stars: ✭ 52 (-20%)
Mutual labels:  parsing
Mustache
Mustache templating language in Go
Stars: ✭ 57 (-12.31%)
Mutual labels:  parsing
Wx Queue Request
控制微信小程序 wx.request 并发请求数量
Stars: ✭ 65 (+0%)
Mutual labels:  request
Parser Combinators From Scratch
Code that accompanies the series
Stars: ✭ 56 (-13.85%)
Mutual labels:  parsing

idne

A way to submit your solution file to Codeforces through terminal

preview GIF

Installation

Clone the repositories

git clone https://github.com/endiliey/idne.git

Install all required dependencies in an isolated environment

cd idne
python3 -m venv env
source env/bin/activate
pip install --editable .

Go to utils/config.py, then insert your username and password

username = "ababcba" # your codeforces username
password = "asdadas" # your password

Make sure to edit template.cpp as you wish

vim template.cpp

Usage


Example: Solving Codeforces Round #259 (Div. 2)

First, ensure that you have activated the virtualenv Activate virtualenv

source env/bin/activate

Secondly, parse the problem

parse 454

And there will be a folder named 454-c++11, with a subfolder (e.g: A, B, C, D) inside. Assume you are solving problem A

cd 454-c++11/A

Use your favourite text editor and edit A.cpp. I use vim for this example

vim A.cpp

After confident with your solution, you can use ./test.sh to check if your solution passes the sample test

./test.sh

If it passes, you can submit with idne. The format is: idne [problem id] [filename]

idne 454A A.cpp

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].