Skip to main content

An unofficial CLI for CodeWars.

Project description

codewars-cli

An unofficial CLI for CodeWars.

Configuration

You need to set the CW_SESSION_ID and CW_REMEMBER_USER_TOKEN environment variables which you can grab from your cookies.

Rich will look at MANPAGER then the PAGER environment variables (MANPAGER takes priority) to get the pager command. On Linux and macOS you can set one of these to less -r to display the description with ANSI styles.

Installation

You can install codewars-cli using pip:

pip install codewars-cli

Usage

$ codewars-cli --help
Usage: codewars-cli [OPTIONS] COMMAND [ARGS]...

  An unofficial CLI for CodeWars.

Options:
  --help  Show this message and exit.

Commands:
  attempt   Attempt to pass the full test suite.
  practice  Search for a kata.
  submit    Submit your solution.
  test      Test against the sample tests.
  train     Choose a kata to solve.

You can do the same for each subcommand.

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

codewars_cli-0.1.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

codewars_cli-0.1.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file codewars_cli-0.1.1.tar.gz.

File metadata

  • Download URL: codewars_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Linux/6.1.1-arch1-1

File hashes

Hashes for codewars_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 25b43392be71ad5f4d00c529109ea81a8e3889a5bfd905c9c9912e627d2a0968
MD5 4883d37cf1e4da4bafd60fe0d21d1aa9
BLAKE2b-256 e360d7ad46de94bf2c87a469d946ae0ecfb42a5630c8d98472a80f31e353c7ab

See more details on using hashes here.

File details

Details for the file codewars_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: codewars_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Linux/6.1.1-arch1-1

File hashes

Hashes for codewars_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ef51efea5e3180d824b0976924d80af7808e3d116ccbda0dabefe9a56fed0f5
MD5 c337a38a05fd2afbcb0fba1f1d9ddbeb
BLAKE2b-256 e77633fa30761c99b2c7526016e62d33d19e8415b4883845ef72d253306f6a1f

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