Metadata-Version: 2.4
Name: cses-cli
Version: 0.1.1
Summary: Add your description here
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4>=4.14.3
Requires-Dist: requests>=2.34.2

# 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

```bash
pip install cses-cli
```

## First Time Setup 
```bash
cs setup
```

## Submitting any codefile for any problem set
Just copy the problem set url : eg.
`https://cses.fi/problemset/view/1133/` from cses.
```bash
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`
