一款功能强大的音频处理工具包,用于音高调整、混音和标准化。
Project description
说明
如何本地运行
创建虚拟环境并同步所有依赖: 在项目根目录运行:
uv sync
直接运行命令行工具: 因为我们在 [project.scripts] 里配置了 ldsau,可以直接使用:
# 使用 uv 运行 CLI 工具
uv run ldsau bypass "测试.wav" --semi 1.0
uv run ldsau mix -d "./tracks" -o "伴奏.wav"
uv run ldsau process "录音.wav" --auto_norm 1
如何使用 uv 打包并发布到 PyPI?
打包项目(构建 wheel 和 sdist):
uv build
发布到 PyPI:
uv publish
需要输入 PyPI 的 API Token。输入后,几秒钟之内,你的工具就会上线 PyPI!
从 PyCharm 一键发布到 PyPI
在 PyCharm 的右上角点击编辑配置
添加一个新配置,选择 Shell Script。
按照以下内容进行配置:
-
Name (名称):填入 Build & Publish (uv)
-
Execute (执行):选择 Script text
-
Script text (脚本内容):
- Windows 系统:
rmdir /s /q dist uv build uv publish-
Mac/Linux:
rm -rf dist && uv build && uv publish(注:前面加 rm 删除旧的 dist 文件夹防止把历史版本的包重复上传导致报错)
-
Script working directory (工作目录): pyproject.toml 所在的目录
-
Environment variables (环境变量):点击旁边的表格图标,添加一个环境变量:
- Name: UV_PUBLISH_TOKEN
- Value: 以 pypi- 开头的 Token。
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ldsau-1.0.0.tar.gz.
File metadata
- Download URL: ldsau-1.0.0.tar.gz
- Upload date:
- Size: 125.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62f1a124aca6821faf3bc3d5ffa80400da3b2bbe7476ee1ae5bf15d57ee05b34
|
|
| MD5 |
971df47061dfee5037efca44ba70d451
|
|
| BLAKE2b-256 |
24d11fa9c9f8660cba40b0c17d0e722c37b11d92a969795063cf0a2ccef40d61
|
File details
Details for the file ldsau-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ldsau-1.0.0-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3217653c4cf1c80e7bd936721df781b2a220f156ef6c46038208f2f0d49d3622
|
|
| MD5 |
92e05dede9cd38faae8016641520e40f
|
|
| BLAKE2b-256 |
f85d73687f8fcb220c2778d742d384348890b6c9eb107180ab0b341ac7234349
|