Skip to main content

Kattis CLI - Easily download, test and submit kattis problems

Project description

Kattis kitten

Repo size PyPI version

Kattis CLI - Easily download, test and submit kattis problems


  Simple CLI for downloading and testing kattis problems

  --help  Show this message and exit.

  get       This command downloads a kattis problem and test files
  problems  Simply opens 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


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...
1 1/1
2 1/3
3 5/2
4 2178309/1346269
5 1/10000000

Hello world!

1 1/2
2 3/2
3 2/5
4 1346269/1860498
5 10000000/9999999


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

Project details

Download files

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

Files for kattiskitten, version 0.7.0
Filename, size File type Python version Upload date Hashes
Filename, size kattiskitten-0.7.0-py3-none-any.whl (9.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size kattiskitten-0.7.0.tar.gz (7.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page