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.1.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.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for catcoder_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dbfc496cb408597caa54fe834612922fc61645f74e5b7cc53cdb29fcb0be1334
MD5 e272d6bc1f5f2d66c7dc1053834ebc1e
BLAKE2b-256 2e5db2e0e4ee095544d784d275b99b5e35978d6de8cb92fbf4f1fe7683081d55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for catcoder_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f05e4cb60f78b70a9fd8a18b8f2dfb319a2787afaadc1e988280c2f8bc3a4ab
MD5 907dd49958dacf6bc72d016fcdece924
BLAKE2b-256 6fe7d918f7770e9cd3b022e5302fcb4d9c87eca933952c4a7b27fdcc252e222a

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