spoj-cli

View and submit solutions to the www.spoj.com using commandline


License
MIT
Install
pip install spoj-cli==1.2

Documentation

Spoj-CLI Build Status PyPI License

A command line tool to search,view and submit solutions to the problems directly through terminal.

Features

  • Various categories of problems like classical, challenge, partial, tutorial, riddle, basics and problem by tags.
  • Problems sorted by ID, Name, Quality, Users, Accuracy, Concept and Implementation Difficulty.
  • Open problem in the browser or display problem-body in terminal.
  • Submit solution.
  • Show the AC problems and todo problems of the user.
  • Download all AC solutions by the user.
  • Show all the problems submitted by some other user.

Installation

Using Pip

For Python 2.7

$ sudo pip install spoj-cli

For Python 3.4

$ sudo pip3 install spoj-cli

OR

$ git clone https://github.com/vidhan13j07/Spoj-CLI.git && cd spoj-cli-0.1
$ sudo python setup.py install

Upgrading the Spoj-CLI using Pip

If you want to upgrade to the latest version of the spoj-cli, you can run:

For Python 2.7

$ sudo pip install --upgrade spoj-cli

For Python 3.4

$ sudo pip3 install --upgrade spoj-cli

Usage

$ spoj-cli

Screenshots

ScreenShot

ScreenShot

ScreenShot

ScreenShot

ScreenShot

ScreenShot

ScreenShot

ScreenShot

Contributing

  1. Fork it
  2. Create your branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Send a pull request
  6. Enjoy :D

Requirements

  1. BeautifulSoup

The MIT License (MIT)

Copyright (c) 2015 Vidhan Jain

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.