Skip to main content

Command line interface for Codeforces

Project description

Codeforces-cli

Python package

This package lets you show data for various methods in tabular format in your terminal.

These following methods you can run:

  • blogEntry.comments
  • blogEntry.view
  • contest.hacks
  • contest.list
  • contest.ratingChanges
  • contest.status
  • problemset.problems
  • problemset.recentStatus
  • user.blogEntries
  • user.info
  • user.rating
  • user.status

How to install ?

pip install codeforces-cli

How to use ?

python -m codeforces [method name] [required parameter with value] [optional paramters with value]

Example:

To get details of contest status.

`

python -m codeforces --contest-status --constestId 566 --handle Gellertke --from 1 --count 10 `

or

python -m codeforces -cs -cid 566 -h Gellertke -f 1 -c 10

Output

image

For help

python -m codeforces --help

or

python -m codeforces -h

image

Package required:

  • beautifulsoup4
  • requests
  • tabulate

Thanks for Installing!

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codeforces-cli-1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

codeforces_cli-1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file codeforces-cli-1.0.tar.gz.

File metadata

  • Download URL: codeforces-cli-1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for codeforces-cli-1.0.tar.gz
Algorithm Hash digest
SHA256 b116b249c7a0a29782733601ff4a69ebc7864eeb5d766067f32118c602445bf8
MD5 f203f9895c21dd51d808696e0db915be
BLAKE2b-256 e0b72ebabe6e9e29ed583d57bdb1f7f86a4c4a07a12d040d73f9945c25ca64cb

See more details on using hashes here.

File details

Details for the file codeforces_cli-1.0-py3-none-any.whl.

File metadata

  • Download URL: codeforces_cli-1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for codeforces_cli-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eab26c819e2a2c0cf792845fb215d84a0eb148ed1c91dd10ba8723415f87425c
MD5 ca3192366f847bcef90e56b2603158f6
BLAKE2b-256 83e489f303cd8c678d7704df6ea9f3f5adf43e83a7d7918b66e64e0d2c8d02df

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