Kattis CLI - Easily download, test and submit kattis problems
Project description
Kattis kitten
Kattis CLI - Easily download, test and submit kattis problems
Usage: kk [OPTIONS] COMMAND [ARGS]...
Simple CLI for downloading and testing kattis problems
Options:
--help Show this message and exit.
Commands:
get This command downloads a kattis problem and test files
problems Simply opens https://open.kattis.com/problems in your webbrowser
submit This command submits a problem to kattis
test This tests a kattis problem using provided test problems
Installation (requires python >= 3.6):
pip3 install kattiskitten
Commands
Download test files.
> kk get rationalsequence
Downloading samples
Samples downloaded to './rationalsequence'
Test the problem
> kk test rationalsequence
👷 Testing rationalsequence...
👷 Language = Python 3 🐍
🔎 Test number 1:
❌ Failed...
__________INPUT____________
5
1 1/1
2 1/3
3 5/2
4 2178309/1346269
5 1/10000000
__________INPUT____________
__________OUTPUT___________
Hello world!
__________OUTPUT___________
__________EXPECTED_________
1 1/2
2 3/2
3 2/5
4 1346269/1860498
5 10000000/9999999
__________EXPECTED_________
Submit solution to kattis
> kk submit rationalsequence
Submission received. Submission ID: 5030066.
* Opens web browser on submission page *
Choose language
The default language is python3. To change language you can use the --language
flag on the get command.
> kk get rationalsequence --language java
Downloading samples
Samples downloaded to './rationalsequence'
The other commands will auto detect which language you have chosen.
Supported languages
- Python3
- Java
- C++
- C
- Contribute by adding more languages! :-)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kattiskitten-0.6.0.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for kattiskitten-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6fea742d2b0227f654922cd0e023082b6ebf1ec07104193016c4c04a74d41f4 |
|
MD5 | dffbc75c4e0714f0af5d9e21c6d8374c |
|
BLAKE2b-256 | 5e0c585cb11388d5e2e022ea7506745d79af9d9edac3aecfb7c3d9e61c167de3 |