Skip to main content

A command-line tool for Kattis

Project description

Kattis-CLI

Kattis CLI - download, test and submit Kattis problems using CLI

Requirements

Installation

pip install kattis-cli
python -m pip install kattis-cli

Kattis configuration

kattis setup

Usage

kattis <command> [options]
kattis --help

Commands

Download a problem sample files and it's metadata

kattis get <problem_id>

Get problem id from URL

Display problem metadata

cd <problem_id>
kattis info

Problem info

Test a solution locally

  • currently only supports Python 3
  • make sure python is in your PATH
  • make sure python files have shebang: !/usr/bin/env python3 as the first line
    • or have extensions .py3
cd <problem_id>
kattis test

Test

Submit a problem

  • see live results right on the terminal
cd <problem_id>
kattis submit

Progress Result

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

kattis_cli-0.1.3.tar.gz (15.1 kB view hashes)

Uploaded Source

Built Distribution

kattis_cli-0.1.3-py3-none-any.whl (19.4 kB view hashes)

Uploaded Python 3

Supported by

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