The katt package
- 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
- Exposed modules use unallocated top-level names: Utils
Unofficial CLI client for the Kattis online judge system (currently in BETA).
Written in a git-like fashion, it supports automatic downloading of test cases, easy submissions, and more.
Basically a problem is initialized as follows (creates a directory and downloads any available test cases):
> katt init hello > cd hello
Source files, problem names, and language identification is handled automatically when submitting solutions:
> vim hello.java > katt submit Made submission 4712 Accepted: 1 of 1 test(s) passed
There is also built-in support for problem sessions, which initalizes all problems in the problem list.
Get started by downloading a .kattisrc config from the official site, make sure you have the haskell platform installed, then run cabal install katt.
Please note that the beta release is limited to C, C++, Java, and Haskell. It also only supports running on unix.
Changes since last release:
Support for Haskell submissions
HTTP client replaced with wreq
Improved code readability
|Versions||0.1.0.0, 0.2.0.0, 0.2.0.1, 0.2.0.3, 0.2.0.3|
|Dependencies||aeson (>=0.7.0.6 && <0.8), base (>=4.5 && <4.7), bytestring (>=0.9.2.1 && <0.11), ConfigFile (==1.1.*), containers (>=0.4.2.1 && <0.6), directory (>=184.108.40.206 && <1.3), errors (==1.4.*), filepath (==1.3.*), katt, lens (>=4.1 && <4.3), mtl (>=2.0 && <2.2), parsec (>=3.1.5 && <3.2), text (>=0.11 && <1.2), url (==2.1.*), wreq (==0.1.*), zip-archive (>=0.1 && <0.3) [details]|
|Source repository||head: git clone https://github.com/davnils/katt.git|
|Uploaded||Fri Jun 13 23:53:02 UTC 2014 by DavidNilsson|
For package maintainers and hackage trustees