Skip to main content

A Task automation tool for competitive programmers

Project description

Egor

Build Status

Description

  • as most Competitive programmers don't have the luxuary of using IDE's such as intellij to benifit from the CHelper tool (maybe because they don't like the added overhead of IDE's or the prefere eclipse or, as most of the people i know, they use C++, parsing tasks can become tedious, and here where egor can help, by providing a simple cli for parsing and running your tasks.

Usage

  • Just install egor by doing pip install egor
  • You should also install (if you don't already have it) Competitive companion
  • And voila, you can start using it as any other command line app, just type egor to see the help, and there is help for every subcommand provided by egor

Egor Command

  • Open a codeforces or a spoj problem, run egor task parse and press the plus button of Competitive companion, a new directory with the name of task will be generated, with the input and output files, and a sample source file.
  • When you write the solution for your problem you can type egor task test to test your solution against the provided sample input. Egor Test
  • You can run egor task copy to copy the source code of your solution to the clipboard
  • The location of the configuration file to configure some default values is ${home_dir}/.egor/configuration and it's in the reStructuredText format,This is sample fo a configuration file:
    [egor]
    egor_port = 6174
    egor_default_lang=cpp

    [core]
    first_run = yes
  • in doubt you can always run egor task -h to see the help of commands. Egor Help

Developer guide

  • You should have pip installed
  • Clone the current repository, and run pip install -e . to have a version of 'egor' installed in your machine so you can test it
  • Unit testing is important, any added feature should be associated with a unit/integration test
  • At least one reviewer should see your code before merging to master.

Contribution

  • You can contribute to the project by raising issues, writing tests, suggesting features, and making pull requests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

egor-1.0.1.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

egor-1.0.1-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file egor-1.0.1.tar.gz.

File metadata

  • Download URL: egor-1.0.1.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.17.3 setuptools/36.2.7 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for egor-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3b0e2c9a5c0940cd02ed351050ae930c40158efb2c9437271cc51735809952c2
MD5 bb8215dcb558874f6e5a26c9aa00ee8b
BLAKE2b-256 5416c3ce110b300fa064bbb8e041525c952ea878ac0c6bb7a81a1b9471fec86f

See more details on using hashes here.

File details

Details for the file egor-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: egor-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.17.3 setuptools/36.2.7 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for egor-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c03cd5d8350c62156a6a870bb1879da20a53c21f7b3536912fabae47bb633129
MD5 f455535dca36b5e00e85f675a44788f3
BLAKE2b-256 55bbd27249008c89da8984a92a43441abbb56b44d49fa84270383c85119f9f45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page