:space_invader: About
This code is implementing the bubble sort algorithm to sort an array of integers in ascending order. It iterates through the array and compares adjacent elements, swapping them if they are in the wrong order. The process is repeated until the array is sorted. The main function is a test case that calls the bubble_sort function with an example array and prints the sorted result.
:wrench: Requirements
The following Python libraries are required:
:runner: Usage
In the terminal, navigate to the folder containing the code and run it using the following command:
python bubble_sort.py
:raising_hand: Contribution
All contributions are welcome! Please open an issue or submit a pull request.
Metadata
Release files for bubble-aopy 0.1.0
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 |
|---|---|---|---|---|
| bubble_aopy-0.1.0.tar.gz | 1.5 kB | Without provenance | Details for bubble_aopy-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bubble_aopy-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for bubble_aopy-0.1.0-py3-none-any.whl |
Total release size: 3.4 kB
Release files / bubble_aopy-0.1.0.tar.gz
| Download URL | bubble_aopy-0.1.0.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5cd1eeccf3c5cc92fde677b5ad3368c4bd77fea27104a5ebb6e78396e83e1f15
|
|
BLAKE2b-256 checksum How to use checksums |
502a390d2b9daa532a97100834d472aab74dedef835eabfd339de72d736a1bb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Windows/10
|
Release files / bubble_aopy-0.1.0-py3-none-any.whl
| Download URL | bubble_aopy-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0dd69656623f795e1231b8b7c19f19ef3966ed8c756aa341bb334294538b986
|
|
BLAKE2b-256 checksum How to use checksums |
d1b53feaa5f3c906d385b5d26b23551d1e4ed63dd9b6ff6ef6b5bb0d9e011808
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Windows/10
|
Security for bubble-aopy 0.1.0
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.