sapera 2.1
A python package for learning algorithms
License: MIT
Requires Python: >=3.6

<img align="right" height="100" src = "https://www.python.org/static/community_logos/python-powered-h.svg"/>  

# sapera: Python algorithm learning toolkit

<img align="left" height="35" width="200" src = "https://www.repostatus.org/badges/latest/active.svg"/>
<br/></br>

<p align="center">

<a href ="https://github.com/sarthakchaudhary13/sapera/issues">
  <img src = "https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=plastic"/>
</a>

<img src = "https://img.shields.io/pypi/l/sapera?style=plastic"/>

<img src = "https://img.shields.io/github/issues/sarthakchaudhary13/sapera?style=plastic"/>

<a href = "https://pypi.org/project/sapera/">
  <img src = "https://img.shields.io/pypi/v/sapera.svg?style=plastic"/>
</a>

<img src = "https://img.shields.io/github/stars/sarthakchaudhary13/sapera?style=plastic"/>

<img src = "https://img.shields.io/github/repo-size/sarthakchaudhary13/sapera?style=plastic"/>

<img src = "https://img.shields.io/pypi/dm/sapera?style=plastic"/>

<img src = "https://img.shields.io/travis/sarthakchaudhary13/sapera?style=plastic"/>

<img src = "http://hits.dwyl.com/sarthakchaudhary13/sapera.svg"/>

</p>  

```
< Learn Algorithmns One Day at a Time >
 -------------------------------------
      \                    / \  //\
       \    |\___/|      /   \//  \\
            /0  0  \__  /    //  | \ \    
           /     /  \/_/    //   |  \  \  
           @_^_@'/   \/_   //    |   \   \ 
           //_^_/     \/_ //     |    \    \
        ( //) |        \///      |     \     \
      ( / /) _|_ /   )  //       |      \     _\
    ( // /) '/,_ _ _/  ( ; -.    |    _ _\.-~        .-~~~^-.
  (( / / )) ,-{        _      `-.|.-~-.           .~         `.
 (( // / ))  '/\      /                 ~-. _ .-~      .-~^-.  \
 (( /// ))      `.   {            }                   /      \  \
  (( / ))     .----~-.\        \-'                 .~         \  `. \^-.
             ///.----..>        \             _ -~             `.  ^-`  ^-_
               ///-._ _ _ _ _ _ _}^ - - - - ~                     ~-- ,.-~
                                                                  /.-~

```
## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install
_sapera_.

```bash
pip install sapera
```

## Usage

_sapera_ can be run as a command-line program, in your terminal run

```bash
❯ sapera

Usage:
        sapera <command>

Commands:
        run             ->      Run sapera
        r               ->      alias for run
        update          ->      update sapera
        u               ->      alias for update
        update run      ->      update the database then run
        u r             ->      alias for update run
        help            ->      opens help
        h               ->      alias for help
```

```bash
❯ sapera run

Here's an Algorithm of the Day
------------------------------
Name :Binary Tree Traversals
Algorithm Type: Traversals
Link to the Solution: https://github.com/TheAlgorithms/Python/blob/master/traversals/binary_tree_traversals.py

```

```bash
❯ sapera update

Running Script...
.............................. Done
Already upto Date!
```

```bash
❯ sapera update run

Running Script...
............................ Done
Already upto Date!
Here's an Algorithm of the Day
------------------------------
Name :Hamming Code
Algorithm Type: Hashes
Link to the Solution: https://github.com/TheAlgorithms/Python/blob/master/hashes/hamming_code.py

```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to
discuss what you would like to change.

## License

[MIT](https://raw.githubusercontent.com/sarthakchaudhary13/sapera/master/LICENSE)

## Algorithm Source
[TheAlgorithms/Python](https://github.com/TheAlgorithms/Python)