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 coach to manage Codeforces group easier.

Features

  • Managing member in a group (confirming or removing by Regex)
  • Managing contest in a group
  • Crawling informations, standings, submission in a contest to csv format
  • Checking plagiarism in 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 functions of conmato requires login before performing. Usually, Conmato will ask on each action. You can login once and save session for future usages by:

conmato login

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 this project, feel free to create pull request here. We appreciate any contribution in community.

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.1.tar.gz (20.4 kB view details)

Uploaded Source

Built Distributions

conmato-0.0.1-py3.9.egg (53.2 kB view details)

Uploaded Source

conmato-0.0.1-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: conmato-0.0.1.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for conmato-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5b5e31ded18bf9c5ef12272b26831df4c5bd4624b2bc446d8e2335981ab80e81
MD5 61444274d2261bb08660c69376e2ca97
BLAKE2b-256 dfab604e32b6699b41508602f7a4e77d0e90f085bbc812311c353e31d037b500

See more details on using hashes here.

File details

Details for the file conmato-0.0.1-py3.9.egg.

File metadata

  • Download URL: conmato-0.0.1-py3.9.egg
  • Upload date:
  • Size: 53.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for conmato-0.0.1-py3.9.egg
Algorithm Hash digest
SHA256 7d1c2274b238d220041a3fbc0b46d97a0a387580775b741cc8e61c4945b079e6
MD5 ccc01345a5652649148b9828873b3834
BLAKE2b-256 5f7494f4c69df21b51e61a9c79d74cfebd4c3a7537b73e6ef46fe0dedb349858

See more details on using hashes here.

File details

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

File metadata

  • Download URL: conmato-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for conmato-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b179ac9013d4a9352f1b4c5c93a49730980039ee2eb5d734aea1153aeae2816
MD5 3a88652eca722bbb0ebe36fd6756be11
BLAKE2b-256 c3b98c963b93b8f0cd603332dcd3f2b24735e679bfb6152c57f72d16dc873d6b

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