Skip to main content

A Command Line Interface for Codeforces Management Tools

Project description

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.

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

conmato-0.0.5.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

conmato-0.0.5-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

Details for the file conmato-0.0.5.tar.gz.

File metadata

  • Download URL: conmato-0.0.5.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for conmato-0.0.5.tar.gz
Algorithm Hash digest
SHA256 4f7e321bc8b02ce6a6417fbf7b3feb637fb293a2b2b9d3b09840449a22f1c347
MD5 818b41d028213db558ecef5f741275dc
BLAKE2b-256 6764eb4cabe56cd708d38263cb3c154cac3615816fad23cce891524f107e8cb7

See more details on using hashes here.

File details

Details for the file conmato-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: conmato-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for conmato-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c0df121b3d923cc2e209fddffe74cc604989249a5e2bd30eba81aae1788bcba1
MD5 2cee629ec9fd4f078a4952939c1f2522
BLAKE2b-256 040840fd6fafaae0ce74bfa48ed3a9b10a3c5449d01a930eff363a1408516e4c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page