codewars-cli-0.1.1
توضیحات
An unofficial CLI for CodeWars.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | codewars-cli-0.1.1 |
| نام | codewars-cli |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kappa |
| ایمیل نویسنده | f.cappetti.05@gmail.com |
| آدرس صفحه اصلی | https://github.com/kappq/codewars-cli |
| آدرس اینترنتی | https://pypi.org/project/codewars-cli/ |
| مجوز | MIT |
# 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.
نیازمندی
| مقدار | نام |
|---|---|
| >=1.2.66,<2.0.0 | cloudscraper |
| >=8.1.3,<9.0.0 | click |
| >=0.10.2,<0.11.0 | toml |
| >=0.0.1,<0.0.2 | bs4 |
| >=12.6.0,<13.0.0 | rich |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl codewars-cli-0.1.1:
pip install codewars-cli-0.1.1.whl
نصب پکیج tar.gz codewars-cli-0.1.1:
pip install codewars-cli-0.1.1.tar.gz