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.13.tar.gz (23.7 kB view details)

Uploaded Source

File details

Details for the file pyspotify-connect-0.1.13.tar.gz.

File metadata

File hashes

Hashes for pyspotify-connect-0.1.13.tar.gz
Algorithm Hash digest
SHA256 ad9211221df4c86ab6e9c14b81659b4f76efb7c93baac5df9151981e9d1daf67
MD5 7913bd3ef9c8d1b4934c8caadeabbdb3
BLAKE2b-256 ed7613bc16ed2fcb5302236bd7297ddd38f51f7d1560d922694f214f0e01e180

See more details on using hashes here.

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