Skip to main content

Conmato

A Command Line Interface (CLI) for Codeforces Management Tools that helps coaches to manage Codeforces groups easier.

Features

  • Managing members in a group (confirming or removing by Regex)
  • Managing contests in a group
  • Crawling informations, standings, submissions in a contest to csv format
  • Checking plagiarism in a contest

To see more, check the following docs

Installation

It requires python>=3.6. To install:

python3 -m pip install conmato

Usage

You can see document by passing --help argument in each command

conmato --help

Usage: conmato [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  config      Config command.
  contest     Contest commands.
  get         Get commands.
  login       Login command.
  member      Member commands.
  plagiarism  Plagiarism commands.
conmato get --help

Usage: conmato get [OPTIONS] COMMAND [ARGS]...

  Get commands.

Options:
  --help  Show this message and exit.

Commands:
  contest     Get all standing and submission in a contest.
  member      Get members in a group.
  pstandings  Get all standing with plagiarism in a contest.
  standings   Get standing in a contest.
  submission  Get all submission in a contest.
  username    Get this logged username.
conmato get standings --help

Usage: conmato get standings [OPTIONS]

Get standing in a contest.

Options:
-g, --group-id TEXT     Group id in Codeforces.com.
-c, --contest-id TEXT   Contest id in Codeforces.com.  [required]
-f, --user-format TEXT  User format.
-cm, --common           Flag for getting all participants (group outter
                        included).

-o, --output-dir TEXT   Output directory.
--help                  Show this message and exit.

Almost all functions of Conmato require a manager account logging in before performing. Usually, Conmato will ask on each action. You can log in once and save the session for future uses by:

conmato login

For example, to get standings in a contest (e.x. http://codeforces.com/group/Ir5CI6f3FD/contest/269185/standings/groupmates/true), you have to pass group_id (e.x. Ir5CI6f3FD) and contest_id (e.x. 269185)

conmato get standings -g Ir5CI6f3FD -c 269185

For more detail, check this doc.

Issues and Contribution

This project is in development, if you find any issues, please create an issue here.

If you are interested in contributing to this project, feel free to create a pull request here. We appreciate all your contributions.

Acknowledgement

This project is sponsored and led by Prof. Do Phan Thuan, Hanoi University of Science and Technology. Thank Thai Do (Dec1mo) and Tung Tran (tungtran309) for helping me to develop this project.

Metadata

Release files for conmato 0.0.4

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

Source distribution (sdist)

Source distribution for conmato 0.0.4
File Size Uploaded Provenance Actions
conmato-0.0.4.tar.gz 21.4 kB Without provenance Details for conmato-0.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 46.4 kB

Release files / conmato-0.0.4.tar.gz

Download URL conmato-0.0.4.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ffbcae137c7f36f249a6a6d5fd39d193df07fda090ada29907425d9fe2c6c9bd
BLAKE2b-256 checksum
How to use checksums
edb91e8ce9ae8fa714160c434582e7cdbd045e7a75e61becb6ceda8f434f7361
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.12

Release files / conmato-0.0.4-py3-none-any.whl

Download URL conmato-0.0.4-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73a9a105336b84221b5ce817fc41df2a985a42922b3210f18ceac5237fcafd9e
BLAKE2b-256 checksum
How to use checksums
c4d6c98eebc5054444f96e470619b820c31188cea7baf1974aa14f8600de4669
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.12

Security for conmato 0.0.4

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