sortbykey
Sort audio files by key
Getting Started
Pre-requisites
- Python 3.13+
- Essentia >= 2.1b6.dev1389
- xxhash >= 3.6.0
See requirements.txt for details. Python modules should be installed with pip.
Installation
It is recommended that you install this package in a Python Virtual Environment. This README will take you through how to do so.
- Clone the repository, or otherwise download the source code.
- Create a virtual environment using
python3 -m venv env/ - Activate the virtual enviroment. POSIX Bash:
source env/bin/activate. Windows PowerShell:<venv>\Scripts\Activate.ps1. Windows Batch:<venv>\Scripts\activate.bat. - Install the package using
python3 -m pip install ..
Usage
usage: sortbykey [-h] -i INPUT_DIRECTORY -o OUTPUT_DIRECTORY [-j NUM_CORES]
[-a ATONALITY_CONFIDENCE_LIMIT] [-c]
Sort audio files by key.
options:
-h, --help show this help message and exit
-i, --input INPUT_DIRECTORY
Required. Input directory for the unsorted audio
files.
-o, --output OUTPUT_DIRECTORY
Required. Output directory for the sorted audio files.
-j, --jobs NUM_CORES Number of concurrent jobs to run for analyzing.
Defaults to all but one core on multi-core machines,
one core on single-core machines.
-a, --atonality ATONALITY_CONFIDENCE_LIMIT
If the analyzer isn't confident of any key to this
percent, it will label the sample as atonal. Defaults
to 0.5.
-c, --copy Optional. Specify this flag to copy files instead of
creating links to them.
Authors
- Willow Ciesialka
License
Licensed under GNU AFFERO GENERAL PUBLIC LICENSE Version 3. See LICENSE for details.
Thanks to...
- Dakota Price
- Essentia team
- xxhash team
Metadata
Release files for sortbykey 2026.5.19.2
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 |
|---|---|---|---|---|
| sortbykey-2026.5.19.2.tar.gz | 23.2 kB | Without provenance | Details for sortbykey-2026.5.19.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sortbykey-2026.5.19.2-py3-none-any.whl | Python 3 | none | any | Details for sortbykey-2026.5.19.2-py3-none-any.whl |
Total release size: 48.5 kB
Release files / sortbykey-2026.5.19.2.tar.gz
| Download URL | sortbykey-2026.5.19.2.tar.gz |
|---|---|
| Size | 23.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c5fd10ddd3b31708dbbbde4a4e322ad2071d15cc8030d4fc0575591f41a9b1d
|
|
BLAKE2b-256 checksum How to use checksums |
d8f8e00d934f6abea4240957c2981784015f811a6979a4907a5016ad8e04c4d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / sortbykey-2026.5.19.2-py3-none-any.whl
| Download URL | sortbykey-2026.5.19.2-py3-none-any.whl |
|---|---|
| Size | 25.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ddfdf473e8172f7cf8760f4d1799ba56093c79f2e2c9c350282fb01c37af4a62
|
|
BLAKE2b-256 checksum How to use checksums |
699e1168cc11ec8e5749d29b54c574b80a6df004d0880c3c081c2e63a1d82b11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for sortbykey 2026.5.19.2
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.