cptk-0.1.0a3
توضیحات
Your personal assistant for everything competitive-programming-related.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cptk-0.1.0a3 |
| نام | cptk |
| نسخه کتابخانه | 0.1.0a3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alon Krymgand Osovsky |
| ایمیل نویسنده | downtown2u@gmail.com |
| آدرس صفحه اصلی | https://github.com/RealA10N/cptk |
| آدرس اینترنتی | https://pypi.org/project/cptk/ |
| مجوز | - |
# Competitive Programming Tool Kit
[](https://github.com/RealA10N/cptk)
[](https://pypi.org/project/cptk)
[](https://results.pre-commit.ci/latest/github/RealA10N/cptk/main)
[](https://github.com/RealA10N/cptk/actions/workflows/ci.yaml?query=branch%3Amain)
[](https://codecov.io/gh/RealA10N/cptk)
**The Competitive Programming Tool Kit** (_cptk_ for short), is a command-line interface (CLI) that aims to be your personal assistant for everything competitive-programming-related. Some of the main features of cptk are:
- Supports all large competitive programming websites, including [codeforces.com](https://codeforces.com/), [cses.fi](https://cses.fi/) and [kattis.com](https://open.kattis.com/)
- Automatically download and run example test cases
- Manage and catalog the solutions in your competitive programming folder
- Full git integration: commits and pushes solutions after you submit them
- And much more!
**Are you using cptk?** Show us love and display the [](https://github.com/RealA10N/cptk) badge in your repository!
## Getting started
### Installation
The Competitive Programming Tool Kit is implemented fully in Python and is
distributed using the Python Package Index (PyPI).
To use cptk make sure you have **CPython>=3.7** installed.
Then, install cptk using `pip`:
```shell
pip install cptk
```
You can check that the installation went successfully by running:
```shell
cptk --help
```
If you are experiencing problems while installing cptk, check out the more
detailed [Installation Guide](https://github.com/RealA10N/cptk/wiki/Installation).
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.1.0a3] - 28.2.2022
### Fixed
- Default configurations and project structures are now bundled with the wheel
release.
- This resolves an `UNEXPECTED ERROR` when trying to run the `cptk init`
subcommand for wheel installs (including ones provided by `pip` from PyPI).
## [0.1.0a2] - 26.2.2022
This alpha release adds the `cptk test` subcommand to cptk! 🥳
Starting from this release the project configuration files supports a new
field called `test`. It will be automatically created for you when you
initialize a new cptk project using `cptk init`, and using it cptk will know
where to store the scraped sample tests when cloning problems.
By default, running `cptk test` will try and run the tests for the last problem
that is known to cptk. It is also easy to add your custom test cases that will
run when executing `cptk test`: just add `.in` and `.out` text files to the
problem's testing folder!
For more information and a full tutorial on the `cptk test` subcommand,
you are more than welcome to visit our [wiki page](https://github.com/RealA10N/cptk/wiki).
### Added
- The `cptk test` subcommand!
- Optional `test` field for each recipe in the `recipes.cptk.yaml` configuration file
- Optional `clone.recipe.test` field in the `project.cptk.yaml` configuration file
## [0.1.0a1] - 16.2.2022
### Fixed
- Default templates are now bundled with the package,
which fixes the bug in `cptk init`.
## [0.1.0a0] - 15.2.2022
The first (alpha) release of cptk! 🥳
Feel free to use the software and report any bugs that you find!
Enjoy and have a nice day! 😃
### Added
- Supported commands are: `cptk initialize`, `cptk clone`, `cptk move`,
`cptk bake` and `cptk serve`.
[0.1.0a3]: https://github.com/RealA10N/cptk/releases/tag/v0.1.0a3
[0.1.0a2]: https://github.com/RealA10N/cptk/releases/tag/v0.1.0a2
[0.1.0a1]: https://github.com/RealA10N/cptk/releases/tag/v0.1.0a1
[0.1.0a0]: https://github.com/RealA10N/cptk/releases/tag/v0.1.0a0
نیازمندی
| مقدار | نام |
|---|---|
| <5,>=4.10 | beautifulsoup4 |
| <0.5,>=0.4.3 | colorama |
| <3.1,>=3.0 | jinja2 |
| <5,>=4.6 | lxml |
| <2.0,>=1.9 | pydantic |
| <6,>=5.0 | python-slugify |
| <7.0,>=6.0 | pyyaml |
| <3.0,>=2.20 | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4 | Python |
نحوه نصب
نصب پکیج whl cptk-0.1.0a3:
pip install cptk-0.1.0a3.whl
نصب پکیج tar.gz cptk-0.1.0a3:
pip install cptk-0.1.0a3.tar.gz