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.

Dependencies

  • 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.

Installation

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

pip install pyspotify-connect

Project resources

https://img.shields.io/pypi/v/pyspotify-connect.svg?style=flat https://img.shields.io/pypi/status/pyspotify-connect.svg?style=flat https://img.shields.io/pypi/dm/pyspotify-connect.svg?style=flat https://img.shields.io/travis/chukysoria/pyspotify-connect.svg https://img.shields.io/coveralls/chukysoria/pyspotify-connect.svg?maxAge=2592000

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

pyspotify-connect-0.1.10.tar.gz (35.7 kB view hashes)

Uploaded Source

Supported by

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