music-tag-auto
由 music-tag-web 衍生的批量音乐标签命令行工具。
把识别和选择的工作交给 llm
安装
pip install music-tag-auto
music-tag-auto --help
Quickstart:
export OPENAI_API_KEY=
export OPENAI_MODEL=gpt-4.1-mini
export OPENAI_BASE_URL=https://your-openai-compatible-api
music-tag-auto tag /path/to/musicdir
常用参数:
--dry-run:只搜索和选择,不写入标签--output-dir ./tagged-output:默认把打完标签的副本输出到目标目录,并保留原相对目录结构--in-place:直接覆盖源文件,不生成副本--limit 10:最多处理 10 首--report-file result.json:指定报告输出路径--source acoustid:启用指纹识别源,要求本机已安装fpcalc--llm-base-url https://your-openai-compatible-api:指定 llm 基础 url--llm-api-key "$OPENAI_API_KEY":指定 llm api key--llm-model gpt-4.1-mini:指定 llm 模型
也支持环境变量:
OPENAI_BASE_URLOPENAI_API_KEYOPENAI_MODEL
netease 源需要登录态
NETEASE_COOKIENETEASE_COOKIE_FILE
发布
构建:
uv build
上传到 PyPI:
uv publish
或者使用 twine:
python -m twine upload dist/*
Metadata
Release files for music-tag-auto 1.0.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 |
|---|---|---|---|---|
| music_tag_auto-1.0.0.tar.gz | 44.4 kB | Without provenance | Details for music_tag_auto-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| music_tag_auto-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for music_tag_auto-1.0.0-py3-none-any.whl |
Total release size: 62.3 kB
Release files / music_tag_auto-1.0.0.tar.gz
| Download URL | music_tag_auto-1.0.0.tar.gz |
|---|---|
| Size | 44.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5196adc12205c24e24c42152195741d561ae05b96fbb6d917c8d3c96842a3f05
|
|
BLAKE2b-256 checksum How to use checksums |
3b2409f3be941457cf60f38eae8048449844ce8190ad1573b4e7507bc4ff2ed6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / music_tag_auto-1.0.0-py3-none-any.whl
| Download URL | music_tag_auto-1.0.0-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15bc14630d8c45fff25a6b6da3eadcd167f6e031ee2568fe48cac0c10672afa6
|
|
BLAKE2b-256 checksum How to use checksums |
cf4693ab0f590ade0a15efd52c99d1900405e654d20b0b00a1cb13a8188f9ccd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for music-tag-auto 1.0.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.