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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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