# 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/kappq/codewars-cli",
"name": "codewars-cli",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "",
"keywords": "cli",
"author": "Kappa",
"author_email": "f.cappetti.05@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/e3/60/d7ad46de94bf2c87a469d946ae0ecfb42a5630c8d98472a80f31e353c7ab/codewars_cli-0.1.1.tar.gz",
"platform": null,
"description": "# codewars-cli\nAn unofficial CLI for CodeWars.\n\n## Configuration\nYou need to set the `CW_SESSION_ID` and `CW_REMEMBER_USER_TOKEN` environment variables which you can grab from your cookies.\n\nRich 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.\n\n## Installation\nYou can install `codewars-cli` using `pip`:\n```\npip install codewars-cli\n```\n\n## Usage\n```\n$ codewars-cli --help\nUsage: codewars-cli [OPTIONS] COMMAND [ARGS]...\n\n An unofficial CLI for CodeWars.\n\nOptions:\n --help Show this message and exit.\n\nCommands:\n attempt Attempt to pass the full test suite.\n practice Search for a kata.\n submit Submit your solution.\n test Test against the sample tests.\n train Choose a kata to solve.\n```\nYou can do the same for each subcommand.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "An unofficial CLI for CodeWars.",
"version": "0.1.1",
"split_keywords": [
"cli"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "c337a38a05fd2afbcb0fba1f1d9ddbeb",
"sha256": "9ef51efea5e3180d824b0976924d80af7808e3d116ccbda0dabefe9a56fed0f5"
},
"downloads": -1,
"filename": "codewars_cli-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c337a38a05fd2afbcb0fba1f1d9ddbeb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 6749,
"upload_time": "2022-12-28T19:25:35",
"upload_time_iso_8601": "2022-12-28T19:25:35.230665Z",
"url": "https://files.pythonhosted.org/packages/e7/76/33fa30761c99b2c7526016e62d33d19e8415b4883845ef72d253306f6a1f/codewars_cli-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "4883d37cf1e4da4bafd60fe0d21d1aa9",
"sha256": "25b43392be71ad5f4d00c529109ea81a8e3889a5bfd905c9c9912e627d2a0968"
},
"downloads": -1,
"filename": "codewars_cli-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "4883d37cf1e4da4bafd60fe0d21d1aa9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 6335,
"upload_time": "2022-12-28T19:25:36",
"upload_time_iso_8601": "2022-12-28T19:25:36.663823Z",
"url": "https://files.pythonhosted.org/packages/e3/60/d7ad46de94bf2c87a469d946ae0ecfb42a5630c8d98472a80f31e353c7ab/codewars_cli-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-28 19:25:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "kappq",
"github_project": "codewars-cli",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "codewars-cli"
}