Skip to main content

A python package for learning algorithms

Project description

sapera: Python algorithm learning toolkit



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

Installation

Use the package manager pip to install sapera.

pip install sapera

Usage

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

 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
 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
 sapera update

Running Script...
.............................. Done
Already upto Date!
 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

Algorithm Source

TheAlgorithms/Python

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

sapera-2.1.tar.gz (17.2 kB view hashes)

Uploaded Source

Built Distribution

sapera-2.1-py3-none-any.whl (17.2 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