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
orpip install startcp-cli==x.y.z
x.y.z is the latest version
Startcp-Cli
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 only.
Made with :heavy_heart_exclamation: using Python3.
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 ?
- Update using
pip install -U startcp-cli
- see How To Update Pip Package
- Update using
- 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
- (if windows)
- Option 2:
- (optional for linux users) if requires
chmod +x install.sh
- then run
scripts/./install.sh
- (optional for linux users) if requires
- Option 1:
Usage
- After installing using pip or building from source, by using
startcp
on terminal you can trigger the execution for startcp-cli from anywhere. - Please enter URL of the competition to parse and generate the battlespace.
- Battle space will auto generated in ${USER_HOME}/startcp/ (default path which is configurable see Configuration)
- Battlespace incldes,
- a problem.html file with problem direct link
- in.txt containing all input cases
- sol.py | sol.cpp either blank coding file or prepared from custom template
Configuration
startcp -g
orstartcp --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
orconda
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
- (if windows)
- Option 2:
- (optional for linux users) if requires
chmod +x install.sh
- then run
scripts/./install.sh
- (optional for linux users) if requires
- option 3:
python setup.py install
- Option 1:
- Running locally
- 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
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.1.tar.gz
(8.5 kB
view hashes)
Built Distribution
Close
Hashes for startcp_cli-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ea630f18a1a5a3b540eb211ddf46c4a221138deba22347f6c568be1c1b7068 |
|
MD5 | e22bff8e14ad9b905c8daa63a17254e4 |
|
BLAKE2b-256 | befb76f1f3994f2cd559c5f4ffae9297265260b19e8260b6432f03137b2c6d68 |