https://github.com/sarthakvk/sapera
Python algorithm learning toolkit
https://github.com/sarthakvk/sapera
algorithms algorithms-and-data-structures learning learning-by-doing pip python python3 sapera toolkit
Last synced: 14 days ago
JSON representation
Python algorithm learning toolkit
- Host: GitHub
- URL: https://github.com/sarthakvk/sapera
- Owner: sarthakvk
- License: mit
- Created: 2020-05-22T01:55:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-08T00:28:25.000Z (over 3 years ago)
- Last Synced: 2025-12-16T21:08:44.966Z (6 months ago)
- Topics: algorithms, algorithms-and-data-structures, learning, learning-by-doing, pip, python, python3, sapera, toolkit
- Language: Python
- Homepage: https://sapera.readthedocs.io/
- Size: 299 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# sapera: Python algorithm learning toolkit







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