Python Music

Open-source Python projects categorized as Music | Edit details

Top 23 Python Music Projects

  • GitHub repo beets

    music library manager and MusicBrainz tagger

    Project mention: I love beets. genre separator fix | | 2022-01-16

    I don't love beets because it still doesn't support multi-value tags at all. The discussion & work on this essential feature has been going on for 8 years now. Without multi-value tags, I have no use for beets because I couldn't possibly manage my collection.

  • GitHub repo spotify-downloader

    Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).

    Project mention: How can I download over 500 videos from youtube, from a playlist? | | 2022-01-17

    I found this open source program while looking for alternatives of spotdl (another open source program) that I've used to download spotify playlists.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • GitHub repo librosa

    Python library for audio and music analysis

    Project mention: mingus library for music theory | | 2021-09-24
  • GitHub repo jukebox

    Code for the paper "Jukebox: A Generative Model for Music"

    Project mention: I used AI to generate a new Beatles track from scratch. Behold, "Magic Tree". | | 2022-01-01

    So, I’ve been learning how to optimize Jukebox by over the break, and this was my very first full generation (after about 7 hours). I trained almost exclusively off of Abbey Road, and the prompt lyrics were the “magic tree” chorus section — that was pretty much it, aside from some minor cleanup because I didn’t upsample. Also utilized (r)DALL-E for the beautiful cover art. I’m guessing George is that blob in the middle? I’m posting more exploits on my Tok.

  • GitHub repo Red-DiscordBot

    A multi-function Discord bot

    Project mention: So many better bots and yet MEE6 is still given life on the platform to fester | | 2022-01-07 Here is a page that shows all the different Cogs(Features) you can add to your bot.

  • GitHub repo demucs

    Code for the paper Hybrid Spectrogram and Waveform Source Separation

    Project mention: [Discussion] This could lead to a whole new era of mashups: tech that isolates vocals perfectly (developed for Peter Jackson's Get Back doc) | | 2021-12-06

    I've been playing a lot with Demucs, which is an open-source project actually developed by Facebook for their AI projects. It runs in Python and separates songs into bass/drums/vocal/other using various training data sets. I've been quite impressed so far wit the latest version.

  • GitHub repo scdl

    Soundcloud Music Downloader

    Project mention: [Discussion] We should make a Megathread!!! | | 2021-12-23

    Soundcloud Music Downloader

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo ytmdl

    A simple app to get songs from YouTube in mp3 format with artist name, album name etc from sources like iTunes, Spotify, LastFM, Deezer, Gaana etc.

    Project mention: Best way to export your Spotify data incase you lose your account or accidentally delete a playlist? | | 2022-01-07

    Seems like all of these in some form or another will download songs from playlists like a spotify playlist

  • GitHub repo muzic

    Muzic: Music Understanding and Generation with Artificial Intelligence

    Project mention: What do you think the future of pop music will look like? | | 2021-11-20

    There's a lot of research right now into music generation (example) that could potentially lead to songs completely written, performed, and produced by software. While I don't think those will be topping the charts, the same tech could definitely be used by humans to generate and expand on ideas, and the success of things like Twitter bots powered by GPT-3 makes me think there could be a niche for botpop. On the extreme end, imagine a service like Pandora, except it generates brand new songs tailored to your preferences.

  • GitHub repo Tidal-Media-Downloader

    Download 'TIDAL' Music On Windows/Linux/MacOs (PYTHON/C#)

    Project mention: [Discussion] We should make a Megathread!!! | | 2021-12-23

    Tidal-Media-Downloader (+ Tidal-Media-Downloader-PRO

  • GitHub repo quodlibet

    Music player and music library manager for Linux, Windows, and macOS

    Project mention: snapd, Mir, upstart, Unity | | 2021-12-13

    i used this really nice music player and library manager called Quod Libet which is written in python. now, that app isn't exactly the one with fast development cycle (latest release was on march 2021), and python3.10 release was nearing

  • GitHub repo mutagen

    Python module for handling audio metadata

    Project mention: Spotifarr a tool to synchronize your Spotify with Plex | | 2021-10-20

    The python script will update the metadata and prepare it for plex using mutagen

  • GitHub repo TauonMusicBox

    The Linux desktop music player from the future! :city_sunset:

    Project mention: New here and loving it. I have some questions and recommendations | | 2021-06-02


  • GitHub repo raveberry

    A multi-user music server with a focus on participation

    Project mention: Optimal setup | | 2021-12-30

    The default streaming password is "raveberry:raveberry". You can change it on the icecast admin interface at http://raveberry.local:8000/admin, see also here.

  • GitHub repo nicotine-plus

    Graphical client for the Soulseek peer-to-peer network

    Project mention: Please recommend new sources of high quality Music. I already have a few available as you can see | | 2022-01-03

    use Nicotine+ instead of the default Soulseek client, much more options

  • GitHub repo matchering

    🎚️ Open Source Audio Matching and Mastering

    Project mention: Mastering Plugin | | 2021-02-02

    Re: Matchering (, here is a little more information. If I recall correctly there is a docker-ized version so you can run it locally relatively easily if you are willing to learn a couple of bash commands. I have not played with it a lot and it is separate from the DAW.

  • GitHub repo tinytag

    Read audio and music meta data and duration of MP3, OGG, OPUS, MP4, M4A, FLAC, WMA, Wave and AIFF files with python 2 or 3

  • GitHub repo pylast

    A Python interface to and

    Project mention: Best strategy for saving and updating Spotify track plays data? | | 2021-11-10

    I'm working on a project to track my music listening history. I've written some code that uses the [pylast]( library to gather my song plays; I then search for the track features using [spotipy]( library.

  • GitHub repo pithos

    A Pandora Radio Client

    Project mention: Found copy pasted throughout multiple python scripts running in production. | | 2021-12-24

    I'm going to be honest here. I have been trolling a bit. I've actually coded in Python and contributed to [Pithos]( I'm just very frustrated with many aspects of the language and was baiting people to see how they would defend Python's weaknesses.

  • GitHub repo listenbrainz-server

    Server for the ListenBrainz project, including the front-end (javascript/react) code that it serves and all of the data processing components that LB uses.

    Project mention: ListenBrainz Year in Music 2021 | | 2021-12-17
  • GitHub repo inaSpeechSegmenter

    CNN-based audio segmentation toolkit. Allows to detect speech, music and speaker gender. Has been designed for large scale gender equality studies based on speech time per gender.

    Project mention: ytmdl Web - A webapp that lets you download music by getting the audio from YouTube and metadata from various sources like Itunes, Last.FM, Gaana and others. v2 released with lots of fixes. | | 2021-02-26

    After looking for a few options, I came across inaSpeechSegmenter. It is a speech segmenter and if you pass it an audio file, it returns the time segments of noises and music.

  • GitHub repo spotui

    Spotify in the terminal 💻🎶

    Project mention: Spotify cli client which supports playlists ? | | 2021-02-17

    Check out Spotui

  • GitHub repo eyeD3

    eyeD3 is a Python module and command line program for processing ID3 tags. Information about mp3 files (i.e bit rate, sample frequency, play time, etc.) is also provided. The formats supported are ID3v1 (1.0/1.1) and ID3v2 (2.3/2.4).

    Project mention: Suckless ID3 Tag Editor for ID3V1 and ID3V2? | | 2021-06-21

    eyeD3 requires python, not sure if it would fit the suckless philosophy. But it's CLI.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-17.

Python Music related posts


What are some of the best open-source Music projects in Python? This list will help you:

Project Stars
1 beets 10,618
2 spotify-downloader 7,206
3 librosa 4,958
4 jukebox 4,910
5 Red-DiscordBot 2,900
6 demucs 2,699
7 scdl 2,219
8 ytmdl 2,093
9 muzic 1,865
10 Tidal-Media-Downloader 1,609
11 quodlibet 1,055
12 mutagen 917
13 TauonMusicBox 772
14 raveberry 571
15 nicotine-plus 558
16 matchering 552
17 tinytag 500
18 pylast 475
19 pithos 474
20 listenbrainz-server 465
21 inaSpeechSegmenter 460
22 spotui 356
23 eyeD3 341
Find remote jobs at our new job board There are 28 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.