Skip to main content

Python wrapper for libspotify-connect

Project description

pyspotify-connect provides a Python interface to Spotify Connect’s online music streaming service.

With pyspotify-connect you can create a Spotify Connect player on your device. All from your own Python applications.

pyspotify-connect uses CFFI to make a pure Python wrapper around the libspotify_embedded_shared library. It has been tested on on CPython 2.7 and 3.4, as well as PyPy 2.6. The library is only available for arm linux architectures: armv6 armel and armv7 armhf.

This wrapper is heavily based on the pyspotify wrapper for libspotify and the spotify-connect implementation Spotify Connect Web.


  • A Spotify Premium subscription. pyspotify-connect will not work with Spotify Free, just Spotify Premium.

  • libspotify_embeded_shared, see below for instructions.

  • Developmente packages for python and libffi. For example, for python 2.7 on Debian/Raspbian:

    apt-get install python-dev libffi-dev

Spotify Connect Library

As Spotify Connect library is not available directly from spotify you should grab it from one of the links below depending you Linux version.

Copy the appropiated library for your architecture to /usr/lib.


Install the dependencies listed above yourself, and then install the package from PyPI:

pip install pyspotify-connect

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyspotify-connect, version 0.1.13
Filename, size File type Python version Upload date Hashes
Filename, size pyspotify-connect-0.1.13.tar.gz (23.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page