merge-sort
version: 0.4.0
merge-sort is a pure Python external merge sort implementation. It sorts
large iterables by writing sorted compressed chunks to disk, then lazily merging
those chunks with heapq.merge.
Full documentation is available at https://cfinan.gitlab.io/merge-sort/.
Install
pip install cfin-merge-sort
Optional faster intermediate compression codecs:
pip install "cfin-merge-sort[compression]"
Quick example
import merge_sort
rows = ["gamma\n", "alpha\n", "beta\n"]
sorted_rows = list(merge_sort.sorted(rows))
Development
python -m pip install -e .
python -m pytest
Metadata
Release files for cfin-merge-sort 0.4.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 |
|---|---|---|---|---|
| cfin_merge_sort-0.4.0.tar.gz | 35.8 kB | Without provenance | Details for cfin_merge_sort-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cfin_merge_sort-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for cfin_merge_sort-0.4.0-py3-none-any.whl |
Total release size: 73.7 kB
Release files / cfin_merge_sort-0.4.0.tar.gz
| Download URL | cfin_merge_sort-0.4.0.tar.gz |
|---|---|
| Size | 35.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61e2d5798b48e9d0ff38ea93b337dd4104dfcfef844f304d2dcfaaa1c117ed3c
|
|
BLAKE2b-256 checksum How to use checksums |
fda095f9776b984fb99ada9a91c92cf2c74a6a480a8518ee37ef9ef1db7c3076
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|
Release files / cfin_merge_sort-0.4.0-py3-none-any.whl
| Download URL | cfin_merge_sort-0.4.0-py3-none-any.whl |
|---|---|
| Size | 37.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47e6c68c5a46c0789dff57659f1e67243b65728896e70e8626ccdd1c049b394e
|
|
BLAKE2b-256 checksum How to use checksums |
2dcd793cc30dbfbacdf639350b27ab920a82d51288d1bf71041941a25c6d3563
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|
Security for cfin-merge-sort 0.4.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.