Skip to main content

A CLI boiler plate for current competition.

Project description

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

        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).

        Made with :heavy_heart_exclamation: using Python3.

PyPI version PyPI - Downloads

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
  • 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

Installation (Not for development)

  • Note: Please update globally installed package frequently. :innocent:
  • Installing from pypi
    • pip install startcp-cli (use pip for Python3)
    • Already installed ?
  • 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

Development
  • Please, follow the contributing guidelines
  • Fork the repository and clone it to your local environment
  • Activate environment if any ( venv or conda 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

startcp-cli-1.0.3.tar.gz (12.1 kB view hashes)

Uploaded Source

Built Distribution

startcp_cli-1.0.3-py3-none-any.whl (13.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page