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
Algorithm Source
Metadata
Release files for sapera 2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sapera-2.1.tar.gz | 17.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sapera-2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.4 kB
Release files / sapera-2.1.tar.gz
| Download URL | sapera-2.1.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d868b0b4547de0afdb560ab4b2bb3d3bf274e08e551f4d7e920cc124e9bc968
|
|
BLAKE2b-256 checksum How to use checksums |
4d5ea10d3afaffe31f609f44f727b327e1e930e7e8f3752f4a81f20af9c896d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.10
|
Release files / sapera-2.1-py3-none-any.whl
| Download URL | sapera-2.1-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5532fdacf3dd281d596617c3a2593b497db2adeed4980bf33e611bdabbe6ebf7
|
|
BLAKE2b-256 checksum How to use checksums |
2a18fd1491906bf74c839358fed5510f6a99098898cdbd213c673e6e440a763b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.10
|