Python sorting/searching algorithms
The algorithms3x is a python package with 5 sorting/searching algorithms. The package would keep updating as python itself updates to higher versions.
It contains the following algorithms:
- Selection sort
- Bubble sort
- Linear search
- Binary search
- Merge sort
Installation
If not already install pip
Install the package with pip or pip3:
pip install python-algorithms-3x
Usage
Example:
from superalgo.search import linear_search
linear_search([1, 2, 3], 4)
Output:
False
from superalgo.sort import merge_sort
print(merge_sort([4, 1, 2, 3]))
Output:
[1, 2, 3, 4]
Metadata
Release files for superalgo 1.0.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 | Provenance | Actions |
|---|---|---|---|---|
| superalgo-1.0.1.tar.gz | 3.5 kB | Without provenance | Details for superalgo-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| superalgo-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for superalgo-1.0.1-py3-none-any.whl |
Total release size: 7.4 kB
Release files / superalgo-1.0.1.tar.gz
| Download URL | superalgo-1.0.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5b4612465f4d1ae9507063e90ae15182d0bb293b1d050e923474db4c9e28aa4
|
|
BLAKE2b-256 checksum How to use checksums |
13a94cfcafe3390a7fc816ccee2c2422143ffb326f3df5438c8eae50679cb55c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / superalgo-1.0.1-py3-none-any.whl
| Download URL | superalgo-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9eef9b55352836e8f5c086c373fb7a13e4a01b6cd0352d632512e7b88e471f0c
|
|
BLAKE2b-256 checksum How to use checksums |
2512b9720713a553daedea0532a08c68055cbc91d90270630799d7611bbecbc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Security for superalgo 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.