Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Python bindings for libspotify
Python C++ C

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.



pyspotify is the Python bindings for libspotify.

This is not the original version of pyspotify, as made by winjer, but an updated version for use with Mopidy.

Please see the Mopidy web site for further information on pyspotify.

Upstream notes

Copyright 2009-10 Doug Winter All rights reserved

License information

This package is licensed under the Apache License, Version 2.0. Please see the file doc/LICENSE for more information.

This product uses SPOTIFY(R) CORE but is not endorsed, certified or otherwise approved in any way by Spotify. Spotify is the registered trade mark of the Spotify Group.


This package provides a Python interface to Spotify's online music streaming service. This package is virtually API complete, and should provide everything you need to write a spotify client in Python.

The missing parts of the API are: artist browsing, album browsing and the image handling subsystem. These will be added soon.

To use this package you will also need libspotify, availably from Spotify here:

You will need a Spotify Premium account. You will also need to apply for, and receive an API key from spotify.

I include a copy of libspotify in this package, to make use of it easier - in particular it has some installation issues on Ubuntu that have not been fixed yet.

Building the software


Trying it out

Included with this is a simple program, Run this with your credentials and access to an API key, and it will let you browse and play from your playlists, conduct searches and play from spotify URIs.

Something went wrong with that request. Please try again.