Skip to main content

Build Publish Version Version codecov License: MIT PyPI - Downloads

codingame-submit

A tool to analyze the results of your submits in codingame competitions and save a lot of time.

It will automatically:

  • retrieve all the games you lost by timeout (code too slow, or runtime error). Fixing these issues should always be your number 1 priority.
  • sort the game you lost by biggest score difference. This way you can easily focus on the games you totally lost as there might be some cases you don't handle properly or you have bugs.

Installation

pip install cgsubmit

or to update to the latest version:

pip install cgsubmit -U

Usage

Getting your test session handle

This token is linked to your session and game you are playing. To retrieve it:

  1. open the IDE of the game you are playing in your browser (for example https://www.codingame.com/ide/puzzle/spring-challenge-2023-ants)
  2. open the Developer Tools (F12)
  3. look for one of this queries and get the handle value:

Run

python -m cgsubmit -t your-test-session-handle

or for a most advanced usage use -h option to get the description of all parameters:

python -m cgsubmit -h
usage: cgsubmit [-h] -t TOKEN [--noreplay] [--noelo]

Analyse your submit in codingame competitions.

options:
  -h, --help            show this help message and exit
  -t TOKEN, --testsessionhandle TOKEN
                        The test session handle. If you don't know how to get it, look at the doc: https://github.com/FrequentlyMissedDeadlines/cgsubmit
  --noreplay            Remove replay URLs.
  --noelo               Remove opponent rank.

Known issues

If you are using git bash to run the command you might see this kind of error: 'charmap' codec can't encode character '\u274c' in position 0: character maps to <undefined>

You must go to the settings and set the encoding to UTF-8:

Metadata

Release files for cgsubmit 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cgsubmit 1.2.2
File Size Uploaded Provenance Actions
cgsubmit-1.2.2.tar.gz 6.0 kB Without provenance Details for cgsubmit-1.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cgsubmit 1.2.2
File Interpreter ABI Platform Actions
cgsubmit-1.2.2-py3-none-any.whl Python 3 none any Details for cgsubmit-1.2.2-py3-none-any.whl

Total release size: 12.4 kB

Release files / cgsubmit-1.2.2.tar.gz

Download URL cgsubmit-1.2.2.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ceed0580c0fced1cddc45d57b33280ac7a034c835a3cc370e2e5b04deb3f42f9
BLAKE2b-256 checksum
How to use checksums
0922caabcd0100e4ada202ea8ac9b6866854de2d7b116c6b6784f3bab7ca33c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / cgsubmit-1.2.2-py3-none-any.whl

Download URL cgsubmit-1.2.2-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
437a14d3a83a3757d86fbeb349012c785693d7597f64622babf7a766cbdcb73b
BLAKE2b-256 checksum
How to use checksums
2b9c9d30782d4e982ed141c98bf89c7eba664c561303d6e1e1d38d60f0ec6864
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Security for cgsubmit 1.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page