Metadata-Version: 2.1
Name: startcp-cli
Version: 1.0.3
Summary: A CLI boiler plate for current competition.
Home-page: https://github.com/asprazz/startcp-cli
Author: Sujit and Ankush
Author-email: ankushpatil6174@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests (>=2.23)
Requires-Dist: argparse
Requires-Dist: colorama
Requires-Dist: python-dotenv
Requires-Dist: Rangebi
Requires-Dist: beautifulsoup4 (==4.10.0)
Requires-Dist: halo (==0.0.31)

> Don't Forget To Update StartCp-Cli Frequently, Thank You For Using

> Use `pip install -U startcp-cli` or `pip install startcp-cli==x.y.z` x.y.z is the latest version

<p align="center" style="margin-top: 50px; margin-bottom: 50px">
  <img width="100%" src="https://github.com/asprazz/startcp-cli/blob/develop/screenshots/logos/logo.png">
</p>

<P align="justify">
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A CLI application for generating battlespace in seconds for online coding competitions with features like custom template configuration, backup language support, auto input output files generation, etc. But, currently available for Codechef and Codeforces (version 1.0.2).
</p>

<p>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Made with :heavy_heart_exclamation: using Python3.

[![PyPI version](https://badge.fury.io/py/startcp-cli.svg)](https://badge.fury.io/py/startcp-cli) ![PyPI - Downloads](https://img.shields.io/pypi/dm/startcp-cli)

</p>

#### Usage

- `startcp-cli` is a command line application.
- `pip install startcp-cli` or `pip install startcp-cli==x.y.z` to install the package.
- After installing use `startcp` command to start on the terminal.
  ![Use Case](https://github.com/asprazz/startcp-cli/blob/develop/screenshots/1.png "Use Case")
- First step is to generate a configuration file by simply entering `g` or `generate` inside the sub startcp terminal. Follow the instructions to generate the config file.
- After configuring the config file, you can use `cp <competition_url>` to generate the battlespace for the competition.
- You can use `h` or `help` on the sub startcp termininal to print the help message whenever needed.

#### Dependencies

- `startcp-cli` runs on Python3.x
- [`pip3`](https://pip.pypa.io/en/stable/installing/)
- [`requests`](https://requests.readthedocs.io/en/master/user/install/)
- [`argparse`](https://pypi.org/project/argparse/)
  and our beloved
- [`colorama`](https://pypi.org/project/colorama/)
- [`bs4`](https://pypi.org/project/beautifulsoup4/)
- [`halo`](https://pypi.org/project/halo/)

- Thanks to all :pray:

#### Installation (Not for development)

- <strong>Note: Please update globally installed package frequently. :innocent: </strong>
- Installing from `pypi`
  - `pip install startcp-cli` (use pip for Python3)
  - Already installed ?
    - Update using `pip install -U startcp-cli`
    - see [How To Update Pip Package](https://stackoverflow.com/questions/4536103/how-can-i-upgrade-specific-packages-using-pip-and-a-requirements-file)
- Installing Manually :
  - `git clone https://github.com/asprazz/startcp-cli.git`
  - `cd startcp-cli`
    - Option 1:
      - (if windows) `pip install .`
      - (if linux/mac) `sudo pip install . -H`
    - Option 2:
      - (optional for linux users) if requires `chmod +x install.sh`
      - then run `scripts/./install.sh`

#### Configuration

- `startcp -g` or `startcp --generate` will generate configuration file in ${USER_HOME}/startcp/
- By setting, `IS_SETUP_DONE = 1` in configuration file custom configuration can be used over default ones

#### Contributing Guidelines

- Thank you for Showing interest in contributing to this project
- Please see https://github.com/asprazz/startcp-cli/blob/master/CONTRIBUTORS.md

##### Development

- Please, follow the contributing guidelines
- Fork the repository and clone it to your local environment
- Activate environment if any (
  [`venv`](https://docs.python.org/3/library/venv.html)
  or [`conda`](https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html)
  for more details
  )
- Running `startcp`
  - Running locally
    - `cd startcp-cli`
    - `python startcp/__main__.py`
  - Installing globally from your local repository
    - `cd startcp-cli`
      - Option 1:
        - (if windows) `pip install .`
        - (if linux/mac) `sudo pip install . -H`
      - Option 2:
        - (optional for linux users) if requires `chmod +x install.sh`
        - then run `scripts/./install.sh`
      - option 3:
        - `python setup.py install`
- Fix :wrench: something broken or Build :hammer: something interesting
- Don't forget to create child branch from `develop` and that branch only

#### Error reports

- First of all thank you.
- https://github.com/asprazz/startcp-cli/issues


