Skip to main content

Codeforces CLI automation tool built with Typer, Rich, and Playwright.

Project description

cf_cli

Codeforces CLI automation tool built with Typer, Rich, and Playwright.

Install (Public)

After this package is published to PyPI:

pip install cli-codeforces
playwright install chromium

Then use:

cf --help

Browser-Based Login Workflow

This project uses a real Playwright Chromium browser with a persistent profile at .cf_browser_profile. No manual cookie storage and no requests-based login are used for auth.

One-time setup

.\cli_env\Scripts\python -m pip install -r requirement.txt
.\cli_env\Scripts\python -m playwright install chromium

Login

cf_cli login
  • CLI opens a real Chromium window.
  • Log in manually (solve CAPTCHA if shown).
  • On success, CLI prints: Login successful. Session stored.
  • Session is preserved via .cf_browser_profile.

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

cli_codeforces-0.1.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cli_codeforces-0.1.0-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file cli_codeforces-0.1.0.tar.gz.

File metadata

  • Download URL: cli_codeforces-0.1.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for cli_codeforces-0.1.0.tar.gz
Algorithm Hash digest
SHA256 580bfda2657d8ef786c614ce3cb2940c3b99ef4b75231c2da45da14cfe14a7f2
MD5 9d92f70eec212e7fca952261b7accd8a
BLAKE2b-256 b38b88980299d7339dcc712a6bda2bf8834602e432a6b23cf32ea035a09e20a7

See more details on using hashes here.

File details

Details for the file cli_codeforces-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cli_codeforces-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for cli_codeforces-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0732fe89392d985f33aa3828a2318646c12193eccde95da1a91cb53c8377f16e
MD5 7fba299ea485a91f17ac2620c2568bd9
BLAKE2b-256 cbfbe5022d8f8699009052e5584354d26359a774a34128e3ca6cf836188af312

See more details on using hashes here.

Supported by

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