Skip to main content

A modern CLI tool for audio conversion and processing

Project description

ASMR Toolkit

Tests Lint codecov PyPI - Version

一个现代化的命令行工具,用于音频转换和处理。

特性

  • 高质量音频转换为 Opus 格式
  • 批量处理支持
  • 多线程并行转换
  • 保持目录结构
  • 简单直观的命令行界面

安装

依赖

  • Python 3.8+(推荐 Python 3.13)
  • FFmpeg

使用 pip 或 uv 安装

# 使用 pip
pip install asmr-toolkit

# 或使用 uv(推荐)
uv pip install asmr-toolkit

快速开始

转换单个文件

asmr convert music.mp3

这将在同一目录下创建 music.opus.ogg 文件。

批量转换

# 转换目录中的所有音频文件(输出到 music_folder/out/)
asmr convert --recursive music_folder/

# 指定输出目录
asmr convert --output-dir converted/ --recursive music_folder/

# 设置比特率
asmr convert --bitrate 192k music.mp3

# 使用多线程加速处理
asmr convert --jobs 4 --recursive music_folder/

文档

完整文档请访问 docs/README.md

贡献

欢迎贡献!请查看 docs/CONTRIBUTING.md 了解如何参与项目开发。本项目使用 uv 进行包管理,使用 Ruff 进行代码格式化。

许可证

本项目采用 MIT 许可证 - 详情请参阅 LICENSE 文件。

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

asmr_toolkit-1.0.8.tar.gz (58.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asmr_toolkit-1.0.8-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file asmr_toolkit-1.0.8.tar.gz.

File metadata

  • Download URL: asmr_toolkit-1.0.8.tar.gz
  • Upload date:
  • Size: 58.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for asmr_toolkit-1.0.8.tar.gz
Algorithm Hash digest
SHA256 692d9eb740877a29fba9a67b1e55029fff91d26de7b51e3ddc89e7b20c3965c8
MD5 2d25eda1fb488c88a72e5af3cc677dca
BLAKE2b-256 bc179fb2fef8e5da27ad1d3d52f2f988249c34c8ac743785cae0bd4d023579b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for asmr_toolkit-1.0.8.tar.gz:

Publisher: publish.yml on xiao-cold/asmr-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file asmr_toolkit-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: asmr_toolkit-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for asmr_toolkit-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a1bdf3f10315925b80007697d0d3257abc62758b86386accea8548dd4265d6f4
MD5 c66f8c366006fcc8288010d041e0e8bb
BLAKE2b-256 35e3d521749df5ba3f8a2395edc063fd37149fdabdb8b89665f95fb1b8315c7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for asmr_toolkit-1.0.8-py3-none-any.whl:

Publisher: publish.yml on xiao-cold/asmr-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page