utility to aid in natural or "human-like" sorting of file names
Project description
FilenameSort is a utility to aid in natural or “human-like” sorting of file names.
Normally using sort, [“file_1_10a.png”,”file_1_1a.png”,”file_1_5a.png”] would sort as: [“file_1_10a.png”,”file_1_1a.png”,”file_1_5a.png”]
Using the function getSortableList instead results in: [“file_1_1a.png”,”file_1_5a.png”,”file_1_10a.png”]
Which is more like what one would expect.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
FilenameSort-0.2.2.tar.gz
(3.3 kB
view details)
File details
Details for the file FilenameSort-0.2.2.tar.gz
.
File metadata
- Download URL: FilenameSort-0.2.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dc027afc57ae3e53f5af2f25a599d5efa135ed64476f9f623475350bd529bfc |
|
MD5 | b36c8d3e8047033d005b6974bce3061a |
|
BLAKE2b-256 | 117d8948df0f3f8dca0c7a8b1373907f1d2a736163fd118dbacf3d8d293ad32d |