Windows automator and database tools for Mixed In Key 11.
Installation
pip install mik-automator
Windows only, Python 3.10+.
If you installed it from GitHub as mixed-in-key-automator, uninstall that first (pip uninstall mixed-in-key-automator): both install the mik_automator package, so keeping both leaves them overwriting each other's files.
Usage
mik_automator
Opens Mixed In Key (or connects to it if it's already open), adds a folder, waits for the analysis to finish, then closes it.
from mik_automator import mik_automator
mik_automator.run(r"C:\Users\me\Music\DJ Tracks")
It knows the analysis is done once Mixed In Key's database stops changing and the window closes without asking to confirm.
mik_db
Reads and edits Mixed In Key's database (MIKStore.db) directly.
rename_file(src, dest, names=None): points a song at its renamed file, so it keeps its analysis.remove_files(filepaths)andremove_missing_files(): remove songs, so they're analyzed again when added, or because their file is gone.get_song_files()andget_files_missing_from_db(dir): read-only, safe while Mixed In Key is running.
Run python -m mik_automator.mik_db to remove the songs whose files no longer exist.
Development
python -m venv .venv
source .venv/Scripts/activate
pip install -e ".[dev]"
Lint with pylint $(git ls-files '*.py') and pyright, and format with black .. CI runs all three on pull requests.
License
Metadata
Release files for mik-automator 1.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 |
|---|---|---|---|---|
| mik_automator-1.1.0.tar.gz | 7.4 kB | With provenance | Details for mik_automator-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mik_automator-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for mik_automator-1.1.0-py3-none-any.whl |
Total release size: 14.9 kB
Release files / mik_automator-1.1.0.tar.gz
| Download URL | mik_automator-1.1.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f055455d3f78b5aada00cee2b92bf0f7634a766db71c83a78d2b9e9388177a87
|
|
BLAKE2b-256 checksum How to use checksums |
0dba8ca756bfddb629d3b8a6b7f59dbf04b9e20a89945f250badfd948a872488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / mik_automator-1.1.0-py3-none-any.whl
| Download URL | mik_automator-1.1.0-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be61a3b1d0bf67f8260970f1d6714cf10dad39155ff909f486f70ff80497d9ad
|
|
BLAKE2b-256 checksum How to use checksums |
b336230ef7947702be745bfbbe92c3ef9118d5a405cc122e285b0f75632631fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for mik-automator 1.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for mik_automator-1.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA 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.