Skip to main content

Add your description here

Project description

CSES CLI

A command-line tool to submit solutions directly to the CSES Problem Set from the terminal.

It handles authentication, CSRF tokens, and submission tracking automatically.


Features

  • Login with persistent session support
  • Submit solutions using a single command
  • Automatic problem ID extraction from URL
  • CSRF token handling
  • Language detection from file extension
  • Submission status tracking
  • Session reuse to avoid repeated login

Installation

pip install cses-cli

First Time Setup

cs setup

Submitting any codefile for any problem set

Just copy the problem set url : eg. https://cses.fi/problemset/view/1133/ from cses.

cs <file_path_with_extension> <problem_set_url>

And Eureka! your code is submitted, it will print error if test cases failed with the error message and if all test cases passed it will succeed

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

cses_cli-0.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

cses_cli-0.1.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file cses_cli-0.1.1.tar.gz.

File metadata

  • Download URL: cses_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for cses_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ebf3ed1994da3c386301422cdabe02af5f81717cef5185818c9d12a8343821a4
MD5 f15cbc40826bd8905b73deee4243120b
BLAKE2b-256 33e076ac2f61d7ae2537485a3e52733c19955d7169231c7fd7bcbc8ed4097992

See more details on using hashes here.

File details

Details for the file cses_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cses_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for cses_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c35a3c97f6059f4e7657ee0a610c6144098fd130cdcbcf8e3bb180f83285301
MD5 67d72e2e2bb9eaa85ee5999ef53b4141
BLAKE2b-256 d1f113dbc6ec6d7d6531d65fcc57c49ade80c2e880fd3c3e10f62b381a78b991

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