Metadata-Version: 2.1
Name: python-codeforces
Version: 0.2.2
Summary: Codeforces API wrapper for python
Home-page: https://github.com/Mukundan314/python-codeforces
Author: Mukundan
Author-email: mukundan314@gmail.com
License: MIT
Project-URL: Bug Tracker, https://github.com/Mukundan314/python-codeforces/issues/
Project-URL: Documentation, https://python-codeforces.readthedocs.io/en/stable/
Project-URL: Source, https://github.com/Mukundan314/python-codeforces
Keywords: codeforces
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.6,<4
Description-Content-Type: text/markdown
Requires-Dist: bs4
Requires-Dist: colorama

# python-codeforces

[![Documentation Status](https://readthedocs.org/projects/python-codeforces/badge/?version=latest)](https://python-codeforces.readthedocs.io/en/latest/?badge=latest)

Codeforces API wrapper for python

## Installation

#### Using `pip`

```shell
pip install python-codeforces
```

#### From source

```shell
git clone https://github.com/Mukundan314/python-codeforces.git
cd python-codeforces
pip install .
```

#### For Development

```shell
git clone https://github.com/Mukundan314/python-codeforces.git
cd python-codeforces
pip install -e .
```

## Using `cf-run`

```shell
cf-run [contestId] [index] [program]
```

Example:

```shell
$ gcc a.c -o ./out
$ cf-run 1100 A ./out
A. Roman and Browser
time limit per test: 1 second
memory limit per test: 256 megabytes

-------------------------------------------------------------------------------- 

Time: 16 ms

Input
4 2
1 1 -1 1

Participant's output
2

Jury's answer
2

-------------------------------------------------------------------------------- 

Time: 19 ms

Input
14 3
-1 1 -1 -1 1 -1 -1 1 -1 -1 1 -1 -1 1

Participant's output
9

Jury's answer
9
```

## Documentation

Documentation can be found at https://python-codeforces.readthedocs.io/en/latest/

## License

See [LICENSE](LICENSE).


