# Installation
Prerequisites¶
Python: 3.9 or higher
System Tools:
FFmpeg(for users uploading.mp3)
uv pip install drumscript
# Install dependencies
uv sync --all-groups
Dependencies
DrumScript manages dependencies using uv and pyproject.toml. A full list of project- and optional dependencies can be found in the pyproject.toml.
For installation of
uvgo to the officialuvwebsite.Alternatively, users familiar with
Homebrewcan also use the commandbrew install uv
DrumScript does not use a [requirements.txt], or a [requirements.in] file. All dependencies are declared in the pyproject.toml.
If you are contributing to
DrumScriptplease check the Contributor Guidance for more help on how to install the package ineditablemode and the[dev]dependency group.
Standard Installation¶
The easiest way to install DrumScript is via pip:
uv pip install drumscript
Installing External Dependencies¶
DrumScript requires FFmpeg for audio processing .mp3
Installation of FFmpeg¶
macOS/Linux The standard way to install FFmpeg on macOS/Linux is using Homebrew, which automatically sets up the system path for you.
Open your Terminal.
Run the following command:
brew install ffmpegNote: If you do not have Homebrew installed, visit brew.sh to install it first.
Windows
Download: Visit the official
FFmpegwebsite (hover over the Windows logo and select a build link, like gyan.dev). Download the “full” or “essentials” build.Extract: Unzip the downloaded folder and move it to a simple location, like
C:\ffmpeg.Add to Path:
Press the Windows Key, type “Edit the system environment variables”, and hit Enter.
Click the Environment Variables… button.
Under System variables (the bottom box), find the variable named Path and click Edit.
Click New and paste the path to the
binfolder inside yourFFmpegfolder (e.g.,C:\ffmpeg\bin).Click OK on all open windows to save.
Verify Installation of FFmpeg¶
To confirm FFmpeg is correctly added to your system path, open a new Terminal (or Command Prompt for Windows users) and run:
ffmpeg -version
You can also visit https://www.ffmpeg.org/download.html to download the specific executable for your system