Skip to main content

A CLI for the Cloudflight Coding Contest

Project description

catcoder-cli

This is a Python package that provides the ccc CLI tool to interact with the Catcoder platform for the Cloudflight Coding Contest.

Installation

pip install catcoder-cli

Usage

  1. Use ccc setup to set up your credentials for CatCoder:
ccc setup <contest_id> <session_cookie> <xsrf_token>

where:

  • contest_id is the ID of the contest you are participating in (can be found in the URL when you access the contest from CatCoder),
  • session_cookie is the value of the SESSION cookie in your browser (can be found using the developer tools),
  • xsrf_token is the value of the XSRF-TOKEN cookie in your browser (can be found using the developer tools) – could be empty, sometimes it's not enabled.
  1. Use ccc gen to start working on a new level of the current contest.

    This will detect the current level you are working on, create a new directory containing the input files and a Python solution template, and open the problem statement in your browser.

  2. Implement your solution and run it to produce the .out files.

  3. Use ccc submit to submit your solutions to CatCoder.

    You will get immediate feedback on whether or not your submissions are accepted.

    You will also be able to upload your code if you want to.

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

catcoder_cli-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

catcoder_cli-0.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file catcoder_cli-0.1.0.tar.gz.

File metadata

  • Download URL: catcoder_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.29

File hashes

Hashes for catcoder_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b89b0443ce64676a1e751646826bc3cb794518388835e784f1fe9e8feb1c1322
MD5 d6a50f3709a1aaf9689c763624350de6
BLAKE2b-256 a005af5302f684cbc0db40df242234b81f3052a0348e5048e6eeec73cf8b4ae2

See more details on using hashes here.

File details

Details for the file catcoder_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for catcoder_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2d54486b971922d2692943b0cd9f0eab0397b294d0f07c4978e84b31cd4ee86
MD5 711b29b7a14dc73520c1fdd1576b3f4d
BLAKE2b-256 f02928569eff724b9cd2cd4e8fb0b1964b4385f59d677b9472c3615cc0378b08

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