Skip to main content

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.

Metadata

Release files for codewars-cli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codewars-cli 0.1.1
File Size Uploaded
codewars_cli-0.1.1.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for codewars-cli 0.1.1
File Interpreter ABI Platform
codewars_cli-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / codewars_cli-0.1.1.tar.gz

Download URL codewars_cli-0.1.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
25b43392be71ad5f4d00c529109ea81a8e3889a5bfd905c9c9912e627d2a0968
BLAKE2b-256 checksum
How to use checksums
e360d7ad46de94bf2c87a469d946ae0ecfb42a5630c8d98472a80f31e353c7ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.8 Linux/6.1.1-arch1-1

Release files / codewars_cli-0.1.1-py3-none-any.whl

Download URL codewars_cli-0.1.1-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ef51efea5e3180d824b0976924d80af7808e3d116ccbda0dabefe9a56fed0f5
BLAKE2b-256 checksum
How to use checksums
e77633fa30761c99b2c7526016e62d33d19e8415b4883845ef72d253306f6a1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.8 Linux/6.1.1-arch1-1

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page