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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25b43392be71ad5f4d00c529109ea81a8e3889a5bfd905c9c9912e627d2a0968
|
|
| MD5 |
4883d37cf1e4da4bafd60fe0d21d1aa9
|
|
| BLAKE2b-256 |
e360d7ad46de94bf2c87a469d946ae0ecfb42a5630c8d98472a80f31e353c7ab
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ef51efea5e3180d824b0976924d80af7808e3d116ccbda0dabefe9a56fed0f5
|
|
| MD5 |
c337a38a05fd2afbcb0fba1f1d9ddbeb
|
|
| BLAKE2b-256 |
e77633fa30761c99b2c7526016e62d33d19e8415b4883845ef72d253306f6a1f
|